client/game/ddr.dll/lifted-0024.c (364338B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 #include <math.h> 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <string.h> 7 8 void sub_2B0596A0(void) { 9 int _fpu_cmp = 0; 10 uint32_t _cf = 0; 11 int _df = 1; 12 uint32_t _flag_k = FK_NONE; 13 uint32_t _flag_a = 0, _flag_b = 0; 14 uint32_t _itail_tgt = 0; 15 RECOMP_REGS_LOCALS 16 RECOMP_ENTER(0x2B0596A0u); 17 18 L_2B0596A0: 19 PUSH32(esp, esi); /* 0x2B0596A0: push esi */ 20 esi = ecx; /* 0x2B0596A1: mov esi, ecx */ 21 eax = MEM32(esi + 0x28); /* 0x2B0596A3: mov eax, dword ptr [esi + 0x28] */ 22 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B0596A6: mov byte ptr [eax + 8], 0 */ 23 ecx = MEM32(esi + 0x2C); /* 0x2B0596AA: mov ecx, dword ptr [esi + 0x2c] */ 24 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B0596AD: call 0x2b05f2c0 */ /* not lifted */ 25 RECOMP_FLAGS_IN(); 26 ecx = MEM32(esi + 0x30); /* 0x2B0596B2: mov ecx, dword ptr [esi + 0x30] */ 27 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596B5: call 0x2b05f770 */ /* not lifted */ 28 RECOMP_FLAGS_IN(); 29 ecx = MEM32(esi + 0x34); /* 0x2B0596BA: mov ecx, dword ptr [esi + 0x34] */ 30 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B0596BD: call 0x2b05f2c0 */ /* not lifted */ 31 RECOMP_FLAGS_IN(); 32 ecx = MEM32(esi + 0x38); /* 0x2B0596C2: mov ecx, dword ptr [esi + 0x38] */ 33 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596C5: call 0x2b05f770 */ /* not lifted */ 34 RECOMP_FLAGS_IN(); 35 ecx = MEM32(esi + 0x3C); /* 0x2B0596CA: mov ecx, dword ptr [esi + 0x3c] */ 36 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B0596CD: call 0x2b05f2c0 */ /* not lifted */ 37 RECOMP_FLAGS_IN(); 38 ecx = MEM32(esi + 0x40); /* 0x2B0596D2: mov ecx, dword ptr [esi + 0x40] */ 39 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596D5: call 0x2b05f770 */ /* not lifted */ 40 RECOMP_FLAGS_IN(); 41 ecx = MEM32(esi + 0x44); /* 0x2B0596DA: mov ecx, dword ptr [esi + 0x44] */ 42 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596DD: call 0x2b05f770 */ /* not lifted */ 43 RECOMP_FLAGS_IN(); 44 ecx = MEM32(esi + 0x48); /* 0x2B0596E2: mov ecx, dword ptr [esi + 0x48] */ 45 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B0596E5: call 0x2b05f2c0 */ /* not lifted */ 46 RECOMP_FLAGS_IN(); 47 ecx = MEM32(esi + 0x4C); /* 0x2B0596EA: mov ecx, dword ptr [esi + 0x4c] */ 48 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596ED: call 0x2b05f770 */ /* not lifted */ 49 RECOMP_FLAGS_IN(); 50 ecx = MEM32(esi + 0x50); /* 0x2B0596F2: mov ecx, dword ptr [esi + 0x50] */ 51 RECOMP_ICALL(0x2B05F770u); /* 0x2B0596F5: call 0x2b05f770 */ /* not lifted */ 52 RECOMP_FLAGS_IN(); 53 ecx = MEM32(esi + 0x54); /* 0x2B0596FA: mov ecx, dword ptr [esi + 0x54] */ 54 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B0596FD: mov byte ptr [ecx + 8], 0 */ 55 ecx = MEM32(esi + 0x58); /* 0x2B059701: mov ecx, dword ptr [esi + 0x58] */ 56 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B059704: call 0x2b05f2c0 */ /* not lifted */ 57 RECOMP_FLAGS_IN(); 58 ecx = MEM32(esi + 0x5C); /* 0x2B059709: mov ecx, dword ptr [esi + 0x5c] */ 59 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05970C: call 0x2b05f2c0 */ /* not lifted */ 60 RECOMP_FLAGS_IN(); 61 ecx = MEM32(esi + 0x60); /* 0x2B059711: mov ecx, dword ptr [esi + 0x60] */ 62 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B059714: call 0x2b05f2c0 */ /* not lifted */ 63 RECOMP_FLAGS_IN(); 64 ecx = MEM32(esi + 0x64); /* 0x2B059719: mov ecx, dword ptr [esi + 0x64] */ 65 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05971C: call 0x2b05f2c0 */ /* not lifted */ 66 RECOMP_FLAGS_IN(); 67 esi = POP32_VAL(esp); /* 0x2B059721: pop esi */ 68 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059722: ret */ 69 RECOMP_REGS_OUT(); 70 } 71 72 void sub_2B059730(void) { 73 int _fpu_cmp = 0; 74 uint32_t _cf = 0; 75 int _df = 1; 76 uint32_t _flag_k = FK_NONE; 77 uint32_t _flag_a = 0, _flag_b = 0; 78 uint32_t _itail_tgt = 0; 79 RECOMP_REGS_LOCALS 80 RECOMP_ENTER(0x2B059730u); 81 82 L_2B059730: 83 PUSH32(esp, ebp); /* 0x2B059730: push ebp */ 84 ebp = esp; /* 0x2B059731: mov ebp, esp */ 85 eax = MEM32(ebp + 0x8); /* 0x2B059733: mov eax, dword ptr [ebp + 8] */ 86 fp_push(*(double*)ADDR(eax)); /* 0x2B059736: fld qword ptr [eax] */ 87 eax = MEM32(ebp + 0xC); /* 0x2B059738: mov eax, dword ptr [ebp + 0xc] */ 88 /* test eax, eax */ /* 0x2B05973B: test eax, eax */ 89 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 90 _cf = 0; 91 _flag_k = FK_TEST; 92 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2B05973D: fstp dword ptr [ebp + 8] */ 93 PUSH32(esp, esi); /* 0x2B059740: push esi */ 94 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05976F; /* 0x2B059741: jne 0x2b05976f */ 95 L_2B059743: 96 esi = MEM32(ebp + 0x8); /* 0x2B059743: mov esi, dword ptr [ebp + 8] */ 97 ecx = MEM32(0x2B0B6048); /* 0x2B059746: mov ecx, dword ptr [0x2b0b6048] */ 98 ecx = MEM32(ecx); /* 0x2B05974C: mov ecx, dword ptr [ecx] */ 99 PUSH32(esp, 1); /* 0x2B05974E: push 1 */ 100 PUSH32(esp, 1); /* 0x2B059750: push 1 */ 101 PUSH32(esp, esi); /* 0x2B059752: push esi */ 102 PUSH32(esp, 0x2B0E8928u); /* 0x2B059753: push 0x2b0e8928 */ 103 RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B059758: call dword ptr [0x2b0b6060] */ 104 RECOMP_FLAGS_IN(); 105 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B05975E: fstp st(0) */ 106 PUSH32(esp, esi); /* 0x2B059760: push esi */ 107 RECOMP_ICALL(MEM32(0x2B0B6094)); /* 0x2B059761: call dword ptr [0x2b0b6094] */ 108 RECOMP_FLAGS_IN(); 109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 111 esp = esp + 4; /* 0x2B059767: add esp, 4 */ 112 _flag_k = FK_ADD; 113 goto L_2B05985F; /* 0x2B05976A: jmp 0x2b05985f */ 114 L_2B05976F: 115 /* cmp eax, 1 */ /* 0x2B05976F: cmp eax, 1 */ 116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 118 _flag_k = FK_CMP; 119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05979E; /* 0x2B059772: jne 0x2b05979e */ 120 L_2B059774: 121 esi = MEM32(ebp + 0x8); /* 0x2B059774: mov esi, dword ptr [ebp + 8] */ 122 edx = MEM32(0x2B0B6048); /* 0x2B059777: mov edx, dword ptr [0x2b0b6048] */ 123 ecx = MEM32(edx); /* 0x2B05977D: mov ecx, dword ptr [edx] */ 124 PUSH32(esp, eax); /* 0x2B05977F: push eax */ 125 PUSH32(esp, eax); /* 0x2B059780: push eax */ 126 PUSH32(esp, esi); /* 0x2B059781: push esi */ 127 PUSH32(esp, 0x2B0E88F0u); /* 0x2B059782: push 0x2b0e88f0 */ 128 RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B059787: call dword ptr [0x2b0b6060] */ 129 RECOMP_FLAGS_IN(); 130 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B05978D: fstp st(0) */ 131 PUSH32(esp, esi); /* 0x2B05978F: push esi */ 132 RECOMP_ICALL(MEM32(0x2B0B6098)); /* 0x2B059790: call dword ptr [0x2b0b6098] */ 133 RECOMP_FLAGS_IN(); 134 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 136 esp = esp + 4; /* 0x2B059796: add esp, 4 */ 137 _flag_k = FK_ADD; 138 goto L_2B05985F; /* 0x2B059799: jmp 0x2b05985f */ 139 L_2B05979E: 140 /* cmp eax, 2 */ /* 0x2B05979E: cmp eax, 2 */ 141 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 143 _flag_k = FK_CMP; 144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0597CE; /* 0x2B0597A1: jne 0x2b0597ce */ 145 L_2B0597A3: 146 esi = MEM32(ebp + 0x8); /* 0x2B0597A3: mov esi, dword ptr [ebp + 8] */ 147 eax = MEM32(0x2B0B6048); /* 0x2B0597A6: mov eax, dword ptr [0x2b0b6048] */ 148 ecx = MEM32(eax); /* 0x2B0597AB: mov ecx, dword ptr [eax] */ 149 PUSH32(esp, 1); /* 0x2B0597AD: push 1 */ 150 PUSH32(esp, 1); /* 0x2B0597AF: push 1 */ 151 PUSH32(esp, esi); /* 0x2B0597B1: push esi */ 152 PUSH32(esp, 0x2B0E88C8u); /* 0x2B0597B2: push 0x2b0e88c8 */ 153 RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B0597B7: call dword ptr [0x2b0b6060] */ 154 RECOMP_FLAGS_IN(); 155 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B0597BD: fstp st(0) */ 156 PUSH32(esp, esi); /* 0x2B0597BF: push esi */ 157 RECOMP_ICALL(MEM32(0x2B0B608C)); /* 0x2B0597C0: call dword ptr [0x2b0b608c] */ 158 RECOMP_FLAGS_IN(); 159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 161 esp = esp + 4; /* 0x2B0597C6: add esp, 4 */ 162 _flag_k = FK_ADD; 163 goto L_2B05985F; /* 0x2B0597C9: jmp 0x2b05985f */ 164 L_2B0597CE: 165 /* cmp eax, 6 */ /* 0x2B0597CE: cmp eax, 6 */ 166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 168 _flag_k = FK_CMP; 169 if (CMP_NE(_flag_a, _flag_b)) goto L_2B059807; /* 0x2B0597D1: jne 0x2b059807 */ 170 L_2B0597D3: 171 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B0597D3: fld dword ptr [ebp + 8] */ 172 _st[0] *= (double)*(float*)ADDR(0x2B0B6764); /* 0x2B0597D6: fmul dword ptr [0x2b0b6764] */ 173 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0597DC: call 0x2b0ab220 */ /* not lifted */ 174 RECOMP_FLAGS_IN(); 175 ecx = MEM32(0x2B0B6048); /* 0x2B0597E1: mov ecx, dword ptr [0x2b0b6048] */ 176 ecx = MEM32(ecx); /* 0x2B0597E7: mov ecx, dword ptr [ecx] */ 177 PUSH32(esp, 1); /* 0x2B0597E9: push 1 */ 178 PUSH32(esp, 1); /* 0x2B0597EB: push 1 */ 179 esi = eax; /* 0x2B0597ED: mov esi, eax */ 180 PUSH32(esp, esi); /* 0x2B0597EF: push esi */ 181 PUSH32(esp, 0x2B0E88A8u); /* 0x2B0597F0: push 0x2b0e88a8 */ 182 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B0597F5: call dword ptr [0x2b0b604c] */ 183 RECOMP_FLAGS_IN(); 184 PUSH32(esp, esi); /* 0x2B0597FB: push esi */ 185 RECOMP_ICALL(MEM32(0x2B0B6088)); /* 0x2B0597FC: call dword ptr [0x2b0b6088] */ 186 RECOMP_FLAGS_IN(); 187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 189 esp = esp + 4; /* 0x2B059802: add esp, 4 */ 190 _flag_k = FK_ADD; 191 goto L_2B05985F; /* 0x2B059805: jmp 0x2b05985f */ 192 L_2B059807: 193 /* cmp eax, 8 */ /* 0x2B059807: cmp eax, 8 */ 194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 196 _flag_k = FK_CMP; 197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B059835; /* 0x2B05980A: jne 0x2b059835 */ 198 L_2B05980C: 199 esi = MEM32(ebp + 0x8); /* 0x2B05980C: mov esi, dword ptr [ebp + 8] */ 200 edx = MEM32(0x2B0B6048); /* 0x2B05980F: mov edx, dword ptr [0x2b0b6048] */ 201 ecx = MEM32(edx); /* 0x2B059815: mov ecx, dword ptr [edx] */ 202 PUSH32(esp, 1); /* 0x2B059817: push 1 */ 203 PUSH32(esp, 1); /* 0x2B059819: push 1 */ 204 PUSH32(esp, esi); /* 0x2B05981B: push esi */ 205 PUSH32(esp, 0x2B0E8864u); /* 0x2B05981C: push 0x2b0e8864 */ 206 RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B059821: call dword ptr [0x2b0b6060] */ 207 RECOMP_FLAGS_IN(); 208 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B059827: fstp st(0) */ 209 PUSH32(esp, esi); /* 0x2B059829: push esi */ 210 RECOMP_ICALL(MEM32(0x2B0B609C)); /* 0x2B05982A: call dword ptr [0x2b0b609c] */ 211 RECOMP_FLAGS_IN(); 212 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 213 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 214 esp = esp + 4; /* 0x2B059830: add esp, 4 */ 215 _flag_k = FK_ADD; 216 goto L_2B05985F; /* 0x2B059833: jmp 0x2b05985f */ 217 L_2B059835: 218 /* cmp eax, 9 */ /* 0x2B059835: cmp eax, 9 */ 219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(9); 220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 221 _flag_k = FK_CMP; 222 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05985F; /* 0x2B059838: jne 0x2b05985f */ 223 L_2B05983A: 224 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05983A: fld dword ptr [ebp + 8] */ 225 PUSH32(esp, 1); /* 0x2B05983D: push 1 */ 226 _st[0] *= (double)*(float*)ADDR(0x2B0B6764); /* 0x2B05983F: fmul dword ptr [0x2b0b6764] */ 227 PUSH32(esp, 2); /* 0x2B059845: push 2 */ 228 RECOMP_ICALL(0x2B0AB220u); /* 0x2B059847: call 0x2b0ab220 */ /* not lifted */ 229 RECOMP_FLAGS_IN(); 230 PUSH32(esp, eax); /* 0x2B05984C: push eax */ 231 eax = MEM32(0x2B0B6048); /* 0x2B05984D: mov eax, dword ptr [0x2b0b6048] */ 232 ecx = MEM32(eax); /* 0x2B059852: mov ecx, dword ptr [eax] */ 233 PUSH32(esp, 0x2B0E12F8u); /* 0x2B059854: push 0x2b0e12f8 */ 234 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B059859: call dword ptr [0x2b0b604c] */ 235 RECOMP_FLAGS_IN(); 236 L_2B05985F: 237 ecx = MEM32(0x2B0EEBB0); /* 0x2B05985F: mov ecx, dword ptr [0x2b0eebb0] */ 238 /* test ecx, ecx */ /* 0x2B059865: test ecx, ecx */ 239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 240 _cf = 0; 241 _flag_k = FK_TEST; 242 esi = POP32_VAL(esp); /* 0x2B059867: pop esi */ 243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05986F; /* 0x2B059868: je 0x2b05986f */ 244 L_2B05986A: 245 RECOMP_ICALL(0x2B059880u); /* 0x2B05986A: call 0x2b059880 */ /* not lifted */ 246 RECOMP_FLAGS_IN(); 247 L_2B05986F: 248 ebp = POP32_VAL(esp); /* 0x2B05986F: pop ebp */ 249 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059870: ret */ 250 RECOMP_REGS_OUT(); 251 } 252 253 void sub_2B05985F(void) { 254 int _fpu_cmp = 0; 255 uint32_t _cf = 0; 256 int _df = 1; 257 uint32_t _flag_k = FK_NONE; 258 uint32_t _flag_a = 0, _flag_b = 0; 259 uint32_t _itail_tgt = 0; 260 RECOMP_REGS_LOCALS 261 RECOMP_ENTER(0x2B05985Fu); 262 263 L_2B05985F: 264 ecx = MEM32(0x2B0EEBB0); /* 0x2B05985F: mov ecx, dword ptr [0x2b0eebb0] */ 265 /* test ecx, ecx */ /* 0x2B059865: test ecx, ecx */ 266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 267 _cf = 0; 268 _flag_k = FK_TEST; 269 esi = POP32_VAL(esp); /* 0x2B059867: pop esi */ 270 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05986F; /* 0x2B059868: je 0x2b05986f */ 271 L_2B05986A: 272 RECOMP_ICALL(0x2B059880u); /* 0x2B05986A: call 0x2b059880 */ /* not lifted */ 273 RECOMP_FLAGS_IN(); 274 L_2B05986F: 275 ebp = POP32_VAL(esp); /* 0x2B05986F: pop ebp */ 276 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059870: ret */ 277 RECOMP_REGS_OUT(); 278 } 279 280 void sub_2B059880(void) { 281 int _fpu_cmp = 0; 282 uint32_t _cf = 0; 283 int _df = 1; 284 uint32_t _flag_k = FK_NONE; 285 uint32_t _flag_a = 0, _flag_b = 0; 286 uint32_t _itail_tgt = 0; 287 RECOMP_REGS_LOCALS 288 RECOMP_ENTER(0x2B059880u); 289 290 L_2B059880: 291 PUSH32(esp, ebp); /* 0x2B059880: push ebp */ 292 L_2B059881: 293 ebp = esp; /* 0x2B059881: mov ebp, esp */ 294 L_2B059883: 295 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 297 esp = esp - 0x20u; /* 0x2B059883: sub esp, 0x20 */ 298 _flag_k = FK_CMP; 299 L_2B059886: 300 eax = MEM32(0x2B0B6048); /* 0x2B059886: mov eax, dword ptr [0x2b0b6048] */ 301 L_2B05988B: 302 PUSH32(esp, ebx); /* 0x2B05988B: push ebx */ 303 L_2B05988C: 304 PUSH32(esp, esi); /* 0x2B05988C: push esi */ 305 L_2B05988D: 306 PUSH32(esp, edi); /* 0x2B05988D: push edi */ 307 L_2B05988E: 308 PUSH32(esp, 1); /* 0x2B05988E: push 1 */ 309 L_2B059890: 310 esi = ecx; /* 0x2B059890: mov esi, ecx */ 311 L_2B059892: 312 ecx = MEM32(eax); /* 0x2B059892: mov ecx, dword ptr [eax] */ 313 L_2B059894: 314 PUSH32(esp, 0x2B0E8928u); /* 0x2B059894: push 0x2b0e8928 */ 315 L_2B059899: 316 RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B059899: call dword ptr [0x2b0b6024] */ 317 RECOMP_FLAGS_IN(); 318 L_2B05989F: 319 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B05989F: fmul dword ptr [0x2b0b63b8] */ 320 L_2B0598A5: 321 edi = MEM32(0x2B0B51F0); /* 0x2B0598A5: mov edi, dword ptr [0x2b0b51f0] */ 322 L_2B0598AB: 323 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 325 esp = esp - 8; /* 0x2B0598AB: sub esp, 8 */ 326 _flag_k = FK_CMP; 327 L_2B0598AE: 328 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B0598AE: fstp qword ptr [esp] */ 329 L_2B0598B1: 330 ecx = ebp + (-0x20); /* 0x2B0598B1: lea ecx, [ebp - 0x20] */ 331 L_2B0598B4: 332 PUSH32(esp, 0x2B0E8978u); /* 0x2B0598B4: push 0x2b0e8978 */ 333 L_2B0598B9: 334 PUSH32(esp, ecx); /* 0x2B0598B9: push ecx */ 335 L_2B0598BA: 336 RECOMP_ICALL(edi); /* 0x2B0598BA: call edi */ 337 RECOMP_FLAGS_IN(); 338 L_2B0598BC: 339 eax = MEM32(esi + 0x30); /* 0x2B0598BC: mov eax, dword ptr [esi + 0x30] */ 340 L_2B0598BF: 341 ecx = MEM32(eax + 0x8); /* 0x2B0598BF: mov ecx, dword ptr [eax + 8] */ 342 L_2B0598C2: 343 ebx = MEM32(0x2B0B5850); /* 0x2B0598C2: mov ebx, dword ptr [0x2b0b5850] */ 344 L_2B0598C8: 345 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 346 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 347 esp = esp + 0x10u; /* 0x2B0598C8: add esp, 0x10 */ 348 _flag_k = FK_ADD; 349 L_2B0598CB: 350 edx = ebp + (-0x20); /* 0x2B0598CB: lea edx, [ebp - 0x20] */ 351 L_2B0598CE: 352 PUSH32(esp, edx); /* 0x2B0598CE: push edx */ 353 L_2B0598CF: 354 RECOMP_ICALL(ebx); /* 0x2B0598CF: call ebx */ 355 RECOMP_FLAGS_IN(); 356 L_2B0598D1: 357 ecx = MEM32(0x2B0B6048); /* 0x2B0598D1: mov ecx, dword ptr [0x2b0b6048] */ 358 L_2B0598D7: 359 ecx = MEM32(ecx); /* 0x2B0598D7: mov ecx, dword ptr [ecx] */ 360 L_2B0598D9: 361 PUSH32(esp, 1); /* 0x2B0598D9: push 1 */ 362 L_2B0598DB: 363 PUSH32(esp, 0x2B0E88F0u); /* 0x2B0598DB: push 0x2b0e88f0 */ 364 L_2B0598E0: 365 RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B0598E0: call dword ptr [0x2b0b6024] */ 366 RECOMP_FLAGS_IN(); 367 L_2B0598E6: 368 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B0598E6: fmul dword ptr [0x2b0b63b8] */ 369 L_2B0598EC: 370 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 372 esp = esp - 8; /* 0x2B0598EC: sub esp, 8 */ 373 _flag_k = FK_CMP; 374 L_2B0598EF: 375 edx = ebp + (-0x20); /* 0x2B0598EF: lea edx, [ebp - 0x20] */ 376 L_2B0598F2: 377 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B0598F2: fstp qword ptr [esp] */ 378 L_2B0598F5: 379 PUSH32(esp, 0x2B0E8978u); /* 0x2B0598F5: push 0x2b0e8978 */ 380 L_2B0598FA: 381 PUSH32(esp, edx); /* 0x2B0598FA: push edx */ 382 L_2B0598FB: 383 RECOMP_ICALL(edi); /* 0x2B0598FB: call edi */ 384 RECOMP_FLAGS_IN(); 385 L_2B0598FD: 386 ecx = MEM32(esi + 0x38); /* 0x2B0598FD: mov ecx, dword ptr [esi + 0x38] */ 387 L_2B059900: 388 ecx = MEM32(ecx + 0x8); /* 0x2B059900: mov ecx, dword ptr [ecx + 8] */ 389 L_2B059903: 390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 391 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 392 esp = esp + 0x10u; /* 0x2B059903: add esp, 0x10 */ 393 _flag_k = FK_ADD; 394 L_2B059906: 395 eax = ebp + (-0x20); /* 0x2B059906: lea eax, [ebp - 0x20] */ 396 L_2B059909: 397 PUSH32(esp, eax); /* 0x2B059909: push eax */ 398 L_2B05990A: 399 RECOMP_ICALL(ebx); /* 0x2B05990A: call ebx */ 400 RECOMP_FLAGS_IN(); 401 L_2B05990C: 402 edx = MEM32(0x2B0B6048); /* 0x2B05990C: mov edx, dword ptr [0x2b0b6048] */ 403 L_2B059912: 404 ecx = MEM32(edx); /* 0x2B059912: mov ecx, dword ptr [edx] */ 405 L_2B059914: 406 PUSH32(esp, 1); /* 0x2B059914: push 1 */ 407 L_2B059916: 408 PUSH32(esp, 0x2B0E88C8u); /* 0x2B059916: push 0x2b0e88c8 */ 409 L_2B05991B: 410 RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B05991B: call dword ptr [0x2b0b6024] */ 411 RECOMP_FLAGS_IN(); 412 L_2B059921: 413 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B059921: fmul dword ptr [0x2b0b63b8] */ 414 L_2B059927: 415 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 417 esp = esp - 8; /* 0x2B059927: sub esp, 8 */ 418 _flag_k = FK_CMP; 419 L_2B05992A: 420 eax = ebp + (-0x20); /* 0x2B05992A: lea eax, [ebp - 0x20] */ 421 L_2B05992D: 422 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B05992D: fstp qword ptr [esp] */ 423 L_2B059930: 424 PUSH32(esp, 0x2B0E8978u); /* 0x2B059930: push 0x2b0e8978 */ 425 L_2B059935: 426 PUSH32(esp, eax); /* 0x2B059935: push eax */ 427 L_2B059936: 428 RECOMP_ICALL(edi); /* 0x2B059936: call edi */ 429 RECOMP_FLAGS_IN(); 430 L_2B059938: 431 edx = MEM32(esi + 0x40); /* 0x2B059938: mov edx, dword ptr [esi + 0x40] */ 432 L_2B05993B: 433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 435 esp = esp + 0x10u; /* 0x2B05993B: add esp, 0x10 */ 436 _flag_k = FK_ADD; 437 L_2B05993E: 438 ecx = ebp + (-0x20); /* 0x2B05993E: lea ecx, [ebp - 0x20] */ 439 L_2B059941: 440 PUSH32(esp, ecx); /* 0x2B059941: push ecx */ 441 L_2B059942: 442 ecx = MEM32(edx + 0x8); /* 0x2B059942: mov ecx, dword ptr [edx + 8] */ 443 L_2B059945: 444 RECOMP_ICALL(ebx); /* 0x2B059945: call ebx */ 445 RECOMP_FLAGS_IN(); 446 L_2B059947: 447 eax = MEM32(0x2B0B6048); /* 0x2B059947: mov eax, dword ptr [0x2b0b6048] */ 448 L_2B05994C: 449 ecx = MEM32(eax); /* 0x2B05994C: mov ecx, dword ptr [eax] */ 450 L_2B05994E: 451 PUSH32(esp, 1); /* 0x2B05994E: push 1 */ 452 L_2B059950: 453 PUSH32(esp, 0x2B0E88A8u); /* 0x2B059950: push 0x2b0e88a8 */ 454 L_2B059955: 455 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B059955: call dword ptr [0x2b0b602c] */ 456 RECOMP_FLAGS_IN(); 457 L_2B05995B: 458 /* cmp eax, 3 */ /* 0x2B05995B: cmp eax, 3 */ 459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 461 _flag_k = FK_CMP; 462 L_2B05995E: 463 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B059992; /* 0x2B05995E: ja 0x2b059992 */ 464 L_2B059960: 465 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B059A40)); goto _ljump; } 466 L_2B059967: 467 PUSH32(esp, 0x2B0E8974u); /* 0x2B059967: push 0x2b0e8974 */ 468 L_2B05996C: 469 goto L_2B059989; /* 0x2B05996C: jmp 0x2b059989 */ 470 L_2B05996E: 471 PUSH32(esp, 0x2B0E8964u); /* 0x2B05996E: push 0x2b0e8964 */ 472 L_2B059973: 473 edx = ebp + (-0x20); /* 0x2B059973: lea edx, [ebp - 0x20] */ 474 L_2B059976: 475 PUSH32(esp, edx); /* 0x2B059976: push edx */ 476 L_2B059977: 477 goto L_2B05998D; /* 0x2B059977: jmp 0x2b05998d */ 478 L_2B059979: 479 PUSH32(esp, 0x2B0E8950u); /* 0x2B059979: push 0x2b0e8950 */ 480 L_2B05997E: 481 eax = ebp + (-0x20); /* 0x2B05997E: lea eax, [ebp - 0x20] */ 482 L_2B059981: 483 PUSH32(esp, eax); /* 0x2B059981: push eax */ 484 L_2B059982: 485 goto L_2B05998D; /* 0x2B059982: jmp 0x2b05998d */ 486 L_2B059984: 487 PUSH32(esp, 0x2B0E8948u); /* 0x2B059984: push 0x2b0e8948 */ 488 L_2B059989: 489 ecx = ebp + (-0x20); /* 0x2B059989: lea ecx, [ebp - 0x20] */ 490 L_2B05998C: 491 PUSH32(esp, ecx); /* 0x2B05998C: push ecx */ 492 L_2B05998D: 493 RECOMP_ICALL(edi); /* 0x2B05998D: call edi */ 494 RECOMP_FLAGS_IN(); 495 L_2B05998F: 496 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 497 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 498 esp = esp + 8; /* 0x2B05998F: add esp, 8 */ 499 _flag_k = FK_ADD; 500 L_2B059992: 501 eax = MEM32(esi + 0x44); /* 0x2B059992: mov eax, dword ptr [esi + 0x44] */ 502 L_2B059995: 503 ecx = MEM32(eax + 0x8); /* 0x2B059995: mov ecx, dword ptr [eax + 8] */ 504 L_2B059998: 505 edx = ebp + (-0x20); /* 0x2B059998: lea edx, [ebp - 0x20] */ 506 L_2B05999B: 507 PUSH32(esp, edx); /* 0x2B05999B: push edx */ 508 L_2B05999C: 509 RECOMP_ICALL(ebx); /* 0x2B05999C: call ebx */ 510 RECOMP_FLAGS_IN(); 511 L_2B05999E: 512 ecx = MEM32(0x2B0B6048); /* 0x2B05999E: mov ecx, dword ptr [0x2b0b6048] */ 513 L_2B0599A4: 514 ecx = MEM32(ecx); /* 0x2B0599A4: mov ecx, dword ptr [ecx] */ 515 L_2B0599A6: 516 PUSH32(esp, 1); /* 0x2B0599A6: push 1 */ 517 L_2B0599A8: 518 PUSH32(esp, 0x2B0E8864u); /* 0x2B0599A8: push 0x2b0e8864 */ 519 L_2B0599AD: 520 RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B0599AD: call dword ptr [0x2b0b6024] */ 521 RECOMP_FLAGS_IN(); 522 L_2B0599B3: 523 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B0599B3: fmul dword ptr [0x2b0b63b8] */ 524 L_2B0599B9: 525 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 527 esp = esp - 8; /* 0x2B0599B9: sub esp, 8 */ 528 _flag_k = FK_CMP; 529 L_2B0599BC: 530 edx = ebp + (-0x20); /* 0x2B0599BC: lea edx, [ebp - 0x20] */ 531 L_2B0599BF: 532 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B0599BF: fstp qword ptr [esp] */ 533 L_2B0599C2: 534 PUSH32(esp, 0x2B0E8978u); /* 0x2B0599C2: push 0x2b0e8978 */ 535 L_2B0599C7: 536 PUSH32(esp, edx); /* 0x2B0599C7: push edx */ 537 L_2B0599C8: 538 RECOMP_ICALL(edi); /* 0x2B0599C8: call edi */ 539 RECOMP_FLAGS_IN(); 540 L_2B0599CA: 541 ecx = MEM32(esi + 0x4C); /* 0x2B0599CA: mov ecx, dword ptr [esi + 0x4c] */ 542 L_2B0599CD: 543 ecx = MEM32(ecx + 0x8); /* 0x2B0599CD: mov ecx, dword ptr [ecx + 8] */ 544 L_2B0599D0: 545 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 547 esp = esp + 0x10u; /* 0x2B0599D0: add esp, 0x10 */ 548 _flag_k = FK_ADD; 549 L_2B0599D3: 550 eax = ebp + (-0x20); /* 0x2B0599D3: lea eax, [ebp - 0x20] */ 551 L_2B0599D6: 552 PUSH32(esp, eax); /* 0x2B0599D6: push eax */ 553 L_2B0599D7: 554 RECOMP_ICALL(ebx); /* 0x2B0599D7: call ebx */ 555 RECOMP_FLAGS_IN(); 556 L_2B0599D9: 557 edx = MEM32(0x2B0B6048); /* 0x2B0599D9: mov edx, dword ptr [0x2b0b6048] */ 558 L_2B0599DF: 559 ecx = MEM32(edx); /* 0x2B0599DF: mov ecx, dword ptr [edx] */ 560 L_2B0599E1: 561 PUSH32(esp, 2); /* 0x2B0599E1: push 2 */ 562 L_2B0599E3: 563 PUSH32(esp, 0x2B0E12F8u); /* 0x2B0599E3: push 0x2b0e12f8 */ 564 L_2B0599E8: 565 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B0599E8: call dword ptr [0x2b0b602c] */ 566 RECOMP_FLAGS_IN(); 567 L_2B0599EE: 568 /* cmp eax, 3 */ /* 0x2B0599EE: cmp eax, 3 */ 569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 571 _flag_k = FK_CMP; 572 L_2B0599F1: 573 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B059A25; /* 0x2B0599F1: ja 0x2b059a25 */ 574 L_2B0599F3: 575 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B059A50)); goto _ljump; } 576 L_2B0599FA: 577 PUSH32(esp, 0x2B0E12F0u); /* 0x2B0599FA: push 0x2b0e12f0 */ 578 L_2B0599FF: 579 goto L_2B059A1C; /* 0x2B0599FF: jmp 0x2b059a1c */ 580 L_2B059A01: 581 PUSH32(esp, 0x2B0E12D0u); /* 0x2B059A01: push 0x2b0e12d0 */ 582 L_2B059A06: 583 ecx = ebp + (-0x20); /* 0x2B059A06: lea ecx, [ebp - 0x20] */ 584 L_2B059A09: 585 PUSH32(esp, ecx); /* 0x2B059A09: push ecx */ 586 L_2B059A0A: 587 goto L_2B059A20; /* 0x2B059A0A: jmp 0x2b059a20 */ 588 L_2B059A0C: 589 PUSH32(esp, 0x2B0E12C8u); /* 0x2B059A0C: push 0x2b0e12c8 */ 590 L_2B059A11: 591 edx = ebp + (-0x20); /* 0x2B059A11: lea edx, [ebp - 0x20] */ 592 L_2B059A14: 593 PUSH32(esp, edx); /* 0x2B059A14: push edx */ 594 L_2B059A15: 595 goto L_2B059A20; /* 0x2B059A15: jmp 0x2b059a20 */ 596 L_2B059A17: 597 PUSH32(esp, 0x2B0E12BCu); /* 0x2B059A17: push 0x2b0e12bc */ 598 L_2B059A1C: 599 eax = ebp + (-0x20); /* 0x2B059A1C: lea eax, [ebp - 0x20] */ 600 L_2B059A1F: 601 PUSH32(esp, eax); /* 0x2B059A1F: push eax */ 602 L_2B059A20: 603 RECOMP_ICALL(edi); /* 0x2B059A20: call edi */ 604 RECOMP_FLAGS_IN(); 605 L_2B059A22: 606 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 608 esp = esp + 8; /* 0x2B059A22: add esp, 8 */ 609 _flag_k = FK_ADD; 610 L_2B059A25: 611 edx = MEM32(esi + 0x50); /* 0x2B059A25: mov edx, dword ptr [esi + 0x50] */ 612 L_2B059A28: 613 ecx = ebp + (-0x20); /* 0x2B059A28: lea ecx, [ebp - 0x20] */ 614 L_2B059A2B: 615 PUSH32(esp, ecx); /* 0x2B059A2B: push ecx */ 616 L_2B059A2C: 617 ecx = MEM32(edx + 0x8); /* 0x2B059A2C: mov ecx, dword ptr [edx + 8] */ 618 L_2B059A2F: 619 RECOMP_ICALL(ebx); /* 0x2B059A2F: call ebx */ 620 RECOMP_FLAGS_IN(); 621 L_2B059A31: 622 ecx = esi; /* 0x2B059A31: mov ecx, esi */ 623 L_2B059A33: 624 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B059A33: call 0x2b03a2b0 */ /* not lifted */ 625 RECOMP_FLAGS_IN(); 626 L_2B059A38: 627 edi = POP32_VAL(esp); /* 0x2B059A38: pop edi */ 628 L_2B059A39: 629 esi = POP32_VAL(esp); /* 0x2B059A39: pop esi */ 630 L_2B059A3A: 631 ebx = POP32_VAL(esp); /* 0x2B059A3A: pop ebx */ 632 L_2B059A3B: 633 esp = ebp; /* 0x2B059A3B: mov esp, ebp */ 634 L_2B059A3D: 635 ebp = POP32_VAL(esp); /* 0x2B059A3D: pop ebp */ 636 L_2B059A3E: 637 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059A3E: ret */ 638 _ljump: 639 switch (_itail_tgt) { 640 case 0x2B059880u: goto L_2B059880; 641 case 0x2B059881u: goto L_2B059881; 642 case 0x2B059883u: goto L_2B059883; 643 case 0x2B059886u: goto L_2B059886; 644 case 0x2B05988Bu: goto L_2B05988B; 645 case 0x2B05988Cu: goto L_2B05988C; 646 case 0x2B05988Du: goto L_2B05988D; 647 case 0x2B05988Eu: goto L_2B05988E; 648 case 0x2B059890u: goto L_2B059890; 649 case 0x2B059892u: goto L_2B059892; 650 case 0x2B059894u: goto L_2B059894; 651 case 0x2B059899u: goto L_2B059899; 652 case 0x2B05989Fu: goto L_2B05989F; 653 case 0x2B0598A5u: goto L_2B0598A5; 654 case 0x2B0598ABu: goto L_2B0598AB; 655 case 0x2B0598AEu: goto L_2B0598AE; 656 case 0x2B0598B1u: goto L_2B0598B1; 657 case 0x2B0598B4u: goto L_2B0598B4; 658 case 0x2B0598B9u: goto L_2B0598B9; 659 case 0x2B0598BAu: goto L_2B0598BA; 660 case 0x2B0598BCu: goto L_2B0598BC; 661 case 0x2B0598BFu: goto L_2B0598BF; 662 case 0x2B0598C2u: goto L_2B0598C2; 663 case 0x2B0598C8u: goto L_2B0598C8; 664 case 0x2B0598CBu: goto L_2B0598CB; 665 case 0x2B0598CEu: goto L_2B0598CE; 666 case 0x2B0598CFu: goto L_2B0598CF; 667 case 0x2B0598D1u: goto L_2B0598D1; 668 case 0x2B0598D7u: goto L_2B0598D7; 669 case 0x2B0598D9u: goto L_2B0598D9; 670 case 0x2B0598DBu: goto L_2B0598DB; 671 case 0x2B0598E0u: goto L_2B0598E0; 672 case 0x2B0598E6u: goto L_2B0598E6; 673 case 0x2B0598ECu: goto L_2B0598EC; 674 case 0x2B0598EFu: goto L_2B0598EF; 675 case 0x2B0598F2u: goto L_2B0598F2; 676 case 0x2B0598F5u: goto L_2B0598F5; 677 case 0x2B0598FAu: goto L_2B0598FA; 678 case 0x2B0598FBu: goto L_2B0598FB; 679 case 0x2B0598FDu: goto L_2B0598FD; 680 case 0x2B059900u: goto L_2B059900; 681 case 0x2B059903u: goto L_2B059903; 682 case 0x2B059906u: goto L_2B059906; 683 case 0x2B059909u: goto L_2B059909; 684 case 0x2B05990Au: goto L_2B05990A; 685 case 0x2B05990Cu: goto L_2B05990C; 686 case 0x2B059912u: goto L_2B059912; 687 case 0x2B059914u: goto L_2B059914; 688 case 0x2B059916u: goto L_2B059916; 689 case 0x2B05991Bu: goto L_2B05991B; 690 case 0x2B059921u: goto L_2B059921; 691 case 0x2B059927u: goto L_2B059927; 692 case 0x2B05992Au: goto L_2B05992A; 693 case 0x2B05992Du: goto L_2B05992D; 694 case 0x2B059930u: goto L_2B059930; 695 case 0x2B059935u: goto L_2B059935; 696 case 0x2B059936u: goto L_2B059936; 697 case 0x2B059938u: goto L_2B059938; 698 case 0x2B05993Bu: goto L_2B05993B; 699 case 0x2B05993Eu: goto L_2B05993E; 700 case 0x2B059941u: goto L_2B059941; 701 case 0x2B059942u: goto L_2B059942; 702 case 0x2B059945u: goto L_2B059945; 703 case 0x2B059947u: goto L_2B059947; 704 case 0x2B05994Cu: goto L_2B05994C; 705 case 0x2B05994Eu: goto L_2B05994E; 706 case 0x2B059950u: goto L_2B059950; 707 case 0x2B059955u: goto L_2B059955; 708 case 0x2B05995Bu: goto L_2B05995B; 709 case 0x2B05995Eu: goto L_2B05995E; 710 case 0x2B059960u: goto L_2B059960; 711 case 0x2B059967u: goto L_2B059967; 712 case 0x2B05996Cu: goto L_2B05996C; 713 case 0x2B05996Eu: goto L_2B05996E; 714 case 0x2B059973u: goto L_2B059973; 715 case 0x2B059976u: goto L_2B059976; 716 case 0x2B059977u: goto L_2B059977; 717 case 0x2B059979u: goto L_2B059979; 718 case 0x2B05997Eu: goto L_2B05997E; 719 case 0x2B059981u: goto L_2B059981; 720 case 0x2B059982u: goto L_2B059982; 721 case 0x2B059984u: goto L_2B059984; 722 case 0x2B059989u: goto L_2B059989; 723 case 0x2B05998Cu: goto L_2B05998C; 724 case 0x2B05998Du: goto L_2B05998D; 725 case 0x2B05998Fu: goto L_2B05998F; 726 case 0x2B059992u: goto L_2B059992; 727 case 0x2B059995u: goto L_2B059995; 728 case 0x2B059998u: goto L_2B059998; 729 case 0x2B05999Bu: goto L_2B05999B; 730 case 0x2B05999Cu: goto L_2B05999C; 731 case 0x2B05999Eu: goto L_2B05999E; 732 case 0x2B0599A4u: goto L_2B0599A4; 733 case 0x2B0599A6u: goto L_2B0599A6; 734 case 0x2B0599A8u: goto L_2B0599A8; 735 case 0x2B0599ADu: goto L_2B0599AD; 736 case 0x2B0599B3u: goto L_2B0599B3; 737 case 0x2B0599B9u: goto L_2B0599B9; 738 case 0x2B0599BCu: goto L_2B0599BC; 739 case 0x2B0599BFu: goto L_2B0599BF; 740 case 0x2B0599C2u: goto L_2B0599C2; 741 case 0x2B0599C7u: goto L_2B0599C7; 742 case 0x2B0599C8u: goto L_2B0599C8; 743 case 0x2B0599CAu: goto L_2B0599CA; 744 case 0x2B0599CDu: goto L_2B0599CD; 745 case 0x2B0599D0u: goto L_2B0599D0; 746 case 0x2B0599D3u: goto L_2B0599D3; 747 case 0x2B0599D6u: goto L_2B0599D6; 748 case 0x2B0599D7u: goto L_2B0599D7; 749 case 0x2B0599D9u: goto L_2B0599D9; 750 case 0x2B0599DFu: goto L_2B0599DF; 751 case 0x2B0599E1u: goto L_2B0599E1; 752 case 0x2B0599E3u: goto L_2B0599E3; 753 case 0x2B0599E8u: goto L_2B0599E8; 754 case 0x2B0599EEu: goto L_2B0599EE; 755 case 0x2B0599F1u: goto L_2B0599F1; 756 case 0x2B0599F3u: goto L_2B0599F3; 757 case 0x2B0599FAu: goto L_2B0599FA; 758 case 0x2B0599FFu: goto L_2B0599FF; 759 case 0x2B059A01u: goto L_2B059A01; 760 case 0x2B059A06u: goto L_2B059A06; 761 case 0x2B059A09u: goto L_2B059A09; 762 case 0x2B059A0Au: goto L_2B059A0A; 763 case 0x2B059A0Cu: goto L_2B059A0C; 764 case 0x2B059A11u: goto L_2B059A11; 765 case 0x2B059A14u: goto L_2B059A14; 766 case 0x2B059A15u: goto L_2B059A15; 767 case 0x2B059A17u: goto L_2B059A17; 768 case 0x2B059A1Cu: goto L_2B059A1C; 769 case 0x2B059A1Fu: goto L_2B059A1F; 770 case 0x2B059A20u: goto L_2B059A20; 771 case 0x2B059A22u: goto L_2B059A22; 772 case 0x2B059A25u: goto L_2B059A25; 773 case 0x2B059A28u: goto L_2B059A28; 774 case 0x2B059A2Bu: goto L_2B059A2B; 775 case 0x2B059A2Cu: goto L_2B059A2C; 776 case 0x2B059A2Fu: goto L_2B059A2F; 777 case 0x2B059A31u: goto L_2B059A31; 778 case 0x2B059A33u: goto L_2B059A33; 779 case 0x2B059A38u: goto L_2B059A38; 780 case 0x2B059A39u: goto L_2B059A39; 781 case 0x2B059A3Au: goto L_2B059A3A; 782 case 0x2B059A3Bu: goto L_2B059A3B; 783 case 0x2B059A3Du: goto L_2B059A3D; 784 case 0x2B059A3Eu: goto L_2B059A3E; 785 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 786 } 787 RECOMP_REGS_OUT(); 788 } 789 790 void sub_2B059A60(void) { 791 int _fpu_cmp = 0; 792 uint32_t _cf = 0; 793 int _df = 1; 794 uint32_t _flag_k = FK_NONE; 795 uint32_t _flag_a = 0, _flag_b = 0; 796 uint32_t _itail_tgt = 0; 797 RECOMP_REGS_LOCALS 798 RECOMP_ENTER(0x2B059A60u); 799 800 L_2B059A60: 801 PUSH32(esp, ebx); /* 0x2B059A60: push ebx */ 802 PUSH32(esp, esi); /* 0x2B059A61: push esi */ 803 esi = MEM32(0x2B0B53CC); /* 0x2B059A62: mov esi, dword ptr [0x2b0b53cc] */ 804 PUSH32(esp, edi); /* 0x2B059A68: push edi */ 805 edi = ecx; /* 0x2B059A69: mov edi, ecx */ 806 RECOMP_ICALL(esi); /* 0x2B059A6B: call esi */ 807 RECOMP_FLAGS_IN(); 808 ecx = eax; /* 0x2B059A6D: mov ecx, eax */ 809 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B059A6F: call dword ptr [0x2b0b5374] */ 810 RECOMP_FLAGS_IN(); 811 PUSH32(esp, 0x2710u); /* 0x2B059A75: push 0x2710 */ 812 PUSH32(esp, 0x3Eu); /* 0x2B059A7A: push 0x3e */ 813 PUSH32(esp, 1); /* 0x2B059A7C: push 1 */ 814 RECOMP_ICALL(esi); /* 0x2B059A7E: call esi */ 815 RECOMP_FLAGS_IN(); 816 ecx = eax; /* 0x2B059A80: mov ecx, eax */ 817 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B059A82: call dword ptr [0x2b0b5378] */ 818 RECOMP_FLAGS_IN(); 819 PUSH32(esp, 0x2B059B50u); /* 0x2B059A88: push 0x2b059b50 */ 820 PUSH32(esp, 5); /* 0x2B059A8D: push 5 */ 821 RECOMP_ICALL(esi); /* 0x2B059A8F: call esi */ 822 RECOMP_FLAGS_IN(); 823 ebx = MEM32(0x2B0B5324); /* 0x2B059A91: mov ebx, dword ptr [0x2b0b5324] */ 824 ecx = eax; /* 0x2B059A97: mov ecx, eax */ 825 RECOMP_ICALL(ebx); /* 0x2B059A99: call ebx */ 826 RECOMP_FLAGS_IN(); 827 PUSH32(esp, 0x2B059BC0u); /* 0x2B059A9B: push 0x2b059bc0 */ 828 PUSH32(esp, 6); /* 0x2B059AA0: push 6 */ 829 RECOMP_ICALL(esi); /* 0x2B059AA2: call esi */ 830 RECOMP_FLAGS_IN(); 831 ecx = eax; /* 0x2B059AA4: mov ecx, eax */ 832 RECOMP_ICALL(ebx); /* 0x2B059AA6: call ebx */ 833 RECOMP_FLAGS_IN(); 834 eax = edi; /* 0x2B059AA8: mov eax, edi */ 835 edi = POP32_VAL(esp); /* 0x2B059AAA: pop edi */ 836 esi = POP32_VAL(esp); /* 0x2B059AAB: pop esi */ 837 MEM32(0x2B0EEBAC) = 0; /* 0x2B059AAC: mov dword ptr [0x2b0eebac], 0 */ 838 ebx = POP32_VAL(esp); /* 0x2B059AB6: pop ebx */ 839 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059AB7: ret */ 840 RECOMP_REGS_OUT(); 841 } 842 843 void sub_2B059AC0(void) { 844 int _fpu_cmp = 0; 845 uint32_t _cf = 0; 846 int _df = 1; 847 uint32_t _flag_k = FK_NONE; 848 uint32_t _flag_a = 0, _flag_b = 0; 849 uint32_t _itail_tgt = 0; 850 RECOMP_REGS_LOCALS 851 RECOMP_ENTER(0x2B059AC0u); 852 853 L_2B059AC0: 854 RECOMP_ICALL(0x2B059BC0u); /* 0x2B059AC0: call 0x2b059bc0 */ /* not lifted */ 855 RECOMP_FLAGS_IN(); 856 MEM32(0x2B0EEBAC) = 0; /* 0x2B059AC5: mov dword ptr [0x2b0eebac], 0 */ 857 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059ACF: ret */ 858 RECOMP_REGS_OUT(); 859 } 860 861 void sub_2B059AD0(void) { 862 int _fpu_cmp = 0; 863 uint32_t _cf = 0; 864 int _df = 1; 865 uint32_t _flag_k = FK_NONE; 866 uint32_t _flag_a = 0, _flag_b = 0; 867 uint32_t _itail_tgt = 0; 868 RECOMP_REGS_LOCALS 869 RECOMP_ENTER(0x2B059AD0u); 870 871 L_2B059AD0: 872 PUSH32(esp, ebp); /* 0x2B059AD0: push ebp */ 873 ebp = esp; /* 0x2B059AD1: mov ebp, esp */ 874 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B059AD3: push -1 */ 875 PUSH32(esp, 0x2B0AFFFBu); /* 0x2B059AD5: push 0x2b0afffb */ 876 eax = MEM32(FS_BASE + (0)); /* 0x2B059ADA: mov eax, dword ptr fs:[0] */ 877 PUSH32(esp, eax); /* 0x2B059AE0: push eax */ 878 MEM32(FS_BASE + (0)) = esp; /* 0x2B059AE1: mov dword ptr fs:[0], esp */ 879 PUSH32(esp, ecx); /* 0x2B059AE8: push ecx */ 880 eax = MEM32(0x2B0EEBA8); /* 0x2B059AE9: mov eax, dword ptr [0x2b0eeba8] */ 881 /* test eax, eax */ /* 0x2B059AEE: test eax, eax */ 882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 883 _cf = 0; 884 _flag_k = FK_TEST; 885 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B059B2B; /* 0x2B059AF0: jne 0x2b059b2b */ 886 L_2B059AF2: 887 PUSH32(esp, 1); /* 0x2B059AF2: push 1 */ 888 RECOMP_ICALL(0x2B0AB212u); /* 0x2B059AF4: call 0x2b0ab212 */ /* not lifted */ 889 RECOMP_FLAGS_IN(); 890 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 891 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 892 esp = esp + 4; /* 0x2B059AF9: add esp, 4 */ 893 _flag_k = FK_ADD; 894 MEM32(ebp + (-0x10)) = eax; /* 0x2B059AFC: mov dword ptr [ebp - 0x10], eax */ 895 /* test eax, eax */ /* 0x2B059AFF: test eax, eax */ 896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 897 _cf = 0; 898 _flag_k = FK_TEST; 899 MEM32(ebp + (-0x4)) = 0; /* 0x2B059B01: mov dword ptr [ebp - 4], 0 */ 900 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059B24; /* 0x2B059B08: je 0x2b059b24 */ 901 L_2B059B0A: 902 ecx = eax; /* 0x2B059B0A: mov ecx, eax */ 903 RECOMP_ICALL(0x2B059A60u); /* 0x2B059B0C: call 0x2b059a60 */ /* not lifted */ 904 RECOMP_FLAGS_IN(); 905 MEM32(0x2B0EEBA8) = eax; /* 0x2B059B11: mov dword ptr [0x2b0eeba8], eax */ 906 ecx = MEM32(ebp + (-0xC)); /* 0x2B059B16: mov ecx, dword ptr [ebp - 0xc] */ 907 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059B19: mov dword ptr fs:[0], ecx */ 908 esp = ebp; /* 0x2B059B20: mov esp, ebp */ 909 ebp = POP32_VAL(esp); /* 0x2B059B22: pop ebp */ 910 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059B23: ret */ 911 L_2B059B24: 912 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 913 eax = 0; /* 0x2B059B24: xor eax, eax */ 914 _cf = 0; 915 _flag_k = FK_TEST; 916 MEM32(0x2B0EEBA8) = eax; /* 0x2B059B26: mov dword ptr [0x2b0eeba8], eax */ 917 L_2B059B2B: 918 ecx = MEM32(ebp + (-0xC)); /* 0x2B059B2B: mov ecx, dword ptr [ebp - 0xc] */ 919 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059B2E: mov dword ptr fs:[0], ecx */ 920 esp = ebp; /* 0x2B059B35: mov esp, ebp */ 921 ebp = POP32_VAL(esp); /* 0x2B059B37: pop ebp */ 922 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059B38: ret */ 923 RECOMP_REGS_OUT(); 924 } 925 926 void sub_2B059B40(void) { 927 int _fpu_cmp = 0; 928 uint32_t _cf = 0; 929 int _df = 1; 930 uint32_t _flag_k = FK_NONE; 931 uint32_t _flag_a = 0, _flag_b = 0; 932 uint32_t _itail_tgt = 0; 933 RECOMP_REGS_LOCALS 934 RECOMP_ENTER(0x2B059B40u); 935 936 L_2B059B40: 937 eax = MEM32(0x2B0EEBA8); /* 0x2B059B40: mov eax, dword ptr [0x2b0eeba8] */ 938 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059B45: ret */ 939 RECOMP_REGS_OUT(); 940 } 941 942 void sub_2B059B50(void) { 943 int _fpu_cmp = 0; 944 uint32_t _cf = 0; 945 int _df = 1; 946 uint32_t _flag_k = FK_NONE; 947 uint32_t _flag_a = 0, _flag_b = 0; 948 uint32_t _itail_tgt = 0; 949 RECOMP_REGS_LOCALS 950 RECOMP_ENTER(0x2B059B50u); 951 952 L_2B059B50: 953 PUSH32(esp, ebp); /* 0x2B059B50: push ebp */ 954 ebp = esp; /* 0x2B059B51: mov ebp, esp */ 955 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B059B53: push -1 */ 956 PUSH32(esp, 0x2B0B001Bu); /* 0x2B059B55: push 0x2b0b001b */ 957 eax = MEM32(FS_BASE + (0)); /* 0x2B059B5A: mov eax, dword ptr fs:[0] */ 958 PUSH32(esp, eax); /* 0x2B059B60: push eax */ 959 MEM32(FS_BASE + (0)) = esp; /* 0x2B059B61: mov dword ptr fs:[0], esp */ 960 PUSH32(esp, ecx); /* 0x2B059B68: push ecx */ 961 eax = MEM32(0x2B0EEBAC); /* 0x2B059B69: mov eax, dword ptr [0x2b0eebac] */ 962 /* test eax, eax */ /* 0x2B059B6E: test eax, eax */ 963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 964 _cf = 0; 965 _flag_k = FK_TEST; 966 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B059BAB; /* 0x2B059B70: jne 0x2b059bab */ 967 L_2B059B72: 968 PUSH32(esp, 0x68u); /* 0x2B059B72: push 0x68 */ 969 RECOMP_ICALL(0x2B0AB212u); /* 0x2B059B74: call 0x2b0ab212 */ /* not lifted */ 970 RECOMP_FLAGS_IN(); 971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 973 esp = esp + 4; /* 0x2B059B79: add esp, 4 */ 974 _flag_k = FK_ADD; 975 MEM32(ebp + (-0x10)) = eax; /* 0x2B059B7C: mov dword ptr [ebp - 0x10], eax */ 976 /* test eax, eax */ /* 0x2B059B7F: test eax, eax */ 977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 978 _cf = 0; 979 _flag_k = FK_TEST; 980 MEM32(ebp + (-0x4)) = 0; /* 0x2B059B81: mov dword ptr [ebp - 4], 0 */ 981 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059BA4; /* 0x2B059B88: je 0x2b059ba4 */ 982 L_2B059B8A: 983 ecx = eax; /* 0x2B059B8A: mov ecx, eax */ 984 RECOMP_ICALL(0x2B058BC0u); /* 0x2B059B8C: call 0x2b058bc0 */ /* not lifted */ 985 RECOMP_FLAGS_IN(); 986 MEM32(0x2B0EEBAC) = eax; /* 0x2B059B91: mov dword ptr [0x2b0eebac], eax */ 987 ecx = MEM32(ebp + (-0xC)); /* 0x2B059B96: mov ecx, dword ptr [ebp - 0xc] */ 988 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059B99: mov dword ptr fs:[0], ecx */ 989 esp = ebp; /* 0x2B059BA0: mov esp, ebp */ 990 ebp = POP32_VAL(esp); /* 0x2B059BA2: pop ebp */ 991 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059BA3: ret */ 992 L_2B059BA4: 993 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 994 eax = 0; /* 0x2B059BA4: xor eax, eax */ 995 _cf = 0; 996 _flag_k = FK_TEST; 997 MEM32(0x2B0EEBAC) = eax; /* 0x2B059BA6: mov dword ptr [0x2b0eebac], eax */ 998 L_2B059BAB: 999 ecx = MEM32(ebp + (-0xC)); /* 0x2B059BAB: mov ecx, dword ptr [ebp - 0xc] */ 1000 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059BAE: mov dword ptr fs:[0], ecx */ 1001 esp = ebp; /* 0x2B059BB5: mov esp, ebp */ 1002 ebp = POP32_VAL(esp); /* 0x2B059BB7: pop ebp */ 1003 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059BB8: ret */ 1004 RECOMP_REGS_OUT(); 1005 } 1006 1007 void sub_2B059BC0(void) { 1008 int _fpu_cmp = 0; 1009 uint32_t _cf = 0; 1010 int _df = 1; 1011 uint32_t _flag_k = FK_NONE; 1012 uint32_t _flag_a = 0, _flag_b = 0; 1013 uint32_t _itail_tgt = 0; 1014 RECOMP_REGS_LOCALS 1015 RECOMP_ENTER(0x2B059BC0u); 1016 1017 L_2B059BC0: 1018 ecx = MEM32(0x2B0EEBAC); /* 0x2B059BC0: mov ecx, dword ptr [0x2b0eebac] */ 1019 /* test ecx, ecx */ /* 0x2B059BC6: test ecx, ecx */ 1020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1021 _cf = 0; 1022 _flag_k = FK_TEST; 1023 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059BD0; /* 0x2B059BC8: je 0x2b059bd0 */ 1024 L_2B059BCA: 1025 eax = MEM32(ecx); /* 0x2B059BCA: mov eax, dword ptr [ecx] */ 1026 PUSH32(esp, 1); /* 0x2B059BCC: push 1 */ 1027 RECOMP_ICALL(MEM32(eax)); /* 0x2B059BCE: call dword ptr [eax] */ 1028 RECOMP_FLAGS_IN(); 1029 L_2B059BD0: 1030 MEM32(0x2B0EEBAC) = 0; /* 0x2B059BD0: mov dword ptr [0x2b0eebac], 0 */ 1031 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059BDA: ret */ 1032 RECOMP_REGS_OUT(); 1033 } 1034 1035 void sub_2B059BE0(void) { 1036 int _fpu_cmp = 0; 1037 uint32_t _cf = 0; 1038 int _df = 1; 1039 uint32_t _flag_k = FK_NONE; 1040 uint32_t _flag_a = 0, _flag_b = 0; 1041 uint32_t _itail_tgt = 0; 1042 RECOMP_REGS_LOCALS 1043 RECOMP_ENTER(0x2B059BE0u); 1044 1045 L_2B059BE0: 1046 PUSH32(esp, ebp); /* 0x2B059BE0: push ebp */ 1047 ebp = esp; /* 0x2B059BE1: mov ebp, esp */ 1048 eax = MEM32(ebp + 0x8); /* 0x2B059BE3: mov eax, dword ptr [ebp + 8] */ 1049 MEM32(0x2B0EECB4) = eax; /* 0x2B059BE6: mov dword ptr [0x2b0eecb4], eax */ 1050 ebp = POP32_VAL(esp); /* 0x2B059BEB: pop ebp */ 1051 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059BEC: ret */ 1052 RECOMP_REGS_OUT(); 1053 } 1054 1055 void sub_2B059BF0(void) { 1056 int _fpu_cmp = 0; 1057 uint32_t _cf = 0; 1058 int _df = 1; 1059 uint32_t _flag_k = FK_NONE; 1060 uint32_t _flag_a = 0, _flag_b = 0; 1061 uint32_t _itail_tgt = 0; 1062 RECOMP_REGS_LOCALS 1063 RECOMP_ENTER(0x2B059BF0u); 1064 1065 L_2B059BF0: 1066 PUSH32(esp, ebp); /* 0x2B059BF0: push ebp */ 1067 ebp = esp; /* 0x2B059BF1: mov ebp, esp */ 1068 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B059BF3: push -1 */ 1069 PUSH32(esp, 0x2B0B0059u); /* 0x2B059BF5: push 0x2b0b0059 */ 1070 eax = MEM32(FS_BASE + (0)); /* 0x2B059BFA: mov eax, dword ptr fs:[0] */ 1071 PUSH32(esp, eax); /* 0x2B059C00: push eax */ 1072 MEM32(FS_BASE + (0)) = esp; /* 0x2B059C01: mov dword ptr fs:[0], esp */ 1073 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40u); 1074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1075 esp = esp - 0x40u; /* 0x2B059C08: sub esp, 0x40 */ 1076 _flag_k = FK_CMP; 1077 PUSH32(esp, ebx); /* 0x2B059C0B: push ebx */ 1078 PUSH32(esp, esi); /* 0x2B059C0C: push esi */ 1079 esi = ecx; /* 0x2B059C0D: mov esi, ecx */ 1080 PUSH32(esp, edi); /* 0x2B059C0F: push edi */ 1081 MEM32(ebp + (-0x10)) = esi; /* 0x2B059C10: mov dword ptr [ebp - 0x10], esi */ 1082 RECOMP_ICALL(0x2B03A220u); /* 0x2B059C13: call 0x2b03a220 */ /* not lifted */ 1083 RECOMP_FLAGS_IN(); 1084 MEM32(esi) = 0x2B0B6BF4u; /* 0x2B059C18: mov dword ptr [esi], 0x2b0b6bf4 */ 1085 eax = MEM32(0x2B0EE9CC); /* 0x2B059C1E: mov eax, dword ptr [0x2b0ee9cc] */ 1086 MEM32(esi + 0x4) = eax; /* 0x2B059C23: mov dword ptr [esi + 4], eax */ 1087 ecx = MEM32(0x2B0EE9D0); /* 0x2B059C26: mov ecx, dword ptr [0x2b0ee9d0] */ 1088 edx = eax; /* 0x2B059C2C: mov edx, eax */ 1089 eax = ecx; /* 0x2B059C2E: mov eax, ecx */ 1090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 1091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1092 eax = eax + 0x14u; /* 0x2B059C30: add eax, 0x14 */ 1093 _flag_k = FK_ADD; 1094 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1095 ebx = 0; /* 0x2B059C33: xor ebx, ebx */ 1096 _cf = 0; 1097 _flag_k = FK_TEST; 1098 PUSH32(esp, 0x38u); /* 0x2B059C35: push 0x38 */ 1099 MEM32(ebp + (-0x4)) = ebx; /* 0x2B059C37: mov dword ptr [ebp - 4], ebx */ 1100 MEM32(esi + 0x8) = ecx; /* 0x2B059C3A: mov dword ptr [esi + 8], ecx */ 1101 MEM32(ebp + (-0x1C)) = edx; /* 0x2B059C3D: mov dword ptr [ebp - 0x1c], edx */ 1102 MEM32(ebp + (-0x18)) = eax; /* 0x2B059C40: mov dword ptr [ebp - 0x18], eax */ 1103 RECOMP_ICALL(0x2B0AB212u); /* 0x2B059C43: call 0x2b0ab212 */ /* not lifted */ 1104 RECOMP_FLAGS_IN(); 1105 edi = eax; /* 0x2B059C48: mov edi, eax */ 1106 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1107 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1108 esp = esp + 4; /* 0x2B059C4A: add esp, 4 */ 1109 _flag_k = FK_ADD; 1110 MEM32(ebp + (-0x14)) = edi; /* 0x2B059C4D: mov dword ptr [ebp - 0x14], edi */ 1111 /* cmp edi, ebx */ /* 0x2B059C50: cmp edi, ebx */ 1112 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1114 _flag_k = FK_CMP; 1115 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B059C52: mov byte ptr [ebp - 4], 1 */ 1116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B059C7F; /* 0x2B059C56: je 0x2b059c7f */ 1117 L_2B059C58: 1118 ecx = MEM32(0x2B0EE9DC); /* 0x2B059C58: mov ecx, dword ptr [0x2b0ee9dc] */ 1119 PUSH32(esp, ecx); /* 0x2B059C5E: push ecx */ 1120 PUSH32(esp, 0xFA2u); /* 0x2B059C5F: push 0xfa2 */ 1121 PUSH32(esp, 0x193u); /* 0x2B059C64: push 0x193 */ 1122 edx = ebp + (-0x1C); /* 0x2B059C69: lea edx, [ebp - 0x1c] */ 1123 PUSH32(esp, edx); /* 0x2B059C6C: push edx */ 1124 ecx = edi; /* 0x2B059C6D: mov ecx, edi */ 1125 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B059C6F: call dword ptr [0x2b0b5948] */ 1126 RECOMP_FLAGS_IN(); 1127 MEM32(edi) = 0x2B0B68F4u; /* 0x2B059C75: mov dword ptr [edi], 0x2b0b68f4 */ 1128 eax = edi; /* 0x2B059C7B: mov eax, edi */ 1129 goto L_2B059C81; /* 0x2B059C7D: jmp 0x2b059c81 */ 1130 L_2B059C7F: 1131 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1132 eax = 0; /* 0x2B059C7F: xor eax, eax */ 1133 _cf = 0; 1134 _flag_k = FK_TEST; 1135 L_2B059C81: 1136 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B059C81: cmp byte ptr [esi + 0x1c], bl */ 1137 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1139 _flag_k = FK_NARROW(FK_CMP, 24); 1140 MEM32(esi + 0x28) = eax; /* 0x2B059C84: mov dword ptr [esi + 0x28], eax */ 1141 ecx = MEM32(eax + 0x14); /* 0x2B059C87: mov ecx, dword ptr [eax + 0x14] */ 1142 ecx = MEM32(ecx + 0x8); /* 0x2B059C8A: mov ecx, dword ptr [ecx + 8] */ 1143 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B059C8D: mov byte ptr [ebp - 4], bl */ 1144 MEM32(esi + 0x20) = ecx; /* 0x2B059C90: mov dword ptr [esi + 0x20], ecx */ 1145 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B059C9D; /* 0x2B059C93: je 0x2b059c9d */ 1146 L_2B059C95: 1147 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B059C95: cmp byte ptr [esi + 0xc], bl */ 1148 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1150 _flag_k = FK_NARROW(FK_CMP, 24); 1151 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B059C9D; /* 0x2B059C98: je 0x2b059c9d */ 1152 L_2B059C9A: 1153 MEM32(esi + 0x18) = ecx; /* 0x2B059C9A: mov dword ptr [esi + 0x18], ecx */ 1154 L_2B059C9D: 1155 PUSH32(esp, 0x2B0E899Cu); /* 0x2B059C9D: push 0x2b0e899c */ 1156 PUSH32(esp, ebx); /* 0x2B059CA2: push ebx */ 1157 ecx = esi; /* 0x2B059CA3: mov ecx, esi */ 1158 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B059CA5: mov byte ptr [eax + 8], bl */ 1159 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B059CA8: call 0x2b03a2d0 */ /* not lifted */ 1160 RECOMP_FLAGS_IN(); 1161 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1162 eax = 0; /* 0x2B059CAD: xor eax, eax */ 1163 _cf = 0; 1164 _flag_k = FK_TEST; 1165 ecx = 0xCu; /* 0x2B059CAF: mov ecx, 0xc */ 1166 edi = ebp + (-0x4C); /* 0x2B059CB4: lea edi, [ebp - 0x4c] */ 1167 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B059CB7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1168 eax = MEM32(esi + 0x4); /* 0x2B059CB9: mov eax, dword ptr [esi + 4] */ 1169 ecx = MEM32(esi + 0x8); /* 0x2B059CBC: mov ecx, dword ptr [esi + 8] */ 1170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1171 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1172 eax = eax + 2; /* 0x2B059CBF: add eax, 2 */ 1173 _flag_k = FK_ADD; 1174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Eu); 1175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1176 ecx = ecx + 0x1Eu; /* 0x2B059CC2: add ecx, 0x1e */ 1177 _flag_k = FK_ADD; 1178 PUSH32(esp, 0xBCu); /* 0x2B059CC5: push 0xbc */ 1179 MEM32(ebp + (-0x3C)) = eax; /* 0x2B059CCA: mov dword ptr [ebp - 0x3c], eax */ 1180 MEM32(ebp + (-0x38)) = ecx; /* 0x2B059CCD: mov dword ptr [ebp - 0x38], ecx */ 1181 MEM32(ebp + (-0x34)) = 0xFA4u; /* 0x2B059CD0: mov dword ptr [ebp - 0x34], 0xfa4 */ 1182 MEM32(ebp + (-0x2C)) = 0x194u; /* 0x2B059CD7: mov dword ptr [ebp - 0x2c], 0x194 */ 1183 MEM32(ebp + (-0x28)) = 0x195u; /* 0x2B059CDE: mov dword ptr [ebp - 0x28], 0x195 */ 1184 RECOMP_ICALL(0x2B0AB212u); /* 0x2B059CE5: call 0x2b0ab212 */ /* not lifted */ 1185 RECOMP_FLAGS_IN(); 1186 edi = eax; /* 0x2B059CEA: mov edi, eax */ 1187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1189 esp = esp + 4; /* 0x2B059CEC: add esp, 4 */ 1190 _flag_k = FK_ADD; 1191 MEM32(ebp + (-0x14)) = edi; /* 0x2B059CEF: mov dword ptr [ebp - 0x14], edi */ 1192 /* cmp edi, ebx */ /* 0x2B059CF2: cmp edi, ebx */ 1193 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1195 _flag_k = FK_CMP; 1196 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B059CF4: mov byte ptr [ebp - 4], 2 */ 1197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B059D18; /* 0x2B059CF8: je 0x2b059d18 */ 1198 L_2B059CFA: 1199 eax = MEM32(0x2B0EE9DC); /* 0x2B059CFA: mov eax, dword ptr [0x2b0ee9dc] */ 1200 PUSH32(esp, eax); /* 0x2B059CFF: push eax */ 1201 PUSH32(esp, 0x2Eu); /* 0x2B059D00: push 0x2e */ 1202 ecx = ebp + (-0x4C); /* 0x2B059D02: lea ecx, [ebp - 0x4c] */ 1203 PUSH32(esp, ecx); /* 0x2B059D05: push ecx */ 1204 ecx = edi; /* 0x2B059D06: mov ecx, edi */ 1205 RECOMP_ICALL(MEM32(0x2B0B5A48)); /* 0x2B059D08: call dword ptr [0x2b0b5a48] */ 1206 RECOMP_FLAGS_IN(); 1207 MEM32(edi) = 0x2B0B645Cu; /* 0x2B059D0E: mov dword ptr [edi], 0x2b0b645c */ 1208 ecx = edi; /* 0x2B059D14: mov ecx, edi */ 1209 goto L_2B059D1A; /* 0x2B059D16: jmp 0x2b059d1a */ 1210 L_2B059D18: 1211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1212 ecx = 0; /* 0x2B059D18: xor ecx, ecx */ 1213 _cf = 0; 1214 _flag_k = FK_TEST; 1215 L_2B059D1A: 1216 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B059D1A: mov byte ptr [ebp - 4], bl */ 1217 MEM32(esi + 0x2C) = ecx; /* 0x2B059D1D: mov dword ptr [esi + 0x2c], ecx */ 1218 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B059D20: call dword ptr [0x2b0b5b34] */ 1219 RECOMP_FLAGS_IN(); 1220 PUSH32(esp, 0xBCu); /* 0x2B059D26: push 0xbc */ 1221 MEM32(ebp + (-0x2C)) = 0x196u; /* 0x2B059D2B: mov dword ptr [ebp - 0x2c], 0x196 */ 1222 MEM32(ebp + (-0x28)) = 0x197u; /* 0x2B059D32: mov dword ptr [ebp - 0x28], 0x197 */ 1223 RECOMP_ICALL(0x2B0AB212u); /* 0x2B059D39: call 0x2b0ab212 */ /* not lifted */ 1224 RECOMP_FLAGS_IN(); 1225 edi = eax; /* 0x2B059D3E: mov edi, eax */ 1226 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1228 esp = esp + 4; /* 0x2B059D40: add esp, 4 */ 1229 _flag_k = FK_ADD; 1230 MEM32(ebp + (-0x14)) = edi; /* 0x2B059D43: mov dword ptr [ebp - 0x14], edi */ 1231 /* cmp edi, ebx */ /* 0x2B059D46: cmp edi, ebx */ 1232 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1234 _flag_k = FK_CMP; 1235 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B059D48: mov byte ptr [ebp - 4], 3 */ 1236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B059D6D; /* 0x2B059D4C: je 0x2b059d6d */ 1237 L_2B059D4E: 1238 edx = MEM32(0x2B0EE9DC); /* 0x2B059D4E: mov edx, dword ptr [0x2b0ee9dc] */ 1239 PUSH32(esp, edx); /* 0x2B059D54: push edx */ 1240 PUSH32(esp, 0x2Fu); /* 0x2B059D55: push 0x2f */ 1241 eax = ebp + (-0x4C); /* 0x2B059D57: lea eax, [ebp - 0x4c] */ 1242 PUSH32(esp, eax); /* 0x2B059D5A: push eax */ 1243 ecx = edi; /* 0x2B059D5B: mov ecx, edi */ 1244 RECOMP_ICALL(MEM32(0x2B0B5A48)); /* 0x2B059D5D: call dword ptr [0x2b0b5a48] */ 1245 RECOMP_FLAGS_IN(); 1246 MEM32(edi) = 0x2B0B645Cu; /* 0x2B059D63: mov dword ptr [edi], 0x2b0b645c */ 1247 ecx = edi; /* 0x2B059D69: mov ecx, edi */ 1248 goto L_2B059D6F; /* 0x2B059D6B: jmp 0x2b059d6f */ 1249 L_2B059D6D: 1250 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1251 ecx = 0; /* 0x2B059D6D: xor ecx, ecx */ 1252 _cf = 0; 1253 _flag_k = FK_TEST; 1254 L_2B059D6F: 1255 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B059D6F: mov byte ptr [ebp - 4], bl */ 1256 MEM32(esi + 0x30) = ecx; /* 0x2B059D72: mov dword ptr [esi + 0x30], ecx */ 1257 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B059D75: call dword ptr [0x2b0b5b34] */ 1258 RECOMP_FLAGS_IN(); 1259 PUSH32(esp, 1); /* 0x2B059D7B: push 1 */ 1260 ecx = esi; /* 0x2B059D7D: mov ecx, esi */ 1261 RECOMP_ICALL(0x2B03A350u); /* 0x2B059D7F: call 0x2b03a350 */ /* not lifted */ 1262 RECOMP_FLAGS_IN(); 1263 ecx = esi; /* 0x2B059D84: mov ecx, esi */ 1264 RECOMP_ICALL(0x2B03A490u); /* 0x2B059D86: call 0x2b03a490 */ /* not lifted */ 1265 RECOMP_FLAGS_IN(); 1266 ecx = esi; /* 0x2B059D8B: mov ecx, esi */ 1267 RECOMP_ICALL(0x2B059F20u); /* 0x2B059D8D: call 0x2b059f20 */ /* not lifted */ 1268 RECOMP_FLAGS_IN(); 1269 RECOMP_ICALL(0x2B03AA90u); /* 0x2B059D92: call 0x2b03aa90 */ /* not lifted */ 1270 RECOMP_FLAGS_IN(); 1271 PUSH32(esp, 0x181u); /* 0x2B059D97: push 0x181 */ 1272 PUSH32(esp, 0x3Du); /* 0x2B059D9C: push 0x3d */ 1273 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B059D9E: call dword ptr [0x2b0b53cc] */ 1274 RECOMP_FLAGS_IN(); 1275 ecx = eax; /* 0x2B059DA4: mov ecx, eax */ 1276 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B059DA6: call dword ptr [0x2b0b53c8] */ 1277 RECOMP_FLAGS_IN(); 1278 ecx = MEM32(ebp + (-0xC)); /* 0x2B059DAC: mov ecx, dword ptr [ebp - 0xc] */ 1279 edi = POP32_VAL(esp); /* 0x2B059DAF: pop edi */ 1280 eax = esi; /* 0x2B059DB0: mov eax, esi */ 1281 esi = POP32_VAL(esp); /* 0x2B059DB2: pop esi */ 1282 ebx = POP32_VAL(esp); /* 0x2B059DB3: pop ebx */ 1283 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059DB4: mov dword ptr fs:[0], ecx */ 1284 esp = ebp; /* 0x2B059DBB: mov esp, ebp */ 1285 ebp = POP32_VAL(esp); /* 0x2B059DBD: pop ebp */ 1286 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059DBE: ret */ 1287 RECOMP_REGS_OUT(); 1288 } 1289 1290 void sub_2B059DC0(void) { 1291 int _fpu_cmp = 0; 1292 uint32_t _cf = 0; 1293 int _df = 1; 1294 uint32_t _flag_k = FK_NONE; 1295 uint32_t _flag_a = 0, _flag_b = 0; 1296 uint32_t _itail_tgt = 0; 1297 RECOMP_REGS_LOCALS 1298 RECOMP_ENTER(0x2B059DC0u); 1299 1300 L_2B059DC0: 1301 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 1302 SET_LO8(eax, 0); /* 0x2B059DC0: xor al, al */ 1303 _cf = 0; 1304 _flag_k = FK_NARROW(FK_TEST, 24); 1305 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059DC2: ret */ 1306 RECOMP_REGS_OUT(); 1307 } 1308 1309 void sub_2B059DD0(void) { 1310 int _fpu_cmp = 0; 1311 uint32_t _cf = 0; 1312 int _df = 1; 1313 uint32_t _flag_k = FK_NONE; 1314 uint32_t _flag_a = 0, _flag_b = 0; 1315 uint32_t _itail_tgt = 0; 1316 RECOMP_REGS_LOCALS 1317 RECOMP_ENTER(0x2B059DD0u); 1318 1319 L_2B059DD0: 1320 PUSH32(esp, ebp); /* 0x2B059DD0: push ebp */ 1321 ebp = esp; /* 0x2B059DD1: mov ebp, esp */ 1322 PUSH32(esp, esi); /* 0x2B059DD3: push esi */ 1323 esi = ecx; /* 0x2B059DD4: mov esi, ecx */ 1324 RECOMP_ICALL(0x2B059E00u); /* 0x2B059DD6: call 0x2b059e00 */ /* not lifted */ 1325 RECOMP_FLAGS_IN(); 1326 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B059DDB: test byte ptr [ebp + 8], 1 */ 1327 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 1328 _cf = 0; 1329 _flag_k = FK_NARROW(FK_TEST, 24); 1330 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059DEA; /* 0x2B059DDF: je 0x2b059dea */ 1331 L_2B059DE1: 1332 PUSH32(esp, esi); /* 0x2B059DE1: push esi */ 1333 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059DE2: call 0x2b0ab1ba */ /* not lifted */ 1334 RECOMP_FLAGS_IN(); 1335 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1336 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1337 esp = esp + 4; /* 0x2B059DE7: add esp, 4 */ 1338 _flag_k = FK_ADD; 1339 L_2B059DEA: 1340 eax = esi; /* 0x2B059DEA: mov eax, esi */ 1341 esi = POP32_VAL(esp); /* 0x2B059DEC: pop esi */ 1342 ebp = POP32_VAL(esp); /* 0x2B059DED: pop ebp */ 1343 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B059DEE: ret 4 */ 1344 RECOMP_REGS_OUT(); 1345 } 1346 1347 void sub_2B059E00(void) { 1348 int _fpu_cmp = 0; 1349 uint32_t _cf = 0; 1350 int _df = 1; 1351 uint32_t _flag_k = FK_NONE; 1352 uint32_t _flag_a = 0, _flag_b = 0; 1353 uint32_t _itail_tgt = 0; 1354 RECOMP_REGS_LOCALS 1355 RECOMP_ENTER(0x2B059E00u); 1356 1357 L_2B059E00: 1358 PUSH32(esp, ebp); /* 0x2B059E00: push ebp */ 1359 ebp = esp; /* 0x2B059E01: mov ebp, esp */ 1360 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B059E03: push -1 */ 1361 PUSH32(esp, 0x2B0B0078u); /* 0x2B059E05: push 0x2b0b0078 */ 1362 eax = MEM32(FS_BASE + (0)); /* 0x2B059E0A: mov eax, dword ptr fs:[0] */ 1363 PUSH32(esp, eax); /* 0x2B059E10: push eax */ 1364 MEM32(FS_BASE + (0)) = esp; /* 0x2B059E11: mov dword ptr fs:[0], esp */ 1365 PUSH32(esp, ecx); /* 0x2B059E18: push ecx */ 1366 PUSH32(esp, esi); /* 0x2B059E19: push esi */ 1367 esi = ecx; /* 0x2B059E1A: mov esi, ecx */ 1368 MEM32(ebp + (-0x10)) = esi; /* 0x2B059E1C: mov dword ptr [ebp - 0x10], esi */ 1369 MEM32(esi) = 0x2B0B6BF4u; /* 0x2B059E1F: mov dword ptr [esi], 0x2b0b6bf4 */ 1370 ecx = MEM32(esi + 0x28); /* 0x2B059E25: mov ecx, dword ptr [esi + 0x28] */ 1371 /* test ecx, ecx */ /* 0x2B059E28: test ecx, ecx */ 1372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1373 _cf = 0; 1374 _flag_k = FK_TEST; 1375 MEM32(ebp + (-0x4)) = 0; /* 0x2B059E2A: mov dword ptr [ebp - 4], 0 */ 1376 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059E39; /* 0x2B059E31: je 0x2b059e39 */ 1377 L_2B059E33: 1378 eax = MEM32(ecx); /* 0x2B059E33: mov eax, dword ptr [ecx] */ 1379 PUSH32(esp, 1); /* 0x2B059E35: push 1 */ 1380 RECOMP_ICALL(MEM32(eax)); /* 0x2B059E37: call dword ptr [eax] */ 1381 RECOMP_FLAGS_IN(); 1382 L_2B059E39: 1383 ecx = MEM32(esi + 0x2C); /* 0x2B059E39: mov ecx, dword ptr [esi + 0x2c] */ 1384 /* test ecx, ecx */ /* 0x2B059E3C: test ecx, ecx */ 1385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1386 _cf = 0; 1387 _flag_k = FK_TEST; 1388 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059E46; /* 0x2B059E3E: je 0x2b059e46 */ 1389 L_2B059E40: 1390 edx = MEM32(ecx); /* 0x2B059E40: mov edx, dword ptr [ecx] */ 1391 PUSH32(esp, 1); /* 0x2B059E42: push 1 */ 1392 RECOMP_ICALL(MEM32(edx)); /* 0x2B059E44: call dword ptr [edx] */ 1393 RECOMP_FLAGS_IN(); 1394 L_2B059E46: 1395 ecx = MEM32(esi + 0x30); /* 0x2B059E46: mov ecx, dword ptr [esi + 0x30] */ 1396 /* test ecx, ecx */ /* 0x2B059E49: test ecx, ecx */ 1397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1398 _cf = 0; 1399 _flag_k = FK_TEST; 1400 if (TEST_Z(_flag_a, _flag_b)) goto L_2B059E53; /* 0x2B059E4B: je 0x2b059e53 */ 1401 L_2B059E4D: 1402 eax = MEM32(ecx); /* 0x2B059E4D: mov eax, dword ptr [ecx] */ 1403 PUSH32(esp, 1); /* 0x2B059E4F: push 1 */ 1404 RECOMP_ICALL(MEM32(eax)); /* 0x2B059E51: call dword ptr [eax] */ 1405 RECOMP_FLAGS_IN(); 1406 L_2B059E53: 1407 ecx = esi; /* 0x2B059E53: mov ecx, esi */ 1408 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B059E55: mov dword ptr [ebp - 4], 0xffffffff */ 1409 RECOMP_ICALL(0x2B03A290u); /* 0x2B059E5C: call 0x2b03a290 */ /* not lifted */ 1410 RECOMP_FLAGS_IN(); 1411 ecx = MEM32(ebp + (-0xC)); /* 0x2B059E61: mov ecx, dword ptr [ebp - 0xc] */ 1412 esi = POP32_VAL(esp); /* 0x2B059E64: pop esi */ 1413 MEM32(FS_BASE + (0)) = ecx; /* 0x2B059E65: mov dword ptr fs:[0], ecx */ 1414 esp = ebp; /* 0x2B059E6C: mov esp, ebp */ 1415 ebp = POP32_VAL(esp); /* 0x2B059E6E: pop ebp */ 1416 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059E6F: ret */ 1417 RECOMP_REGS_OUT(); 1418 } 1419 1420 void sub_2B059E70(void) { 1421 int _fpu_cmp = 0; 1422 uint32_t _cf = 0; 1423 int _df = 1; 1424 uint32_t _flag_k = FK_NONE; 1425 uint32_t _flag_a = 0, _flag_b = 0; 1426 uint32_t _itail_tgt = 0; 1427 RECOMP_REGS_LOCALS 1428 RECOMP_ENTER(0x2B059E70u); 1429 1430 L_2B059E70: 1431 PUSH32(esp, ebp); /* 0x2B059E70: push ebp */ 1432 ebp = esp; /* 0x2B059E71: mov ebp, esp */ 1433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1435 esp = esp - 8; /* 0x2B059E73: sub esp, 8 */ 1436 _flag_k = FK_CMP; 1437 PUSH32(esp, ebx); /* 0x2B059E76: push ebx */ 1438 PUSH32(esp, esi); /* 0x2B059E77: push esi */ 1439 esi = ecx; /* 0x2B059E78: mov esi, ecx */ 1440 ecx = MEM32(esi + 0x8); /* 0x2B059E7A: mov ecx, dword ptr [esi + 8] */ 1441 eax = MEM32(esi + 0x4); /* 0x2B059E7D: mov eax, dword ptr [esi + 4] */ 1442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 1443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1444 ecx = ecx + 0x14u; /* 0x2B059E80: add ecx, 0x14 */ 1445 _flag_k = FK_ADD; 1446 PUSH32(esp, edi); /* 0x2B059E83: push edi */ 1447 edx = ebp + (-0x8); /* 0x2B059E84: lea edx, [ebp - 8] */ 1448 MEM32(ebp + (-0x4)) = ecx; /* 0x2B059E87: mov dword ptr [ebp - 4], ecx */ 1449 ecx = MEM32(esi + 0x28); /* 0x2B059E8A: mov ecx, dword ptr [esi + 0x28] */ 1450 PUSH32(esp, edx); /* 0x2B059E8D: push edx */ 1451 MEM32(ebp + (-0x8)) = eax; /* 0x2B059E8E: mov dword ptr [ebp - 8], eax */ 1452 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B059E91: call dword ptr [0x2b0b5940] */ 1453 RECOMP_FLAGS_IN(); 1454 eax = MEM32(esi + 0x28); /* 0x2B059E97: mov eax, dword ptr [esi + 0x28] */ 1455 edi = MEM32(0x2B0B581C); /* 0x2B059E9A: mov edi, dword ptr [0x2b0b581c] */ 1456 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B059EA0: mov byte ptr [eax + 9], 1 */ 1457 ecx = MEM32(esi + 0x8); /* 0x2B059EA4: mov ecx, dword ptr [esi + 8] */ 1458 edx = MEM32(esi + 0x4); /* 0x2B059EA7: mov edx, dword ptr [esi + 4] */ 1459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Eu); 1460 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1461 ecx = ecx + 0x1Eu; /* 0x2B059EAA: add ecx, 0x1e */ 1462 _flag_k = FK_ADD; 1463 PUSH32(esp, ecx); /* 0x2B059EAD: push ecx */ 1464 ecx = MEM32(esi + 0x2C); /* 0x2B059EAE: mov ecx, dword ptr [esi + 0x2c] */ 1465 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 1466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1467 edx = edx + 2; /* 0x2B059EB1: add edx, 2 */ 1468 _flag_k = FK_ADD; 1469 PUSH32(esp, edx); /* 0x2B059EB4: push edx */ 1470 RECOMP_ICALL(edi); /* 0x2B059EB5: call edi */ 1471 RECOMP_FLAGS_IN(); 1472 ecx = MEM32(esi + 0x2C); /* 0x2B059EB7: mov ecx, dword ptr [esi + 0x2c] */ 1473 ebx = MEM32(0x2B0B5960); /* 0x2B059EBA: mov ebx, dword ptr [0x2b0b5960] */ 1474 RECOMP_ICALL(ebx); /* 0x2B059EC0: call ebx */ 1475 RECOMP_FLAGS_IN(); 1476 eax = MEM32(esi + 0x8); /* 0x2B059EC2: mov eax, dword ptr [esi + 8] */ 1477 ecx = MEM32(esi + 0x4); /* 0x2B059EC5: mov ecx, dword ptr [esi + 4] */ 1478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 1479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1480 eax = eax + 0x1Eu; /* 0x2B059EC8: add eax, 0x1e */ 1481 _flag_k = FK_ADD; 1482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x70u); 1483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1484 ecx = ecx + 0x70u; /* 0x2B059ECB: add ecx, 0x70 */ 1485 _flag_k = FK_ADD; 1486 PUSH32(esp, eax); /* 0x2B059ECE: push eax */ 1487 PUSH32(esp, ecx); /* 0x2B059ECF: push ecx */ 1488 ecx = MEM32(esi + 0x30); /* 0x2B059ED0: mov ecx, dword ptr [esi + 0x30] */ 1489 RECOMP_ICALL(edi); /* 0x2B059ED3: call edi */ 1490 RECOMP_FLAGS_IN(); 1491 ecx = MEM32(esi + 0x30); /* 0x2B059ED5: mov ecx, dword ptr [esi + 0x30] */ 1492 RECOMP_ICALL(ebx); /* 0x2B059ED8: call ebx */ 1493 RECOMP_FLAGS_IN(); 1494 edi = POP32_VAL(esp); /* 0x2B059EDA: pop edi */ 1495 esi = POP32_VAL(esp); /* 0x2B059EDB: pop esi */ 1496 ebx = POP32_VAL(esp); /* 0x2B059EDC: pop ebx */ 1497 esp = ebp; /* 0x2B059EDD: mov esp, ebp */ 1498 ebp = POP32_VAL(esp); /* 0x2B059EDF: pop ebp */ 1499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059EE0: ret */ 1500 RECOMP_REGS_OUT(); 1501 } 1502 1503 void sub_2B059EF0(void) { 1504 int _fpu_cmp = 0; 1505 uint32_t _cf = 0; 1506 int _df = 1; 1507 uint32_t _flag_k = FK_NONE; 1508 uint32_t _flag_a = 0, _flag_b = 0; 1509 uint32_t _itail_tgt = 0; 1510 RECOMP_REGS_LOCALS 1511 RECOMP_ENTER(0x2B059EF0u); 1512 1513 L_2B059EF0: 1514 PUSH32(esp, esi); /* 0x2B059EF0: push esi */ 1515 esi = ecx; /* 0x2B059EF1: mov esi, ecx */ 1516 eax = MEM32(esi + 0x28); /* 0x2B059EF3: mov eax, dword ptr [esi + 0x28] */ 1517 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B059EF6: mov byte ptr [eax + 8], 1 */ 1518 ecx = MEM32(esi + 0x10); /* 0x2B059EFA: mov ecx, dword ptr [esi + 0x10] */ 1519 PUSH32(esp, edi); /* 0x2B059EFD: push edi */ 1520 RECOMP_ICALL(0x2B03D560u); /* 0x2B059EFE: call 0x2b03d560 */ /* not lifted */ 1521 RECOMP_FLAGS_IN(); 1522 ecx = MEM32(esi + 0x2C); /* 0x2B059F03: mov ecx, dword ptr [esi + 0x2c] */ 1523 edi = MEM32(0x2B0B5B3C); /* 0x2B059F06: mov edi, dword ptr [0x2b0b5b3c] */ 1524 RECOMP_ICALL(edi); /* 0x2B059F0C: call edi */ 1525 RECOMP_FLAGS_IN(); 1526 ecx = MEM32(esi + 0x30); /* 0x2B059F0E: mov ecx, dword ptr [esi + 0x30] */ 1527 RECOMP_ICALL(edi); /* 0x2B059F11: call edi */ 1528 RECOMP_FLAGS_IN(); 1529 edi = POP32_VAL(esp); /* 0x2B059F13: pop edi */ 1530 esi = POP32_VAL(esp); /* 0x2B059F14: pop esi */ 1531 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059F15: ret */ 1532 RECOMP_REGS_OUT(); 1533 } 1534 1535 void sub_2B059F20(void) { 1536 int _fpu_cmp = 0; 1537 uint32_t _cf = 0; 1538 int _df = 1; 1539 uint32_t _flag_k = FK_NONE; 1540 uint32_t _flag_a = 0, _flag_b = 0; 1541 uint32_t _itail_tgt = 0; 1542 RECOMP_REGS_LOCALS 1543 RECOMP_ENTER(0x2B059F20u); 1544 1545 L_2B059F20: 1546 PUSH32(esp, esi); /* 0x2B059F20: push esi */ 1547 esi = ecx; /* 0x2B059F21: mov esi, ecx */ 1548 eax = MEM32(esi + 0x28); /* 0x2B059F23: mov eax, dword ptr [esi + 0x28] */ 1549 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B059F26: mov byte ptr [eax + 8], 0 */ 1550 ecx = MEM32(esi + 0x10); /* 0x2B059F2A: mov ecx, dword ptr [esi + 0x10] */ 1551 PUSH32(esp, edi); /* 0x2B059F2D: push edi */ 1552 RECOMP_ICALL(0x2B03D580u); /* 0x2B059F2E: call 0x2b03d580 */ /* not lifted */ 1553 RECOMP_FLAGS_IN(); 1554 ecx = MEM32(esi + 0x2C); /* 0x2B059F33: mov ecx, dword ptr [esi + 0x2c] */ 1555 edi = MEM32(0x2B0B5B34); /* 0x2B059F36: mov edi, dword ptr [0x2b0b5b34] */ 1556 RECOMP_ICALL(edi); /* 0x2B059F3C: call edi */ 1557 RECOMP_FLAGS_IN(); 1558 ecx = MEM32(esi + 0x30); /* 0x2B059F3E: mov ecx, dword ptr [esi + 0x30] */ 1559 RECOMP_ICALL(edi); /* 0x2B059F41: call edi */ 1560 RECOMP_FLAGS_IN(); 1561 edi = POP32_VAL(esp); /* 0x2B059F43: pop edi */ 1562 esi = POP32_VAL(esp); /* 0x2B059F44: pop esi */ 1563 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059F45: ret */ 1564 RECOMP_REGS_OUT(); 1565 } 1566 1567 void sub_2B059F50(void) { 1568 int _fpu_cmp = 0; 1569 uint32_t _cf = 0; 1570 int _df = 1; 1571 uint32_t _flag_k = FK_NONE; 1572 uint32_t _flag_a = 0, _flag_b = 0; 1573 uint32_t _itail_tgt = 0; 1574 RECOMP_REGS_LOCALS 1575 RECOMP_ENTER(0x2B059F50u); 1576 1577 L_2B059F50: 1578 PUSH32(esp, ebx); /* 0x2B059F50: push ebx */ 1579 PUSH32(esp, esi); /* 0x2B059F51: push esi */ 1580 esi = MEM32(0x2B0B53CC); /* 0x2B059F52: mov esi, dword ptr [0x2b0b53cc] */ 1581 PUSH32(esp, edi); /* 0x2B059F58: push edi */ 1582 ebx = ecx; /* 0x2B059F59: mov ebx, ecx */ 1583 RECOMP_ICALL(esi); /* 0x2B059F5B: call esi */ 1584 RECOMP_FLAGS_IN(); 1585 ecx = eax; /* 0x2B059F5D: mov ecx, eax */ 1586 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B059F5F: call dword ptr [0x2b0b5374] */ 1587 RECOMP_FLAGS_IN(); 1588 PUSH32(esp, 0xC350u); /* 0x2B059F65: push 0xc350 */ 1589 PUSH32(esp, 0x16u); /* 0x2B059F6A: push 0x16 */ 1590 PUSH32(esp, 1); /* 0x2B059F6C: push 1 */ 1591 RECOMP_ICALL(esi); /* 0x2B059F6E: call esi */ 1592 RECOMP_FLAGS_IN(); 1593 ecx = eax; /* 0x2B059F70: mov ecx, eax */ 1594 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B059F72: call dword ptr [0x2b0b5378] */ 1595 RECOMP_FLAGS_IN(); 1596 PUSH32(esp, 0x2B001520u); /* 0x2B059F78: push 0x2b001520 */ 1597 RECOMP_ICALL(esi); /* 0x2B059F7D: call esi */ 1598 RECOMP_FLAGS_IN(); 1599 ecx = eax; /* 0x2B059F7F: mov ecx, eax */ 1600 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B059F81: call dword ptr [0x2b0b537c] */ 1601 RECOMP_FLAGS_IN(); 1602 PUSH32(esp, 0x2B05A0A0u); /* 0x2B059F87: push 0x2b05a0a0 */ 1603 PUSH32(esp, 5); /* 0x2B059F8C: push 5 */ 1604 RECOMP_ICALL(esi); /* 0x2B059F8E: call esi */ 1605 RECOMP_FLAGS_IN(); 1606 edi = MEM32(0x2B0B5324); /* 0x2B059F90: mov edi, dword ptr [0x2b0b5324] */ 1607 ecx = eax; /* 0x2B059F96: mov ecx, eax */ 1608 RECOMP_ICALL(edi); /* 0x2B059F98: call edi */ 1609 RECOMP_FLAGS_IN(); 1610 PUSH32(esp, 0x2B05A110u); /* 0x2B059F9A: push 0x2b05a110 */ 1611 PUSH32(esp, 6); /* 0x2B059F9F: push 6 */ 1612 RECOMP_ICALL(esi); /* 0x2B059FA1: call esi */ 1613 RECOMP_FLAGS_IN(); 1614 ecx = eax; /* 0x2B059FA3: mov ecx, eax */ 1615 RECOMP_ICALL(edi); /* 0x2B059FA5: call edi */ 1616 RECOMP_FLAGS_IN(); 1617 PUSH32(esp, 0x2B05A160u); /* 0x2B059FA7: push 0x2b05a160 */ 1618 PUSH32(esp, 0x85u); /* 0x2B059FAC: push 0x85 */ 1619 RECOMP_ICALL(esi); /* 0x2B059FB1: call esi */ 1620 RECOMP_FLAGS_IN(); 1621 ecx = eax; /* 0x2B059FB3: mov ecx, eax */ 1622 RECOMP_ICALL(edi); /* 0x2B059FB5: call edi */ 1623 RECOMP_FLAGS_IN(); 1624 PUSH32(esp, 0x2B05A180u); /* 0x2B059FB7: push 0x2b05a180 */ 1625 PUSH32(esp, 0x182u); /* 0x2B059FBC: push 0x182 */ 1626 RECOMP_ICALL(esi); /* 0x2B059FC1: call esi */ 1627 RECOMP_FLAGS_IN(); 1628 ecx = eax; /* 0x2B059FC3: mov ecx, eax */ 1629 RECOMP_ICALL(edi); /* 0x2B059FC5: call edi */ 1630 RECOMP_FLAGS_IN(); 1631 PUSH32(esp, 0x2B05A250u); /* 0x2B059FC7: push 0x2b05a250 */ 1632 PUSH32(esp, 0x183u); /* 0x2B059FCC: push 0x183 */ 1633 RECOMP_ICALL(esi); /* 0x2B059FD1: call esi */ 1634 RECOMP_FLAGS_IN(); 1635 ecx = eax; /* 0x2B059FD3: mov ecx, eax */ 1636 RECOMP_ICALL(edi); /* 0x2B059FD5: call edi */ 1637 RECOMP_FLAGS_IN(); 1638 PUSH32(esp, 0x2B05A270u); /* 0x2B059FD7: push 0x2b05a270 */ 1639 PUSH32(esp, 0x184u); /* 0x2B059FDC: push 0x184 */ 1640 RECOMP_ICALL(esi); /* 0x2B059FE1: call esi */ 1641 RECOMP_FLAGS_IN(); 1642 ecx = eax; /* 0x2B059FE3: mov ecx, eax */ 1643 RECOMP_ICALL(edi); /* 0x2B059FE5: call edi */ 1644 RECOMP_FLAGS_IN(); 1645 PUSH32(esp, 0x2B05A300u); /* 0x2B059FE7: push 0x2b05a300 */ 1646 PUSH32(esp, 0x185u); /* 0x2B059FEC: push 0x185 */ 1647 RECOMP_ICALL(esi); /* 0x2B059FF1: call esi */ 1648 RECOMP_FLAGS_IN(); 1649 ecx = eax; /* 0x2B059FF3: mov ecx, eax */ 1650 RECOMP_ICALL(edi); /* 0x2B059FF5: call edi */ 1651 RECOMP_FLAGS_IN(); 1652 edi = POP32_VAL(esp); /* 0x2B059FF7: pop edi */ 1653 esi = POP32_VAL(esp); /* 0x2B059FF8: pop esi */ 1654 eax = ebx; /* 0x2B059FF9: mov eax, ebx */ 1655 MEM32(0x2B0EEBB8) = 0; /* 0x2B059FFB: mov dword ptr [0x2b0eebb8], 0 */ 1656 ebx = POP32_VAL(esp); /* 0x2B05A005: pop ebx */ 1657 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A006: ret */ 1658 RECOMP_REGS_OUT(); 1659 } 1660 1661 void sub_2B05A010(void) { 1662 int _fpu_cmp = 0; 1663 uint32_t _cf = 0; 1664 int _df = 1; 1665 uint32_t _flag_k = FK_NONE; 1666 uint32_t _flag_a = 0, _flag_b = 0; 1667 uint32_t _itail_tgt = 0; 1668 RECOMP_REGS_LOCALS 1669 RECOMP_ENTER(0x2B05A010u); 1670 1671 L_2B05A010: 1672 RECOMP_ICALL(0x2B05A110u); /* 0x2B05A010: call 0x2b05a110 */ /* not lifted */ 1673 RECOMP_FLAGS_IN(); 1674 MEM32(0x2B0EEBB8) = 0; /* 0x2B05A015: mov dword ptr [0x2b0eebb8], 0 */ 1675 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A01F: ret */ 1676 RECOMP_REGS_OUT(); 1677 } 1678 1679 void sub_2B05A020(void) { 1680 int _fpu_cmp = 0; 1681 uint32_t _cf = 0; 1682 int _df = 1; 1683 uint32_t _flag_k = FK_NONE; 1684 uint32_t _flag_a = 0, _flag_b = 0; 1685 uint32_t _itail_tgt = 0; 1686 RECOMP_REGS_LOCALS 1687 RECOMP_ENTER(0x2B05A020u); 1688 1689 L_2B05A020: 1690 PUSH32(esp, ebp); /* 0x2B05A020: push ebp */ 1691 ebp = esp; /* 0x2B05A021: mov ebp, esp */ 1692 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05A023: push -1 */ 1693 PUSH32(esp, 0x2B0B009Bu); /* 0x2B05A025: push 0x2b0b009b */ 1694 eax = MEM32(FS_BASE + (0)); /* 0x2B05A02A: mov eax, dword ptr fs:[0] */ 1695 PUSH32(esp, eax); /* 0x2B05A030: push eax */ 1696 MEM32(FS_BASE + (0)) = esp; /* 0x2B05A031: mov dword ptr fs:[0], esp */ 1697 PUSH32(esp, ecx); /* 0x2B05A038: push ecx */ 1698 eax = MEM32(0x2B0EEBB4); /* 0x2B05A039: mov eax, dword ptr [0x2b0eebb4] */ 1699 /* test eax, eax */ /* 0x2B05A03E: test eax, eax */ 1700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1701 _cf = 0; 1702 _flag_k = FK_TEST; 1703 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05A07B; /* 0x2B05A040: jne 0x2b05a07b */ 1704 L_2B05A042: 1705 PUSH32(esp, 1); /* 0x2B05A042: push 1 */ 1706 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A044: call 0x2b0ab212 */ /* not lifted */ 1707 RECOMP_FLAGS_IN(); 1708 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1709 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1710 esp = esp + 4; /* 0x2B05A049: add esp, 4 */ 1711 _flag_k = FK_ADD; 1712 MEM32(ebp + (-0x10)) = eax; /* 0x2B05A04C: mov dword ptr [ebp - 0x10], eax */ 1713 /* test eax, eax */ /* 0x2B05A04F: test eax, eax */ 1714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1715 _cf = 0; 1716 _flag_k = FK_TEST; 1717 MEM32(ebp + (-0x4)) = 0; /* 0x2B05A051: mov dword ptr [ebp - 4], 0 */ 1718 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A074; /* 0x2B05A058: je 0x2b05a074 */ 1719 L_2B05A05A: 1720 ecx = eax; /* 0x2B05A05A: mov ecx, eax */ 1721 RECOMP_ICALL(0x2B059F50u); /* 0x2B05A05C: call 0x2b059f50 */ /* not lifted */ 1722 RECOMP_FLAGS_IN(); 1723 MEM32(0x2B0EEBB4) = eax; /* 0x2B05A061: mov dword ptr [0x2b0eebb4], eax */ 1724 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A066: mov ecx, dword ptr [ebp - 0xc] */ 1725 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A069: mov dword ptr fs:[0], ecx */ 1726 esp = ebp; /* 0x2B05A070: mov esp, ebp */ 1727 ebp = POP32_VAL(esp); /* 0x2B05A072: pop ebp */ 1728 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A073: ret */ 1729 L_2B05A074: 1730 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1731 eax = 0; /* 0x2B05A074: xor eax, eax */ 1732 _cf = 0; 1733 _flag_k = FK_TEST; 1734 MEM32(0x2B0EEBB4) = eax; /* 0x2B05A076: mov dword ptr [0x2b0eebb4], eax */ 1735 L_2B05A07B: 1736 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A07B: mov ecx, dword ptr [ebp - 0xc] */ 1737 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A07E: mov dword ptr fs:[0], ecx */ 1738 esp = ebp; /* 0x2B05A085: mov esp, ebp */ 1739 ebp = POP32_VAL(esp); /* 0x2B05A087: pop ebp */ 1740 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A088: ret */ 1741 RECOMP_REGS_OUT(); 1742 } 1743 1744 void sub_2B05A090(void) { 1745 int _fpu_cmp = 0; 1746 uint32_t _cf = 0; 1747 int _df = 1; 1748 uint32_t _flag_k = FK_NONE; 1749 uint32_t _flag_a = 0, _flag_b = 0; 1750 uint32_t _itail_tgt = 0; 1751 RECOMP_REGS_LOCALS 1752 RECOMP_ENTER(0x2B05A090u); 1753 1754 L_2B05A090: 1755 eax = MEM32(0x2B0EEBB4); /* 0x2B05A090: mov eax, dword ptr [0x2b0eebb4] */ 1756 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A095: ret */ 1757 RECOMP_REGS_OUT(); 1758 } 1759 1760 void sub_2B05A0A0(void) { 1761 int _fpu_cmp = 0; 1762 uint32_t _cf = 0; 1763 int _df = 1; 1764 uint32_t _flag_k = FK_NONE; 1765 uint32_t _flag_a = 0, _flag_b = 0; 1766 uint32_t _itail_tgt = 0; 1767 RECOMP_REGS_LOCALS 1768 RECOMP_ENTER(0x2B05A0A0u); 1769 1770 L_2B05A0A0: 1771 PUSH32(esp, ebp); /* 0x2B05A0A0: push ebp */ 1772 ebp = esp; /* 0x2B05A0A1: mov ebp, esp */ 1773 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05A0A3: push -1 */ 1774 PUSH32(esp, 0x2B0B00BBu); /* 0x2B05A0A5: push 0x2b0b00bb */ 1775 eax = MEM32(FS_BASE + (0)); /* 0x2B05A0AA: mov eax, dword ptr fs:[0] */ 1776 PUSH32(esp, eax); /* 0x2B05A0B0: push eax */ 1777 MEM32(FS_BASE + (0)) = esp; /* 0x2B05A0B1: mov dword ptr fs:[0], esp */ 1778 PUSH32(esp, ecx); /* 0x2B05A0B8: push ecx */ 1779 eax = MEM32(0x2B0EEBB8); /* 0x2B05A0B9: mov eax, dword ptr [0x2b0eebb8] */ 1780 /* test eax, eax */ /* 0x2B05A0BE: test eax, eax */ 1781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1782 _cf = 0; 1783 _flag_k = FK_TEST; 1784 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05A0FB; /* 0x2B05A0C0: jne 0x2b05a0fb */ 1785 L_2B05A0C2: 1786 PUSH32(esp, 0x34u); /* 0x2B05A0C2: push 0x34 */ 1787 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A0C4: call 0x2b0ab212 */ /* not lifted */ 1788 RECOMP_FLAGS_IN(); 1789 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1791 esp = esp + 4; /* 0x2B05A0C9: add esp, 4 */ 1792 _flag_k = FK_ADD; 1793 MEM32(ebp + (-0x10)) = eax; /* 0x2B05A0CC: mov dword ptr [ebp - 0x10], eax */ 1794 /* test eax, eax */ /* 0x2B05A0CF: test eax, eax */ 1795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1796 _cf = 0; 1797 _flag_k = FK_TEST; 1798 MEM32(ebp + (-0x4)) = 0; /* 0x2B05A0D1: mov dword ptr [ebp - 4], 0 */ 1799 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A0F4; /* 0x2B05A0D8: je 0x2b05a0f4 */ 1800 L_2B05A0DA: 1801 ecx = eax; /* 0x2B05A0DA: mov ecx, eax */ 1802 RECOMP_ICALL(0x2B059BF0u); /* 0x2B05A0DC: call 0x2b059bf0 */ /* not lifted */ 1803 RECOMP_FLAGS_IN(); 1804 MEM32(0x2B0EEBB8) = eax; /* 0x2B05A0E1: mov dword ptr [0x2b0eebb8], eax */ 1805 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A0E6: mov ecx, dword ptr [ebp - 0xc] */ 1806 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A0E9: mov dword ptr fs:[0], ecx */ 1807 esp = ebp; /* 0x2B05A0F0: mov esp, ebp */ 1808 ebp = POP32_VAL(esp); /* 0x2B05A0F2: pop ebp */ 1809 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A0F3: ret */ 1810 L_2B05A0F4: 1811 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1812 eax = 0; /* 0x2B05A0F4: xor eax, eax */ 1813 _cf = 0; 1814 _flag_k = FK_TEST; 1815 MEM32(0x2B0EEBB8) = eax; /* 0x2B05A0F6: mov dword ptr [0x2b0eebb8], eax */ 1816 L_2B05A0FB: 1817 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A0FB: mov ecx, dword ptr [ebp - 0xc] */ 1818 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A0FE: mov dword ptr fs:[0], ecx */ 1819 esp = ebp; /* 0x2B05A105: mov esp, ebp */ 1820 ebp = POP32_VAL(esp); /* 0x2B05A107: pop ebp */ 1821 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A108: ret */ 1822 RECOMP_REGS_OUT(); 1823 } 1824 1825 void sub_2B05A110(void) { 1826 int _fpu_cmp = 0; 1827 uint32_t _cf = 0; 1828 int _df = 1; 1829 uint32_t _flag_k = FK_NONE; 1830 uint32_t _flag_a = 0, _flag_b = 0; 1831 uint32_t _itail_tgt = 0; 1832 RECOMP_REGS_LOCALS 1833 RECOMP_ENTER(0x2B05A110u); 1834 1835 L_2B05A110: 1836 ecx = MEM32(0x2B0EEBB8); /* 0x2B05A110: mov ecx, dword ptr [0x2b0eebb8] */ 1837 /* test ecx, ecx */ /* 0x2B05A116: test ecx, ecx */ 1838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1839 _cf = 0; 1840 _flag_k = FK_TEST; 1841 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A120; /* 0x2B05A118: je 0x2b05a120 */ 1842 L_2B05A11A: 1843 eax = MEM32(ecx); /* 0x2B05A11A: mov eax, dword ptr [ecx] */ 1844 PUSH32(esp, 1); /* 0x2B05A11C: push 1 */ 1845 RECOMP_ICALL(MEM32(eax)); /* 0x2B05A11E: call dword ptr [eax] */ 1846 RECOMP_FLAGS_IN(); 1847 L_2B05A120: 1848 PUSH32(esp, esi); /* 0x2B05A120: push esi */ 1849 esi = MEM32(0x2B0EEBBC); /* 0x2B05A121: mov esi, dword ptr [0x2b0eebbc] */ 1850 /* test esi, esi */ /* 0x2B05A127: test esi, esi */ 1851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1852 _cf = 0; 1853 _flag_k = FK_TEST; 1854 MEM32(0x2B0EEBB8) = 0; /* 0x2B05A129: mov dword ptr [0x2b0eebb8], 0 */ 1855 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A145; /* 0x2B05A133: je 0x2b05a145 */ 1856 L_2B05A135: 1857 ecx = esi; /* 0x2B05A135: mov ecx, esi */ 1858 RECOMP_ICALL(0x2B083710u); /* 0x2B05A137: call 0x2b083710 */ /* not lifted */ 1859 RECOMP_FLAGS_IN(); 1860 PUSH32(esp, esi); /* 0x2B05A13C: push esi */ 1861 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A13D: call 0x2b0ab1ba */ /* not lifted */ 1862 RECOMP_FLAGS_IN(); 1863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1865 esp = esp + 4; /* 0x2B05A142: add esp, 4 */ 1866 _flag_k = FK_ADD; 1867 L_2B05A145: 1868 MEM32(0x2B0EEBBC) = 0; /* 0x2B05A145: mov dword ptr [0x2b0eebbc], 0 */ 1869 esi = POP32_VAL(esp); /* 0x2B05A14F: pop esi */ 1870 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A150: ret */ 1871 RECOMP_REGS_OUT(); 1872 } 1873 1874 void sub_2B05A160(void) { 1875 int _fpu_cmp = 0; 1876 uint32_t _cf = 0; 1877 int _df = 1; 1878 uint32_t _flag_k = FK_NONE; 1879 uint32_t _flag_a = 0, _flag_b = 0; 1880 uint32_t _itail_tgt = 0; 1881 RECOMP_REGS_LOCALS 1882 RECOMP_ENTER(0x2B05A160u); 1883 1884 L_2B05A160: 1885 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B05A160: call dword ptr [0x2b0b5d6c] */ 1886 RECOMP_FLAGS_IN(); 1887 ecx = eax; /* 0x2B05A166: mov ecx, eax */ 1888 RECOMP_ICALL(MEM32(0x2B0B5E14)); /* 0x2B05A168: call dword ptr [0x2b0b5e14] */ 1889 RECOMP_FLAGS_IN(); 1890 /* test LO8(eax), LO8(eax) */ /* 0x2B05A16E: test al, al */ 1891 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1892 _cf = 0; 1893 _flag_k = FK_NARROW(FK_TEST, 24); 1894 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A17C; /* 0x2B05A170: je 0x2b05a17c */ 1895 L_2B05A172: 1896 MEM32(0x2B0EECB4) = 1; /* 0x2B05A172: mov dword ptr [0x2b0eecb4], 1 */ 1897 L_2B05A17C: 1898 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A17C: ret */ 1899 RECOMP_REGS_OUT(); 1900 } 1901 1902 void sub_2B05A180(void) { 1903 int _fpu_cmp = 0; 1904 uint32_t _cf = 0; 1905 int _df = 1; 1906 uint32_t _flag_k = FK_NONE; 1907 uint32_t _flag_a = 0, _flag_b = 0; 1908 uint32_t _itail_tgt = 0; 1909 RECOMP_REGS_LOCALS 1910 RECOMP_ENTER(0x2B05A180u); 1911 1912 L_2B05A180: 1913 PUSH32(esp, ebp); /* 0x2B05A180: push ebp */ 1914 ebp = esp; /* 0x2B05A181: mov ebp, esp */ 1915 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x88u); 1916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1917 esp = esp - 0x88u; /* 0x2B05A183: sub esp, 0x88 */ 1918 _flag_k = FK_CMP; 1919 SET_LO8(eax, MEM8(0x2B0EEBC0)); /* 0x2B05A189: mov al, byte ptr [0x2b0eebc0] */ 1920 /* test LO8(eax), LO8(eax) */ /* 0x2B05A18E: test al, al */ 1921 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1922 _cf = 0; 1923 _flag_k = FK_NARROW(FK_TEST, 24); 1924 PUSH32(esp, ebx); /* 0x2B05A190: push ebx */ 1925 ebx = MEM32(0x2B0B53BC); /* 0x2B05A191: mov ebx, dword ptr [0x2b0b53bc] */ 1926 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A1C5; /* 0x2B05A197: je 0x2b05a1c5 */ 1927 L_2B05A199: 1928 RECOMP_ICALL(ebx); /* 0x2B05A199: call ebx */ 1929 RECOMP_FLAGS_IN(); 1930 ecx = MEM32(0x2B0EEBC4); /* 0x2B05A19B: mov ecx, dword ptr [0x2b0eebc4] */ 1931 eax = MEM32(eax + 0x24); /* 0x2B05A1A1: mov eax, dword ptr [eax + 0x24] */ 1932 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xBB8u); 1933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1934 ecx = ecx + 0xBB8u; /* 0x2B05A1A4: add ecx, 0xbb8 */ 1935 _flag_k = FK_ADD; 1936 /* cmp ecx, eax */ /* 0x2B05A1AA: cmp ecx, eax */ 1937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1939 _flag_k = FK_CMP; 1940 if (CMP_BE(_flag_a, _flag_b)) goto L_2B05A1C5; /* 0x2B05A1AC: jbe 0x2b05a1c5 */ 1941 L_2B05A1AE: 1942 PUSH32(esp, 0x75u); /* 0x2B05A1AE: push 0x75 */ 1943 PUSH32(esp, 0x17u); /* 0x2B05A1B0: push 0x17 */ 1944 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B05A1B2: call dword ptr [0x2b0b53cc] */ 1945 RECOMP_FLAGS_IN(); 1946 ecx = eax; /* 0x2B05A1B8: mov ecx, eax */ 1947 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B05A1BA: call dword ptr [0x2b0b53c8] */ 1948 RECOMP_FLAGS_IN(); 1949 ebx = POP32_VAL(esp); /* 0x2B05A1C0: pop ebx */ 1950 esp = ebp; /* 0x2B05A1C1: mov esp, ebp */ 1951 ebp = POP32_VAL(esp); /* 0x2B05A1C3: pop ebp */ 1952 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A1C4: ret */ 1953 L_2B05A1C5: 1954 PUSH32(esp, esi); /* 0x2B05A1C5: push esi */ 1955 PUSH32(esp, edi); /* 0x2B05A1C6: push edi */ 1956 ecx = 0x21u; /* 0x2B05A1C7: mov ecx, 0x21 */ 1957 esi = 0x2B0E89A4u; /* 0x2B05A1CC: mov esi, 0x2b0e89a4 */ 1958 edi = ebp + (-0x88); /* 0x2B05A1D1: lea edi, [ebp - 0x88] */ 1959 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05A1D7: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 1960 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B05A1D9: movsw word ptr es:[edi], word ptr [esi] */ 1961 esi = MEM32(0x2B0B53CC); /* 0x2B05A1DB: mov esi, dword ptr [0x2b0b53cc] */ 1962 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1963 ecx = ecx | 0xFFFFFFFFu; /* 0x2B05A1E1: or ecx, 0xffffffff */ 1964 _cf = 0; 1965 _flag_k = FK_TEST; 1966 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1967 eax = 0; /* 0x2B05A1E4: xor eax, eax */ 1968 _cf = 0; 1969 _flag_k = FK_TEST; 1970 edi = ebp + (-0x88); /* 0x2B05A1E6: lea edi, [ebp - 0x88] */ 1971 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B05A1EC: repne scasb al, byte ptr es:[edi] */ 1972 ecx = ~ecx; /* 0x2B05A1EE: not ecx */ 1973 PUSH32(esp, ecx); /* 0x2B05A1F0: push ecx */ 1974 edx = ebp + (-0x88); /* 0x2B05A1F1: lea edx, [ebp - 0x88] */ 1975 PUSH32(esp, edx); /* 0x2B05A1F7: push edx */ 1976 PUSH32(esp, 0x99u); /* 0x2B05A1F8: push 0x99 */ 1977 PUSH32(esp, 3); /* 0x2B05A1FD: push 3 */ 1978 RECOMP_ICALL(esi); /* 0x2B05A1FF: call esi */ 1979 RECOMP_FLAGS_IN(); 1980 ecx = eax; /* 0x2B05A201: mov ecx, eax */ 1981 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B05A203: call dword ptr [0x2b0b53c4] */ 1982 RECOMP_FLAGS_IN(); 1983 PUSH32(esp, 0xCu); /* 0x2B05A209: push 0xc */ 1984 RECOMP_ICALL(esi); /* 0x2B05A20B: call esi */ 1985 RECOMP_FLAGS_IN(); 1986 ecx = eax; /* 0x2B05A20D: mov ecx, eax */ 1987 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B05A20F: call dword ptr [0x2b0b53b0] */ 1988 RECOMP_FLAGS_IN(); 1989 RECOMP_ICALL(ebx); /* 0x2B05A215: call ebx */ 1990 RECOMP_FLAGS_IN(); 1991 eax = MEM32(eax + 0x24); /* 0x2B05A217: mov eax, dword ptr [eax + 0x24] */ 1992 ebx = 1; /* 0x2B05A21A: mov ebx, 1 */ 1993 MEM32(0x2B0EEBC4) = eax; /* 0x2B05A21F: mov dword ptr [0x2b0eebc4], eax */ 1994 MEM8(0x2B0EEBC0) = (uint8_t)(LO8(ebx)); /* 0x2B05A224: mov byte ptr [0x2b0eebc0], bl */ 1995 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B05A22A: call dword ptr [0x2b0b5d6c] */ 1996 RECOMP_FLAGS_IN(); 1997 ecx = eax; /* 0x2B05A230: mov ecx, eax */ 1998 RECOMP_ICALL(MEM32(0x2B0B5E14)); /* 0x2B05A232: call dword ptr [0x2b0b5e14] */ 1999 RECOMP_FLAGS_IN(); 2000 /* test LO8(eax), LO8(eax) */ /* 0x2B05A238: test al, al */ 2001 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2002 _cf = 0; 2003 _flag_k = FK_NARROW(FK_TEST, 24); 2004 edi = POP32_VAL(esp); /* 0x2B05A23A: pop edi */ 2005 esi = POP32_VAL(esp); /* 0x2B05A23B: pop esi */ 2006 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A244; /* 0x2B05A23C: je 0x2b05a244 */ 2007 L_2B05A23E: 2008 MEM32(0x2B0EECB4) = ebx; /* 0x2B05A23E: mov dword ptr [0x2b0eecb4], ebx */ 2009 L_2B05A244: 2010 ebx = POP32_VAL(esp); /* 0x2B05A244: pop ebx */ 2011 esp = ebp; /* 0x2B05A245: mov esp, ebp */ 2012 ebp = POP32_VAL(esp); /* 0x2B05A247: pop ebp */ 2013 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A248: ret */ 2014 RECOMP_REGS_OUT(); 2015 } 2016 2017 void sub_2B05A250(void) { 2018 int _fpu_cmp = 0; 2019 uint32_t _cf = 0; 2020 int _df = 1; 2021 uint32_t _flag_k = FK_NONE; 2022 uint32_t _flag_a = 0, _flag_b = 0; 2023 uint32_t _itail_tgt = 0; 2024 RECOMP_REGS_LOCALS 2025 RECOMP_ENTER(0x2B05A250u); 2026 2027 L_2B05A250: 2028 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B05A250: call dword ptr [0x2b0b5d6c] */ 2029 RECOMP_FLAGS_IN(); 2030 ecx = eax; /* 0x2B05A256: mov ecx, eax */ 2031 RECOMP_ICALL(MEM32(0x2B0B5E14)); /* 0x2B05A258: call dword ptr [0x2b0b5e14] */ 2032 RECOMP_FLAGS_IN(); 2033 /* test LO8(eax), LO8(eax) */ /* 0x2B05A25E: test al, al */ 2034 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2035 _cf = 0; 2036 _flag_k = FK_NARROW(FK_TEST, 24); 2037 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A26C; /* 0x2B05A260: je 0x2b05a26c */ 2038 L_2B05A262: 2039 MEM32(0x2B0EECB4) = 2; /* 0x2B05A262: mov dword ptr [0x2b0eecb4], 2 */ 2040 L_2B05A26C: 2041 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A26C: ret */ 2042 RECOMP_REGS_OUT(); 2043 } 2044 2045 void sub_2B05A270(void) { 2046 int _fpu_cmp = 0; 2047 uint32_t _cf = 0; 2048 int _df = 1; 2049 uint32_t _flag_k = FK_NONE; 2050 uint32_t _flag_a = 0, _flag_b = 0; 2051 uint32_t _itail_tgt = 0; 2052 RECOMP_REGS_LOCALS 2053 RECOMP_ENTER(0x2B05A270u); 2054 2055 L_2B05A270: 2056 PUSH32(esp, ebp); /* 0x2B05A270: push ebp */ 2057 ebp = esp; /* 0x2B05A271: mov ebp, esp */ 2058 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 2059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2060 esp = esp - 0x18u; /* 0x2B05A273: sub esp, 0x18 */ 2061 _flag_k = FK_CMP; 2062 PUSH32(esp, esi); /* 0x2B05A276: push esi */ 2063 esi = MEM32(0x2B0EEBBC); /* 0x2B05A277: mov esi, dword ptr [0x2b0eebbc] */ 2064 /* test esi, esi */ /* 0x2B05A27D: test esi, esi */ 2065 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2066 _cf = 0; 2067 _flag_k = FK_TEST; 2068 PUSH32(esp, edi); /* 0x2B05A27F: push edi */ 2069 MEM8(0x2B0EEBC0) = (uint8_t)(0); /* 0x2B05A280: mov byte ptr [0x2b0eebc0], 0 */ 2070 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A299; /* 0x2B05A287: je 0x2b05a299 */ 2071 L_2B05A289: 2072 ecx = esi; /* 0x2B05A289: mov ecx, esi */ 2073 RECOMP_ICALL(0x2B083710u); /* 0x2B05A28B: call 0x2b083710 */ /* not lifted */ 2074 RECOMP_FLAGS_IN(); 2075 PUSH32(esp, esi); /* 0x2B05A290: push esi */ 2076 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A291: call 0x2b0ab1ba */ /* not lifted */ 2077 RECOMP_FLAGS_IN(); 2078 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2079 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2080 esp = esp + 4; /* 0x2B05A296: add esp, 4 */ 2081 _flag_k = FK_ADD; 2082 L_2B05A299: 2083 ecx = 5; /* 0x2B05A299: mov ecx, 5 */ 2084 esi = 0x2B0E8A2Cu; /* 0x2B05A29E: mov esi, 0x2b0e8a2c */ 2085 edi = ebp + (-0x18); /* 0x2B05A2A3: lea edi, [ebp - 0x18] */ 2086 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05A2A6: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 2087 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B05A2A8: movsw word ptr es:[edi], word ptr [esi] */ 2088 esi = MEM32(0x2B0B53CC); /* 0x2B05A2AA: mov esi, dword ptr [0x2b0b53cc] */ 2089 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2090 ecx = ecx | 0xFFFFFFFFu; /* 0x2B05A2B0: or ecx, 0xffffffff */ 2091 _cf = 0; 2092 _flag_k = FK_TEST; 2093 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2094 eax = 0; /* 0x2B05A2B3: xor eax, eax */ 2095 _cf = 0; 2096 _flag_k = FK_TEST; 2097 edi = ebp + (-0x18); /* 0x2B05A2B5: lea edi, [ebp - 0x18] */ 2098 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B05A2B8: repne scasb al, byte ptr es:[edi] */ 2099 ecx = ~ecx; /* 0x2B05A2BA: not ecx */ 2100 PUSH32(esp, ecx); /* 0x2B05A2BC: push ecx */ 2101 eax = ebp + (-0x18); /* 0x2B05A2BD: lea eax, [ebp - 0x18] */ 2102 PUSH32(esp, eax); /* 0x2B05A2C0: push eax */ 2103 PUSH32(esp, 0x99u); /* 0x2B05A2C1: push 0x99 */ 2104 PUSH32(esp, 3); /* 0x2B05A2C6: push 3 */ 2105 MEM32(0x2B0EEBBC) = 0; /* 0x2B05A2C8: mov dword ptr [0x2b0eebbc], 0 */ 2106 RECOMP_ICALL(esi); /* 0x2B05A2D2: call esi */ 2107 RECOMP_FLAGS_IN(); 2108 ecx = eax; /* 0x2B05A2D4: mov ecx, eax */ 2109 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B05A2D6: call dword ptr [0x2b0b53c4] */ 2110 RECOMP_FLAGS_IN(); 2111 PUSH32(esp, 0xCu); /* 0x2B05A2DC: push 0xc */ 2112 RECOMP_ICALL(esi); /* 0x2B05A2DE: call esi */ 2113 RECOMP_FLAGS_IN(); 2114 ecx = eax; /* 0x2B05A2E0: mov ecx, eax */ 2115 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B05A2E2: call dword ptr [0x2b0b53b0] */ 2116 RECOMP_FLAGS_IN(); 2117 edi = POP32_VAL(esp); /* 0x2B05A2E8: pop edi */ 2118 MEM32(0x2B0EECB4) = 0; /* 0x2B05A2E9: mov dword ptr [0x2b0eecb4], 0 */ 2119 esi = POP32_VAL(esp); /* 0x2B05A2F3: pop esi */ 2120 esp = ebp; /* 0x2B05A2F4: mov esp, ebp */ 2121 ebp = POP32_VAL(esp); /* 0x2B05A2F6: pop ebp */ 2122 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A2F7: ret */ 2123 RECOMP_REGS_OUT(); 2124 } 2125 2126 void sub_2B05A300(void) { 2127 int _fpu_cmp = 0; 2128 uint32_t _cf = 0; 2129 int _df = 1; 2130 uint32_t _flag_k = FK_NONE; 2131 uint32_t _flag_a = 0, _flag_b = 0; 2132 uint32_t _itail_tgt = 0; 2133 RECOMP_REGS_LOCALS 2134 RECOMP_ENTER(0x2B05A300u); 2135 2136 L_2B05A300: 2137 PUSH32(esp, ebp); /* 0x2B05A300: push ebp */ 2138 ebp = esp; /* 0x2B05A301: mov ebp, esp */ 2139 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05A303: push -1 */ 2140 PUSH32(esp, 0x2B0B00DBu); /* 0x2B05A305: push 0x2b0b00db */ 2141 eax = MEM32(FS_BASE + (0)); /* 0x2B05A30A: mov eax, dword ptr fs:[0] */ 2142 PUSH32(esp, eax); /* 0x2B05A310: push eax */ 2143 MEM32(FS_BASE + (0)) = esp; /* 0x2B05A311: mov dword ptr fs:[0], esp */ 2144 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xE4u); 2145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2146 esp = esp - 0xE4u; /* 0x2B05A318: sub esp, 0xe4 */ 2147 _flag_k = FK_CMP; 2148 eax = MEM32(0x2B0EEBBC); /* 0x2B05A31E: mov eax, dword ptr [0x2b0eebbc] */ 2149 PUSH32(esp, esi); /* 0x2B05A323: push esi */ 2150 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2151 esi = 0; /* 0x2B05A324: xor esi, esi */ 2152 _cf = 0; 2153 _flag_k = FK_TEST; 2154 /* cmp eax, esi */ /* 0x2B05A326: cmp eax, esi */ 2155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2157 _flag_k = FK_CMP; 2158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05A432; /* 0x2B05A328: jne 0x2b05a432 */ 2159 L_2B05A32E: 2160 PUSH32(esp, 0x28u); /* 0x2B05A32E: push 0x28 */ 2161 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A330: call 0x2b0ab212 */ /* not lifted */ 2162 RECOMP_FLAGS_IN(); 2163 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2165 esp = esp + 4; /* 0x2B05A335: add esp, 4 */ 2166 _flag_k = FK_ADD; 2167 MEM32(ebp + (-0x28)) = eax; /* 0x2B05A338: mov dword ptr [ebp - 0x28], eax */ 2168 /* cmp eax, esi */ /* 0x2B05A33B: cmp eax, esi */ 2169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2171 _flag_k = FK_CMP; 2172 MEM32(ebp + (-0x4)) = esi; /* 0x2B05A33D: mov dword ptr [ebp - 4], esi */ 2173 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A365; /* 0x2B05A340: je 0x2b05a365 */ 2174 L_2B05A342: 2175 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05A342: push 0xffffff */ 2176 PUSH32(esp, esi); /* 0x2B05A347: push esi */ 2177 PUSH32(esp, 0x2B0E8A78u); /* 0x2B05A348: push 0x2b0e8a78 */ 2178 ecx = ebp + (-0x1C); /* 0x2B05A34D: lea ecx, [ebp - 0x1c] */ 2179 PUSH32(esp, ecx); /* 0x2B05A350: push ecx */ 2180 PUSH32(esp, 0x9C40u); /* 0x2B05A351: push 0x9c40 */ 2181 ecx = eax; /* 0x2B05A356: mov ecx, eax */ 2182 MEM32(ebp + (-0x1C)) = esi; /* 0x2B05A358: mov dword ptr [ebp - 0x1c], esi */ 2183 MEM32(ebp + (-0x18)) = esi; /* 0x2B05A35B: mov dword ptr [ebp - 0x18], esi */ 2184 RECOMP_ICALL(0x2B0834D0u); /* 0x2B05A35E: call 0x2b0834d0 */ /* not lifted */ 2185 RECOMP_FLAGS_IN(); 2186 goto L_2B05A367; /* 0x2B05A363: jmp 0x2b05a367 */ 2187 L_2B05A365: 2188 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2189 eax = 0; /* 0x2B05A365: xor eax, eax */ 2190 _cf = 0; 2191 _flag_k = FK_TEST; 2192 L_2B05A367: 2193 MEM32(0x2B0EEBBC) = eax; /* 0x2B05A367: mov dword ptr [0x2b0eebbc], eax */ 2194 ecx = 0x41F00000u; /* 0x2B05A36C: mov ecx, 0x41f00000 */ 2195 MEM32(eax + 0xC) = ecx; /* 0x2B05A371: mov dword ptr [eax + 0xc], ecx */ 2196 MEM32(eax + 0x10) = ecx; /* 0x2B05A374: mov dword ptr [eax + 0x10], ecx */ 2197 ecx = 1; /* 0x2B05A377: mov ecx, 1 */ 2198 MEM32(eax + 0x18) = ecx; /* 0x2B05A37C: mov dword ptr [eax + 0x18], ecx */ 2199 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x2B05A37F: mov byte ptr [eax + 0x14], cl */ 2200 ecx = MEM32(0x2B0EEBBC); /* 0x2B05A382: mov ecx, dword ptr [0x2b0eebbc] */ 2201 PUSH32(esp, edi); /* 0x2B05A388: push edi */ 2202 edx = ebp + (-0x14); /* 0x2B05A389: lea edx, [ebp - 0x14] */ 2203 PUSH32(esp, edx); /* 0x2B05A38C: push edx */ 2204 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05A38D: mov dword ptr [ebp - 4], 0xffffffff */ 2205 MEM32(ebp + (-0x14)) = esi; /* 0x2B05A394: mov dword ptr [ebp - 0x14], esi */ 2206 MEM32(ebp + (-0x10)) = esi; /* 0x2B05A397: mov dword ptr [ebp - 0x10], esi */ 2207 RECOMP_ICALL(0x2B083840u); /* 0x2B05A39A: call 0x2b083840 */ /* not lifted */ 2208 RECOMP_FLAGS_IN(); 2209 esi = MEM32(0x2B0B5690); /* 0x2B05A39F: mov esi, dword ptr [0x2b0b5690] */ 2210 RECOMP_ICALL(esi); /* 0x2B05A3A5: call esi */ 2211 RECOMP_FLAGS_IN(); 2212 ecx = eax; /* 0x2B05A3A7: mov ecx, eax */ 2213 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B05A3A9: call dword ptr [0x2b0b5688] */ 2214 RECOMP_FLAGS_IN(); 2215 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2217 eax = eax - MEM32(ebp + (-0x14)); /* 0x2B05A3AF: sub eax, dword ptr [ebp - 0x14] */ 2218 _flag_k = FK_CMP; 2219 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B05A3B2: cdq */ 2220 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2222 eax = eax - edx; /* 0x2B05A3B3: sub eax, edx */ 2223 _flag_k = FK_CMP; 2224 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B05A3B5: sar eax, 1 */ 2225 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2226 eax = (uint32_t)((int32_t)eax >> 1u); 2227 MEM32(ebp + (-0x24)) = eax; /* 0x2B05A3B7: mov dword ptr [ebp - 0x24], eax */ 2228 RECOMP_ICALL(esi); /* 0x2B05A3BA: call esi */ 2229 RECOMP_FLAGS_IN(); 2230 ecx = eax; /* 0x2B05A3BC: mov ecx, eax */ 2231 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B05A3BE: call dword ptr [0x2b0b568c] */ 2232 RECOMP_FLAGS_IN(); 2233 edx = MEM32(ebp + (-0x10)); /* 0x2B05A3C4: mov edx, dword ptr [ebp - 0x10] */ 2234 ecx = MEM32(0x2B0EEBBC); /* 0x2B05A3C7: mov ecx, dword ptr [0x2b0eebbc] */ 2235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2237 eax = eax - edx; /* 0x2B05A3CD: sub eax, edx */ 2238 _flag_k = FK_CMP; 2239 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B05A3CF: cdq */ 2240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2242 eax = eax - edx; /* 0x2B05A3D0: sub eax, edx */ 2243 _flag_k = FK_CMP; 2244 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B05A3D2: sar eax, 1 */ 2245 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2246 eax = (uint32_t)((int32_t)eax >> 1u); 2247 MEM32(ebp + (-0x20)) = eax; /* 0x2B05A3D4: mov dword ptr [ebp - 0x20], eax */ 2248 eax = ebp + (-0x24); /* 0x2B05A3D7: lea eax, [ebp - 0x24] */ 2249 PUSH32(esp, eax); /* 0x2B05A3DA: push eax */ 2250 RECOMP_ICALL(0x2B069130u); /* 0x2B05A3DB: call 0x2b069130 */ /* not lifted */ 2251 RECOMP_FLAGS_IN(); 2252 PUSH32(esp, 0x1Eu); /* 0x2B05A3E0: push 0x1e */ 2253 ecx = ebp + (-0xF0); /* 0x2B05A3E2: lea ecx, [ebp - 0xf0] */ 2254 PUSH32(esp, 0x2B0E8A44u); /* 0x2B05A3E8: push 0x2b0e8a44 */ 2255 PUSH32(esp, ecx); /* 0x2B05A3ED: push ecx */ 2256 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B05A3EE: call dword ptr [0x2b0b51f0] */ 2257 RECOMP_FLAGS_IN(); 2258 esi = MEM32(0x2B0B53CC); /* 0x2B05A3F4: mov esi, dword ptr [0x2b0b53cc] */ 2259 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2260 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2261 esp = esp + 0xCu; /* 0x2B05A3FA: add esp, 0xc */ 2262 _flag_k = FK_ADD; 2263 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2264 ecx = ecx | 0xFFFFFFFFu; /* 0x2B05A3FD: or ecx, 0xffffffff */ 2265 _cf = 0; 2266 _flag_k = FK_TEST; 2267 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2268 eax = 0; /* 0x2B05A400: xor eax, eax */ 2269 _cf = 0; 2270 _flag_k = FK_TEST; 2271 edi = ebp + (-0xF0); /* 0x2B05A402: lea edi, [ebp - 0xf0] */ 2272 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B05A408: repne scasb al, byte ptr es:[edi] */ 2273 ecx = ~ecx; /* 0x2B05A40A: not ecx */ 2274 PUSH32(esp, ecx); /* 0x2B05A40C: push ecx */ 2275 edx = ebp + (-0xF0); /* 0x2B05A40D: lea edx, [ebp - 0xf0] */ 2276 PUSH32(esp, edx); /* 0x2B05A413: push edx */ 2277 PUSH32(esp, 0x99u); /* 0x2B05A414: push 0x99 */ 2278 PUSH32(esp, 3); /* 0x2B05A419: push 3 */ 2279 RECOMP_ICALL(esi); /* 0x2B05A41B: call esi */ 2280 RECOMP_FLAGS_IN(); 2281 ecx = eax; /* 0x2B05A41D: mov ecx, eax */ 2282 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B05A41F: call dword ptr [0x2b0b53c4] */ 2283 RECOMP_FLAGS_IN(); 2284 PUSH32(esp, 0xCu); /* 0x2B05A425: push 0xc */ 2285 RECOMP_ICALL(esi); /* 0x2B05A427: call esi */ 2286 RECOMP_FLAGS_IN(); 2287 ecx = eax; /* 0x2B05A429: mov ecx, eax */ 2288 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B05A42B: call dword ptr [0x2b0b53b0] */ 2289 RECOMP_FLAGS_IN(); 2290 edi = POP32_VAL(esp); /* 0x2B05A431: pop edi */ 2291 L_2B05A432: 2292 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A432: mov ecx, dword ptr [ebp - 0xc] */ 2293 esi = POP32_VAL(esp); /* 0x2B05A435: pop esi */ 2294 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A436: mov dword ptr fs:[0], ecx */ 2295 esp = ebp; /* 0x2B05A43D: mov esp, ebp */ 2296 ebp = POP32_VAL(esp); /* 0x2B05A43F: pop ebp */ 2297 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A440: ret */ 2298 RECOMP_REGS_OUT(); 2299 } 2300 2301 void sub_2B05A450(void) { 2302 int _fpu_cmp = 0; 2303 uint32_t _cf = 0; 2304 int _df = 1; 2305 uint32_t _flag_k = FK_NONE; 2306 uint32_t _flag_a = 0, _flag_b = 0; 2307 uint32_t _itail_tgt = 0; 2308 RECOMP_REGS_LOCALS 2309 RECOMP_ENTER(0x2B05A450u); 2310 2311 L_2B05A450: 2312 PUSH32(esp, ebp); /* 0x2B05A450: push ebp */ 2313 ebp = esp; /* 0x2B05A451: mov ebp, esp */ 2314 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05A453: push -1 */ 2315 PUSH32(esp, 0x2B0B01A8u); /* 0x2B05A455: push 0x2b0b01a8 */ 2316 eax = MEM32(FS_BASE + (0)); /* 0x2B05A45A: mov eax, dword ptr fs:[0] */ 2317 PUSH32(esp, eax); /* 0x2B05A460: push eax */ 2318 MEM32(FS_BASE + (0)) = esp; /* 0x2B05A461: mov dword ptr fs:[0], esp */ 2319 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2321 esp = esp - 0x10u; /* 0x2B05A468: sub esp, 0x10 */ 2322 _flag_k = FK_CMP; 2323 PUSH32(esp, ebx); /* 0x2B05A46B: push ebx */ 2324 PUSH32(esp, esi); /* 0x2B05A46C: push esi */ 2325 esi = ecx; /* 0x2B05A46D: mov esi, ecx */ 2326 PUSH32(esp, edi); /* 0x2B05A46F: push edi */ 2327 MEM32(ebp + (-0x10)) = esi; /* 0x2B05A470: mov dword ptr [ebp - 0x10], esi */ 2328 RECOMP_ICALL(0x2B03A220u); /* 0x2B05A473: call 0x2b03a220 */ /* not lifted */ 2329 RECOMP_FLAGS_IN(); 2330 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2331 ebx = 0; /* 0x2B05A478: xor ebx, ebx */ 2332 _cf = 0; 2333 _flag_k = FK_TEST; 2334 PUSH32(esp, 0x38u); /* 0x2B05A47A: push 0x38 */ 2335 MEM32(ebp + (-0x4)) = ebx; /* 0x2B05A47C: mov dword ptr [ebp - 4], ebx */ 2336 MEM32(esi) = 0x2B0B6C18u; /* 0x2B05A47F: mov dword ptr [esi], 0x2b0b6c18 */ 2337 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B05A485: mov dword ptr [ebp - 0x1c], ebx */ 2338 MEM32(ebp + (-0x18)) = ebx; /* 0x2B05A488: mov dword ptr [ebp - 0x18], ebx */ 2339 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A48B: call 0x2b0ab212 */ /* not lifted */ 2340 RECOMP_FLAGS_IN(); 2341 edi = eax; /* 0x2B05A490: mov edi, eax */ 2342 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2343 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2344 esp = esp + 4; /* 0x2B05A492: add esp, 4 */ 2345 _flag_k = FK_ADD; 2346 MEM32(ebp + (-0x14)) = edi; /* 0x2B05A495: mov dword ptr [ebp - 0x14], edi */ 2347 /* cmp edi, ebx */ /* 0x2B05A498: cmp edi, ebx */ 2348 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2350 _flag_k = FK_CMP; 2351 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05A49A: mov byte ptr [ebp - 4], 1 */ 2352 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A4C6; /* 0x2B05A49E: je 0x2b05a4c6 */ 2353 L_2B05A4A0: 2354 eax = MEM32(0x2B0EE9DC); /* 0x2B05A4A0: mov eax, dword ptr [0x2b0ee9dc] */ 2355 PUSH32(esp, eax); /* 0x2B05A4A5: push eax */ 2356 PUSH32(esp, 0xFA2u); /* 0x2B05A4A6: push 0xfa2 */ 2357 PUSH32(esp, 0x190u); /* 0x2B05A4AB: push 0x190 */ 2358 ecx = ebp + (-0x1C); /* 0x2B05A4B0: lea ecx, [ebp - 0x1c] */ 2359 PUSH32(esp, ecx); /* 0x2B05A4B3: push ecx */ 2360 ecx = edi; /* 0x2B05A4B4: mov ecx, edi */ 2361 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05A4B6: call dword ptr [0x2b0b5948] */ 2362 RECOMP_FLAGS_IN(); 2363 MEM32(edi) = 0x2B0B68F4u; /* 0x2B05A4BC: mov dword ptr [edi], 0x2b0b68f4 */ 2364 eax = edi; /* 0x2B05A4C2: mov eax, edi */ 2365 goto L_2B05A4C8; /* 0x2B05A4C4: jmp 0x2b05a4c8 */ 2366 L_2B05A4C6: 2367 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2368 eax = 0; /* 0x2B05A4C6: xor eax, eax */ 2369 _cf = 0; 2370 _flag_k = FK_TEST; 2371 L_2B05A4C8: 2372 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05A4C8: cmp byte ptr [esi + 0x1c], bl */ 2373 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2375 _flag_k = FK_NARROW(FK_CMP, 24); 2376 MEM32(esi + 0x28) = eax; /* 0x2B05A4CB: mov dword ptr [esi + 0x28], eax */ 2377 eax = MEM32(eax + 0x14); /* 0x2B05A4CE: mov eax, dword ptr [eax + 0x14] */ 2378 eax = MEM32(eax + 0x8); /* 0x2B05A4D1: mov eax, dword ptr [eax + 8] */ 2379 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A4D4: mov byte ptr [ebp - 4], bl */ 2380 MEM32(esi + 0x20) = eax; /* 0x2B05A4D7: mov dword ptr [esi + 0x20], eax */ 2381 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A4E4; /* 0x2B05A4DA: je 0x2b05a4e4 */ 2382 L_2B05A4DC: 2383 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05A4DC: cmp byte ptr [esi + 0xc], bl */ 2384 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2386 _flag_k = FK_NARROW(FK_CMP, 24); 2387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A4E4; /* 0x2B05A4DF: je 0x2b05a4e4 */ 2388 L_2B05A4E1: 2389 MEM32(esi + 0x18) = eax; /* 0x2B05A4E1: mov dword ptr [esi + 0x18], eax */ 2390 L_2B05A4E4: 2391 PUSH32(esp, 0x1Cu); /* 0x2B05A4E4: push 0x1c */ 2392 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A4E6: call 0x2b0ab212 */ /* not lifted */ 2393 RECOMP_FLAGS_IN(); 2394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2396 esp = esp + 4; /* 0x2B05A4EB: add esp, 4 */ 2397 _flag_k = FK_ADD; 2398 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A4EE: mov dword ptr [ebp - 0x14], eax */ 2399 /* cmp eax, ebx */ /* 0x2B05A4F1: cmp eax, ebx */ 2400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2402 _flag_k = FK_CMP; 2403 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05A4F3: mov byte ptr [ebp - 4], 2 */ 2404 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A515; /* 0x2B05A4F7: je 0x2b05a515 */ 2405 L_2B05A4F9: 2406 edx = MEM32(0x2B0EE9DC); /* 0x2B05A4F9: mov edx, dword ptr [0x2b0ee9dc] */ 2407 PUSH32(esp, edx); /* 0x2B05A4FF: push edx */ 2408 PUSH32(esp, 1); /* 0x2B05A500: push 1 */ 2409 PUSH32(esp, 0x2B0E8C74u); /* 0x2B05A502: push 0x2b0e8c74 */ 2410 PUSH32(esp, 0x2B0E8C60u); /* 0x2B05A507: push 0x2b0e8c60 */ 2411 ecx = eax; /* 0x2B05A50C: mov ecx, eax */ 2412 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A50E: call 0x2b05f070 */ /* not lifted */ 2413 RECOMP_FLAGS_IN(); 2414 goto L_2B05A517; /* 0x2B05A513: jmp 0x2b05a517 */ 2415 L_2B05A515: 2416 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2417 eax = 0; /* 0x2B05A515: xor eax, eax */ 2418 _cf = 0; 2419 _flag_k = FK_TEST; 2420 L_2B05A517: 2421 PUSH32(esp, 0x1Cu); /* 0x2B05A517: push 0x1c */ 2422 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A519: mov byte ptr [ebp - 4], bl */ 2423 MEM32(esi + 0x2C) = eax; /* 0x2B05A51C: mov dword ptr [esi + 0x2c], eax */ 2424 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A51F: call 0x2b0ab212 */ /* not lifted */ 2425 RECOMP_FLAGS_IN(); 2426 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2428 esp = esp + 4; /* 0x2B05A524: add esp, 4 */ 2429 _flag_k = FK_ADD; 2430 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A527: mov dword ptr [ebp - 0x14], eax */ 2431 /* cmp eax, ebx */ /* 0x2B05A52A: cmp eax, ebx */ 2432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2434 _flag_k = FK_CMP; 2435 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05A52C: mov byte ptr [ebp - 4], 3 */ 2436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A54E; /* 0x2B05A530: je 0x2b05a54e */ 2437 L_2B05A532: 2438 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A532: mov ecx, dword ptr [0x2b0ee9dc] */ 2439 PUSH32(esp, ecx); /* 0x2B05A538: push ecx */ 2440 PUSH32(esp, 1); /* 0x2B05A539: push 1 */ 2441 PUSH32(esp, 0x2B0E8C54u); /* 0x2B05A53B: push 0x2b0e8c54 */ 2442 PUSH32(esp, 0x2B0E8C44u); /* 0x2B05A540: push 0x2b0e8c44 */ 2443 ecx = eax; /* 0x2B05A545: mov ecx, eax */ 2444 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A547: call 0x2b05f070 */ /* not lifted */ 2445 RECOMP_FLAGS_IN(); 2446 goto L_2B05A550; /* 0x2B05A54C: jmp 0x2b05a550 */ 2447 L_2B05A54E: 2448 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2449 eax = 0; /* 0x2B05A54E: xor eax, eax */ 2450 _cf = 0; 2451 _flag_k = FK_TEST; 2452 L_2B05A550: 2453 PUSH32(esp, 0x1Cu); /* 0x2B05A550: push 0x1c */ 2454 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A552: mov byte ptr [ebp - 4], bl */ 2455 MEM32(esi + 0x30) = eax; /* 0x2B05A555: mov dword ptr [esi + 0x30], eax */ 2456 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A558: call 0x2b0ab212 */ /* not lifted */ 2457 RECOMP_FLAGS_IN(); 2458 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2459 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2460 esp = esp + 4; /* 0x2B05A55D: add esp, 4 */ 2461 _flag_k = FK_ADD; 2462 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A560: mov dword ptr [ebp - 0x14], eax */ 2463 /* cmp eax, ebx */ /* 0x2B05A563: cmp eax, ebx */ 2464 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2466 _flag_k = FK_CMP; 2467 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05A565: mov byte ptr [ebp - 4], 4 */ 2468 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A587; /* 0x2B05A569: je 0x2b05a587 */ 2469 L_2B05A56B: 2470 edx = MEM32(0x2B0EE9DC); /* 0x2B05A56B: mov edx, dword ptr [0x2b0ee9dc] */ 2471 PUSH32(esp, edx); /* 0x2B05A571: push edx */ 2472 PUSH32(esp, 2); /* 0x2B05A572: push 2 */ 2473 PUSH32(esp, 0x2B0E8C30u); /* 0x2B05A574: push 0x2b0e8c30 */ 2474 PUSH32(esp, 0x2B0E8C20u); /* 0x2B05A579: push 0x2b0e8c20 */ 2475 ecx = eax; /* 0x2B05A57E: mov ecx, eax */ 2476 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A580: call 0x2b05f070 */ /* not lifted */ 2477 RECOMP_FLAGS_IN(); 2478 goto L_2B05A589; /* 0x2B05A585: jmp 0x2b05a589 */ 2479 L_2B05A587: 2480 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2481 eax = 0; /* 0x2B05A587: xor eax, eax */ 2482 _cf = 0; 2483 _flag_k = FK_TEST; 2484 L_2B05A589: 2485 PUSH32(esp, 0x1Cu); /* 0x2B05A589: push 0x1c */ 2486 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A58B: mov byte ptr [ebp - 4], bl */ 2487 MEM32(esi + 0x34) = eax; /* 0x2B05A58E: mov dword ptr [esi + 0x34], eax */ 2488 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A591: call 0x2b0ab212 */ /* not lifted */ 2489 RECOMP_FLAGS_IN(); 2490 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2492 esp = esp + 4; /* 0x2B05A596: add esp, 4 */ 2493 _flag_k = FK_ADD; 2494 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A599: mov dword ptr [ebp - 0x14], eax */ 2495 /* cmp eax, ebx */ /* 0x2B05A59C: cmp eax, ebx */ 2496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2498 _flag_k = FK_CMP; 2499 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05A59E: mov byte ptr [ebp - 4], 5 */ 2500 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A5C0; /* 0x2B05A5A2: je 0x2b05a5c0 */ 2501 L_2B05A5A4: 2502 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A5A4: mov ecx, dword ptr [0x2b0ee9dc] */ 2503 PUSH32(esp, ecx); /* 0x2B05A5AA: push ecx */ 2504 PUSH32(esp, 1); /* 0x2B05A5AB: push 1 */ 2505 PUSH32(esp, 0x2B0E8C10u); /* 0x2B05A5AD: push 0x2b0e8c10 */ 2506 PUSH32(esp, 0x2B0E8BFCu); /* 0x2B05A5B2: push 0x2b0e8bfc */ 2507 ecx = eax; /* 0x2B05A5B7: mov ecx, eax */ 2508 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A5B9: call 0x2b05f070 */ /* not lifted */ 2509 RECOMP_FLAGS_IN(); 2510 goto L_2B05A5C2; /* 0x2B05A5BE: jmp 0x2b05a5c2 */ 2511 L_2B05A5C0: 2512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2513 eax = 0; /* 0x2B05A5C0: xor eax, eax */ 2514 _cf = 0; 2515 _flag_k = FK_TEST; 2516 L_2B05A5C2: 2517 PUSH32(esp, 0x1Cu); /* 0x2B05A5C2: push 0x1c */ 2518 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A5C4: mov byte ptr [ebp - 4], bl */ 2519 MEM32(esi + 0x5C) = eax; /* 0x2B05A5C7: mov dword ptr [esi + 0x5c], eax */ 2520 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A5CA: call 0x2b0ab212 */ /* not lifted */ 2521 RECOMP_FLAGS_IN(); 2522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2524 esp = esp + 4; /* 0x2B05A5CF: add esp, 4 */ 2525 _flag_k = FK_ADD; 2526 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A5D2: mov dword ptr [ebp - 0x14], eax */ 2527 /* cmp eax, ebx */ /* 0x2B05A5D5: cmp eax, ebx */ 2528 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2530 _flag_k = FK_CMP; 2531 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05A5D7: mov byte ptr [ebp - 4], 6 */ 2532 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A5F9; /* 0x2B05A5DB: je 0x2b05a5f9 */ 2533 L_2B05A5DD: 2534 edx = MEM32(0x2B0EE9DC); /* 0x2B05A5DD: mov edx, dword ptr [0x2b0ee9dc] */ 2535 PUSH32(esp, edx); /* 0x2B05A5E3: push edx */ 2536 PUSH32(esp, 1); /* 0x2B05A5E4: push 1 */ 2537 PUSH32(esp, 0x2B0E8BECu); /* 0x2B05A5E6: push 0x2b0e8bec */ 2538 PUSH32(esp, 0x2B0E8BDCu); /* 0x2B05A5EB: push 0x2b0e8bdc */ 2539 ecx = eax; /* 0x2B05A5F0: mov ecx, eax */ 2540 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A5F2: call 0x2b05f070 */ /* not lifted */ 2541 RECOMP_FLAGS_IN(); 2542 goto L_2B05A5FB; /* 0x2B05A5F7: jmp 0x2b05a5fb */ 2543 L_2B05A5F9: 2544 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2545 eax = 0; /* 0x2B05A5F9: xor eax, eax */ 2546 _cf = 0; 2547 _flag_k = FK_TEST; 2548 L_2B05A5FB: 2549 PUSH32(esp, 0x1Cu); /* 0x2B05A5FB: push 0x1c */ 2550 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A5FD: mov byte ptr [ebp - 4], bl */ 2551 MEM32(esi + 0x60) = eax; /* 0x2B05A600: mov dword ptr [esi + 0x60], eax */ 2552 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A603: call 0x2b0ab212 */ /* not lifted */ 2553 RECOMP_FLAGS_IN(); 2554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2556 esp = esp + 4; /* 0x2B05A608: add esp, 4 */ 2557 _flag_k = FK_ADD; 2558 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A60B: mov dword ptr [ebp - 0x14], eax */ 2559 /* cmp eax, ebx */ /* 0x2B05A60E: cmp eax, ebx */ 2560 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2562 _flag_k = FK_CMP; 2563 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05A610: mov byte ptr [ebp - 4], 7 */ 2564 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A632; /* 0x2B05A614: je 0x2b05a632 */ 2565 L_2B05A616: 2566 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A616: mov ecx, dword ptr [0x2b0ee9dc] */ 2567 PUSH32(esp, ecx); /* 0x2B05A61C: push ecx */ 2568 PUSH32(esp, 1); /* 0x2B05A61D: push 1 */ 2569 PUSH32(esp, 0x2B0E8BD4u); /* 0x2B05A61F: push 0x2b0e8bd4 */ 2570 PUSH32(esp, 0x2B0E8BC4u); /* 0x2B05A624: push 0x2b0e8bc4 */ 2571 ecx = eax; /* 0x2B05A629: mov ecx, eax */ 2572 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A62B: call 0x2b05f070 */ /* not lifted */ 2573 RECOMP_FLAGS_IN(); 2574 goto L_2B05A634; /* 0x2B05A630: jmp 0x2b05a634 */ 2575 L_2B05A632: 2576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2577 eax = 0; /* 0x2B05A632: xor eax, eax */ 2578 _cf = 0; 2579 _flag_k = FK_TEST; 2580 L_2B05A634: 2581 PUSH32(esp, 0x1Cu); /* 0x2B05A634: push 0x1c */ 2582 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A636: mov byte ptr [ebp - 4], bl */ 2583 MEM32(esi + 0x38) = eax; /* 0x2B05A639: mov dword ptr [esi + 0x38], eax */ 2584 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A63C: call 0x2b0ab212 */ /* not lifted */ 2585 RECOMP_FLAGS_IN(); 2586 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2587 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2588 esp = esp + 4; /* 0x2B05A641: add esp, 4 */ 2589 _flag_k = FK_ADD; 2590 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A644: mov dword ptr [ebp - 0x14], eax */ 2591 /* cmp eax, ebx */ /* 0x2B05A647: cmp eax, ebx */ 2592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2594 _flag_k = FK_CMP; 2595 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B05A649: mov byte ptr [ebp - 4], 8 */ 2596 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A66B; /* 0x2B05A64D: je 0x2b05a66b */ 2597 L_2B05A64F: 2598 edx = MEM32(0x2B0EE9DC); /* 0x2B05A64F: mov edx, dword ptr [0x2b0ee9dc] */ 2599 PUSH32(esp, edx); /* 0x2B05A655: push edx */ 2600 PUSH32(esp, 1); /* 0x2B05A656: push 1 */ 2601 PUSH32(esp, 0x2B0E8BBCu); /* 0x2B05A658: push 0x2b0e8bbc */ 2602 PUSH32(esp, 0x2B0E8BB0u); /* 0x2B05A65D: push 0x2b0e8bb0 */ 2603 ecx = eax; /* 0x2B05A662: mov ecx, eax */ 2604 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A664: call 0x2b05f070 */ /* not lifted */ 2605 RECOMP_FLAGS_IN(); 2606 goto L_2B05A66D; /* 0x2B05A669: jmp 0x2b05a66d */ 2607 L_2B05A66B: 2608 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2609 eax = 0; /* 0x2B05A66B: xor eax, eax */ 2610 _cf = 0; 2611 _flag_k = FK_TEST; 2612 L_2B05A66D: 2613 PUSH32(esp, 0x1Cu); /* 0x2B05A66D: push 0x1c */ 2614 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A66F: mov byte ptr [ebp - 4], bl */ 2615 MEM32(esi + 0x44) = eax; /* 0x2B05A672: mov dword ptr [esi + 0x44], eax */ 2616 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A675: call 0x2b0ab212 */ /* not lifted */ 2617 RECOMP_FLAGS_IN(); 2618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2620 esp = esp + 4; /* 0x2B05A67A: add esp, 4 */ 2621 _flag_k = FK_ADD; 2622 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A67D: mov dword ptr [ebp - 0x14], eax */ 2623 /* cmp eax, ebx */ /* 0x2B05A680: cmp eax, ebx */ 2624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2626 _flag_k = FK_CMP; 2627 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B05A682: mov byte ptr [ebp - 4], 9 */ 2628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A6A4; /* 0x2B05A686: je 0x2b05a6a4 */ 2629 L_2B05A688: 2630 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A688: mov ecx, dword ptr [0x2b0ee9dc] */ 2631 PUSH32(esp, ecx); /* 0x2B05A68E: push ecx */ 2632 PUSH32(esp, 1); /* 0x2B05A68F: push 1 */ 2633 PUSH32(esp, 0x2B0E8BA4u); /* 0x2B05A691: push 0x2b0e8ba4 */ 2634 PUSH32(esp, 0x2B0E8B94u); /* 0x2B05A696: push 0x2b0e8b94 */ 2635 ecx = eax; /* 0x2B05A69B: mov ecx, eax */ 2636 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A69D: call 0x2b05f070 */ /* not lifted */ 2637 RECOMP_FLAGS_IN(); 2638 goto L_2B05A6A6; /* 0x2B05A6A2: jmp 0x2b05a6a6 */ 2639 L_2B05A6A4: 2640 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2641 eax = 0; /* 0x2B05A6A4: xor eax, eax */ 2642 _cf = 0; 2643 _flag_k = FK_TEST; 2644 L_2B05A6A6: 2645 PUSH32(esp, 0x1Cu); /* 0x2B05A6A6: push 0x1c */ 2646 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A6A8: mov byte ptr [ebp - 4], bl */ 2647 MEM32(esi + 0x48) = eax; /* 0x2B05A6AB: mov dword ptr [esi + 0x48], eax */ 2648 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A6AE: call 0x2b0ab212 */ /* not lifted */ 2649 RECOMP_FLAGS_IN(); 2650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2652 esp = esp + 4; /* 0x2B05A6B3: add esp, 4 */ 2653 _flag_k = FK_ADD; 2654 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A6B6: mov dword ptr [ebp - 0x14], eax */ 2655 /* cmp eax, ebx */ /* 0x2B05A6B9: cmp eax, ebx */ 2656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2658 _flag_k = FK_CMP; 2659 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B05A6BB: mov byte ptr [ebp - 4], 0xa */ 2660 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A6DD; /* 0x2B05A6BF: je 0x2b05a6dd */ 2661 L_2B05A6C1: 2662 edx = MEM32(0x2B0EE9DC); /* 0x2B05A6C1: mov edx, dword ptr [0x2b0ee9dc] */ 2663 PUSH32(esp, edx); /* 0x2B05A6C7: push edx */ 2664 PUSH32(esp, 1); /* 0x2B05A6C8: push 1 */ 2665 PUSH32(esp, 0x2B0E8B84u); /* 0x2B05A6CA: push 0x2b0e8b84 */ 2666 PUSH32(esp, 0x2B0E8B70u); /* 0x2B05A6CF: push 0x2b0e8b70 */ 2667 ecx = eax; /* 0x2B05A6D4: mov ecx, eax */ 2668 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A6D6: call 0x2b05f070 */ /* not lifted */ 2669 RECOMP_FLAGS_IN(); 2670 goto L_2B05A6DF; /* 0x2B05A6DB: jmp 0x2b05a6df */ 2671 L_2B05A6DD: 2672 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2673 eax = 0; /* 0x2B05A6DD: xor eax, eax */ 2674 _cf = 0; 2675 _flag_k = FK_TEST; 2676 L_2B05A6DF: 2677 PUSH32(esp, 0x1Cu); /* 0x2B05A6DF: push 0x1c */ 2678 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A6E1: mov byte ptr [ebp - 4], bl */ 2679 MEM32(esi + 0x4C) = eax; /* 0x2B05A6E4: mov dword ptr [esi + 0x4c], eax */ 2680 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A6E7: call 0x2b0ab212 */ /* not lifted */ 2681 RECOMP_FLAGS_IN(); 2682 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2684 esp = esp + 4; /* 0x2B05A6EC: add esp, 4 */ 2685 _flag_k = FK_ADD; 2686 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A6EF: mov dword ptr [ebp - 0x14], eax */ 2687 /* cmp eax, ebx */ /* 0x2B05A6F2: cmp eax, ebx */ 2688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2690 _flag_k = FK_CMP; 2691 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B05A6F4: mov byte ptr [ebp - 4], 0xb */ 2692 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A716; /* 0x2B05A6F8: je 0x2b05a716 */ 2693 L_2B05A6FA: 2694 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A6FA: mov ecx, dword ptr [0x2b0ee9dc] */ 2695 PUSH32(esp, ecx); /* 0x2B05A700: push ecx */ 2696 PUSH32(esp, 1); /* 0x2B05A701: push 1 */ 2697 PUSH32(esp, 0x2B0E8B60u); /* 0x2B05A703: push 0x2b0e8b60 */ 2698 PUSH32(esp, 0x2B0E8B4Cu); /* 0x2B05A708: push 0x2b0e8b4c */ 2699 ecx = eax; /* 0x2B05A70D: mov ecx, eax */ 2700 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A70F: call 0x2b05f070 */ /* not lifted */ 2701 RECOMP_FLAGS_IN(); 2702 goto L_2B05A718; /* 0x2B05A714: jmp 0x2b05a718 */ 2703 L_2B05A716: 2704 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2705 eax = 0; /* 0x2B05A716: xor eax, eax */ 2706 _cf = 0; 2707 _flag_k = FK_TEST; 2708 L_2B05A718: 2709 PUSH32(esp, 0x1Cu); /* 0x2B05A718: push 0x1c */ 2710 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A71A: mov byte ptr [ebp - 4], bl */ 2711 MEM32(esi + 0x50) = eax; /* 0x2B05A71D: mov dword ptr [esi + 0x50], eax */ 2712 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A720: call 0x2b0ab212 */ /* not lifted */ 2713 RECOMP_FLAGS_IN(); 2714 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2715 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2716 esp = esp + 4; /* 0x2B05A725: add esp, 4 */ 2717 _flag_k = FK_ADD; 2718 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A728: mov dword ptr [ebp - 0x14], eax */ 2719 /* cmp eax, ebx */ /* 0x2B05A72B: cmp eax, ebx */ 2720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2722 _flag_k = FK_CMP; 2723 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B05A72D: mov byte ptr [ebp - 4], 0xc */ 2724 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A74F; /* 0x2B05A731: je 0x2b05a74f */ 2725 L_2B05A733: 2726 edx = MEM32(0x2B0EE9DC); /* 0x2B05A733: mov edx, dword ptr [0x2b0ee9dc] */ 2727 PUSH32(esp, edx); /* 0x2B05A739: push edx */ 2728 PUSH32(esp, 1); /* 0x2B05A73A: push 1 */ 2729 PUSH32(esp, 0x2B0E8B3Cu); /* 0x2B05A73C: push 0x2b0e8b3c */ 2730 PUSH32(esp, 0x2B0E8B20u); /* 0x2B05A741: push 0x2b0e8b20 */ 2731 ecx = eax; /* 0x2B05A746: mov ecx, eax */ 2732 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A748: call 0x2b05f070 */ /* not lifted */ 2733 RECOMP_FLAGS_IN(); 2734 goto L_2B05A751; /* 0x2B05A74D: jmp 0x2b05a751 */ 2735 L_2B05A74F: 2736 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2737 eax = 0; /* 0x2B05A74F: xor eax, eax */ 2738 _cf = 0; 2739 _flag_k = FK_TEST; 2740 L_2B05A751: 2741 PUSH32(esp, 0x1Cu); /* 0x2B05A751: push 0x1c */ 2742 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A753: mov byte ptr [ebp - 4], bl */ 2743 MEM32(esi + 0x54) = eax; /* 0x2B05A756: mov dword ptr [esi + 0x54], eax */ 2744 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A759: call 0x2b0ab212 */ /* not lifted */ 2745 RECOMP_FLAGS_IN(); 2746 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2748 esp = esp + 4; /* 0x2B05A75E: add esp, 4 */ 2749 _flag_k = FK_ADD; 2750 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A761: mov dword ptr [ebp - 0x14], eax */ 2751 /* cmp eax, ebx */ /* 0x2B05A764: cmp eax, ebx */ 2752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2754 _flag_k = FK_CMP; 2755 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B05A766: mov byte ptr [ebp - 4], 0xd */ 2756 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A788; /* 0x2B05A76A: je 0x2b05a788 */ 2757 L_2B05A76C: 2758 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A76C: mov ecx, dword ptr [0x2b0ee9dc] */ 2759 PUSH32(esp, ecx); /* 0x2B05A772: push ecx */ 2760 PUSH32(esp, 1); /* 0x2B05A773: push 1 */ 2761 PUSH32(esp, 0x2B0E8B14u); /* 0x2B05A775: push 0x2b0e8b14 */ 2762 PUSH32(esp, 0x2B0E8B00u); /* 0x2B05A77A: push 0x2b0e8b00 */ 2763 ecx = eax; /* 0x2B05A77F: mov ecx, eax */ 2764 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A781: call 0x2b05f070 */ /* not lifted */ 2765 RECOMP_FLAGS_IN(); 2766 goto L_2B05A78A; /* 0x2B05A786: jmp 0x2b05a78a */ 2767 L_2B05A788: 2768 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2769 eax = 0; /* 0x2B05A788: xor eax, eax */ 2770 _cf = 0; 2771 _flag_k = FK_TEST; 2772 L_2B05A78A: 2773 PUSH32(esp, 0x1Cu); /* 0x2B05A78A: push 0x1c */ 2774 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A78C: mov byte ptr [ebp - 4], bl */ 2775 MEM32(esi + 0x58) = eax; /* 0x2B05A78F: mov dword ptr [esi + 0x58], eax */ 2776 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A792: call 0x2b0ab212 */ /* not lifted */ 2777 RECOMP_FLAGS_IN(); 2778 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2780 esp = esp + 4; /* 0x2B05A797: add esp, 4 */ 2781 _flag_k = FK_ADD; 2782 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A79A: mov dword ptr [ebp - 0x14], eax */ 2783 /* cmp eax, ebx */ /* 0x2B05A79D: cmp eax, ebx */ 2784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2786 _flag_k = FK_CMP; 2787 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B05A79F: mov byte ptr [ebp - 4], 0xe */ 2788 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A7C1; /* 0x2B05A7A3: je 0x2b05a7c1 */ 2789 L_2B05A7A5: 2790 edx = MEM32(0x2B0EE9DC); /* 0x2B05A7A5: mov edx, dword ptr [0x2b0ee9dc] */ 2791 PUSH32(esp, edx); /* 0x2B05A7AB: push edx */ 2792 PUSH32(esp, 1); /* 0x2B05A7AC: push 1 */ 2793 PUSH32(esp, 0x2B0E8AF0u); /* 0x2B05A7AE: push 0x2b0e8af0 */ 2794 PUSH32(esp, 0x2B0E8AE0u); /* 0x2B05A7B3: push 0x2b0e8ae0 */ 2795 ecx = eax; /* 0x2B05A7B8: mov ecx, eax */ 2796 RECOMP_ICALL(0x2B05F070u); /* 0x2B05A7BA: call 0x2b05f070 */ /* not lifted */ 2797 RECOMP_FLAGS_IN(); 2798 goto L_2B05A7C3; /* 0x2B05A7BF: jmp 0x2b05a7c3 */ 2799 L_2B05A7C1: 2800 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2801 eax = 0; /* 0x2B05A7C1: xor eax, eax */ 2802 _cf = 0; 2803 _flag_k = FK_TEST; 2804 L_2B05A7C3: 2805 PUSH32(esp, 0x2Cu); /* 0x2B05A7C3: push 0x2c */ 2806 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A7C5: mov byte ptr [ebp - 4], bl */ 2807 MEM32(esi + 0x64) = eax; /* 0x2B05A7C8: mov dword ptr [esi + 0x64], eax */ 2808 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A7CB: call 0x2b0ab212 */ /* not lifted */ 2809 RECOMP_FLAGS_IN(); 2810 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2812 esp = esp + 4; /* 0x2B05A7D0: add esp, 4 */ 2813 _flag_k = FK_ADD; 2814 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A7D3: mov dword ptr [ebp - 0x14], eax */ 2815 /* cmp eax, ebx */ /* 0x2B05A7D6: cmp eax, ebx */ 2816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2818 _flag_k = FK_CMP; 2819 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B05A7D8: mov byte ptr [ebp - 4], 0xf */ 2820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A804; /* 0x2B05A7DC: je 0x2b05a804 */ 2821 L_2B05A7DE: 2822 ecx = MEM32(0x2B0EE9DC); /* 0x2B05A7DE: mov ecx, dword ptr [0x2b0ee9dc] */ 2823 PUSH32(esp, ecx); /* 0x2B05A7E4: push ecx */ 2824 PUSH32(esp, 1); /* 0x2B05A7E5: push 1 */ 2825 PUSH32(esp, 0x2B05AD90u); /* 0x2B05A7E7: push 0x2b05ad90 */ 2826 PUSH32(esp, 4); /* 0x2B05A7EC: push 4 */ 2827 PUSH32(esp, ebx); /* 0x2B05A7EE: push ebx */ 2828 PUSH32(esp, 1); /* 0x2B05A7EF: push 1 */ 2829 PUSH32(esp, 0x2B0E8AD8u); /* 0x2B05A7F1: push 0x2b0e8ad8 */ 2830 PUSH32(esp, 0x2B0E8ACCu); /* 0x2B05A7F6: push 0x2b0e8acc */ 2831 ecx = eax; /* 0x2B05A7FB: mov ecx, eax */ 2832 RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05A7FD: call 0x2b05f3c0 */ /* not lifted */ 2833 RECOMP_FLAGS_IN(); 2834 goto L_2B05A806; /* 0x2B05A802: jmp 0x2b05a806 */ 2835 L_2B05A804: 2836 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2837 eax = 0; /* 0x2B05A804: xor eax, eax */ 2838 _cf = 0; 2839 _flag_k = FK_TEST; 2840 L_2B05A806: 2841 PUSH32(esp, 0x2Cu); /* 0x2B05A806: push 0x2c */ 2842 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A808: mov byte ptr [ebp - 4], bl */ 2843 MEM32(esi + 0x3C) = eax; /* 0x2B05A80B: mov dword ptr [esi + 0x3c], eax */ 2844 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05A80E: call 0x2b0ab212 */ /* not lifted */ 2845 RECOMP_FLAGS_IN(); 2846 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2848 esp = esp + 4; /* 0x2B05A813: add esp, 4 */ 2849 _flag_k = FK_ADD; 2850 MEM32(ebp + (-0x14)) = eax; /* 0x2B05A816: mov dword ptr [ebp - 0x14], eax */ 2851 /* cmp eax, ebx */ /* 0x2B05A819: cmp eax, ebx */ 2852 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2854 _flag_k = FK_CMP; 2855 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B05A81B: mov byte ptr [ebp - 4], 0x10 */ 2856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05A846; /* 0x2B05A81F: je 0x2b05a846 */ 2857 L_2B05A821: 2858 edx = MEM32(0x2B0EE9DC); /* 0x2B05A821: mov edx, dword ptr [0x2b0ee9dc] */ 2859 PUSH32(esp, edx); /* 0x2B05A827: push edx */ 2860 PUSH32(esp, ebx); /* 0x2B05A828: push ebx */ 2861 PUSH32(esp, 0x2B05AD90u); /* 0x2B05A829: push 0x2b05ad90 */ 2862 PUSH32(esp, 4); /* 0x2B05A82E: push 4 */ 2863 PUSH32(esp, ebx); /* 0x2B05A830: push ebx */ 2864 PUSH32(esp, 1); /* 0x2B05A831: push 1 */ 2865 PUSH32(esp, 0x2B0E8ABCu); /* 0x2B05A833: push 0x2b0e8abc */ 2866 PUSH32(esp, 0x2B0E8AA8u); /* 0x2B05A838: push 0x2b0e8aa8 */ 2867 ecx = eax; /* 0x2B05A83D: mov ecx, eax */ 2868 RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05A83F: call 0x2b05f3c0 */ /* not lifted */ 2869 RECOMP_FLAGS_IN(); 2870 goto L_2B05A848; /* 0x2B05A844: jmp 0x2b05a848 */ 2871 L_2B05A846: 2872 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2873 eax = 0; /* 0x2B05A846: xor eax, eax */ 2874 _cf = 0; 2875 _flag_k = FK_TEST; 2876 L_2B05A848: 2877 ecx = esi; /* 0x2B05A848: mov ecx, esi */ 2878 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05A84A: mov byte ptr [ebp - 4], bl */ 2879 MEM32(esi + 0x40) = eax; /* 0x2B05A84D: mov dword ptr [esi + 0x40], eax */ 2880 RECOMP_ICALL(0x2B05AD00u); /* 0x2B05A850: call 0x2b05ad00 */ /* not lifted */ 2881 RECOMP_FLAGS_IN(); 2882 ecx = esi; /* 0x2B05A855: mov ecx, esi */ 2883 RECOMP_ICALL(0x2B05AE50u); /* 0x2B05A857: call 0x2b05ae50 */ /* not lifted */ 2884 RECOMP_FLAGS_IN(); 2885 PUSH32(esp, 0x2B0E8A9Cu); /* 0x2B05A85C: push 0x2b0e8a9c */ 2886 PUSH32(esp, ebx); /* 0x2B05A861: push ebx */ 2887 ecx = esi; /* 0x2B05A862: mov ecx, esi */ 2888 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05A864: call 0x2b03a2d0 */ /* not lifted */ 2889 RECOMP_FLAGS_IN(); 2890 PUSH32(esp, 1); /* 0x2B05A869: push 1 */ 2891 ecx = esi; /* 0x2B05A86B: mov ecx, esi */ 2892 RECOMP_ICALL(0x2B03A350u); /* 0x2B05A86D: call 0x2b03a350 */ /* not lifted */ 2893 RECOMP_FLAGS_IN(); 2894 ecx = MEM32(ebp + (-0xC)); /* 0x2B05A872: mov ecx, dword ptr [ebp - 0xc] */ 2895 edi = POP32_VAL(esp); /* 0x2B05A875: pop edi */ 2896 eax = esi; /* 0x2B05A876: mov eax, esi */ 2897 esi = POP32_VAL(esp); /* 0x2B05A878: pop esi */ 2898 ebx = POP32_VAL(esp); /* 0x2B05A879: pop ebx */ 2899 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05A87A: mov dword ptr fs:[0], ecx */ 2900 esp = ebp; /* 0x2B05A881: mov esp, ebp */ 2901 ebp = POP32_VAL(esp); /* 0x2B05A883: pop ebp */ 2902 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05A884: ret */ 2903 RECOMP_REGS_OUT(); 2904 } 2905 2906 void sub_2B05A890(void) { 2907 int _fpu_cmp = 0; 2908 uint32_t _cf = 0; 2909 int _df = 1; 2910 uint32_t _flag_k = FK_NONE; 2911 uint32_t _flag_a = 0, _flag_b = 0; 2912 uint32_t _itail_tgt = 0; 2913 RECOMP_REGS_LOCALS 2914 RECOMP_ENTER(0x2B05A890u); 2915 2916 L_2B05A890: 2917 PUSH32(esp, ebp); /* 0x2B05A890: push ebp */ 2918 ebp = esp; /* 0x2B05A891: mov ebp, esp */ 2919 PUSH32(esp, esi); /* 0x2B05A893: push esi */ 2920 esi = ecx; /* 0x2B05A894: mov esi, ecx */ 2921 RECOMP_ICALL(0x2B05A8C0u); /* 0x2B05A896: call 0x2b05a8c0 */ /* not lifted */ 2922 RECOMP_FLAGS_IN(); 2923 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05A89B: test byte ptr [ebp + 8], 1 */ 2924 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 2925 _cf = 0; 2926 _flag_k = FK_NARROW(FK_TEST, 24); 2927 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A8AA; /* 0x2B05A89F: je 0x2b05a8aa */ 2928 L_2B05A8A1: 2929 PUSH32(esp, esi); /* 0x2B05A8A1: push esi */ 2930 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A8A2: call 0x2b0ab1ba */ /* not lifted */ 2931 RECOMP_FLAGS_IN(); 2932 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2934 esp = esp + 4; /* 0x2B05A8A7: add esp, 4 */ 2935 _flag_k = FK_ADD; 2936 L_2B05A8AA: 2937 eax = esi; /* 0x2B05A8AA: mov eax, esi */ 2938 esi = POP32_VAL(esp); /* 0x2B05A8AC: pop esi */ 2939 ebp = POP32_VAL(esp); /* 0x2B05A8AD: pop ebp */ 2940 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05A8AE: ret 4 */ 2941 RECOMP_REGS_OUT(); 2942 } 2943 2944 void sub_2B05A8C0(void) { 2945 int _fpu_cmp = 0; 2946 uint32_t _cf = 0; 2947 int _df = 1; 2948 uint32_t _flag_k = FK_NONE; 2949 uint32_t _flag_a = 0, _flag_b = 0; 2950 uint32_t _itail_tgt = 0; 2951 RECOMP_REGS_LOCALS 2952 RECOMP_ENTER(0x2B05A8C0u); 2953 2954 L_2B05A8C0: 2955 PUSH32(esp, ebp); /* 0x2B05A8C0: push ebp */ 2956 ebp = esp; /* 0x2B05A8C1: mov ebp, esp */ 2957 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05A8C3: push -1 */ 2958 PUSH32(esp, 0x2B0B01C8u); /* 0x2B05A8C5: push 0x2b0b01c8 */ 2959 eax = MEM32(FS_BASE + (0)); /* 0x2B05A8CA: mov eax, dword ptr fs:[0] */ 2960 PUSH32(esp, eax); /* 0x2B05A8D0: push eax */ 2961 MEM32(FS_BASE + (0)) = esp; /* 0x2B05A8D1: mov dword ptr fs:[0], esp */ 2962 PUSH32(esp, ecx); /* 0x2B05A8D8: push ecx */ 2963 PUSH32(esp, esi); /* 0x2B05A8D9: push esi */ 2964 esi = ecx; /* 0x2B05A8DA: mov esi, ecx */ 2965 PUSH32(esp, edi); /* 0x2B05A8DC: push edi */ 2966 MEM32(ebp + (-0x10)) = esi; /* 0x2B05A8DD: mov dword ptr [ebp - 0x10], esi */ 2967 MEM32(esi) = 0x2B0B6C18u; /* 0x2B05A8E0: mov dword ptr [esi], 0x2b0b6c18 */ 2968 ecx = MEM32(esi + 0x28); /* 0x2B05A8E6: mov ecx, dword ptr [esi + 0x28] */ 2969 /* test ecx, ecx */ /* 0x2B05A8E9: test ecx, ecx */ 2970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2971 _cf = 0; 2972 _flag_k = FK_TEST; 2973 MEM32(ebp + (-0x4)) = 0; /* 0x2B05A8EB: mov dword ptr [ebp - 4], 0 */ 2974 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A8FA; /* 0x2B05A8F2: je 0x2b05a8fa */ 2975 L_2B05A8F4: 2976 eax = MEM32(ecx); /* 0x2B05A8F4: mov eax, dword ptr [ecx] */ 2977 PUSH32(esp, 1); /* 0x2B05A8F6: push 1 */ 2978 RECOMP_ICALL(MEM32(eax)); /* 0x2B05A8F8: call dword ptr [eax] */ 2979 RECOMP_FLAGS_IN(); 2980 L_2B05A8FA: 2981 edi = MEM32(esi + 0x2C); /* 0x2B05A8FA: mov edi, dword ptr [esi + 0x2c] */ 2982 /* test edi, edi */ /* 0x2B05A8FD: test edi, edi */ 2983 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2984 _cf = 0; 2985 _flag_k = FK_TEST; 2986 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A911; /* 0x2B05A8FF: je 0x2b05a911 */ 2987 L_2B05A901: 2988 ecx = edi; /* 0x2B05A901: mov ecx, edi */ 2989 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A903: call 0x2b05f200 */ /* not lifted */ 2990 RECOMP_FLAGS_IN(); 2991 PUSH32(esp, edi); /* 0x2B05A908: push edi */ 2992 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A909: call 0x2b0ab1ba */ /* not lifted */ 2993 RECOMP_FLAGS_IN(); 2994 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2995 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2996 esp = esp + 4; /* 0x2B05A90E: add esp, 4 */ 2997 _flag_k = FK_ADD; 2998 L_2B05A911: 2999 edi = MEM32(esi + 0x30); /* 0x2B05A911: mov edi, dword ptr [esi + 0x30] */ 3000 /* test edi, edi */ /* 0x2B05A914: test edi, edi */ 3001 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3002 _cf = 0; 3003 _flag_k = FK_TEST; 3004 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A928; /* 0x2B05A916: je 0x2b05a928 */ 3005 L_2B05A918: 3006 ecx = edi; /* 0x2B05A918: mov ecx, edi */ 3007 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A91A: call 0x2b05f200 */ /* not lifted */ 3008 RECOMP_FLAGS_IN(); 3009 PUSH32(esp, edi); /* 0x2B05A91F: push edi */ 3010 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A920: call 0x2b0ab1ba */ /* not lifted */ 3011 RECOMP_FLAGS_IN(); 3012 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3013 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3014 esp = esp + 4; /* 0x2B05A925: add esp, 4 */ 3015 _flag_k = FK_ADD; 3016 L_2B05A928: 3017 edi = MEM32(esi + 0x34); /* 0x2B05A928: mov edi, dword ptr [esi + 0x34] */ 3018 /* test edi, edi */ /* 0x2B05A92B: test edi, edi */ 3019 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3020 _cf = 0; 3021 _flag_k = FK_TEST; 3022 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A93F; /* 0x2B05A92D: je 0x2b05a93f */ 3023 L_2B05A92F: 3024 ecx = edi; /* 0x2B05A92F: mov ecx, edi */ 3025 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A931: call 0x2b05f200 */ /* not lifted */ 3026 RECOMP_FLAGS_IN(); 3027 PUSH32(esp, edi); /* 0x2B05A936: push edi */ 3028 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A937: call 0x2b0ab1ba */ /* not lifted */ 3029 RECOMP_FLAGS_IN(); 3030 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3031 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3032 esp = esp + 4; /* 0x2B05A93C: add esp, 4 */ 3033 _flag_k = FK_ADD; 3034 L_2B05A93F: 3035 edi = MEM32(esi + 0x38); /* 0x2B05A93F: mov edi, dword ptr [esi + 0x38] */ 3036 /* test edi, edi */ /* 0x2B05A942: test edi, edi */ 3037 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3038 _cf = 0; 3039 _flag_k = FK_TEST; 3040 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A956; /* 0x2B05A944: je 0x2b05a956 */ 3041 L_2B05A946: 3042 ecx = edi; /* 0x2B05A946: mov ecx, edi */ 3043 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A948: call 0x2b05f200 */ /* not lifted */ 3044 RECOMP_FLAGS_IN(); 3045 PUSH32(esp, edi); /* 0x2B05A94D: push edi */ 3046 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A94E: call 0x2b0ab1ba */ /* not lifted */ 3047 RECOMP_FLAGS_IN(); 3048 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3049 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3050 esp = esp + 4; /* 0x2B05A953: add esp, 4 */ 3051 _flag_k = FK_ADD; 3052 L_2B05A956: 3053 edi = MEM32(esi + 0x44); /* 0x2B05A956: mov edi, dword ptr [esi + 0x44] */ 3054 /* test edi, edi */ /* 0x2B05A959: test edi, edi */ 3055 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3056 _cf = 0; 3057 _flag_k = FK_TEST; 3058 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A96D; /* 0x2B05A95B: je 0x2b05a96d */ 3059 L_2B05A95D: 3060 ecx = edi; /* 0x2B05A95D: mov ecx, edi */ 3061 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A95F: call 0x2b05f200 */ /* not lifted */ 3062 RECOMP_FLAGS_IN(); 3063 PUSH32(esp, edi); /* 0x2B05A964: push edi */ 3064 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A965: call 0x2b0ab1ba */ /* not lifted */ 3065 RECOMP_FLAGS_IN(); 3066 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3068 esp = esp + 4; /* 0x2B05A96A: add esp, 4 */ 3069 _flag_k = FK_ADD; 3070 L_2B05A96D: 3071 edi = MEM32(esi + 0x48); /* 0x2B05A96D: mov edi, dword ptr [esi + 0x48] */ 3072 /* test edi, edi */ /* 0x2B05A970: test edi, edi */ 3073 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3074 _cf = 0; 3075 _flag_k = FK_TEST; 3076 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A984; /* 0x2B05A972: je 0x2b05a984 */ 3077 L_2B05A974: 3078 ecx = edi; /* 0x2B05A974: mov ecx, edi */ 3079 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A976: call 0x2b05f200 */ /* not lifted */ 3080 RECOMP_FLAGS_IN(); 3081 PUSH32(esp, edi); /* 0x2B05A97B: push edi */ 3082 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A97C: call 0x2b0ab1ba */ /* not lifted */ 3083 RECOMP_FLAGS_IN(); 3084 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3086 esp = esp + 4; /* 0x2B05A981: add esp, 4 */ 3087 _flag_k = FK_ADD; 3088 L_2B05A984: 3089 edi = MEM32(esi + 0x4C); /* 0x2B05A984: mov edi, dword ptr [esi + 0x4c] */ 3090 /* test edi, edi */ /* 0x2B05A987: test edi, edi */ 3091 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3092 _cf = 0; 3093 _flag_k = FK_TEST; 3094 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A99B; /* 0x2B05A989: je 0x2b05a99b */ 3095 L_2B05A98B: 3096 ecx = edi; /* 0x2B05A98B: mov ecx, edi */ 3097 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A98D: call 0x2b05f200 */ /* not lifted */ 3098 RECOMP_FLAGS_IN(); 3099 PUSH32(esp, edi); /* 0x2B05A992: push edi */ 3100 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A993: call 0x2b0ab1ba */ /* not lifted */ 3101 RECOMP_FLAGS_IN(); 3102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3104 esp = esp + 4; /* 0x2B05A998: add esp, 4 */ 3105 _flag_k = FK_ADD; 3106 L_2B05A99B: 3107 edi = MEM32(esi + 0x50); /* 0x2B05A99B: mov edi, dword ptr [esi + 0x50] */ 3108 /* test edi, edi */ /* 0x2B05A99E: test edi, edi */ 3109 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3110 _cf = 0; 3111 _flag_k = FK_TEST; 3112 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A9B2; /* 0x2B05A9A0: je 0x2b05a9b2 */ 3113 L_2B05A9A2: 3114 ecx = edi; /* 0x2B05A9A2: mov ecx, edi */ 3115 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A9A4: call 0x2b05f200 */ /* not lifted */ 3116 RECOMP_FLAGS_IN(); 3117 PUSH32(esp, edi); /* 0x2B05A9A9: push edi */ 3118 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A9AA: call 0x2b0ab1ba */ /* not lifted */ 3119 RECOMP_FLAGS_IN(); 3120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3122 esp = esp + 4; /* 0x2B05A9AF: add esp, 4 */ 3123 _flag_k = FK_ADD; 3124 L_2B05A9B2: 3125 edi = MEM32(esi + 0x54); /* 0x2B05A9B2: mov edi, dword ptr [esi + 0x54] */ 3126 /* test edi, edi */ /* 0x2B05A9B5: test edi, edi */ 3127 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3128 _cf = 0; 3129 _flag_k = FK_TEST; 3130 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A9C9; /* 0x2B05A9B7: je 0x2b05a9c9 */ 3131 L_2B05A9B9: 3132 ecx = edi; /* 0x2B05A9B9: mov ecx, edi */ 3133 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A9BB: call 0x2b05f200 */ /* not lifted */ 3134 RECOMP_FLAGS_IN(); 3135 PUSH32(esp, edi); /* 0x2B05A9C0: push edi */ 3136 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A9C1: call 0x2b0ab1ba */ /* not lifted */ 3137 RECOMP_FLAGS_IN(); 3138 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3140 esp = esp + 4; /* 0x2B05A9C6: add esp, 4 */ 3141 _flag_k = FK_ADD; 3142 L_2B05A9C9: 3143 edi = MEM32(esi + 0x58); /* 0x2B05A9C9: mov edi, dword ptr [esi + 0x58] */ 3144 /* test edi, edi */ /* 0x2B05A9CC: test edi, edi */ 3145 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3146 _cf = 0; 3147 _flag_k = FK_TEST; 3148 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A9E0; /* 0x2B05A9CE: je 0x2b05a9e0 */ 3149 L_2B05A9D0: 3150 ecx = edi; /* 0x2B05A9D0: mov ecx, edi */ 3151 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A9D2: call 0x2b05f200 */ /* not lifted */ 3152 RECOMP_FLAGS_IN(); 3153 PUSH32(esp, edi); /* 0x2B05A9D7: push edi */ 3154 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A9D8: call 0x2b0ab1ba */ /* not lifted */ 3155 RECOMP_FLAGS_IN(); 3156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3158 esp = esp + 4; /* 0x2B05A9DD: add esp, 4 */ 3159 _flag_k = FK_ADD; 3160 L_2B05A9E0: 3161 edi = MEM32(esi + 0x5C); /* 0x2B05A9E0: mov edi, dword ptr [esi + 0x5c] */ 3162 /* test edi, edi */ /* 0x2B05A9E3: test edi, edi */ 3163 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3164 _cf = 0; 3165 _flag_k = FK_TEST; 3166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05A9F7; /* 0x2B05A9E5: je 0x2b05a9f7 */ 3167 L_2B05A9E7: 3168 ecx = edi; /* 0x2B05A9E7: mov ecx, edi */ 3169 RECOMP_ICALL(0x2B05F200u); /* 0x2B05A9E9: call 0x2b05f200 */ /* not lifted */ 3170 RECOMP_FLAGS_IN(); 3171 PUSH32(esp, edi); /* 0x2B05A9EE: push edi */ 3172 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05A9EF: call 0x2b0ab1ba */ /* not lifted */ 3173 RECOMP_FLAGS_IN(); 3174 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3176 esp = esp + 4; /* 0x2B05A9F4: add esp, 4 */ 3177 _flag_k = FK_ADD; 3178 L_2B05A9F7: 3179 edi = MEM32(esi + 0x60); /* 0x2B05A9F7: mov edi, dword ptr [esi + 0x60] */ 3180 /* test edi, edi */ /* 0x2B05A9FA: test edi, edi */ 3181 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3182 _cf = 0; 3183 _flag_k = FK_TEST; 3184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05AA0E; /* 0x2B05A9FC: je 0x2b05aa0e */ 3185 L_2B05A9FE: 3186 ecx = edi; /* 0x2B05A9FE: mov ecx, edi */ 3187 RECOMP_ICALL(0x2B05F200u); /* 0x2B05AA00: call 0x2b05f200 */ /* not lifted */ 3188 RECOMP_FLAGS_IN(); 3189 PUSH32(esp, edi); /* 0x2B05AA05: push edi */ 3190 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05AA06: call 0x2b0ab1ba */ /* not lifted */ 3191 RECOMP_FLAGS_IN(); 3192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3194 esp = esp + 4; /* 0x2B05AA0B: add esp, 4 */ 3195 _flag_k = FK_ADD; 3196 L_2B05AA0E: 3197 edi = MEM32(esi + 0x64); /* 0x2B05AA0E: mov edi, dword ptr [esi + 0x64] */ 3198 /* test edi, edi */ /* 0x2B05AA11: test edi, edi */ 3199 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3200 _cf = 0; 3201 _flag_k = FK_TEST; 3202 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05AA25; /* 0x2B05AA13: je 0x2b05aa25 */ 3203 L_2B05AA15: 3204 ecx = edi; /* 0x2B05AA15: mov ecx, edi */ 3205 RECOMP_ICALL(0x2B05F200u); /* 0x2B05AA17: call 0x2b05f200 */ /* not lifted */ 3206 RECOMP_FLAGS_IN(); 3207 PUSH32(esp, edi); /* 0x2B05AA1C: push edi */ 3208 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05AA1D: call 0x2b0ab1ba */ /* not lifted */ 3209 RECOMP_FLAGS_IN(); 3210 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3211 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3212 esp = esp + 4; /* 0x2B05AA22: add esp, 4 */ 3213 _flag_k = FK_ADD; 3214 L_2B05AA25: 3215 edi = MEM32(esi + 0x3C); /* 0x2B05AA25: mov edi, dword ptr [esi + 0x3c] */ 3216 /* test edi, edi */ /* 0x2B05AA28: test edi, edi */ 3217 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3218 _cf = 0; 3219 _flag_k = FK_TEST; 3220 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05AA3C; /* 0x2B05AA2A: je 0x2b05aa3c */ 3221 L_2B05AA2C: 3222 ecx = edi; /* 0x2B05AA2C: mov ecx, edi */ 3223 RECOMP_ICALL(0x2B05F670u); /* 0x2B05AA2E: call 0x2b05f670 */ /* not lifted */ 3224 RECOMP_FLAGS_IN(); 3225 PUSH32(esp, edi); /* 0x2B05AA33: push edi */ 3226 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05AA34: call 0x2b0ab1ba */ /* not lifted */ 3227 RECOMP_FLAGS_IN(); 3228 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3229 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3230 esp = esp + 4; /* 0x2B05AA39: add esp, 4 */ 3231 _flag_k = FK_ADD; 3232 L_2B05AA3C: 3233 edi = MEM32(esi + 0x40); /* 0x2B05AA3C: mov edi, dword ptr [esi + 0x40] */ 3234 /* test edi, edi */ /* 0x2B05AA3F: test edi, edi */ 3235 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3236 _cf = 0; 3237 _flag_k = FK_TEST; 3238 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05AA53; /* 0x2B05AA41: je 0x2b05aa53 */ 3239 L_2B05AA43: 3240 ecx = edi; /* 0x2B05AA43: mov ecx, edi */ 3241 RECOMP_ICALL(0x2B05F670u); /* 0x2B05AA45: call 0x2b05f670 */ /* not lifted */ 3242 RECOMP_FLAGS_IN(); 3243 PUSH32(esp, edi); /* 0x2B05AA4A: push edi */ 3244 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05AA4B: call 0x2b0ab1ba */ /* not lifted */ 3245 RECOMP_FLAGS_IN(); 3246 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3248 esp = esp + 4; /* 0x2B05AA50: add esp, 4 */ 3249 _flag_k = FK_ADD; 3250 L_2B05AA53: 3251 ecx = esi; /* 0x2B05AA53: mov ecx, esi */ 3252 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05AA55: mov dword ptr [ebp - 4], 0xffffffff */ 3253 RECOMP_ICALL(0x2B03A290u); /* 0x2B05AA5C: call 0x2b03a290 */ /* not lifted */ 3254 RECOMP_FLAGS_IN(); 3255 ecx = MEM32(ebp + (-0xC)); /* 0x2B05AA61: mov ecx, dword ptr [ebp - 0xc] */ 3256 edi = POP32_VAL(esp); /* 0x2B05AA64: pop edi */ 3257 esi = POP32_VAL(esp); /* 0x2B05AA65: pop esi */ 3258 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05AA66: mov dword ptr fs:[0], ecx */ 3259 esp = ebp; /* 0x2B05AA6D: mov esp, ebp */ 3260 ebp = POP32_VAL(esp); /* 0x2B05AA6F: pop ebp */ 3261 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AA70: ret */ 3262 RECOMP_REGS_OUT(); 3263 } 3264 3265 void sub_2B05AA80(void) { 3266 int _fpu_cmp = 0; 3267 uint32_t _cf = 0; 3268 int _df = 1; 3269 uint32_t _flag_k = FK_NONE; 3270 uint32_t _flag_a = 0, _flag_b = 0; 3271 uint32_t _itail_tgt = 0; 3272 RECOMP_REGS_LOCALS 3273 RECOMP_ENTER(0x2B05AA80u); 3274 3275 L_2B05AA80: 3276 PUSH32(esp, ebp); /* 0x2B05AA80: push ebp */ 3277 ebp = esp; /* 0x2B05AA81: mov ebp, esp */ 3278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3280 esp = esp - 8; /* 0x2B05AA83: sub esp, 8 */ 3281 _flag_k = FK_CMP; 3282 PUSH32(esp, esi); /* 0x2B05AA86: push esi */ 3283 esi = ecx; /* 0x2B05AA87: mov esi, ecx */ 3284 ecx = MEM32(esi + 0x8); /* 0x2B05AA89: mov ecx, dword ptr [esi + 8] */ 3285 eax = MEM32(esi + 0x4); /* 0x2B05AA8C: mov eax, dword ptr [esi + 4] */ 3286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 3287 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3288 ecx = ecx + 0x14u; /* 0x2B05AA8F: add ecx, 0x14 */ 3289 _flag_k = FK_ADD; 3290 PUSH32(esp, edi); /* 0x2B05AA92: push edi */ 3291 edx = ebp + (-0x8); /* 0x2B05AA93: lea edx, [ebp - 8] */ 3292 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05AA96: mov dword ptr [ebp - 4], ecx */ 3293 ecx = MEM32(esi + 0x28); /* 0x2B05AA99: mov ecx, dword ptr [esi + 0x28] */ 3294 PUSH32(esp, edx); /* 0x2B05AA9C: push edx */ 3295 MEM32(ebp + (-0x8)) = eax; /* 0x2B05AA9D: mov dword ptr [ebp - 8], eax */ 3296 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05AAA0: call dword ptr [0x2b0b5940] */ 3297 RECOMP_FLAGS_IN(); 3298 eax = MEM32(esi + 0x28); /* 0x2B05AAA6: mov eax, dword ptr [esi + 0x28] */ 3299 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05AAA9: mov byte ptr [eax + 9], 1 */ 3300 eax = MEM32(ebp + (-0x8)); /* 0x2B05AAAD: mov eax, dword ptr [ebp - 8] */ 3301 edi = MEM32(ebp + (-0x4)); /* 0x2B05AAB0: mov edi, dword ptr [ebp - 4] */ 3302 ecx = ebp + (-0x8); /* 0x2B05AAB3: lea ecx, [ebp - 8] */ 3303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5); 3304 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3305 eax = eax + 5; /* 0x2B05AAB6: add eax, 5 */ 3306 _flag_k = FK_ADD; 3307 PUSH32(esp, ecx); /* 0x2B05AAB9: push ecx */ 3308 ecx = MEM32(esi + 0x2C); /* 0x2B05AABA: mov ecx, dword ptr [esi + 0x2c] */ 3309 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFu); 3310 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3311 edi = edi + 0xFu; /* 0x2B05AABD: add edi, 0xf */ 3312 _flag_k = FK_ADD; 3313 MEM32(ebp + (-0x8)) = eax; /* 0x2B05AAC0: mov dword ptr [ebp - 8], eax */ 3314 MEM32(ebp + (-0x4)) = edi; /* 0x2B05AAC3: mov dword ptr [ebp - 4], edi */ 3315 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AAC6: call 0x2b05f300 */ /* not lifted */ 3316 RECOMP_FLAGS_IN(); 3317 ecx = MEM32(esi + 0x2C); /* 0x2B05AACB: mov ecx, dword ptr [esi + 0x2c] */ 3318 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AACE: call 0x2b05f2e0 */ /* not lifted */ 3319 RECOMP_FLAGS_IN(); 3320 ecx = MEM32(ebp + (-0x4)); /* 0x2B05AAD3: mov ecx, dword ptr [ebp - 4] */ 3321 edi = 0xCu; /* 0x2B05AAD6: mov edi, 0xc */ 3322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3324 ecx = ecx + edi; /* 0x2B05AADB: add ecx, edi */ 3325 _flag_k = FK_ADD; 3326 edx = ebp + (-0x8); /* 0x2B05AADD: lea edx, [ebp - 8] */ 3327 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05AAE0: mov dword ptr [ebp - 4], ecx */ 3328 ecx = MEM32(esi + 0x30); /* 0x2B05AAE3: mov ecx, dword ptr [esi + 0x30] */ 3329 PUSH32(esp, edx); /* 0x2B05AAE6: push edx */ 3330 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AAE7: call 0x2b05f300 */ /* not lifted */ 3331 RECOMP_FLAGS_IN(); 3332 ecx = MEM32(esi + 0x30); /* 0x2B05AAEC: mov ecx, dword ptr [esi + 0x30] */ 3333 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AAEF: call 0x2b05f2e0 */ /* not lifted */ 3334 RECOMP_FLAGS_IN(); 3335 edx = MEM32(ebp + (-0x4)); /* 0x2B05AAF4: mov edx, dword ptr [ebp - 4] */ 3336 ecx = MEM32(esi + 0x34); /* 0x2B05AAF7: mov ecx, dword ptr [esi + 0x34] */ 3337 eax = ebp + (-0x8); /* 0x2B05AAFA: lea eax, [ebp - 8] */ 3338 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3340 edx = edx + edi; /* 0x2B05AAFD: add edx, edi */ 3341 _flag_k = FK_ADD; 3342 PUSH32(esp, eax); /* 0x2B05AAFF: push eax */ 3343 MEM32(ebp + (-0x4)) = edx; /* 0x2B05AB00: mov dword ptr [ebp - 4], edx */ 3344 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB03: call 0x2b05f300 */ /* not lifted */ 3345 RECOMP_FLAGS_IN(); 3346 ecx = MEM32(esi + 0x34); /* 0x2B05AB08: mov ecx, dword ptr [esi + 0x34] */ 3347 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB0B: call 0x2b05f2e0 */ /* not lifted */ 3348 RECOMP_FLAGS_IN(); 3349 eax = MEM32(ebp + (-0x4)); /* 0x2B05AB10: mov eax, dword ptr [ebp - 4] */ 3350 ecx = ebp + (-0x8); /* 0x2B05AB13: lea ecx, [ebp - 8] */ 3351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3352 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3353 eax = eax + edi; /* 0x2B05AB16: add eax, edi */ 3354 _flag_k = FK_ADD; 3355 PUSH32(esp, ecx); /* 0x2B05AB18: push ecx */ 3356 ecx = MEM32(esi + 0x5C); /* 0x2B05AB19: mov ecx, dword ptr [esi + 0x5c] */ 3357 MEM32(ebp + (-0x4)) = eax; /* 0x2B05AB1C: mov dword ptr [ebp - 4], eax */ 3358 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB1F: call 0x2b05f300 */ /* not lifted */ 3359 RECOMP_FLAGS_IN(); 3360 ecx = MEM32(esi + 0x5C); /* 0x2B05AB24: mov ecx, dword ptr [esi + 0x5c] */ 3361 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB27: call 0x2b05f2e0 */ /* not lifted */ 3362 RECOMP_FLAGS_IN(); 3363 ecx = MEM32(ebp + (-0x4)); /* 0x2B05AB2C: mov ecx, dword ptr [ebp - 4] */ 3364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3365 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3366 ecx = ecx + edi; /* 0x2B05AB2F: add ecx, edi */ 3367 _flag_k = FK_ADD; 3368 edx = ebp + (-0x8); /* 0x2B05AB31: lea edx, [ebp - 8] */ 3369 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05AB34: mov dword ptr [ebp - 4], ecx */ 3370 ecx = MEM32(esi + 0x60); /* 0x2B05AB37: mov ecx, dword ptr [esi + 0x60] */ 3371 PUSH32(esp, edx); /* 0x2B05AB3A: push edx */ 3372 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB3B: call 0x2b05f300 */ /* not lifted */ 3373 RECOMP_FLAGS_IN(); 3374 ecx = MEM32(esi + 0x60); /* 0x2B05AB40: mov ecx, dword ptr [esi + 0x60] */ 3375 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB43: call 0x2b05f2e0 */ /* not lifted */ 3376 RECOMP_FLAGS_IN(); 3377 edx = MEM32(ebp + (-0x4)); /* 0x2B05AB48: mov edx, dword ptr [ebp - 4] */ 3378 ecx = MEM32(esi + 0x38); /* 0x2B05AB4B: mov ecx, dword ptr [esi + 0x38] */ 3379 eax = ebp + (-0x8); /* 0x2B05AB4E: lea eax, [ebp - 8] */ 3380 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3382 edx = edx + edi; /* 0x2B05AB51: add edx, edi */ 3383 _flag_k = FK_ADD; 3384 PUSH32(esp, eax); /* 0x2B05AB53: push eax */ 3385 MEM32(ebp + (-0x4)) = edx; /* 0x2B05AB54: mov dword ptr [ebp - 4], edx */ 3386 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB57: call 0x2b05f300 */ /* not lifted */ 3387 RECOMP_FLAGS_IN(); 3388 ecx = MEM32(esi + 0x38); /* 0x2B05AB5C: mov ecx, dword ptr [esi + 0x38] */ 3389 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB5F: call 0x2b05f2e0 */ /* not lifted */ 3390 RECOMP_FLAGS_IN(); 3391 eax = MEM32(ebp + (-0x4)); /* 0x2B05AB64: mov eax, dword ptr [ebp - 4] */ 3392 ecx = ebp + (-0x8); /* 0x2B05AB67: lea ecx, [ebp - 8] */ 3393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3394 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3395 eax = eax + edi; /* 0x2B05AB6A: add eax, edi */ 3396 _flag_k = FK_ADD; 3397 PUSH32(esp, ecx); /* 0x2B05AB6C: push ecx */ 3398 ecx = MEM32(esi + 0x44); /* 0x2B05AB6D: mov ecx, dword ptr [esi + 0x44] */ 3399 MEM32(ebp + (-0x4)) = eax; /* 0x2B05AB70: mov dword ptr [ebp - 4], eax */ 3400 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB73: call 0x2b05f300 */ /* not lifted */ 3401 RECOMP_FLAGS_IN(); 3402 ecx = MEM32(esi + 0x44); /* 0x2B05AB78: mov ecx, dword ptr [esi + 0x44] */ 3403 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB7B: call 0x2b05f2e0 */ /* not lifted */ 3404 RECOMP_FLAGS_IN(); 3405 ecx = MEM32(ebp + (-0x4)); /* 0x2B05AB80: mov ecx, dword ptr [ebp - 4] */ 3406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3408 ecx = ecx + edi; /* 0x2B05AB83: add ecx, edi */ 3409 _flag_k = FK_ADD; 3410 edx = ebp + (-0x8); /* 0x2B05AB85: lea edx, [ebp - 8] */ 3411 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05AB88: mov dword ptr [ebp - 4], ecx */ 3412 ecx = MEM32(esi + 0x48); /* 0x2B05AB8B: mov ecx, dword ptr [esi + 0x48] */ 3413 PUSH32(esp, edx); /* 0x2B05AB8E: push edx */ 3414 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AB8F: call 0x2b05f300 */ /* not lifted */ 3415 RECOMP_FLAGS_IN(); 3416 ecx = MEM32(esi + 0x48); /* 0x2B05AB94: mov ecx, dword ptr [esi + 0x48] */ 3417 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AB97: call 0x2b05f2e0 */ /* not lifted */ 3418 RECOMP_FLAGS_IN(); 3419 edx = MEM32(ebp + (-0x4)); /* 0x2B05AB9C: mov edx, dword ptr [ebp - 4] */ 3420 ecx = MEM32(esi + 0x4C); /* 0x2B05AB9F: mov ecx, dword ptr [esi + 0x4c] */ 3421 eax = ebp + (-0x8); /* 0x2B05ABA2: lea eax, [ebp - 8] */ 3422 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3424 edx = edx + edi; /* 0x2B05ABA5: add edx, edi */ 3425 _flag_k = FK_ADD; 3426 PUSH32(esp, eax); /* 0x2B05ABA7: push eax */ 3427 MEM32(ebp + (-0x4)) = edx; /* 0x2B05ABA8: mov dword ptr [ebp - 4], edx */ 3428 RECOMP_ICALL(0x2B05F300u); /* 0x2B05ABAB: call 0x2b05f300 */ /* not lifted */ 3429 RECOMP_FLAGS_IN(); 3430 ecx = MEM32(esi + 0x4C); /* 0x2B05ABB0: mov ecx, dword ptr [esi + 0x4c] */ 3431 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ABB3: call 0x2b05f2e0 */ /* not lifted */ 3432 RECOMP_FLAGS_IN(); 3433 eax = MEM32(ebp + (-0x4)); /* 0x2B05ABB8: mov eax, dword ptr [ebp - 4] */ 3434 ecx = ebp + (-0x8); /* 0x2B05ABBB: lea ecx, [ebp - 8] */ 3435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3437 eax = eax + edi; /* 0x2B05ABBE: add eax, edi */ 3438 _flag_k = FK_ADD; 3439 PUSH32(esp, ecx); /* 0x2B05ABC0: push ecx */ 3440 ecx = MEM32(esi + 0x50); /* 0x2B05ABC1: mov ecx, dword ptr [esi + 0x50] */ 3441 MEM32(ebp + (-0x4)) = eax; /* 0x2B05ABC4: mov dword ptr [ebp - 4], eax */ 3442 RECOMP_ICALL(0x2B05F300u); /* 0x2B05ABC7: call 0x2b05f300 */ /* not lifted */ 3443 RECOMP_FLAGS_IN(); 3444 ecx = MEM32(esi + 0x50); /* 0x2B05ABCC: mov ecx, dword ptr [esi + 0x50] */ 3445 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ABCF: call 0x2b05f2e0 */ /* not lifted */ 3446 RECOMP_FLAGS_IN(); 3447 ecx = MEM32(ebp + (-0x4)); /* 0x2B05ABD4: mov ecx, dword ptr [ebp - 4] */ 3448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3449 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3450 ecx = ecx + edi; /* 0x2B05ABD7: add ecx, edi */ 3451 _flag_k = FK_ADD; 3452 edx = ebp + (-0x8); /* 0x2B05ABD9: lea edx, [ebp - 8] */ 3453 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ABDC: mov dword ptr [ebp - 4], ecx */ 3454 ecx = MEM32(esi + 0x54); /* 0x2B05ABDF: mov ecx, dword ptr [esi + 0x54] */ 3455 PUSH32(esp, edx); /* 0x2B05ABE2: push edx */ 3456 RECOMP_ICALL(0x2B05F300u); /* 0x2B05ABE3: call 0x2b05f300 */ /* not lifted */ 3457 RECOMP_FLAGS_IN(); 3458 ecx = MEM32(esi + 0x54); /* 0x2B05ABE8: mov ecx, dword ptr [esi + 0x54] */ 3459 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ABEB: call 0x2b05f2e0 */ /* not lifted */ 3460 RECOMP_FLAGS_IN(); 3461 edx = MEM32(ebp + (-0x4)); /* 0x2B05ABF0: mov edx, dword ptr [ebp - 4] */ 3462 ecx = MEM32(esi + 0x58); /* 0x2B05ABF3: mov ecx, dword ptr [esi + 0x58] */ 3463 eax = ebp + (-0x8); /* 0x2B05ABF6: lea eax, [ebp - 8] */ 3464 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3466 edx = edx + edi; /* 0x2B05ABF9: add edx, edi */ 3467 _flag_k = FK_ADD; 3468 PUSH32(esp, eax); /* 0x2B05ABFB: push eax */ 3469 MEM32(ebp + (-0x4)) = edx; /* 0x2B05ABFC: mov dword ptr [ebp - 4], edx */ 3470 RECOMP_ICALL(0x2B05F300u); /* 0x2B05ABFF: call 0x2b05f300 */ /* not lifted */ 3471 RECOMP_FLAGS_IN(); 3472 ecx = MEM32(esi + 0x58); /* 0x2B05AC04: mov ecx, dword ptr [esi + 0x58] */ 3473 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AC07: call 0x2b05f2e0 */ /* not lifted */ 3474 RECOMP_FLAGS_IN(); 3475 eax = MEM32(ebp + (-0x4)); /* 0x2B05AC0C: mov eax, dword ptr [ebp - 4] */ 3476 ecx = ebp + (-0x8); /* 0x2B05AC0F: lea ecx, [ebp - 8] */ 3477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3479 eax = eax + edi; /* 0x2B05AC12: add eax, edi */ 3480 _flag_k = FK_ADD; 3481 PUSH32(esp, ecx); /* 0x2B05AC14: push ecx */ 3482 ecx = MEM32(esi + 0x64); /* 0x2B05AC15: mov ecx, dword ptr [esi + 0x64] */ 3483 MEM32(ebp + (-0x4)) = eax; /* 0x2B05AC18: mov dword ptr [ebp - 4], eax */ 3484 RECOMP_ICALL(0x2B05F300u); /* 0x2B05AC1B: call 0x2b05f300 */ /* not lifted */ 3485 RECOMP_FLAGS_IN(); 3486 ecx = MEM32(esi + 0x64); /* 0x2B05AC20: mov ecx, dword ptr [esi + 0x64] */ 3487 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05AC23: call 0x2b05f2e0 */ /* not lifted */ 3488 RECOMP_FLAGS_IN(); 3489 eax = MEM32(ebp + (-0x4)); /* 0x2B05AC28: mov eax, dword ptr [ebp - 4] */ 3490 ecx = MEM32(esi + 0x3C); /* 0x2B05AC2B: mov ecx, dword ptr [esi + 0x3c] */ 3491 edx = ebp + (-0x8); /* 0x2B05AC2E: lea edx, [ebp - 8] */ 3492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x24u); 3493 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3494 eax = eax + 0x24u; /* 0x2B05AC31: add eax, 0x24 */ 3495 _flag_k = FK_ADD; 3496 PUSH32(esp, edx); /* 0x2B05AC34: push edx */ 3497 MEM32(ebp + (-0x4)) = eax; /* 0x2B05AC35: mov dword ptr [ebp - 4], eax */ 3498 RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05AC38: call 0x2b05f7b0 */ /* not lifted */ 3499 RECOMP_FLAGS_IN(); 3500 ecx = MEM32(esi + 0x3C); /* 0x2B05AC3D: mov ecx, dword ptr [esi + 0x3c] */ 3501 RECOMP_ICALL(0x2B05F790u); /* 0x2B05AC40: call 0x2b05f790 */ /* not lifted */ 3502 RECOMP_FLAGS_IN(); 3503 edx = MEM32(ebp + (-0x4)); /* 0x2B05AC45: mov edx, dword ptr [ebp - 4] */ 3504 ecx = MEM32(esi + 0x40); /* 0x2B05AC48: mov ecx, dword ptr [esi + 0x40] */ 3505 eax = ebp + (-0x8); /* 0x2B05AC4B: lea eax, [ebp - 8] */ 3506 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u); 3507 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3508 edx = edx + 0x18u; /* 0x2B05AC4E: add edx, 0x18 */ 3509 _flag_k = FK_ADD; 3510 PUSH32(esp, eax); /* 0x2B05AC51: push eax */ 3511 MEM32(ebp + (-0x4)) = edx; /* 0x2B05AC52: mov dword ptr [ebp - 4], edx */ 3512 RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05AC55: call 0x2b05f7b0 */ /* not lifted */ 3513 RECOMP_FLAGS_IN(); 3514 ecx = MEM32(esi + 0x40); /* 0x2B05AC5A: mov ecx, dword ptr [esi + 0x40] */ 3515 RECOMP_ICALL(0x2B05F790u); /* 0x2B05AC5D: call 0x2b05f790 */ /* not lifted */ 3516 RECOMP_FLAGS_IN(); 3517 edi = POP32_VAL(esp); /* 0x2B05AC62: pop edi */ 3518 esi = POP32_VAL(esp); /* 0x2B05AC63: pop esi */ 3519 esp = ebp; /* 0x2B05AC64: mov esp, ebp */ 3520 ebp = POP32_VAL(esp); /* 0x2B05AC66: pop ebp */ 3521 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AC67: ret */ 3522 RECOMP_REGS_OUT(); 3523 } 3524 3525 void sub_2B05AC70(void) { 3526 int _fpu_cmp = 0; 3527 uint32_t _cf = 0; 3528 int _df = 1; 3529 uint32_t _flag_k = FK_NONE; 3530 uint32_t _flag_a = 0, _flag_b = 0; 3531 uint32_t _itail_tgt = 0; 3532 RECOMP_REGS_LOCALS 3533 RECOMP_ENTER(0x2B05AC70u); 3534 3535 L_2B05AC70: 3536 PUSH32(esp, esi); /* 0x2B05AC70: push esi */ 3537 esi = ecx; /* 0x2B05AC71: mov esi, ecx */ 3538 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05AC73: mov al, byte ptr [esi + 0xc] */ 3539 /* test LO8(eax), LO8(eax) */ /* 0x2B05AC76: test al, al */ 3540 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3541 _cf = 0; 3542 _flag_k = FK_NARROW(FK_TEST, 24); 3543 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05ACF9; /* 0x2B05AC78: je 0x2b05acf9 */ 3544 L_2B05AC7A: 3545 eax = MEM32(esi + 0x28); /* 0x2B05AC7A: mov eax, dword ptr [esi + 0x28] */ 3546 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05AC7D: mov byte ptr [eax + 8], 1 */ 3547 ecx = MEM32(esi + 0x2C); /* 0x2B05AC81: mov ecx, dword ptr [esi + 0x2c] */ 3548 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05AC84: call 0x2b05f2a0 */ /* not lifted */ 3549 RECOMP_FLAGS_IN(); 3550 ecx = MEM32(esi + 0x30); /* 0x2B05AC89: mov ecx, dword ptr [esi + 0x30] */ 3551 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05AC8C: call 0x2b05f2a0 */ /* not lifted */ 3552 RECOMP_FLAGS_IN(); 3553 ecx = MEM32(esi + 0x34); /* 0x2B05AC91: mov ecx, dword ptr [esi + 0x34] */ 3554 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05AC94: call 0x2b05f2a0 */ /* not lifted */ 3555 RECOMP_FLAGS_IN(); 3556 ecx = MEM32(esi + 0x38); /* 0x2B05AC99: mov ecx, dword ptr [esi + 0x38] */ 3557 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05AC9C: call 0x2b05f2a0 */ /* not lifted */ 3558 RECOMP_FLAGS_IN(); 3559 ecx = MEM32(esi + 0x44); /* 0x2B05ACA1: mov ecx, dword ptr [esi + 0x44] */ 3560 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACA4: call 0x2b05f2a0 */ /* not lifted */ 3561 RECOMP_FLAGS_IN(); 3562 ecx = MEM32(esi + 0x48); /* 0x2B05ACA9: mov ecx, dword ptr [esi + 0x48] */ 3563 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACAC: call 0x2b05f2a0 */ /* not lifted */ 3564 RECOMP_FLAGS_IN(); 3565 ecx = MEM32(esi + 0x4C); /* 0x2B05ACB1: mov ecx, dword ptr [esi + 0x4c] */ 3566 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACB4: call 0x2b05f2a0 */ /* not lifted */ 3567 RECOMP_FLAGS_IN(); 3568 ecx = MEM32(esi + 0x50); /* 0x2B05ACB9: mov ecx, dword ptr [esi + 0x50] */ 3569 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACBC: call 0x2b05f2a0 */ /* not lifted */ 3570 RECOMP_FLAGS_IN(); 3571 ecx = MEM32(esi + 0x54); /* 0x2B05ACC1: mov ecx, dword ptr [esi + 0x54] */ 3572 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACC4: call 0x2b05f2a0 */ /* not lifted */ 3573 RECOMP_FLAGS_IN(); 3574 ecx = MEM32(esi + 0x58); /* 0x2B05ACC9: mov ecx, dword ptr [esi + 0x58] */ 3575 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACCC: call 0x2b05f2a0 */ /* not lifted */ 3576 RECOMP_FLAGS_IN(); 3577 ecx = MEM32(esi + 0x5C); /* 0x2B05ACD1: mov ecx, dword ptr [esi + 0x5c] */ 3578 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACD4: call 0x2b05f2a0 */ /* not lifted */ 3579 RECOMP_FLAGS_IN(); 3580 ecx = MEM32(esi + 0x60); /* 0x2B05ACD9: mov ecx, dword ptr [esi + 0x60] */ 3581 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACDC: call 0x2b05f2a0 */ /* not lifted */ 3582 RECOMP_FLAGS_IN(); 3583 ecx = MEM32(esi + 0x64); /* 0x2B05ACE1: mov ecx, dword ptr [esi + 0x64] */ 3584 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05ACE4: call 0x2b05f2a0 */ /* not lifted */ 3585 RECOMP_FLAGS_IN(); 3586 ecx = MEM32(esi + 0x3C); /* 0x2B05ACE9: mov ecx, dword ptr [esi + 0x3c] */ 3587 RECOMP_ICALL(0x2B05F750u); /* 0x2B05ACEC: call 0x2b05f750 */ /* not lifted */ 3588 RECOMP_FLAGS_IN(); 3589 ecx = MEM32(esi + 0x40); /* 0x2B05ACF1: mov ecx, dword ptr [esi + 0x40] */ 3590 RECOMP_ICALL(0x2B05F750u); /* 0x2B05ACF4: call 0x2b05f750 */ /* not lifted */ 3591 RECOMP_FLAGS_IN(); 3592 L_2B05ACF9: 3593 esi = POP32_VAL(esp); /* 0x2B05ACF9: pop esi */ 3594 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05ACFA: ret */ 3595 RECOMP_REGS_OUT(); 3596 } 3597 3598 void sub_2B05AD00(void) { 3599 int _fpu_cmp = 0; 3600 uint32_t _cf = 0; 3601 int _df = 1; 3602 uint32_t _flag_k = FK_NONE; 3603 uint32_t _flag_a = 0, _flag_b = 0; 3604 uint32_t _itail_tgt = 0; 3605 RECOMP_REGS_LOCALS 3606 RECOMP_ENTER(0x2B05AD00u); 3607 3608 L_2B05AD00: 3609 PUSH32(esp, esi); /* 0x2B05AD00: push esi */ 3610 esi = ecx; /* 0x2B05AD01: mov esi, ecx */ 3611 eax = MEM32(esi + 0x28); /* 0x2B05AD03: mov eax, dword ptr [esi + 0x28] */ 3612 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05AD06: mov byte ptr [eax + 8], 0 */ 3613 ecx = MEM32(esi + 0x2C); /* 0x2B05AD0A: mov ecx, dword ptr [esi + 0x2c] */ 3614 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD0D: call 0x2b05f2c0 */ /* not lifted */ 3615 RECOMP_FLAGS_IN(); 3616 ecx = MEM32(esi + 0x30); /* 0x2B05AD12: mov ecx, dword ptr [esi + 0x30] */ 3617 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD15: call 0x2b05f2c0 */ /* not lifted */ 3618 RECOMP_FLAGS_IN(); 3619 ecx = MEM32(esi + 0x34); /* 0x2B05AD1A: mov ecx, dword ptr [esi + 0x34] */ 3620 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD1D: call 0x2b05f2c0 */ /* not lifted */ 3621 RECOMP_FLAGS_IN(); 3622 ecx = MEM32(esi + 0x38); /* 0x2B05AD22: mov ecx, dword ptr [esi + 0x38] */ 3623 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD25: call 0x2b05f2c0 */ /* not lifted */ 3624 RECOMP_FLAGS_IN(); 3625 ecx = MEM32(esi + 0x44); /* 0x2B05AD2A: mov ecx, dword ptr [esi + 0x44] */ 3626 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD2D: call 0x2b05f2c0 */ /* not lifted */ 3627 RECOMP_FLAGS_IN(); 3628 ecx = MEM32(esi + 0x48); /* 0x2B05AD32: mov ecx, dword ptr [esi + 0x48] */ 3629 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD35: call 0x2b05f2c0 */ /* not lifted */ 3630 RECOMP_FLAGS_IN(); 3631 ecx = MEM32(esi + 0x4C); /* 0x2B05AD3A: mov ecx, dword ptr [esi + 0x4c] */ 3632 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD3D: call 0x2b05f2c0 */ /* not lifted */ 3633 RECOMP_FLAGS_IN(); 3634 ecx = MEM32(esi + 0x50); /* 0x2B05AD42: mov ecx, dword ptr [esi + 0x50] */ 3635 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD45: call 0x2b05f2c0 */ /* not lifted */ 3636 RECOMP_FLAGS_IN(); 3637 ecx = MEM32(esi + 0x54); /* 0x2B05AD4A: mov ecx, dword ptr [esi + 0x54] */ 3638 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD4D: call 0x2b05f2c0 */ /* not lifted */ 3639 RECOMP_FLAGS_IN(); 3640 ecx = MEM32(esi + 0x58); /* 0x2B05AD52: mov ecx, dword ptr [esi + 0x58] */ 3641 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD55: call 0x2b05f2c0 */ /* not lifted */ 3642 RECOMP_FLAGS_IN(); 3643 ecx = MEM32(esi + 0x5C); /* 0x2B05AD5A: mov ecx, dword ptr [esi + 0x5c] */ 3644 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD5D: call 0x2b05f2c0 */ /* not lifted */ 3645 RECOMP_FLAGS_IN(); 3646 ecx = MEM32(esi + 0x60); /* 0x2B05AD62: mov ecx, dword ptr [esi + 0x60] */ 3647 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD65: call 0x2b05f2c0 */ /* not lifted */ 3648 RECOMP_FLAGS_IN(); 3649 ecx = MEM32(esi + 0x3C); /* 0x2B05AD6A: mov ecx, dword ptr [esi + 0x3c] */ 3650 RECOMP_ICALL(0x2B05F770u); /* 0x2B05AD6D: call 0x2b05f770 */ /* not lifted */ 3651 RECOMP_FLAGS_IN(); 3652 ecx = MEM32(esi + 0x40); /* 0x2B05AD72: mov ecx, dword ptr [esi + 0x40] */ 3653 RECOMP_ICALL(0x2B05F770u); /* 0x2B05AD75: call 0x2b05f770 */ /* not lifted */ 3654 RECOMP_FLAGS_IN(); 3655 ecx = MEM32(esi + 0x64); /* 0x2B05AD7A: mov ecx, dword ptr [esi + 0x64] */ 3656 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05AD7D: call 0x2b05f2c0 */ /* not lifted */ 3657 RECOMP_FLAGS_IN(); 3658 esi = POP32_VAL(esp); /* 0x2B05AD82: pop esi */ 3659 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AD83: ret */ 3660 RECOMP_REGS_OUT(); 3661 } 3662 3663 void sub_2B05AD90(void) { 3664 int _fpu_cmp = 0; 3665 uint32_t _cf = 0; 3666 int _df = 1; 3667 uint32_t _flag_k = FK_NONE; 3668 uint32_t _flag_a = 0, _flag_b = 0; 3669 uint32_t _itail_tgt = 0; 3670 RECOMP_REGS_LOCALS 3671 RECOMP_ENTER(0x2B05AD90u); 3672 3673 L_2B05AD90: 3674 PUSH32(esp, ebp); /* 0x2B05AD90: push ebp */ 3675 ebp = esp; /* 0x2B05AD91: mov ebp, esp */ 3676 ecx = MEM32(0x2B0EEBCC); /* 0x2B05AD93: mov ecx, dword ptr [0x2b0eebcc] */ 3677 /* test ecx, ecx */ /* 0x2B05AD99: test ecx, ecx */ 3678 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3679 _cf = 0; 3680 _flag_k = FK_TEST; 3681 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05ADB3; /* 0x2B05AD9B: je 0x2b05adb3 */ 3682 L_2B05AD9D: 3683 eax = MEM32(ebp + 0x10); /* 0x2B05AD9D: mov eax, dword ptr [ebp + 0x10] */ 3684 edx = MEM32(ebp + 0xC); /* 0x2B05ADA0: mov edx, dword ptr [ebp + 0xc] */ 3685 PUSH32(esp, eax); /* 0x2B05ADA3: push eax */ 3686 eax = MEM32(ebp + 0x8); /* 0x2B05ADA4: mov eax, dword ptr [ebp + 8] */ 3687 fp_push(*(double*)ADDR(eax)); /* 0x2B05ADA7: fld qword ptr [eax] */ 3688 PUSH32(esp, edx); /* 0x2B05ADA9: push edx */ 3689 PUSH32(esp, ecx); /* 0x2B05ADAA: push ecx */ 3690 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B05ADAB: fstp dword ptr [esp] */ 3691 RECOMP_ICALL(0x2B05ADC0u); /* 0x2B05ADAE: call 0x2b05adc0 */ /* not lifted */ 3692 RECOMP_FLAGS_IN(); 3693 L_2B05ADB3: 3694 ebp = POP32_VAL(esp); /* 0x2B05ADB3: pop ebp */ 3695 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05ADB4: ret */ 3696 RECOMP_REGS_OUT(); 3697 } 3698 3699 void sub_2B05ADC0(void) { 3700 int _fpu_cmp = 0; 3701 uint32_t _cf = 0; 3702 int _df = 1; 3703 uint32_t _flag_k = FK_NONE; 3704 uint32_t _flag_a = 0, _flag_b = 0; 3705 uint32_t _itail_tgt = 0; 3706 RECOMP_REGS_LOCALS 3707 RECOMP_ENTER(0x2B05ADC0u); 3708 3709 L_2B05ADC0: 3710 PUSH32(esp, ebp); /* 0x2B05ADC0: push ebp */ 3711 ebp = esp; /* 0x2B05ADC1: mov ebp, esp */ 3712 eax = MEM32(ebp + 0xC); /* 0x2B05ADC3: mov eax, dword ptr [ebp + 0xc] */ 3713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0); 3714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3715 eax = eax - 0; /* 0x2B05ADC6: sub eax, 0 */ 3716 _flag_k = FK_CMP; 3717 PUSH32(esp, esi); /* 0x2B05ADC9: push esi */ 3718 esi = ecx; /* 0x2B05ADCA: mov esi, ecx */ 3719 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B05AE0A; /* 0x2B05ADCC: je 0x2b05ae0a */ 3720 L_2B05ADCE: 3721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3722 eax = eax - 1; /* 0x2B05ADCE: dec eax */ 3723 _flag_k = FK_DEC; 3724 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B05AE36; /* 0x2B05ADCF: jne 0x2b05ae36 */ 3725 L_2B05ADD1: 3726 SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B05ADD1: mov dl, byte ptr [ebp + 0x10] */ 3727 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05ADD4: fld dword ptr [ebp + 8] */ 3728 _st[0] *= (double)*(float*)ADDR(0x2B0B6764); /* 0x2B05ADD7: fmul dword ptr [0x2b0b6764] */ 3729 /* test LO8(edx), LO8(edx) */ /* 0x2B05ADDD: test dl, dl */ 3730 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3731 _cf = 0; 3732 _flag_k = FK_NARROW(FK_TEST, 24); 3733 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B05ADDF: sete al */ 3734 PUSH32(esp, eax); /* 0x2B05ADE2: push eax */ 3735 PUSH32(esp, 1); /* 0x2B05ADE3: push 1 */ 3736 RECOMP_ICALL(0x2B0AB220u); /* 0x2B05ADE5: call 0x2b0ab220 */ /* not lifted */ 3737 RECOMP_FLAGS_IN(); 3738 ecx = MEM32(0x2B0B6048); /* 0x2B05ADEA: mov ecx, dword ptr [0x2b0b6048] */ 3739 ecx = MEM32(ecx); /* 0x2B05ADF0: mov ecx, dword ptr [ecx] */ 3740 PUSH32(esp, eax); /* 0x2B05ADF2: push eax */ 3741 PUSH32(esp, 0x2B0E8AD8u); /* 0x2B05ADF3: push 0x2b0e8ad8 */ 3742 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05ADF8: call dword ptr [0x2b0b604c] */ 3743 RECOMP_FLAGS_IN(); 3744 ecx = esi; /* 0x2B05ADFE: mov ecx, esi */ 3745 RECOMP_ICALL(0x2B05AE50u); /* 0x2B05AE00: call 0x2b05ae50 */ /* not lifted */ 3746 RECOMP_FLAGS_IN(); 3747 esi = POP32_VAL(esp); /* 0x2B05AE05: pop esi */ 3748 ebp = POP32_VAL(esp); /* 0x2B05AE06: pop ebp */ 3749 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B05AE07: ret 0xc */ 3750 L_2B05AE0A: 3751 SET_LO8(ecx, MEM8(ebp + 0x10)); /* 0x2B05AE0A: mov cl, byte ptr [ebp + 0x10] */ 3752 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05AE0D: fld dword ptr [ebp + 8] */ 3753 _st[0] *= (double)*(float*)ADDR(0x2B0B6764); /* 0x2B05AE10: fmul dword ptr [0x2b0b6764] */ 3754 /* test LO8(ecx), LO8(ecx) */ /* 0x2B05AE16: test cl, cl */ 3755 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3756 _cf = 0; 3757 _flag_k = FK_NARROW(FK_TEST, 24); 3758 SET_LO8(edx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B05AE18: sete dl */ 3759 PUSH32(esp, edx); /* 0x2B05AE1B: push edx */ 3760 PUSH32(esp, 1); /* 0x2B05AE1C: push 1 */ 3761 RECOMP_ICALL(0x2B0AB220u); /* 0x2B05AE1E: call 0x2b0ab220 */ /* not lifted */ 3762 RECOMP_FLAGS_IN(); 3763 PUSH32(esp, eax); /* 0x2B05AE23: push eax */ 3764 eax = MEM32(0x2B0B6048); /* 0x2B05AE24: mov eax, dword ptr [0x2b0b6048] */ 3765 ecx = MEM32(eax); /* 0x2B05AE29: mov ecx, dword ptr [eax] */ 3766 PUSH32(esp, 0x2B0E8ABCu); /* 0x2B05AE2B: push 0x2b0e8abc */ 3767 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05AE30: call dword ptr [0x2b0b604c] */ 3768 RECOMP_FLAGS_IN(); 3769 L_2B05AE36: 3770 ecx = esi; /* 0x2B05AE36: mov ecx, esi */ 3771 RECOMP_ICALL(0x2B05AE50u); /* 0x2B05AE38: call 0x2b05ae50 */ /* not lifted */ 3772 RECOMP_FLAGS_IN(); 3773 esi = POP32_VAL(esp); /* 0x2B05AE3D: pop esi */ 3774 ebp = POP32_VAL(esp); /* 0x2B05AE3E: pop ebp */ 3775 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B05AE3F: ret 0xc */ 3776 RECOMP_REGS_OUT(); 3777 } 3778 3779 void sub_2B05AE50(void) { 3780 int _fpu_cmp = 0; 3781 uint32_t _cf = 0; 3782 int _df = 1; 3783 uint32_t _flag_k = FK_NONE; 3784 uint32_t _flag_a = 0, _flag_b = 0; 3785 uint32_t _itail_tgt = 0; 3786 RECOMP_REGS_LOCALS 3787 RECOMP_ENTER(0x2B05AE50u); 3788 3789 L_2B05AE50: 3790 PUSH32(esp, ebp); /* 0x2B05AE50: push ebp */ 3791 ebp = esp; /* 0x2B05AE51: mov ebp, esp */ 3792 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 3793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3794 esp = esp - 0x24u; /* 0x2B05AE53: sub esp, 0x24 */ 3795 _flag_k = FK_CMP; 3796 eax = MEM32(0x2B0B6048); /* 0x2B05AE56: mov eax, dword ptr [0x2b0b6048] */ 3797 PUSH32(esp, ebx); /* 0x2B05AE5B: push ebx */ 3798 ebx = MEM32(0x2B0B602C); /* 0x2B05AE5C: mov ebx, dword ptr [0x2b0b602c] */ 3799 PUSH32(esp, esi); /* 0x2B05AE62: push esi */ 3800 PUSH32(esp, edi); /* 0x2B05AE63: push edi */ 3801 PUSH32(esp, 1); /* 0x2B05AE64: push 1 */ 3802 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05AE66: mov dword ptr [ebp - 4], ecx */ 3803 ecx = MEM32(eax); /* 0x2B05AE69: mov ecx, dword ptr [eax] */ 3804 PUSH32(esp, 0x2B0E8AD8u); /* 0x2B05AE6B: push 0x2b0e8ad8 */ 3805 RECOMP_ICALL(ebx); /* 0x2B05AE70: call ebx */ 3806 RECOMP_FLAGS_IN(); 3807 /* test eax, eax */ /* 0x2B05AE72: test eax, eax */ 3808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3809 _cf = 0; 3810 _flag_k = FK_TEST; 3811 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05AE80; /* 0x2B05AE74: jne 0x2b05ae80 */ 3812 L_2B05AE76: 3813 edx = ebp + (-0x24); /* 0x2B05AE76: lea edx, [ebp - 0x24] */ 3814 edi = 0x2B0E8CA4u; /* 0x2B05AE79: mov edi, 0x2b0e8ca4 */ 3815 goto L_2B05AEA1; /* 0x2B05AE7E: jmp 0x2b05aea1 */ 3816 L_2B05AE80: 3817 /* cmp eax, 1 */ /* 0x2B05AE80: cmp eax, 1 */ 3818 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3820 _flag_k = FK_CMP; 3821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05AE8F; /* 0x2B05AE83: jne 0x2b05ae8f */ 3822 L_2B05AE85: 3823 edx = ebp + (-0x24); /* 0x2B05AE85: lea edx, [ebp - 0x24] */ 3824 edi = 0x2B0E8C9Cu; /* 0x2B05AE88: mov edi, 0x2b0e8c9c */ 3825 goto L_2B05AEA1; /* 0x2B05AE8D: jmp 0x2b05aea1 */ 3826 L_2B05AE8F: 3827 /* cmp eax, 2 */ /* 0x2B05AE8F: cmp eax, 2 */ 3828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3830 _flag_k = FK_CMP; 3831 edx = ebp + (-0x24); /* 0x2B05AE92: lea edx, [ebp - 0x24] */ 3832 edi = 0x2B0E7338u; /* 0x2B05AE95: mov edi, 0x2b0e7338 */ 3833 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05AEA1; /* 0x2B05AE9A: je 0x2b05aea1 */ 3834 L_2B05AE9C: 3835 edi = 0x2B0E8C90u; /* 0x2B05AE9C: mov edi, 0x2b0e8c90 */ 3836 L_2B05AEA1: 3837 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3838 ecx = ecx | 0xFFFFFFFFu; /* 0x2B05AEA1: or ecx, 0xffffffff */ 3839 _cf = 0; 3840 _flag_k = FK_TEST; 3841 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3842 eax = 0; /* 0x2B05AEA4: xor eax, eax */ 3843 _cf = 0; 3844 _flag_k = FK_TEST; 3845 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B05AEA6: repne scasb al, byte ptr es:[edi] */ 3846 ecx = ~ecx; /* 0x2B05AEA8: not ecx */ 3847 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3849 edi = edi - ecx; /* 0x2B05AEAA: sub edi, ecx */ 3850 _flag_k = FK_CMP; 3851 eax = ecx; /* 0x2B05AEAC: mov eax, ecx */ 3852 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05AEAE: shr ecx, 2 */ 3853 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3854 ecx = ecx >> 2u; /* 0x2B05AEAE: shr ecx, 2 */ 3855 esi = edi; /* 0x2B05AEB1: mov esi, edi */ 3856 edi = edx; /* 0x2B05AEB3: mov edi, edx */ 3857 edx = MEM32(ebp + (-0x4)); /* 0x2B05AEB5: mov edx, dword ptr [ebp - 4] */ 3858 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05AEB8: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3859 ecx = eax; /* 0x2B05AEBA: mov ecx, eax */ 3860 eax = MEM32(edx + 0x3C); /* 0x2B05AEBC: mov eax, dword ptr [edx + 0x3c] */ 3861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3862 ecx = ecx & 3; /* 0x2B05AEBF: and ecx, 3 */ 3863 _cf = 0; 3864 _flag_k = FK_TEST; 3865 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05AEC2: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3866 ecx = ebp + (-0x24); /* 0x2B05AEC4: lea ecx, [ebp - 0x24] */ 3867 PUSH32(esp, ecx); /* 0x2B05AEC7: push ecx */ 3868 ecx = MEM32(eax + 0x8); /* 0x2B05AEC8: mov ecx, dword ptr [eax + 8] */ 3869 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05AECB: call dword ptr [0x2b0b5850] */ 3870 RECOMP_FLAGS_IN(); 3871 ecx = MEM32(0x2B0B6048); /* 0x2B05AED1: mov ecx, dword ptr [0x2b0b6048] */ 3872 ecx = MEM32(ecx); /* 0x2B05AED7: mov ecx, dword ptr [ecx] */ 3873 PUSH32(esp, 1); /* 0x2B05AED9: push 1 */ 3874 PUSH32(esp, 0x2B0E8ABCu); /* 0x2B05AEDB: push 0x2b0e8abc */ 3875 RECOMP_ICALL(ebx); /* 0x2B05AEE0: call ebx */ 3876 RECOMP_FLAGS_IN(); 3877 /* test eax, eax */ /* 0x2B05AEE2: test eax, eax */ 3878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3879 _cf = 0; 3880 _flag_k = FK_TEST; 3881 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05AEF0; /* 0x2B05AEE4: jne 0x2b05aef0 */ 3882 L_2B05AEE6: 3883 edx = ebp + (-0x24); /* 0x2B05AEE6: lea edx, [ebp - 0x24] */ 3884 edi = 0x2B0E8C9Cu; /* 0x2B05AEE9: mov edi, 0x2b0e8c9c */ 3885 goto L_2B05AF11; /* 0x2B05AEEE: jmp 0x2b05af11 */ 3886 L_2B05AEF0: 3887 /* cmp eax, 1 */ /* 0x2B05AEF0: cmp eax, 1 */ 3888 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3890 _flag_k = FK_CMP; 3891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05AEFF; /* 0x2B05AEF3: jne 0x2b05aeff */ 3892 L_2B05AEF5: 3893 edx = ebp + (-0x24); /* 0x2B05AEF5: lea edx, [ebp - 0x24] */ 3894 edi = 0x2B0E8BD4u; /* 0x2B05AEF8: mov edi, 0x2b0e8bd4 */ 3895 goto L_2B05AF11; /* 0x2B05AEFD: jmp 0x2b05af11 */ 3896 L_2B05AEFF: 3897 /* cmp eax, 2 */ /* 0x2B05AEFF: cmp eax, 2 */ 3898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3900 _flag_k = FK_CMP; 3901 edx = ebp + (-0x24); /* 0x2B05AF02: lea edx, [ebp - 0x24] */ 3902 edi = 0x2B0E8C84u; /* 0x2B05AF05: mov edi, 0x2b0e8c84 */ 3903 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05AF11; /* 0x2B05AF0A: je 0x2b05af11 */ 3904 L_2B05AF0C: 3905 edi = 0x2B0E8C90u; /* 0x2B05AF0C: mov edi, 0x2b0e8c90 */ 3906 L_2B05AF11: 3907 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3908 ecx = ecx | 0xFFFFFFFFu; /* 0x2B05AF11: or ecx, 0xffffffff */ 3909 _cf = 0; 3910 _flag_k = FK_TEST; 3911 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3912 eax = 0; /* 0x2B05AF14: xor eax, eax */ 3913 _cf = 0; 3914 _flag_k = FK_TEST; 3915 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B05AF16: repne scasb al, byte ptr es:[edi] */ 3916 ecx = ~ecx; /* 0x2B05AF18: not ecx */ 3917 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3919 edi = edi - ecx; /* 0x2B05AF1A: sub edi, ecx */ 3920 _flag_k = FK_CMP; 3921 eax = ecx; /* 0x2B05AF1C: mov eax, ecx */ 3922 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05AF1E: shr ecx, 2 */ 3923 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3924 ecx = ecx >> 2u; /* 0x2B05AF1E: shr ecx, 2 */ 3925 esi = edi; /* 0x2B05AF21: mov esi, edi */ 3926 edi = edx; /* 0x2B05AF23: mov edi, edx */ 3927 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05AF25: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3928 ecx = eax; /* 0x2B05AF27: mov ecx, eax */ 3929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3930 ecx = ecx & 3; /* 0x2B05AF29: and ecx, 3 */ 3931 _cf = 0; 3932 _flag_k = FK_TEST; 3933 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05AF2C: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3934 esi = MEM32(ebp + (-0x4)); /* 0x2B05AF2E: mov esi, dword ptr [ebp - 4] */ 3935 edx = MEM32(esi + 0x40); /* 0x2B05AF31: mov edx, dword ptr [esi + 0x40] */ 3936 ecx = ebp + (-0x24); /* 0x2B05AF34: lea ecx, [ebp - 0x24] */ 3937 PUSH32(esp, ecx); /* 0x2B05AF37: push ecx */ 3938 ecx = MEM32(edx + 0x8); /* 0x2B05AF38: mov ecx, dword ptr [edx + 8] */ 3939 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05AF3B: call dword ptr [0x2b0b5850] */ 3940 RECOMP_FLAGS_IN(); 3941 ecx = esi; /* 0x2B05AF41: mov ecx, esi */ 3942 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05AF43: call 0x2b03a2b0 */ /* not lifted */ 3943 RECOMP_FLAGS_IN(); 3944 edi = POP32_VAL(esp); /* 0x2B05AF48: pop edi */ 3945 esi = POP32_VAL(esp); /* 0x2B05AF49: pop esi */ 3946 ebx = POP32_VAL(esp); /* 0x2B05AF4A: pop ebx */ 3947 esp = ebp; /* 0x2B05AF4B: mov esp, ebp */ 3948 ebp = POP32_VAL(esp); /* 0x2B05AF4D: pop ebp */ 3949 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AF4E: ret */ 3950 RECOMP_REGS_OUT(); 3951 } 3952 3953 void sub_2B05AF50(void) { 3954 int _fpu_cmp = 0; 3955 uint32_t _cf = 0; 3956 int _df = 1; 3957 uint32_t _flag_k = FK_NONE; 3958 uint32_t _flag_a = 0, _flag_b = 0; 3959 uint32_t _itail_tgt = 0; 3960 RECOMP_REGS_LOCALS 3961 RECOMP_ENTER(0x2B05AF50u); 3962 3963 L_2B05AF50: 3964 PUSH32(esp, ebx); /* 0x2B05AF50: push ebx */ 3965 PUSH32(esp, esi); /* 0x2B05AF51: push esi */ 3966 esi = MEM32(0x2B0B53CC); /* 0x2B05AF52: mov esi, dword ptr [0x2b0b53cc] */ 3967 PUSH32(esp, edi); /* 0x2B05AF58: push edi */ 3968 edi = ecx; /* 0x2B05AF59: mov edi, ecx */ 3969 RECOMP_ICALL(esi); /* 0x2B05AF5B: call esi */ 3970 RECOMP_FLAGS_IN(); 3971 ecx = eax; /* 0x2B05AF5D: mov ecx, eax */ 3972 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05AF5F: call dword ptr [0x2b0b5374] */ 3973 RECOMP_FLAGS_IN(); 3974 PUSH32(esp, 0x2AF8u); /* 0x2B05AF65: push 0x2af8 */ 3975 PUSH32(esp, 0x39u); /* 0x2B05AF6A: push 0x39 */ 3976 PUSH32(esp, 1); /* 0x2B05AF6C: push 1 */ 3977 RECOMP_ICALL(esi); /* 0x2B05AF6E: call esi */ 3978 RECOMP_FLAGS_IN(); 3979 ecx = eax; /* 0x2B05AF70: mov ecx, eax */ 3980 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05AF72: call dword ptr [0x2b0b5378] */ 3981 RECOMP_FLAGS_IN(); 3982 PUSH32(esp, 0x2B05B030u); /* 0x2B05AF78: push 0x2b05b030 */ 3983 PUSH32(esp, 5); /* 0x2B05AF7D: push 5 */ 3984 RECOMP_ICALL(esi); /* 0x2B05AF7F: call esi */ 3985 RECOMP_FLAGS_IN(); 3986 ebx = MEM32(0x2B0B5324); /* 0x2B05AF81: mov ebx, dword ptr [0x2b0b5324] */ 3987 ecx = eax; /* 0x2B05AF87: mov ecx, eax */ 3988 RECOMP_ICALL(ebx); /* 0x2B05AF89: call ebx */ 3989 RECOMP_FLAGS_IN(); 3990 PUSH32(esp, 0x2B05B0A0u); /* 0x2B05AF8B: push 0x2b05b0a0 */ 3991 PUSH32(esp, 6); /* 0x2B05AF90: push 6 */ 3992 RECOMP_ICALL(esi); /* 0x2B05AF92: call esi */ 3993 RECOMP_FLAGS_IN(); 3994 ecx = eax; /* 0x2B05AF94: mov ecx, eax */ 3995 RECOMP_ICALL(ebx); /* 0x2B05AF96: call ebx */ 3996 RECOMP_FLAGS_IN(); 3997 eax = edi; /* 0x2B05AF98: mov eax, edi */ 3998 edi = POP32_VAL(esp); /* 0x2B05AF9A: pop edi */ 3999 esi = POP32_VAL(esp); /* 0x2B05AF9B: pop esi */ 4000 ebx = POP32_VAL(esp); /* 0x2B05AF9C: pop ebx */ 4001 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AF9D: ret */ 4002 RECOMP_REGS_OUT(); 4003 } 4004 4005 void sub_2B05AFA0(void) { 4006 int _fpu_cmp = 0; 4007 uint32_t _cf = 0; 4008 int _df = 1; 4009 uint32_t _flag_k = FK_NONE; 4010 uint32_t _flag_a = 0, _flag_b = 0; 4011 uint32_t _itail_tgt = 0; 4012 RECOMP_REGS_LOCALS 4013 RECOMP_ENTER(0x2B05AFA0u); 4014 4015 L_2B05AFA0: 4016 RECOMP_ICALL(0x2B05B0A0u); /* 0x2B05AFA0: call 0x2b05b0a0 */ /* not lifted */ 4017 RECOMP_FLAGS_IN(); 4018 MEM32(0x2B0EEBCC) = 0; /* 0x2B05AFA5: mov dword ptr [0x2b0eebcc], 0 */ 4019 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05AFAF: ret */ 4020 RECOMP_REGS_OUT(); 4021 } 4022 4023 void sub_2B05AFB0(void) { 4024 int _fpu_cmp = 0; 4025 uint32_t _cf = 0; 4026 int _df = 1; 4027 uint32_t _flag_k = FK_NONE; 4028 uint32_t _flag_a = 0, _flag_b = 0; 4029 uint32_t _itail_tgt = 0; 4030 RECOMP_REGS_LOCALS 4031 RECOMP_ENTER(0x2B05AFB0u); 4032 4033 L_2B05AFB0: 4034 PUSH32(esp, ebp); /* 0x2B05AFB0: push ebp */ 4035 ebp = esp; /* 0x2B05AFB1: mov ebp, esp */ 4036 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05AFB3: push -1 */ 4037 PUSH32(esp, 0x2B0B01EBu); /* 0x2B05AFB5: push 0x2b0b01eb */ 4038 eax = MEM32(FS_BASE + (0)); /* 0x2B05AFBA: mov eax, dword ptr fs:[0] */ 4039 PUSH32(esp, eax); /* 0x2B05AFC0: push eax */ 4040 MEM32(FS_BASE + (0)) = esp; /* 0x2B05AFC1: mov dword ptr fs:[0], esp */ 4041 PUSH32(esp, ecx); /* 0x2B05AFC8: push ecx */ 4042 eax = MEM32(0x2B0EEBC8); /* 0x2B05AFC9: mov eax, dword ptr [0x2b0eebc8] */ 4043 /* test eax, eax */ /* 0x2B05AFCE: test eax, eax */ 4044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4045 _cf = 0; 4046 _flag_k = FK_TEST; 4047 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05B00B; /* 0x2B05AFD0: jne 0x2b05b00b */ 4048 L_2B05AFD2: 4049 PUSH32(esp, 1); /* 0x2B05AFD2: push 1 */ 4050 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05AFD4: call 0x2b0ab212 */ /* not lifted */ 4051 RECOMP_FLAGS_IN(); 4052 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4054 esp = esp + 4; /* 0x2B05AFD9: add esp, 4 */ 4055 _flag_k = FK_ADD; 4056 MEM32(ebp + (-0x10)) = eax; /* 0x2B05AFDC: mov dword ptr [ebp - 0x10], eax */ 4057 /* test eax, eax */ /* 0x2B05AFDF: test eax, eax */ 4058 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4059 _cf = 0; 4060 _flag_k = FK_TEST; 4061 MEM32(ebp + (-0x4)) = 0; /* 0x2B05AFE1: mov dword ptr [ebp - 4], 0 */ 4062 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B004; /* 0x2B05AFE8: je 0x2b05b004 */ 4063 L_2B05AFEA: 4064 ecx = eax; /* 0x2B05AFEA: mov ecx, eax */ 4065 RECOMP_ICALL(0x2B05AF50u); /* 0x2B05AFEC: call 0x2b05af50 */ /* not lifted */ 4066 RECOMP_FLAGS_IN(); 4067 MEM32(0x2B0EEBC8) = eax; /* 0x2B05AFF1: mov dword ptr [0x2b0eebc8], eax */ 4068 ecx = MEM32(ebp + (-0xC)); /* 0x2B05AFF6: mov ecx, dword ptr [ebp - 0xc] */ 4069 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05AFF9: mov dword ptr fs:[0], ecx */ 4070 esp = ebp; /* 0x2B05B000: mov esp, ebp */ 4071 ebp = POP32_VAL(esp); /* 0x2B05B002: pop ebp */ 4072 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B003: ret */ 4073 L_2B05B004: 4074 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4075 eax = 0; /* 0x2B05B004: xor eax, eax */ 4076 _cf = 0; 4077 _flag_k = FK_TEST; 4078 MEM32(0x2B0EEBC8) = eax; /* 0x2B05B006: mov dword ptr [0x2b0eebc8], eax */ 4079 L_2B05B00B: 4080 ecx = MEM32(ebp + (-0xC)); /* 0x2B05B00B: mov ecx, dword ptr [ebp - 0xc] */ 4081 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05B00E: mov dword ptr fs:[0], ecx */ 4082 esp = ebp; /* 0x2B05B015: mov esp, ebp */ 4083 ebp = POP32_VAL(esp); /* 0x2B05B017: pop ebp */ 4084 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B018: ret */ 4085 RECOMP_REGS_OUT(); 4086 } 4087 4088 void sub_2B05B020(void) { 4089 int _fpu_cmp = 0; 4090 uint32_t _cf = 0; 4091 int _df = 1; 4092 uint32_t _flag_k = FK_NONE; 4093 uint32_t _flag_a = 0, _flag_b = 0; 4094 uint32_t _itail_tgt = 0; 4095 RECOMP_REGS_LOCALS 4096 RECOMP_ENTER(0x2B05B020u); 4097 4098 L_2B05B020: 4099 eax = MEM32(0x2B0EEBC8); /* 0x2B05B020: mov eax, dword ptr [0x2b0eebc8] */ 4100 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B025: ret */ 4101 RECOMP_REGS_OUT(); 4102 } 4103 4104 void sub_2B05B030(void) { 4105 int _fpu_cmp = 0; 4106 uint32_t _cf = 0; 4107 int _df = 1; 4108 uint32_t _flag_k = FK_NONE; 4109 uint32_t _flag_a = 0, _flag_b = 0; 4110 uint32_t _itail_tgt = 0; 4111 RECOMP_REGS_LOCALS 4112 RECOMP_ENTER(0x2B05B030u); 4113 4114 L_2B05B030: 4115 PUSH32(esp, ebp); /* 0x2B05B030: push ebp */ 4116 ebp = esp; /* 0x2B05B031: mov ebp, esp */ 4117 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05B033: push -1 */ 4118 PUSH32(esp, 0x2B0B020Bu); /* 0x2B05B035: push 0x2b0b020b */ 4119 eax = MEM32(FS_BASE + (0)); /* 0x2B05B03A: mov eax, dword ptr fs:[0] */ 4120 PUSH32(esp, eax); /* 0x2B05B040: push eax */ 4121 MEM32(FS_BASE + (0)) = esp; /* 0x2B05B041: mov dword ptr fs:[0], esp */ 4122 PUSH32(esp, ecx); /* 0x2B05B048: push ecx */ 4123 eax = MEM32(0x2B0EEBCC); /* 0x2B05B049: mov eax, dword ptr [0x2b0eebcc] */ 4124 /* test eax, eax */ /* 0x2B05B04E: test eax, eax */ 4125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4126 _cf = 0; 4127 _flag_k = FK_TEST; 4128 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05B08B; /* 0x2B05B050: jne 0x2b05b08b */ 4129 L_2B05B052: 4130 PUSH32(esp, 0x6Cu); /* 0x2B05B052: push 0x6c */ 4131 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B054: call 0x2b0ab212 */ /* not lifted */ 4132 RECOMP_FLAGS_IN(); 4133 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4134 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4135 esp = esp + 4; /* 0x2B05B059: add esp, 4 */ 4136 _flag_k = FK_ADD; 4137 MEM32(ebp + (-0x10)) = eax; /* 0x2B05B05C: mov dword ptr [ebp - 0x10], eax */ 4138 /* test eax, eax */ /* 0x2B05B05F: test eax, eax */ 4139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4140 _cf = 0; 4141 _flag_k = FK_TEST; 4142 MEM32(ebp + (-0x4)) = 0; /* 0x2B05B061: mov dword ptr [ebp - 4], 0 */ 4143 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B084; /* 0x2B05B068: je 0x2b05b084 */ 4144 L_2B05B06A: 4145 ecx = eax; /* 0x2B05B06A: mov ecx, eax */ 4146 RECOMP_ICALL(0x2B05A450u); /* 0x2B05B06C: call 0x2b05a450 */ /* not lifted */ 4147 RECOMP_FLAGS_IN(); 4148 MEM32(0x2B0EEBCC) = eax; /* 0x2B05B071: mov dword ptr [0x2b0eebcc], eax */ 4149 ecx = MEM32(ebp + (-0xC)); /* 0x2B05B076: mov ecx, dword ptr [ebp - 0xc] */ 4150 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05B079: mov dword ptr fs:[0], ecx */ 4151 esp = ebp; /* 0x2B05B080: mov esp, ebp */ 4152 ebp = POP32_VAL(esp); /* 0x2B05B082: pop ebp */ 4153 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B083: ret */ 4154 L_2B05B084: 4155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4156 eax = 0; /* 0x2B05B084: xor eax, eax */ 4157 _cf = 0; 4158 _flag_k = FK_TEST; 4159 MEM32(0x2B0EEBCC) = eax; /* 0x2B05B086: mov dword ptr [0x2b0eebcc], eax */ 4160 L_2B05B08B: 4161 ecx = MEM32(ebp + (-0xC)); /* 0x2B05B08B: mov ecx, dword ptr [ebp - 0xc] */ 4162 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05B08E: mov dword ptr fs:[0], ecx */ 4163 esp = ebp; /* 0x2B05B095: mov esp, ebp */ 4164 ebp = POP32_VAL(esp); /* 0x2B05B097: pop ebp */ 4165 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B098: ret */ 4166 RECOMP_REGS_OUT(); 4167 } 4168 4169 void sub_2B05B0A0(void) { 4170 int _fpu_cmp = 0; 4171 uint32_t _cf = 0; 4172 int _df = 1; 4173 uint32_t _flag_k = FK_NONE; 4174 uint32_t _flag_a = 0, _flag_b = 0; 4175 uint32_t _itail_tgt = 0; 4176 RECOMP_REGS_LOCALS 4177 RECOMP_ENTER(0x2B05B0A0u); 4178 4179 L_2B05B0A0: 4180 ecx = MEM32(0x2B0EEBCC); /* 0x2B05B0A0: mov ecx, dword ptr [0x2b0eebcc] */ 4181 /* test ecx, ecx */ /* 0x2B05B0A6: test ecx, ecx */ 4182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4183 _cf = 0; 4184 _flag_k = FK_TEST; 4185 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B0B0; /* 0x2B05B0A8: je 0x2b05b0b0 */ 4186 L_2B05B0AA: 4187 eax = MEM32(ecx); /* 0x2B05B0AA: mov eax, dword ptr [ecx] */ 4188 PUSH32(esp, 1); /* 0x2B05B0AC: push 1 */ 4189 RECOMP_ICALL(MEM32(eax)); /* 0x2B05B0AE: call dword ptr [eax] */ 4190 RECOMP_FLAGS_IN(); 4191 L_2B05B0B0: 4192 MEM32(0x2B0EEBCC) = 0; /* 0x2B05B0B0: mov dword ptr [0x2b0eebcc], 0 */ 4193 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B0BA: ret */ 4194 RECOMP_REGS_OUT(); 4195 } 4196 4197 void sub_2B05B0C0(void) { 4198 int _fpu_cmp = 0; 4199 uint32_t _cf = 0; 4200 int _df = 1; 4201 uint32_t _flag_k = FK_NONE; 4202 uint32_t _flag_a = 0, _flag_b = 0; 4203 uint32_t _itail_tgt = 0; 4204 RECOMP_REGS_LOCALS 4205 RECOMP_ENTER(0x2B05B0C0u); 4206 4207 L_2B05B0C0: 4208 PUSH32(esp, ebp); /* 0x2B05B0C0: push ebp */ 4209 ebp = esp; /* 0x2B05B0C1: mov ebp, esp */ 4210 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05B0C3: push -1 */ 4211 PUSH32(esp, 0x2B0B02CDu); /* 0x2B05B0C5: push 0x2b0b02cd */ 4212 eax = MEM32(FS_BASE + (0)); /* 0x2B05B0CA: mov eax, dword ptr fs:[0] */ 4213 PUSH32(esp, eax); /* 0x2B05B0D0: push eax */ 4214 MEM32(FS_BASE + (0)) = esp; /* 0x2B05B0D1: mov dword ptr fs:[0], esp */ 4215 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4217 esp = esp - 0x10u; /* 0x2B05B0D8: sub esp, 0x10 */ 4218 _flag_k = FK_CMP; 4219 PUSH32(esp, ebx); /* 0x2B05B0DB: push ebx */ 4220 PUSH32(esp, esi); /* 0x2B05B0DC: push esi */ 4221 esi = ecx; /* 0x2B05B0DD: mov esi, ecx */ 4222 PUSH32(esp, edi); /* 0x2B05B0DF: push edi */ 4223 MEM32(ebp + (-0x10)) = esi; /* 0x2B05B0E0: mov dword ptr [ebp - 0x10], esi */ 4224 RECOMP_ICALL(0x2B03A220u); /* 0x2B05B0E3: call 0x2b03a220 */ /* not lifted */ 4225 RECOMP_FLAGS_IN(); 4226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4227 ebx = 0; /* 0x2B05B0E8: xor ebx, ebx */ 4228 _cf = 0; 4229 _flag_k = FK_TEST; 4230 PUSH32(esp, 0x38u); /* 0x2B05B0EA: push 0x38 */ 4231 MEM32(ebp + (-0x4)) = ebx; /* 0x2B05B0EC: mov dword ptr [ebp - 4], ebx */ 4232 MEM32(esi) = 0x2B0B6C3Cu; /* 0x2B05B0EF: mov dword ptr [esi], 0x2b0b6c3c */ 4233 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B05B0F5: mov dword ptr [ebp - 0x1c], ebx */ 4234 MEM32(ebp + (-0x18)) = ebx; /* 0x2B05B0F8: mov dword ptr [ebp - 0x18], ebx */ 4235 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B0FB: call 0x2b0ab212 */ /* not lifted */ 4236 RECOMP_FLAGS_IN(); 4237 edi = eax; /* 0x2B05B100: mov edi, eax */ 4238 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4239 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4240 esp = esp + 4; /* 0x2B05B102: add esp, 4 */ 4241 _flag_k = FK_ADD; 4242 MEM32(ebp + (-0x14)) = edi; /* 0x2B05B105: mov dword ptr [ebp - 0x14], edi */ 4243 /* cmp edi, ebx */ /* 0x2B05B108: cmp edi, ebx */ 4244 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4246 _flag_k = FK_CMP; 4247 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05B10A: mov byte ptr [ebp - 4], 1 */ 4248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B136; /* 0x2B05B10E: je 0x2b05b136 */ 4249 L_2B05B110: 4250 eax = MEM32(0x2B0EE9DC); /* 0x2B05B110: mov eax, dword ptr [0x2b0ee9dc] */ 4251 PUSH32(esp, eax); /* 0x2B05B115: push eax */ 4252 PUSH32(esp, 0xFA2u); /* 0x2B05B116: push 0xfa2 */ 4253 PUSH32(esp, 0x190u); /* 0x2B05B11B: push 0x190 */ 4254 ecx = ebp + (-0x1C); /* 0x2B05B120: lea ecx, [ebp - 0x1c] */ 4255 PUSH32(esp, ecx); /* 0x2B05B123: push ecx */ 4256 ecx = edi; /* 0x2B05B124: mov ecx, edi */ 4257 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05B126: call dword ptr [0x2b0b5948] */ 4258 RECOMP_FLAGS_IN(); 4259 MEM32(edi) = 0x2B0B68F4u; /* 0x2B05B12C: mov dword ptr [edi], 0x2b0b68f4 */ 4260 eax = edi; /* 0x2B05B132: mov eax, edi */ 4261 goto L_2B05B138; /* 0x2B05B134: jmp 0x2b05b138 */ 4262 L_2B05B136: 4263 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4264 eax = 0; /* 0x2B05B136: xor eax, eax */ 4265 _cf = 0; 4266 _flag_k = FK_TEST; 4267 L_2B05B138: 4268 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05B138: cmp byte ptr [esi + 0x1c], bl */ 4269 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_NARROW(FK_CMP, 24); 4272 MEM32(esi + 0x28) = eax; /* 0x2B05B13B: mov dword ptr [esi + 0x28], eax */ 4273 eax = MEM32(eax + 0x14); /* 0x2B05B13E: mov eax, dword ptr [eax + 0x14] */ 4274 eax = MEM32(eax + 0x8); /* 0x2B05B141: mov eax, dword ptr [eax + 8] */ 4275 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B144: mov byte ptr [ebp - 4], bl */ 4276 MEM32(esi + 0x20) = eax; /* 0x2B05B147: mov dword ptr [esi + 0x20], eax */ 4277 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B154; /* 0x2B05B14A: je 0x2b05b154 */ 4278 L_2B05B14C: 4279 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05B14C: cmp byte ptr [esi + 0xc], bl */ 4280 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4282 _flag_k = FK_NARROW(FK_CMP, 24); 4283 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B154; /* 0x2B05B14F: je 0x2b05b154 */ 4284 L_2B05B151: 4285 MEM32(esi + 0x18) = eax; /* 0x2B05B151: mov dword ptr [esi + 0x18], eax */ 4286 L_2B05B154: 4287 PUSH32(esp, 0x2Cu); /* 0x2B05B154: push 0x2c */ 4288 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B156: call 0x2b0ab212 */ /* not lifted */ 4289 RECOMP_FLAGS_IN(); 4290 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4292 esp = esp + 4; /* 0x2B05B15B: add esp, 4 */ 4293 _flag_k = FK_ADD; 4294 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B15E: mov dword ptr [ebp - 0x14], eax */ 4295 /* cmp eax, ebx */ /* 0x2B05B161: cmp eax, ebx */ 4296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4298 _flag_k = FK_CMP; 4299 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05B163: mov byte ptr [ebp - 4], 2 */ 4300 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B18E; /* 0x2B05B167: je 0x2b05b18e */ 4301 L_2B05B169: 4302 edx = MEM32(0x2B0EE9DC); /* 0x2B05B169: mov edx, dword ptr [0x2b0ee9dc] */ 4303 PUSH32(esp, edx); /* 0x2B05B16F: push edx */ 4304 PUSH32(esp, ebx); /* 0x2B05B170: push ebx */ 4305 PUSH32(esp, 0x2B05BAA0u); /* 0x2B05B171: push 0x2b05baa0 */ 4306 PUSH32(esp, 0xBu); /* 0x2B05B176: push 0xb */ 4307 PUSH32(esp, ebx); /* 0x2B05B178: push ebx */ 4308 PUSH32(esp, 1); /* 0x2B05B179: push 1 */ 4309 PUSH32(esp, 0x2B0E6F14u); /* 0x2B05B17B: push 0x2b0e6f14 */ 4310 PUSH32(esp, 0x2B0E8E98u); /* 0x2B05B180: push 0x2b0e8e98 */ 4311 ecx = eax; /* 0x2B05B185: mov ecx, eax */ 4312 RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05B187: call 0x2b05f3c0 */ /* not lifted */ 4313 RECOMP_FLAGS_IN(); 4314 goto L_2B05B190; /* 0x2B05B18C: jmp 0x2b05b190 */ 4315 L_2B05B18E: 4316 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4317 eax = 0; /* 0x2B05B18E: xor eax, eax */ 4318 _cf = 0; 4319 _flag_k = FK_TEST; 4320 L_2B05B190: 4321 PUSH32(esp, 0x1Cu); /* 0x2B05B190: push 0x1c */ 4322 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B192: mov byte ptr [ebp - 4], bl */ 4323 MEM32(esi + 0x4C) = eax; /* 0x2B05B195: mov dword ptr [esi + 0x4c], eax */ 4324 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B198: call 0x2b0ab212 */ /* not lifted */ 4325 RECOMP_FLAGS_IN(); 4326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4328 esp = esp + 4; /* 0x2B05B19D: add esp, 4 */ 4329 _flag_k = FK_ADD; 4330 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B1A0: mov dword ptr [ebp - 0x14], eax */ 4331 /* cmp eax, ebx */ /* 0x2B05B1A3: cmp eax, ebx */ 4332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4334 _flag_k = FK_CMP; 4335 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05B1A5: mov byte ptr [ebp - 4], 3 */ 4336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B1C7; /* 0x2B05B1A9: je 0x2b05b1c7 */ 4337 L_2B05B1AB: 4338 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B1AB: mov ecx, dword ptr [0x2b0ee9dc] */ 4339 PUSH32(esp, ecx); /* 0x2B05B1B1: push ecx */ 4340 PUSH32(esp, 1); /* 0x2B05B1B2: push 1 */ 4341 PUSH32(esp, 0x2B0E19FCu); /* 0x2B05B1B4: push 0x2b0e19fc */ 4342 PUSH32(esp, 0x2B0E8E7Cu); /* 0x2B05B1B9: push 0x2b0e8e7c */ 4343 ecx = eax; /* 0x2B05B1BE: mov ecx, eax */ 4344 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B1C0: call 0x2b05f070 */ /* not lifted */ 4345 RECOMP_FLAGS_IN(); 4346 goto L_2B05B1C9; /* 0x2B05B1C5: jmp 0x2b05b1c9 */ 4347 L_2B05B1C7: 4348 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4349 eax = 0; /* 0x2B05B1C7: xor eax, eax */ 4350 _cf = 0; 4351 _flag_k = FK_TEST; 4352 L_2B05B1C9: 4353 PUSH32(esp, 0x1Cu); /* 0x2B05B1C9: push 0x1c */ 4354 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B1CB: mov byte ptr [ebp - 4], bl */ 4355 MEM32(esi + 0x2C) = eax; /* 0x2B05B1CE: mov dword ptr [esi + 0x2c], eax */ 4356 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B1D1: call 0x2b0ab212 */ /* not lifted */ 4357 RECOMP_FLAGS_IN(); 4358 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4360 esp = esp + 4; /* 0x2B05B1D6: add esp, 4 */ 4361 _flag_k = FK_ADD; 4362 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B1D9: mov dword ptr [ebp - 0x14], eax */ 4363 /* cmp eax, ebx */ /* 0x2B05B1DC: cmp eax, ebx */ 4364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4366 _flag_k = FK_CMP; 4367 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05B1DE: mov byte ptr [ebp - 4], 4 */ 4368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B200; /* 0x2B05B1E2: je 0x2b05b200 */ 4369 L_2B05B1E4: 4370 edx = MEM32(0x2B0EE9DC); /* 0x2B05B1E4: mov edx, dword ptr [0x2b0ee9dc] */ 4371 PUSH32(esp, edx); /* 0x2B05B1EA: push edx */ 4372 PUSH32(esp, 1); /* 0x2B05B1EB: push 1 */ 4373 PUSH32(esp, 0x2B0E8E68u); /* 0x2B05B1ED: push 0x2b0e8e68 */ 4374 PUSH32(esp, 0x2B0E8E54u); /* 0x2B05B1F2: push 0x2b0e8e54 */ 4375 ecx = eax; /* 0x2B05B1F7: mov ecx, eax */ 4376 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B1F9: call 0x2b05f070 */ /* not lifted */ 4377 RECOMP_FLAGS_IN(); 4378 goto L_2B05B202; /* 0x2B05B1FE: jmp 0x2b05b202 */ 4379 L_2B05B200: 4380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4381 eax = 0; /* 0x2B05B200: xor eax, eax */ 4382 _cf = 0; 4383 _flag_k = FK_TEST; 4384 L_2B05B202: 4385 PUSH32(esp, 0x1Cu); /* 0x2B05B202: push 0x1c */ 4386 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B204: mov byte ptr [ebp - 4], bl */ 4387 MEM32(esi + 0x30) = eax; /* 0x2B05B207: mov dword ptr [esi + 0x30], eax */ 4388 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B20A: call 0x2b0ab212 */ /* not lifted */ 4389 RECOMP_FLAGS_IN(); 4390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4391 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4392 esp = esp + 4; /* 0x2B05B20F: add esp, 4 */ 4393 _flag_k = FK_ADD; 4394 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B212: mov dword ptr [ebp - 0x14], eax */ 4395 /* cmp eax, ebx */ /* 0x2B05B215: cmp eax, ebx */ 4396 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4398 _flag_k = FK_CMP; 4399 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05B217: mov byte ptr [ebp - 4], 5 */ 4400 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B239; /* 0x2B05B21B: je 0x2b05b239 */ 4401 L_2B05B21D: 4402 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B21D: mov ecx, dword ptr [0x2b0ee9dc] */ 4403 PUSH32(esp, ecx); /* 0x2B05B223: push ecx */ 4404 PUSH32(esp, 1); /* 0x2B05B224: push 1 */ 4405 PUSH32(esp, 0x2B0E2724u); /* 0x2B05B226: push 0x2b0e2724 */ 4406 PUSH32(esp, 0x2B0E8E3Cu); /* 0x2B05B22B: push 0x2b0e8e3c */ 4407 ecx = eax; /* 0x2B05B230: mov ecx, eax */ 4408 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B232: call 0x2b05f070 */ /* not lifted */ 4409 RECOMP_FLAGS_IN(); 4410 goto L_2B05B23B; /* 0x2B05B237: jmp 0x2b05b23b */ 4411 L_2B05B239: 4412 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4413 eax = 0; /* 0x2B05B239: xor eax, eax */ 4414 _cf = 0; 4415 _flag_k = FK_TEST; 4416 L_2B05B23B: 4417 PUSH32(esp, 0x1Cu); /* 0x2B05B23B: push 0x1c */ 4418 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B23D: mov byte ptr [ebp - 4], bl */ 4419 MEM32(esi + 0x34) = eax; /* 0x2B05B240: mov dword ptr [esi + 0x34], eax */ 4420 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B243: call 0x2b0ab212 */ /* not lifted */ 4421 RECOMP_FLAGS_IN(); 4422 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4424 esp = esp + 4; /* 0x2B05B248: add esp, 4 */ 4425 _flag_k = FK_ADD; 4426 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B24B: mov dword ptr [ebp - 0x14], eax */ 4427 /* cmp eax, ebx */ /* 0x2B05B24E: cmp eax, ebx */ 4428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4430 _flag_k = FK_CMP; 4431 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05B250: mov byte ptr [ebp - 4], 6 */ 4432 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B272; /* 0x2B05B254: je 0x2b05b272 */ 4433 L_2B05B256: 4434 edx = MEM32(0x2B0EE9DC); /* 0x2B05B256: mov edx, dword ptr [0x2b0ee9dc] */ 4435 PUSH32(esp, edx); /* 0x2B05B25C: push edx */ 4436 PUSH32(esp, 1); /* 0x2B05B25D: push 1 */ 4437 PUSH32(esp, 0x2B0E8E2Cu); /* 0x2B05B25F: push 0x2b0e8e2c */ 4438 PUSH32(esp, 0x2B0E8E18u); /* 0x2B05B264: push 0x2b0e8e18 */ 4439 ecx = eax; /* 0x2B05B269: mov ecx, eax */ 4440 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B26B: call 0x2b05f070 */ /* not lifted */ 4441 RECOMP_FLAGS_IN(); 4442 goto L_2B05B274; /* 0x2B05B270: jmp 0x2b05b274 */ 4443 L_2B05B272: 4444 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4445 eax = 0; /* 0x2B05B272: xor eax, eax */ 4446 _cf = 0; 4447 _flag_k = FK_TEST; 4448 L_2B05B274: 4449 PUSH32(esp, 0x1Cu); /* 0x2B05B274: push 0x1c */ 4450 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B276: mov byte ptr [ebp - 4], bl */ 4451 MEM32(esi + 0x38) = eax; /* 0x2B05B279: mov dword ptr [esi + 0x38], eax */ 4452 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B27C: call 0x2b0ab212 */ /* not lifted */ 4453 RECOMP_FLAGS_IN(); 4454 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4456 esp = esp + 4; /* 0x2B05B281: add esp, 4 */ 4457 _flag_k = FK_ADD; 4458 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B284: mov dword ptr [ebp - 0x14], eax */ 4459 /* cmp eax, ebx */ /* 0x2B05B287: cmp eax, ebx */ 4460 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4462 _flag_k = FK_CMP; 4463 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05B289: mov byte ptr [ebp - 4], 7 */ 4464 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B2AB; /* 0x2B05B28D: je 0x2b05b2ab */ 4465 L_2B05B28F: 4466 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B28F: mov ecx, dword ptr [0x2b0ee9dc] */ 4467 PUSH32(esp, ecx); /* 0x2B05B295: push ecx */ 4468 PUSH32(esp, 1); /* 0x2B05B296: push 1 */ 4469 PUSH32(esp, 0x2B0E2BB8u); /* 0x2B05B298: push 0x2b0e2bb8 */ 4470 PUSH32(esp, 0x2B0E8DFCu); /* 0x2B05B29D: push 0x2b0e8dfc */ 4471 ecx = eax; /* 0x2B05B2A2: mov ecx, eax */ 4472 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B2A4: call 0x2b05f070 */ /* not lifted */ 4473 RECOMP_FLAGS_IN(); 4474 goto L_2B05B2AD; /* 0x2B05B2A9: jmp 0x2b05b2ad */ 4475 L_2B05B2AB: 4476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4477 eax = 0; /* 0x2B05B2AB: xor eax, eax */ 4478 _cf = 0; 4479 _flag_k = FK_TEST; 4480 L_2B05B2AD: 4481 PUSH32(esp, 0x1Cu); /* 0x2B05B2AD: push 0x1c */ 4482 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B2AF: mov byte ptr [ebp - 4], bl */ 4483 MEM32(esi + 0x3C) = eax; /* 0x2B05B2B2: mov dword ptr [esi + 0x3c], eax */ 4484 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B2B5: call 0x2b0ab212 */ /* not lifted */ 4485 RECOMP_FLAGS_IN(); 4486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4488 esp = esp + 4; /* 0x2B05B2BA: add esp, 4 */ 4489 _flag_k = FK_ADD; 4490 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B2BD: mov dword ptr [ebp - 0x14], eax */ 4491 /* cmp eax, ebx */ /* 0x2B05B2C0: cmp eax, ebx */ 4492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4494 _flag_k = FK_CMP; 4495 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B05B2C2: mov byte ptr [ebp - 4], 8 */ 4496 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B2E4; /* 0x2B05B2C6: je 0x2b05b2e4 */ 4497 L_2B05B2C8: 4498 edx = MEM32(0x2B0EE9DC); /* 0x2B05B2C8: mov edx, dword ptr [0x2b0ee9dc] */ 4499 PUSH32(esp, edx); /* 0x2B05B2CE: push edx */ 4500 PUSH32(esp, 2); /* 0x2B05B2CF: push 2 */ 4501 PUSH32(esp, 0x2B0E8DECu); /* 0x2B05B2D1: push 0x2b0e8dec */ 4502 PUSH32(esp, 0x2B0E8DD4u); /* 0x2B05B2D6: push 0x2b0e8dd4 */ 4503 ecx = eax; /* 0x2B05B2DB: mov ecx, eax */ 4504 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B2DD: call 0x2b05f070 */ /* not lifted */ 4505 RECOMP_FLAGS_IN(); 4506 goto L_2B05B2E6; /* 0x2B05B2E2: jmp 0x2b05b2e6 */ 4507 L_2B05B2E4: 4508 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4509 eax = 0; /* 0x2B05B2E4: xor eax, eax */ 4510 _cf = 0; 4511 _flag_k = FK_TEST; 4512 L_2B05B2E6: 4513 PUSH32(esp, 0x1Cu); /* 0x2B05B2E6: push 0x1c */ 4514 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B2E8: mov byte ptr [ebp - 4], bl */ 4515 MEM32(esi + 0x40) = eax; /* 0x2B05B2EB: mov dword ptr [esi + 0x40], eax */ 4516 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B2EE: call 0x2b0ab212 */ /* not lifted */ 4517 RECOMP_FLAGS_IN(); 4518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4520 esp = esp + 4; /* 0x2B05B2F3: add esp, 4 */ 4521 _flag_k = FK_ADD; 4522 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B2F6: mov dword ptr [ebp - 0x14], eax */ 4523 /* cmp eax, ebx */ /* 0x2B05B2F9: cmp eax, ebx */ 4524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4526 _flag_k = FK_CMP; 4527 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B05B2FB: mov byte ptr [ebp - 4], 9 */ 4528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B31D; /* 0x2B05B2FF: je 0x2b05b31d */ 4529 L_2B05B301: 4530 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B301: mov ecx, dword ptr [0x2b0ee9dc] */ 4531 PUSH32(esp, ecx); /* 0x2B05B307: push ecx */ 4532 PUSH32(esp, 1); /* 0x2B05B308: push 1 */ 4533 PUSH32(esp, 0x2B0E8DC0u); /* 0x2B05B30A: push 0x2b0e8dc0 */ 4534 PUSH32(esp, 0x2B0E8DA4u); /* 0x2B05B30F: push 0x2b0e8da4 */ 4535 ecx = eax; /* 0x2B05B314: mov ecx, eax */ 4536 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B316: call 0x2b05f070 */ /* not lifted */ 4537 RECOMP_FLAGS_IN(); 4538 goto L_2B05B31F; /* 0x2B05B31B: jmp 0x2b05b31f */ 4539 L_2B05B31D: 4540 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4541 eax = 0; /* 0x2B05B31D: xor eax, eax */ 4542 _cf = 0; 4543 _flag_k = FK_TEST; 4544 L_2B05B31F: 4545 PUSH32(esp, 0x1Cu); /* 0x2B05B31F: push 0x1c */ 4546 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B321: mov byte ptr [ebp - 4], bl */ 4547 MEM32(esi + 0x44) = eax; /* 0x2B05B324: mov dword ptr [esi + 0x44], eax */ 4548 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B327: call 0x2b0ab212 */ /* not lifted */ 4549 RECOMP_FLAGS_IN(); 4550 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4552 esp = esp + 4; /* 0x2B05B32C: add esp, 4 */ 4553 _flag_k = FK_ADD; 4554 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B32F: mov dword ptr [ebp - 0x14], eax */ 4555 /* cmp eax, ebx */ /* 0x2B05B332: cmp eax, ebx */ 4556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4558 _flag_k = FK_CMP; 4559 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B05B334: mov byte ptr [ebp - 4], 0xa */ 4560 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B356; /* 0x2B05B338: je 0x2b05b356 */ 4561 L_2B05B33A: 4562 edx = MEM32(0x2B0EE9DC); /* 0x2B05B33A: mov edx, dword ptr [0x2b0ee9dc] */ 4563 PUSH32(esp, edx); /* 0x2B05B340: push edx */ 4564 PUSH32(esp, 2); /* 0x2B05B341: push 2 */ 4565 PUSH32(esp, 0x2B0E8D8Cu); /* 0x2B05B343: push 0x2b0e8d8c */ 4566 PUSH32(esp, 0x2B0E8D70u); /* 0x2B05B348: push 0x2b0e8d70 */ 4567 ecx = eax; /* 0x2B05B34D: mov ecx, eax */ 4568 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B34F: call 0x2b05f070 */ /* not lifted */ 4569 RECOMP_FLAGS_IN(); 4570 goto L_2B05B358; /* 0x2B05B354: jmp 0x2b05b358 */ 4571 L_2B05B356: 4572 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4573 eax = 0; /* 0x2B05B356: xor eax, eax */ 4574 _cf = 0; 4575 _flag_k = FK_TEST; 4576 L_2B05B358: 4577 PUSH32(esp, 0x50u); /* 0x2B05B358: push 0x50 */ 4578 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B35A: mov byte ptr [ebp - 4], bl */ 4579 MEM32(esi + 0x48) = eax; /* 0x2B05B35D: mov dword ptr [esi + 0x48], eax */ 4580 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B360: call 0x2b0ab212 */ /* not lifted */ 4581 RECOMP_FLAGS_IN(); 4582 edi = eax; /* 0x2B05B365: mov edi, eax */ 4583 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4584 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4585 esp = esp + 4; /* 0x2B05B367: add esp, 4 */ 4586 _flag_k = FK_ADD; 4587 MEM32(ebp + (-0x14)) = edi; /* 0x2B05B36A: mov dword ptr [ebp - 0x14], edi */ 4588 /* cmp edi, ebx */ /* 0x2B05B36D: cmp edi, ebx */ 4589 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4591 _flag_k = FK_CMP; 4592 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B05B36F: mov byte ptr [ebp - 4], 0xb */ 4593 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B3A2; /* 0x2B05B373: je 0x2b05b3a2 */ 4594 L_2B05B375: 4595 eax = MEM32(0x2B0EE9DC); /* 0x2B05B375: mov eax, dword ptr [0x2b0ee9dc] */ 4596 ecx = MEM32(ebp + (-0x18)); /* 0x2B05B37A: mov ecx, dword ptr [ebp - 0x18] */ 4597 edx = MEM32(ebp + (-0x1C)); /* 0x2B05B37D: mov edx, dword ptr [ebp - 0x1c] */ 4598 PUSH32(esp, eax); /* 0x2B05B380: push eax */ 4599 PUSH32(esp, ebx); /* 0x2B05B381: push ebx */ 4600 PUSH32(esp, ecx); /* 0x2B05B382: push ecx */ 4601 PUSH32(esp, edx); /* 0x2B05B383: push edx */ 4602 PUSH32(esp, 0xFB2u); /* 0x2B05B384: push 0xfb2 */ 4603 PUSH32(esp, 0x2B0E8D5Cu); /* 0x2B05B389: push 0x2b0e8d5c */ 4604 PUSH32(esp, 1); /* 0x2B05B38E: push 1 */ 4605 ecx = edi; /* 0x2B05B390: mov ecx, edi */ 4606 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05B392: call dword ptr [0x2b0b5950] */ 4607 RECOMP_FLAGS_IN(); 4608 MEM32(edi) = 0x2B0B6878u; /* 0x2B05B398: mov dword ptr [edi], 0x2b0b6878 */ 4609 ecx = edi; /* 0x2B05B39E: mov ecx, edi */ 4610 goto L_2B05B3A4; /* 0x2B05B3A0: jmp 0x2b05b3a4 */ 4611 L_2B05B3A2: 4612 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4613 ecx = 0; /* 0x2B05B3A2: xor ecx, ecx */ 4614 _cf = 0; 4615 _flag_k = FK_TEST; 4616 L_2B05B3A4: 4617 PUSH32(esp, 0x00FFFF33u); /* 0x2B05B3A4: push 0xffff33 */ 4618 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B3A9: mov byte ptr [ebp - 4], bl */ 4619 MEM32(esi + 0x50) = ecx; /* 0x2B05B3AC: mov dword ptr [esi + 0x50], ecx */ 4620 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05B3AF: call dword ptr [0x2b0b5858] */ 4621 RECOMP_FLAGS_IN(); 4622 PUSH32(esp, 0x1Cu); /* 0x2B05B3B5: push 0x1c */ 4623 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B3B7: call 0x2b0ab212 */ /* not lifted */ 4624 RECOMP_FLAGS_IN(); 4625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4627 esp = esp + 4; /* 0x2B05B3BC: add esp, 4 */ 4628 _flag_k = FK_ADD; 4629 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B3BF: mov dword ptr [ebp - 0x14], eax */ 4630 /* cmp eax, ebx */ /* 0x2B05B3C2: cmp eax, ebx */ 4631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4633 _flag_k = FK_CMP; 4634 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B05B3C4: mov byte ptr [ebp - 4], 0xc */ 4635 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B3E6; /* 0x2B05B3C8: je 0x2b05b3e6 */ 4636 L_2B05B3CA: 4637 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B3CA: mov ecx, dword ptr [0x2b0ee9dc] */ 4638 PUSH32(esp, ecx); /* 0x2B05B3D0: push ecx */ 4639 PUSH32(esp, 1); /* 0x2B05B3D1: push 1 */ 4640 PUSH32(esp, 0x2B0E8D4Cu); /* 0x2B05B3D3: push 0x2b0e8d4c */ 4641 PUSH32(esp, 0x2B0E8D38u); /* 0x2B05B3D8: push 0x2b0e8d38 */ 4642 ecx = eax; /* 0x2B05B3DD: mov ecx, eax */ 4643 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B3DF: call 0x2b05f070 */ /* not lifted */ 4644 RECOMP_FLAGS_IN(); 4645 goto L_2B05B3E8; /* 0x2B05B3E4: jmp 0x2b05b3e8 */ 4646 L_2B05B3E6: 4647 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4648 eax = 0; /* 0x2B05B3E6: xor eax, eax */ 4649 _cf = 0; 4650 _flag_k = FK_TEST; 4651 L_2B05B3E8: 4652 PUSH32(esp, 0x1Cu); /* 0x2B05B3E8: push 0x1c */ 4653 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B3EA: mov byte ptr [ebp - 4], bl */ 4654 MEM32(esi + 0x54) = eax; /* 0x2B05B3ED: mov dword ptr [esi + 0x54], eax */ 4655 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B3F0: call 0x2b0ab212 */ /* not lifted */ 4656 RECOMP_FLAGS_IN(); 4657 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4658 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4659 esp = esp + 4; /* 0x2B05B3F5: add esp, 4 */ 4660 _flag_k = FK_ADD; 4661 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B3F8: mov dword ptr [ebp - 0x14], eax */ 4662 /* cmp eax, ebx */ /* 0x2B05B3FB: cmp eax, ebx */ 4663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4665 _flag_k = FK_CMP; 4666 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B05B3FD: mov byte ptr [ebp - 4], 0xd */ 4667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B41F; /* 0x2B05B401: je 0x2b05b41f */ 4668 L_2B05B403: 4669 edx = MEM32(0x2B0EE9DC); /* 0x2B05B403: mov edx, dword ptr [0x2b0ee9dc] */ 4670 PUSH32(esp, edx); /* 0x2B05B409: push edx */ 4671 PUSH32(esp, 1); /* 0x2B05B40A: push 1 */ 4672 PUSH32(esp, 0x2B0E8D28u); /* 0x2B05B40C: push 0x2b0e8d28 */ 4673 PUSH32(esp, 0x2B0E8D14u); /* 0x2B05B411: push 0x2b0e8d14 */ 4674 ecx = eax; /* 0x2B05B416: mov ecx, eax */ 4675 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B418: call 0x2b05f070 */ /* not lifted */ 4676 RECOMP_FLAGS_IN(); 4677 goto L_2B05B421; /* 0x2B05B41D: jmp 0x2b05b421 */ 4678 L_2B05B41F: 4679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4680 eax = 0; /* 0x2B05B41F: xor eax, eax */ 4681 _cf = 0; 4682 _flag_k = FK_TEST; 4683 L_2B05B421: 4684 PUSH32(esp, 0x1Cu); /* 0x2B05B421: push 0x1c */ 4685 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B423: mov byte ptr [ebp - 4], bl */ 4686 MEM32(esi + 0x58) = eax; /* 0x2B05B426: mov dword ptr [esi + 0x58], eax */ 4687 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B429: call 0x2b0ab212 */ /* not lifted */ 4688 RECOMP_FLAGS_IN(); 4689 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4691 esp = esp + 4; /* 0x2B05B42E: add esp, 4 */ 4692 _flag_k = FK_ADD; 4693 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B431: mov dword ptr [ebp - 0x14], eax */ 4694 /* cmp eax, ebx */ /* 0x2B05B434: cmp eax, ebx */ 4695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4697 _flag_k = FK_CMP; 4698 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B05B436: mov byte ptr [ebp - 4], 0xe */ 4699 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B458; /* 0x2B05B43A: je 0x2b05b458 */ 4700 L_2B05B43C: 4701 ecx = MEM32(0x2B0EE9DC); /* 0x2B05B43C: mov ecx, dword ptr [0x2b0ee9dc] */ 4702 PUSH32(esp, ecx); /* 0x2B05B442: push ecx */ 4703 PUSH32(esp, 1); /* 0x2B05B443: push 1 */ 4704 PUSH32(esp, 0x2B0E8D04u); /* 0x2B05B445: push 0x2b0e8d04 */ 4705 PUSH32(esp, 0x2B0E8CF0u); /* 0x2B05B44A: push 0x2b0e8cf0 */ 4706 ecx = eax; /* 0x2B05B44F: mov ecx, eax */ 4707 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B451: call 0x2b05f070 */ /* not lifted */ 4708 RECOMP_FLAGS_IN(); 4709 goto L_2B05B45A; /* 0x2B05B456: jmp 0x2b05b45a */ 4710 L_2B05B458: 4711 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4712 eax = 0; /* 0x2B05B458: xor eax, eax */ 4713 _cf = 0; 4714 _flag_k = FK_TEST; 4715 L_2B05B45A: 4716 PUSH32(esp, 0x1Cu); /* 0x2B05B45A: push 0x1c */ 4717 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B45C: mov byte ptr [ebp - 4], bl */ 4718 MEM32(esi + 0x5C) = eax; /* 0x2B05B45F: mov dword ptr [esi + 0x5c], eax */ 4719 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05B462: call 0x2b0ab212 */ /* not lifted */ 4720 RECOMP_FLAGS_IN(); 4721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4723 esp = esp + 4; /* 0x2B05B467: add esp, 4 */ 4724 _flag_k = FK_ADD; 4725 MEM32(ebp + (-0x14)) = eax; /* 0x2B05B46A: mov dword ptr [ebp - 0x14], eax */ 4726 /* cmp eax, ebx */ /* 0x2B05B46D: cmp eax, ebx */ 4727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4729 _flag_k = FK_CMP; 4730 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B05B46F: mov byte ptr [ebp - 4], 0xf */ 4731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05B491; /* 0x2B05B473: je 0x2b05b491 */ 4732 L_2B05B475: 4733 edx = MEM32(0x2B0EE9DC); /* 0x2B05B475: mov edx, dword ptr [0x2b0ee9dc] */ 4734 PUSH32(esp, edx); /* 0x2B05B47B: push edx */ 4735 PUSH32(esp, 1); /* 0x2B05B47C: push 1 */ 4736 PUSH32(esp, 0x2B0E8CE0u); /* 0x2B05B47E: push 0x2b0e8ce0 */ 4737 PUSH32(esp, 0x2B0E8CCCu); /* 0x2B05B483: push 0x2b0e8ccc */ 4738 ecx = eax; /* 0x2B05B488: mov ecx, eax */ 4739 RECOMP_ICALL(0x2B05F070u); /* 0x2B05B48A: call 0x2b05f070 */ /* not lifted */ 4740 RECOMP_FLAGS_IN(); 4741 goto L_2B05B493; /* 0x2B05B48F: jmp 0x2b05b493 */ 4742 L_2B05B491: 4743 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4744 eax = 0; /* 0x2B05B491: xor eax, eax */ 4745 _cf = 0; 4746 _flag_k = FK_TEST; 4747 L_2B05B493: 4748 edi = MEM32(0x2B0B6050); /* 0x2B05B493: mov edi, dword ptr [0x2b0b6050] */ 4749 PUSH32(esp, 1); /* 0x2B05B499: push 1 */ 4750 PUSH32(esp, 1); /* 0x2B05B49B: push 1 */ 4751 PUSH32(esp, ebx); /* 0x2B05B49D: push ebx */ 4752 MEM32(esi + 0x60) = eax; /* 0x2B05B49E: mov dword ptr [esi + 0x60], eax */ 4753 eax = MEM32(0x2B0B6048); /* 0x2B05B4A1: mov eax, dword ptr [0x2b0b6048] */ 4754 ecx = MEM32(eax); /* 0x2B05B4A6: mov ecx, dword ptr [eax] */ 4755 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B4A8: push 0x2b05bb60 */ 4756 PUSH32(esp, 0x2B0E8D4Cu); /* 0x2B05B4AD: push 0x2b0e8d4c */ 4757 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05B4B2: mov byte ptr [ebp - 4], bl */ 4758 RECOMP_ICALL(edi); /* 0x2B05B4B5: call edi */ 4759 RECOMP_FLAGS_IN(); 4760 ecx = MEM32(0x2B0B6048); /* 0x2B05B4B7: mov ecx, dword ptr [0x2b0b6048] */ 4761 ecx = MEM32(ecx); /* 0x2B05B4BD: mov ecx, dword ptr [ecx] */ 4762 PUSH32(esp, 1); /* 0x2B05B4BF: push 1 */ 4763 PUSH32(esp, 1); /* 0x2B05B4C1: push 1 */ 4764 PUSH32(esp, ebx); /* 0x2B05B4C3: push ebx */ 4765 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B4C4: push 0x2b05bb60 */ 4766 PUSH32(esp, 0x2B0E8D28u); /* 0x2B05B4C9: push 0x2b0e8d28 */ 4767 RECOMP_ICALL(edi); /* 0x2B05B4CE: call edi */ 4768 RECOMP_FLAGS_IN(); 4769 edx = MEM32(0x2B0B6048); /* 0x2B05B4D0: mov edx, dword ptr [0x2b0b6048] */ 4770 ecx = MEM32(edx); /* 0x2B05B4D6: mov ecx, dword ptr [edx] */ 4771 PUSH32(esp, 1); /* 0x2B05B4D8: push 1 */ 4772 PUSH32(esp, 1); /* 0x2B05B4DA: push 1 */ 4773 PUSH32(esp, ebx); /* 0x2B05B4DC: push ebx */ 4774 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B4DD: push 0x2b05bb60 */ 4775 PUSH32(esp, 0x2B0E8D04u); /* 0x2B05B4E2: push 0x2b0e8d04 */ 4776 RECOMP_ICALL(edi); /* 0x2B05B4E7: call edi */ 4777 RECOMP_FLAGS_IN(); 4778 eax = MEM32(0x2B0B6048); /* 0x2B05B4E9: mov eax, dword ptr [0x2b0b6048] */ 4779 ecx = MEM32(eax); /* 0x2B05B4EE: mov ecx, dword ptr [eax] */ 4780 PUSH32(esp, 1); /* 0x2B05B4F0: push 1 */ 4781 PUSH32(esp, 1); /* 0x2B05B4F2: push 1 */ 4782 PUSH32(esp, ebx); /* 0x2B05B4F4: push ebx */ 4783 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B4F5: push 0x2b05bb60 */ 4784 PUSH32(esp, 0x2B0E8CE0u); /* 0x2B05B4FA: push 0x2b0e8ce0 */ 4785 RECOMP_ICALL(edi); /* 0x2B05B4FF: call edi */ 4786 RECOMP_FLAGS_IN(); 4787 ecx = esi; /* 0x2B05B501: mov ecx, esi */ 4788 RECOMP_ICALL(0x2B05B9D0u); /* 0x2B05B503: call 0x2b05b9d0 */ /* not lifted */ 4789 RECOMP_FLAGS_IN(); 4790 ecx = esi; /* 0x2B05B508: mov ecx, esi */ 4791 RECOMP_ICALL(0x2B05BA50u); /* 0x2B05B50A: call 0x2b05ba50 */ /* not lifted */ 4792 RECOMP_FLAGS_IN(); 4793 PUSH32(esp, 0x2B0E8CC4u); /* 0x2B05B50F: push 0x2b0e8cc4 */ 4794 PUSH32(esp, ebx); /* 0x2B05B514: push ebx */ 4795 ecx = esi; /* 0x2B05B515: mov ecx, esi */ 4796 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05B517: call 0x2b03a2d0 */ /* not lifted */ 4797 RECOMP_FLAGS_IN(); 4798 PUSH32(esp, 1); /* 0x2B05B51C: push 1 */ 4799 ecx = esi; /* 0x2B05B51E: mov ecx, esi */ 4800 RECOMP_ICALL(0x2B03A350u); /* 0x2B05B520: call 0x2b03a350 */ /* not lifted */ 4801 RECOMP_FLAGS_IN(); 4802 ecx = MEM32(ebp + (-0xC)); /* 0x2B05B525: mov ecx, dword ptr [ebp - 0xc] */ 4803 edi = POP32_VAL(esp); /* 0x2B05B528: pop edi */ 4804 eax = esi; /* 0x2B05B529: mov eax, esi */ 4805 esi = POP32_VAL(esp); /* 0x2B05B52B: pop esi */ 4806 ebx = POP32_VAL(esp); /* 0x2B05B52C: pop ebx */ 4807 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05B52D: mov dword ptr fs:[0], ecx */ 4808 esp = ebp; /* 0x2B05B534: mov esp, ebp */ 4809 ebp = POP32_VAL(esp); /* 0x2B05B536: pop ebp */ 4810 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B537: ret */ 4811 RECOMP_REGS_OUT(); 4812 } 4813 4814 void sub_2B05B540(void) { 4815 int _fpu_cmp = 0; 4816 uint32_t _cf = 0; 4817 int _df = 1; 4818 uint32_t _flag_k = FK_NONE; 4819 uint32_t _flag_a = 0, _flag_b = 0; 4820 uint32_t _itail_tgt = 0; 4821 RECOMP_REGS_LOCALS 4822 RECOMP_ENTER(0x2B05B540u); 4823 4824 L_2B05B540: 4825 PUSH32(esp, ebp); /* 0x2B05B540: push ebp */ 4826 ebp = esp; /* 0x2B05B541: mov ebp, esp */ 4827 PUSH32(esp, esi); /* 0x2B05B543: push esi */ 4828 esi = ecx; /* 0x2B05B544: mov esi, ecx */ 4829 RECOMP_ICALL(0x2B05B570u); /* 0x2B05B546: call 0x2b05b570 */ /* not lifted */ 4830 RECOMP_FLAGS_IN(); 4831 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05B54B: test byte ptr [ebp + 8], 1 */ 4832 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 4833 _cf = 0; 4834 _flag_k = FK_NARROW(FK_TEST, 24); 4835 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B55A; /* 0x2B05B54F: je 0x2b05b55a */ 4836 L_2B05B551: 4837 PUSH32(esp, esi); /* 0x2B05B551: push esi */ 4838 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B552: call 0x2b0ab1ba */ /* not lifted */ 4839 RECOMP_FLAGS_IN(); 4840 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4841 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4842 esp = esp + 4; /* 0x2B05B557: add esp, 4 */ 4843 _flag_k = FK_ADD; 4844 L_2B05B55A: 4845 eax = esi; /* 0x2B05B55A: mov eax, esi */ 4846 esi = POP32_VAL(esp); /* 0x2B05B55C: pop esi */ 4847 ebp = POP32_VAL(esp); /* 0x2B05B55D: pop ebp */ 4848 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05B55E: ret 4 */ 4849 RECOMP_REGS_OUT(); 4850 } 4851 4852 void sub_2B05B570(void) { 4853 int _fpu_cmp = 0; 4854 uint32_t _cf = 0; 4855 int _df = 1; 4856 uint32_t _flag_k = FK_NONE; 4857 uint32_t _flag_a = 0, _flag_b = 0; 4858 uint32_t _itail_tgt = 0; 4859 RECOMP_REGS_LOCALS 4860 RECOMP_ENTER(0x2B05B570u); 4861 4862 L_2B05B570: 4863 PUSH32(esp, ebp); /* 0x2B05B570: push ebp */ 4864 ebp = esp; /* 0x2B05B571: mov ebp, esp */ 4865 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05B573: push -1 */ 4866 PUSH32(esp, 0x2B0B02E8u); /* 0x2B05B575: push 0x2b0b02e8 */ 4867 eax = MEM32(FS_BASE + (0)); /* 0x2B05B57A: mov eax, dword ptr fs:[0] */ 4868 PUSH32(esp, eax); /* 0x2B05B580: push eax */ 4869 MEM32(FS_BASE + (0)) = esp; /* 0x2B05B581: mov dword ptr fs:[0], esp */ 4870 PUSH32(esp, ecx); /* 0x2B05B588: push ecx */ 4871 PUSH32(esp, esi); /* 0x2B05B589: push esi */ 4872 esi = ecx; /* 0x2B05B58A: mov esi, ecx */ 4873 PUSH32(esp, edi); /* 0x2B05B58C: push edi */ 4874 MEM32(ebp + (-0x10)) = esi; /* 0x2B05B58D: mov dword ptr [ebp - 0x10], esi */ 4875 MEM32(esi) = 0x2B0B6C3Cu; /* 0x2B05B590: mov dword ptr [esi], 0x2b0b6c3c */ 4876 eax = MEM32(0x2B0B6048); /* 0x2B05B596: mov eax, dword ptr [0x2b0b6048] */ 4877 ecx = MEM32(eax); /* 0x2B05B59B: mov ecx, dword ptr [eax] */ 4878 edi = MEM32(0x2B0B6054); /* 0x2B05B59D: mov edi, dword ptr [0x2b0b6054] */ 4879 PUSH32(esp, 0); /* 0x2B05B5A3: push 0 */ 4880 PUSH32(esp, 0); /* 0x2B05B5A5: push 0 */ 4881 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B5A7: push 0x2b05bb60 */ 4882 PUSH32(esp, 0x2B0E8D4Cu); /* 0x2B05B5AC: push 0x2b0e8d4c */ 4883 MEM32(ebp + (-0x4)) = 0; /* 0x2B05B5B1: mov dword ptr [ebp - 4], 0 */ 4884 RECOMP_ICALL(edi); /* 0x2B05B5B8: call edi */ 4885 RECOMP_FLAGS_IN(); 4886 ecx = MEM32(0x2B0B6048); /* 0x2B05B5BA: mov ecx, dword ptr [0x2b0b6048] */ 4887 ecx = MEM32(ecx); /* 0x2B05B5C0: mov ecx, dword ptr [ecx] */ 4888 PUSH32(esp, 0); /* 0x2B05B5C2: push 0 */ 4889 PUSH32(esp, 0); /* 0x2B05B5C4: push 0 */ 4890 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B5C6: push 0x2b05bb60 */ 4891 PUSH32(esp, 0x2B0E8D28u); /* 0x2B05B5CB: push 0x2b0e8d28 */ 4892 RECOMP_ICALL(edi); /* 0x2B05B5D0: call edi */ 4893 RECOMP_FLAGS_IN(); 4894 edx = MEM32(0x2B0B6048); /* 0x2B05B5D2: mov edx, dword ptr [0x2b0b6048] */ 4895 ecx = MEM32(edx); /* 0x2B05B5D8: mov ecx, dword ptr [edx] */ 4896 PUSH32(esp, 0); /* 0x2B05B5DA: push 0 */ 4897 PUSH32(esp, 0); /* 0x2B05B5DC: push 0 */ 4898 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B5DE: push 0x2b05bb60 */ 4899 PUSH32(esp, 0x2B0E8D04u); /* 0x2B05B5E3: push 0x2b0e8d04 */ 4900 RECOMP_ICALL(edi); /* 0x2B05B5E8: call edi */ 4901 RECOMP_FLAGS_IN(); 4902 eax = MEM32(0x2B0B6048); /* 0x2B05B5EA: mov eax, dword ptr [0x2b0b6048] */ 4903 ecx = MEM32(eax); /* 0x2B05B5EF: mov ecx, dword ptr [eax] */ 4904 PUSH32(esp, 0); /* 0x2B05B5F1: push 0 */ 4905 PUSH32(esp, 0); /* 0x2B05B5F3: push 0 */ 4906 PUSH32(esp, 0x2B05BB60u); /* 0x2B05B5F5: push 0x2b05bb60 */ 4907 PUSH32(esp, 0x2B0E8CE0u); /* 0x2B05B5FA: push 0x2b0e8ce0 */ 4908 RECOMP_ICALL(edi); /* 0x2B05B5FF: call edi */ 4909 RECOMP_FLAGS_IN(); 4910 ecx = MEM32(esi + 0x28); /* 0x2B05B601: mov ecx, dword ptr [esi + 0x28] */ 4911 /* test ecx, ecx */ /* 0x2B05B604: test ecx, ecx */ 4912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4913 _cf = 0; 4914 _flag_k = FK_TEST; 4915 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B60E; /* 0x2B05B606: je 0x2b05b60e */ 4916 L_2B05B608: 4917 edx = MEM32(ecx); /* 0x2B05B608: mov edx, dword ptr [ecx] */ 4918 PUSH32(esp, 1); /* 0x2B05B60A: push 1 */ 4919 RECOMP_ICALL(MEM32(edx)); /* 0x2B05B60C: call dword ptr [edx] */ 4920 RECOMP_FLAGS_IN(); 4921 L_2B05B60E: 4922 edi = MEM32(esi + 0x2C); /* 0x2B05B60E: mov edi, dword ptr [esi + 0x2c] */ 4923 /* test edi, edi */ /* 0x2B05B611: test edi, edi */ 4924 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4925 _cf = 0; 4926 _flag_k = FK_TEST; 4927 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B625; /* 0x2B05B613: je 0x2b05b625 */ 4928 L_2B05B615: 4929 ecx = edi; /* 0x2B05B615: mov ecx, edi */ 4930 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B617: call 0x2b05f200 */ /* not lifted */ 4931 RECOMP_FLAGS_IN(); 4932 PUSH32(esp, edi); /* 0x2B05B61C: push edi */ 4933 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B61D: call 0x2b0ab1ba */ /* not lifted */ 4934 RECOMP_FLAGS_IN(); 4935 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4936 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4937 esp = esp + 4; /* 0x2B05B622: add esp, 4 */ 4938 _flag_k = FK_ADD; 4939 L_2B05B625: 4940 edi = MEM32(esi + 0x4C); /* 0x2B05B625: mov edi, dword ptr [esi + 0x4c] */ 4941 /* test edi, edi */ /* 0x2B05B628: test edi, edi */ 4942 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4943 _cf = 0; 4944 _flag_k = FK_TEST; 4945 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B63C; /* 0x2B05B62A: je 0x2b05b63c */ 4946 L_2B05B62C: 4947 ecx = edi; /* 0x2B05B62C: mov ecx, edi */ 4948 RECOMP_ICALL(0x2B05F670u); /* 0x2B05B62E: call 0x2b05f670 */ /* not lifted */ 4949 RECOMP_FLAGS_IN(); 4950 PUSH32(esp, edi); /* 0x2B05B633: push edi */ 4951 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B634: call 0x2b0ab1ba */ /* not lifted */ 4952 RECOMP_FLAGS_IN(); 4953 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4955 esp = esp + 4; /* 0x2B05B639: add esp, 4 */ 4956 _flag_k = FK_ADD; 4957 L_2B05B63C: 4958 edi = MEM32(esi + 0x30); /* 0x2B05B63C: mov edi, dword ptr [esi + 0x30] */ 4959 /* test edi, edi */ /* 0x2B05B63F: test edi, edi */ 4960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4961 _cf = 0; 4962 _flag_k = FK_TEST; 4963 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B653; /* 0x2B05B641: je 0x2b05b653 */ 4964 L_2B05B643: 4965 ecx = edi; /* 0x2B05B643: mov ecx, edi */ 4966 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B645: call 0x2b05f200 */ /* not lifted */ 4967 RECOMP_FLAGS_IN(); 4968 PUSH32(esp, edi); /* 0x2B05B64A: push edi */ 4969 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B64B: call 0x2b0ab1ba */ /* not lifted */ 4970 RECOMP_FLAGS_IN(); 4971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4973 esp = esp + 4; /* 0x2B05B650: add esp, 4 */ 4974 _flag_k = FK_ADD; 4975 L_2B05B653: 4976 edi = MEM32(esi + 0x34); /* 0x2B05B653: mov edi, dword ptr [esi + 0x34] */ 4977 /* test edi, edi */ /* 0x2B05B656: test edi, edi */ 4978 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4979 _cf = 0; 4980 _flag_k = FK_TEST; 4981 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B66A; /* 0x2B05B658: je 0x2b05b66a */ 4982 L_2B05B65A: 4983 ecx = edi; /* 0x2B05B65A: mov ecx, edi */ 4984 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B65C: call 0x2b05f200 */ /* not lifted */ 4985 RECOMP_FLAGS_IN(); 4986 PUSH32(esp, edi); /* 0x2B05B661: push edi */ 4987 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B662: call 0x2b0ab1ba */ /* not lifted */ 4988 RECOMP_FLAGS_IN(); 4989 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4990 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4991 esp = esp + 4; /* 0x2B05B667: add esp, 4 */ 4992 _flag_k = FK_ADD; 4993 L_2B05B66A: 4994 edi = MEM32(esi + 0x38); /* 0x2B05B66A: mov edi, dword ptr [esi + 0x38] */ 4995 /* test edi, edi */ /* 0x2B05B66D: test edi, edi */ 4996 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4997 _cf = 0; 4998 _flag_k = FK_TEST; 4999 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B681; /* 0x2B05B66F: je 0x2b05b681 */ 5000 L_2B05B671: 5001 ecx = edi; /* 0x2B05B671: mov ecx, edi */ 5002 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B673: call 0x2b05f200 */ /* not lifted */ 5003 RECOMP_FLAGS_IN(); 5004 PUSH32(esp, edi); /* 0x2B05B678: push edi */ 5005 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B679: call 0x2b0ab1ba */ /* not lifted */ 5006 RECOMP_FLAGS_IN(); 5007 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5008 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5009 esp = esp + 4; /* 0x2B05B67E: add esp, 4 */ 5010 _flag_k = FK_ADD; 5011 L_2B05B681: 5012 edi = MEM32(esi + 0x3C); /* 0x2B05B681: mov edi, dword ptr [esi + 0x3c] */ 5013 /* test edi, edi */ /* 0x2B05B684: test edi, edi */ 5014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5015 _cf = 0; 5016 _flag_k = FK_TEST; 5017 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B698; /* 0x2B05B686: je 0x2b05b698 */ 5018 L_2B05B688: 5019 ecx = edi; /* 0x2B05B688: mov ecx, edi */ 5020 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B68A: call 0x2b05f200 */ /* not lifted */ 5021 RECOMP_FLAGS_IN(); 5022 PUSH32(esp, edi); /* 0x2B05B68F: push edi */ 5023 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B690: call 0x2b0ab1ba */ /* not lifted */ 5024 RECOMP_FLAGS_IN(); 5025 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5026 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5027 esp = esp + 4; /* 0x2B05B695: add esp, 4 */ 5028 _flag_k = FK_ADD; 5029 L_2B05B698: 5030 edi = MEM32(esi + 0x40); /* 0x2B05B698: mov edi, dword ptr [esi + 0x40] */ 5031 /* test edi, edi */ /* 0x2B05B69B: test edi, edi */ 5032 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5033 _cf = 0; 5034 _flag_k = FK_TEST; 5035 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B6AF; /* 0x2B05B69D: je 0x2b05b6af */ 5036 L_2B05B69F: 5037 ecx = edi; /* 0x2B05B69F: mov ecx, edi */ 5038 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B6A1: call 0x2b05f200 */ /* not lifted */ 5039 RECOMP_FLAGS_IN(); 5040 PUSH32(esp, edi); /* 0x2B05B6A6: push edi */ 5041 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B6A7: call 0x2b0ab1ba */ /* not lifted */ 5042 RECOMP_FLAGS_IN(); 5043 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5045 esp = esp + 4; /* 0x2B05B6AC: add esp, 4 */ 5046 _flag_k = FK_ADD; 5047 L_2B05B6AF: 5048 edi = MEM32(esi + 0x44); /* 0x2B05B6AF: mov edi, dword ptr [esi + 0x44] */ 5049 /* test edi, edi */ /* 0x2B05B6B2: test edi, edi */ 5050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5051 _cf = 0; 5052 _flag_k = FK_TEST; 5053 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B6C6; /* 0x2B05B6B4: je 0x2b05b6c6 */ 5054 L_2B05B6B6: 5055 ecx = edi; /* 0x2B05B6B6: mov ecx, edi */ 5056 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B6B8: call 0x2b05f200 */ /* not lifted */ 5057 RECOMP_FLAGS_IN(); 5058 PUSH32(esp, edi); /* 0x2B05B6BD: push edi */ 5059 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B6BE: call 0x2b0ab1ba */ /* not lifted */ 5060 RECOMP_FLAGS_IN(); 5061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5063 esp = esp + 4; /* 0x2B05B6C3: add esp, 4 */ 5064 _flag_k = FK_ADD; 5065 L_2B05B6C6: 5066 edi = MEM32(esi + 0x48); /* 0x2B05B6C6: mov edi, dword ptr [esi + 0x48] */ 5067 /* test edi, edi */ /* 0x2B05B6C9: test edi, edi */ 5068 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5069 _cf = 0; 5070 _flag_k = FK_TEST; 5071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B6DD; /* 0x2B05B6CB: je 0x2b05b6dd */ 5072 L_2B05B6CD: 5073 ecx = edi; /* 0x2B05B6CD: mov ecx, edi */ 5074 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B6CF: call 0x2b05f200 */ /* not lifted */ 5075 RECOMP_FLAGS_IN(); 5076 PUSH32(esp, edi); /* 0x2B05B6D4: push edi */ 5077 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B6D5: call 0x2b0ab1ba */ /* not lifted */ 5078 RECOMP_FLAGS_IN(); 5079 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5080 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5081 esp = esp + 4; /* 0x2B05B6DA: add esp, 4 */ 5082 _flag_k = FK_ADD; 5083 L_2B05B6DD: 5084 ecx = MEM32(esi + 0x50); /* 0x2B05B6DD: mov ecx, dword ptr [esi + 0x50] */ 5085 /* test ecx, ecx */ /* 0x2B05B6E0: test ecx, ecx */ 5086 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5087 _cf = 0; 5088 _flag_k = FK_TEST; 5089 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B6EA; /* 0x2B05B6E2: je 0x2b05b6ea */ 5090 L_2B05B6E4: 5091 eax = MEM32(ecx); /* 0x2B05B6E4: mov eax, dword ptr [ecx] */ 5092 PUSH32(esp, 1); /* 0x2B05B6E6: push 1 */ 5093 RECOMP_ICALL(MEM32(eax)); /* 0x2B05B6E8: call dword ptr [eax] */ 5094 RECOMP_FLAGS_IN(); 5095 L_2B05B6EA: 5096 edi = MEM32(esi + 0x54); /* 0x2B05B6EA: mov edi, dword ptr [esi + 0x54] */ 5097 /* test edi, edi */ /* 0x2B05B6ED: test edi, edi */ 5098 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5099 _cf = 0; 5100 _flag_k = FK_TEST; 5101 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B701; /* 0x2B05B6EF: je 0x2b05b701 */ 5102 L_2B05B6F1: 5103 ecx = edi; /* 0x2B05B6F1: mov ecx, edi */ 5104 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B6F3: call 0x2b05f200 */ /* not lifted */ 5105 RECOMP_FLAGS_IN(); 5106 PUSH32(esp, edi); /* 0x2B05B6F8: push edi */ 5107 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B6F9: call 0x2b0ab1ba */ /* not lifted */ 5108 RECOMP_FLAGS_IN(); 5109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5111 esp = esp + 4; /* 0x2B05B6FE: add esp, 4 */ 5112 _flag_k = FK_ADD; 5113 L_2B05B701: 5114 edi = MEM32(esi + 0x58); /* 0x2B05B701: mov edi, dword ptr [esi + 0x58] */ 5115 /* test edi, edi */ /* 0x2B05B704: test edi, edi */ 5116 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5117 _cf = 0; 5118 _flag_k = FK_TEST; 5119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B718; /* 0x2B05B706: je 0x2b05b718 */ 5120 L_2B05B708: 5121 ecx = edi; /* 0x2B05B708: mov ecx, edi */ 5122 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B70A: call 0x2b05f200 */ /* not lifted */ 5123 RECOMP_FLAGS_IN(); 5124 PUSH32(esp, edi); /* 0x2B05B70F: push edi */ 5125 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B710: call 0x2b0ab1ba */ /* not lifted */ 5126 RECOMP_FLAGS_IN(); 5127 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5128 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5129 esp = esp + 4; /* 0x2B05B715: add esp, 4 */ 5130 _flag_k = FK_ADD; 5131 L_2B05B718: 5132 edi = MEM32(esi + 0x5C); /* 0x2B05B718: mov edi, dword ptr [esi + 0x5c] */ 5133 /* test edi, edi */ /* 0x2B05B71B: test edi, edi */ 5134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5135 _cf = 0; 5136 _flag_k = FK_TEST; 5137 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B72F; /* 0x2B05B71D: je 0x2b05b72f */ 5138 L_2B05B71F: 5139 ecx = edi; /* 0x2B05B71F: mov ecx, edi */ 5140 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B721: call 0x2b05f200 */ /* not lifted */ 5141 RECOMP_FLAGS_IN(); 5142 PUSH32(esp, edi); /* 0x2B05B726: push edi */ 5143 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B727: call 0x2b0ab1ba */ /* not lifted */ 5144 RECOMP_FLAGS_IN(); 5145 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5147 esp = esp + 4; /* 0x2B05B72C: add esp, 4 */ 5148 _flag_k = FK_ADD; 5149 L_2B05B72F: 5150 edi = MEM32(esi + 0x60); /* 0x2B05B72F: mov edi, dword ptr [esi + 0x60] */ 5151 /* test edi, edi */ /* 0x2B05B732: test edi, edi */ 5152 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5153 _cf = 0; 5154 _flag_k = FK_TEST; 5155 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B746; /* 0x2B05B734: je 0x2b05b746 */ 5156 L_2B05B736: 5157 ecx = edi; /* 0x2B05B736: mov ecx, edi */ 5158 RECOMP_ICALL(0x2B05F200u); /* 0x2B05B738: call 0x2b05f200 */ /* not lifted */ 5159 RECOMP_FLAGS_IN(); 5160 PUSH32(esp, edi); /* 0x2B05B73D: push edi */ 5161 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05B73E: call 0x2b0ab1ba */ /* not lifted */ 5162 RECOMP_FLAGS_IN(); 5163 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5165 esp = esp + 4; /* 0x2B05B743: add esp, 4 */ 5166 _flag_k = FK_ADD; 5167 L_2B05B746: 5168 ecx = esi; /* 0x2B05B746: mov ecx, esi */ 5169 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05B748: mov dword ptr [ebp - 4], 0xffffffff */ 5170 RECOMP_ICALL(0x2B03A290u); /* 0x2B05B74F: call 0x2b03a290 */ /* not lifted */ 5171 RECOMP_FLAGS_IN(); 5172 ecx = MEM32(ebp + (-0xC)); /* 0x2B05B754: mov ecx, dword ptr [ebp - 0xc] */ 5173 edi = POP32_VAL(esp); /* 0x2B05B757: pop edi */ 5174 esi = POP32_VAL(esp); /* 0x2B05B758: pop esi */ 5175 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05B759: mov dword ptr fs:[0], ecx */ 5176 esp = ebp; /* 0x2B05B760: mov esp, ebp */ 5177 ebp = POP32_VAL(esp); /* 0x2B05B762: pop ebp */ 5178 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B763: ret */ 5179 RECOMP_REGS_OUT(); 5180 } 5181 5182 void sub_2B05B770(void) { 5183 int _fpu_cmp = 0; 5184 uint32_t _cf = 0; 5185 int _df = 1; 5186 uint32_t _flag_k = FK_NONE; 5187 uint32_t _flag_a = 0, _flag_b = 0; 5188 uint32_t _itail_tgt = 0; 5189 RECOMP_REGS_LOCALS 5190 RECOMP_ENTER(0x2B05B770u); 5191 5192 L_2B05B770: 5193 PUSH32(esp, ebp); /* 0x2B05B770: push ebp */ 5194 ebp = esp; /* 0x2B05B771: mov ebp, esp */ 5195 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5197 esp = esp - 8; /* 0x2B05B773: sub esp, 8 */ 5198 _flag_k = FK_CMP; 5199 PUSH32(esp, esi); /* 0x2B05B776: push esi */ 5200 esi = ecx; /* 0x2B05B777: mov esi, ecx */ 5201 ecx = MEM32(esi + 0x8); /* 0x2B05B779: mov ecx, dword ptr [esi + 8] */ 5202 eax = MEM32(esi + 0x4); /* 0x2B05B77C: mov eax, dword ptr [esi + 4] */ 5203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 5204 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5205 ecx = ecx + 0x14u; /* 0x2B05B77F: add ecx, 0x14 */ 5206 _flag_k = FK_ADD; 5207 PUSH32(esp, edi); /* 0x2B05B782: push edi */ 5208 edx = ebp + (-0x8); /* 0x2B05B783: lea edx, [ebp - 8] */ 5209 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B786: mov dword ptr [ebp - 4], ecx */ 5210 ecx = MEM32(esi + 0x28); /* 0x2B05B789: mov ecx, dword ptr [esi + 0x28] */ 5211 PUSH32(esp, edx); /* 0x2B05B78C: push edx */ 5212 MEM32(ebp + (-0x8)) = eax; /* 0x2B05B78D: mov dword ptr [ebp - 8], eax */ 5213 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05B790: call dword ptr [0x2b0b5940] */ 5214 RECOMP_FLAGS_IN(); 5215 eax = MEM32(esi + 0x28); /* 0x2B05B796: mov eax, dword ptr [esi + 0x28] */ 5216 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05B799: mov byte ptr [eax + 9], 1 */ 5217 ecx = MEM32(esi + 0x4); /* 0x2B05B79D: mov ecx, dword ptr [esi + 4] */ 5218 edx = MEM32(esi + 0x8); /* 0x2B05B7A0: mov edx, dword ptr [esi + 8] */ 5219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5); 5220 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5221 ecx = ecx + 5; /* 0x2B05B7A3: add ecx, 5 */ 5222 _flag_k = FK_ADD; 5223 eax = ebp + (-0x8); /* 0x2B05B7A6: lea eax, [ebp - 8] */ 5224 MEM32(ebp + (-0x8)) = ecx; /* 0x2B05B7A9: mov dword ptr [ebp - 8], ecx */ 5225 ecx = MEM32(esi + 0x4C); /* 0x2B05B7AC: mov ecx, dword ptr [esi + 0x4c] */ 5226 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x23u); 5227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5228 edx = edx + 0x23u; /* 0x2B05B7AF: add edx, 0x23 */ 5229 _flag_k = FK_ADD; 5230 PUSH32(esp, eax); /* 0x2B05B7B2: push eax */ 5231 MEM32(ebp + (-0x4)) = edx; /* 0x2B05B7B3: mov dword ptr [ebp - 4], edx */ 5232 RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05B7B6: call 0x2b05f7b0 */ /* not lifted */ 5233 RECOMP_FLAGS_IN(); 5234 ecx = MEM32(esi + 0x4C); /* 0x2B05B7BB: mov ecx, dword ptr [esi + 0x4c] */ 5235 RECOMP_ICALL(0x2B05F790u); /* 0x2B05B7BE: call 0x2b05f790 */ /* not lifted */ 5236 RECOMP_FLAGS_IN(); 5237 edi = MEM32(ebp + (-0x4)); /* 0x2B05B7C3: mov edi, dword ptr [ebp - 4] */ 5238 ecx = ebp + (-0x8); /* 0x2B05B7C6: lea ecx, [ebp - 8] */ 5239 PUSH32(esp, ecx); /* 0x2B05B7C9: push ecx */ 5240 ecx = MEM32(esi + 0x2C); /* 0x2B05B7CA: mov ecx, dword ptr [esi + 0x2c] */ 5241 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x18u); 5242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5243 edi = edi + 0x18u; /* 0x2B05B7CD: add edi, 0x18 */ 5244 _flag_k = FK_ADD; 5245 MEM32(ebp + (-0x4)) = edi; /* 0x2B05B7D0: mov dword ptr [ebp - 4], edi */ 5246 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B7D3: call 0x2b05f300 */ /* not lifted */ 5247 RECOMP_FLAGS_IN(); 5248 ecx = MEM32(esi + 0x2C); /* 0x2B05B7D8: mov ecx, dword ptr [esi + 0x2c] */ 5249 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B7DB: call 0x2b05f2e0 */ /* not lifted */ 5250 RECOMP_FLAGS_IN(); 5251 ecx = MEM32(ebp + (-0x4)); /* 0x2B05B7E0: mov ecx, dword ptr [ebp - 4] */ 5252 edi = 0xCu; /* 0x2B05B7E3: mov edi, 0xc */ 5253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5255 ecx = ecx + edi; /* 0x2B05B7E8: add ecx, edi */ 5256 _flag_k = FK_ADD; 5257 edx = ebp + (-0x8); /* 0x2B05B7EA: lea edx, [ebp - 8] */ 5258 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B7ED: mov dword ptr [ebp - 4], ecx */ 5259 ecx = MEM32(esi + 0x30); /* 0x2B05B7F0: mov ecx, dword ptr [esi + 0x30] */ 5260 PUSH32(esp, edx); /* 0x2B05B7F3: push edx */ 5261 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B7F4: call 0x2b05f300 */ /* not lifted */ 5262 RECOMP_FLAGS_IN(); 5263 ecx = MEM32(esi + 0x30); /* 0x2B05B7F9: mov ecx, dword ptr [esi + 0x30] */ 5264 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B7FC: call 0x2b05f2e0 */ /* not lifted */ 5265 RECOMP_FLAGS_IN(); 5266 edx = MEM32(ebp + (-0x4)); /* 0x2B05B801: mov edx, dword ptr [ebp - 4] */ 5267 ecx = MEM32(esi + 0x34); /* 0x2B05B804: mov ecx, dword ptr [esi + 0x34] */ 5268 eax = ebp + (-0x8); /* 0x2B05B807: lea eax, [ebp - 8] */ 5269 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5271 edx = edx + edi; /* 0x2B05B80A: add edx, edi */ 5272 _flag_k = FK_ADD; 5273 PUSH32(esp, eax); /* 0x2B05B80C: push eax */ 5274 MEM32(ebp + (-0x4)) = edx; /* 0x2B05B80D: mov dword ptr [ebp - 4], edx */ 5275 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B810: call 0x2b05f300 */ /* not lifted */ 5276 RECOMP_FLAGS_IN(); 5277 ecx = MEM32(esi + 0x34); /* 0x2B05B815: mov ecx, dword ptr [esi + 0x34] */ 5278 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B818: call 0x2b05f2e0 */ /* not lifted */ 5279 RECOMP_FLAGS_IN(); 5280 eax = MEM32(ebp + (-0x4)); /* 0x2B05B81D: mov eax, dword ptr [ebp - 4] */ 5281 ecx = ebp + (-0x8); /* 0x2B05B820: lea ecx, [ebp - 8] */ 5282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5284 eax = eax + edi; /* 0x2B05B823: add eax, edi */ 5285 _flag_k = FK_ADD; 5286 PUSH32(esp, ecx); /* 0x2B05B825: push ecx */ 5287 ecx = MEM32(esi + 0x38); /* 0x2B05B826: mov ecx, dword ptr [esi + 0x38] */ 5288 MEM32(ebp + (-0x4)) = eax; /* 0x2B05B829: mov dword ptr [ebp - 4], eax */ 5289 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B82C: call 0x2b05f300 */ /* not lifted */ 5290 RECOMP_FLAGS_IN(); 5291 ecx = MEM32(esi + 0x38); /* 0x2B05B831: mov ecx, dword ptr [esi + 0x38] */ 5292 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B834: call 0x2b05f2e0 */ /* not lifted */ 5293 RECOMP_FLAGS_IN(); 5294 ecx = MEM32(ebp + (-0x4)); /* 0x2B05B839: mov ecx, dword ptr [ebp - 4] */ 5295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5296 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5297 ecx = ecx + edi; /* 0x2B05B83C: add ecx, edi */ 5298 _flag_k = FK_ADD; 5299 edx = ebp + (-0x8); /* 0x2B05B83E: lea edx, [ebp - 8] */ 5300 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B841: mov dword ptr [ebp - 4], ecx */ 5301 ecx = MEM32(esi + 0x3C); /* 0x2B05B844: mov ecx, dword ptr [esi + 0x3c] */ 5302 PUSH32(esp, edx); /* 0x2B05B847: push edx */ 5303 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B848: call 0x2b05f300 */ /* not lifted */ 5304 RECOMP_FLAGS_IN(); 5305 ecx = MEM32(esi + 0x3C); /* 0x2B05B84D: mov ecx, dword ptr [esi + 0x3c] */ 5306 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B850: call 0x2b05f2e0 */ /* not lifted */ 5307 RECOMP_FLAGS_IN(); 5308 edx = MEM32(ebp + (-0x4)); /* 0x2B05B855: mov edx, dword ptr [ebp - 4] */ 5309 ecx = MEM32(esi + 0x40); /* 0x2B05B858: mov ecx, dword ptr [esi + 0x40] */ 5310 eax = ebp + (-0x8); /* 0x2B05B85B: lea eax, [ebp - 8] */ 5311 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5313 edx = edx + edi; /* 0x2B05B85E: add edx, edi */ 5314 _flag_k = FK_ADD; 5315 PUSH32(esp, eax); /* 0x2B05B860: push eax */ 5316 MEM32(ebp + (-0x4)) = edx; /* 0x2B05B861: mov dword ptr [ebp - 4], edx */ 5317 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B864: call 0x2b05f300 */ /* not lifted */ 5318 RECOMP_FLAGS_IN(); 5319 ecx = MEM32(esi + 0x40); /* 0x2B05B869: mov ecx, dword ptr [esi + 0x40] */ 5320 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B86C: call 0x2b05f2e0 */ /* not lifted */ 5321 RECOMP_FLAGS_IN(); 5322 eax = MEM32(ebp + (-0x4)); /* 0x2B05B871: mov eax, dword ptr [ebp - 4] */ 5323 ecx = ebp + (-0x8); /* 0x2B05B874: lea ecx, [ebp - 8] */ 5324 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5326 eax = eax + edi; /* 0x2B05B877: add eax, edi */ 5327 _flag_k = FK_ADD; 5328 PUSH32(esp, ecx); /* 0x2B05B879: push ecx */ 5329 ecx = MEM32(esi + 0x44); /* 0x2B05B87A: mov ecx, dword ptr [esi + 0x44] */ 5330 MEM32(ebp + (-0x4)) = eax; /* 0x2B05B87D: mov dword ptr [ebp - 4], eax */ 5331 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B880: call 0x2b05f300 */ /* not lifted */ 5332 RECOMP_FLAGS_IN(); 5333 ecx = MEM32(esi + 0x44); /* 0x2B05B885: mov ecx, dword ptr [esi + 0x44] */ 5334 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B888: call 0x2b05f2e0 */ /* not lifted */ 5335 RECOMP_FLAGS_IN(); 5336 ecx = MEM32(ebp + (-0x4)); /* 0x2B05B88D: mov ecx, dword ptr [ebp - 4] */ 5337 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5339 ecx = ecx + edi; /* 0x2B05B890: add ecx, edi */ 5340 _flag_k = FK_ADD; 5341 edx = ebp + (-0x8); /* 0x2B05B892: lea edx, [ebp - 8] */ 5342 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B895: mov dword ptr [ebp - 4], ecx */ 5343 ecx = MEM32(esi + 0x48); /* 0x2B05B898: mov ecx, dword ptr [esi + 0x48] */ 5344 PUSH32(esp, edx); /* 0x2B05B89B: push edx */ 5345 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B89C: call 0x2b05f300 */ /* not lifted */ 5346 RECOMP_FLAGS_IN(); 5347 ecx = MEM32(esi + 0x48); /* 0x2B05B8A1: mov ecx, dword ptr [esi + 0x48] */ 5348 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B8A4: call 0x2b05f2e0 */ /* not lifted */ 5349 RECOMP_FLAGS_IN(); 5350 eax = MEM32(ebp + (-0x4)); /* 0x2B05B8A9: mov eax, dword ptr [ebp - 4] */ 5351 ecx = MEM32(esi + 0x50); /* 0x2B05B8AC: mov ecx, dword ptr [esi + 0x50] */ 5352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u); 5353 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5354 eax = eax + 0x18u; /* 0x2B05B8AF: add eax, 0x18 */ 5355 _flag_k = FK_ADD; 5356 PUSH32(esp, eax); /* 0x2B05B8B2: push eax */ 5357 MEM32(ebp + (-0x4)) = eax; /* 0x2B05B8B3: mov dword ptr [ebp - 4], eax */ 5358 eax = MEM32(ebp + (-0x8)); /* 0x2B05B8B6: mov eax, dword ptr [ebp - 8] */ 5359 PUSH32(esp, eax); /* 0x2B05B8B9: push eax */ 5360 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05B8BA: call dword ptr [0x2b0b5924] */ 5361 RECOMP_FLAGS_IN(); 5362 ecx = MEM32(esi + 0x50); /* 0x2B05B8C0: mov ecx, dword ptr [esi + 0x50] */ 5363 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B05B8C3: mov byte ptr [ecx + 9], 1 */ 5364 ecx = MEM32(ebp + (-0x4)); /* 0x2B05B8C7: mov ecx, dword ptr [ebp - 4] */ 5365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5367 ecx = ecx + edi; /* 0x2B05B8CA: add ecx, edi */ 5368 _flag_k = FK_ADD; 5369 edx = ebp + (-0x8); /* 0x2B05B8CC: lea edx, [ebp - 8] */ 5370 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B8CF: mov dword ptr [ebp - 4], ecx */ 5371 ecx = MEM32(esi + 0x54); /* 0x2B05B8D2: mov ecx, dword ptr [esi + 0x54] */ 5372 PUSH32(esp, edx); /* 0x2B05B8D5: push edx */ 5373 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B8D6: call 0x2b05f300 */ /* not lifted */ 5374 RECOMP_FLAGS_IN(); 5375 ecx = MEM32(esi + 0x54); /* 0x2B05B8DB: mov ecx, dword ptr [esi + 0x54] */ 5376 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B8DE: call 0x2b05f2e0 */ /* not lifted */ 5377 RECOMP_FLAGS_IN(); 5378 edx = MEM32(ebp + (-0x4)); /* 0x2B05B8E3: mov edx, dword ptr [ebp - 4] */ 5379 ecx = MEM32(esi + 0x58); /* 0x2B05B8E6: mov ecx, dword ptr [esi + 0x58] */ 5380 eax = ebp + (-0x8); /* 0x2B05B8E9: lea eax, [ebp - 8] */ 5381 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5382 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5383 edx = edx + edi; /* 0x2B05B8EC: add edx, edi */ 5384 _flag_k = FK_ADD; 5385 PUSH32(esp, eax); /* 0x2B05B8EE: push eax */ 5386 MEM32(ebp + (-0x4)) = edx; /* 0x2B05B8EF: mov dword ptr [ebp - 4], edx */ 5387 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B8F2: call 0x2b05f300 */ /* not lifted */ 5388 RECOMP_FLAGS_IN(); 5389 ecx = MEM32(esi + 0x58); /* 0x2B05B8F7: mov ecx, dword ptr [esi + 0x58] */ 5390 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B8FA: call 0x2b05f2e0 */ /* not lifted */ 5391 RECOMP_FLAGS_IN(); 5392 eax = MEM32(ebp + (-0x4)); /* 0x2B05B8FF: mov eax, dword ptr [ebp - 4] */ 5393 ecx = ebp + (-0x8); /* 0x2B05B902: lea ecx, [ebp - 8] */ 5394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5396 eax = eax + edi; /* 0x2B05B905: add eax, edi */ 5397 _flag_k = FK_ADD; 5398 PUSH32(esp, ecx); /* 0x2B05B907: push ecx */ 5399 ecx = MEM32(esi + 0x5C); /* 0x2B05B908: mov ecx, dword ptr [esi + 0x5c] */ 5400 MEM32(ebp + (-0x4)) = eax; /* 0x2B05B90B: mov dword ptr [ebp - 4], eax */ 5401 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B90E: call 0x2b05f300 */ /* not lifted */ 5402 RECOMP_FLAGS_IN(); 5403 ecx = MEM32(esi + 0x5C); /* 0x2B05B913: mov ecx, dword ptr [esi + 0x5c] */ 5404 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B916: call 0x2b05f2e0 */ /* not lifted */ 5405 RECOMP_FLAGS_IN(); 5406 ecx = MEM32(ebp + (-0x4)); /* 0x2B05B91B: mov ecx, dword ptr [ebp - 4] */ 5407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5408 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5409 ecx = ecx + edi; /* 0x2B05B91E: add ecx, edi */ 5410 _flag_k = FK_ADD; 5411 edx = ebp + (-0x8); /* 0x2B05B920: lea edx, [ebp - 8] */ 5412 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05B923: mov dword ptr [ebp - 4], ecx */ 5413 ecx = MEM32(esi + 0x60); /* 0x2B05B926: mov ecx, dword ptr [esi + 0x60] */ 5414 PUSH32(esp, edx); /* 0x2B05B929: push edx */ 5415 RECOMP_ICALL(0x2B05F300u); /* 0x2B05B92A: call 0x2b05f300 */ /* not lifted */ 5416 RECOMP_FLAGS_IN(); 5417 ecx = MEM32(esi + 0x60); /* 0x2B05B92F: mov ecx, dword ptr [esi + 0x60] */ 5418 RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05B932: call 0x2b05f2e0 */ /* not lifted */ 5419 RECOMP_FLAGS_IN(); 5420 edi = POP32_VAL(esp); /* 0x2B05B937: pop edi */ 5421 esi = POP32_VAL(esp); /* 0x2B05B938: pop esi */ 5422 esp = ebp; /* 0x2B05B939: mov esp, ebp */ 5423 ebp = POP32_VAL(esp); /* 0x2B05B93B: pop ebp */ 5424 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B93C: ret */ 5425 RECOMP_REGS_OUT(); 5426 } 5427 5428 void sub_2B05B940(void) { 5429 int _fpu_cmp = 0; 5430 uint32_t _cf = 0; 5431 int _df = 1; 5432 uint32_t _flag_k = FK_NONE; 5433 uint32_t _flag_a = 0, _flag_b = 0; 5434 uint32_t _itail_tgt = 0; 5435 RECOMP_REGS_LOCALS 5436 RECOMP_ENTER(0x2B05B940u); 5437 5438 L_2B05B940: 5439 PUSH32(esp, esi); /* 0x2B05B940: push esi */ 5440 esi = ecx; /* 0x2B05B941: mov esi, ecx */ 5441 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05B943: mov al, byte ptr [esi + 0xc] */ 5442 /* test LO8(eax), LO8(eax) */ /* 0x2B05B946: test al, al */ 5443 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5444 _cf = 0; 5445 _flag_k = FK_NARROW(FK_TEST, 24); 5446 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05B9C0; /* 0x2B05B948: je 0x2b05b9c0 */ 5447 L_2B05B94A: 5448 eax = MEM32(esi + 0x28); /* 0x2B05B94A: mov eax, dword ptr [esi + 0x28] */ 5449 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05B94D: mov byte ptr [eax + 8], 1 */ 5450 ecx = MEM32(esi + 0x2C); /* 0x2B05B951: mov ecx, dword ptr [esi + 0x2c] */ 5451 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B954: call 0x2b05f2a0 */ /* not lifted */ 5452 RECOMP_FLAGS_IN(); 5453 ecx = MEM32(esi + 0x4C); /* 0x2B05B959: mov ecx, dword ptr [esi + 0x4c] */ 5454 RECOMP_ICALL(0x2B05F750u); /* 0x2B05B95C: call 0x2b05f750 */ /* not lifted */ 5455 RECOMP_FLAGS_IN(); 5456 ecx = MEM32(esi + 0x30); /* 0x2B05B961: mov ecx, dword ptr [esi + 0x30] */ 5457 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B964: call 0x2b05f2a0 */ /* not lifted */ 5458 RECOMP_FLAGS_IN(); 5459 ecx = MEM32(esi + 0x34); /* 0x2B05B969: mov ecx, dword ptr [esi + 0x34] */ 5460 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B96C: call 0x2b05f2a0 */ /* not lifted */ 5461 RECOMP_FLAGS_IN(); 5462 ecx = MEM32(esi + 0x38); /* 0x2B05B971: mov ecx, dword ptr [esi + 0x38] */ 5463 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B974: call 0x2b05f2a0 */ /* not lifted */ 5464 RECOMP_FLAGS_IN(); 5465 ecx = MEM32(esi + 0x3C); /* 0x2B05B979: mov ecx, dword ptr [esi + 0x3c] */ 5466 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B97C: call 0x2b05f2a0 */ /* not lifted */ 5467 RECOMP_FLAGS_IN(); 5468 ecx = MEM32(esi + 0x40); /* 0x2B05B981: mov ecx, dword ptr [esi + 0x40] */ 5469 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B984: call 0x2b05f2a0 */ /* not lifted */ 5470 RECOMP_FLAGS_IN(); 5471 ecx = MEM32(esi + 0x44); /* 0x2B05B989: mov ecx, dword ptr [esi + 0x44] */ 5472 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B98C: call 0x2b05f2a0 */ /* not lifted */ 5473 RECOMP_FLAGS_IN(); 5474 ecx = MEM32(esi + 0x48); /* 0x2B05B991: mov ecx, dword ptr [esi + 0x48] */ 5475 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B994: call 0x2b05f2a0 */ /* not lifted */ 5476 RECOMP_FLAGS_IN(); 5477 ecx = MEM32(esi + 0x50); /* 0x2B05B999: mov ecx, dword ptr [esi + 0x50] */ 5478 MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B05B99C: mov byte ptr [ecx + 8], 1 */ 5479 ecx = MEM32(esi + 0x54); /* 0x2B05B9A0: mov ecx, dword ptr [esi + 0x54] */ 5480 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B9A3: call 0x2b05f2a0 */ /* not lifted */ 5481 RECOMP_FLAGS_IN(); 5482 ecx = MEM32(esi + 0x58); /* 0x2B05B9A8: mov ecx, dword ptr [esi + 0x58] */ 5483 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B9AB: call 0x2b05f2a0 */ /* not lifted */ 5484 RECOMP_FLAGS_IN(); 5485 ecx = MEM32(esi + 0x5C); /* 0x2B05B9B0: mov ecx, dword ptr [esi + 0x5c] */ 5486 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B9B3: call 0x2b05f2a0 */ /* not lifted */ 5487 RECOMP_FLAGS_IN(); 5488 ecx = MEM32(esi + 0x60); /* 0x2B05B9B8: mov ecx, dword ptr [esi + 0x60] */ 5489 RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05B9BB: call 0x2b05f2a0 */ /* not lifted */ 5490 RECOMP_FLAGS_IN(); 5491 L_2B05B9C0: 5492 esi = POP32_VAL(esp); /* 0x2B05B9C0: pop esi */ 5493 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05B9C1: ret */ 5494 RECOMP_REGS_OUT(); 5495 } 5496 5497 void sub_2B05B9D0(void) { 5498 int _fpu_cmp = 0; 5499 uint32_t _cf = 0; 5500 int _df = 1; 5501 uint32_t _flag_k = FK_NONE; 5502 uint32_t _flag_a = 0, _flag_b = 0; 5503 uint32_t _itail_tgt = 0; 5504 RECOMP_REGS_LOCALS 5505 RECOMP_ENTER(0x2B05B9D0u); 5506 5507 L_2B05B9D0: 5508 PUSH32(esp, esi); /* 0x2B05B9D0: push esi */ 5509 esi = ecx; /* 0x2B05B9D1: mov esi, ecx */ 5510 eax = MEM32(esi + 0x28); /* 0x2B05B9D3: mov eax, dword ptr [esi + 0x28] */ 5511 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05B9D6: mov byte ptr [eax + 8], 0 */ 5512 ecx = MEM32(esi + 0x2C); /* 0x2B05B9DA: mov ecx, dword ptr [esi + 0x2c] */ 5513 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05B9DD: call 0x2b05f2c0 */ /* not lifted */ 5514 RECOMP_FLAGS_IN(); 5515 ecx = MEM32(esi + 0x4C); /* 0x2B05B9E2: mov ecx, dword ptr [esi + 0x4c] */ 5516 RECOMP_ICALL(0x2B05F770u); /* 0x2B05B9E5: call 0x2b05f770 */ /* not lifted */ 5517 RECOMP_FLAGS_IN(); 5518 ecx = MEM32(esi + 0x30); /* 0x2B05B9EA: mov ecx, dword ptr [esi + 0x30] */ 5519 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05B9ED: call 0x2b05f2c0 */ /* not lifted */ 5520 RECOMP_FLAGS_IN(); 5521 ecx = MEM32(esi + 0x34); /* 0x2B05B9F2: mov ecx, dword ptr [esi + 0x34] */ 5522 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05B9F5: call 0x2b05f2c0 */ /* not lifted */ 5523 RECOMP_FLAGS_IN(); 5524 ecx = MEM32(esi + 0x38); /* 0x2B05B9FA: mov ecx, dword ptr [esi + 0x38] */ 5525 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05B9FD: call 0x2b05f2c0 */ /* not lifted */ 5526 RECOMP_FLAGS_IN(); 5527 ecx = MEM32(esi + 0x3C); /* 0x2B05BA02: mov ecx, dword ptr [esi + 0x3c] */ 5528 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA05: call 0x2b05f2c0 */ /* not lifted */ 5529 RECOMP_FLAGS_IN(); 5530 ecx = MEM32(esi + 0x40); /* 0x2B05BA0A: mov ecx, dword ptr [esi + 0x40] */ 5531 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA0D: call 0x2b05f2c0 */ /* not lifted */ 5532 RECOMP_FLAGS_IN(); 5533 ecx = MEM32(esi + 0x44); /* 0x2B05BA12: mov ecx, dword ptr [esi + 0x44] */ 5534 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA15: call 0x2b05f2c0 */ /* not lifted */ 5535 RECOMP_FLAGS_IN(); 5536 ecx = MEM32(esi + 0x48); /* 0x2B05BA1A: mov ecx, dword ptr [esi + 0x48] */ 5537 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA1D: call 0x2b05f2c0 */ /* not lifted */ 5538 RECOMP_FLAGS_IN(); 5539 ecx = MEM32(esi + 0x50); /* 0x2B05BA22: mov ecx, dword ptr [esi + 0x50] */ 5540 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B05BA25: mov byte ptr [ecx + 8], 0 */ 5541 ecx = MEM32(esi + 0x54); /* 0x2B05BA29: mov ecx, dword ptr [esi + 0x54] */ 5542 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA2C: call 0x2b05f2c0 */ /* not lifted */ 5543 RECOMP_FLAGS_IN(); 5544 ecx = MEM32(esi + 0x58); /* 0x2B05BA31: mov ecx, dword ptr [esi + 0x58] */ 5545 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA34: call 0x2b05f2c0 */ /* not lifted */ 5546 RECOMP_FLAGS_IN(); 5547 ecx = MEM32(esi + 0x5C); /* 0x2B05BA39: mov ecx, dword ptr [esi + 0x5c] */ 5548 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA3C: call 0x2b05f2c0 */ /* not lifted */ 5549 RECOMP_FLAGS_IN(); 5550 ecx = MEM32(esi + 0x60); /* 0x2B05BA41: mov ecx, dword ptr [esi + 0x60] */ 5551 RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05BA44: call 0x2b05f2c0 */ /* not lifted */ 5552 RECOMP_FLAGS_IN(); 5553 esi = POP32_VAL(esp); /* 0x2B05BA49: pop esi */ 5554 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BA4A: ret */ 5555 RECOMP_REGS_OUT(); 5556 } 5557 5558 void sub_2B05BA50(void) { 5559 int _fpu_cmp = 0; 5560 uint32_t _cf = 0; 5561 int _df = 1; 5562 uint32_t _flag_k = FK_NONE; 5563 uint32_t _flag_a = 0, _flag_b = 0; 5564 uint32_t _itail_tgt = 0; 5565 RECOMP_REGS_LOCALS 5566 RECOMP_ENTER(0x2B05BA50u); 5567 5568 L_2B05BA50: 5569 PUSH32(esp, ebp); /* 0x2B05BA50: push ebp */ 5570 ebp = esp; /* 0x2B05BA51: mov ebp, esp */ 5571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 5572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5573 esp = esp - 0x20u; /* 0x2B05BA53: sub esp, 0x20 */ 5574 _flag_k = FK_CMP; 5575 eax = MEM32(0x2B0B6048); /* 0x2B05BA56: mov eax, dword ptr [0x2b0b6048] */ 5576 PUSH32(esp, esi); /* 0x2B05BA5B: push esi */ 5577 PUSH32(esp, 1); /* 0x2B05BA5C: push 1 */ 5578 esi = ecx; /* 0x2B05BA5E: mov esi, ecx */ 5579 ecx = MEM32(eax); /* 0x2B05BA60: mov ecx, dword ptr [eax] */ 5580 PUSH32(esp, 0x2B0E6F14u); /* 0x2B05BA62: push 0x2b0e6f14 */ 5581 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05BA67: call dword ptr [0x2b0b602c] */ 5582 RECOMP_FLAGS_IN(); 5583 PUSH32(esp, eax); /* 0x2B05BA6D: push eax */ 5584 ecx = ebp + (-0x20); /* 0x2B05BA6E: lea ecx, [ebp - 0x20] */ 5585 PUSH32(esp, 0x2B0E8EB0u); /* 0x2B05BA71: push 0x2b0e8eb0 */ 5586 PUSH32(esp, ecx); /* 0x2B05BA76: push ecx */ 5587 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B05BA77: call dword ptr [0x2b0b51f0] */ 5588 RECOMP_FLAGS_IN(); 5589 eax = MEM32(esi + 0x4C); /* 0x2B05BA7D: mov eax, dword ptr [esi + 0x4c] */ 5590 ecx = MEM32(eax + 0x8); /* 0x2B05BA80: mov ecx, dword ptr [eax + 8] */ 5591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5593 esp = esp + 0xCu; /* 0x2B05BA83: add esp, 0xc */ 5594 _flag_k = FK_ADD; 5595 edx = ebp + (-0x20); /* 0x2B05BA86: lea edx, [ebp - 0x20] */ 5596 PUSH32(esp, edx); /* 0x2B05BA89: push edx */ 5597 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05BA8A: call dword ptr [0x2b0b5850] */ 5598 RECOMP_FLAGS_IN(); 5599 ecx = esi; /* 0x2B05BA90: mov ecx, esi */ 5600 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05BA92: call 0x2b03a2b0 */ /* not lifted */ 5601 RECOMP_FLAGS_IN(); 5602 esi = POP32_VAL(esp); /* 0x2B05BA97: pop esi */ 5603 esp = ebp; /* 0x2B05BA98: mov esp, ebp */ 5604 ebp = POP32_VAL(esp); /* 0x2B05BA9A: pop ebp */ 5605 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BA9B: ret */ 5606 RECOMP_REGS_OUT(); 5607 } 5608 5609 void sub_2B05BAA0(void) { 5610 int _fpu_cmp = 0; 5611 uint32_t _cf = 0; 5612 int _df = 1; 5613 uint32_t _flag_k = FK_NONE; 5614 uint32_t _flag_a = 0, _flag_b = 0; 5615 uint32_t _itail_tgt = 0; 5616 RECOMP_REGS_LOCALS 5617 RECOMP_ENTER(0x2B05BAA0u); 5618 5619 L_2B05BAA0: 5620 PUSH32(esp, ebp); /* 0x2B05BAA0: push ebp */ 5621 ebp = esp; /* 0x2B05BAA1: mov ebp, esp */ 5622 ecx = MEM32(0x2B0EEBD4); /* 0x2B05BAA3: mov ecx, dword ptr [0x2b0eebd4] */ 5623 /* test ecx, ecx */ /* 0x2B05BAA9: test ecx, ecx */ 5624 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5625 _cf = 0; 5626 _flag_k = FK_TEST; 5627 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BABF; /* 0x2B05BAAB: je 0x2b05babf */ 5628 L_2B05BAAD: 5629 eax = MEM32(ebp + 0xC); /* 0x2B05BAAD: mov eax, dword ptr [ebp + 0xc] */ 5630 edx = MEM32(ebp + 0x8); /* 0x2B05BAB0: mov edx, dword ptr [ebp + 8] */ 5631 fp_push(*(double*)ADDR(edx)); /* 0x2B05BAB3: fld qword ptr [edx] */ 5632 PUSH32(esp, eax); /* 0x2B05BAB5: push eax */ 5633 PUSH32(esp, ecx); /* 0x2B05BAB6: push ecx */ 5634 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B05BAB7: fstp dword ptr [esp] */ 5635 RECOMP_ICALL(0x2B05BAD0u); /* 0x2B05BABA: call 0x2b05bad0 */ /* not lifted */ 5636 RECOMP_FLAGS_IN(); 5637 L_2B05BABF: 5638 ebp = POP32_VAL(esp); /* 0x2B05BABF: pop ebp */ 5639 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BAC0: ret */ 5640 RECOMP_REGS_OUT(); 5641 } 5642 5643 void sub_2B05BAD0(void) { 5644 int _fpu_cmp = 0; 5645 uint32_t _cf = 0; 5646 int _df = 1; 5647 uint32_t _flag_k = FK_NONE; 5648 uint32_t _flag_a = 0, _flag_b = 0; 5649 uint32_t _itail_tgt = 0; 5650 RECOMP_REGS_LOCALS 5651 RECOMP_ENTER(0x2B05BAD0u); 5652 5653 L_2B05BAD0: 5654 PUSH32(esp, ebp); /* 0x2B05BAD0: push ebp */ 5655 ebp = esp; /* 0x2B05BAD1: mov ebp, esp */ 5656 eax = MEM32(ebp + 0xC); /* 0x2B05BAD3: mov eax, dword ptr [ebp + 0xc] */ 5657 /* test eax, eax */ /* 0x2B05BAD6: test eax, eax */ 5658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5659 _cf = 0; 5660 _flag_k = FK_TEST; 5661 PUSH32(esp, esi); /* 0x2B05BAD8: push esi */ 5662 esi = ecx; /* 0x2B05BAD9: mov esi, ecx */ 5663 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05BB02; /* 0x2B05BADB: jne 0x2b05bb02 */ 5664 L_2B05BADD: 5665 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05BADD: fld dword ptr [ebp + 8] */ 5666 PUSH32(esp, 1); /* 0x2B05BAE0: push 1 */ 5667 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B05BAE2: fmul dword ptr [0x2b0b63b8] */ 5668 PUSH32(esp, 1); /* 0x2B05BAE8: push 1 */ 5669 RECOMP_ICALL(0x2B0AB220u); /* 0x2B05BAEA: call 0x2b0ab220 */ /* not lifted */ 5670 RECOMP_FLAGS_IN(); 5671 PUSH32(esp, eax); /* 0x2B05BAEF: push eax */ 5672 eax = MEM32(0x2B0B6048); /* 0x2B05BAF0: mov eax, dword ptr [0x2b0b6048] */ 5673 ecx = MEM32(eax); /* 0x2B05BAF5: mov ecx, dword ptr [eax] */ 5674 PUSH32(esp, 0x2B0E6F14u); /* 0x2B05BAF7: push 0x2b0e6f14 */ 5675 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05BAFC: call dword ptr [0x2b0b604c] */ 5676 RECOMP_FLAGS_IN(); 5677 L_2B05BB02: 5678 ecx = esi; /* 0x2B05BB02: mov ecx, esi */ 5679 RECOMP_ICALL(0x2B05BA50u); /* 0x2B05BB04: call 0x2b05ba50 */ /* not lifted */ 5680 RECOMP_FLAGS_IN(); 5681 esi = POP32_VAL(esp); /* 0x2B05BB09: pop esi */ 5682 ebp = POP32_VAL(esp); /* 0x2B05BB0A: pop ebp */ 5683 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B05BB0B: ret 8 */ 5684 RECOMP_REGS_OUT(); 5685 } 5686 5687 void sub_2B05BB10(void) { 5688 int _fpu_cmp = 0; 5689 uint32_t _cf = 0; 5690 int _df = 1; 5691 uint32_t _flag_k = FK_NONE; 5692 uint32_t _flag_a = 0, _flag_b = 0; 5693 uint32_t _itail_tgt = 0; 5694 RECOMP_REGS_LOCALS 5695 RECOMP_ENTER(0x2B05BB10u); 5696 5697 L_2B05BB10: 5698 PUSH32(esp, esi); /* 0x2B05BB10: push esi */ 5699 esi = ecx; /* 0x2B05BB11: mov esi, ecx */ 5700 eax = MEM32(esi + 0x34); /* 0x2B05BB13: mov eax, dword ptr [esi + 0x34] */ 5701 ecx = MEM32(eax); /* 0x2B05BB16: mov ecx, dword ptr [eax] */ 5702 eax = MEM32(ecx + 0x54); /* 0x2B05BB18: mov eax, dword ptr [ecx + 0x54] */ 5703 /* cmp eax, 1 */ /* 0x2B05BB1B: cmp eax, 1 */ 5704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5706 _flag_k = FK_CMP; 5707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB1E: je 0x2b05bb45 */ 5708 L_2B05BB20: 5709 /* cmp eax, 3 */ /* 0x2B05BB20: cmp eax, 3 */ 5710 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 5711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5712 _flag_k = FK_CMP; 5713 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB23: je 0x2b05bb45 */ 5714 L_2B05BB25: 5715 /* cmp eax, 2 */ /* 0x2B05BB25: cmp eax, 2 */ 5716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5718 _flag_k = FK_CMP; 5719 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB2F; /* 0x2B05BB28: je 0x2b05bb2f */ 5720 L_2B05BB2A: 5721 /* cmp eax, 4 */ /* 0x2B05BB2A: cmp eax, 4 */ 5722 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5724 _flag_k = FK_CMP; 5725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB2D: jne 0x2b05bb45 */ 5726 L_2B05BB2F: 5727 PUSH32(esp, 1); /* 0x2B05BB2F: push 1 */ 5728 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05BB31: call dword ptr [0x2b0b5ab4] */ 5729 RECOMP_FLAGS_IN(); 5730 ecx = MEM32(esi + 0x34); /* 0x2B05BB37: mov ecx, dword ptr [esi + 0x34] */ 5731 PUSH32(esp, ecx); /* 0x2B05BB3A: push ecx */ 5732 RECOMP_ICALL(0x2B05F340u); /* 0x2B05BB3B: call 0x2b05f340 */ /* not lifted */ 5733 RECOMP_FLAGS_IN(); 5734 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5736 esp = esp + 4; /* 0x2B05BB40: add esp, 4 */ 5737 _flag_k = FK_ADD; 5738 esi = POP32_VAL(esp); /* 0x2B05BB43: pop esi */ 5739 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BB44: ret */ 5740 L_2B05BB45: 5741 PUSH32(esp, 2); /* 0x2B05BB45: push 2 */ 5742 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05BB47: call dword ptr [0x2b0b5ab4] */ 5743 RECOMP_FLAGS_IN(); 5744 ecx = MEM32(esi + 0x34); /* 0x2B05BB4D: mov ecx, dword ptr [esi + 0x34] */ 5745 PUSH32(esp, ecx); /* 0x2B05BB50: push ecx */ 5746 RECOMP_ICALL(0x2B05F340u); /* 0x2B05BB51: call 0x2b05f340 */ /* not lifted */ 5747 RECOMP_FLAGS_IN(); 5748 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5749 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5750 esp = esp + 4; /* 0x2B05BB56: add esp, 4 */ 5751 _flag_k = FK_ADD; 5752 esi = POP32_VAL(esp); /* 0x2B05BB59: pop esi */ 5753 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BB5A: ret */ 5754 RECOMP_REGS_OUT(); 5755 } 5756 5757 void sub_2B05BB60(void) { 5758 int _fpu_cmp = 0; 5759 uint32_t _cf = 0; 5760 int _df = 1; 5761 uint32_t _flag_k = FK_NONE; 5762 uint32_t _flag_a = 0, _flag_b = 0; 5763 uint32_t _itail_tgt = 0; 5764 RECOMP_REGS_LOCALS 5765 RECOMP_ENTER(0x2B05BB60u); 5766 5767 L_2B05BB60: 5768 PUSH32(esp, ebp); /* 0x2B05BB60: push ebp */ 5769 ebp = esp; /* 0x2B05BB61: mov ebp, esp */ 5770 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5772 esp = esp - 0x10u; /* 0x2B05BB63: sub esp, 0x10 */ 5773 _flag_k = FK_CMP; 5774 eax = MEM32(0x2B0B6048); /* 0x2B05BB66: mov eax, dword ptr [0x2b0b6048] */ 5775 ecx = MEM32(eax); /* 0x2B05BB6B: mov ecx, dword ptr [eax] */ 5776 PUSH32(esp, esi); /* 0x2B05BB6D: push esi */ 5777 esi = MEM32(0x2B0B602C); /* 0x2B05BB6E: mov esi, dword ptr [0x2b0b602c] */ 5778 PUSH32(esp, edi); /* 0x2B05BB74: push edi */ 5779 PUSH32(esp, 1); /* 0x2B05BB75: push 1 */ 5780 PUSH32(esp, 0x2B0E8D4Cu); /* 0x2B05BB77: push 0x2b0e8d4c */ 5781 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5782 edi = 0; /* 0x2B05BB7C: xor edi, edi */ 5783 _cf = 0; 5784 _flag_k = FK_TEST; 5785 RECOMP_ICALL(esi); /* 0x2B05BB7E: call esi */ 5786 RECOMP_FLAGS_IN(); 5787 /* test eax, eax */ /* 0x2B05BB80: test eax, eax */ 5788 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5789 _cf = 0; 5790 _flag_k = FK_TEST; 5791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BB89; /* 0x2B05BB82: je 0x2b05bb89 */ 5792 L_2B05BB84: 5793 edi = 1; /* 0x2B05BB84: mov edi, 1 */ 5794 L_2B05BB89: 5795 ecx = MEM32(0x2B0B6048); /* 0x2B05BB89: mov ecx, dword ptr [0x2b0b6048] */ 5796 ecx = MEM32(ecx); /* 0x2B05BB8F: mov ecx, dword ptr [ecx] */ 5797 PUSH32(esp, 1); /* 0x2B05BB91: push 1 */ 5798 PUSH32(esp, 0x2B0E8D28u); /* 0x2B05BB93: push 0x2b0e8d28 */ 5799 RECOMP_ICALL(esi); /* 0x2B05BB98: call esi */ 5800 RECOMP_FLAGS_IN(); 5801 /* test eax, eax */ /* 0x2B05BB9A: test eax, eax */ 5802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5803 _cf = 0; 5804 _flag_k = FK_TEST; 5805 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BBA1; /* 0x2B05BB9C: je 0x2b05bba1 */ 5806 L_2B05BB9E: 5807 _flag_a = (uint32_t)((edi | 2)); _flag_b = (uint32_t)((edi | 2)); 5808 edi = edi | 2; /* 0x2B05BB9E: or edi, 2 */ 5809 _cf = 0; 5810 _flag_k = FK_TEST; 5811 L_2B05BBA1: 5812 edx = MEM32(0x2B0B6048); /* 0x2B05BBA1: mov edx, dword ptr [0x2b0b6048] */ 5813 ecx = MEM32(edx); /* 0x2B05BBA7: mov ecx, dword ptr [edx] */ 5814 PUSH32(esp, 1); /* 0x2B05BBA9: push 1 */ 5815 PUSH32(esp, 0x2B0E8D04u); /* 0x2B05BBAB: push 0x2b0e8d04 */ 5816 RECOMP_ICALL(esi); /* 0x2B05BBB0: call esi */ 5817 RECOMP_FLAGS_IN(); 5818 /* test eax, eax */ /* 0x2B05BBB2: test eax, eax */ 5819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5820 _cf = 0; 5821 _flag_k = FK_TEST; 5822 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BBB9; /* 0x2B05BBB4: je 0x2b05bbb9 */ 5823 L_2B05BBB6: 5824 _flag_a = (uint32_t)((edi | 4)); _flag_b = (uint32_t)((edi | 4)); 5825 edi = edi | 4; /* 0x2B05BBB6: or edi, 4 */ 5826 _cf = 0; 5827 _flag_k = FK_TEST; 5828 L_2B05BBB9: 5829 eax = MEM32(0x2B0B6048); /* 0x2B05BBB9: mov eax, dword ptr [0x2b0b6048] */ 5830 ecx = MEM32(eax); /* 0x2B05BBBE: mov ecx, dword ptr [eax] */ 5831 PUSH32(esp, 1); /* 0x2B05BBC0: push 1 */ 5832 PUSH32(esp, 0x2B0E8CE0u); /* 0x2B05BBC2: push 0x2b0e8ce0 */ 5833 RECOMP_ICALL(esi); /* 0x2B05BBC7: call esi */ 5834 RECOMP_FLAGS_IN(); 5835 /* test eax, eax */ /* 0x2B05BBC9: test eax, eax */ 5836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5837 _cf = 0; 5838 _flag_k = FK_TEST; 5839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BBD0; /* 0x2B05BBCB: je 0x2b05bbd0 */ 5840 L_2B05BBCD: 5841 _flag_a = (uint32_t)((edi | 8)); _flag_b = (uint32_t)((edi | 8)); 5842 edi = edi | 8; /* 0x2B05BBCD: or edi, 8 */ 5843 _cf = 0; 5844 _flag_k = FK_TEST; 5845 L_2B05BBD0: 5846 ecx = ebp + (-0x8); /* 0x2B05BBD0: lea ecx, [ebp - 8] */ 5847 PUSH32(esp, ecx); /* 0x2B05BBD3: push ecx */ 5848 edx = ebp + (-0x10); /* 0x2B05BBD4: lea edx, [ebp - 0x10] */ 5849 PUSH32(esp, edx); /* 0x2B05BBD7: push edx */ 5850 PUSH32(esp, 0x40u); /* 0x2B05BBD8: push 0x40 */ 5851 MEM32(ebp + (-0x8)) = 0; /* 0x2B05BBDA: mov dword ptr [ebp - 8], 0 */ 5852 MEM32(ebp + (-0x4)) = edi; /* 0x2B05BBE1: mov dword ptr [ebp - 4], edi */ 5853 MEM32(ebp + (-0x10)) = 0; /* 0x2B05BBE4: mov dword ptr [ebp - 0x10], 0 */ 5854 MEM32(ebp + (-0xC)) = 0; /* 0x2B05BBEB: mov dword ptr [ebp - 0xc], 0 */ 5855 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B05BBF2: call dword ptr [0x2b0b5d6c] */ 5856 RECOMP_FLAGS_IN(); 5857 ecx = eax; /* 0x2B05BBF8: mov ecx, eax */ 5858 RECOMP_ICALL(MEM32(0x2B0B5E10)); /* 0x2B05BBFA: call dword ptr [0x2b0b5e10] */ 5859 RECOMP_FLAGS_IN(); 5860 edi = POP32_VAL(esp); /* 0x2B05BC00: pop edi */ 5861 esi = POP32_VAL(esp); /* 0x2B05BC01: pop esi */ 5862 esp = ebp; /* 0x2B05BC02: mov esp, ebp */ 5863 ebp = POP32_VAL(esp); /* 0x2B05BC04: pop ebp */ 5864 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BC05: ret */ 5865 RECOMP_REGS_OUT(); 5866 } 5867 5868 void sub_2B05BC10(void) { 5869 int _fpu_cmp = 0; 5870 uint32_t _cf = 0; 5871 int _df = 1; 5872 uint32_t _flag_k = FK_NONE; 5873 uint32_t _flag_a = 0, _flag_b = 0; 5874 uint32_t _itail_tgt = 0; 5875 RECOMP_REGS_LOCALS 5876 RECOMP_ENTER(0x2B05BC10u); 5877 5878 L_2B05BC10: 5879 PUSH32(esp, ebx); /* 0x2B05BC10: push ebx */ 5880 PUSH32(esp, esi); /* 0x2B05BC11: push esi */ 5881 esi = MEM32(0x2B0B53CC); /* 0x2B05BC12: mov esi, dword ptr [0x2b0b53cc] */ 5882 PUSH32(esp, edi); /* 0x2B05BC18: push edi */ 5883 ebx = ecx; /* 0x2B05BC19: mov ebx, ecx */ 5884 RECOMP_ICALL(esi); /* 0x2B05BC1B: call esi */ 5885 RECOMP_FLAGS_IN(); 5886 ecx = eax; /* 0x2B05BC1D: mov ecx, eax */ 5887 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05BC1F: call dword ptr [0x2b0b5374] */ 5888 RECOMP_FLAGS_IN(); 5889 PUSH32(esp, 0x2EE0u); /* 0x2B05BC25: push 0x2ee0 */ 5890 PUSH32(esp, 0x3Bu); /* 0x2B05BC2A: push 0x3b */ 5891 PUSH32(esp, 1); /* 0x2B05BC2C: push 1 */ 5892 RECOMP_ICALL(esi); /* 0x2B05BC2E: call esi */ 5893 RECOMP_FLAGS_IN(); 5894 ecx = eax; /* 0x2B05BC30: mov ecx, eax */ 5895 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05BC32: call dword ptr [0x2b0b5378] */ 5896 RECOMP_FLAGS_IN(); 5897 PUSH32(esp, 0x2B05BD10u); /* 0x2B05BC38: push 0x2b05bd10 */ 5898 PUSH32(esp, 5); /* 0x2B05BC3D: push 5 */ 5899 RECOMP_ICALL(esi); /* 0x2B05BC3F: call esi */ 5900 RECOMP_FLAGS_IN(); 5901 edi = MEM32(0x2B0B5324); /* 0x2B05BC41: mov edi, dword ptr [0x2b0b5324] */ 5902 ecx = eax; /* 0x2B05BC47: mov ecx, eax */ 5903 RECOMP_ICALL(edi); /* 0x2B05BC49: call edi */ 5904 RECOMP_FLAGS_IN(); 5905 PUSH32(esp, 0x2B05BD80u); /* 0x2B05BC4B: push 0x2b05bd80 */ 5906 PUSH32(esp, 6); /* 0x2B05BC50: push 6 */ 5907 RECOMP_ICALL(esi); /* 0x2B05BC52: call esi */ 5908 RECOMP_FLAGS_IN(); 5909 ecx = eax; /* 0x2B05BC54: mov ecx, eax */ 5910 RECOMP_ICALL(edi); /* 0x2B05BC56: call edi */ 5911 RECOMP_FLAGS_IN(); 5912 PUSH32(esp, 0x2B05BDA0u); /* 0x2B05BC58: push 0x2b05bda0 */ 5913 PUSH32(esp, 0x180u); /* 0x2B05BC5D: push 0x180 */ 5914 RECOMP_ICALL(esi); /* 0x2B05BC62: call esi */ 5915 RECOMP_FLAGS_IN(); 5916 ecx = eax; /* 0x2B05BC64: mov ecx, eax */ 5917 RECOMP_ICALL(edi); /* 0x2B05BC66: call edi */ 5918 RECOMP_FLAGS_IN(); 5919 edi = POP32_VAL(esp); /* 0x2B05BC68: pop edi */ 5920 esi = POP32_VAL(esp); /* 0x2B05BC69: pop esi */ 5921 eax = ebx; /* 0x2B05BC6A: mov eax, ebx */ 5922 MEM32(0x2B0EEBD4) = 0; /* 0x2B05BC6C: mov dword ptr [0x2b0eebd4], 0 */ 5923 ebx = POP32_VAL(esp); /* 0x2B05BC76: pop ebx */ 5924 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BC77: ret */ 5925 RECOMP_REGS_OUT(); 5926 } 5927 5928 void sub_2B05BC80(void) { 5929 int _fpu_cmp = 0; 5930 uint32_t _cf = 0; 5931 int _df = 1; 5932 uint32_t _flag_k = FK_NONE; 5933 uint32_t _flag_a = 0, _flag_b = 0; 5934 uint32_t _itail_tgt = 0; 5935 RECOMP_REGS_LOCALS 5936 RECOMP_ENTER(0x2B05BC80u); 5937 5938 L_2B05BC80: 5939 RECOMP_ICALL(0x2B05BD80u); /* 0x2B05BC80: call 0x2b05bd80 */ /* not lifted */ 5940 RECOMP_FLAGS_IN(); 5941 MEM32(0x2B0EEBD4) = 0; /* 0x2B05BC85: mov dword ptr [0x2b0eebd4], 0 */ 5942 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BC8F: ret */ 5943 RECOMP_REGS_OUT(); 5944 } 5945 5946 void sub_2B05BC90(void) { 5947 int _fpu_cmp = 0; 5948 uint32_t _cf = 0; 5949 int _df = 1; 5950 uint32_t _flag_k = FK_NONE; 5951 uint32_t _flag_a = 0, _flag_b = 0; 5952 uint32_t _itail_tgt = 0; 5953 RECOMP_REGS_LOCALS 5954 RECOMP_ENTER(0x2B05BC90u); 5955 5956 L_2B05BC90: 5957 PUSH32(esp, ebp); /* 0x2B05BC90: push ebp */ 5958 ebp = esp; /* 0x2B05BC91: mov ebp, esp */ 5959 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05BC93: push -1 */ 5960 PUSH32(esp, 0x2B0B030Bu); /* 0x2B05BC95: push 0x2b0b030b */ 5961 eax = MEM32(FS_BASE + (0)); /* 0x2B05BC9A: mov eax, dword ptr fs:[0] */ 5962 PUSH32(esp, eax); /* 0x2B05BCA0: push eax */ 5963 MEM32(FS_BASE + (0)) = esp; /* 0x2B05BCA1: mov dword ptr fs:[0], esp */ 5964 PUSH32(esp, ecx); /* 0x2B05BCA8: push ecx */ 5965 eax = MEM32(0x2B0EEBD0); /* 0x2B05BCA9: mov eax, dword ptr [0x2b0eebd0] */ 5966 /* test eax, eax */ /* 0x2B05BCAE: test eax, eax */ 5967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5968 _cf = 0; 5969 _flag_k = FK_TEST; 5970 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05BCEB; /* 0x2B05BCB0: jne 0x2b05bceb */ 5971 L_2B05BCB2: 5972 PUSH32(esp, 1); /* 0x2B05BCB2: push 1 */ 5973 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05BCB4: call 0x2b0ab212 */ /* not lifted */ 5974 RECOMP_FLAGS_IN(); 5975 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5977 esp = esp + 4; /* 0x2B05BCB9: add esp, 4 */ 5978 _flag_k = FK_ADD; 5979 MEM32(ebp + (-0x10)) = eax; /* 0x2B05BCBC: mov dword ptr [ebp - 0x10], eax */ 5980 /* test eax, eax */ /* 0x2B05BCBF: test eax, eax */ 5981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5982 _cf = 0; 5983 _flag_k = FK_TEST; 5984 MEM32(ebp + (-0x4)) = 0; /* 0x2B05BCC1: mov dword ptr [ebp - 4], 0 */ 5985 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BCE4; /* 0x2B05BCC8: je 0x2b05bce4 */ 5986 L_2B05BCCA: 5987 ecx = eax; /* 0x2B05BCCA: mov ecx, eax */ 5988 RECOMP_ICALL(0x2B05BC10u); /* 0x2B05BCCC: call 0x2b05bc10 */ /* not lifted */ 5989 RECOMP_FLAGS_IN(); 5990 MEM32(0x2B0EEBD0) = eax; /* 0x2B05BCD1: mov dword ptr [0x2b0eebd0], eax */ 5991 ecx = MEM32(ebp + (-0xC)); /* 0x2B05BCD6: mov ecx, dword ptr [ebp - 0xc] */ 5992 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05BCD9: mov dword ptr fs:[0], ecx */ 5993 esp = ebp; /* 0x2B05BCE0: mov esp, ebp */ 5994 ebp = POP32_VAL(esp); /* 0x2B05BCE2: pop ebp */ 5995 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BCE3: ret */ 5996 L_2B05BCE4: 5997 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5998 eax = 0; /* 0x2B05BCE4: xor eax, eax */ 5999 _cf = 0; 6000 _flag_k = FK_TEST; 6001 MEM32(0x2B0EEBD0) = eax; /* 0x2B05BCE6: mov dword ptr [0x2b0eebd0], eax */ 6002 L_2B05BCEB: 6003 ecx = MEM32(ebp + (-0xC)); /* 0x2B05BCEB: mov ecx, dword ptr [ebp - 0xc] */ 6004 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05BCEE: mov dword ptr fs:[0], ecx */ 6005 esp = ebp; /* 0x2B05BCF5: mov esp, ebp */ 6006 ebp = POP32_VAL(esp); /* 0x2B05BCF7: pop ebp */ 6007 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BCF8: ret */ 6008 RECOMP_REGS_OUT(); 6009 } 6010 6011 void sub_2B05BD00(void) { 6012 int _fpu_cmp = 0; 6013 uint32_t _cf = 0; 6014 int _df = 1; 6015 uint32_t _flag_k = FK_NONE; 6016 uint32_t _flag_a = 0, _flag_b = 0; 6017 uint32_t _itail_tgt = 0; 6018 RECOMP_REGS_LOCALS 6019 RECOMP_ENTER(0x2B05BD00u); 6020 6021 L_2B05BD00: 6022 eax = MEM32(0x2B0EEBD0); /* 0x2B05BD00: mov eax, dword ptr [0x2b0eebd0] */ 6023 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BD05: ret */ 6024 RECOMP_REGS_OUT(); 6025 } 6026 6027 void sub_2B05BD10(void) { 6028 int _fpu_cmp = 0; 6029 uint32_t _cf = 0; 6030 int _df = 1; 6031 uint32_t _flag_k = FK_NONE; 6032 uint32_t _flag_a = 0, _flag_b = 0; 6033 uint32_t _itail_tgt = 0; 6034 RECOMP_REGS_LOCALS 6035 RECOMP_ENTER(0x2B05BD10u); 6036 6037 L_2B05BD10: 6038 PUSH32(esp, ebp); /* 0x2B05BD10: push ebp */ 6039 ebp = esp; /* 0x2B05BD11: mov ebp, esp */ 6040 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05BD13: push -1 */ 6041 PUSH32(esp, 0x2B0B032Bu); /* 0x2B05BD15: push 0x2b0b032b */ 6042 eax = MEM32(FS_BASE + (0)); /* 0x2B05BD1A: mov eax, dword ptr fs:[0] */ 6043 PUSH32(esp, eax); /* 0x2B05BD20: push eax */ 6044 MEM32(FS_BASE + (0)) = esp; /* 0x2B05BD21: mov dword ptr fs:[0], esp */ 6045 PUSH32(esp, ecx); /* 0x2B05BD28: push ecx */ 6046 eax = MEM32(0x2B0EEBD4); /* 0x2B05BD29: mov eax, dword ptr [0x2b0eebd4] */ 6047 /* test eax, eax */ /* 0x2B05BD2E: test eax, eax */ 6048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6049 _cf = 0; 6050 _flag_k = FK_TEST; 6051 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05BD6B; /* 0x2B05BD30: jne 0x2b05bd6b */ 6052 L_2B05BD32: 6053 PUSH32(esp, 0x64u); /* 0x2B05BD32: push 0x64 */ 6054 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05BD34: call 0x2b0ab212 */ /* not lifted */ 6055 RECOMP_FLAGS_IN(); 6056 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6058 esp = esp + 4; /* 0x2B05BD39: add esp, 4 */ 6059 _flag_k = FK_ADD; 6060 MEM32(ebp + (-0x10)) = eax; /* 0x2B05BD3C: mov dword ptr [ebp - 0x10], eax */ 6061 /* test eax, eax */ /* 0x2B05BD3F: test eax, eax */ 6062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6063 _cf = 0; 6064 _flag_k = FK_TEST; 6065 MEM32(ebp + (-0x4)) = 0; /* 0x2B05BD41: mov dword ptr [ebp - 4], 0 */ 6066 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BD64; /* 0x2B05BD48: je 0x2b05bd64 */ 6067 L_2B05BD4A: 6068 ecx = eax; /* 0x2B05BD4A: mov ecx, eax */ 6069 RECOMP_ICALL(0x2B05B0C0u); /* 0x2B05BD4C: call 0x2b05b0c0 */ /* not lifted */ 6070 RECOMP_FLAGS_IN(); 6071 MEM32(0x2B0EEBD4) = eax; /* 0x2B05BD51: mov dword ptr [0x2b0eebd4], eax */ 6072 ecx = MEM32(ebp + (-0xC)); /* 0x2B05BD56: mov ecx, dword ptr [ebp - 0xc] */ 6073 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05BD59: mov dword ptr fs:[0], ecx */ 6074 esp = ebp; /* 0x2B05BD60: mov esp, ebp */ 6075 ebp = POP32_VAL(esp); /* 0x2B05BD62: pop ebp */ 6076 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BD63: ret */ 6077 L_2B05BD64: 6078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6079 eax = 0; /* 0x2B05BD64: xor eax, eax */ 6080 _cf = 0; 6081 _flag_k = FK_TEST; 6082 MEM32(0x2B0EEBD4) = eax; /* 0x2B05BD66: mov dword ptr [0x2b0eebd4], eax */ 6083 L_2B05BD6B: 6084 ecx = MEM32(ebp + (-0xC)); /* 0x2B05BD6B: mov ecx, dword ptr [ebp - 0xc] */ 6085 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05BD6E: mov dword ptr fs:[0], ecx */ 6086 esp = ebp; /* 0x2B05BD75: mov esp, ebp */ 6087 ebp = POP32_VAL(esp); /* 0x2B05BD77: pop ebp */ 6088 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BD78: ret */ 6089 RECOMP_REGS_OUT(); 6090 } 6091 6092 void sub_2B05BD80(void) { 6093 int _fpu_cmp = 0; 6094 uint32_t _cf = 0; 6095 int _df = 1; 6096 uint32_t _flag_k = FK_NONE; 6097 uint32_t _flag_a = 0, _flag_b = 0; 6098 uint32_t _itail_tgt = 0; 6099 RECOMP_REGS_LOCALS 6100 RECOMP_ENTER(0x2B05BD80u); 6101 6102 L_2B05BD80: 6103 ecx = MEM32(0x2B0EEBD4); /* 0x2B05BD80: mov ecx, dword ptr [0x2b0eebd4] */ 6104 /* test ecx, ecx */ /* 0x2B05BD86: test ecx, ecx */ 6105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6106 _cf = 0; 6107 _flag_k = FK_TEST; 6108 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BD90; /* 0x2B05BD88: je 0x2b05bd90 */ 6109 L_2B05BD8A: 6110 eax = MEM32(ecx); /* 0x2B05BD8A: mov eax, dword ptr [ecx] */ 6111 PUSH32(esp, 1); /* 0x2B05BD8C: push 1 */ 6112 RECOMP_ICALL(MEM32(eax)); /* 0x2B05BD8E: call dword ptr [eax] */ 6113 RECOMP_FLAGS_IN(); 6114 L_2B05BD90: 6115 MEM32(0x2B0EEBD4) = 0; /* 0x2B05BD90: mov dword ptr [0x2b0eebd4], 0 */ 6116 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BD9A: ret */ 6117 RECOMP_REGS_OUT(); 6118 } 6119 6120 void sub_2B05BDA0(void) { 6121 int _fpu_cmp = 0; 6122 uint32_t _cf = 0; 6123 int _df = 1; 6124 uint32_t _flag_k = FK_NONE; 6125 uint32_t _flag_a = 0, _flag_b = 0; 6126 uint32_t _itail_tgt = 0; 6127 RECOMP_REGS_LOCALS 6128 RECOMP_ENTER(0x2B05BDA0u); 6129 6130 goto L_2B05BDA0; 6131 L_2B05BB10: 6132 PUSH32(esp, esi); /* 0x2B05BB10: push esi */ 6133 esi = ecx; /* 0x2B05BB11: mov esi, ecx */ 6134 eax = MEM32(esi + 0x34); /* 0x2B05BB13: mov eax, dword ptr [esi + 0x34] */ 6135 ecx = MEM32(eax); /* 0x2B05BB16: mov ecx, dword ptr [eax] */ 6136 eax = MEM32(ecx + 0x54); /* 0x2B05BB18: mov eax, dword ptr [ecx + 0x54] */ 6137 /* cmp eax, 1 */ /* 0x2B05BB1B: cmp eax, 1 */ 6138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6140 _flag_k = FK_CMP; 6141 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB1E: je 0x2b05bb45 */ 6142 L_2B05BB20: 6143 /* cmp eax, 3 */ /* 0x2B05BB20: cmp eax, 3 */ 6144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 6145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6146 _flag_k = FK_CMP; 6147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB23: je 0x2b05bb45 */ 6148 L_2B05BB25: 6149 /* cmp eax, 2 */ /* 0x2B05BB25: cmp eax, 2 */ 6150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6152 _flag_k = FK_CMP; 6153 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05BB2F; /* 0x2B05BB28: je 0x2b05bb2f */ 6154 L_2B05BB2A: 6155 /* cmp eax, 4 */ /* 0x2B05BB2A: cmp eax, 4 */ 6156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6158 _flag_k = FK_CMP; 6159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B05BB45; /* 0x2B05BB2D: jne 0x2b05bb45 */ 6160 L_2B05BB2F: 6161 PUSH32(esp, 1); /* 0x2B05BB2F: push 1 */ 6162 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05BB31: call dword ptr [0x2b0b5ab4] */ 6163 RECOMP_FLAGS_IN(); 6164 ecx = MEM32(esi + 0x34); /* 0x2B05BB37: mov ecx, dword ptr [esi + 0x34] */ 6165 PUSH32(esp, ecx); /* 0x2B05BB3A: push ecx */ 6166 RECOMP_ICALL(0x2B05F340u); /* 0x2B05BB3B: call 0x2b05f340 */ /* not lifted */ 6167 RECOMP_FLAGS_IN(); 6168 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6170 esp = esp + 4; /* 0x2B05BB40: add esp, 4 */ 6171 _flag_k = FK_ADD; 6172 esi = POP32_VAL(esp); /* 0x2B05BB43: pop esi */ 6173 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BB44: ret */ 6174 L_2B05BB45: 6175 PUSH32(esp, 2); /* 0x2B05BB45: push 2 */ 6176 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05BB47: call dword ptr [0x2b0b5ab4] */ 6177 RECOMP_FLAGS_IN(); 6178 ecx = MEM32(esi + 0x34); /* 0x2B05BB4D: mov ecx, dword ptr [esi + 0x34] */ 6179 PUSH32(esp, ecx); /* 0x2B05BB50: push ecx */ 6180 RECOMP_ICALL(0x2B05F340u); /* 0x2B05BB51: call 0x2b05f340 */ /* not lifted */ 6181 RECOMP_FLAGS_IN(); 6182 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6183 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6184 esp = esp + 4; /* 0x2B05BB56: add esp, 4 */ 6185 _flag_k = FK_ADD; 6186 esi = POP32_VAL(esp); /* 0x2B05BB59: pop esi */ 6187 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BB5A: ret */ 6188 L_2B05BDA0: 6189 ecx = MEM32(0x2B0EEBD4); /* 0x2B05BDA0: mov ecx, dword ptr [0x2b0eebd4] */ 6190 /* test ecx, ecx */ /* 0x2B05BDA6: test ecx, ecx */ 6191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6192 _cf = 0; 6193 _flag_k = FK_TEST; 6194 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05BDAF; /* 0x2B05BDA8: je 0x2b05bdaf */ 6195 L_2B05BDAA: 6196 RECOMP_BACKEDGE(); 6197 goto L_2B05BB10; /* 0x2B05BDAA: jmp 0x2b05bb10 */ 6198 L_2B05BDAF: 6199 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDAF: ret */ 6200 RECOMP_REGS_OUT(); 6201 } 6202 6203 void sub_2B05BDB0(void) { 6204 int _fpu_cmp = 0; 6205 uint32_t _cf = 0; 6206 int _df = 1; 6207 uint32_t _flag_k = FK_NONE; 6208 uint32_t _flag_a = 0, _flag_b = 0; 6209 uint32_t _itail_tgt = 0; 6210 RECOMP_REGS_LOCALS 6211 RECOMP_ENTER(0x2B05BDB0u); 6212 6213 L_2B05BDB0: 6214 eax = MEM32(0x2B0EEC1C); /* 0x2B05BDB0: mov eax, dword ptr [0x2b0eec1c] */ 6215 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDB5: ret */ 6216 RECOMP_REGS_OUT(); 6217 } 6218 6219 void sub_2B05BDC0(void) { 6220 int _fpu_cmp = 0; 6221 uint32_t _cf = 0; 6222 int _df = 1; 6223 uint32_t _flag_k = FK_NONE; 6224 uint32_t _flag_a = 0, _flag_b = 0; 6225 uint32_t _itail_tgt = 0; 6226 RECOMP_REGS_LOCALS 6227 RECOMP_ENTER(0x2B05BDC0u); 6228 6229 L_2B05BDC0: 6230 goto L_2B05BDD0; /* 0x2B05BDC0: jmp 0x2b05bdd0 */ 6231 L_2B05BDD0: 6232 MEM32(0x2B0EEC14) = 0x2B0E1638u; /* 0x2B05BDD0: mov dword ptr [0x2b0eec14], 0x2b0e1638 */ 6233 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDDA: ret */ 6234 RECOMP_REGS_OUT(); 6235 } 6236 6237 void sub_2B05BDD0(void) { 6238 int _fpu_cmp = 0; 6239 uint32_t _cf = 0; 6240 int _df = 1; 6241 uint32_t _flag_k = FK_NONE; 6242 uint32_t _flag_a = 0, _flag_b = 0; 6243 uint32_t _itail_tgt = 0; 6244 RECOMP_REGS_LOCALS 6245 RECOMP_ENTER(0x2B05BDD0u); 6246 6247 L_2B05BDD0: 6248 MEM32(0x2B0EEC14) = 0x2B0E1638u; /* 0x2B05BDD0: mov dword ptr [0x2b0eec14], 0x2b0e1638 */ 6249 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDDA: ret */ 6250 RECOMP_REGS_OUT(); 6251 } 6252 6253 void sub_2B05BDE0(void) { 6254 int _fpu_cmp = 0; 6255 uint32_t _cf = 0; 6256 int _df = 1; 6257 uint32_t _flag_k = FK_NONE; 6258 uint32_t _flag_a = 0, _flag_b = 0; 6259 uint32_t _itail_tgt = 0; 6260 RECOMP_REGS_LOCALS 6261 RECOMP_ENTER(0x2B05BDE0u); 6262 6263 L_2B05BDE0: 6264 goto L_2B05BDF0; /* 0x2B05BDE0: jmp 0x2b05bdf0 */ 6265 L_2B05BDF0: 6266 MEM32(0x2B0EEC10) = 0x2B0E166Cu; /* 0x2B05BDF0: mov dword ptr [0x2b0eec10], 0x2b0e166c */ 6267 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDFA: ret */ 6268 RECOMP_REGS_OUT(); 6269 } 6270 6271 void sub_2B05BDF0(void) { 6272 int _fpu_cmp = 0; 6273 uint32_t _cf = 0; 6274 int _df = 1; 6275 uint32_t _flag_k = FK_NONE; 6276 uint32_t _flag_a = 0, _flag_b = 0; 6277 uint32_t _itail_tgt = 0; 6278 RECOMP_REGS_LOCALS 6279 RECOMP_ENTER(0x2B05BDF0u); 6280 6281 L_2B05BDF0: 6282 MEM32(0x2B0EEC10) = 0x2B0E166Cu; /* 0x2B05BDF0: mov dword ptr [0x2b0eec10], 0x2b0e166c */ 6283 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BDFA: ret */ 6284 RECOMP_REGS_OUT(); 6285 } 6286 6287 void sub_2B05BE00(void) { 6288 int _fpu_cmp = 0; 6289 uint32_t _cf = 0; 6290 int _df = 1; 6291 uint32_t _flag_k = FK_NONE; 6292 uint32_t _flag_a = 0, _flag_b = 0; 6293 uint32_t _itail_tgt = 0; 6294 RECOMP_REGS_LOCALS 6295 RECOMP_ENTER(0x2B05BE00u); 6296 6297 L_2B05BE00: 6298 goto L_2B05BE10; /* 0x2B05BE00: jmp 0x2b05be10 */ 6299 L_2B05BE10: 6300 MEM32(0x2B0EEC0C) = 0x2B0E16A8u; /* 0x2B05BE10: mov dword ptr [0x2b0eec0c], 0x2b0e16a8 */ 6301 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE1A: ret */ 6302 RECOMP_REGS_OUT(); 6303 } 6304 6305 void sub_2B05BE10(void) { 6306 int _fpu_cmp = 0; 6307 uint32_t _cf = 0; 6308 int _df = 1; 6309 uint32_t _flag_k = FK_NONE; 6310 uint32_t _flag_a = 0, _flag_b = 0; 6311 uint32_t _itail_tgt = 0; 6312 RECOMP_REGS_LOCALS 6313 RECOMP_ENTER(0x2B05BE10u); 6314 6315 L_2B05BE10: 6316 MEM32(0x2B0EEC0C) = 0x2B0E16A8u; /* 0x2B05BE10: mov dword ptr [0x2b0eec0c], 0x2b0e16a8 */ 6317 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE1A: ret */ 6318 RECOMP_REGS_OUT(); 6319 } 6320 6321 void sub_2B05BE20(void) { 6322 int _fpu_cmp = 0; 6323 uint32_t _cf = 0; 6324 int _df = 1; 6325 uint32_t _flag_k = FK_NONE; 6326 uint32_t _flag_a = 0, _flag_b = 0; 6327 uint32_t _itail_tgt = 0; 6328 RECOMP_REGS_LOCALS 6329 RECOMP_ENTER(0x2B05BE20u); 6330 6331 L_2B05BE20: 6332 goto L_2B05BE30; /* 0x2B05BE20: jmp 0x2b05be30 */ 6333 L_2B05BE30: 6334 MEM32(0x2B0EEC08) = 0x2B0E16DCu; /* 0x2B05BE30: mov dword ptr [0x2b0eec08], 0x2b0e16dc */ 6335 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE3A: ret */ 6336 RECOMP_REGS_OUT(); 6337 } 6338 6339 void sub_2B05BE30(void) { 6340 int _fpu_cmp = 0; 6341 uint32_t _cf = 0; 6342 int _df = 1; 6343 uint32_t _flag_k = FK_NONE; 6344 uint32_t _flag_a = 0, _flag_b = 0; 6345 uint32_t _itail_tgt = 0; 6346 RECOMP_REGS_LOCALS 6347 RECOMP_ENTER(0x2B05BE30u); 6348 6349 L_2B05BE30: 6350 MEM32(0x2B0EEC08) = 0x2B0E16DCu; /* 0x2B05BE30: mov dword ptr [0x2b0eec08], 0x2b0e16dc */ 6351 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE3A: ret */ 6352 RECOMP_REGS_OUT(); 6353 } 6354 6355 void sub_2B05BE40(void) { 6356 int _fpu_cmp = 0; 6357 uint32_t _cf = 0; 6358 int _df = 1; 6359 uint32_t _flag_k = FK_NONE; 6360 uint32_t _flag_a = 0, _flag_b = 0; 6361 uint32_t _itail_tgt = 0; 6362 RECOMP_REGS_LOCALS 6363 RECOMP_ENTER(0x2B05BE40u); 6364 6365 L_2B05BE40: 6366 goto L_2B05BE50; /* 0x2B05BE40: jmp 0x2b05be50 */ 6367 L_2B05BE50: 6368 MEM32(0x2B0EEC04) = 0x2B0E1710u; /* 0x2B05BE50: mov dword ptr [0x2b0eec04], 0x2b0e1710 */ 6369 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE5A: ret */ 6370 RECOMP_REGS_OUT(); 6371 } 6372 6373 void sub_2B05BE50(void) { 6374 int _fpu_cmp = 0; 6375 uint32_t _cf = 0; 6376 int _df = 1; 6377 uint32_t _flag_k = FK_NONE; 6378 uint32_t _flag_a = 0, _flag_b = 0; 6379 uint32_t _itail_tgt = 0; 6380 RECOMP_REGS_LOCALS 6381 RECOMP_ENTER(0x2B05BE50u); 6382 6383 L_2B05BE50: 6384 MEM32(0x2B0EEC04) = 0x2B0E1710u; /* 0x2B05BE50: mov dword ptr [0x2b0eec04], 0x2b0e1710 */ 6385 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE5A: ret */ 6386 RECOMP_REGS_OUT(); 6387 } 6388 6389 void sub_2B05BE60(void) { 6390 int _fpu_cmp = 0; 6391 uint32_t _cf = 0; 6392 int _df = 1; 6393 uint32_t _flag_k = FK_NONE; 6394 uint32_t _flag_a = 0, _flag_b = 0; 6395 uint32_t _itail_tgt = 0; 6396 RECOMP_REGS_LOCALS 6397 RECOMP_ENTER(0x2B05BE60u); 6398 6399 L_2B05BE60: 6400 goto L_2B05BE70; /* 0x2B05BE60: jmp 0x2b05be70 */ 6401 L_2B05BE70: 6402 MEM32(0x2B0EEC00) = 0x2B0E1744u; /* 0x2B05BE70: mov dword ptr [0x2b0eec00], 0x2b0e1744 */ 6403 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE7A: ret */ 6404 RECOMP_REGS_OUT(); 6405 } 6406 6407 void sub_2B05BE70(void) { 6408 int _fpu_cmp = 0; 6409 uint32_t _cf = 0; 6410 int _df = 1; 6411 uint32_t _flag_k = FK_NONE; 6412 uint32_t _flag_a = 0, _flag_b = 0; 6413 uint32_t _itail_tgt = 0; 6414 RECOMP_REGS_LOCALS 6415 RECOMP_ENTER(0x2B05BE70u); 6416 6417 L_2B05BE70: 6418 MEM32(0x2B0EEC00) = 0x2B0E1744u; /* 0x2B05BE70: mov dword ptr [0x2b0eec00], 0x2b0e1744 */ 6419 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE7A: ret */ 6420 RECOMP_REGS_OUT(); 6421 } 6422 6423 void sub_2B05BE80(void) { 6424 int _fpu_cmp = 0; 6425 uint32_t _cf = 0; 6426 int _df = 1; 6427 uint32_t _flag_k = FK_NONE; 6428 uint32_t _flag_a = 0, _flag_b = 0; 6429 uint32_t _itail_tgt = 0; 6430 RECOMP_REGS_LOCALS 6431 RECOMP_ENTER(0x2B05BE80u); 6432 6433 L_2B05BE80: 6434 goto L_2B05BE90; /* 0x2B05BE80: jmp 0x2b05be90 */ 6435 L_2B05BE90: 6436 MEM32(0x2B0EEBFC) = 0x2B0E177Cu; /* 0x2B05BE90: mov dword ptr [0x2b0eebfc], 0x2b0e177c */ 6437 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE9A: ret */ 6438 RECOMP_REGS_OUT(); 6439 } 6440 6441 void sub_2B05BE90(void) { 6442 int _fpu_cmp = 0; 6443 uint32_t _cf = 0; 6444 int _df = 1; 6445 uint32_t _flag_k = FK_NONE; 6446 uint32_t _flag_a = 0, _flag_b = 0; 6447 uint32_t _itail_tgt = 0; 6448 RECOMP_REGS_LOCALS 6449 RECOMP_ENTER(0x2B05BE90u); 6450 6451 L_2B05BE90: 6452 MEM32(0x2B0EEBFC) = 0x2B0E177Cu; /* 0x2B05BE90: mov dword ptr [0x2b0eebfc], 0x2b0e177c */ 6453 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BE9A: ret */ 6454 RECOMP_REGS_OUT(); 6455 } 6456 6457 void sub_2B05BEA0(void) { 6458 int _fpu_cmp = 0; 6459 uint32_t _cf = 0; 6460 int _df = 1; 6461 uint32_t _flag_k = FK_NONE; 6462 uint32_t _flag_a = 0, _flag_b = 0; 6463 uint32_t _itail_tgt = 0; 6464 RECOMP_REGS_LOCALS 6465 RECOMP_ENTER(0x2B05BEA0u); 6466 6467 L_2B05BEA0: 6468 goto L_2B05BEB0; /* 0x2B05BEA0: jmp 0x2b05beb0 */ 6469 L_2B05BEB0: 6470 MEM32(0x2B0EEBF8) = 0x2B0E17B4u; /* 0x2B05BEB0: mov dword ptr [0x2b0eebf8], 0x2b0e17b4 */ 6471 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEBA: ret */ 6472 RECOMP_REGS_OUT(); 6473 } 6474 6475 void sub_2B05BEB0(void) { 6476 int _fpu_cmp = 0; 6477 uint32_t _cf = 0; 6478 int _df = 1; 6479 uint32_t _flag_k = FK_NONE; 6480 uint32_t _flag_a = 0, _flag_b = 0; 6481 uint32_t _itail_tgt = 0; 6482 RECOMP_REGS_LOCALS 6483 RECOMP_ENTER(0x2B05BEB0u); 6484 6485 L_2B05BEB0: 6486 MEM32(0x2B0EEBF8) = 0x2B0E17B4u; /* 0x2B05BEB0: mov dword ptr [0x2b0eebf8], 0x2b0e17b4 */ 6487 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEBA: ret */ 6488 RECOMP_REGS_OUT(); 6489 } 6490 6491 void sub_2B05BEC0(void) { 6492 int _fpu_cmp = 0; 6493 uint32_t _cf = 0; 6494 int _df = 1; 6495 uint32_t _flag_k = FK_NONE; 6496 uint32_t _flag_a = 0, _flag_b = 0; 6497 uint32_t _itail_tgt = 0; 6498 RECOMP_REGS_LOCALS 6499 RECOMP_ENTER(0x2B05BEC0u); 6500 6501 L_2B05BEC0: 6502 goto L_2B05BED0; /* 0x2B05BEC0: jmp 0x2b05bed0 */ 6503 L_2B05BED0: 6504 MEM32(0x2B0EEBF4) = 0x2B0E17E8u; /* 0x2B05BED0: mov dword ptr [0x2b0eebf4], 0x2b0e17e8 */ 6505 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEDA: ret */ 6506 RECOMP_REGS_OUT(); 6507 } 6508 6509 void sub_2B05BED0(void) { 6510 int _fpu_cmp = 0; 6511 uint32_t _cf = 0; 6512 int _df = 1; 6513 uint32_t _flag_k = FK_NONE; 6514 uint32_t _flag_a = 0, _flag_b = 0; 6515 uint32_t _itail_tgt = 0; 6516 RECOMP_REGS_LOCALS 6517 RECOMP_ENTER(0x2B05BED0u); 6518 6519 L_2B05BED0: 6520 MEM32(0x2B0EEBF4) = 0x2B0E17E8u; /* 0x2B05BED0: mov dword ptr [0x2b0eebf4], 0x2b0e17e8 */ 6521 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEDA: ret */ 6522 RECOMP_REGS_OUT(); 6523 } 6524 6525 void sub_2B05BEE0(void) { 6526 int _fpu_cmp = 0; 6527 uint32_t _cf = 0; 6528 int _df = 1; 6529 uint32_t _flag_k = FK_NONE; 6530 uint32_t _flag_a = 0, _flag_b = 0; 6531 uint32_t _itail_tgt = 0; 6532 RECOMP_REGS_LOCALS 6533 RECOMP_ENTER(0x2B05BEE0u); 6534 6535 L_2B05BEE0: 6536 goto L_2B05BEF0; /* 0x2B05BEE0: jmp 0x2b05bef0 */ 6537 L_2B05BEF0: 6538 MEM32(0x2B0EEBF0) = 0x2B0E1824u; /* 0x2B05BEF0: mov dword ptr [0x2b0eebf0], 0x2b0e1824 */ 6539 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEFA: ret */ 6540 RECOMP_REGS_OUT(); 6541 } 6542 6543 void sub_2B05BEF0(void) { 6544 int _fpu_cmp = 0; 6545 uint32_t _cf = 0; 6546 int _df = 1; 6547 uint32_t _flag_k = FK_NONE; 6548 uint32_t _flag_a = 0, _flag_b = 0; 6549 uint32_t _itail_tgt = 0; 6550 RECOMP_REGS_LOCALS 6551 RECOMP_ENTER(0x2B05BEF0u); 6552 6553 L_2B05BEF0: 6554 MEM32(0x2B0EEBF0) = 0x2B0E1824u; /* 0x2B05BEF0: mov dword ptr [0x2b0eebf0], 0x2b0e1824 */ 6555 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BEFA: ret */ 6556 RECOMP_REGS_OUT(); 6557 } 6558 6559 void sub_2B05BF00(void) { 6560 int _fpu_cmp = 0; 6561 uint32_t _cf = 0; 6562 int _df = 1; 6563 uint32_t _flag_k = FK_NONE; 6564 uint32_t _flag_a = 0, _flag_b = 0; 6565 uint32_t _itail_tgt = 0; 6566 RECOMP_REGS_LOCALS 6567 RECOMP_ENTER(0x2B05BF00u); 6568 6569 L_2B05BF00: 6570 goto L_2B05BF10; /* 0x2B05BF00: jmp 0x2b05bf10 */ 6571 L_2B05BF10: 6572 MEM32(0x2B0EEBEC) = 0x2B0E1860u; /* 0x2B05BF10: mov dword ptr [0x2b0eebec], 0x2b0e1860 */ 6573 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF1A: ret */ 6574 RECOMP_REGS_OUT(); 6575 } 6576 6577 void sub_2B05BF10(void) { 6578 int _fpu_cmp = 0; 6579 uint32_t _cf = 0; 6580 int _df = 1; 6581 uint32_t _flag_k = FK_NONE; 6582 uint32_t _flag_a = 0, _flag_b = 0; 6583 uint32_t _itail_tgt = 0; 6584 RECOMP_REGS_LOCALS 6585 RECOMP_ENTER(0x2B05BF10u); 6586 6587 L_2B05BF10: 6588 MEM32(0x2B0EEBEC) = 0x2B0E1860u; /* 0x2B05BF10: mov dword ptr [0x2b0eebec], 0x2b0e1860 */ 6589 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF1A: ret */ 6590 RECOMP_REGS_OUT(); 6591 } 6592 6593 void sub_2B05BF20(void) { 6594 int _fpu_cmp = 0; 6595 uint32_t _cf = 0; 6596 int _df = 1; 6597 uint32_t _flag_k = FK_NONE; 6598 uint32_t _flag_a = 0, _flag_b = 0; 6599 uint32_t _itail_tgt = 0; 6600 RECOMP_REGS_LOCALS 6601 RECOMP_ENTER(0x2B05BF20u); 6602 6603 L_2B05BF20: 6604 goto L_2B05BF30; /* 0x2B05BF20: jmp 0x2b05bf30 */ 6605 L_2B05BF30: 6606 MEM32(0x2B0EEBE8) = 0x2B0E189Cu; /* 0x2B05BF30: mov dword ptr [0x2b0eebe8], 0x2b0e189c */ 6607 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF3A: ret */ 6608 RECOMP_REGS_OUT(); 6609 } 6610 6611 void sub_2B05BF30(void) { 6612 int _fpu_cmp = 0; 6613 uint32_t _cf = 0; 6614 int _df = 1; 6615 uint32_t _flag_k = FK_NONE; 6616 uint32_t _flag_a = 0, _flag_b = 0; 6617 uint32_t _itail_tgt = 0; 6618 RECOMP_REGS_LOCALS 6619 RECOMP_ENTER(0x2B05BF30u); 6620 6621 L_2B05BF30: 6622 MEM32(0x2B0EEBE8) = 0x2B0E189Cu; /* 0x2B05BF30: mov dword ptr [0x2b0eebe8], 0x2b0e189c */ 6623 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF3A: ret */ 6624 RECOMP_REGS_OUT(); 6625 } 6626 6627 void sub_2B05BF40(void) { 6628 int _fpu_cmp = 0; 6629 uint32_t _cf = 0; 6630 int _df = 1; 6631 uint32_t _flag_k = FK_NONE; 6632 uint32_t _flag_a = 0, _flag_b = 0; 6633 uint32_t _itail_tgt = 0; 6634 RECOMP_REGS_LOCALS 6635 RECOMP_ENTER(0x2B05BF40u); 6636 6637 L_2B05BF40: 6638 goto L_2B05BF50; /* 0x2B05BF40: jmp 0x2b05bf50 */ 6639 L_2B05BF50: 6640 MEM32(0x2B0EEBE4) = 0x2B0E18D4u; /* 0x2B05BF50: mov dword ptr [0x2b0eebe4], 0x2b0e18d4 */ 6641 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF5A: ret */ 6642 RECOMP_REGS_OUT(); 6643 } 6644 6645 void sub_2B05BF50(void) { 6646 int _fpu_cmp = 0; 6647 uint32_t _cf = 0; 6648 int _df = 1; 6649 uint32_t _flag_k = FK_NONE; 6650 uint32_t _flag_a = 0, _flag_b = 0; 6651 uint32_t _itail_tgt = 0; 6652 RECOMP_REGS_LOCALS 6653 RECOMP_ENTER(0x2B05BF50u); 6654 6655 L_2B05BF50: 6656 MEM32(0x2B0EEBE4) = 0x2B0E18D4u; /* 0x2B05BF50: mov dword ptr [0x2b0eebe4], 0x2b0e18d4 */ 6657 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF5A: ret */ 6658 RECOMP_REGS_OUT(); 6659 } 6660 6661 void sub_2B05BF60(void) { 6662 int _fpu_cmp = 0; 6663 uint32_t _cf = 0; 6664 int _df = 1; 6665 uint32_t _flag_k = FK_NONE; 6666 uint32_t _flag_a = 0, _flag_b = 0; 6667 uint32_t _itail_tgt = 0; 6668 RECOMP_REGS_LOCALS 6669 RECOMP_ENTER(0x2B05BF60u); 6670 6671 L_2B05BF60: 6672 goto L_2B05BF70; /* 0x2B05BF60: jmp 0x2b05bf70 */ 6673 L_2B05BF70: 6674 MEM32(0x2B0EEBE0) = 0x2B0E1908u; /* 0x2B05BF70: mov dword ptr [0x2b0eebe0], 0x2b0e1908 */ 6675 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF7A: ret */ 6676 RECOMP_REGS_OUT(); 6677 } 6678 6679 void sub_2B05BF70(void) { 6680 int _fpu_cmp = 0; 6681 uint32_t _cf = 0; 6682 int _df = 1; 6683 uint32_t _flag_k = FK_NONE; 6684 uint32_t _flag_a = 0, _flag_b = 0; 6685 uint32_t _itail_tgt = 0; 6686 RECOMP_REGS_LOCALS 6687 RECOMP_ENTER(0x2B05BF70u); 6688 6689 L_2B05BF70: 6690 MEM32(0x2B0EEBE0) = 0x2B0E1908u; /* 0x2B05BF70: mov dword ptr [0x2b0eebe0], 0x2b0e1908 */ 6691 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF7A: ret */ 6692 RECOMP_REGS_OUT(); 6693 } 6694 6695 void sub_2B05BF80(void) { 6696 int _fpu_cmp = 0; 6697 uint32_t _cf = 0; 6698 int _df = 1; 6699 uint32_t _flag_k = FK_NONE; 6700 uint32_t _flag_a = 0, _flag_b = 0; 6701 uint32_t _itail_tgt = 0; 6702 RECOMP_REGS_LOCALS 6703 RECOMP_ENTER(0x2B05BF80u); 6704 6705 L_2B05BF80: 6706 goto L_2B05BF90; /* 0x2B05BF80: jmp 0x2b05bf90 */ 6707 L_2B05BF90: 6708 MEM32(0x2B0EEBDC) = 0x2B0E1944u; /* 0x2B05BF90: mov dword ptr [0x2b0eebdc], 0x2b0e1944 */ 6709 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF9A: ret */ 6710 RECOMP_REGS_OUT(); 6711 } 6712 6713 void sub_2B05BF90(void) { 6714 int _fpu_cmp = 0; 6715 uint32_t _cf = 0; 6716 int _df = 1; 6717 uint32_t _flag_k = FK_NONE; 6718 uint32_t _flag_a = 0, _flag_b = 0; 6719 uint32_t _itail_tgt = 0; 6720 RECOMP_REGS_LOCALS 6721 RECOMP_ENTER(0x2B05BF90u); 6722 6723 L_2B05BF90: 6724 MEM32(0x2B0EEBDC) = 0x2B0E1944u; /* 0x2B05BF90: mov dword ptr [0x2b0eebdc], 0x2b0e1944 */ 6725 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BF9A: ret */ 6726 RECOMP_REGS_OUT(); 6727 } 6728 6729 void sub_2B05BFA0(void) { 6730 int _fpu_cmp = 0; 6731 uint32_t _cf = 0; 6732 int _df = 1; 6733 uint32_t _flag_k = FK_NONE; 6734 uint32_t _flag_a = 0, _flag_b = 0; 6735 uint32_t _itail_tgt = 0; 6736 RECOMP_REGS_LOCALS 6737 RECOMP_ENTER(0x2B05BFA0u); 6738 6739 L_2B05BFA0: 6740 goto L_2B05BFB0; /* 0x2B05BFA0: jmp 0x2b05bfb0 */ 6741 L_2B05BFB0: 6742 MEM32(0x2B0EEBD8) = 0x2B0E1978u; /* 0x2B05BFB0: mov dword ptr [0x2b0eebd8], 0x2b0e1978 */ 6743 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BFBA: ret */ 6744 RECOMP_REGS_OUT(); 6745 } 6746 6747 void sub_2B05BFB0(void) { 6748 int _fpu_cmp = 0; 6749 uint32_t _cf = 0; 6750 int _df = 1; 6751 uint32_t _flag_k = FK_NONE; 6752 uint32_t _flag_a = 0, _flag_b = 0; 6753 uint32_t _itail_tgt = 0; 6754 RECOMP_REGS_LOCALS 6755 RECOMP_ENTER(0x2B05BFB0u); 6756 6757 L_2B05BFB0: 6758 MEM32(0x2B0EEBD8) = 0x2B0E1978u; /* 0x2B05BFB0: mov dword ptr [0x2b0eebd8], 0x2b0e1978 */ 6759 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05BFBA: ret */ 6760 RECOMP_REGS_OUT(); 6761 } 6762 6763 void sub_2B05BFC0(void) { 6764 int _fpu_cmp = 0; 6765 uint32_t _cf = 0; 6766 int _df = 1; 6767 uint32_t _flag_k = FK_NONE; 6768 uint32_t _flag_a = 0, _flag_b = 0; 6769 uint32_t _itail_tgt = 0; 6770 RECOMP_REGS_LOCALS 6771 RECOMP_ENTER(0x2B05BFC0u); 6772 6773 L_2B05BFC0: 6774 PUSH32(esp, ebp); /* 0x2B05BFC0: push ebp */ 6775 ebp = esp; /* 0x2B05BFC1: mov ebp, esp */ 6776 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05BFC3: push -1 */ 6777 PUSH32(esp, 0x2B0B03C1u); /* 0x2B05BFC5: push 0x2b0b03c1 */ 6778 eax = MEM32(FS_BASE + (0)); /* 0x2B05BFCA: mov eax, dword ptr fs:[0] */ 6779 PUSH32(esp, eax); /* 0x2B05BFD0: push eax */ 6780 MEM32(FS_BASE + (0)) = esp; /* 0x2B05BFD1: mov dword ptr fs:[0], esp */ 6781 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6783 esp = esp - 0x10u; /* 0x2B05BFD8: sub esp, 0x10 */ 6784 _flag_k = FK_CMP; 6785 PUSH32(esp, ebx); /* 0x2B05BFDB: push ebx */ 6786 PUSH32(esp, esi); /* 0x2B05BFDC: push esi */ 6787 esi = ecx; /* 0x2B05BFDD: mov esi, ecx */ 6788 PUSH32(esp, edi); /* 0x2B05BFDF: push edi */ 6789 MEM32(ebp + (-0x10)) = esi; /* 0x2B05BFE0: mov dword ptr [ebp - 0x10], esi */ 6790 RECOMP_ICALL(0x2B03A220u); /* 0x2B05BFE3: call 0x2b03a220 */ /* not lifted */ 6791 RECOMP_FLAGS_IN(); 6792 ecx = MEM32(esi + 0x8); /* 0x2B05BFE8: mov ecx, dword ptr [esi + 8] */ 6793 eax = MEM32(esi + 0x4); /* 0x2B05BFEB: mov eax, dword ptr [esi + 4] */ 6794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 6795 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6796 ecx = ecx + 0x14u; /* 0x2B05BFEE: add ecx, 0x14 */ 6797 _flag_k = FK_ADD; 6798 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6799 ebx = 0; /* 0x2B05BFF1: xor ebx, ebx */ 6800 _cf = 0; 6801 _flag_k = FK_TEST; 6802 PUSH32(esp, 0x38u); /* 0x2B05BFF3: push 0x38 */ 6803 MEM32(ebp + (-0x4)) = ebx; /* 0x2B05BFF5: mov dword ptr [ebp - 4], ebx */ 6804 MEM32(esi) = 0x2B0B6C60u; /* 0x2B05BFF8: mov dword ptr [esi], 0x2b0b6c60 */ 6805 MEM32(ebp + (-0x1C)) = eax; /* 0x2B05BFFE: mov dword ptr [ebp - 0x1c], eax */ 6806 MEM32(ebp + (-0x18)) = ecx; /* 0x2B05C001: mov dword ptr [ebp - 0x18], ecx */ 6807 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C004: call 0x2b0ab212 */ /* not lifted */ 6808 RECOMP_FLAGS_IN(); 6809 edi = eax; /* 0x2B05C009: mov edi, eax */ 6810 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6812 esp = esp + 4; /* 0x2B05C00B: add esp, 4 */ 6813 _flag_k = FK_ADD; 6814 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C00E: mov dword ptr [ebp - 0x14], edi */ 6815 /* cmp edi, ebx */ /* 0x2B05C011: cmp edi, ebx */ 6816 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6818 _flag_k = FK_CMP; 6819 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05C013: mov byte ptr [ebp - 4], 1 */ 6820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C040; /* 0x2B05C017: je 0x2b05c040 */ 6821 L_2B05C019: 6822 edx = MEM32(0x2B0EE9DC); /* 0x2B05C019: mov edx, dword ptr [0x2b0ee9dc] */ 6823 PUSH32(esp, edx); /* 0x2B05C01F: push edx */ 6824 PUSH32(esp, 0xFA2u); /* 0x2B05C020: push 0xfa2 */ 6825 PUSH32(esp, 0x111u); /* 0x2B05C025: push 0x111 */ 6826 eax = ebp + (-0x1C); /* 0x2B05C02A: lea eax, [ebp - 0x1c] */ 6827 PUSH32(esp, eax); /* 0x2B05C02D: push eax */ 6828 ecx = edi; /* 0x2B05C02E: mov ecx, edi */ 6829 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05C030: call dword ptr [0x2b0b5948] */ 6830 RECOMP_FLAGS_IN(); 6831 MEM32(edi) = 0x2B0B68F4u; /* 0x2B05C036: mov dword ptr [edi], 0x2b0b68f4 */ 6832 eax = edi; /* 0x2B05C03C: mov eax, edi */ 6833 goto L_2B05C042; /* 0x2B05C03E: jmp 0x2b05c042 */ 6834 L_2B05C040: 6835 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6836 eax = 0; /* 0x2B05C040: xor eax, eax */ 6837 _cf = 0; 6838 _flag_k = FK_TEST; 6839 L_2B05C042: 6840 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05C042: cmp byte ptr [esi + 0x1c], bl */ 6841 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6843 _flag_k = FK_NARROW(FK_CMP, 24); 6844 MEM32(esi + 0x28) = eax; /* 0x2B05C045: mov dword ptr [esi + 0x28], eax */ 6845 ecx = MEM32(eax + 0x14); /* 0x2B05C048: mov ecx, dword ptr [eax + 0x14] */ 6846 ecx = MEM32(ecx + 0x8); /* 0x2B05C04B: mov ecx, dword ptr [ecx + 8] */ 6847 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C04E: mov byte ptr [ebp - 4], bl */ 6848 MEM32(esi + 0x20) = ecx; /* 0x2B05C051: mov dword ptr [esi + 0x20], ecx */ 6849 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C05E; /* 0x2B05C054: je 0x2b05c05e */ 6850 L_2B05C056: 6851 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05C056: cmp byte ptr [esi + 0xc], bl */ 6852 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6854 _flag_k = FK_NARROW(FK_CMP, 24); 6855 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C05E; /* 0x2B05C059: je 0x2b05c05e */ 6856 L_2B05C05B: 6857 MEM32(esi + 0x18) = ecx; /* 0x2B05C05B: mov dword ptr [esi + 0x18], ecx */ 6858 L_2B05C05E: 6859 PUSH32(esp, 0x50u); /* 0x2B05C05E: push 0x50 */ 6860 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C060: mov byte ptr [eax + 8], bl */ 6861 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C063: call 0x2b0ab212 */ /* not lifted */ 6862 RECOMP_FLAGS_IN(); 6863 edi = eax; /* 0x2B05C068: mov edi, eax */ 6864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6866 esp = esp + 4; /* 0x2B05C06A: add esp, 4 */ 6867 _flag_k = FK_ADD; 6868 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C06D: mov dword ptr [ebp - 0x14], edi */ 6869 /* cmp edi, ebx */ /* 0x2B05C070: cmp edi, ebx */ 6870 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6872 _flag_k = FK_CMP; 6873 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05C072: mov byte ptr [ebp - 4], 2 */ 6874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C0A6; /* 0x2B05C076: je 0x2b05c0a6 */ 6875 L_2B05C078: 6876 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C078: mov ecx, dword ptr [0x2b0ee9dc] */ 6877 edx = MEM32(ebp + (-0x18)); /* 0x2B05C07E: mov edx, dword ptr [ebp - 0x18] */ 6878 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C081: mov eax, dword ptr [ebp - 0x1c] */ 6879 PUSH32(esp, ecx); /* 0x2B05C084: push ecx */ 6880 PUSH32(esp, ebx); /* 0x2B05C085: push ebx */ 6881 PUSH32(esp, edx); /* 0x2B05C086: push edx */ 6882 PUSH32(esp, eax); /* 0x2B05C087: push eax */ 6883 PUSH32(esp, 0xFA8u); /* 0x2B05C088: push 0xfa8 */ 6884 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C08D: push 0x2b0e8ee0 */ 6885 PUSH32(esp, 1); /* 0x2B05C092: push 1 */ 6886 ecx = edi; /* 0x2B05C094: mov ecx, edi */ 6887 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C096: call dword ptr [0x2b0b5950] */ 6888 RECOMP_FLAGS_IN(); 6889 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C09C: mov dword ptr [edi], 0x2b0b6878 */ 6890 ecx = edi; /* 0x2B05C0A2: mov ecx, edi */ 6891 goto L_2B05C0A8; /* 0x2B05C0A4: jmp 0x2b05c0a8 */ 6892 L_2B05C0A6: 6893 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6894 ecx = 0; /* 0x2B05C0A6: xor ecx, ecx */ 6895 _cf = 0; 6896 _flag_k = FK_TEST; 6897 L_2B05C0A8: 6898 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C0A8: push 0xffffff */ 6899 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C0AD: mov byte ptr [ebp - 4], bl */ 6900 MEM32(esi + 0x2C) = ecx; /* 0x2B05C0B0: mov dword ptr [esi + 0x2c], ecx */ 6901 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C0B3: call dword ptr [0x2b0b5858] */ 6902 RECOMP_FLAGS_IN(); 6903 eax = MEM32(esi + 0x2C); /* 0x2B05C0B9: mov eax, dword ptr [esi + 0x2c] */ 6904 PUSH32(esp, 0x50u); /* 0x2B05C0BC: push 0x50 */ 6905 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C0BE: mov byte ptr [eax + 8], bl */ 6906 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C0C1: call 0x2b0ab212 */ /* not lifted */ 6907 RECOMP_FLAGS_IN(); 6908 edi = eax; /* 0x2B05C0C6: mov edi, eax */ 6909 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6910 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6911 esp = esp + 4; /* 0x2B05C0C8: add esp, 4 */ 6912 _flag_k = FK_ADD; 6913 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C0CB: mov dword ptr [ebp - 0x14], edi */ 6914 /* cmp edi, ebx */ /* 0x2B05C0CE: cmp edi, ebx */ 6915 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6917 _flag_k = FK_CMP; 6918 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05C0D0: mov byte ptr [ebp - 4], 3 */ 6919 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C104; /* 0x2B05C0D4: je 0x2b05c104 */ 6920 L_2B05C0D6: 6921 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C0D6: mov ecx, dword ptr [0x2b0ee9dc] */ 6922 edx = MEM32(ebp + (-0x18)); /* 0x2B05C0DC: mov edx, dword ptr [ebp - 0x18] */ 6923 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C0DF: mov eax, dword ptr [ebp - 0x1c] */ 6924 PUSH32(esp, ecx); /* 0x2B05C0E2: push ecx */ 6925 PUSH32(esp, ebx); /* 0x2B05C0E3: push ebx */ 6926 PUSH32(esp, edx); /* 0x2B05C0E4: push edx */ 6927 PUSH32(esp, eax); /* 0x2B05C0E5: push eax */ 6928 PUSH32(esp, 0xFA8u); /* 0x2B05C0E6: push 0xfa8 */ 6929 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C0EB: push 0x2b0e8ee0 */ 6930 PUSH32(esp, 1); /* 0x2B05C0F0: push 1 */ 6931 ecx = edi; /* 0x2B05C0F2: mov ecx, edi */ 6932 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C0F4: call dword ptr [0x2b0b5950] */ 6933 RECOMP_FLAGS_IN(); 6934 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C0FA: mov dword ptr [edi], 0x2b0b6878 */ 6935 ecx = edi; /* 0x2B05C100: mov ecx, edi */ 6936 goto L_2B05C106; /* 0x2B05C102: jmp 0x2b05c106 */ 6937 L_2B05C104: 6938 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6939 ecx = 0; /* 0x2B05C104: xor ecx, ecx */ 6940 _cf = 0; 6941 _flag_k = FK_TEST; 6942 L_2B05C106: 6943 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C106: push 0xffffff */ 6944 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C10B: mov byte ptr [ebp - 4], bl */ 6945 MEM32(esi + 0x30) = ecx; /* 0x2B05C10E: mov dword ptr [esi + 0x30], ecx */ 6946 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C111: call dword ptr [0x2b0b5858] */ 6947 RECOMP_FLAGS_IN(); 6948 eax = MEM32(esi + 0x30); /* 0x2B05C117: mov eax, dword ptr [esi + 0x30] */ 6949 PUSH32(esp, 0x50u); /* 0x2B05C11A: push 0x50 */ 6950 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C11C: mov byte ptr [eax + 8], bl */ 6951 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C11F: call 0x2b0ab212 */ /* not lifted */ 6952 RECOMP_FLAGS_IN(); 6953 edi = eax; /* 0x2B05C124: mov edi, eax */ 6954 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6956 esp = esp + 4; /* 0x2B05C126: add esp, 4 */ 6957 _flag_k = FK_ADD; 6958 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C129: mov dword ptr [ebp - 0x14], edi */ 6959 /* cmp edi, ebx */ /* 0x2B05C12C: cmp edi, ebx */ 6960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6962 _flag_k = FK_CMP; 6963 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05C12E: mov byte ptr [ebp - 4], 4 */ 6964 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C162; /* 0x2B05C132: je 0x2b05c162 */ 6965 L_2B05C134: 6966 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C134: mov ecx, dword ptr [0x2b0ee9dc] */ 6967 edx = MEM32(ebp + (-0x18)); /* 0x2B05C13A: mov edx, dword ptr [ebp - 0x18] */ 6968 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C13D: mov eax, dword ptr [ebp - 0x1c] */ 6969 PUSH32(esp, ecx); /* 0x2B05C140: push ecx */ 6970 PUSH32(esp, ebx); /* 0x2B05C141: push ebx */ 6971 PUSH32(esp, edx); /* 0x2B05C142: push edx */ 6972 PUSH32(esp, eax); /* 0x2B05C143: push eax */ 6973 PUSH32(esp, 0xFA8u); /* 0x2B05C144: push 0xfa8 */ 6974 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C149: push 0x2b0e8ee0 */ 6975 PUSH32(esp, 1); /* 0x2B05C14E: push 1 */ 6976 ecx = edi; /* 0x2B05C150: mov ecx, edi */ 6977 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C152: call dword ptr [0x2b0b5950] */ 6978 RECOMP_FLAGS_IN(); 6979 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C158: mov dword ptr [edi], 0x2b0b6878 */ 6980 ecx = edi; /* 0x2B05C15E: mov ecx, edi */ 6981 goto L_2B05C164; /* 0x2B05C160: jmp 0x2b05c164 */ 6982 L_2B05C162: 6983 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6984 ecx = 0; /* 0x2B05C162: xor ecx, ecx */ 6985 _cf = 0; 6986 _flag_k = FK_TEST; 6987 L_2B05C164: 6988 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C164: push 0xffffff */ 6989 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C169: mov byte ptr [ebp - 4], bl */ 6990 MEM32(esi + 0x34) = ecx; /* 0x2B05C16C: mov dword ptr [esi + 0x34], ecx */ 6991 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C16F: call dword ptr [0x2b0b5858] */ 6992 RECOMP_FLAGS_IN(); 6993 eax = MEM32(esi + 0x34); /* 0x2B05C175: mov eax, dword ptr [esi + 0x34] */ 6994 PUSH32(esp, 0x50u); /* 0x2B05C178: push 0x50 */ 6995 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C17A: mov byte ptr [eax + 8], bl */ 6996 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C17D: call 0x2b0ab212 */ /* not lifted */ 6997 RECOMP_FLAGS_IN(); 6998 edi = eax; /* 0x2B05C182: mov edi, eax */ 6999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7001 esp = esp + 4; /* 0x2B05C184: add esp, 4 */ 7002 _flag_k = FK_ADD; 7003 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C187: mov dword ptr [ebp - 0x14], edi */ 7004 /* cmp edi, ebx */ /* 0x2B05C18A: cmp edi, ebx */ 7005 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7007 _flag_k = FK_CMP; 7008 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05C18C: mov byte ptr [ebp - 4], 5 */ 7009 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C1C0; /* 0x2B05C190: je 0x2b05c1c0 */ 7010 L_2B05C192: 7011 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C192: mov ecx, dword ptr [0x2b0ee9dc] */ 7012 edx = MEM32(ebp + (-0x18)); /* 0x2B05C198: mov edx, dword ptr [ebp - 0x18] */ 7013 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C19B: mov eax, dword ptr [ebp - 0x1c] */ 7014 PUSH32(esp, ecx); /* 0x2B05C19E: push ecx */ 7015 PUSH32(esp, ebx); /* 0x2B05C19F: push ebx */ 7016 PUSH32(esp, edx); /* 0x2B05C1A0: push edx */ 7017 PUSH32(esp, eax); /* 0x2B05C1A1: push eax */ 7018 PUSH32(esp, 0xFA8u); /* 0x2B05C1A2: push 0xfa8 */ 7019 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C1A7: push 0x2b0e8ee0 */ 7020 PUSH32(esp, 1); /* 0x2B05C1AC: push 1 */ 7021 ecx = edi; /* 0x2B05C1AE: mov ecx, edi */ 7022 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C1B0: call dword ptr [0x2b0b5950] */ 7023 RECOMP_FLAGS_IN(); 7024 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C1B6: mov dword ptr [edi], 0x2b0b6878 */ 7025 ecx = edi; /* 0x2B05C1BC: mov ecx, edi */ 7026 goto L_2B05C1C2; /* 0x2B05C1BE: jmp 0x2b05c1c2 */ 7027 L_2B05C1C0: 7028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7029 ecx = 0; /* 0x2B05C1C0: xor ecx, ecx */ 7030 _cf = 0; 7031 _flag_k = FK_TEST; 7032 L_2B05C1C2: 7033 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C1C2: push 0xffffff */ 7034 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C1C7: mov byte ptr [ebp - 4], bl */ 7035 MEM32(esi + 0x38) = ecx; /* 0x2B05C1CA: mov dword ptr [esi + 0x38], ecx */ 7036 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C1CD: call dword ptr [0x2b0b5858] */ 7037 RECOMP_FLAGS_IN(); 7038 eax = MEM32(esi + 0x38); /* 0x2B05C1D3: mov eax, dword ptr [esi + 0x38] */ 7039 PUSH32(esp, 0x50u); /* 0x2B05C1D6: push 0x50 */ 7040 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C1D8: mov byte ptr [eax + 8], bl */ 7041 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C1DB: call 0x2b0ab212 */ /* not lifted */ 7042 RECOMP_FLAGS_IN(); 7043 edi = eax; /* 0x2B05C1E0: mov edi, eax */ 7044 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7045 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7046 esp = esp + 4; /* 0x2B05C1E2: add esp, 4 */ 7047 _flag_k = FK_ADD; 7048 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C1E5: mov dword ptr [ebp - 0x14], edi */ 7049 /* cmp edi, ebx */ /* 0x2B05C1E8: cmp edi, ebx */ 7050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7052 _flag_k = FK_CMP; 7053 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05C1EA: mov byte ptr [ebp - 4], 6 */ 7054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C21E; /* 0x2B05C1EE: je 0x2b05c21e */ 7055 L_2B05C1F0: 7056 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C1F0: mov ecx, dword ptr [0x2b0ee9dc] */ 7057 edx = MEM32(ebp + (-0x18)); /* 0x2B05C1F6: mov edx, dword ptr [ebp - 0x18] */ 7058 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C1F9: mov eax, dword ptr [ebp - 0x1c] */ 7059 PUSH32(esp, ecx); /* 0x2B05C1FC: push ecx */ 7060 PUSH32(esp, ebx); /* 0x2B05C1FD: push ebx */ 7061 PUSH32(esp, edx); /* 0x2B05C1FE: push edx */ 7062 PUSH32(esp, eax); /* 0x2B05C1FF: push eax */ 7063 PUSH32(esp, 0xFA8u); /* 0x2B05C200: push 0xfa8 */ 7064 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C205: push 0x2b0e8ee0 */ 7065 PUSH32(esp, 1); /* 0x2B05C20A: push 1 */ 7066 ecx = edi; /* 0x2B05C20C: mov ecx, edi */ 7067 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C20E: call dword ptr [0x2b0b5950] */ 7068 RECOMP_FLAGS_IN(); 7069 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C214: mov dword ptr [edi], 0x2b0b6878 */ 7070 ecx = edi; /* 0x2B05C21A: mov ecx, edi */ 7071 goto L_2B05C220; /* 0x2B05C21C: jmp 0x2b05c220 */ 7072 L_2B05C21E: 7073 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7074 ecx = 0; /* 0x2B05C21E: xor ecx, ecx */ 7075 _cf = 0; 7076 _flag_k = FK_TEST; 7077 L_2B05C220: 7078 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C220: push 0xffffff */ 7079 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C225: mov byte ptr [ebp - 4], bl */ 7080 MEM32(esi + 0x3C) = ecx; /* 0x2B05C228: mov dword ptr [esi + 0x3c], ecx */ 7081 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C22B: call dword ptr [0x2b0b5858] */ 7082 RECOMP_FLAGS_IN(); 7083 eax = MEM32(esi + 0x3C); /* 0x2B05C231: mov eax, dword ptr [esi + 0x3c] */ 7084 PUSH32(esp, 0x50u); /* 0x2B05C234: push 0x50 */ 7085 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C236: mov byte ptr [eax + 8], bl */ 7086 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C239: call 0x2b0ab212 */ /* not lifted */ 7087 RECOMP_FLAGS_IN(); 7088 edi = eax; /* 0x2B05C23E: mov edi, eax */ 7089 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7090 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7091 esp = esp + 4; /* 0x2B05C240: add esp, 4 */ 7092 _flag_k = FK_ADD; 7093 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C243: mov dword ptr [ebp - 0x14], edi */ 7094 /* cmp edi, ebx */ /* 0x2B05C246: cmp edi, ebx */ 7095 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7097 _flag_k = FK_CMP; 7098 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05C248: mov byte ptr [ebp - 4], 7 */ 7099 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C27C; /* 0x2B05C24C: je 0x2b05c27c */ 7100 L_2B05C24E: 7101 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C24E: mov ecx, dword ptr [0x2b0ee9dc] */ 7102 edx = MEM32(ebp + (-0x18)); /* 0x2B05C254: mov edx, dword ptr [ebp - 0x18] */ 7103 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C257: mov eax, dword ptr [ebp - 0x1c] */ 7104 PUSH32(esp, ecx); /* 0x2B05C25A: push ecx */ 7105 PUSH32(esp, ebx); /* 0x2B05C25B: push ebx */ 7106 PUSH32(esp, edx); /* 0x2B05C25C: push edx */ 7107 PUSH32(esp, eax); /* 0x2B05C25D: push eax */ 7108 PUSH32(esp, 0xFA8u); /* 0x2B05C25E: push 0xfa8 */ 7109 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C263: push 0x2b0e8ee0 */ 7110 PUSH32(esp, 1); /* 0x2B05C268: push 1 */ 7111 ecx = edi; /* 0x2B05C26A: mov ecx, edi */ 7112 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C26C: call dword ptr [0x2b0b5950] */ 7113 RECOMP_FLAGS_IN(); 7114 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C272: mov dword ptr [edi], 0x2b0b6878 */ 7115 ecx = edi; /* 0x2B05C278: mov ecx, edi */ 7116 goto L_2B05C27E; /* 0x2B05C27A: jmp 0x2b05c27e */ 7117 L_2B05C27C: 7118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7119 ecx = 0; /* 0x2B05C27C: xor ecx, ecx */ 7120 _cf = 0; 7121 _flag_k = FK_TEST; 7122 L_2B05C27E: 7123 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C27E: push 0xffffff */ 7124 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C283: mov byte ptr [ebp - 4], bl */ 7125 MEM32(esi + 0x40) = ecx; /* 0x2B05C286: mov dword ptr [esi + 0x40], ecx */ 7126 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C289: call dword ptr [0x2b0b5858] */ 7127 RECOMP_FLAGS_IN(); 7128 eax = MEM32(esi + 0x40); /* 0x2B05C28F: mov eax, dword ptr [esi + 0x40] */ 7129 PUSH32(esp, 0x50u); /* 0x2B05C292: push 0x50 */ 7130 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C294: mov byte ptr [eax + 8], bl */ 7131 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C297: call 0x2b0ab212 */ /* not lifted */ 7132 RECOMP_FLAGS_IN(); 7133 edi = eax; /* 0x2B05C29C: mov edi, eax */ 7134 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7136 esp = esp + 4; /* 0x2B05C29E: add esp, 4 */ 7137 _flag_k = FK_ADD; 7138 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C2A1: mov dword ptr [ebp - 0x14], edi */ 7139 /* cmp edi, ebx */ /* 0x2B05C2A4: cmp edi, ebx */ 7140 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7142 _flag_k = FK_CMP; 7143 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B05C2A6: mov byte ptr [ebp - 4], 8 */ 7144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C2DA; /* 0x2B05C2AA: je 0x2b05c2da */ 7145 L_2B05C2AC: 7146 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C2AC: mov ecx, dword ptr [0x2b0ee9dc] */ 7147 edx = MEM32(ebp + (-0x18)); /* 0x2B05C2B2: mov edx, dword ptr [ebp - 0x18] */ 7148 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C2B5: mov eax, dword ptr [ebp - 0x1c] */ 7149 PUSH32(esp, ecx); /* 0x2B05C2B8: push ecx */ 7150 PUSH32(esp, ebx); /* 0x2B05C2B9: push ebx */ 7151 PUSH32(esp, edx); /* 0x2B05C2BA: push edx */ 7152 PUSH32(esp, eax); /* 0x2B05C2BB: push eax */ 7153 PUSH32(esp, 0xFA8u); /* 0x2B05C2BC: push 0xfa8 */ 7154 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C2C1: push 0x2b0e8ee0 */ 7155 PUSH32(esp, 1); /* 0x2B05C2C6: push 1 */ 7156 ecx = edi; /* 0x2B05C2C8: mov ecx, edi */ 7157 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C2CA: call dword ptr [0x2b0b5950] */ 7158 RECOMP_FLAGS_IN(); 7159 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C2D0: mov dword ptr [edi], 0x2b0b6878 */ 7160 ecx = edi; /* 0x2B05C2D6: mov ecx, edi */ 7161 goto L_2B05C2DC; /* 0x2B05C2D8: jmp 0x2b05c2dc */ 7162 L_2B05C2DA: 7163 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7164 ecx = 0; /* 0x2B05C2DA: xor ecx, ecx */ 7165 _cf = 0; 7166 _flag_k = FK_TEST; 7167 L_2B05C2DC: 7168 PUSH32(esp, ebx); /* 0x2B05C2DC: push ebx */ 7169 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C2DD: mov byte ptr [ebp - 4], bl */ 7170 MEM32(esi + 0x44) = ecx; /* 0x2B05C2E0: mov dword ptr [esi + 0x44], ecx */ 7171 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C2E3: call dword ptr [0x2b0b5858] */ 7172 RECOMP_FLAGS_IN(); 7173 eax = MEM32(esi + 0x44); /* 0x2B05C2E9: mov eax, dword ptr [esi + 0x44] */ 7174 PUSH32(esp, 0x50u); /* 0x2B05C2EC: push 0x50 */ 7175 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C2EE: mov byte ptr [eax + 8], bl */ 7176 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C2F1: call 0x2b0ab212 */ /* not lifted */ 7177 RECOMP_FLAGS_IN(); 7178 edi = eax; /* 0x2B05C2F6: mov edi, eax */ 7179 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7181 esp = esp + 4; /* 0x2B05C2F8: add esp, 4 */ 7182 _flag_k = FK_ADD; 7183 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C2FB: mov dword ptr [ebp - 0x14], edi */ 7184 /* cmp edi, ebx */ /* 0x2B05C2FE: cmp edi, ebx */ 7185 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7187 _flag_k = FK_CMP; 7188 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B05C300: mov byte ptr [ebp - 4], 9 */ 7189 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C334; /* 0x2B05C304: je 0x2b05c334 */ 7190 L_2B05C306: 7191 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C306: mov ecx, dword ptr [0x2b0ee9dc] */ 7192 edx = MEM32(ebp + (-0x18)); /* 0x2B05C30C: mov edx, dword ptr [ebp - 0x18] */ 7193 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C30F: mov eax, dword ptr [ebp - 0x1c] */ 7194 PUSH32(esp, ecx); /* 0x2B05C312: push ecx */ 7195 PUSH32(esp, ebx); /* 0x2B05C313: push ebx */ 7196 PUSH32(esp, edx); /* 0x2B05C314: push edx */ 7197 PUSH32(esp, eax); /* 0x2B05C315: push eax */ 7198 PUSH32(esp, 0xFA8u); /* 0x2B05C316: push 0xfa8 */ 7199 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C31B: push 0x2b0e8ee0 */ 7200 PUSH32(esp, 1); /* 0x2B05C320: push 1 */ 7201 ecx = edi; /* 0x2B05C322: mov ecx, edi */ 7202 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C324: call dword ptr [0x2b0b5950] */ 7203 RECOMP_FLAGS_IN(); 7204 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C32A: mov dword ptr [edi], 0x2b0b6878 */ 7205 ecx = edi; /* 0x2B05C330: mov ecx, edi */ 7206 goto L_2B05C336; /* 0x2B05C332: jmp 0x2b05c336 */ 7207 L_2B05C334: 7208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7209 ecx = 0; /* 0x2B05C334: xor ecx, ecx */ 7210 _cf = 0; 7211 _flag_k = FK_TEST; 7212 L_2B05C336: 7213 PUSH32(esp, ebx); /* 0x2B05C336: push ebx */ 7214 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C337: mov byte ptr [ebp - 4], bl */ 7215 MEM32(esi + 0x48) = ecx; /* 0x2B05C33A: mov dword ptr [esi + 0x48], ecx */ 7216 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C33D: call dword ptr [0x2b0b5858] */ 7217 RECOMP_FLAGS_IN(); 7218 eax = MEM32(esi + 0x48); /* 0x2B05C343: mov eax, dword ptr [esi + 0x48] */ 7219 PUSH32(esp, 0x50u); /* 0x2B05C346: push 0x50 */ 7220 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C348: mov byte ptr [eax + 8], bl */ 7221 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C34B: call 0x2b0ab212 */ /* not lifted */ 7222 RECOMP_FLAGS_IN(); 7223 edi = eax; /* 0x2B05C350: mov edi, eax */ 7224 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7226 esp = esp + 4; /* 0x2B05C352: add esp, 4 */ 7227 _flag_k = FK_ADD; 7228 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C355: mov dword ptr [ebp - 0x14], edi */ 7229 /* cmp edi, ebx */ /* 0x2B05C358: cmp edi, ebx */ 7230 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7232 _flag_k = FK_CMP; 7233 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B05C35A: mov byte ptr [ebp - 4], 0xa */ 7234 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C38E; /* 0x2B05C35E: je 0x2b05c38e */ 7235 L_2B05C360: 7236 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C360: mov ecx, dword ptr [0x2b0ee9dc] */ 7237 edx = MEM32(ebp + (-0x18)); /* 0x2B05C366: mov edx, dword ptr [ebp - 0x18] */ 7238 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C369: mov eax, dword ptr [ebp - 0x1c] */ 7239 PUSH32(esp, ecx); /* 0x2B05C36C: push ecx */ 7240 PUSH32(esp, ebx); /* 0x2B05C36D: push ebx */ 7241 PUSH32(esp, edx); /* 0x2B05C36E: push edx */ 7242 PUSH32(esp, eax); /* 0x2B05C36F: push eax */ 7243 PUSH32(esp, 0xFA8u); /* 0x2B05C370: push 0xfa8 */ 7244 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C375: push 0x2b0e8ee0 */ 7245 PUSH32(esp, 1); /* 0x2B05C37A: push 1 */ 7246 ecx = edi; /* 0x2B05C37C: mov ecx, edi */ 7247 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C37E: call dword ptr [0x2b0b5950] */ 7248 RECOMP_FLAGS_IN(); 7249 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C384: mov dword ptr [edi], 0x2b0b6878 */ 7250 ecx = edi; /* 0x2B05C38A: mov ecx, edi */ 7251 goto L_2B05C390; /* 0x2B05C38C: jmp 0x2b05c390 */ 7252 L_2B05C38E: 7253 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7254 ecx = 0; /* 0x2B05C38E: xor ecx, ecx */ 7255 _cf = 0; 7256 _flag_k = FK_TEST; 7257 L_2B05C390: 7258 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C390: push 0xffffff */ 7259 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C395: mov byte ptr [ebp - 4], bl */ 7260 MEM32(esi + 0x4C) = ecx; /* 0x2B05C398: mov dword ptr [esi + 0x4c], ecx */ 7261 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C39B: call dword ptr [0x2b0b5858] */ 7262 RECOMP_FLAGS_IN(); 7263 eax = MEM32(esi + 0x4C); /* 0x2B05C3A1: mov eax, dword ptr [esi + 0x4c] */ 7264 PUSH32(esp, 0x50u); /* 0x2B05C3A4: push 0x50 */ 7265 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C3A6: mov byte ptr [eax + 8], bl */ 7266 RECOMP_ICALL(0x2B0AB212u); /* 0x2B05C3A9: call 0x2b0ab212 */ /* not lifted */ 7267 RECOMP_FLAGS_IN(); 7268 edi = eax; /* 0x2B05C3AE: mov edi, eax */ 7269 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7271 esp = esp + 4; /* 0x2B05C3B0: add esp, 4 */ 7272 _flag_k = FK_ADD; 7273 MEM32(ebp + (-0x14)) = edi; /* 0x2B05C3B3: mov dword ptr [ebp - 0x14], edi */ 7274 /* cmp edi, ebx */ /* 0x2B05C3B6: cmp edi, ebx */ 7275 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7277 _flag_k = FK_CMP; 7278 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B05C3B8: mov byte ptr [ebp - 4], 0xb */ 7279 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05C3EC; /* 0x2B05C3BC: je 0x2b05c3ec */ 7280 L_2B05C3BE: 7281 ecx = MEM32(0x2B0EE9DC); /* 0x2B05C3BE: mov ecx, dword ptr [0x2b0ee9dc] */ 7282 edx = MEM32(ebp + (-0x18)); /* 0x2B05C3C4: mov edx, dword ptr [ebp - 0x18] */ 7283 eax = MEM32(ebp + (-0x1C)); /* 0x2B05C3C7: mov eax, dword ptr [ebp - 0x1c] */ 7284 PUSH32(esp, ecx); /* 0x2B05C3CA: push ecx */ 7285 PUSH32(esp, ebx); /* 0x2B05C3CB: push ebx */ 7286 PUSH32(esp, edx); /* 0x2B05C3CC: push edx */ 7287 PUSH32(esp, eax); /* 0x2B05C3CD: push eax */ 7288 PUSH32(esp, 0xFA8u); /* 0x2B05C3CE: push 0xfa8 */ 7289 PUSH32(esp, 0x2B0E8EE0u); /* 0x2B05C3D3: push 0x2b0e8ee0 */ 7290 PUSH32(esp, 1); /* 0x2B05C3D8: push 1 */ 7291 ecx = edi; /* 0x2B05C3DA: mov ecx, edi */ 7292 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05C3DC: call dword ptr [0x2b0b5950] */ 7293 RECOMP_FLAGS_IN(); 7294 MEM32(edi) = 0x2B0B6878u; /* 0x2B05C3E2: mov dword ptr [edi], 0x2b0b6878 */ 7295 ecx = edi; /* 0x2B05C3E8: mov ecx, edi */ 7296 goto L_2B05C3EE; /* 0x2B05C3EA: jmp 0x2b05c3ee */ 7297 L_2B05C3EC: 7298 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7299 ecx = 0; /* 0x2B05C3EC: xor ecx, ecx */ 7300 _cf = 0; 7301 _flag_k = FK_TEST; 7302 L_2B05C3EE: 7303 PUSH32(esp, 0x00FFFFFFu); /* 0x2B05C3EE: push 0xffffff */ 7304 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05C3F3: mov byte ptr [ebp - 4], bl */ 7305 MEM32(esi + 0x50) = ecx; /* 0x2B05C3F6: mov dword ptr [esi + 0x50], ecx */ 7306 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05C3F9: call dword ptr [0x2b0b5858] */ 7307 RECOMP_FLAGS_IN(); 7308 ecx = MEM32(esi + 0x50); /* 0x2B05C3FF: mov ecx, dword ptr [esi + 0x50] */ 7309 PUSH32(esp, 0x2B0E8ED4u); /* 0x2B05C402: push 0x2b0e8ed4 */ 7310 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05C407: mov byte ptr [ecx + 8], bl */ 7311 PUSH32(esp, ebx); /* 0x2B05C40A: push ebx */ 7312 ecx = esi; /* 0x2B05C40B: mov ecx, esi */ 7313 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05C40D: call 0x2b03a2d0 */ /* not lifted */ 7314 RECOMP_FLAGS_IN(); 7315 ecx = esi; /* 0x2B05C412: mov ecx, esi */ 7316 RECOMP_ICALL(0x2B05C720u); /* 0x2B05C414: call 0x2b05c720 */ /* not lifted */ 7317 RECOMP_FLAGS_IN(); 7318 ecx = MEM32(ebp + (-0xC)); /* 0x2B05C419: mov ecx, dword ptr [ebp - 0xc] */ 7319 edi = POP32_VAL(esp); /* 0x2B05C41C: pop edi */ 7320 eax = esi; /* 0x2B05C41D: mov eax, esi */ 7321 esi = POP32_VAL(esp); /* 0x2B05C41F: pop esi */ 7322 ebx = POP32_VAL(esp); /* 0x2B05C420: pop ebx */ 7323 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05C421: mov dword ptr fs:[0], ecx */ 7324 esp = ebp; /* 0x2B05C428: mov esp, ebp */ 7325 ebp = POP32_VAL(esp); /* 0x2B05C42A: pop ebp */ 7326 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C42B: ret */ 7327 RECOMP_REGS_OUT(); 7328 } 7329 7330 void sub_2B05C430(void) { 7331 int _fpu_cmp = 0; 7332 uint32_t _cf = 0; 7333 int _df = 1; 7334 uint32_t _flag_k = FK_NONE; 7335 uint32_t _flag_a = 0, _flag_b = 0; 7336 uint32_t _itail_tgt = 0; 7337 RECOMP_REGS_LOCALS 7338 RECOMP_ENTER(0x2B05C430u); 7339 7340 L_2B05C430: 7341 SET_LO8(eax, 1); /* 0x2B05C430: mov al, 1 */ 7342 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C432: ret */ 7343 RECOMP_REGS_OUT(); 7344 } 7345 7346 void sub_2B05C440(void) { 7347 int _fpu_cmp = 0; 7348 uint32_t _cf = 0; 7349 int _df = 1; 7350 uint32_t _flag_k = FK_NONE; 7351 uint32_t _flag_a = 0, _flag_b = 0; 7352 uint32_t _itail_tgt = 0; 7353 RECOMP_REGS_LOCALS 7354 RECOMP_ENTER(0x2B05C440u); 7355 7356 L_2B05C440: 7357 PUSH32(esp, ebp); /* 0x2B05C440: push ebp */ 7358 ebp = esp; /* 0x2B05C441: mov ebp, esp */ 7359 PUSH32(esp, esi); /* 0x2B05C443: push esi */ 7360 esi = ecx; /* 0x2B05C444: mov esi, ecx */ 7361 RECOMP_ICALL(0x2B05C470u); /* 0x2B05C446: call 0x2b05c470 */ /* not lifted */ 7362 RECOMP_FLAGS_IN(); 7363 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05C44B: test byte ptr [ebp + 8], 1 */ 7364 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 7365 _cf = 0; 7366 _flag_k = FK_NARROW(FK_TEST, 24); 7367 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C45A; /* 0x2B05C44F: je 0x2b05c45a */ 7368 L_2B05C451: 7369 PUSH32(esp, esi); /* 0x2B05C451: push esi */ 7370 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05C452: call 0x2b0ab1ba */ /* not lifted */ 7371 RECOMP_FLAGS_IN(); 7372 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7373 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7374 esp = esp + 4; /* 0x2B05C457: add esp, 4 */ 7375 _flag_k = FK_ADD; 7376 L_2B05C45A: 7377 eax = esi; /* 0x2B05C45A: mov eax, esi */ 7378 esi = POP32_VAL(esp); /* 0x2B05C45C: pop esi */ 7379 ebp = POP32_VAL(esp); /* 0x2B05C45D: pop ebp */ 7380 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05C45E: ret 4 */ 7381 RECOMP_REGS_OUT(); 7382 } 7383 7384 void sub_2B05C470(void) { 7385 int _fpu_cmp = 0; 7386 uint32_t _cf = 0; 7387 int _df = 1; 7388 uint32_t _flag_k = FK_NONE; 7389 uint32_t _flag_a = 0, _flag_b = 0; 7390 uint32_t _itail_tgt = 0; 7391 RECOMP_REGS_LOCALS 7392 RECOMP_ENTER(0x2B05C470u); 7393 7394 L_2B05C470: 7395 PUSH32(esp, ebp); /* 0x2B05C470: push ebp */ 7396 ebp = esp; /* 0x2B05C471: mov ebp, esp */ 7397 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05C473: push -1 */ 7398 PUSH32(esp, 0x2B0B03D8u); /* 0x2B05C475: push 0x2b0b03d8 */ 7399 eax = MEM32(FS_BASE + (0)); /* 0x2B05C47A: mov eax, dword ptr fs:[0] */ 7400 PUSH32(esp, eax); /* 0x2B05C480: push eax */ 7401 MEM32(FS_BASE + (0)) = esp; /* 0x2B05C481: mov dword ptr fs:[0], esp */ 7402 PUSH32(esp, ecx); /* 0x2B05C488: push ecx */ 7403 PUSH32(esp, esi); /* 0x2B05C489: push esi */ 7404 esi = ecx; /* 0x2B05C48A: mov esi, ecx */ 7405 MEM32(ebp + (-0x10)) = esi; /* 0x2B05C48C: mov dword ptr [ebp - 0x10], esi */ 7406 MEM32(esi) = 0x2B0B6C60u; /* 0x2B05C48F: mov dword ptr [esi], 0x2b0b6c60 */ 7407 ecx = MEM32(esi + 0x28); /* 0x2B05C495: mov ecx, dword ptr [esi + 0x28] */ 7408 /* test ecx, ecx */ /* 0x2B05C498: test ecx, ecx */ 7409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7410 _cf = 0; 7411 _flag_k = FK_TEST; 7412 MEM32(ebp + (-0x4)) = 0; /* 0x2B05C49A: mov dword ptr [ebp - 4], 0 */ 7413 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4A9; /* 0x2B05C4A1: je 0x2b05c4a9 */ 7414 L_2B05C4A3: 7415 eax = MEM32(ecx); /* 0x2B05C4A3: mov eax, dword ptr [ecx] */ 7416 PUSH32(esp, 1); /* 0x2B05C4A5: push 1 */ 7417 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C4A7: call dword ptr [eax] */ 7418 RECOMP_FLAGS_IN(); 7419 L_2B05C4A9: 7420 ecx = MEM32(esi + 0x2C); /* 0x2B05C4A9: mov ecx, dword ptr [esi + 0x2c] */ 7421 /* test ecx, ecx */ /* 0x2B05C4AC: test ecx, ecx */ 7422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7423 _cf = 0; 7424 _flag_k = FK_TEST; 7425 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4B6; /* 0x2B05C4AE: je 0x2b05c4b6 */ 7426 L_2B05C4B0: 7427 edx = MEM32(ecx); /* 0x2B05C4B0: mov edx, dword ptr [ecx] */ 7428 PUSH32(esp, 1); /* 0x2B05C4B2: push 1 */ 7429 RECOMP_ICALL(MEM32(edx)); /* 0x2B05C4B4: call dword ptr [edx] */ 7430 RECOMP_FLAGS_IN(); 7431 L_2B05C4B6: 7432 ecx = MEM32(esi + 0x30); /* 0x2B05C4B6: mov ecx, dword ptr [esi + 0x30] */ 7433 /* test ecx, ecx */ /* 0x2B05C4B9: test ecx, ecx */ 7434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7435 _cf = 0; 7436 _flag_k = FK_TEST; 7437 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4C3; /* 0x2B05C4BB: je 0x2b05c4c3 */ 7438 L_2B05C4BD: 7439 eax = MEM32(ecx); /* 0x2B05C4BD: mov eax, dword ptr [ecx] */ 7440 PUSH32(esp, 1); /* 0x2B05C4BF: push 1 */ 7441 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C4C1: call dword ptr [eax] */ 7442 RECOMP_FLAGS_IN(); 7443 L_2B05C4C3: 7444 ecx = MEM32(esi + 0x38); /* 0x2B05C4C3: mov ecx, dword ptr [esi + 0x38] */ 7445 /* test ecx, ecx */ /* 0x2B05C4C6: test ecx, ecx */ 7446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7447 _cf = 0; 7448 _flag_k = FK_TEST; 7449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4D0; /* 0x2B05C4C8: je 0x2b05c4d0 */ 7450 L_2B05C4CA: 7451 edx = MEM32(ecx); /* 0x2B05C4CA: mov edx, dword ptr [ecx] */ 7452 PUSH32(esp, 1); /* 0x2B05C4CC: push 1 */ 7453 RECOMP_ICALL(MEM32(edx)); /* 0x2B05C4CE: call dword ptr [edx] */ 7454 RECOMP_FLAGS_IN(); 7455 L_2B05C4D0: 7456 ecx = MEM32(esi + 0x34); /* 0x2B05C4D0: mov ecx, dword ptr [esi + 0x34] */ 7457 /* test ecx, ecx */ /* 0x2B05C4D3: test ecx, ecx */ 7458 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7459 _cf = 0; 7460 _flag_k = FK_TEST; 7461 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4DD; /* 0x2B05C4D5: je 0x2b05c4dd */ 7462 L_2B05C4D7: 7463 eax = MEM32(ecx); /* 0x2B05C4D7: mov eax, dword ptr [ecx] */ 7464 PUSH32(esp, 1); /* 0x2B05C4D9: push 1 */ 7465 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C4DB: call dword ptr [eax] */ 7466 RECOMP_FLAGS_IN(); 7467 L_2B05C4DD: 7468 ecx = MEM32(esi + 0x40); /* 0x2B05C4DD: mov ecx, dword ptr [esi + 0x40] */ 7469 /* test ecx, ecx */ /* 0x2B05C4E0: test ecx, ecx */ 7470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7471 _cf = 0; 7472 _flag_k = FK_TEST; 7473 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4EA; /* 0x2B05C4E2: je 0x2b05c4ea */ 7474 L_2B05C4E4: 7475 edx = MEM32(ecx); /* 0x2B05C4E4: mov edx, dword ptr [ecx] */ 7476 PUSH32(esp, 1); /* 0x2B05C4E6: push 1 */ 7477 RECOMP_ICALL(MEM32(edx)); /* 0x2B05C4E8: call dword ptr [edx] */ 7478 RECOMP_FLAGS_IN(); 7479 L_2B05C4EA: 7480 ecx = MEM32(esi + 0x3C); /* 0x2B05C4EA: mov ecx, dword ptr [esi + 0x3c] */ 7481 /* test ecx, ecx */ /* 0x2B05C4ED: test ecx, ecx */ 7482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7483 _cf = 0; 7484 _flag_k = FK_TEST; 7485 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C4F7; /* 0x2B05C4EF: je 0x2b05c4f7 */ 7486 L_2B05C4F1: 7487 eax = MEM32(ecx); /* 0x2B05C4F1: mov eax, dword ptr [ecx] */ 7488 PUSH32(esp, 1); /* 0x2B05C4F3: push 1 */ 7489 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C4F5: call dword ptr [eax] */ 7490 RECOMP_FLAGS_IN(); 7491 L_2B05C4F7: 7492 ecx = MEM32(esi + 0x48); /* 0x2B05C4F7: mov ecx, dword ptr [esi + 0x48] */ 7493 /* test ecx, ecx */ /* 0x2B05C4FA: test ecx, ecx */ 7494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7495 _cf = 0; 7496 _flag_k = FK_TEST; 7497 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C504; /* 0x2B05C4FC: je 0x2b05c504 */ 7498 L_2B05C4FE: 7499 edx = MEM32(ecx); /* 0x2B05C4FE: mov edx, dword ptr [ecx] */ 7500 PUSH32(esp, 1); /* 0x2B05C500: push 1 */ 7501 RECOMP_ICALL(MEM32(edx)); /* 0x2B05C502: call dword ptr [edx] */ 7502 RECOMP_FLAGS_IN(); 7503 L_2B05C504: 7504 ecx = MEM32(esi + 0x44); /* 0x2B05C504: mov ecx, dword ptr [esi + 0x44] */ 7505 /* test ecx, ecx */ /* 0x2B05C507: test ecx, ecx */ 7506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7507 _cf = 0; 7508 _flag_k = FK_TEST; 7509 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C511; /* 0x2B05C509: je 0x2b05c511 */ 7510 L_2B05C50B: 7511 eax = MEM32(ecx); /* 0x2B05C50B: mov eax, dword ptr [ecx] */ 7512 PUSH32(esp, 1); /* 0x2B05C50D: push 1 */ 7513 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C50F: call dword ptr [eax] */ 7514 RECOMP_FLAGS_IN(); 7515 L_2B05C511: 7516 ecx = MEM32(esi + 0x4C); /* 0x2B05C511: mov ecx, dword ptr [esi + 0x4c] */ 7517 /* test ecx, ecx */ /* 0x2B05C514: test ecx, ecx */ 7518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7519 _cf = 0; 7520 _flag_k = FK_TEST; 7521 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C51E; /* 0x2B05C516: je 0x2b05c51e */ 7522 L_2B05C518: 7523 edx = MEM32(ecx); /* 0x2B05C518: mov edx, dword ptr [ecx] */ 7524 PUSH32(esp, 1); /* 0x2B05C51A: push 1 */ 7525 RECOMP_ICALL(MEM32(edx)); /* 0x2B05C51C: call dword ptr [edx] */ 7526 RECOMP_FLAGS_IN(); 7527 L_2B05C51E: 7528 ecx = MEM32(esi + 0x50); /* 0x2B05C51E: mov ecx, dword ptr [esi + 0x50] */ 7529 /* test ecx, ecx */ /* 0x2B05C521: test ecx, ecx */ 7530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7531 _cf = 0; 7532 _flag_k = FK_TEST; 7533 if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C52B; /* 0x2B05C523: je 0x2b05c52b */ 7534 L_2B05C525: 7535 eax = MEM32(ecx); /* 0x2B05C525: mov eax, dword ptr [ecx] */ 7536 PUSH32(esp, 1); /* 0x2B05C527: push 1 */ 7537 RECOMP_ICALL(MEM32(eax)); /* 0x2B05C529: call dword ptr [eax] */ 7538 RECOMP_FLAGS_IN(); 7539 L_2B05C52B: 7540 ecx = esi; /* 0x2B05C52B: mov ecx, esi */ 7541 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05C52D: mov dword ptr [ebp - 4], 0xffffffff */ 7542 RECOMP_ICALL(0x2B03A290u); /* 0x2B05C534: call 0x2b03a290 */ /* not lifted */ 7543 RECOMP_FLAGS_IN(); 7544 ecx = MEM32(ebp + (-0xC)); /* 0x2B05C539: mov ecx, dword ptr [ebp - 0xc] */ 7545 esi = POP32_VAL(esp); /* 0x2B05C53C: pop esi */ 7546 MEM32(FS_BASE + (0)) = ecx; /* 0x2B05C53D: mov dword ptr fs:[0], ecx */ 7547 esp = ebp; /* 0x2B05C544: mov esp, ebp */ 7548 ebp = POP32_VAL(esp); /* 0x2B05C546: pop ebp */ 7549 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C547: ret */ 7550 RECOMP_REGS_OUT(); 7551 } 7552 7553 void sub_2B05C550(void) { 7554 int _fpu_cmp = 0; 7555 uint32_t _cf = 0; 7556 int _df = 1; 7557 uint32_t _flag_k = FK_NONE; 7558 uint32_t _flag_a = 0, _flag_b = 0; 7559 uint32_t _itail_tgt = 0; 7560 RECOMP_REGS_LOCALS 7561 RECOMP_ENTER(0x2B05C550u); 7562 7563 L_2B05C550: 7564 PUSH32(esp, ebp); /* 0x2B05C550: push ebp */ 7565 ebp = esp; /* 0x2B05C551: mov ebp, esp */ 7566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7568 esp = esp - 8; /* 0x2B05C553: sub esp, 8 */ 7569 _flag_k = FK_CMP; 7570 PUSH32(esp, ebx); /* 0x2B05C556: push ebx */ 7571 PUSH32(esp, esi); /* 0x2B05C557: push esi */ 7572 esi = ecx; /* 0x2B05C558: mov esi, ecx */ 7573 ecx = MEM32(esi + 0x8); /* 0x2B05C55A: mov ecx, dword ptr [esi + 8] */ 7574 eax = MEM32(esi + 0x4); /* 0x2B05C55D: mov eax, dword ptr [esi + 4] */ 7575 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 7576 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7577 ecx = ecx + 0x14u; /* 0x2B05C560: add ecx, 0x14 */ 7578 _flag_k = FK_ADD; 7579 PUSH32(esp, edi); /* 0x2B05C563: push edi */ 7580 edx = ebp + (-0x8); /* 0x2B05C564: lea edx, [ebp - 8] */ 7581 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C567: mov dword ptr [ebp - 4], ecx */ 7582 ecx = MEM32(esi + 0x28); /* 0x2B05C56A: mov ecx, dword ptr [esi + 0x28] */ 7583 PUSH32(esp, edx); /* 0x2B05C56D: push edx */ 7584 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C56E: mov dword ptr [ebp - 8], eax */ 7585 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05C571: call dword ptr [0x2b0b5940] */ 7586 RECOMP_FLAGS_IN(); 7587 eax = MEM32(esi + 0x28); /* 0x2B05C577: mov eax, dword ptr [esi + 0x28] */ 7588 edi = MEM32(0x2B0B5924); /* 0x2B05C57A: mov edi, dword ptr [0x2b0b5924] */ 7589 SET_LO8(ebx, 1); /* 0x2B05C580: mov bl, 1 */ 7590 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C582: mov byte ptr [eax + 9], bl */ 7591 ecx = MEM32(esi + 0x8); /* 0x2B05C585: mov ecx, dword ptr [esi + 8] */ 7592 eax = MEM32(esi + 0x4); /* 0x2B05C588: mov eax, dword ptr [esi + 4] */ 7593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u); 7594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7595 ecx = ecx + 0x28u; /* 0x2B05C58B: add ecx, 0x28 */ 7596 _flag_k = FK_ADD; 7597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7598 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7599 eax = eax + 6; /* 0x2B05C58E: add eax, 6 */ 7600 _flag_k = FK_ADD; 7601 PUSH32(esp, ecx); /* 0x2B05C591: push ecx */ 7602 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C592: mov dword ptr [ebp - 4], ecx */ 7603 ecx = MEM32(esi + 0x2C); /* 0x2B05C595: mov ecx, dword ptr [esi + 0x2c] */ 7604 PUSH32(esp, eax); /* 0x2B05C598: push eax */ 7605 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C599: mov dword ptr [ebp - 8], eax */ 7606 RECOMP_ICALL(edi); /* 0x2B05C59C: call edi */ 7607 RECOMP_FLAGS_IN(); 7608 ecx = MEM32(esi + 0x2C); /* 0x2B05C59E: mov ecx, dword ptr [esi + 0x2c] */ 7609 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C5A1: mov byte ptr [ecx + 9], bl */ 7610 ecx = MEM32(esi + 0x8); /* 0x2B05C5A4: mov ecx, dword ptr [esi + 8] */ 7611 eax = MEM32(esi + 0x4); /* 0x2B05C5A7: mov eax, dword ptr [esi + 4] */ 7612 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x32u); 7613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7614 ecx = ecx + 0x32u; /* 0x2B05C5AA: add ecx, 0x32 */ 7615 _flag_k = FK_ADD; 7616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7617 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7618 eax = eax + 6; /* 0x2B05C5AD: add eax, 6 */ 7619 _flag_k = FK_ADD; 7620 PUSH32(esp, ecx); /* 0x2B05C5B0: push ecx */ 7621 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C5B1: mov dword ptr [ebp - 4], ecx */ 7622 ecx = MEM32(esi + 0x30); /* 0x2B05C5B4: mov ecx, dword ptr [esi + 0x30] */ 7623 PUSH32(esp, eax); /* 0x2B05C5B7: push eax */ 7624 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C5B8: mov dword ptr [ebp - 8], eax */ 7625 RECOMP_ICALL(edi); /* 0x2B05C5BB: call edi */ 7626 RECOMP_FLAGS_IN(); 7627 edx = MEM32(esi + 0x30); /* 0x2B05C5BD: mov edx, dword ptr [esi + 0x30] */ 7628 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C5C0: mov byte ptr [edx + 9], bl */ 7629 ecx = MEM32(esi + 0x8); /* 0x2B05C5C3: mov ecx, dword ptr [esi + 8] */ 7630 eax = MEM32(esi + 0x4); /* 0x2B05C5C6: mov eax, dword ptr [esi + 4] */ 7631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x64u); 7632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7633 ecx = ecx + 0x64u; /* 0x2B05C5C9: add ecx, 0x64 */ 7634 _flag_k = FK_ADD; 7635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7636 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7637 eax = eax + 6; /* 0x2B05C5CC: add eax, 6 */ 7638 _flag_k = FK_ADD; 7639 PUSH32(esp, ecx); /* 0x2B05C5CF: push ecx */ 7640 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C5D0: mov dword ptr [ebp - 4], ecx */ 7641 ecx = MEM32(esi + 0x34); /* 0x2B05C5D3: mov ecx, dword ptr [esi + 0x34] */ 7642 PUSH32(esp, eax); /* 0x2B05C5D6: push eax */ 7643 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C5D7: mov dword ptr [ebp - 8], eax */ 7644 RECOMP_ICALL(edi); /* 0x2B05C5DA: call edi */ 7645 RECOMP_FLAGS_IN(); 7646 eax = MEM32(esi + 0x34); /* 0x2B05C5DC: mov eax, dword ptr [esi + 0x34] */ 7647 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C5DF: mov byte ptr [eax + 9], bl */ 7648 ecx = MEM32(esi + 0x8); /* 0x2B05C5E2: mov ecx, dword ptr [esi + 8] */ 7649 eax = MEM32(esi + 0x4); /* 0x2B05C5E5: mov eax, dword ptr [esi + 4] */ 7650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x6Eu); 7651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7652 ecx = ecx + 0x6Eu; /* 0x2B05C5E8: add ecx, 0x6e */ 7653 _flag_k = FK_ADD; 7654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7655 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7656 eax = eax + 6; /* 0x2B05C5EB: add eax, 6 */ 7657 _flag_k = FK_ADD; 7658 PUSH32(esp, ecx); /* 0x2B05C5EE: push ecx */ 7659 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C5EF: mov dword ptr [ebp - 4], ecx */ 7660 ecx = MEM32(esi + 0x38); /* 0x2B05C5F2: mov ecx, dword ptr [esi + 0x38] */ 7661 PUSH32(esp, eax); /* 0x2B05C5F5: push eax */ 7662 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C5F6: mov dword ptr [ebp - 8], eax */ 7663 RECOMP_ICALL(edi); /* 0x2B05C5F9: call edi */ 7664 RECOMP_FLAGS_IN(); 7665 ecx = MEM32(esi + 0x38); /* 0x2B05C5FB: mov ecx, dword ptr [esi + 0x38] */ 7666 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C5FE: mov byte ptr [ecx + 9], bl */ 7667 ecx = MEM32(esi + 0x8); /* 0x2B05C601: mov ecx, dword ptr [esi + 8] */ 7668 eax = MEM32(esi + 0x4); /* 0x2B05C604: mov eax, dword ptr [esi + 4] */ 7669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x78u); 7670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7671 ecx = ecx + 0x78u; /* 0x2B05C607: add ecx, 0x78 */ 7672 _flag_k = FK_ADD; 7673 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7675 eax = eax + 6; /* 0x2B05C60A: add eax, 6 */ 7676 _flag_k = FK_ADD; 7677 PUSH32(esp, ecx); /* 0x2B05C60D: push ecx */ 7678 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C60E: mov dword ptr [ebp - 4], ecx */ 7679 ecx = MEM32(esi + 0x3C); /* 0x2B05C611: mov ecx, dword ptr [esi + 0x3c] */ 7680 PUSH32(esp, eax); /* 0x2B05C614: push eax */ 7681 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C615: mov dword ptr [ebp - 8], eax */ 7682 RECOMP_ICALL(edi); /* 0x2B05C618: call edi */ 7683 RECOMP_FLAGS_IN(); 7684 edx = MEM32(esi + 0x3C); /* 0x2B05C61A: mov edx, dword ptr [esi + 0x3c] */ 7685 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C61D: mov byte ptr [edx + 9], bl */ 7686 eax = MEM32(esi + 0x4); /* 0x2B05C620: mov eax, dword ptr [esi + 4] */ 7687 ecx = MEM32(esi + 0x8); /* 0x2B05C623: mov ecx, dword ptr [esi + 8] */ 7688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7690 eax = eax + 6; /* 0x2B05C626: add eax, 6 */ 7691 _flag_k = FK_ADD; 7692 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C629: mov dword ptr [ebp - 8], eax */ 7693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x82u); 7694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7695 ecx = ecx + 0x82u; /* 0x2B05C62C: add ecx, 0x82 */ 7696 _flag_k = FK_ADD; 7697 PUSH32(esp, ecx); /* 0x2B05C632: push ecx */ 7698 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C633: mov dword ptr [ebp - 4], ecx */ 7699 ecx = MEM32(esi + 0x40); /* 0x2B05C636: mov ecx, dword ptr [esi + 0x40] */ 7700 PUSH32(esp, eax); /* 0x2B05C639: push eax */ 7701 RECOMP_ICALL(edi); /* 0x2B05C63A: call edi */ 7702 RECOMP_FLAGS_IN(); 7703 eax = MEM32(esi + 0x40); /* 0x2B05C63C: mov eax, dword ptr [esi + 0x40] */ 7704 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C63F: mov byte ptr [eax + 9], bl */ 7705 ecx = MEM32(esi + 0x8); /* 0x2B05C642: mov ecx, dword ptr [esi + 8] */ 7706 eax = MEM32(esi + 0x4); /* 0x2B05C645: mov eax, dword ptr [esi + 4] */ 7707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x8Cu); 7708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7709 ecx = ecx + 0x8Cu; /* 0x2B05C648: add ecx, 0x8c */ 7710 _flag_k = FK_ADD; 7711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7713 eax = eax + 6; /* 0x2B05C64E: add eax, 6 */ 7714 _flag_k = FK_ADD; 7715 PUSH32(esp, ecx); /* 0x2B05C651: push ecx */ 7716 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C652: mov dword ptr [ebp - 4], ecx */ 7717 ecx = MEM32(esi + 0x44); /* 0x2B05C655: mov ecx, dword ptr [esi + 0x44] */ 7718 PUSH32(esp, eax); /* 0x2B05C658: push eax */ 7719 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C659: mov dword ptr [ebp - 8], eax */ 7720 RECOMP_ICALL(edi); /* 0x2B05C65C: call edi */ 7721 RECOMP_FLAGS_IN(); 7722 ecx = MEM32(esi + 0x44); /* 0x2B05C65E: mov ecx, dword ptr [esi + 0x44] */ 7723 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C661: mov byte ptr [ecx + 9], bl */ 7724 ecx = MEM32(esi + 0x8); /* 0x2B05C664: mov ecx, dword ptr [esi + 8] */ 7725 eax = MEM32(esi + 0x4); /* 0x2B05C667: mov eax, dword ptr [esi + 4] */ 7726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x96u); 7727 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7728 ecx = ecx + 0x96u; /* 0x2B05C66A: add ecx, 0x96 */ 7729 _flag_k = FK_ADD; 7730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7731 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7732 eax = eax + 6; /* 0x2B05C670: add eax, 6 */ 7733 _flag_k = FK_ADD; 7734 PUSH32(esp, ecx); /* 0x2B05C673: push ecx */ 7735 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C674: mov dword ptr [ebp - 4], ecx */ 7736 ecx = MEM32(esi + 0x48); /* 0x2B05C677: mov ecx, dword ptr [esi + 0x48] */ 7737 PUSH32(esp, eax); /* 0x2B05C67A: push eax */ 7738 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C67B: mov dword ptr [ebp - 8], eax */ 7739 RECOMP_ICALL(edi); /* 0x2B05C67E: call edi */ 7740 RECOMP_FLAGS_IN(); 7741 edx = MEM32(esi + 0x48); /* 0x2B05C680: mov edx, dword ptr [esi + 0x48] */ 7742 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C683: mov byte ptr [edx + 9], bl */ 7743 ecx = MEM32(esi + 0x8); /* 0x2B05C686: mov ecx, dword ptr [esi + 8] */ 7744 eax = MEM32(esi + 0x4); /* 0x2B05C689: mov eax, dword ptr [esi + 4] */ 7745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 7746 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7747 ecx = ecx + 0x3Cu; /* 0x2B05C68C: add ecx, 0x3c */ 7748 _flag_k = FK_ADD; 7749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7750 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7751 eax = eax + 6; /* 0x2B05C68F: add eax, 6 */ 7752 _flag_k = FK_ADD; 7753 PUSH32(esp, ecx); /* 0x2B05C692: push ecx */ 7754 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C693: mov dword ptr [ebp - 4], ecx */ 7755 ecx = MEM32(esi + 0x4C); /* 0x2B05C696: mov ecx, dword ptr [esi + 0x4c] */ 7756 PUSH32(esp, eax); /* 0x2B05C699: push eax */ 7757 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C69A: mov dword ptr [ebp - 8], eax */ 7758 RECOMP_ICALL(edi); /* 0x2B05C69D: call edi */ 7759 RECOMP_FLAGS_IN(); 7760 eax = MEM32(esi + 0x4C); /* 0x2B05C69F: mov eax, dword ptr [esi + 0x4c] */ 7761 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C6A2: mov byte ptr [eax + 9], bl */ 7762 ecx = MEM32(esi + 0x8); /* 0x2B05C6A5: mov ecx, dword ptr [esi + 8] */ 7763 eax = MEM32(esi + 0x4); /* 0x2B05C6A8: mov eax, dword ptr [esi + 4] */ 7764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u); 7765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7766 ecx = ecx + 0x50u; /* 0x2B05C6AB: add ecx, 0x50 */ 7767 _flag_k = FK_ADD; 7768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7769 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7770 eax = eax + 6; /* 0x2B05C6AE: add eax, 6 */ 7771 _flag_k = FK_ADD; 7772 PUSH32(esp, ecx); /* 0x2B05C6B1: push ecx */ 7773 MEM32(ebp + (-0x4)) = ecx; /* 0x2B05C6B2: mov dword ptr [ebp - 4], ecx */ 7774 ecx = MEM32(esi + 0x50); /* 0x2B05C6B5: mov ecx, dword ptr [esi + 0x50] */ 7775 PUSH32(esp, eax); /* 0x2B05C6B8: push eax */ 7776 MEM32(ebp + (-0x8)) = eax; /* 0x2B05C6B9: mov dword ptr [ebp - 8], eax */ 7777 RECOMP_ICALL(edi); /* 0x2B05C6BC: call edi */ 7778 RECOMP_FLAGS_IN(); 7779 ecx = MEM32(esi + 0x50); /* 0x2B05C6BE: mov ecx, dword ptr [esi + 0x50] */ 7780 edi = POP32_VAL(esp); /* 0x2B05C6C1: pop edi */ 7781 esi = POP32_VAL(esp); /* 0x2B05C6C2: pop esi */ 7782 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B05C6C3: mov byte ptr [ecx + 9], bl */ 7783 ebx = POP32_VAL(esp); /* 0x2B05C6C6: pop ebx */ 7784 esp = ebp; /* 0x2B05C6C7: mov esp, ebp */ 7785 ebp = POP32_VAL(esp); /* 0x2B05C6C9: pop ebp */ 7786 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C6CA: ret */ 7787 RECOMP_REGS_OUT(); 7788 }