client/game/bbr.dll/lifted-0069.c (1300637B)
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_25112170(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(0x25112170u); 17 18 L_25112170: 19 PUSH32(esp, ebp); /* 0x25112170: push ebp */ 20 ebp = esp; /* 0x25112171: mov ebp, esp */ 21 PUSH32(esp, 0xFFFFFFFFu); /* 0x25112173: push -1 */ 22 PUSH32(esp, 0x2514D9D9u); /* 0x25112175: push 0x2514d9d9 */ 23 eax = MEM32(FS_BASE + (0)); /* 0x2511217A: mov eax, dword ptr fs:[0] */ 24 PUSH32(esp, eax); /* 0x25112180: push eax */ 25 MEM32(FS_BASE + (0)) = esp; /* 0x25112181: mov dword ptr fs:[0], esp */ 26 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 27 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28 esp = esp - 0x18u; /* 0x25112188: sub esp, 0x18 */ 29 _flag_k = FK_CMP; 30 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2511218B: mov al, byte ptr [ebp + 0xb] */ 31 PUSH32(esp, ebx); /* 0x2511218E: push ebx */ 32 PUSH32(esp, esi); /* 0x2511218F: push esi */ 33 PUSH32(esp, edi); /* 0x25112190: push edi */ 34 esi = ecx; /* 0x25112191: mov esi, ecx */ 35 PUSH32(esp, 0); /* 0x25112193: push 0 */ 36 ecx = ebp + (-0x24); /* 0x25112195: lea ecx, [ebp - 0x24] */ 37 MEM32(ebp + (-0x10)) = esi; /* 0x25112198: mov dword ptr [ebp - 0x10], esi */ 38 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2511219B: mov byte ptr [ebp - 0x24], al */ 39 RECOMP_ICALL(MEM32(0x25151208)); /* 0x2511219E: call dword ptr [0x25151208] */ 40 RECOMP_FLAGS_IN(); 41 edi = MEM32(ebp + 0x8); /* 0x251121A4: mov edi, dword ptr [ebp + 8] */ 42 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 43 ecx = ecx | 0xFFFFFFFFu; /* 0x251121A7: or ecx, 0xffffffff */ 44 _cf = 0; 45 _flag_k = FK_TEST; 46 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 47 eax = 0; /* 0x251121AA: xor eax, eax */ 48 _cf = 0; 49 _flag_k = FK_TEST; 50 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; } /* 0x251121AC: repne scasb al, byte ptr es:[edi] */ 51 ecx = ~ecx; /* 0x251121AE: not ecx */ 52 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 53 ecx = ecx - 1; /* 0x251121B0: dec ecx */ 54 _flag_k = FK_DEC; 55 ebx = ecx; /* 0x251121B1: mov ebx, ecx */ 56 PUSH32(esp, 1); /* 0x251121B3: push 1 */ 57 PUSH32(esp, ebx); /* 0x251121B5: push ebx */ 58 ecx = ebp + (-0x24); /* 0x251121B6: lea ecx, [ebp - 0x24] */ 59 RECOMP_ICALL(MEM32(0x25151184)); /* 0x251121B9: call dword ptr [0x25151184] */ 60 RECOMP_FLAGS_IN(); 61 /* test LO8(eax), LO8(eax) */ /* 0x251121BF: test al, al */ 62 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 63 _cf = 0; 64 _flag_k = FK_NARROW(FK_TEST, 24); 65 if (TEST_Z(_flag_a, _flag_b)) goto L_251121E6; /* 0x251121C1: je 0x251121e6 */ 66 L_251121C3: 67 edi = MEM32(ebp + (-0x20)); /* 0x251121C3: mov edi, dword ptr [ebp - 0x20] */ 68 esi = MEM32(ebp + 0x8); /* 0x251121C6: mov esi, dword ptr [ebp + 8] */ 69 ecx = ebx; /* 0x251121C9: mov ecx, ebx */ 70 edx = ecx; /* 0x251121CB: mov edx, ecx */ 71 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x251121CD: shr ecx, 2 */ 72 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 73 ecx = ecx >> 2u; /* 0x251121CD: shr ecx, 2 */ 74 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x251121D0: 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; } 75 ecx = edx; /* 0x251121D2: mov ecx, edx */ 76 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 77 ecx = ecx & 3; /* 0x251121D4: and ecx, 3 */ 78 _cf = 0; 79 _flag_k = FK_TEST; 80 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x251121D7: 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; } 81 eax = MEM32(ebp + (-0x20)); /* 0x251121D9: mov eax, dword ptr [ebp - 0x20] */ 82 esi = MEM32(ebp + (-0x10)); /* 0x251121DC: mov esi, dword ptr [ebp - 0x10] */ 83 MEM32(ebp + (-0x1C)) = ebx; /* 0x251121DF: mov dword ptr [ebp - 0x1c], ebx */ 84 MEM8(eax + ebx) = (uint8_t)(0); /* 0x251121E2: mov byte ptr [eax + ebx], 0 */ 85 L_251121E6: 86 ecx = ebp + (-0x24); /* 0x251121E6: lea ecx, [ebp - 0x24] */ 87 PUSH32(esp, ecx); /* 0x251121E9: push ecx */ 88 edx = ebp + (-0x14); /* 0x251121EA: lea edx, [ebp - 0x14] */ 89 ebx = esi + 0x238; /* 0x251121ED: lea ebx, [esi + 0x238] */ 90 PUSH32(esp, edx); /* 0x251121F3: push edx */ 91 ecx = ebx; /* 0x251121F4: mov ecx, ebx */ 92 MEM32(ebp + (-0x4)) = 0; /* 0x251121F6: mov dword ptr [ebp - 4], 0 */ 93 RECOMP_ICALL(0x250EC6A0u); /* 0x251121FD: call 0x250ec6a0 */ /* not lifted */ 94 RECOMP_FLAGS_IN(); 95 eax = MEM32(eax); /* 0x25112202: mov eax, dword ptr [eax] */ 96 /* cmp eax, MEM32(ebx + 0x4) */ /* 0x25112204: cmp eax, dword ptr [ebx + 4] */ 97 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 98 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 99 _flag_k = FK_CMP; 100 MEM32(ebp + 0x8) = eax; /* 0x25112207: mov dword ptr [ebp + 8], eax */ 101 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112226; /* 0x2511220A: je 0x25112226 */ 102 L_2511220C: 103 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 104 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 105 eax = eax + 0xCu; /* 0x2511220C: add eax, 0xc */ 106 _flag_k = FK_ADD; 107 PUSH32(esp, eax); /* 0x2511220F: push eax */ 108 eax = ebp + (-0x24); /* 0x25112210: lea eax, [ebp - 0x24] */ 109 PUSH32(esp, eax); /* 0x25112213: push eax */ 110 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25112214: call dword ptr [0x251511cc] */ 111 RECOMP_FLAGS_IN(); 112 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 114 esp = esp + 8; /* 0x2511221A: add esp, 8 */ 115 _flag_k = FK_ADD; 116 /* test LO8(eax), LO8(eax) */ /* 0x2511221D: test al, al */ 117 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 118 _cf = 0; 119 _flag_k = FK_NARROW(FK_TEST, 24); 120 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112226; /* 0x2511221F: jne 0x25112226 */ 121 L_25112221: 122 eax = ebp + 0x8; /* 0x25112221: lea eax, [ebp + 8] */ 123 goto L_2511222F; /* 0x25112224: jmp 0x2511222f */ 124 L_25112226: 125 eax = MEM32(ebx + 0x4); /* 0x25112226: mov eax, dword ptr [ebx + 4] */ 126 MEM32(ebp + (-0x10)) = eax; /* 0x25112229: mov dword ptr [ebp - 0x10], eax */ 127 eax = ebp + (-0x10); /* 0x2511222C: lea eax, [ebp - 0x10] */ 128 L_2511222F: 129 edi = MEM32(eax); /* 0x2511222F: mov edi, dword ptr [eax] */ 130 PUSH32(esp, 1); /* 0x25112231: push 1 */ 131 ecx = ebp + (-0x24); /* 0x25112233: lea ecx, [ebp - 0x24] */ 132 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25112236: mov dword ptr [ebp - 4], 0xffffffff */ 133 RECOMP_ICALL(MEM32(0x25151208)); /* 0x2511223D: call dword ptr [0x25151208] */ 134 RECOMP_FLAGS_IN(); 135 /* cmp edi, MEM32(esi + 0x23C) */ /* 0x25112243: cmp edi, dword ptr [esi + 0x23c] */ 136 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x23C)); 137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 138 _flag_k = FK_CMP; 139 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511225F; /* 0x25112249: je 0x2511225f */ 140 L_2511224B: 141 ecx = MEM32(edi + 0x1C); /* 0x2511224B: mov ecx, dword ptr [edi + 0x1c] */ 142 RECOMP_ICALL(0x250E6370u); /* 0x2511224E: call 0x250e6370 */ /* not lifted */ 143 RECOMP_FLAGS_IN(); 144 PUSH32(esp, edi); /* 0x25112253: push edi */ 145 ecx = ebp + 0x8; /* 0x25112254: lea ecx, [ebp + 8] */ 146 PUSH32(esp, ecx); /* 0x25112257: push ecx */ 147 ecx = ebx; /* 0x25112258: mov ecx, ebx */ 148 RECOMP_ICALL(0x25114760u); /* 0x2511225A: call 0x25114760 */ /* not lifted */ 149 RECOMP_FLAGS_IN(); 150 L_2511225F: 151 ecx = MEM32(ebp + (-0xC)); /* 0x2511225F: mov ecx, dword ptr [ebp - 0xc] */ 152 edi = POP32_VAL(esp); /* 0x25112262: pop edi */ 153 esi = POP32_VAL(esp); /* 0x25112263: pop esi */ 154 ebx = POP32_VAL(esp); /* 0x25112264: pop ebx */ 155 MEM32(FS_BASE + (0)) = ecx; /* 0x25112265: mov dword ptr fs:[0], ecx */ 156 esp = ebp; /* 0x2511226C: mov esp, ebp */ 157 ebp = POP32_VAL(esp); /* 0x2511226E: pop ebp */ 158 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511226F: ret 4 */ 159 RECOMP_REGS_OUT(); 160 } 161 162 void sub_25112280(void) { 163 int _fpu_cmp = 0; 164 uint32_t _cf = 0; 165 int _df = 1; 166 uint32_t _flag_k = FK_NONE; 167 uint32_t _flag_a = 0, _flag_b = 0; 168 uint32_t _itail_tgt = 0; 169 RECOMP_REGS_LOCALS 170 RECOMP_ENTER(0x25112280u); 171 172 L_25112280: 173 PUSH32(esp, ebp); /* 0x25112280: push ebp */ 174 ebp = esp; /* 0x25112281: mov ebp, esp */ 175 eax = MEM32(ecx + 0x4); /* 0x25112283: mov eax, dword ptr [ecx + 4] */ 176 edx = MEM32(eax + 0x34); /* 0x25112286: mov edx, dword ptr [eax + 0x34] */ 177 eax = MEM32(ebp + 0x8); /* 0x25112289: mov eax, dword ptr [ebp + 8] */ 178 eax = MEM32(edx + eax * 4); /* 0x2511228C: mov eax, dword ptr [edx + eax*4] */ 179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 181 eax = eax + 8; /* 0x2511228F: add eax, 8 */ 182 _flag_k = FK_ADD; 183 eax = MEM32(eax + 0x4); /* 0x25112292: mov eax, dword ptr [eax + 4] */ 184 /* test eax, eax */ /* 0x25112295: test eax, eax */ 185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 186 _cf = 0; 187 _flag_k = FK_TEST; 188 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511229E; /* 0x25112297: jne 0x2511229e */ 189 L_25112299: 190 eax = MEM32(0x251511E4); /* 0x25112299: mov eax, dword ptr [0x251511e4] */ 191 L_2511229E: 192 edx = MEM32(ebp + 0xC); /* 0x2511229E: mov edx, dword ptr [ebp + 0xc] */ 193 PUSH32(esp, edx); /* 0x251122A1: push edx */ 194 PUSH32(esp, eax); /* 0x251122A2: push eax */ 195 RECOMP_ICALL(0x251122B0u); /* 0x251122A3: call 0x251122b0 */ /* not lifted */ 196 RECOMP_FLAGS_IN(); 197 ebp = POP32_VAL(esp); /* 0x251122A8: pop ebp */ 198 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251122A9: ret 8 */ 199 RECOMP_REGS_OUT(); 200 } 201 202 void sub_251122B0(void) { 203 int _fpu_cmp = 0; 204 uint32_t _cf = 0; 205 int _df = 1; 206 uint32_t _flag_k = FK_NONE; 207 uint32_t _flag_a = 0, _flag_b = 0; 208 uint32_t _itail_tgt = 0; 209 RECOMP_REGS_LOCALS 210 RECOMP_ENTER(0x251122B0u); 211 212 L_251122B0: 213 PUSH32(esp, ebp); /* 0x251122B0: push ebp */ 214 ebp = esp; /* 0x251122B1: mov ebp, esp */ 215 PUSH32(esp, 0xFFFFFFFFu); /* 0x251122B3: push -1 */ 216 PUSH32(esp, 0x2514DA0Au); /* 0x251122B5: push 0x2514da0a */ 217 eax = MEM32(FS_BASE + (0)); /* 0x251122BA: mov eax, dword ptr fs:[0] */ 218 PUSH32(esp, eax); /* 0x251122C0: push eax */ 219 MEM32(FS_BASE + (0)) = esp; /* 0x251122C1: mov dword ptr fs:[0], esp */ 220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 222 esp = esp - 0x58u; /* 0x251122C8: sub esp, 0x58 */ 223 _flag_k = FK_CMP; 224 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x251122CB: mov al, byte ptr [ebp + 0xb] */ 225 PUSH32(esp, ebx); /* 0x251122CE: push ebx */ 226 PUSH32(esp, esi); /* 0x251122CF: push esi */ 227 PUSH32(esp, edi); /* 0x251122D0: push edi */ 228 esi = ecx; /* 0x251122D1: mov esi, ecx */ 229 PUSH32(esp, 0); /* 0x251122D3: push 0 */ 230 ecx = ebp + (-0x50); /* 0x251122D5: lea ecx, [ebp - 0x50] */ 231 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x251122D8: mov byte ptr [ebp - 0x50], al */ 232 RECOMP_ICALL(MEM32(0x25151208)); /* 0x251122DB: call dword ptr [0x25151208] */ 233 RECOMP_FLAGS_IN(); 234 edx = MEM32(ebp + 0x8); /* 0x251122E1: mov edx, dword ptr [ebp + 8] */ 235 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 236 ecx = ecx | 0xFFFFFFFFu; /* 0x251122E4: or ecx, 0xffffffff */ 237 _cf = 0; 238 _flag_k = FK_TEST; 239 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 240 eax = 0; /* 0x251122E7: xor eax, eax */ 241 _cf = 0; 242 _flag_k = FK_TEST; 243 edi = edx; /* 0x251122E9: mov edi, edx */ 244 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; } /* 0x251122EB: repne scasb al, byte ptr es:[edi] */ 245 ecx = ~ecx; /* 0x251122ED: not ecx */ 246 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 247 ecx = ecx - 1; /* 0x251122EF: dec ecx */ 248 _flag_k = FK_DEC; 249 PUSH32(esp, ecx); /* 0x251122F0: push ecx */ 250 PUSH32(esp, edx); /* 0x251122F1: push edx */ 251 ecx = ebp + (-0x50); /* 0x251122F2: lea ecx, [ebp - 0x50] */ 252 RECOMP_ICALL(MEM32(0x2515120C)); /* 0x251122F5: call dword ptr [0x2515120c] */ 253 RECOMP_FLAGS_IN(); 254 ecx = ebp + (-0x50); /* 0x251122FB: lea ecx, [ebp - 0x50] */ 255 PUSH32(esp, ecx); /* 0x251122FE: push ecx */ 256 ebx = esi + 0x238; /* 0x251122FF: lea ebx, [esi + 0x238] */ 257 edx = ebp + (-0x20); /* 0x25112305: lea edx, [ebp - 0x20] */ 258 PUSH32(esp, edx); /* 0x25112308: push edx */ 259 ecx = ebx; /* 0x25112309: mov ecx, ebx */ 260 MEM32(ebp + (-0x4)) = 0; /* 0x2511230B: mov dword ptr [ebp - 4], 0 */ 261 MEM32(ebp + (-0x24)) = ebx; /* 0x25112312: mov dword ptr [ebp - 0x24], ebx */ 262 RECOMP_ICALL(0x25114BE0u); /* 0x25112315: call 0x25114be0 */ /* not lifted */ 263 RECOMP_FLAGS_IN(); 264 edi = MEM32(eax); /* 0x2511231A: mov edi, dword ptr [eax] */ 265 PUSH32(esp, 1); /* 0x2511231C: push 1 */ 266 ecx = ebp + (-0x50); /* 0x2511231E: lea ecx, [ebp - 0x50] */ 267 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25112321: mov dword ptr [ebp - 4], 0xffffffff */ 268 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112328: call dword ptr [0x25151208] */ 269 RECOMP_FLAGS_IN(); 270 /* cmp edi, MEM32(esi + 0x23C) */ /* 0x2511232E: cmp edi, dword ptr [esi + 0x23c] */ 271 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x23C)); 272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 273 _flag_k = FK_CMP; 274 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511234A; /* 0x25112334: je 0x2511234a */ 275 L_25112336: 276 ecx = MEM32(edi + 0x1C); /* 0x25112336: mov ecx, dword ptr [edi + 0x1c] */ 277 RECOMP_ICALL(0x250E6370u); /* 0x25112339: call 0x250e6370 */ /* not lifted */ 278 RECOMP_FLAGS_IN(); 279 PUSH32(esp, edi); /* 0x2511233E: push edi */ 280 eax = ebp + (-0x20); /* 0x2511233F: lea eax, [ebp - 0x20] */ 281 PUSH32(esp, eax); /* 0x25112342: push eax */ 282 ecx = ebx; /* 0x25112343: mov ecx, ebx */ 283 RECOMP_ICALL(0x25114760u); /* 0x25112345: call 0x25114760 */ /* not lifted */ 284 RECOMP_FLAGS_IN(); 285 L_2511234A: 286 eax = MEM32(ebp + 0xC); /* 0x2511234A: mov eax, dword ptr [ebp + 0xc] */ 287 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 288 ebx = 0; /* 0x2511234D: xor ebx, ebx */ 289 _cf = 0; 290 _flag_k = FK_TEST; 291 /* cmp eax, ebx */ /* 0x2511234F: cmp eax, ebx */ 292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 294 _flag_k = FK_CMP; 295 if (CMP_EQ(_flag_a, _flag_b)) goto L_251124E3; /* 0x25112351: je 0x251124e3 */ 296 L_25112357: 297 esi = MEM32(esi + 0x4); /* 0x25112357: mov esi, dword ptr [esi + 4] */ 298 ecx = MEM32(esi + 0x30); /* 0x2511235A: mov ecx, dword ptr [esi + 0x30] */ 299 /* cmp ecx, ebx */ /* 0x2511235D: cmp ecx, ebx */ 300 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 302 _flag_k = FK_CMP; 303 MEM32(ebp + (-0x10)) = ebx; /* 0x2511235F: mov dword ptr [ebp - 0x10], ebx */ 304 MEM32(ebp + (-0x18)) = ecx; /* 0x25112362: mov dword ptr [ebp - 0x18], ecx */ 305 if (CMP_LE(_flag_a, _flag_b)) goto L_251124E3; /* 0x25112365: jle 0x251124e3 */ 306 L_2511236B: 307 edx = MEM32(esi + 0x34); /* 0x2511236B: mov edx, dword ptr [esi + 0x34] */ 308 edi = MEM32(0x251511E4); /* 0x2511236E: mov edi, dword ptr [0x251511e4] */ 309 L_25112374: 310 esi = MEM32(edx); /* 0x25112374: mov esi, dword ptr [edx] */ 311 eax = MEM32(esi + 0xC); /* 0x25112376: mov eax, dword ptr [esi + 0xc] */ 312 /* cmp eax, ebx */ /* 0x25112379: cmp eax, ebx */ 313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 315 _flag_k = FK_CMP; 316 MEM32(ebp + (-0x20)) = esi; /* 0x2511237B: mov dword ptr [ebp - 0x20], esi */ 317 if (CMP_NE(_flag_a, _flag_b)) goto L_25112386; /* 0x2511237E: jne 0x25112386 */ 318 L_25112380: 319 eax = edi; /* 0x25112380: mov eax, edi */ 320 /* cmp eax, ebx */ /* 0x25112382: cmp eax, ebx */ 321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 323 _flag_k = FK_CMP; 324 if (CMP_EQ(_flag_a, _flag_b)) goto L_251123CA; /* 0x25112384: je 0x251123ca */ 325 L_25112386: 326 eax = MEM32(esi + 0xC); /* 0x25112386: mov eax, dword ptr [esi + 0xc] */ 327 /* cmp eax, ebx */ /* 0x25112389: cmp eax, ebx */ 328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 330 _flag_k = FK_CMP; 331 if (CMP_NE(_flag_a, _flag_b)) goto L_2511238F; /* 0x2511238B: jne 0x2511238f */ 332 L_2511238D: 333 eax = edi; /* 0x2511238D: mov eax, edi */ 334 L_2511238F: 335 edi = MEM32(ebp + 0xC); /* 0x2511238F: mov edi, dword ptr [ebp + 0xc] */ 336 L_25112392: 337 SET_LO8(ebx, MEM8(eax)); /* 0x25112392: mov bl, byte ptr [eax] */ 338 SET_LO8(ecx, LO8(ebx)); /* 0x25112394: mov cl, bl */ 339 /* cmp LO8(ebx), MEM8(edi) */ /* 0x25112396: cmp bl, byte ptr [edi] */ 340 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(MEM8(edi)) << 24; 341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 342 _flag_k = FK_NARROW(FK_CMP, 24); 343 if (CMP_NE(_flag_a, _flag_b)) goto L_251123B6; /* 0x25112398: jne 0x251123b6 */ 344 L_2511239A: 345 /* test LO8(ecx), LO8(ecx) */ /* 0x2511239A: test cl, cl */ 346 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 347 _cf = 0; 348 _flag_k = FK_NARROW(FK_TEST, 24); 349 if (TEST_Z(_flag_a, _flag_b)) goto L_251123B2; /* 0x2511239C: je 0x251123b2 */ 350 L_2511239E: 351 SET_LO8(ebx, MEM8(eax + 0x1)); /* 0x2511239E: mov bl, byte ptr [eax + 1] */ 352 SET_LO8(ecx, LO8(ebx)); /* 0x251123A1: mov cl, bl */ 353 /* cmp LO8(ebx), MEM8(edi + 0x1) */ /* 0x251123A3: cmp bl, byte ptr [edi + 1] */ 354 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(MEM8(edi + 0x1)) << 24; 355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 356 _flag_k = FK_NARROW(FK_CMP, 24); 357 if (CMP_NE(_flag_a, _flag_b)) goto L_251123B6; /* 0x251123A6: jne 0x251123b6 */ 358 L_251123A8: 359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 361 eax = eax + 2; /* 0x251123A8: add eax, 2 */ 362 _flag_k = FK_ADD; 363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 365 edi = edi + 2; /* 0x251123AB: add edi, 2 */ 366 _flag_k = FK_ADD; 367 /* test LO8(ecx), LO8(ecx) */ /* 0x251123AE: test cl, cl */ 368 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 369 _cf = 0; 370 _flag_k = FK_NARROW(FK_TEST, 24); 371 RECOMP_BACKEDGE(); 372 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112392; /* 0x251123B0: jne 0x25112392 */ 373 L_251123B2: 374 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 375 eax = 0; /* 0x251123B2: xor eax, eax */ 376 _cf = 0; 377 _flag_k = FK_TEST; 378 goto L_251123BB; /* 0x251123B4: jmp 0x251123bb */ 379 L_251123B6: 380 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x251123B6: sbb eax, eax */ 381 eax = _sc ? 0xFFFFFFFFu : 0; 382 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 383 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 384 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x251123B8: sbb eax, -1 */ 385 eax = _sa - _sb - _sc; 386 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 387 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 388 L_251123BB: 389 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 390 ebx = 0; /* 0x251123BB: xor ebx, ebx */ 391 _cf = 0; 392 _flag_k = FK_TEST; 393 /* cmp eax, ebx */ /* 0x251123BD: cmp eax, ebx */ 394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 396 _flag_k = FK_CMP; 397 if (CMP_EQ(_flag_a, _flag_b)) goto L_251123EB; /* 0x251123BF: je 0x251123eb */ 398 L_251123C1: 399 ecx = MEM32(ebp + (-0x18)); /* 0x251123C1: mov ecx, dword ptr [ebp - 0x18] */ 400 edi = MEM32(0x251511E4); /* 0x251123C4: mov edi, dword ptr [0x251511e4] */ 401 L_251123CA: 402 eax = MEM32(ebp + (-0x10)); /* 0x251123CA: mov eax, dword ptr [ebp - 0x10] */ 403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 404 eax = eax + 1; /* 0x251123CD: inc eax */ 405 _flag_k = FK_INC; 406 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 408 edx = edx + 4; /* 0x251123CE: add edx, 4 */ 409 _flag_k = FK_ADD; 410 /* cmp eax, ecx */ /* 0x251123D1: cmp eax, ecx */ 411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 413 _flag_k = FK_CMP; 414 MEM32(ebp + (-0x10)) = eax; /* 0x251123D3: mov dword ptr [ebp - 0x10], eax */ 415 RECOMP_BACKEDGE(); 416 if (CMP_L(_flag_a, _flag_b)) goto L_25112374; /* 0x251123D6: jl 0x25112374 */ 417 L_251123D8: 418 edi = POP32_VAL(esp); /* 0x251123D8: pop edi */ 419 esi = POP32_VAL(esp); /* 0x251123D9: pop esi */ 420 ebx = POP32_VAL(esp); /* 0x251123DA: pop ebx */ 421 ecx = MEM32(ebp + (-0xC)); /* 0x251123DB: mov ecx, dword ptr [ebp - 0xc] */ 422 MEM32(FS_BASE + (0)) = ecx; /* 0x251123DE: mov dword ptr fs:[0], ecx */ 423 esp = ebp; /* 0x251123E5: mov esp, ebp */ 424 ebp = POP32_VAL(esp); /* 0x251123E7: pop ebp */ 425 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251123E8: ret 8 */ 426 L_251123EB: 427 /* cmp esi, ebx */ /* 0x251123EB: cmp esi, ebx */ 428 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 430 _flag_k = FK_CMP; 431 if (CMP_EQ(_flag_a, _flag_b)) goto L_251124E3; /* 0x251123ED: je 0x251124e3 */ 432 L_251123F3: 433 ecx = esi; /* 0x251123F3: mov ecx, esi */ 434 RECOMP_ICALL(0x250E6360u); /* 0x251123F5: call 0x250e6360 */ /* not lifted */ 435 RECOMP_FLAGS_IN(); 436 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x251123FA: mov cl, byte ptr [ebp + 0xb] */ 437 edi = MEM32(ebp + 0x8); /* 0x251123FD: mov edi, dword ptr [ebp + 8] */ 438 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(ecx)); /* 0x25112400: mov byte ptr [ebp - 0x40], cl */ 439 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 440 eax = 0; /* 0x25112403: xor eax, eax */ 441 _cf = 0; 442 _flag_k = FK_TEST; 443 MEM32(ebp + (-0x3C)) = ebx; /* 0x25112405: mov dword ptr [ebp - 0x3c], ebx */ 444 MEM32(ebp + (-0x38)) = ebx; /* 0x25112408: mov dword ptr [ebp - 0x38], ebx */ 445 MEM32(ebp + (-0x34)) = ebx; /* 0x2511240B: mov dword ptr [ebp - 0x34], ebx */ 446 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 447 ecx = ecx | 0xFFFFFFFFu; /* 0x2511240E: or ecx, 0xffffffff */ 448 _cf = 0; 449 _flag_k = FK_TEST; 450 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; } /* 0x25112411: repne scasb al, byte ptr es:[edi] */ 451 ecx = ~ecx; /* 0x25112413: not ecx */ 452 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 453 ecx = ecx - 1; /* 0x25112415: dec ecx */ 454 _flag_k = FK_DEC; 455 ebx = ecx; /* 0x25112416: mov ebx, ecx */ 456 PUSH32(esp, 1); /* 0x25112418: push 1 */ 457 PUSH32(esp, ebx); /* 0x2511241A: push ebx */ 458 ecx = ebp + (-0x40); /* 0x2511241B: lea ecx, [ebp - 0x40] */ 459 RECOMP_ICALL(MEM32(0x25151184)); /* 0x2511241E: call dword ptr [0x25151184] */ 460 RECOMP_FLAGS_IN(); 461 /* test LO8(eax), LO8(eax) */ /* 0x25112424: test al, al */ 462 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 463 _cf = 0; 464 _flag_k = FK_NARROW(FK_TEST, 24); 465 if (TEST_Z(_flag_a, _flag_b)) goto L_2511244B; /* 0x25112426: je 0x2511244b */ 466 L_25112428: 467 edi = MEM32(ebp + (-0x3C)); /* 0x25112428: mov edi, dword ptr [ebp - 0x3c] */ 468 esi = MEM32(ebp + 0x8); /* 0x2511242B: mov esi, dword ptr [ebp + 8] */ 469 ecx = ebx; /* 0x2511242E: mov ecx, ebx */ 470 edx = ecx; /* 0x25112430: mov edx, ecx */ 471 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112432: shr ecx, 2 */ 472 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 473 ecx = ecx >> 2u; /* 0x25112432: shr ecx, 2 */ 474 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112435: 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; } 475 ecx = edx; /* 0x25112437: mov ecx, edx */ 476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 477 ecx = ecx & 3; /* 0x25112439: and ecx, 3 */ 478 _cf = 0; 479 _flag_k = FK_TEST; 480 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2511243C: 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; } 481 PUSH32(esp, ebx); /* 0x2511243E: push ebx */ 482 ecx = ebp + (-0x40); /* 0x2511243F: lea ecx, [ebp - 0x40] */ 483 RECOMP_ICALL(MEM32(0x251511A4)); /* 0x25112442: call dword ptr [0x251511a4] */ 484 RECOMP_FLAGS_IN(); 485 esi = MEM32(ebp + (-0x20)); /* 0x25112448: mov esi, dword ptr [ebp - 0x20] */ 486 L_2511244B: 487 eax = ebp + (-0x40); /* 0x2511244B: lea eax, [ebp - 0x40] */ 488 PUSH32(esp, eax); /* 0x2511244E: push eax */ 489 ecx = ebp + (-0x64); /* 0x2511244F: lea ecx, [ebp - 0x64] */ 490 MEM32(ebp + (-0x4)) = 1; /* 0x25112452: mov dword ptr [ebp - 4], 1 */ 491 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112459: call dword ptr [0x2515113c] */ 492 RECOMP_FLAGS_IN(); 493 MEM32(ebp + (-0x54)) = 0; /* 0x2511245F: mov dword ptr [ebp - 0x54], 0 */ 494 ecx = ebp + (-0x64); /* 0x25112466: lea ecx, [ebp - 0x64] */ 495 PUSH32(esp, ecx); /* 0x25112469: push ecx */ 496 ecx = MEM32(ebp + (-0x24)); /* 0x2511246A: mov ecx, dword ptr [ebp - 0x24] */ 497 edx = ebp + (-0x14); /* 0x2511246D: lea edx, [ebp - 0x14] */ 498 PUSH32(esp, edx); /* 0x25112470: push edx */ 499 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25112471: mov byte ptr [ebp - 4], 2 */ 500 RECOMP_ICALL(0x25114F40u); /* 0x25112475: call 0x25114f40 */ /* not lifted */ 501 RECOMP_FLAGS_IN(); 502 ecx = MEM32(eax); /* 0x2511247A: mov ecx, dword ptr [eax] */ 503 MEM32(ebp + (-0x1C)) = ecx; /* 0x2511247C: mov dword ptr [ebp - 0x1c], ecx */ 504 edx = MEM32(eax + 0x4); /* 0x2511247F: mov edx, dword ptr [eax + 4] */ 505 eax = ebp + (-0x18); /* 0x25112482: lea eax, [ebp - 0x18] */ 506 PUSH32(esp, eax); /* 0x25112485: push eax */ 507 ecx = ebp + (-0x1C); /* 0x25112486: lea ecx, [ebp - 0x1c] */ 508 PUSH32(esp, ecx); /* 0x25112489: push ecx */ 509 ecx = ebp + (-0x30); /* 0x2511248A: lea ecx, [ebp - 0x30] */ 510 MEM32(ebp + (-0x18)) = edx; /* 0x2511248D: mov dword ptr [ebp - 0x18], edx */ 511 RECOMP_ICALL(0x250865B0u); /* 0x25112490: call 0x250865b0 */ /* not lifted */ 512 RECOMP_FLAGS_IN(); 513 edi = MEM32(eax); /* 0x25112495: mov edi, dword ptr [eax] */ 514 edx = MEM32(eax + 0x4); /* 0x25112497: mov edx, dword ptr [eax + 4] */ 515 PUSH32(esp, 1); /* 0x2511249A: push 1 */ 516 ecx = ebp + (-0x64); /* 0x2511249C: lea ecx, [ebp - 0x64] */ 517 MEM32(ebp + (-0x24)) = edx; /* 0x2511249F: mov dword ptr [ebp - 0x24], edx */ 518 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x251124A2: mov byte ptr [ebp - 4], 1 */ 519 RECOMP_ICALL(MEM32(0x25151208)); /* 0x251124A6: call dword ptr [0x25151208] */ 520 RECOMP_FLAGS_IN(); 521 MEM32(edi + 0x1C) = esi; /* 0x251124AC: mov dword ptr [edi + 0x1c], esi */ 522 eax = MEM32(ebp + (-0x3C)); /* 0x251124AF: mov eax, dword ptr [ebp - 0x3c] */ 523 /* test eax, eax */ /* 0x251124B2: test eax, eax */ 524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 525 _cf = 0; 526 _flag_k = FK_TEST; 527 if (TEST_Z(_flag_a, _flag_b)) goto L_251124E3; /* 0x251124B4: je 0x251124e3 */ 528 L_251124B6: 529 ecx = eax + (-0x1); /* 0x251124B6: lea ecx, [eax - 1] */ 530 SET_LO8(eax, MEM8(ecx)); /* 0x251124B9: mov al, byte ptr [ecx] */ 531 /* test LO8(eax), LO8(eax) */ /* 0x251124BB: test al, al */ 532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 533 _cf = 0; 534 _flag_k = FK_NARROW(FK_TEST, 24); 535 if (TEST_Z(_flag_a, _flag_b)) goto L_251124DA; /* 0x251124BD: je 0x251124da */ 536 L_251124BF: 537 /* cmp LO8(eax), 0xFFu */ /* 0x251124BF: cmp al, 0xff */ 538 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 540 _flag_k = FK_NARROW(FK_CMP, 24); 541 if (CMP_EQ(_flag_a, _flag_b)) goto L_251124DA; /* 0x251124C1: je 0x251124da */ 542 L_251124C3: 543 edi = POP32_VAL(esp); /* 0x251124C3: pop edi */ 544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 545 SET_LO8(eax, LO8(eax) - 1); /* 0x251124C4: dec al */ 546 _flag_k = FK_NARROW(FK_DEC, 24); 547 esi = POP32_VAL(esp); /* 0x251124C6: pop esi */ 548 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x251124C7: mov byte ptr [ecx], al */ 549 ebx = POP32_VAL(esp); /* 0x251124C9: pop ebx */ 550 ecx = MEM32(ebp + (-0xC)); /* 0x251124CA: mov ecx, dword ptr [ebp - 0xc] */ 551 MEM32(FS_BASE + (0)) = ecx; /* 0x251124CD: mov dword ptr fs:[0], ecx */ 552 esp = ebp; /* 0x251124D4: mov esp, ebp */ 553 ebp = POP32_VAL(esp); /* 0x251124D6: pop ebp */ 554 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251124D7: ret 8 */ 555 L_251124DA: 556 PUSH32(esp, ecx); /* 0x251124DA: push ecx */ 557 RECOMP_ICALL(0x25137EECu); /* 0x251124DB: call 0x25137eec */ /* not lifted */ 558 RECOMP_FLAGS_IN(); 559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 560 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 561 esp = esp + 4; /* 0x251124E0: add esp, 4 */ 562 _flag_k = FK_ADD; 563 L_251124E3: 564 ecx = MEM32(ebp + (-0xC)); /* 0x251124E3: mov ecx, dword ptr [ebp - 0xc] */ 565 edi = POP32_VAL(esp); /* 0x251124E6: pop edi */ 566 esi = POP32_VAL(esp); /* 0x251124E7: pop esi */ 567 ebx = POP32_VAL(esp); /* 0x251124E8: pop ebx */ 568 MEM32(FS_BASE + (0)) = ecx; /* 0x251124E9: mov dword ptr fs:[0], ecx */ 569 esp = ebp; /* 0x251124F0: mov esp, ebp */ 570 ebp = POP32_VAL(esp); /* 0x251124F2: pop ebp */ 571 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251124F3: ret 8 */ 572 RECOMP_REGS_OUT(); 573 } 574 575 void sub_25112500(void) { 576 int _fpu_cmp = 0; 577 uint32_t _cf = 0; 578 int _df = 1; 579 uint32_t _flag_k = FK_NONE; 580 uint32_t _flag_a = 0, _flag_b = 0; 581 uint32_t _itail_tgt = 0; 582 RECOMP_REGS_LOCALS 583 RECOMP_ENTER(0x25112500u); 584 585 L_25112500: 586 PUSH32(esp, ebp); /* 0x25112500: push ebp */ 587 ebp = esp; /* 0x25112501: mov ebp, esp */ 588 eax = MEM32(ecx + 0x4); /* 0x25112503: mov eax, dword ptr [ecx + 4] */ 589 edx = MEM32(eax + 0x34); /* 0x25112506: mov edx, dword ptr [eax + 0x34] */ 590 eax = MEM32(ebp + 0x8); /* 0x25112509: mov eax, dword ptr [ebp + 8] */ 591 eax = MEM32(edx + eax * 4); /* 0x2511250C: mov eax, dword ptr [edx + eax*4] */ 592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 594 eax = eax + 8; /* 0x2511250F: add eax, 8 */ 595 _flag_k = FK_ADD; 596 eax = MEM32(eax + 0x4); /* 0x25112512: mov eax, dword ptr [eax + 4] */ 597 /* test eax, eax */ /* 0x25112515: test eax, eax */ 598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 599 _cf = 0; 600 _flag_k = FK_TEST; 601 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511251E; /* 0x25112517: jne 0x2511251e */ 602 L_25112519: 603 eax = MEM32(0x251511E4); /* 0x25112519: mov eax, dword ptr [0x251511e4] */ 604 L_2511251E: 605 edx = MEM32(ebp + 0xC); /* 0x2511251E: mov edx, dword ptr [ebp + 0xc] */ 606 PUSH32(esp, edx); /* 0x25112521: push edx */ 607 PUSH32(esp, eax); /* 0x25112522: push eax */ 608 RECOMP_ICALL(0x25112530u); /* 0x25112523: call 0x25112530 */ /* not lifted */ 609 RECOMP_FLAGS_IN(); 610 ebp = POP32_VAL(esp); /* 0x25112528: pop ebp */ 611 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112529: ret 8 */ 612 RECOMP_REGS_OUT(); 613 } 614 615 void sub_25112530(void) { 616 int _fpu_cmp = 0; 617 uint32_t _cf = 0; 618 int _df = 1; 619 uint32_t _flag_k = FK_NONE; 620 uint32_t _flag_a = 0, _flag_b = 0; 621 uint32_t _itail_tgt = 0; 622 RECOMP_REGS_LOCALS 623 RECOMP_ENTER(0x25112530u); 624 625 L_25112530: 626 PUSH32(esp, ebp); /* 0x25112530: push ebp */ 627 ebp = esp; /* 0x25112531: mov ebp, esp */ 628 PUSH32(esp, 0xFFFFFFFFu); /* 0x25112533: push -1 */ 629 PUSH32(esp, 0x2514DA3Au); /* 0x25112535: push 0x2514da3a */ 630 eax = MEM32(FS_BASE + (0)); /* 0x2511253A: mov eax, dword ptr fs:[0] */ 631 PUSH32(esp, eax); /* 0x25112540: push eax */ 632 MEM32(FS_BASE + (0)) = esp; /* 0x25112541: mov dword ptr fs:[0], esp */ 633 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 635 esp = esp - 0x58u; /* 0x25112548: sub esp, 0x58 */ 636 _flag_k = FK_CMP; 637 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2511254B: mov al, byte ptr [ebp + 0xb] */ 638 PUSH32(esp, ebx); /* 0x2511254E: push ebx */ 639 PUSH32(esp, esi); /* 0x2511254F: push esi */ 640 PUSH32(esp, edi); /* 0x25112550: push edi */ 641 esi = ecx; /* 0x25112551: mov esi, ecx */ 642 PUSH32(esp, 0); /* 0x25112553: push 0 */ 643 ecx = ebp + (-0x50); /* 0x25112555: lea ecx, [ebp - 0x50] */ 644 MEM32(ebp + (-0x10)) = esi; /* 0x25112558: mov dword ptr [ebp - 0x10], esi */ 645 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2511255B: mov byte ptr [ebp - 0x50], al */ 646 RECOMP_ICALL(MEM32(0x25151208)); /* 0x2511255E: call dword ptr [0x25151208] */ 647 RECOMP_FLAGS_IN(); 648 edi = MEM32(ebp + 0x8); /* 0x25112564: mov edi, dword ptr [ebp + 8] */ 649 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 650 ecx = ecx | 0xFFFFFFFFu; /* 0x25112567: or ecx, 0xffffffff */ 651 _cf = 0; 652 _flag_k = FK_TEST; 653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 654 eax = 0; /* 0x2511256A: xor eax, eax */ 655 _cf = 0; 656 _flag_k = FK_TEST; 657 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; } /* 0x2511256C: repne scasb al, byte ptr es:[edi] */ 658 ecx = ~ecx; /* 0x2511256E: not ecx */ 659 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 660 ecx = ecx - 1; /* 0x25112570: dec ecx */ 661 _flag_k = FK_DEC; 662 ebx = ecx; /* 0x25112571: mov ebx, ecx */ 663 PUSH32(esp, 1); /* 0x25112573: push 1 */ 664 PUSH32(esp, ebx); /* 0x25112575: push ebx */ 665 ecx = ebp + (-0x50); /* 0x25112576: lea ecx, [ebp - 0x50] */ 666 RECOMP_ICALL(MEM32(0x25151184)); /* 0x25112579: call dword ptr [0x25151184] */ 667 RECOMP_FLAGS_IN(); 668 /* test LO8(eax), LO8(eax) */ /* 0x2511257F: test al, al */ 669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 670 _cf = 0; 671 _flag_k = FK_NARROW(FK_TEST, 24); 672 if (TEST_Z(_flag_a, _flag_b)) goto L_251125A6; /* 0x25112581: je 0x251125a6 */ 673 L_25112583: 674 edi = MEM32(ebp + (-0x4C)); /* 0x25112583: mov edi, dword ptr [ebp - 0x4c] */ 675 esi = MEM32(ebp + 0x8); /* 0x25112586: mov esi, dword ptr [ebp + 8] */ 676 ecx = ebx; /* 0x25112589: mov ecx, ebx */ 677 edx = ecx; /* 0x2511258B: mov edx, ecx */ 678 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2511258D: shr ecx, 2 */ 679 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 680 ecx = ecx >> 2u; /* 0x2511258D: shr ecx, 2 */ 681 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112590: 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; } 682 ecx = edx; /* 0x25112592: mov ecx, edx */ 683 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 684 ecx = ecx & 3; /* 0x25112594: and ecx, 3 */ 685 _cf = 0; 686 _flag_k = FK_TEST; 687 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x25112597: 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; } 688 PUSH32(esp, ebx); /* 0x25112599: push ebx */ 689 ecx = ebp + (-0x50); /* 0x2511259A: lea ecx, [ebp - 0x50] */ 690 RECOMP_ICALL(MEM32(0x251511A4)); /* 0x2511259D: call dword ptr [0x251511a4] */ 691 RECOMP_FLAGS_IN(); 692 esi = MEM32(ebp + (-0x10)); /* 0x251125A3: mov esi, dword ptr [ebp - 0x10] */ 693 L_251125A6: 694 eax = ebp + (-0x50); /* 0x251125A6: lea eax, [ebp - 0x50] */ 695 PUSH32(esp, eax); /* 0x251125A9: push eax */ 696 ecx = ebp + (-0x14); /* 0x251125AA: lea ecx, [ebp - 0x14] */ 697 ebx = esi + 0x238; /* 0x251125AD: lea ebx, [esi + 0x238] */ 698 PUSH32(esp, ecx); /* 0x251125B3: push ecx */ 699 ecx = ebx; /* 0x251125B4: mov ecx, ebx */ 700 MEM32(ebp + (-0x4)) = 0; /* 0x251125B6: mov dword ptr [ebp - 4], 0 */ 701 MEM32(ebp + (-0x10)) = ebx; /* 0x251125BD: mov dword ptr [ebp - 0x10], ebx */ 702 RECOMP_ICALL(0x25114BE0u); /* 0x251125C0: call 0x25114be0 */ /* not lifted */ 703 RECOMP_FLAGS_IN(); 704 edi = MEM32(eax); /* 0x251125C5: mov edi, dword ptr [eax] */ 705 PUSH32(esp, 1); /* 0x251125C7: push 1 */ 706 ecx = ebp + (-0x50); /* 0x251125C9: lea ecx, [ebp - 0x50] */ 707 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x251125CC: mov dword ptr [ebp - 4], 0xffffffff */ 708 RECOMP_ICALL(MEM32(0x25151208)); /* 0x251125D3: call dword ptr [0x25151208] */ 709 RECOMP_FLAGS_IN(); 710 /* cmp edi, MEM32(esi + 0x23C) */ /* 0x251125D9: cmp edi, dword ptr [esi + 0x23c] */ 711 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x23C)); 712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 713 _flag_k = FK_CMP; 714 if (CMP_EQ(_flag_a, _flag_b)) goto L_251125F5; /* 0x251125DF: je 0x251125f5 */ 715 L_251125E1: 716 ecx = MEM32(edi + 0x1C); /* 0x251125E1: mov ecx, dword ptr [edi + 0x1c] */ 717 RECOMP_ICALL(0x250E6370u); /* 0x251125E4: call 0x250e6370 */ /* not lifted */ 718 RECOMP_FLAGS_IN(); 719 PUSH32(esp, edi); /* 0x251125E9: push edi */ 720 edx = ebp + (-0x14); /* 0x251125EA: lea edx, [ebp - 0x14] */ 721 PUSH32(esp, edx); /* 0x251125ED: push edx */ 722 ecx = ebx; /* 0x251125EE: mov ecx, ebx */ 723 RECOMP_ICALL(0x25114760u); /* 0x251125F0: call 0x25114760 */ /* not lifted */ 724 RECOMP_FLAGS_IN(); 725 L_251125F5: 726 esi = MEM32(ebp + 0xC); /* 0x251125F5: mov esi, dword ptr [ebp + 0xc] */ 727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 728 edi = 0; /* 0x251125F8: xor edi, edi */ 729 _cf = 0; 730 _flag_k = FK_TEST; 731 /* cmp esi, edi */ /* 0x251125FA: cmp esi, edi */ 732 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 734 _flag_k = FK_CMP; 735 if (CMP_EQ(_flag_a, _flag_b)) goto L_251126F2; /* 0x251125FC: je 0x251126f2 */ 736 L_25112602: 737 ecx = esi; /* 0x25112602: mov ecx, esi */ 738 RECOMP_ICALL(0x250E6360u); /* 0x25112604: call 0x250e6360 */ /* not lifted */ 739 RECOMP_FLAGS_IN(); 740 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x25112609: mov al, byte ptr [ebp + 0xb] */ 741 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 742 ecx = ecx | 0xFFFFFFFFu; /* 0x2511260C: or ecx, 0xffffffff */ 743 _cf = 0; 744 _flag_k = FK_TEST; 745 MEM32(ebp + (-0x3C)) = edi; /* 0x2511260F: mov dword ptr [ebp - 0x3c], edi */ 746 MEM32(ebp + (-0x38)) = edi; /* 0x25112612: mov dword ptr [ebp - 0x38], edi */ 747 MEM32(ebp + (-0x34)) = edi; /* 0x25112615: mov dword ptr [ebp - 0x34], edi */ 748 edi = MEM32(ebp + 0x8); /* 0x25112618: mov edi, dword ptr [ebp + 8] */ 749 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2511261B: mov byte ptr [ebp - 0x40], al */ 750 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 751 eax = 0; /* 0x2511261E: xor eax, eax */ 752 _cf = 0; 753 _flag_k = FK_TEST; 754 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; } /* 0x25112620: repne scasb al, byte ptr es:[edi] */ 755 ecx = ~ecx; /* 0x25112622: not ecx */ 756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 757 ecx = ecx - 1; /* 0x25112624: dec ecx */ 758 _flag_k = FK_DEC; 759 ebx = ecx; /* 0x25112625: mov ebx, ecx */ 760 PUSH32(esp, 1); /* 0x25112627: push 1 */ 761 PUSH32(esp, ebx); /* 0x25112629: push ebx */ 762 ecx = ebp + (-0x40); /* 0x2511262A: lea ecx, [ebp - 0x40] */ 763 RECOMP_ICALL(MEM32(0x25151184)); /* 0x2511262D: call dword ptr [0x25151184] */ 764 RECOMP_FLAGS_IN(); 765 /* test LO8(eax), LO8(eax) */ /* 0x25112633: test al, al */ 766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 767 _cf = 0; 768 _flag_k = FK_NARROW(FK_TEST, 24); 769 if (TEST_Z(_flag_a, _flag_b)) goto L_2511265A; /* 0x25112635: je 0x2511265a */ 770 L_25112637: 771 edi = MEM32(ebp + (-0x3C)); /* 0x25112637: mov edi, dword ptr [ebp - 0x3c] */ 772 esi = MEM32(ebp + 0x8); /* 0x2511263A: mov esi, dword ptr [ebp + 8] */ 773 ecx = ebx; /* 0x2511263D: mov ecx, ebx */ 774 edx = ecx; /* 0x2511263F: mov edx, ecx */ 775 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112641: shr ecx, 2 */ 776 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 777 ecx = ecx >> 2u; /* 0x25112641: shr ecx, 2 */ 778 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112644: 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; } 779 ecx = edx; /* 0x25112646: mov ecx, edx */ 780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 781 ecx = ecx & 3; /* 0x25112648: and ecx, 3 */ 782 _cf = 0; 783 _flag_k = FK_TEST; 784 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2511264B: 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; } 785 PUSH32(esp, ebx); /* 0x2511264D: push ebx */ 786 ecx = ebp + (-0x40); /* 0x2511264E: lea ecx, [ebp - 0x40] */ 787 RECOMP_ICALL(MEM32(0x251511A4)); /* 0x25112651: call dword ptr [0x251511a4] */ 788 RECOMP_FLAGS_IN(); 789 esi = MEM32(ebp + 0xC); /* 0x25112657: mov esi, dword ptr [ebp + 0xc] */ 790 L_2511265A: 791 eax = ebp + (-0x40); /* 0x2511265A: lea eax, [ebp - 0x40] */ 792 PUSH32(esp, eax); /* 0x2511265D: push eax */ 793 ecx = ebp + (-0x64); /* 0x2511265E: lea ecx, [ebp - 0x64] */ 794 MEM32(ebp + (-0x4)) = 1; /* 0x25112661: mov dword ptr [ebp - 4], 1 */ 795 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112668: call dword ptr [0x2515113c] */ 796 RECOMP_FLAGS_IN(); 797 MEM32(ebp + (-0x54)) = 0; /* 0x2511266E: mov dword ptr [ebp - 0x54], 0 */ 798 ecx = ebp + (-0x64); /* 0x25112675: lea ecx, [ebp - 0x64] */ 799 PUSH32(esp, ecx); /* 0x25112678: push ecx */ 800 ecx = MEM32(ebp + (-0x10)); /* 0x25112679: mov ecx, dword ptr [ebp - 0x10] */ 801 edx = ebp + (-0x28); /* 0x2511267C: lea edx, [ebp - 0x28] */ 802 PUSH32(esp, edx); /* 0x2511267F: push edx */ 803 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25112680: mov byte ptr [ebp - 4], 2 */ 804 RECOMP_ICALL(0x25114F40u); /* 0x25112684: call 0x25114f40 */ /* not lifted */ 805 RECOMP_FLAGS_IN(); 806 ecx = MEM32(eax); /* 0x25112689: mov ecx, dword ptr [eax] */ 807 MEM32(ebp + (-0x20)) = ecx; /* 0x2511268B: mov dword ptr [ebp - 0x20], ecx */ 808 edx = MEM32(eax + 0x4); /* 0x2511268E: mov edx, dword ptr [eax + 4] */ 809 eax = ebp + (-0x1C); /* 0x25112691: lea eax, [ebp - 0x1c] */ 810 PUSH32(esp, eax); /* 0x25112694: push eax */ 811 ecx = ebp + (-0x20); /* 0x25112695: lea ecx, [ebp - 0x20] */ 812 PUSH32(esp, ecx); /* 0x25112698: push ecx */ 813 ecx = ebp + (-0x30); /* 0x25112699: lea ecx, [ebp - 0x30] */ 814 MEM32(ebp + (-0x1C)) = edx; /* 0x2511269C: mov dword ptr [ebp - 0x1c], edx */ 815 RECOMP_ICALL(0x250865B0u); /* 0x2511269F: call 0x250865b0 */ /* not lifted */ 816 RECOMP_FLAGS_IN(); 817 edi = MEM32(eax); /* 0x251126A4: mov edi, dword ptr [eax] */ 818 edx = MEM32(eax + 0x4); /* 0x251126A6: mov edx, dword ptr [eax + 4] */ 819 PUSH32(esp, 1); /* 0x251126A9: push 1 */ 820 ecx = ebp + (-0x64); /* 0x251126AB: lea ecx, [ebp - 0x64] */ 821 MEM32(ebp + (-0x14)) = edx; /* 0x251126AE: mov dword ptr [ebp - 0x14], edx */ 822 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x251126B1: mov byte ptr [ebp - 4], 1 */ 823 RECOMP_ICALL(MEM32(0x25151208)); /* 0x251126B5: call dword ptr [0x25151208] */ 824 RECOMP_FLAGS_IN(); 825 MEM32(edi + 0x1C) = esi; /* 0x251126BB: mov dword ptr [edi + 0x1c], esi */ 826 eax = MEM32(ebp + (-0x3C)); /* 0x251126BE: mov eax, dword ptr [ebp - 0x3c] */ 827 /* test eax, eax */ /* 0x251126C1: test eax, eax */ 828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 829 _cf = 0; 830 _flag_k = FK_TEST; 831 if (TEST_Z(_flag_a, _flag_b)) goto L_251126F2; /* 0x251126C3: je 0x251126f2 */ 832 L_251126C5: 833 ecx = eax + (-0x1); /* 0x251126C5: lea ecx, [eax - 1] */ 834 SET_LO8(eax, MEM8(ecx)); /* 0x251126C8: mov al, byte ptr [ecx] */ 835 /* test LO8(eax), LO8(eax) */ /* 0x251126CA: test al, al */ 836 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 837 _cf = 0; 838 _flag_k = FK_NARROW(FK_TEST, 24); 839 if (TEST_Z(_flag_a, _flag_b)) goto L_251126E9; /* 0x251126CC: je 0x251126e9 */ 840 L_251126CE: 841 /* cmp LO8(eax), 0xFFu */ /* 0x251126CE: cmp al, 0xff */ 842 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 844 _flag_k = FK_NARROW(FK_CMP, 24); 845 if (CMP_EQ(_flag_a, _flag_b)) goto L_251126E9; /* 0x251126D0: je 0x251126e9 */ 846 L_251126D2: 847 edi = POP32_VAL(esp); /* 0x251126D2: pop edi */ 848 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 849 SET_LO8(eax, LO8(eax) - 1); /* 0x251126D3: dec al */ 850 _flag_k = FK_NARROW(FK_DEC, 24); 851 esi = POP32_VAL(esp); /* 0x251126D5: pop esi */ 852 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x251126D6: mov byte ptr [ecx], al */ 853 ebx = POP32_VAL(esp); /* 0x251126D8: pop ebx */ 854 ecx = MEM32(ebp + (-0xC)); /* 0x251126D9: mov ecx, dword ptr [ebp - 0xc] */ 855 MEM32(FS_BASE + (0)) = ecx; /* 0x251126DC: mov dword ptr fs:[0], ecx */ 856 esp = ebp; /* 0x251126E3: mov esp, ebp */ 857 ebp = POP32_VAL(esp); /* 0x251126E5: pop ebp */ 858 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251126E6: ret 8 */ 859 L_251126E9: 860 PUSH32(esp, ecx); /* 0x251126E9: push ecx */ 861 RECOMP_ICALL(0x25137EECu); /* 0x251126EA: call 0x25137eec */ /* not lifted */ 862 RECOMP_FLAGS_IN(); 863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 865 esp = esp + 4; /* 0x251126EF: add esp, 4 */ 866 _flag_k = FK_ADD; 867 L_251126F2: 868 ecx = MEM32(ebp + (-0xC)); /* 0x251126F2: mov ecx, dword ptr [ebp - 0xc] */ 869 edi = POP32_VAL(esp); /* 0x251126F5: pop edi */ 870 esi = POP32_VAL(esp); /* 0x251126F6: pop esi */ 871 ebx = POP32_VAL(esp); /* 0x251126F7: pop ebx */ 872 MEM32(FS_BASE + (0)) = ecx; /* 0x251126F8: mov dword ptr fs:[0], ecx */ 873 esp = ebp; /* 0x251126FF: mov esp, ebp */ 874 ebp = POP32_VAL(esp); /* 0x25112701: pop ebp */ 875 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112702: ret 8 */ 876 RECOMP_REGS_OUT(); 877 } 878 879 void sub_25112710(void) { 880 int _fpu_cmp = 0; 881 uint32_t _cf = 0; 882 int _df = 1; 883 uint32_t _flag_k = FK_NONE; 884 uint32_t _flag_a = 0, _flag_b = 0; 885 uint32_t _itail_tgt = 0; 886 RECOMP_REGS_LOCALS 887 RECOMP_ENTER(0x25112710u); 888 889 L_25112710: 890 PUSH32(esp, ebp); /* 0x25112710: push ebp */ 891 ebp = esp; /* 0x25112711: mov ebp, esp */ 892 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 894 esp = esp - 8; /* 0x25112713: sub esp, 8 */ 895 _flag_k = FK_CMP; 896 PUSH32(esp, ebx); /* 0x25112716: push ebx */ 897 ebx = ecx; /* 0x25112717: mov ebx, ecx */ 898 eax = MEM32(ebx + 0x248); /* 0x25112719: mov eax, dword ptr [ebx + 0x248] */ 899 /* test eax, eax */ /* 0x2511271F: test eax, eax */ 900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 901 _cf = 0; 902 _flag_k = FK_TEST; 903 eax = MEM32(ebp + 0x8); /* 0x25112721: mov eax, dword ptr [ebp + 8] */ 904 if (TEST_Z(_flag_a, _flag_b)) goto L_25112781; /* 0x25112724: je 0x25112781 */ 905 L_25112726: 906 ecx = MEM32(eax + 0x10); /* 0x25112726: mov ecx, dword ptr [eax + 0x10] */ 907 /* test ecx, ecx */ /* 0x25112729: test ecx, ecx */ 908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 909 _cf = 0; 910 _flag_k = FK_TEST; 911 if (TEST_Z(_flag_a, _flag_b)) goto L_25112781; /* 0x2511272B: je 0x25112781 */ 912 L_2511272D: 913 PUSH32(esp, esi); /* 0x2511272D: push esi */ 914 PUSH32(esp, edi); /* 0x2511272E: push edi */ 915 edi = eax + 0x8; /* 0x2511272F: lea edi, [eax + 8] */ 916 esi = ebx + 0x238; /* 0x25112732: lea esi, [ebx + 0x238] */ 917 PUSH32(esp, edi); /* 0x25112738: push edi */ 918 ecx = esi; /* 0x25112739: mov ecx, esi */ 919 RECOMP_ICALL(0x25126350u); /* 0x2511273B: call 0x25126350 */ /* not lifted */ 920 RECOMP_FLAGS_IN(); 921 /* cmp eax, MEM32(esi + 0x4) */ /* 0x25112740: cmp eax, dword ptr [esi + 4] */ 922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 924 _flag_k = FK_CMP; 925 MEM32(ebp + (-0x4)) = eax; /* 0x25112743: mov dword ptr [ebp - 4], eax */ 926 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511275F; /* 0x25112746: je 0x2511275f */ 927 L_25112748: 928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 930 eax = eax + 0xCu; /* 0x25112748: add eax, 0xc */ 931 _flag_k = FK_ADD; 932 PUSH32(esp, eax); /* 0x2511274B: push eax */ 933 PUSH32(esp, edi); /* 0x2511274C: push edi */ 934 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x2511274D: call dword ptr [0x251511cc] */ 935 RECOMP_FLAGS_IN(); 936 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 938 esp = esp + 8; /* 0x25112753: add esp, 8 */ 939 _flag_k = FK_ADD; 940 /* test LO8(eax), LO8(eax) */ /* 0x25112756: test al, al */ 941 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 942 _cf = 0; 943 _flag_k = FK_NARROW(FK_TEST, 24); 944 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511275F; /* 0x25112758: jne 0x2511275f */ 945 L_2511275A: 946 eax = ebp + (-0x4); /* 0x2511275A: lea eax, [ebp - 4] */ 947 goto L_25112768; /* 0x2511275D: jmp 0x25112768 */ 948 L_2511275F: 949 eax = MEM32(esi + 0x4); /* 0x2511275F: mov eax, dword ptr [esi + 4] */ 950 MEM32(ebp + (-0x8)) = eax; /* 0x25112762: mov dword ptr [ebp - 8], eax */ 951 eax = ebp + (-0x8); /* 0x25112765: lea eax, [ebp - 8] */ 952 L_25112768: 953 eax = MEM32(eax); /* 0x25112768: mov eax, dword ptr [eax] */ 954 /* cmp eax, MEM32(ebx + 0x23C) */ /* 0x2511276A: cmp eax, dword ptr [ebx + 0x23c] */ 955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x23C)); 956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 957 _flag_k = FK_CMP; 958 edi = POP32_VAL(esp); /* 0x25112770: pop edi */ 959 esi = POP32_VAL(esp); /* 0x25112771: pop esi */ 960 if (CMP_NE(_flag_a, _flag_b)) goto L_2511277E; /* 0x25112772: jne 0x2511277e */ 961 L_25112774: 962 eax = MEM32(ebp + 0x8); /* 0x25112774: mov eax, dword ptr [ebp + 8] */ 963 ebx = POP32_VAL(esp); /* 0x25112777: pop ebx */ 964 esp = ebp; /* 0x25112778: mov esp, ebp */ 965 ebp = POP32_VAL(esp); /* 0x2511277A: pop ebp */ 966 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511277B: ret 4 */ 967 L_2511277E: 968 eax = MEM32(eax + 0x1C); /* 0x2511277E: mov eax, dword ptr [eax + 0x1c] */ 969 L_25112781: 970 ebx = POP32_VAL(esp); /* 0x25112781: pop ebx */ 971 esp = ebp; /* 0x25112782: mov esp, ebp */ 972 ebp = POP32_VAL(esp); /* 0x25112784: pop ebp */ 973 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25112785: ret 4 */ 974 RECOMP_REGS_OUT(); 975 } 976 977 void sub_25112790(void) { 978 int _fpu_cmp = 0; 979 uint32_t _cf = 0; 980 int _df = 1; 981 uint32_t _flag_k = FK_NONE; 982 uint32_t _flag_a = 0, _flag_b = 0; 983 uint32_t _itail_tgt = 0; 984 RECOMP_REGS_LOCALS 985 RECOMP_ENTER(0x25112790u); 986 987 L_25112790: 988 PUSH32(esp, ebp); /* 0x25112790: push ebp */ 989 ebp = esp; /* 0x25112791: mov ebp, esp */ 990 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40u); 991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 992 esp = esp - 0x40u; /* 0x25112793: sub esp, 0x40 */ 993 _flag_k = FK_CMP; 994 PUSH32(esp, esi); /* 0x25112796: push esi */ 995 esi = ecx; /* 0x25112797: mov esi, ecx */ 996 SET_LO8(eax, MEM8(esi + 0x288)); /* 0x25112799: mov al, byte ptr [esi + 0x288] */ 997 /* test LO8(eax), LO8(eax) */ /* 0x2511279F: test al, al */ 998 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 999 _cf = 0; 1000 _flag_k = FK_NARROW(FK_TEST, 24); 1001 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511283C; /* 0x251127A1: jne 0x2511283c */ 1002 L_251127A7: 1003 /* cmp MEM32(esi + 0x284), 0xFFFFFFFFu */ /* 0x251127A7: cmp dword ptr [esi + 0x284], -1 */ 1004 _flag_a = (uint32_t)(MEM32(esi + 0x284)); _flag_b = (uint32_t)(0xFFFFFFFFu); 1005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1006 _flag_k = FK_CMP; 1007 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511283C; /* 0x251127AE: je 0x2511283c */ 1008 L_251127B4: 1009 PUSH32(esp, edi); /* 0x251127B4: push edi */ 1010 edi = MEM32(ebp + 0xC); /* 0x251127B5: mov edi, dword ptr [ebp + 0xc] */ 1011 ecx = 0x10u; /* 0x251127B8: mov ecx, 0x10 */ 1012 esi = ebp + (-0x40); /* 0x251127BD: lea esi, [ebp - 0x40] */ 1013 MEM32(ebp + (-0x40)) = 0x3F800000u; /* 0x251127C0: mov dword ptr [ebp - 0x40], 0x3f800000 */ 1014 MEM32(ebp + (-0x3C)) = 0; /* 0x251127C7: mov dword ptr [ebp - 0x3c], 0 */ 1015 MEM32(ebp + (-0x38)) = 0; /* 0x251127CE: mov dword ptr [ebp - 0x38], 0 */ 1016 MEM32(ebp + (-0x34)) = 0; /* 0x251127D5: mov dword ptr [ebp - 0x34], 0 */ 1017 MEM32(ebp + (-0x30)) = 0; /* 0x251127DC: mov dword ptr [ebp - 0x30], 0 */ 1018 MEM32(ebp + (-0x2C)) = 0x3F800000u; /* 0x251127E3: mov dword ptr [ebp - 0x2c], 0x3f800000 */ 1019 MEM32(ebp + (-0x28)) = 0; /* 0x251127EA: mov dword ptr [ebp - 0x28], 0 */ 1020 MEM32(ebp + (-0x24)) = 0; /* 0x251127F1: mov dword ptr [ebp - 0x24], 0 */ 1021 MEM32(ebp + (-0x20)) = 0; /* 0x251127F8: mov dword ptr [ebp - 0x20], 0 */ 1022 MEM32(ebp + (-0x1C)) = 0; /* 0x251127FF: mov dword ptr [ebp - 0x1c], 0 */ 1023 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x25112806: mov dword ptr [ebp - 0x18], 0x3f800000 */ 1024 MEM32(ebp + (-0x14)) = 0; /* 0x2511280D: mov dword ptr [ebp - 0x14], 0 */ 1025 MEM32(ebp + (-0x4)) = 0x3F800000u; /* 0x25112814: mov dword ptr [ebp - 4], 0x3f800000 */ 1026 MEM32(ebp + (-0x10)) = 0x47C35000u; /* 0x2511281B: mov dword ptr [ebp - 0x10], 0x47c35000 */ 1027 MEM32(ebp + (-0xC)) = 0x47C35000u; /* 0x25112822: mov dword ptr [ebp - 0xc], 0x47c35000 */ 1028 MEM32(ebp + (-0x8)) = 0x47C35000u; /* 0x25112829: mov dword ptr [ebp - 8], 0x47c35000 */ 1029 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112830: 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; } 1030 edi = POP32_VAL(esp); /* 0x25112832: pop edi */ 1031 SET_LO8(eax, 1); /* 0x25112833: mov al, 1 */ 1032 esi = POP32_VAL(esp); /* 0x25112835: pop esi */ 1033 esp = ebp; /* 0x25112836: mov esp, ebp */ 1034 ebp = POP32_VAL(esp); /* 0x25112838: pop ebp */ 1035 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112839: ret 8 */ 1036 L_2511283C: 1037 ecx = esi; /* 0x2511283C: mov ecx, esi */ 1038 RECOMP_ICALL(0x2510F990u); /* 0x2511283E: call 0x2510f990 */ /* not lifted */ 1039 RECOMP_FLAGS_IN(); 1040 eax = MEM32(ebp + 0xC); /* 0x25112843: mov eax, dword ptr [ebp + 0xc] */ 1041 ecx = MEM32(ebp + 0x8); /* 0x25112846: mov ecx, dword ptr [ebp + 8] */ 1042 PUSH32(esp, eax); /* 0x25112849: push eax */ 1043 PUSH32(esp, ecx); /* 0x2511284A: push ecx */ 1044 ecx = esi; /* 0x2511284B: mov ecx, esi */ 1045 RECOMP_ICALL(0x250F6A70u); /* 0x2511284D: call 0x250f6a70 */ /* not lifted */ 1046 RECOMP_FLAGS_IN(); 1047 esi = POP32_VAL(esp); /* 0x25112852: pop esi */ 1048 esp = ebp; /* 0x25112853: mov esp, ebp */ 1049 ebp = POP32_VAL(esp); /* 0x25112855: pop ebp */ 1050 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112856: ret 8 */ 1051 RECOMP_REGS_OUT(); 1052 } 1053 1054 void sub_25112860(void) { 1055 int _fpu_cmp = 0; 1056 uint32_t _cf = 0; 1057 int _df = 1; 1058 uint32_t _flag_k = FK_NONE; 1059 uint32_t _flag_a = 0, _flag_b = 0; 1060 uint32_t _itail_tgt = 0; 1061 RECOMP_REGS_LOCALS 1062 RECOMP_ENTER(0x25112860u); 1063 1064 L_25112860: 1065 PUSH32(esp, ebp); /* 0x25112860: push ebp */ 1066 ebp = esp; /* 0x25112861: mov ebp, esp */ 1067 PUSH32(esp, esi); /* 0x25112863: push esi */ 1068 esi = ecx; /* 0x25112864: mov esi, ecx */ 1069 SET_LO8(eax, MEM8(esi + 0x288)); /* 0x25112866: mov al, byte ptr [esi + 0x288] */ 1070 /* test LO8(eax), LO8(eax) */ /* 0x2511286C: test al, al */ 1071 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1072 _cf = 0; 1073 _flag_k = FK_NARROW(FK_TEST, 24); 1074 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112879; /* 0x2511286E: jne 0x25112879 */ 1075 L_25112870: 1076 /* cmp MEM32(esi + 0x284), 0xFFFFFFFFu */ /* 0x25112870: cmp dword ptr [esi + 0x284], -1 */ 1077 _flag_a = (uint32_t)(MEM32(esi + 0x284)); _flag_b = (uint32_t)(0xFFFFFFFFu); 1078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1079 _flag_k = FK_CMP; 1080 if (CMP_NE(_flag_a, _flag_b)) goto L_25112880; /* 0x25112877: jne 0x25112880 */ 1081 L_25112879: 1082 ecx = esi; /* 0x25112879: mov ecx, esi */ 1083 RECOMP_ICALL(0x2510F990u); /* 0x2511287B: call 0x2510f990 */ /* not lifted */ 1084 RECOMP_FLAGS_IN(); 1085 L_25112880: 1086 eax = MEM32(ebp + 0xC); /* 0x25112880: mov eax, dword ptr [ebp + 0xc] */ 1087 ecx = MEM32(ebp + 0x8); /* 0x25112883: mov ecx, dword ptr [ebp + 8] */ 1088 PUSH32(esp, eax); /* 0x25112886: push eax */ 1089 PUSH32(esp, ecx); /* 0x25112887: push ecx */ 1090 ecx = esi; /* 0x25112888: mov ecx, esi */ 1091 RECOMP_ICALL(0x250F6D80u); /* 0x2511288A: call 0x250f6d80 */ /* not lifted */ 1092 RECOMP_FLAGS_IN(); 1093 esi = POP32_VAL(esp); /* 0x2511288F: pop esi */ 1094 ebp = POP32_VAL(esp); /* 0x25112890: pop ebp */ 1095 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112891: ret 8 */ 1096 RECOMP_REGS_OUT(); 1097 } 1098 1099 void sub_251128A0(void) { 1100 int _fpu_cmp = 0; 1101 uint32_t _cf = 0; 1102 int _df = 1; 1103 uint32_t _flag_k = FK_NONE; 1104 uint32_t _flag_a = 0, _flag_b = 0; 1105 uint32_t _itail_tgt = 0; 1106 RECOMP_REGS_LOCALS 1107 RECOMP_ENTER(0x251128A0u); 1108 1109 L_251128A0: 1110 PUSH32(esp, ebp); /* 0x251128A0: push ebp */ 1111 ebp = esp; /* 0x251128A1: mov ebp, esp */ 1112 PUSH32(esp, esi); /* 0x251128A3: push esi */ 1113 esi = ecx; /* 0x251128A4: mov esi, ecx */ 1114 SET_LO8(eax, MEM8(esi + 0x288)); /* 0x251128A6: mov al, byte ptr [esi + 0x288] */ 1115 /* test LO8(eax), LO8(eax) */ /* 0x251128AC: test al, al */ 1116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1117 _cf = 0; 1118 _flag_k = FK_NARROW(FK_TEST, 24); 1119 if (TEST_NZ(_flag_a, _flag_b)) goto L_251128B9; /* 0x251128AE: jne 0x251128b9 */ 1120 L_251128B0: 1121 /* cmp MEM32(esi + 0x284), 0xFFFFFFFFu */ /* 0x251128B0: cmp dword ptr [esi + 0x284], -1 */ 1122 _flag_a = (uint32_t)(MEM32(esi + 0x284)); _flag_b = (uint32_t)(0xFFFFFFFFu); 1123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1124 _flag_k = FK_CMP; 1125 if (CMP_NE(_flag_a, _flag_b)) goto L_251128C0; /* 0x251128B7: jne 0x251128c0 */ 1126 L_251128B9: 1127 ecx = esi; /* 0x251128B9: mov ecx, esi */ 1128 RECOMP_ICALL(0x2510F990u); /* 0x251128BB: call 0x2510f990 */ /* not lifted */ 1129 RECOMP_FLAGS_IN(); 1130 L_251128C0: 1131 eax = MEM32(ebp + 0xC); /* 0x251128C0: mov eax, dword ptr [ebp + 0xc] */ 1132 ecx = MEM32(ebp + 0x8); /* 0x251128C3: mov ecx, dword ptr [ebp + 8] */ 1133 PUSH32(esp, eax); /* 0x251128C6: push eax */ 1134 PUSH32(esp, ecx); /* 0x251128C7: push ecx */ 1135 ecx = esi; /* 0x251128C8: mov ecx, esi */ 1136 RECOMP_ICALL(0x250F6E30u); /* 0x251128CA: call 0x250f6e30 */ /* not lifted */ 1137 RECOMP_FLAGS_IN(); 1138 esi = POP32_VAL(esp); /* 0x251128CF: pop esi */ 1139 ebp = POP32_VAL(esp); /* 0x251128D0: pop ebp */ 1140 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251128D1: ret 8 */ 1141 RECOMP_REGS_OUT(); 1142 } 1143 1144 void sub_251128E0(void) { 1145 int _fpu_cmp = 0; 1146 uint32_t _cf = 0; 1147 int _df = 1; 1148 uint32_t _flag_k = FK_NONE; 1149 uint32_t _flag_a = 0, _flag_b = 0; 1150 uint32_t _itail_tgt = 0; 1151 RECOMP_REGS_LOCALS 1152 RECOMP_ENTER(0x251128E0u); 1153 1154 L_251128E0: 1155 PUSH32(esp, ebp); /* 0x251128E0: push ebp */ 1156 ebp = esp; /* 0x251128E1: mov ebp, esp */ 1157 PUSH32(esp, 0xFFFFFFFFu); /* 0x251128E3: push -1 */ 1158 PUSH32(esp, 0x2514DA72u); /* 0x251128E5: push 0x2514da72 */ 1159 eax = MEM32(FS_BASE + (0)); /* 0x251128EA: mov eax, dword ptr fs:[0] */ 1160 PUSH32(esp, eax); /* 0x251128F0: push eax */ 1161 MEM32(FS_BASE + (0)) = esp; /* 0x251128F1: mov dword ptr fs:[0], esp */ 1162 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x60u); 1163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1164 esp = esp - 0x60u; /* 0x251128F8: sub esp, 0x60 */ 1165 _flag_k = FK_CMP; 1166 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x251128FB: mov al, byte ptr [ebp + 0xb] */ 1167 PUSH32(esp, ebx); /* 0x251128FE: push ebx */ 1168 PUSH32(esp, esi); /* 0x251128FF: push esi */ 1169 esi = MEM32(ebp + 0x8); /* 0x25112900: mov esi, dword ptr [ebp + 8] */ 1170 MEM32(ebp + (-0x10)) = ecx; /* 0x25112903: mov dword ptr [ebp - 0x10], ecx */ 1171 PUSH32(esp, edi); /* 0x25112906: push edi */ 1172 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1173 ecx = ecx | 0xFFFFFFFFu; /* 0x25112907: or ecx, 0xffffffff */ 1174 _cf = 0; 1175 _flag_k = FK_TEST; 1176 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1177 ebx = 0; /* 0x2511290A: xor ebx, ebx */ 1178 _cf = 0; 1179 _flag_k = FK_TEST; 1180 MEM8(ebp + (-0x3C)) = (uint8_t)(LO8(eax)); /* 0x2511290C: mov byte ptr [ebp - 0x3c], al */ 1181 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1182 eax = 0; /* 0x2511290F: xor eax, eax */ 1183 _cf = 0; 1184 _flag_k = FK_TEST; 1185 edi = esi; /* 0x25112911: mov edi, esi */ 1186 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; } /* 0x25112913: repne scasb al, byte ptr es:[edi] */ 1187 ecx = ~ecx; /* 0x25112915: not ecx */ 1188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1189 ecx = ecx - 1; /* 0x25112917: dec ecx */ 1190 _flag_k = FK_DEC; 1191 edi = ecx; /* 0x25112918: mov edi, ecx */ 1192 PUSH32(esp, 1); /* 0x2511291A: push 1 */ 1193 PUSH32(esp, edi); /* 0x2511291C: push edi */ 1194 ecx = ebp + (-0x3C); /* 0x2511291D: lea ecx, [ebp - 0x3c] */ 1195 MEM32(ebp + (-0x38)) = ebx; /* 0x25112920: mov dword ptr [ebp - 0x38], ebx */ 1196 MEM32(ebp + (-0x34)) = ebx; /* 0x25112923: mov dword ptr [ebp - 0x34], ebx */ 1197 MEM32(ebp + (-0x30)) = ebx; /* 0x25112926: mov dword ptr [ebp - 0x30], ebx */ 1198 MEM32(ebp + 0x8) = edi; /* 0x25112929: mov dword ptr [ebp + 8], edi */ 1199 RECOMP_ICALL(MEM32(0x25151184)); /* 0x2511292C: call dword ptr [0x25151184] */ 1200 RECOMP_FLAGS_IN(); 1201 /* test LO8(eax), LO8(eax) */ /* 0x25112932: test al, al */ 1202 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1203 _cf = 0; 1204 _flag_k = FK_NARROW(FK_TEST, 24); 1205 if (TEST_Z(_flag_a, _flag_b)) goto L_25112955; /* 0x25112934: je 0x25112955 */ 1206 L_25112936: 1207 ecx = edi; /* 0x25112936: mov ecx, edi */ 1208 edi = MEM32(ebp + (-0x38)); /* 0x25112938: mov edi, dword ptr [ebp - 0x38] */ 1209 edx = ecx; /* 0x2511293B: mov edx, ecx */ 1210 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2511293D: shr ecx, 2 */ 1211 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1212 ecx = ecx >> 2u; /* 0x2511293D: shr ecx, 2 */ 1213 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112940: 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; } 1214 ecx = edx; /* 0x25112942: mov ecx, edx */ 1215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1216 ecx = ecx & 3; /* 0x25112944: and ecx, 3 */ 1217 _cf = 0; 1218 _flag_k = FK_TEST; 1219 eax = edx; /* 0x25112947: mov eax, edx */ 1220 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x25112949: 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; } 1221 PUSH32(esp, eax); /* 0x2511294B: push eax */ 1222 ecx = ebp + (-0x3C); /* 0x2511294C: lea ecx, [ebp - 0x3c] */ 1223 RECOMP_ICALL(MEM32(0x251511A4)); /* 0x2511294F: call dword ptr [0x251511a4] */ 1224 RECOMP_FLAGS_IN(); 1225 L_25112955: 1226 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x25112955: mov cl, byte ptr [ebp + 0xb] */ 1227 MEM32(ebp + (-0x4)) = ebx; /* 0x25112958: mov dword ptr [ebp - 4], ebx */ 1228 MEM8(ebp + (-0x4C)) = (uint8_t)(LO8(ecx)); /* 0x2511295B: mov byte ptr [ebp - 0x4c], cl */ 1229 MEM32(ebp + (-0x48)) = ebx; /* 0x2511295E: mov dword ptr [ebp - 0x48], ebx */ 1230 MEM32(ebp + (-0x44)) = ebx; /* 0x25112961: mov dword ptr [ebp - 0x44], ebx */ 1231 MEM32(ebp + (-0x40)) = ebx; /* 0x25112964: mov dword ptr [ebp - 0x40], ebx */ 1232 edx = ebp + (-0x3C); /* 0x25112967: lea edx, [ebp - 0x3c] */ 1233 PUSH32(esp, edx); /* 0x2511296A: push edx */ 1234 ecx = ebp + (-0x6C); /* 0x2511296B: lea ecx, [ebp - 0x6c] */ 1235 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2511296E: mov byte ptr [ebp - 4], 1 */ 1236 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112972: call dword ptr [0x2515113c] */ 1237 RECOMP_FLAGS_IN(); 1238 eax = ebp + (-0x4C); /* 0x25112978: lea eax, [ebp - 0x4c] */ 1239 PUSH32(esp, eax); /* 0x2511297B: push eax */ 1240 ecx = ebp + (-0x5C); /* 0x2511297C: lea ecx, [ebp - 0x5c] */ 1241 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2511297F: mov byte ptr [ebp - 4], 2 */ 1242 RECOMP_ICALL(0x250DEC60u); /* 0x25112983: call 0x250dec60 */ /* not lifted */ 1243 RECOMP_FLAGS_IN(); 1244 eax = MEM32(ebp + (-0x10)); /* 0x25112988: mov eax, dword ptr [ebp - 0x10] */ 1245 ecx = ebp + (-0x6C); /* 0x2511298B: lea ecx, [ebp - 0x6c] */ 1246 PUSH32(esp, ecx); /* 0x2511298E: push ecx */ 1247 edx = ebp + (-0x24); /* 0x2511298F: lea edx, [ebp - 0x24] */ 1248 PUSH32(esp, edx); /* 0x25112992: push edx */ 1249 ecx = eax + 0x24C; /* 0x25112993: lea ecx, [eax + 0x24c] */ 1250 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112999: mov byte ptr [ebp - 4], 3 */ 1251 RECOMP_ICALL(0x25115370u); /* 0x2511299D: call 0x25115370 */ /* not lifted */ 1252 RECOMP_FLAGS_IN(); 1253 ecx = MEM32(eax); /* 0x251129A2: mov ecx, dword ptr [eax] */ 1254 MEM32(ebp + (-0x1C)) = ecx; /* 0x251129A4: mov dword ptr [ebp - 0x1c], ecx */ 1255 edx = MEM32(eax + 0x4); /* 0x251129A7: mov edx, dword ptr [eax + 4] */ 1256 eax = ebp + (-0x18); /* 0x251129AA: lea eax, [ebp - 0x18] */ 1257 PUSH32(esp, eax); /* 0x251129AD: push eax */ 1258 ecx = ebp + (-0x1C); /* 0x251129AE: lea ecx, [ebp - 0x1c] */ 1259 PUSH32(esp, ecx); /* 0x251129B1: push ecx */ 1260 ecx = ebp + (-0x2C); /* 0x251129B2: lea ecx, [ebp - 0x2c] */ 1261 MEM32(ebp + (-0x18)) = edx; /* 0x251129B5: mov dword ptr [ebp - 0x18], edx */ 1262 RECOMP_ICALL(0x250865B0u); /* 0x251129B8: call 0x250865b0 */ /* not lifted */ 1263 RECOMP_FLAGS_IN(); 1264 esi = MEM32(eax); /* 0x251129BD: mov esi, dword ptr [eax] */ 1265 edx = MEM32(eax + 0x4); /* 0x251129BF: mov edx, dword ptr [eax + 4] */ 1266 ecx = ebp + (-0x6C); /* 0x251129C2: lea ecx, [ebp - 0x6c] */ 1267 MEM32(ebp + (-0x10)) = edx; /* 0x251129C5: mov dword ptr [ebp - 0x10], edx */ 1268 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x251129C8: mov byte ptr [ebp - 4], 1 */ 1269 RECOMP_ICALL(0x251146F0u); /* 0x251129CC: call 0x251146f0 */ /* not lifted */ 1270 RECOMP_FLAGS_IN(); 1271 ecx = ebp + (-0x4C); /* 0x251129D1: lea ecx, [ebp - 0x4c] */ 1272 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x251129D4: mov byte ptr [ebp - 4], bl */ 1273 RECOMP_ICALL(0x25085240u); /* 0x251129D7: call 0x25085240 */ /* not lifted */ 1274 RECOMP_FLAGS_IN(); 1275 edx = MEM32(esi + 0x24); /* 0x251129DC: mov edx, dword ptr [esi + 0x24] */ 1276 eax = ebp + 0xC; /* 0x251129DF: lea eax, [ebp + 0xc] */ 1277 PUSH32(esp, eax); /* 0x251129E2: push eax */ 1278 ecx = esi + 0x1C; /* 0x251129E3: lea ecx, [esi + 0x1c] */ 1279 PUSH32(esp, 1); /* 0x251129E6: push 1 */ 1280 PUSH32(esp, edx); /* 0x251129E8: push edx */ 1281 RECOMP_ICALL(0x2504A9D0u); /* 0x251129E9: call 0x2504a9d0 */ /* not lifted */ 1282 RECOMP_FLAGS_IN(); 1283 eax = MEM32(ebp + (-0x38)); /* 0x251129EE: mov eax, dword ptr [ebp - 0x38] */ 1284 /* cmp eax, ebx */ /* 0x251129F1: cmp eax, ebx */ 1285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1287 _flag_k = FK_CMP; 1288 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112A22; /* 0x251129F3: je 0x25112a22 */ 1289 L_251129F5: 1290 ecx = eax + (-0x1); /* 0x251129F5: lea ecx, [eax - 1] */ 1291 SET_LO8(eax, MEM8(ecx)); /* 0x251129F8: mov al, byte ptr [ecx] */ 1292 /* cmp LO8(eax), LO8(ebx) */ /* 0x251129FA: cmp al, bl */ 1293 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1295 _flag_k = FK_NARROW(FK_CMP, 24); 1296 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112A19; /* 0x251129FC: je 0x25112a19 */ 1297 L_251129FE: 1298 /* cmp LO8(eax), 0xFFu */ /* 0x251129FE: cmp al, 0xff */ 1299 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1301 _flag_k = FK_NARROW(FK_CMP, 24); 1302 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112A19; /* 0x25112A00: je 0x25112a19 */ 1303 L_25112A02: 1304 edi = POP32_VAL(esp); /* 0x25112A02: pop edi */ 1305 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1306 SET_LO8(eax, LO8(eax) - 1); /* 0x25112A03: dec al */ 1307 _flag_k = FK_NARROW(FK_DEC, 24); 1308 esi = POP32_VAL(esp); /* 0x25112A05: pop esi */ 1309 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x25112A06: mov byte ptr [ecx], al */ 1310 ebx = POP32_VAL(esp); /* 0x25112A08: pop ebx */ 1311 ecx = MEM32(ebp + (-0xC)); /* 0x25112A09: mov ecx, dword ptr [ebp - 0xc] */ 1312 MEM32(FS_BASE + (0)) = ecx; /* 0x25112A0C: mov dword ptr fs:[0], ecx */ 1313 esp = ebp; /* 0x25112A13: mov esp, ebp */ 1314 ebp = POP32_VAL(esp); /* 0x25112A15: pop ebp */ 1315 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112A16: ret 8 */ 1316 L_25112A19: 1317 PUSH32(esp, ecx); /* 0x25112A19: push ecx */ 1318 RECOMP_ICALL(0x25137EECu); /* 0x25112A1A: call 0x25137eec */ /* not lifted */ 1319 RECOMP_FLAGS_IN(); 1320 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1321 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1322 esp = esp + 4; /* 0x25112A1F: add esp, 4 */ 1323 _flag_k = FK_ADD; 1324 L_25112A22: 1325 ecx = MEM32(ebp + (-0xC)); /* 0x25112A22: mov ecx, dword ptr [ebp - 0xc] */ 1326 edi = POP32_VAL(esp); /* 0x25112A25: pop edi */ 1327 esi = POP32_VAL(esp); /* 0x25112A26: pop esi */ 1328 ebx = POP32_VAL(esp); /* 0x25112A27: pop ebx */ 1329 MEM32(FS_BASE + (0)) = ecx; /* 0x25112A28: mov dword ptr fs:[0], ecx */ 1330 esp = ebp; /* 0x25112A2F: mov esp, ebp */ 1331 ebp = POP32_VAL(esp); /* 0x25112A31: pop ebp */ 1332 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112A32: ret 8 */ 1333 RECOMP_REGS_OUT(); 1334 } 1335 1336 void sub_25112A40(void) { 1337 int _fpu_cmp = 0; 1338 uint32_t _cf = 0; 1339 int _df = 1; 1340 uint32_t _flag_k = FK_NONE; 1341 uint32_t _flag_a = 0, _flag_b = 0; 1342 uint32_t _itail_tgt = 0; 1343 RECOMP_REGS_LOCALS 1344 RECOMP_ENTER(0x25112A40u); 1345 1346 L_25112A40: 1347 PUSH32(esp, ebp); /* 0x25112A40: push ebp */ 1348 ebp = esp; /* 0x25112A41: mov ebp, esp */ 1349 PUSH32(esp, 0xFFFFFFFFu); /* 0x25112A43: push -1 */ 1350 PUSH32(esp, 0x2514DAA2u); /* 0x25112A45: push 0x2514daa2 */ 1351 eax = MEM32(FS_BASE + (0)); /* 0x25112A4A: mov eax, dword ptr fs:[0] */ 1352 PUSH32(esp, eax); /* 0x25112A50: push eax */ 1353 MEM32(FS_BASE + (0)) = esp; /* 0x25112A51: mov dword ptr fs:[0], esp */ 1354 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x48u); 1355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1356 esp = esp - 0x48u; /* 0x25112A58: sub esp, 0x48 */ 1357 _flag_k = FK_CMP; 1358 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x25112A5B: mov al, byte ptr [ebp + 0xb] */ 1359 edx = MEM32(ebp + 0x8); /* 0x25112A5E: mov edx, dword ptr [ebp + 8] */ 1360 PUSH32(esp, ebx); /* 0x25112A61: push ebx */ 1361 PUSH32(esp, esi); /* 0x25112A62: push esi */ 1362 esi = ecx; /* 0x25112A63: mov esi, ecx */ 1363 PUSH32(esp, edi); /* 0x25112A65: push edi */ 1364 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1365 ecx = ecx | 0xFFFFFFFFu; /* 0x25112A66: or ecx, 0xffffffff */ 1366 _cf = 0; 1367 _flag_k = FK_TEST; 1368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1369 ebx = 0; /* 0x25112A69: xor ebx, ebx */ 1370 _cf = 0; 1371 _flag_k = FK_TEST; 1372 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x25112A6B: mov byte ptr [ebp - 0x24], al */ 1373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1374 eax = 0; /* 0x25112A6E: xor eax, eax */ 1375 _cf = 0; 1376 _flag_k = FK_TEST; 1377 edi = edx; /* 0x25112A70: mov edi, edx */ 1378 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; } /* 0x25112A72: repne scasb al, byte ptr es:[edi] */ 1379 ecx = ~ecx; /* 0x25112A74: not ecx */ 1380 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1381 ecx = ecx - 1; /* 0x25112A76: dec ecx */ 1382 _flag_k = FK_DEC; 1383 PUSH32(esp, ecx); /* 0x25112A77: push ecx */ 1384 PUSH32(esp, edx); /* 0x25112A78: push edx */ 1385 ecx = ebp + (-0x24); /* 0x25112A79: lea ecx, [ebp - 0x24] */ 1386 MEM32(ebp + (-0x20)) = ebx; /* 0x25112A7C: mov dword ptr [ebp - 0x20], ebx */ 1387 MEM32(ebp + (-0x1C)) = ebx; /* 0x25112A7F: mov dword ptr [ebp - 0x1c], ebx */ 1388 MEM32(ebp + (-0x18)) = ebx; /* 0x25112A82: mov dword ptr [ebp - 0x18], ebx */ 1389 RECOMP_ICALL(MEM32(0x2515120C)); /* 0x25112A85: call dword ptr [0x2515120c] */ 1390 RECOMP_FLAGS_IN(); 1391 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x25112A8B: mov cl, byte ptr [ebp + 0xb] */ 1392 MEM32(ebp + (-0x4)) = ebx; /* 0x25112A8E: mov dword ptr [ebp - 4], ebx */ 1393 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(ecx)); /* 0x25112A91: mov byte ptr [ebp - 0x34], cl */ 1394 MEM32(ebp + (-0x30)) = ebx; /* 0x25112A94: mov dword ptr [ebp - 0x30], ebx */ 1395 MEM32(ebp + (-0x2C)) = ebx; /* 0x25112A97: mov dword ptr [ebp - 0x2c], ebx */ 1396 MEM32(ebp + (-0x28)) = ebx; /* 0x25112A9A: mov dword ptr [ebp - 0x28], ebx */ 1397 edx = ebp + (-0x24); /* 0x25112A9D: lea edx, [ebp - 0x24] */ 1398 PUSH32(esp, edx); /* 0x25112AA0: push edx */ 1399 ecx = ebp + (-0x54); /* 0x25112AA1: lea ecx, [ebp - 0x54] */ 1400 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112AA4: mov byte ptr [ebp - 4], 1 */ 1401 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112AA8: call dword ptr [0x2515113c] */ 1402 RECOMP_FLAGS_IN(); 1403 eax = ebp + (-0x34); /* 0x25112AAE: lea eax, [ebp - 0x34] */ 1404 PUSH32(esp, eax); /* 0x25112AB1: push eax */ 1405 ecx = ebp + (-0x44); /* 0x25112AB2: lea ecx, [ebp - 0x44] */ 1406 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25112AB5: mov byte ptr [ebp - 4], 2 */ 1407 RECOMP_ICALL(0x250DEC60u); /* 0x25112AB9: call 0x250dec60 */ /* not lifted */ 1408 RECOMP_FLAGS_IN(); 1409 ecx = ebp + (-0x54); /* 0x25112ABE: lea ecx, [ebp - 0x54] */ 1410 PUSH32(esp, ecx); /* 0x25112AC1: push ecx */ 1411 edx = ebp + (-0x14); /* 0x25112AC2: lea edx, [ebp - 0x14] */ 1412 PUSH32(esp, edx); /* 0x25112AC5: push edx */ 1413 ecx = esi + 0x24C; /* 0x25112AC6: lea ecx, [esi + 0x24c] */ 1414 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112ACC: mov byte ptr [ebp - 4], 3 */ 1415 RECOMP_ICALL(0x25114C70u); /* 0x25112AD0: call 0x25114c70 */ /* not lifted */ 1416 RECOMP_FLAGS_IN(); 1417 esi = MEM32(eax); /* 0x25112AD5: mov esi, dword ptr [eax] */ 1418 ecx = ebp + (-0x54); /* 0x25112AD7: lea ecx, [ebp - 0x54] */ 1419 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112ADA: mov byte ptr [ebp - 4], 1 */ 1420 RECOMP_ICALL(0x251146F0u); /* 0x25112ADE: call 0x251146f0 */ /* not lifted */ 1421 RECOMP_FLAGS_IN(); 1422 ecx = ebp + (-0x34); /* 0x25112AE3: lea ecx, [ebp - 0x34] */ 1423 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x25112AE6: mov byte ptr [ebp - 4], bl */ 1424 RECOMP_ICALL(0x25085240u); /* 0x25112AE9: call 0x25085240 */ /* not lifted */ 1425 RECOMP_FLAGS_IN(); 1426 PUSH32(esp, 1); /* 0x25112AEE: push 1 */ 1427 ecx = ebp + (-0x24); /* 0x25112AF0: lea ecx, [ebp - 0x24] */ 1428 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25112AF3: mov dword ptr [ebp - 4], 0xffffffff */ 1429 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112AFA: call dword ptr [0x25151208] */ 1430 RECOMP_FLAGS_IN(); 1431 ecx = MEM32(esi + 0x20); /* 0x25112B00: mov ecx, dword ptr [esi + 0x20] */ 1432 edx = MEM32(esi + 0x24); /* 0x25112B03: mov edx, dword ptr [esi + 0x24] */ 1433 /* cmp ecx, edx */ /* 0x25112B06: cmp ecx, edx */ 1434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1436 _flag_k = FK_CMP; 1437 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112B4C; /* 0x25112B08: je 0x25112b4c */ 1438 L_25112B0A: 1439 eax = MEM32(ebp + 0xC); /* 0x25112B0A: mov eax, dword ptr [ebp + 0xc] */ 1440 L_25112B0D: 1441 /* cmp MEM32(ecx), eax */ /* 0x25112B0D: cmp dword ptr [ecx], eax */ 1442 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(eax); 1443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1444 _flag_k = FK_CMP; 1445 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112B2B; /* 0x25112B0F: je 0x25112b2b */ 1446 L_25112B11: 1447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1449 ecx = ecx + 4; /* 0x25112B11: add ecx, 4 */ 1450 _flag_k = FK_ADD; 1451 /* cmp ecx, edx */ /* 0x25112B14: cmp ecx, edx */ 1452 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1454 _flag_k = FK_CMP; 1455 RECOMP_BACKEDGE(); 1456 if (CMP_NE(_flag_a, _flag_b)) goto L_25112B0D; /* 0x25112B16: jne 0x25112b0d */ 1457 L_25112B18: 1458 edi = POP32_VAL(esp); /* 0x25112B18: pop edi */ 1459 esi = POP32_VAL(esp); /* 0x25112B19: pop esi */ 1460 ebx = POP32_VAL(esp); /* 0x25112B1A: pop ebx */ 1461 ecx = MEM32(ebp + (-0xC)); /* 0x25112B1B: mov ecx, dword ptr [ebp - 0xc] */ 1462 MEM32(FS_BASE + (0)) = ecx; /* 0x25112B1E: mov dword ptr fs:[0], ecx */ 1463 esp = ebp; /* 0x25112B25: mov esp, ebp */ 1464 ebp = POP32_VAL(esp); /* 0x25112B27: pop ebp */ 1465 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112B28: ret 8 */ 1466 L_25112B2B: 1467 eax = ecx + 0x4; /* 0x25112B2B: lea eax, [ecx + 4] */ 1468 /* cmp eax, edx */ /* 0x25112B2E: cmp eax, edx */ 1469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1471 _flag_k = FK_CMP; 1472 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112B40; /* 0x25112B30: je 0x25112b40 */ 1473 L_25112B32: 1474 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1476 ecx = ecx - eax; /* 0x25112B32: sub ecx, eax */ 1477 _flag_k = FK_CMP; 1478 L_25112B34: 1479 edi = MEM32(eax); /* 0x25112B34: mov edi, dword ptr [eax] */ 1480 MEM32(ecx + eax) = edi; /* 0x25112B36: mov dword ptr [ecx + eax], edi */ 1481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1483 eax = eax + 4; /* 0x25112B39: add eax, 4 */ 1484 _flag_k = FK_ADD; 1485 /* cmp eax, edx */ /* 0x25112B3C: cmp eax, edx */ 1486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1488 _flag_k = FK_CMP; 1489 RECOMP_BACKEDGE(); 1490 if (CMP_NE(_flag_a, _flag_b)) goto L_25112B34; /* 0x25112B3E: jne 0x25112b34 */ 1491 L_25112B40: 1492 eax = MEM32(esi + 0x24); /* 0x25112B40: mov eax, dword ptr [esi + 0x24] */ 1493 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 1494 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1495 eax = eax + 0xFFFFFFFCu; /* 0x25112B43: add eax, -4 */ 1496 _flag_k = FK_ADD; 1497 MEM32(ebp + 0x8) = eax; /* 0x25112B46: mov dword ptr [ebp + 8], eax */ 1498 MEM32(esi + 0x24) = eax; /* 0x25112B49: mov dword ptr [esi + 0x24], eax */ 1499 L_25112B4C: 1500 ecx = MEM32(ebp + (-0xC)); /* 0x25112B4C: mov ecx, dword ptr [ebp - 0xc] */ 1501 edi = POP32_VAL(esp); /* 0x25112B4F: pop edi */ 1502 esi = POP32_VAL(esp); /* 0x25112B50: pop esi */ 1503 ebx = POP32_VAL(esp); /* 0x25112B51: pop ebx */ 1504 MEM32(FS_BASE + (0)) = ecx; /* 0x25112B52: mov dword ptr fs:[0], ecx */ 1505 esp = ebp; /* 0x25112B59: mov esp, ebp */ 1506 ebp = POP32_VAL(esp); /* 0x25112B5B: pop ebp */ 1507 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112B5C: ret 8 */ 1508 RECOMP_REGS_OUT(); 1509 } 1510 1511 void sub_25112B60(void) { 1512 int _fpu_cmp = 0; 1513 uint32_t _cf = 0; 1514 int _df = 1; 1515 uint32_t _flag_k = FK_NONE; 1516 uint32_t _flag_a = 0, _flag_b = 0; 1517 uint32_t _itail_tgt = 0; 1518 RECOMP_REGS_LOCALS 1519 RECOMP_ENTER(0x25112B60u); 1520 1521 L_25112B60: 1522 PUSH32(esp, ebp); /* 0x25112B60: push ebp */ 1523 ebp = esp; /* 0x25112B61: mov ebp, esp */ 1524 PUSH32(esp, esi); /* 0x25112B63: push esi */ 1525 esi = MEM32(ecx + 0x250); /* 0x25112B64: mov esi, dword ptr [ecx + 0x250] */ 1526 eax = MEM32(esi); /* 0x25112B6A: mov eax, dword ptr [esi] */ 1527 /* cmp eax, esi */ /* 0x25112B6C: cmp eax, esi */ 1528 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1530 _flag_k = FK_CMP; 1531 PUSH32(esp, edi); /* 0x25112B6E: push edi */ 1532 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112BC8; /* 0x25112B6F: je 0x25112bc8 */ 1533 L_25112B71: 1534 edi = MEM32(ebp + 0x8); /* 0x25112B71: mov edi, dword ptr [ebp + 8] */ 1535 L_25112B74: 1536 ecx = MEM32(eax + 0x20); /* 0x25112B74: mov ecx, dword ptr [eax + 0x20] */ 1537 edx = MEM32(eax + 0x24); /* 0x25112B77: mov edx, dword ptr [eax + 0x24] */ 1538 /* cmp ecx, edx */ /* 0x25112B7A: cmp ecx, edx */ 1539 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1541 _flag_k = FK_CMP; 1542 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112B89; /* 0x25112B7C: je 0x25112b89 */ 1543 L_25112B7E: 1544 /* cmp MEM32(ecx), edi */ /* 0x25112B7E: cmp dword ptr [ecx], edi */ 1545 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(edi); 1546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1547 _flag_k = FK_CMP; 1548 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112BD0; /* 0x25112B80: je 0x25112bd0 */ 1549 L_25112B82: 1550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1552 ecx = ecx + 4; /* 0x25112B82: add ecx, 4 */ 1553 _flag_k = FK_ADD; 1554 /* cmp ecx, edx */ /* 0x25112B85: cmp ecx, edx */ 1555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1557 _flag_k = FK_CMP; 1558 RECOMP_BACKEDGE(); 1559 if (CMP_NE(_flag_a, _flag_b)) goto L_25112B7E; /* 0x25112B87: jne 0x25112b7e */ 1560 L_25112B89: 1561 ecx = MEM32(eax + 0x8); /* 0x25112B89: mov ecx, dword ptr [eax + 8] */ 1562 SET_LO8(edx, MEM8(ecx + 0x2D)); /* 0x25112B8C: mov dl, byte ptr [ecx + 0x2d] */ 1563 /* test LO8(edx), LO8(edx) */ /* 0x25112B8F: test dl, dl */ 1564 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1565 _cf = 0; 1566 _flag_k = FK_NARROW(FK_TEST, 24); 1567 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112BAB; /* 0x25112B91: jne 0x25112bab */ 1568 L_25112B93: 1569 eax = ecx; /* 0x25112B93: mov eax, ecx */ 1570 ecx = MEM32(eax); /* 0x25112B95: mov ecx, dword ptr [eax] */ 1571 SET_LO8(edx, MEM8(ecx + 0x2D)); /* 0x25112B97: mov dl, byte ptr [ecx + 0x2d] */ 1572 /* test LO8(edx), LO8(edx) */ /* 0x25112B9A: test dl, dl */ 1573 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1574 _cf = 0; 1575 _flag_k = FK_NARROW(FK_TEST, 24); 1576 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112BC4; /* 0x25112B9C: jne 0x25112bc4 */ 1577 L_25112B9E: 1578 eax = ecx; /* 0x25112B9E: mov eax, ecx */ 1579 ecx = MEM32(eax); /* 0x25112BA0: mov ecx, dword ptr [eax] */ 1580 SET_LO8(edx, MEM8(ecx + 0x2D)); /* 0x25112BA2: mov dl, byte ptr [ecx + 0x2d] */ 1581 /* test LO8(edx), LO8(edx) */ /* 0x25112BA5: test dl, dl */ 1582 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1583 _cf = 0; 1584 _flag_k = FK_NARROW(FK_TEST, 24); 1585 RECOMP_BACKEDGE(); 1586 if (TEST_Z(_flag_a, _flag_b)) goto L_25112B9E; /* 0x25112BA7: je 0x25112b9e */ 1587 L_25112BA9: 1588 goto L_25112BC4; /* 0x25112BA9: jmp 0x25112bc4 */ 1589 L_25112BAB: 1590 ecx = MEM32(eax + 0x4); /* 0x25112BAB: mov ecx, dword ptr [eax + 4] */ 1591 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25112BAE: cmp eax, dword ptr [ecx + 8] */ 1592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1594 _flag_k = FK_CMP; 1595 if (CMP_NE(_flag_a, _flag_b)) goto L_25112BBD; /* 0x25112BB1: jne 0x25112bbd */ 1596 L_25112BB3: 1597 eax = ecx; /* 0x25112BB3: mov eax, ecx */ 1598 ecx = MEM32(ecx + 0x4); /* 0x25112BB5: mov ecx, dword ptr [ecx + 4] */ 1599 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25112BB8: cmp eax, dword ptr [ecx + 8] */ 1600 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1602 _flag_k = FK_CMP; 1603 RECOMP_BACKEDGE(); 1604 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112BB3; /* 0x25112BBB: je 0x25112bb3 */ 1605 L_25112BBD: 1606 /* cmp MEM32(eax + 0x8), ecx */ /* 0x25112BBD: cmp dword ptr [eax + 8], ecx */ 1607 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx); 1608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1609 _flag_k = FK_CMP; 1610 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112BC4; /* 0x25112BC0: je 0x25112bc4 */ 1611 L_25112BC2: 1612 eax = ecx; /* 0x25112BC2: mov eax, ecx */ 1613 L_25112BC4: 1614 /* cmp eax, esi */ /* 0x25112BC4: cmp eax, esi */ 1615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1617 _flag_k = FK_CMP; 1618 RECOMP_BACKEDGE(); 1619 if (CMP_NE(_flag_a, _flag_b)) goto L_25112B74; /* 0x25112BC6: jne 0x25112b74 */ 1620 L_25112BC8: 1621 edi = POP32_VAL(esp); /* 0x25112BC8: pop edi */ 1622 esi = POP32_VAL(esp); /* 0x25112BC9: pop esi */ 1623 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 1624 SET_LO8(eax, 0); /* 0x25112BCA: xor al, al */ 1625 _cf = 0; 1626 _flag_k = FK_NARROW(FK_TEST, 24); 1627 ebp = POP32_VAL(esp); /* 0x25112BCC: pop ebp */ 1628 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112BCD: ret 8 */ 1629 L_25112BD0: 1630 eax = MEM32(ebp + 0xC); /* 0x25112BD0: mov eax, dword ptr [ebp + 0xc] */ 1631 edi = POP32_VAL(esp); /* 0x25112BD3: pop edi */ 1632 esi = POP32_VAL(esp); /* 0x25112BD4: pop esi */ 1633 MEM32(ecx) = eax; /* 0x25112BD5: mov dword ptr [ecx], eax */ 1634 SET_LO8(eax, 1); /* 0x25112BD7: mov al, 1 */ 1635 ebp = POP32_VAL(esp); /* 0x25112BD9: pop ebp */ 1636 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25112BDA: ret 8 */ 1637 RECOMP_REGS_OUT(); 1638 } 1639 1640 void sub_25112BE0(void) { 1641 int _fpu_cmp = 0; 1642 uint32_t _cf = 0; 1643 int _df = 1; 1644 uint32_t _flag_k = FK_NONE; 1645 uint32_t _flag_a = 0, _flag_b = 0; 1646 uint32_t _itail_tgt = 0; 1647 RECOMP_REGS_LOCALS 1648 RECOMP_ENTER(0x25112BE0u); 1649 1650 L_25112BE0: 1651 PUSH32(esp, ebp); /* 0x25112BE0: push ebp */ 1652 ebp = esp; /* 0x25112BE1: mov ebp, esp */ 1653 PUSH32(esp, 0xFFFFFFFFu); /* 0x25112BE3: push -1 */ 1654 PUSH32(esp, 0x2514DADFu); /* 0x25112BE5: push 0x2514dadf */ 1655 eax = MEM32(FS_BASE + (0)); /* 0x25112BEA: mov eax, dword ptr fs:[0] */ 1656 PUSH32(esp, eax); /* 0x25112BF0: push eax */ 1657 MEM32(FS_BASE + (0)) = esp; /* 0x25112BF1: mov dword ptr fs:[0], esp */ 1658 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10Cu); 1659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1660 esp = esp - 0x10Cu; /* 0x25112BF8: sub esp, 0x10c */ 1661 _flag_k = FK_CMP; 1662 eax = MEM32(ecx + 0x25C); /* 0x25112BFE: mov eax, dword ptr [ecx + 0x25c] */ 1663 /* test eax, eax */ /* 0x25112C04: test eax, eax */ 1664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1665 _cf = 0; 1666 _flag_k = FK_TEST; 1667 PUSH32(esp, ebx); /* 0x25112C06: push ebx */ 1668 PUSH32(esp, esi); /* 0x25112C07: push esi */ 1669 PUSH32(esp, edi); /* 0x25112C08: push edi */ 1670 MEM32(ebp + (-0x14)) = ecx; /* 0x25112C09: mov dword ptr [ebp - 0x14], ecx */ 1671 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EF8; /* 0x25112C0C: je 0x25112ef8 */ 1672 L_25112C12: 1673 ebx = ecx + 0x3C; /* 0x25112C12: lea ebx, [ecx + 0x3c] */ 1674 ecx = ebx; /* 0x25112C15: mov ecx, ebx */ 1675 RECOMP_ICALL(0x250E2EC0u); /* 0x25112C17: call 0x250e2ec0 */ /* not lifted */ 1676 RECOMP_FLAGS_IN(); 1677 ecx = 0x10u; /* 0x25112C1C: mov ecx, 0x10 */ 1678 esi = eax; /* 0x25112C21: mov esi, eax */ 1679 edi = ebp + (-0xD8); /* 0x25112C23: lea edi, [ebp - 0xd8] */ 1680 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112C29: 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; } 1681 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112C2B: mov al, byte ptr [ebx + 0x132] */ 1682 /* test LO8(eax), LO8(eax) */ /* 0x25112C31: test al, al */ 1683 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1684 _cf = 0; 1685 _flag_k = FK_NARROW(FK_TEST, 24); 1686 MEM32(ebp + (-0x4)) = 0; /* 0x25112C33: mov dword ptr [ebp - 4], 0 */ 1687 if (TEST_Z(_flag_a, _flag_b)) goto L_25112C43; /* 0x25112C3A: je 0x25112c43 */ 1688 L_25112C3C: 1689 ecx = ebx; /* 0x25112C3C: mov ecx, ebx */ 1690 RECOMP_ICALL(0x250E2EE0u); /* 0x25112C3E: call 0x250e2ee0 */ /* not lifted */ 1691 RECOMP_FLAGS_IN(); 1692 L_25112C43: 1693 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112C43: fld dword ptr [ebx + 0x118] */ 1694 edi = MEM32(ebp + (-0x14)); /* 0x25112C49: mov edi, dword ptr [ebp - 0x14] */ 1695 fp_push(*(float*)&MEM32(0x251517A4)); /* 0x25112C4C: fld dword ptr [0x251517a4] */ 1696 eax = ebp + (-0x98); /* 0x25112C52: lea eax, [ebp - 0x98] */ 1697 _st[0] /= _st[1]; /* 0x25112C58: fdiv st(1) */ 1698 PUSH32(esp, eax); /* 0x25112C5A: push eax */ 1699 ecx = edi + 0x24C; /* 0x25112C5B: lea ecx, [edi + 0x24c] */ 1700 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x25112C61: fstp dword ptr [ebp - 0x10] */ 1701 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25112C64: fstp st(0) */ 1702 RECOMP_ICALL(0x25085270u); /* 0x25112C66: call 0x25085270 */ /* not lifted */ 1703 RECOMP_FLAGS_IN(); 1704 eax = MEM32(eax); /* 0x25112C6B: mov eax, dword ptr [eax] */ 1705 /* cmp eax, MEM32(edi + 0x250) */ /* 0x25112C6D: cmp eax, dword ptr [edi + 0x250] */ 1706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x250)); 1707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1708 _flag_k = FK_CMP; 1709 ecx = eax; /* 0x25112C73: mov ecx, eax */ 1710 MEM32(ebp + (-0x18)) = ecx; /* 0x25112C75: mov dword ptr [ebp - 0x18], ecx */ 1711 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112EF8; /* 0x25112C78: je 0x25112ef8 */ 1712 L_25112C7E: 1713 esi = ecx + 0xC; /* 0x25112C7E: lea esi, [ecx + 0xc] */ 1714 PUSH32(esp, esi); /* 0x25112C81: push esi */ 1715 ecx = ebp + (-0x78); /* 0x25112C82: lea ecx, [ebp - 0x78] */ 1716 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112C85: call dword ptr [0x2515113c] */ 1717 RECOMP_FLAGS_IN(); 1718 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 1719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1720 esi = esi + 0x10u; /* 0x25112C8B: add esi, 0x10 */ 1721 _flag_k = FK_ADD; 1722 PUSH32(esp, esi); /* 0x25112C8E: push esi */ 1723 ecx = ebp + (-0x68); /* 0x25112C8F: lea ecx, [ebp - 0x68] */ 1724 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112C92: mov byte ptr [ebp - 4], 1 */ 1725 RECOMP_ICALL(0x250DEC60u); /* 0x25112C96: call 0x250dec60 */ /* not lifted */ 1726 RECOMP_FLAGS_IN(); 1727 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x25112C9B: mov dword ptr [ebp - 0x58], 0x3f800000 */ 1728 MEM32(ebp + (-0x54)) = 0; /* 0x25112CA2: mov dword ptr [ebp - 0x54], 0 */ 1729 MEM32(ebp + (-0x50)) = 0; /* 0x25112CA9: mov dword ptr [ebp - 0x50], 0 */ 1730 MEM32(ebp + (-0x4C)) = 0; /* 0x25112CB0: mov dword ptr [ebp - 0x4c], 0 */ 1731 MEM32(ebp + (-0x48)) = 0; /* 0x25112CB7: mov dword ptr [ebp - 0x48], 0 */ 1732 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x25112CBE: mov dword ptr [ebp - 0x44], 0x3f800000 */ 1733 MEM32(ebp + (-0x40)) = 0; /* 0x25112CC5: mov dword ptr [ebp - 0x40], 0 */ 1734 MEM32(ebp + (-0x3C)) = 0; /* 0x25112CCC: mov dword ptr [ebp - 0x3c], 0 */ 1735 MEM32(ebp + (-0x38)) = 0; /* 0x25112CD3: mov dword ptr [ebp - 0x38], 0 */ 1736 MEM32(ebp + (-0x34)) = 0; /* 0x25112CDA: mov dword ptr [ebp - 0x34], 0 */ 1737 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x25112CE1: mov dword ptr [ebp - 0x30], 0x3f800000 */ 1738 MEM32(ebp + (-0x2C)) = 0; /* 0x25112CE8: mov dword ptr [ebp - 0x2c], 0 */ 1739 MEM32(ebp + (-0x28)) = 0; /* 0x25112CEF: mov dword ptr [ebp - 0x28], 0 */ 1740 MEM32(ebp + (-0x24)) = 0; /* 0x25112CF6: mov dword ptr [ebp - 0x24], 0 */ 1741 MEM32(ebp + (-0x20)) = 0; /* 0x25112CFD: mov dword ptr [ebp - 0x20], 0 */ 1742 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x25112D04: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 1743 eax = MEM32(ebp + (-0x74)); /* 0x25112D0B: mov eax, dword ptr [ebp - 0x74] */ 1744 /* test eax, eax */ /* 0x25112D0E: test eax, eax */ 1745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1746 _cf = 0; 1747 _flag_k = FK_TEST; 1748 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112D10: mov byte ptr [ebp - 4], 3 */ 1749 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112D1B; /* 0x25112D14: jne 0x25112d1b */ 1750 L_25112D16: 1751 eax = MEM32(0x251511E4); /* 0x25112D16: mov eax, dword ptr [0x251511e4] */ 1752 L_25112D1B: 1753 ecx = ebp + (-0x58); /* 0x25112D1B: lea ecx, [ebp - 0x58] */ 1754 PUSH32(esp, ecx); /* 0x25112D1E: push ecx */ 1755 PUSH32(esp, eax); /* 0x25112D1F: push eax */ 1756 ecx = edi; /* 0x25112D20: mov ecx, edi */ 1757 RECOMP_ICALL(0x25112790u); /* 0x25112D22: call 0x25112790 */ /* not lifted */ 1758 RECOMP_FLAGS_IN(); 1759 /* test LO8(eax), LO8(eax) */ /* 0x25112D27: test al, al */ 1760 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1761 _cf = 0; 1762 _flag_k = FK_NARROW(FK_TEST, 24); 1763 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA1; /* 0x25112D29: je 0x25112ea1 */ 1764 L_25112D2F: 1765 edx = ebp + (-0xD8); /* 0x25112D2F: lea edx, [ebp - 0xd8] */ 1766 PUSH32(esp, edx); /* 0x25112D35: push edx */ 1767 eax = ebp + (-0x118); /* 0x25112D36: lea eax, [ebp - 0x118] */ 1768 PUSH32(esp, eax); /* 0x25112D3C: push eax */ 1769 ecx = ebp + (-0x58); /* 0x25112D3D: lea ecx, [ebp - 0x58] */ 1770 RECOMP_ICALL(MEM32(0x25151524)); /* 0x25112D40: call dword ptr [0x25151524] */ 1771 RECOMP_FLAGS_IN(); 1772 esi = eax; /* 0x25112D46: mov esi, eax */ 1773 ecx = 0x10u; /* 0x25112D48: mov ecx, 0x10 */ 1774 edi = ebp + (-0x58); /* 0x25112D4D: lea edi, [ebp - 0x58] */ 1775 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112D50: 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; } 1776 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x25112D52: fld dword ptr [ebp - 0x58] */ 1777 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D55: fmul dword ptr [ebp - 0x10] */ 1778 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25112D58: fstp dword ptr [ebp - 0x58] */ 1779 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25112D5B: fld dword ptr [ebp - 0x54] */ 1780 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D5E: fmul dword ptr [ebp - 0x10] */ 1781 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25112D61: fstp dword ptr [ebp - 0x54] */ 1782 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x25112D64: fld dword ptr [ebp - 0x50] */ 1783 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D67: fmul dword ptr [ebp - 0x10] */ 1784 edi = MEM32(ebp + (-0x28)); /* 0x25112D6A: mov edi, dword ptr [ebp - 0x28] */ 1785 ecx = MEM32(ebp + (-0x24)); /* 0x25112D6D: mov ecx, dword ptr [ebp - 0x24] */ 1786 edx = MEM32(ebp + (-0x20)); /* 0x25112D70: mov edx, dword ptr [ebp - 0x20] */ 1787 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25112D73: fstp dword ptr [ebp - 0x50] */ 1788 eax = ebp + (-0x58); /* 0x25112D76: lea eax, [ebp - 0x58] */ 1789 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x25112D79: fld dword ptr [ebp - 0x48] */ 1790 MEM32(ebp + (-0x80)) = ecx; /* 0x25112D7C: mov dword ptr [ebp - 0x80], ecx */ 1791 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D7F: fmul dword ptr [ebp - 0x10] */ 1792 PUSH32(esp, eax); /* 0x25112D82: push eax */ 1793 ecx = ebp + (-0x94); /* 0x25112D83: lea ecx, [ebp - 0x94] */ 1794 MEM32(ebp + (-0x7C)) = edx; /* 0x25112D89: mov dword ptr [ebp - 0x7c], edx */ 1795 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25112D8C: fstp dword ptr [ebp - 0x48] */ 1796 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x25112D8F: fld dword ptr [ebp - 0x44] */ 1797 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D92: fmul dword ptr [ebp - 0x10] */ 1798 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x25112D95: fstp dword ptr [ebp - 0x44] */ 1799 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x25112D98: fld dword ptr [ebp - 0x40] */ 1800 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D9B: fmul dword ptr [ebp - 0x10] */ 1801 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25112D9E: fstp dword ptr [ebp - 0x40] */ 1802 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x25112DA1: fld dword ptr [ebp - 0x38] */ 1803 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DA4: fmul dword ptr [ebp - 0x10] */ 1804 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25112DA7: fstp dword ptr [ebp - 0x38] */ 1805 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x25112DAA: fld dword ptr [ebp - 0x34] */ 1806 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DAD: fmul dword ptr [ebp - 0x10] */ 1807 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25112DB0: fstp dword ptr [ebp - 0x34] */ 1808 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25112DB3: fld dword ptr [ebp - 0x30] */ 1809 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DB6: fmul dword ptr [ebp - 0x10] */ 1810 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25112DB9: fstp dword ptr [ebp - 0x30] */ 1811 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x25112DBC: fld dword ptr [ebp - 0x28] */ 1812 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DBF: fmul dword ptr [ebp - 0x10] */ 1813 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25112DC2: fstp dword ptr [ebp - 0x28] */ 1814 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25112DC5: fld dword ptr [ebp - 0x24] */ 1815 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DC8: fmul dword ptr [ebp - 0x10] */ 1816 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25112DCB: fstp dword ptr [ebp - 0x24] */ 1817 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25112DCE: fld dword ptr [ebp - 0x20] */ 1818 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DD1: fmul dword ptr [ebp - 0x10] */ 1819 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25112DD4: fstp dword ptr [ebp - 0x20] */ 1820 RECOMP_ICALL(MEM32(0x25151574)); /* 0x25112DD7: call dword ptr [0x25151574] */ 1821 RECOMP_FLAGS_IN(); 1822 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1823 esi = 0; /* 0x25112DDD: xor esi, esi */ 1824 _cf = 0; 1825 _flag_k = FK_TEST; 1826 L_25112DDF: 1827 eax = MEM32(ebp + (-0x64)); /* 0x25112DDF: mov eax, dword ptr [ebp - 0x64] */ 1828 /* test eax, eax */ /* 0x25112DE2: test eax, eax */ 1829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1830 _cf = 0; 1831 _flag_k = FK_TEST; 1832 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DE4: je 0x25112ea6 */ 1833 L_25112DEA: 1834 ecx = MEM32(ebp + (-0x60)); /* 0x25112DEA: mov ecx, dword ptr [ebp - 0x60] */ 1835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1837 ecx = ecx - eax; /* 0x25112DED: sub ecx, eax */ 1838 _flag_k = FK_CMP; 1839 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112DEF: sar ecx, 2 */ 1840 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1841 ecx = (uint32_t)((int32_t)ecx >> 2u); 1842 /* cmp esi, ecx */ /* 0x25112DF2: cmp esi, ecx */ 1843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 1844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1845 _flag_k = FK_CMP; 1846 if (CMP_AE(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DF4: jae 0x25112ea6 */ 1847 L_25112DFA: 1848 edx = MEM32(eax + esi * 4); /* 0x25112DFA: mov edx, dword ptr [eax + esi*4] */ 1849 eax = MEM32(ebp + (-0x14)); /* 0x25112DFD: mov eax, dword ptr [ebp - 0x14] */ 1850 SET_LO8(ecx, MEM8(eax + 0x15C)); /* 0x25112E00: mov cl, byte ptr [eax + 0x15c] */ 1851 MEM8(edx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25112E06: mov byte ptr [edx + 0x120], cl */ 1852 edx = MEM32(ebp + (-0x64)); /* 0x25112E0C: mov edx, dword ptr [ebp - 0x64] */ 1853 ecx = MEM32(edx + esi * 4); /* 0x25112E0F: mov ecx, dword ptr [edx + esi*4] */ 1854 edx = MEM32(ebp + (-0x80)); /* 0x25112E12: mov edx, dword ptr [ebp - 0x80] */ 1855 eax = ecx + 0x78; /* 0x25112E15: lea eax, [ecx + 0x78] */ 1856 MEM32(eax) = edi; /* 0x25112E18: mov dword ptr [eax], edi */ 1857 MEM32(eax + 0x4) = edx; /* 0x25112E1A: mov dword ptr [eax + 4], edx */ 1858 edx = MEM32(ebp + (-0x7C)); /* 0x25112E1D: mov edx, dword ptr [ebp - 0x7c] */ 1859 PUSH32(esp, 1); /* 0x25112E20: push 1 */ 1860 MEM32(eax + 0x8) = edx; /* 0x25112E22: mov dword ptr [eax + 8], edx */ 1861 eax = MEM32(ecx); /* 0x25112E25: mov eax, dword ptr [ecx] */ 1862 PUSH32(esp, 1); /* 0x25112E27: push 1 */ 1863 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25112E29: call dword ptr [eax + 0x2c] */ 1864 RECOMP_FLAGS_IN(); 1865 ecx = MEM32(ebp + (-0x64)); /* 0x25112E2C: mov ecx, dword ptr [ebp - 0x64] */ 1866 ecx = MEM32(ecx + esi * 4); /* 0x25112E2F: mov ecx, dword ptr [ecx + esi*4] */ 1867 eax = MEM32(ebp + (-0x94)); /* 0x25112E32: mov eax, dword ptr [ebp - 0x94] */ 1868 edx = ecx + 0x84; /* 0x25112E38: lea edx, [ecx + 0x84] */ 1869 MEM32(edx) = eax; /* 0x25112E3E: mov dword ptr [edx], eax */ 1870 eax = MEM32(ebp + (-0x90)); /* 0x25112E40: mov eax, dword ptr [ebp - 0x90] */ 1871 MEM32(edx + 0x4) = eax; /* 0x25112E46: mov dword ptr [edx + 4], eax */ 1872 eax = MEM32(ebp + (-0x8C)); /* 0x25112E49: mov eax, dword ptr [ebp - 0x8c] */ 1873 MEM32(edx + 0x8) = eax; /* 0x25112E4F: mov dword ptr [edx + 8], eax */ 1874 eax = MEM32(ebp + (-0x88)); /* 0x25112E52: mov eax, dword ptr [ebp - 0x88] */ 1875 PUSH32(esp, 1); /* 0x25112E58: push 1 */ 1876 MEM32(edx + 0xC) = eax; /* 0x25112E5A: mov dword ptr [edx + 0xc], eax */ 1877 edx = MEM32(ecx); /* 0x25112E5D: mov edx, dword ptr [ecx] */ 1878 PUSH32(esp, 2); /* 0x25112E5F: push 2 */ 1879 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E61: call dword ptr [edx + 0x2c] */ 1880 RECOMP_FLAGS_IN(); 1881 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112E64: mov al, byte ptr [ebx + 0x132] */ 1882 /* test LO8(eax), LO8(eax) */ /* 0x25112E6A: test al, al */ 1883 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1884 _cf = 0; 1885 _flag_k = FK_NARROW(FK_TEST, 24); 1886 if (TEST_Z(_flag_a, _flag_b)) goto L_25112E75; /* 0x25112E6C: je 0x25112e75 */ 1887 L_25112E6E: 1888 ecx = ebx; /* 0x25112E6E: mov ecx, ebx */ 1889 RECOMP_ICALL(0x250E2EE0u); /* 0x25112E70: call 0x250e2ee0 */ /* not lifted */ 1890 RECOMP_FLAGS_IN(); 1891 L_25112E75: 1892 eax = MEM32(ebp + (-0x64)); /* 0x25112E75: mov eax, dword ptr [ebp - 0x64] */ 1893 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112E78: fld dword ptr [ebx + 0x118] */ 1894 ecx = MEM32(eax + esi * 4); /* 0x25112E7E: mov ecx, dword ptr [eax + esi*4] */ 1895 edx = MEM32(ecx); /* 0x25112E81: mov edx, dword ptr [ecx] */ 1896 PUSH32(esp, 1); /* 0x25112E83: push 1 */ 1897 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x94) = _v; } /* 0x25112E85: fstp dword ptr [ecx + 0x94] */ 1898 PUSH32(esp, 4); /* 0x25112E8B: push 4 */ 1899 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E8D: call dword ptr [edx + 0x2c] */ 1900 RECOMP_FLAGS_IN(); 1901 eax = MEM32(ebp + (-0x64)); /* 0x25112E90: mov eax, dword ptr [ebp - 0x64] */ 1902 ecx = MEM32(eax + esi * 4); /* 0x25112E93: mov ecx, dword ptr [eax + esi*4] */ 1903 edx = MEM32(ecx); /* 0x25112E96: mov edx, dword ptr [ecx] */ 1904 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x25112E98: call dword ptr [edx + 0x20] */ 1905 RECOMP_FLAGS_IN(); 1906 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 1907 esi = esi + 1; /* 0x25112E9B: inc esi */ 1908 _flag_k = FK_INC; 1909 RECOMP_BACKEDGE(); 1910 goto L_25112DDF; /* 0x25112E9C: jmp 0x25112ddf */ 1911 L_25112EA1: 1912 eax = MEM32(ebp + (-0x64)); /* 0x25112EA1: mov eax, dword ptr [ebp - 0x64] */ 1913 goto L_25112EA9; /* 0x25112EA4: jmp 0x25112ea9 */ 1914 L_25112EA6: 1915 edi = MEM32(ebp + (-0x14)); /* 0x25112EA6: mov edi, dword ptr [ebp - 0x14] */ 1916 L_25112EA9: 1917 ecx = MEM32(ebp + (-0x60)); /* 0x25112EA9: mov ecx, dword ptr [ebp - 0x60] */ 1918 PUSH32(esp, ecx); /* 0x25112EAC: push ecx */ 1919 PUSH32(esp, eax); /* 0x25112EAD: push eax */ 1920 ecx = ebp + (-0x68); /* 0x25112EAE: lea ecx, [ebp - 0x68] */ 1921 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x25112EB1: mov byte ptr [ebp - 4], 4 */ 1922 RECOMP_ICALL(0x25093260u); /* 0x25112EB5: call 0x25093260 */ /* not lifted */ 1923 RECOMP_FLAGS_IN(); 1924 edx = MEM32(ebp + (-0x64)); /* 0x25112EBA: mov edx, dword ptr [ebp - 0x64] */ 1925 PUSH32(esp, edx); /* 0x25112EBD: push edx */ 1926 RECOMP_ICALL(0x25137EECu); /* 0x25112EBE: call 0x25137eec */ /* not lifted */ 1927 RECOMP_FLAGS_IN(); 1928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1929 eax = 0; /* 0x25112EC3: xor eax, eax */ 1930 _cf = 0; 1931 _flag_k = FK_TEST; 1932 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1934 esp = esp + 4; /* 0x25112EC5: add esp, 4 */ 1935 _flag_k = FK_ADD; 1936 PUSH32(esp, 1); /* 0x25112EC8: push 1 */ 1937 ecx = ebp + (-0x78); /* 0x25112ECA: lea ecx, [ebp - 0x78] */ 1938 MEM32(ebp + (-0x64)) = eax; /* 0x25112ECD: mov dword ptr [ebp - 0x64], eax */ 1939 MEM32(ebp + (-0x60)) = eax; /* 0x25112ED0: mov dword ptr [ebp - 0x60], eax */ 1940 MEM32(ebp + (-0x5C)) = eax; /* 0x25112ED3: mov dword ptr [ebp - 0x5c], eax */ 1941 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x25112ED6: mov byte ptr [ebp - 4], al */ 1942 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112ED9: call dword ptr [0x25151208] */ 1943 RECOMP_FLAGS_IN(); 1944 ecx = ebp + (-0x18); /* 0x25112EDF: lea ecx, [ebp - 0x18] */ 1945 RECOMP_ICALL(0x250D1500u); /* 0x25112EE2: call 0x250d1500 */ /* not lifted */ 1946 RECOMP_FLAGS_IN(); 1947 eax = MEM32(edi + 0x250); /* 0x25112EE7: mov eax, dword ptr [edi + 0x250] */ 1948 ecx = MEM32(ebp + (-0x18)); /* 0x25112EED: mov ecx, dword ptr [ebp - 0x18] */ 1949 /* cmp ecx, eax */ /* 0x25112EF0: cmp ecx, eax */ 1950 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1952 _flag_k = FK_CMP; 1953 RECOMP_BACKEDGE(); 1954 if (CMP_NE(_flag_a, _flag_b)) goto L_25112C7E; /* 0x25112EF2: jne 0x25112c7e */ 1955 L_25112EF8: 1956 ecx = MEM32(ebp + (-0xC)); /* 0x25112EF8: mov ecx, dword ptr [ebp - 0xc] */ 1957 edi = POP32_VAL(esp); /* 0x25112EFB: pop edi */ 1958 esi = POP32_VAL(esp); /* 0x25112EFC: pop esi */ 1959 ebx = POP32_VAL(esp); /* 0x25112EFD: pop ebx */ 1960 MEM32(FS_BASE + (0)) = ecx; /* 0x25112EFE: mov dword ptr fs:[0], ecx */ 1961 esp = ebp; /* 0x25112F05: mov esp, ebp */ 1962 ebp = POP32_VAL(esp); /* 0x25112F07: pop ebp */ 1963 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F08: ret */ 1964 RECOMP_REGS_OUT(); 1965 } 1966 1967 void sub_25112C7E(void) { 1968 int _fpu_cmp = 0; 1969 uint32_t _cf = 0; 1970 int _df = 1; 1971 uint32_t _flag_k = FK_NONE; 1972 uint32_t _flag_a = 0, _flag_b = 0; 1973 uint32_t _itail_tgt = 0; 1974 RECOMP_REGS_LOCALS 1975 RECOMP_ENTER(0x25112C7Eu); 1976 1977 L_25112C7E: 1978 esi = ecx + 0xC; /* 0x25112C7E: lea esi, [ecx + 0xc] */ 1979 PUSH32(esp, esi); /* 0x25112C81: push esi */ 1980 ecx = ebp + (-0x78); /* 0x25112C82: lea ecx, [ebp - 0x78] */ 1981 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112C85: call dword ptr [0x2515113c] */ 1982 RECOMP_FLAGS_IN(); 1983 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 1984 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1985 esi = esi + 0x10u; /* 0x25112C8B: add esi, 0x10 */ 1986 _flag_k = FK_ADD; 1987 PUSH32(esp, esi); /* 0x25112C8E: push esi */ 1988 ecx = ebp + (-0x68); /* 0x25112C8F: lea ecx, [ebp - 0x68] */ 1989 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112C92: mov byte ptr [ebp - 4], 1 */ 1990 RECOMP_ICALL(0x250DEC60u); /* 0x25112C96: call 0x250dec60 */ /* not lifted */ 1991 RECOMP_FLAGS_IN(); 1992 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x25112C9B: mov dword ptr [ebp - 0x58], 0x3f800000 */ 1993 MEM32(ebp + (-0x54)) = 0; /* 0x25112CA2: mov dword ptr [ebp - 0x54], 0 */ 1994 MEM32(ebp + (-0x50)) = 0; /* 0x25112CA9: mov dword ptr [ebp - 0x50], 0 */ 1995 MEM32(ebp + (-0x4C)) = 0; /* 0x25112CB0: mov dword ptr [ebp - 0x4c], 0 */ 1996 MEM32(ebp + (-0x48)) = 0; /* 0x25112CB7: mov dword ptr [ebp - 0x48], 0 */ 1997 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x25112CBE: mov dword ptr [ebp - 0x44], 0x3f800000 */ 1998 MEM32(ebp + (-0x40)) = 0; /* 0x25112CC5: mov dword ptr [ebp - 0x40], 0 */ 1999 MEM32(ebp + (-0x3C)) = 0; /* 0x25112CCC: mov dword ptr [ebp - 0x3c], 0 */ 2000 MEM32(ebp + (-0x38)) = 0; /* 0x25112CD3: mov dword ptr [ebp - 0x38], 0 */ 2001 MEM32(ebp + (-0x34)) = 0; /* 0x25112CDA: mov dword ptr [ebp - 0x34], 0 */ 2002 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x25112CE1: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2003 MEM32(ebp + (-0x2C)) = 0; /* 0x25112CE8: mov dword ptr [ebp - 0x2c], 0 */ 2004 MEM32(ebp + (-0x28)) = 0; /* 0x25112CEF: mov dword ptr [ebp - 0x28], 0 */ 2005 MEM32(ebp + (-0x24)) = 0; /* 0x25112CF6: mov dword ptr [ebp - 0x24], 0 */ 2006 MEM32(ebp + (-0x20)) = 0; /* 0x25112CFD: mov dword ptr [ebp - 0x20], 0 */ 2007 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x25112D04: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 2008 eax = MEM32(ebp + (-0x74)); /* 0x25112D0B: mov eax, dword ptr [ebp - 0x74] */ 2009 /* test eax, eax */ /* 0x25112D0E: test eax, eax */ 2010 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2011 _cf = 0; 2012 _flag_k = FK_TEST; 2013 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112D10: mov byte ptr [ebp - 4], 3 */ 2014 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112D1B; /* 0x25112D14: jne 0x25112d1b */ 2015 L_25112D16: 2016 eax = MEM32(0x251511E4); /* 0x25112D16: mov eax, dword ptr [0x251511e4] */ 2017 L_25112D1B: 2018 ecx = ebp + (-0x58); /* 0x25112D1B: lea ecx, [ebp - 0x58] */ 2019 PUSH32(esp, ecx); /* 0x25112D1E: push ecx */ 2020 PUSH32(esp, eax); /* 0x25112D1F: push eax */ 2021 ecx = edi; /* 0x25112D20: mov ecx, edi */ 2022 RECOMP_ICALL(0x25112790u); /* 0x25112D22: call 0x25112790 */ /* not lifted */ 2023 RECOMP_FLAGS_IN(); 2024 /* test LO8(eax), LO8(eax) */ /* 0x25112D27: test al, al */ 2025 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2026 _cf = 0; 2027 _flag_k = FK_NARROW(FK_TEST, 24); 2028 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA1; /* 0x25112D29: je 0x25112ea1 */ 2029 L_25112D2F: 2030 edx = ebp + (-0xD8); /* 0x25112D2F: lea edx, [ebp - 0xd8] */ 2031 PUSH32(esp, edx); /* 0x25112D35: push edx */ 2032 eax = ebp + (-0x118); /* 0x25112D36: lea eax, [ebp - 0x118] */ 2033 PUSH32(esp, eax); /* 0x25112D3C: push eax */ 2034 ecx = ebp + (-0x58); /* 0x25112D3D: lea ecx, [ebp - 0x58] */ 2035 RECOMP_ICALL(MEM32(0x25151524)); /* 0x25112D40: call dword ptr [0x25151524] */ 2036 RECOMP_FLAGS_IN(); 2037 esi = eax; /* 0x25112D46: mov esi, eax */ 2038 ecx = 0x10u; /* 0x25112D48: mov ecx, 0x10 */ 2039 edi = ebp + (-0x58); /* 0x25112D4D: lea edi, [ebp - 0x58] */ 2040 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112D50: 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; } 2041 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x25112D52: fld dword ptr [ebp - 0x58] */ 2042 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D55: fmul dword ptr [ebp - 0x10] */ 2043 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25112D58: fstp dword ptr [ebp - 0x58] */ 2044 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25112D5B: fld dword ptr [ebp - 0x54] */ 2045 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D5E: fmul dword ptr [ebp - 0x10] */ 2046 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25112D61: fstp dword ptr [ebp - 0x54] */ 2047 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x25112D64: fld dword ptr [ebp - 0x50] */ 2048 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D67: fmul dword ptr [ebp - 0x10] */ 2049 edi = MEM32(ebp + (-0x28)); /* 0x25112D6A: mov edi, dword ptr [ebp - 0x28] */ 2050 ecx = MEM32(ebp + (-0x24)); /* 0x25112D6D: mov ecx, dword ptr [ebp - 0x24] */ 2051 edx = MEM32(ebp + (-0x20)); /* 0x25112D70: mov edx, dword ptr [ebp - 0x20] */ 2052 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25112D73: fstp dword ptr [ebp - 0x50] */ 2053 eax = ebp + (-0x58); /* 0x25112D76: lea eax, [ebp - 0x58] */ 2054 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x25112D79: fld dword ptr [ebp - 0x48] */ 2055 MEM32(ebp + (-0x80)) = ecx; /* 0x25112D7C: mov dword ptr [ebp - 0x80], ecx */ 2056 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D7F: fmul dword ptr [ebp - 0x10] */ 2057 PUSH32(esp, eax); /* 0x25112D82: push eax */ 2058 ecx = ebp + (-0x94); /* 0x25112D83: lea ecx, [ebp - 0x94] */ 2059 MEM32(ebp + (-0x7C)) = edx; /* 0x25112D89: mov dword ptr [ebp - 0x7c], edx */ 2060 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25112D8C: fstp dword ptr [ebp - 0x48] */ 2061 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x25112D8F: fld dword ptr [ebp - 0x44] */ 2062 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D92: fmul dword ptr [ebp - 0x10] */ 2063 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x25112D95: fstp dword ptr [ebp - 0x44] */ 2064 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x25112D98: fld dword ptr [ebp - 0x40] */ 2065 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D9B: fmul dword ptr [ebp - 0x10] */ 2066 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25112D9E: fstp dword ptr [ebp - 0x40] */ 2067 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x25112DA1: fld dword ptr [ebp - 0x38] */ 2068 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DA4: fmul dword ptr [ebp - 0x10] */ 2069 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25112DA7: fstp dword ptr [ebp - 0x38] */ 2070 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x25112DAA: fld dword ptr [ebp - 0x34] */ 2071 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DAD: fmul dword ptr [ebp - 0x10] */ 2072 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25112DB0: fstp dword ptr [ebp - 0x34] */ 2073 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25112DB3: fld dword ptr [ebp - 0x30] */ 2074 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DB6: fmul dword ptr [ebp - 0x10] */ 2075 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25112DB9: fstp dword ptr [ebp - 0x30] */ 2076 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x25112DBC: fld dword ptr [ebp - 0x28] */ 2077 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DBF: fmul dword ptr [ebp - 0x10] */ 2078 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25112DC2: fstp dword ptr [ebp - 0x28] */ 2079 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25112DC5: fld dword ptr [ebp - 0x24] */ 2080 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DC8: fmul dword ptr [ebp - 0x10] */ 2081 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25112DCB: fstp dword ptr [ebp - 0x24] */ 2082 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25112DCE: fld dword ptr [ebp - 0x20] */ 2083 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DD1: fmul dword ptr [ebp - 0x10] */ 2084 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25112DD4: fstp dword ptr [ebp - 0x20] */ 2085 RECOMP_ICALL(MEM32(0x25151574)); /* 0x25112DD7: call dword ptr [0x25151574] */ 2086 RECOMP_FLAGS_IN(); 2087 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2088 esi = 0; /* 0x25112DDD: xor esi, esi */ 2089 _cf = 0; 2090 _flag_k = FK_TEST; 2091 L_25112DDF: 2092 eax = MEM32(ebp + (-0x64)); /* 0x25112DDF: mov eax, dword ptr [ebp - 0x64] */ 2093 /* test eax, eax */ /* 0x25112DE2: test eax, eax */ 2094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2095 _cf = 0; 2096 _flag_k = FK_TEST; 2097 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DE4: je 0x25112ea6 */ 2098 L_25112DEA: 2099 ecx = MEM32(ebp + (-0x60)); /* 0x25112DEA: mov ecx, dword ptr [ebp - 0x60] */ 2100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2102 ecx = ecx - eax; /* 0x25112DED: sub ecx, eax */ 2103 _flag_k = FK_CMP; 2104 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112DEF: sar ecx, 2 */ 2105 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2106 ecx = (uint32_t)((int32_t)ecx >> 2u); 2107 /* cmp esi, ecx */ /* 0x25112DF2: cmp esi, ecx */ 2108 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2110 _flag_k = FK_CMP; 2111 if (CMP_AE(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DF4: jae 0x25112ea6 */ 2112 L_25112DFA: 2113 edx = MEM32(eax + esi * 4); /* 0x25112DFA: mov edx, dword ptr [eax + esi*4] */ 2114 eax = MEM32(ebp + (-0x14)); /* 0x25112DFD: mov eax, dword ptr [ebp - 0x14] */ 2115 SET_LO8(ecx, MEM8(eax + 0x15C)); /* 0x25112E00: mov cl, byte ptr [eax + 0x15c] */ 2116 MEM8(edx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25112E06: mov byte ptr [edx + 0x120], cl */ 2117 edx = MEM32(ebp + (-0x64)); /* 0x25112E0C: mov edx, dword ptr [ebp - 0x64] */ 2118 ecx = MEM32(edx + esi * 4); /* 0x25112E0F: mov ecx, dword ptr [edx + esi*4] */ 2119 edx = MEM32(ebp + (-0x80)); /* 0x25112E12: mov edx, dword ptr [ebp - 0x80] */ 2120 eax = ecx + 0x78; /* 0x25112E15: lea eax, [ecx + 0x78] */ 2121 MEM32(eax) = edi; /* 0x25112E18: mov dword ptr [eax], edi */ 2122 MEM32(eax + 0x4) = edx; /* 0x25112E1A: mov dword ptr [eax + 4], edx */ 2123 edx = MEM32(ebp + (-0x7C)); /* 0x25112E1D: mov edx, dword ptr [ebp - 0x7c] */ 2124 PUSH32(esp, 1); /* 0x25112E20: push 1 */ 2125 MEM32(eax + 0x8) = edx; /* 0x25112E22: mov dword ptr [eax + 8], edx */ 2126 eax = MEM32(ecx); /* 0x25112E25: mov eax, dword ptr [ecx] */ 2127 PUSH32(esp, 1); /* 0x25112E27: push 1 */ 2128 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25112E29: call dword ptr [eax + 0x2c] */ 2129 RECOMP_FLAGS_IN(); 2130 ecx = MEM32(ebp + (-0x64)); /* 0x25112E2C: mov ecx, dword ptr [ebp - 0x64] */ 2131 ecx = MEM32(ecx + esi * 4); /* 0x25112E2F: mov ecx, dword ptr [ecx + esi*4] */ 2132 eax = MEM32(ebp + (-0x94)); /* 0x25112E32: mov eax, dword ptr [ebp - 0x94] */ 2133 edx = ecx + 0x84; /* 0x25112E38: lea edx, [ecx + 0x84] */ 2134 MEM32(edx) = eax; /* 0x25112E3E: mov dword ptr [edx], eax */ 2135 eax = MEM32(ebp + (-0x90)); /* 0x25112E40: mov eax, dword ptr [ebp - 0x90] */ 2136 MEM32(edx + 0x4) = eax; /* 0x25112E46: mov dword ptr [edx + 4], eax */ 2137 eax = MEM32(ebp + (-0x8C)); /* 0x25112E49: mov eax, dword ptr [ebp - 0x8c] */ 2138 MEM32(edx + 0x8) = eax; /* 0x25112E4F: mov dword ptr [edx + 8], eax */ 2139 eax = MEM32(ebp + (-0x88)); /* 0x25112E52: mov eax, dword ptr [ebp - 0x88] */ 2140 PUSH32(esp, 1); /* 0x25112E58: push 1 */ 2141 MEM32(edx + 0xC) = eax; /* 0x25112E5A: mov dword ptr [edx + 0xc], eax */ 2142 edx = MEM32(ecx); /* 0x25112E5D: mov edx, dword ptr [ecx] */ 2143 PUSH32(esp, 2); /* 0x25112E5F: push 2 */ 2144 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E61: call dword ptr [edx + 0x2c] */ 2145 RECOMP_FLAGS_IN(); 2146 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112E64: mov al, byte ptr [ebx + 0x132] */ 2147 /* test LO8(eax), LO8(eax) */ /* 0x25112E6A: test al, al */ 2148 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2149 _cf = 0; 2150 _flag_k = FK_NARROW(FK_TEST, 24); 2151 if (TEST_Z(_flag_a, _flag_b)) goto L_25112E75; /* 0x25112E6C: je 0x25112e75 */ 2152 L_25112E6E: 2153 ecx = ebx; /* 0x25112E6E: mov ecx, ebx */ 2154 RECOMP_ICALL(0x250E2EE0u); /* 0x25112E70: call 0x250e2ee0 */ /* not lifted */ 2155 RECOMP_FLAGS_IN(); 2156 L_25112E75: 2157 eax = MEM32(ebp + (-0x64)); /* 0x25112E75: mov eax, dword ptr [ebp - 0x64] */ 2158 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112E78: fld dword ptr [ebx + 0x118] */ 2159 ecx = MEM32(eax + esi * 4); /* 0x25112E7E: mov ecx, dword ptr [eax + esi*4] */ 2160 edx = MEM32(ecx); /* 0x25112E81: mov edx, dword ptr [ecx] */ 2161 PUSH32(esp, 1); /* 0x25112E83: push 1 */ 2162 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x94) = _v; } /* 0x25112E85: fstp dword ptr [ecx + 0x94] */ 2163 PUSH32(esp, 4); /* 0x25112E8B: push 4 */ 2164 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E8D: call dword ptr [edx + 0x2c] */ 2165 RECOMP_FLAGS_IN(); 2166 eax = MEM32(ebp + (-0x64)); /* 0x25112E90: mov eax, dword ptr [ebp - 0x64] */ 2167 ecx = MEM32(eax + esi * 4); /* 0x25112E93: mov ecx, dword ptr [eax + esi*4] */ 2168 edx = MEM32(ecx); /* 0x25112E96: mov edx, dword ptr [ecx] */ 2169 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x25112E98: call dword ptr [edx + 0x20] */ 2170 RECOMP_FLAGS_IN(); 2171 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2172 esi = esi + 1; /* 0x25112E9B: inc esi */ 2173 _flag_k = FK_INC; 2174 RECOMP_BACKEDGE(); 2175 goto L_25112DDF; /* 0x25112E9C: jmp 0x25112ddf */ 2176 L_25112EA1: 2177 eax = MEM32(ebp + (-0x64)); /* 0x25112EA1: mov eax, dword ptr [ebp - 0x64] */ 2178 goto L_25112EA9; /* 0x25112EA4: jmp 0x25112ea9 */ 2179 L_25112EA6: 2180 edi = MEM32(ebp + (-0x14)); /* 0x25112EA6: mov edi, dword ptr [ebp - 0x14] */ 2181 L_25112EA9: 2182 ecx = MEM32(ebp + (-0x60)); /* 0x25112EA9: mov ecx, dword ptr [ebp - 0x60] */ 2183 PUSH32(esp, ecx); /* 0x25112EAC: push ecx */ 2184 PUSH32(esp, eax); /* 0x25112EAD: push eax */ 2185 ecx = ebp + (-0x68); /* 0x25112EAE: lea ecx, [ebp - 0x68] */ 2186 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x25112EB1: mov byte ptr [ebp - 4], 4 */ 2187 RECOMP_ICALL(0x25093260u); /* 0x25112EB5: call 0x25093260 */ /* not lifted */ 2188 RECOMP_FLAGS_IN(); 2189 edx = MEM32(ebp + (-0x64)); /* 0x25112EBA: mov edx, dword ptr [ebp - 0x64] */ 2190 PUSH32(esp, edx); /* 0x25112EBD: push edx */ 2191 RECOMP_ICALL(0x25137EECu); /* 0x25112EBE: call 0x25137eec */ /* not lifted */ 2192 RECOMP_FLAGS_IN(); 2193 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2194 eax = 0; /* 0x25112EC3: xor eax, eax */ 2195 _cf = 0; 2196 _flag_k = FK_TEST; 2197 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2198 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2199 esp = esp + 4; /* 0x25112EC5: add esp, 4 */ 2200 _flag_k = FK_ADD; 2201 PUSH32(esp, 1); /* 0x25112EC8: push 1 */ 2202 ecx = ebp + (-0x78); /* 0x25112ECA: lea ecx, [ebp - 0x78] */ 2203 MEM32(ebp + (-0x64)) = eax; /* 0x25112ECD: mov dword ptr [ebp - 0x64], eax */ 2204 MEM32(ebp + (-0x60)) = eax; /* 0x25112ED0: mov dword ptr [ebp - 0x60], eax */ 2205 MEM32(ebp + (-0x5C)) = eax; /* 0x25112ED3: mov dword ptr [ebp - 0x5c], eax */ 2206 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x25112ED6: mov byte ptr [ebp - 4], al */ 2207 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112ED9: call dword ptr [0x25151208] */ 2208 RECOMP_FLAGS_IN(); 2209 ecx = ebp + (-0x18); /* 0x25112EDF: lea ecx, [ebp - 0x18] */ 2210 RECOMP_ICALL(0x250D1500u); /* 0x25112EE2: call 0x250d1500 */ /* not lifted */ 2211 RECOMP_FLAGS_IN(); 2212 eax = MEM32(edi + 0x250); /* 0x25112EE7: mov eax, dword ptr [edi + 0x250] */ 2213 ecx = MEM32(ebp + (-0x18)); /* 0x25112EED: mov ecx, dword ptr [ebp - 0x18] */ 2214 /* cmp ecx, eax */ /* 0x25112EF0: cmp ecx, eax */ 2215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2217 _flag_k = FK_CMP; 2218 RECOMP_BACKEDGE(); 2219 if (CMP_NE(_flag_a, _flag_b)) goto L_25112C7E; /* 0x25112EF2: jne 0x25112c7e */ 2220 L_25112EF8: 2221 ecx = MEM32(ebp + (-0xC)); /* 0x25112EF8: mov ecx, dword ptr [ebp - 0xc] */ 2222 edi = POP32_VAL(esp); /* 0x25112EFB: pop edi */ 2223 esi = POP32_VAL(esp); /* 0x25112EFC: pop esi */ 2224 ebx = POP32_VAL(esp); /* 0x25112EFD: pop ebx */ 2225 MEM32(FS_BASE + (0)) = ecx; /* 0x25112EFE: mov dword ptr fs:[0], ecx */ 2226 esp = ebp; /* 0x25112F05: mov esp, ebp */ 2227 ebp = POP32_VAL(esp); /* 0x25112F07: pop ebp */ 2228 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F08: ret */ 2229 RECOMP_REGS_OUT(); 2230 } 2231 2232 void sub_25112DDF(void) { 2233 int _fpu_cmp = 0; 2234 uint32_t _cf = 0; 2235 int _df = 1; 2236 uint32_t _flag_k = FK_NONE; 2237 uint32_t _flag_a = 0, _flag_b = 0; 2238 uint32_t _itail_tgt = 0; 2239 RECOMP_REGS_LOCALS 2240 RECOMP_ENTER(0x25112DDFu); 2241 2242 goto L_25112DDF; 2243 L_25112C7E: 2244 esi = ecx + 0xC; /* 0x25112C7E: lea esi, [ecx + 0xc] */ 2245 PUSH32(esp, esi); /* 0x25112C81: push esi */ 2246 ecx = ebp + (-0x78); /* 0x25112C82: lea ecx, [ebp - 0x78] */ 2247 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112C85: call dword ptr [0x2515113c] */ 2248 RECOMP_FLAGS_IN(); 2249 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2251 esi = esi + 0x10u; /* 0x25112C8B: add esi, 0x10 */ 2252 _flag_k = FK_ADD; 2253 PUSH32(esp, esi); /* 0x25112C8E: push esi */ 2254 ecx = ebp + (-0x68); /* 0x25112C8F: lea ecx, [ebp - 0x68] */ 2255 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112C92: mov byte ptr [ebp - 4], 1 */ 2256 RECOMP_ICALL(0x250DEC60u); /* 0x25112C96: call 0x250dec60 */ /* not lifted */ 2257 RECOMP_FLAGS_IN(); 2258 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x25112C9B: mov dword ptr [ebp - 0x58], 0x3f800000 */ 2259 MEM32(ebp + (-0x54)) = 0; /* 0x25112CA2: mov dword ptr [ebp - 0x54], 0 */ 2260 MEM32(ebp + (-0x50)) = 0; /* 0x25112CA9: mov dword ptr [ebp - 0x50], 0 */ 2261 MEM32(ebp + (-0x4C)) = 0; /* 0x25112CB0: mov dword ptr [ebp - 0x4c], 0 */ 2262 MEM32(ebp + (-0x48)) = 0; /* 0x25112CB7: mov dword ptr [ebp - 0x48], 0 */ 2263 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x25112CBE: mov dword ptr [ebp - 0x44], 0x3f800000 */ 2264 MEM32(ebp + (-0x40)) = 0; /* 0x25112CC5: mov dword ptr [ebp - 0x40], 0 */ 2265 MEM32(ebp + (-0x3C)) = 0; /* 0x25112CCC: mov dword ptr [ebp - 0x3c], 0 */ 2266 MEM32(ebp + (-0x38)) = 0; /* 0x25112CD3: mov dword ptr [ebp - 0x38], 0 */ 2267 MEM32(ebp + (-0x34)) = 0; /* 0x25112CDA: mov dword ptr [ebp - 0x34], 0 */ 2268 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x25112CE1: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2269 MEM32(ebp + (-0x2C)) = 0; /* 0x25112CE8: mov dword ptr [ebp - 0x2c], 0 */ 2270 MEM32(ebp + (-0x28)) = 0; /* 0x25112CEF: mov dword ptr [ebp - 0x28], 0 */ 2271 MEM32(ebp + (-0x24)) = 0; /* 0x25112CF6: mov dword ptr [ebp - 0x24], 0 */ 2272 MEM32(ebp + (-0x20)) = 0; /* 0x25112CFD: mov dword ptr [ebp - 0x20], 0 */ 2273 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x25112D04: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 2274 eax = MEM32(ebp + (-0x74)); /* 0x25112D0B: mov eax, dword ptr [ebp - 0x74] */ 2275 /* test eax, eax */ /* 0x25112D0E: test eax, eax */ 2276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2277 _cf = 0; 2278 _flag_k = FK_TEST; 2279 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112D10: mov byte ptr [ebp - 4], 3 */ 2280 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112D1B; /* 0x25112D14: jne 0x25112d1b */ 2281 L_25112D16: 2282 eax = MEM32(0x251511E4); /* 0x25112D16: mov eax, dword ptr [0x251511e4] */ 2283 L_25112D1B: 2284 ecx = ebp + (-0x58); /* 0x25112D1B: lea ecx, [ebp - 0x58] */ 2285 PUSH32(esp, ecx); /* 0x25112D1E: push ecx */ 2286 PUSH32(esp, eax); /* 0x25112D1F: push eax */ 2287 ecx = edi; /* 0x25112D20: mov ecx, edi */ 2288 RECOMP_ICALL(0x25112790u); /* 0x25112D22: call 0x25112790 */ /* not lifted */ 2289 RECOMP_FLAGS_IN(); 2290 /* test LO8(eax), LO8(eax) */ /* 0x25112D27: test al, al */ 2291 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2292 _cf = 0; 2293 _flag_k = FK_NARROW(FK_TEST, 24); 2294 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA1; /* 0x25112D29: je 0x25112ea1 */ 2295 L_25112D2F: 2296 edx = ebp + (-0xD8); /* 0x25112D2F: lea edx, [ebp - 0xd8] */ 2297 PUSH32(esp, edx); /* 0x25112D35: push edx */ 2298 eax = ebp + (-0x118); /* 0x25112D36: lea eax, [ebp - 0x118] */ 2299 PUSH32(esp, eax); /* 0x25112D3C: push eax */ 2300 ecx = ebp + (-0x58); /* 0x25112D3D: lea ecx, [ebp - 0x58] */ 2301 RECOMP_ICALL(MEM32(0x25151524)); /* 0x25112D40: call dword ptr [0x25151524] */ 2302 RECOMP_FLAGS_IN(); 2303 esi = eax; /* 0x25112D46: mov esi, eax */ 2304 ecx = 0x10u; /* 0x25112D48: mov ecx, 0x10 */ 2305 edi = ebp + (-0x58); /* 0x25112D4D: lea edi, [ebp - 0x58] */ 2306 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112D50: 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; } 2307 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x25112D52: fld dword ptr [ebp - 0x58] */ 2308 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D55: fmul dword ptr [ebp - 0x10] */ 2309 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25112D58: fstp dword ptr [ebp - 0x58] */ 2310 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25112D5B: fld dword ptr [ebp - 0x54] */ 2311 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D5E: fmul dword ptr [ebp - 0x10] */ 2312 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25112D61: fstp dword ptr [ebp - 0x54] */ 2313 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x25112D64: fld dword ptr [ebp - 0x50] */ 2314 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D67: fmul dword ptr [ebp - 0x10] */ 2315 edi = MEM32(ebp + (-0x28)); /* 0x25112D6A: mov edi, dword ptr [ebp - 0x28] */ 2316 ecx = MEM32(ebp + (-0x24)); /* 0x25112D6D: mov ecx, dword ptr [ebp - 0x24] */ 2317 edx = MEM32(ebp + (-0x20)); /* 0x25112D70: mov edx, dword ptr [ebp - 0x20] */ 2318 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25112D73: fstp dword ptr [ebp - 0x50] */ 2319 eax = ebp + (-0x58); /* 0x25112D76: lea eax, [ebp - 0x58] */ 2320 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x25112D79: fld dword ptr [ebp - 0x48] */ 2321 MEM32(ebp + (-0x80)) = ecx; /* 0x25112D7C: mov dword ptr [ebp - 0x80], ecx */ 2322 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D7F: fmul dword ptr [ebp - 0x10] */ 2323 PUSH32(esp, eax); /* 0x25112D82: push eax */ 2324 ecx = ebp + (-0x94); /* 0x25112D83: lea ecx, [ebp - 0x94] */ 2325 MEM32(ebp + (-0x7C)) = edx; /* 0x25112D89: mov dword ptr [ebp - 0x7c], edx */ 2326 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25112D8C: fstp dword ptr [ebp - 0x48] */ 2327 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x25112D8F: fld dword ptr [ebp - 0x44] */ 2328 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D92: fmul dword ptr [ebp - 0x10] */ 2329 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x25112D95: fstp dword ptr [ebp - 0x44] */ 2330 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x25112D98: fld dword ptr [ebp - 0x40] */ 2331 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D9B: fmul dword ptr [ebp - 0x10] */ 2332 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25112D9E: fstp dword ptr [ebp - 0x40] */ 2333 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x25112DA1: fld dword ptr [ebp - 0x38] */ 2334 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DA4: fmul dword ptr [ebp - 0x10] */ 2335 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25112DA7: fstp dword ptr [ebp - 0x38] */ 2336 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x25112DAA: fld dword ptr [ebp - 0x34] */ 2337 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DAD: fmul dword ptr [ebp - 0x10] */ 2338 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25112DB0: fstp dword ptr [ebp - 0x34] */ 2339 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25112DB3: fld dword ptr [ebp - 0x30] */ 2340 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DB6: fmul dword ptr [ebp - 0x10] */ 2341 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25112DB9: fstp dword ptr [ebp - 0x30] */ 2342 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x25112DBC: fld dword ptr [ebp - 0x28] */ 2343 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DBF: fmul dword ptr [ebp - 0x10] */ 2344 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25112DC2: fstp dword ptr [ebp - 0x28] */ 2345 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25112DC5: fld dword ptr [ebp - 0x24] */ 2346 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DC8: fmul dword ptr [ebp - 0x10] */ 2347 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25112DCB: fstp dword ptr [ebp - 0x24] */ 2348 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25112DCE: fld dword ptr [ebp - 0x20] */ 2349 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DD1: fmul dword ptr [ebp - 0x10] */ 2350 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25112DD4: fstp dword ptr [ebp - 0x20] */ 2351 RECOMP_ICALL(MEM32(0x25151574)); /* 0x25112DD7: call dword ptr [0x25151574] */ 2352 RECOMP_FLAGS_IN(); 2353 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2354 esi = 0; /* 0x25112DDD: xor esi, esi */ 2355 _cf = 0; 2356 _flag_k = FK_TEST; 2357 L_25112DDF: 2358 eax = MEM32(ebp + (-0x64)); /* 0x25112DDF: mov eax, dword ptr [ebp - 0x64] */ 2359 /* test eax, eax */ /* 0x25112DE2: test eax, eax */ 2360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2361 _cf = 0; 2362 _flag_k = FK_TEST; 2363 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DE4: je 0x25112ea6 */ 2364 L_25112DEA: 2365 ecx = MEM32(ebp + (-0x60)); /* 0x25112DEA: mov ecx, dword ptr [ebp - 0x60] */ 2366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2368 ecx = ecx - eax; /* 0x25112DED: sub ecx, eax */ 2369 _flag_k = FK_CMP; 2370 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112DEF: sar ecx, 2 */ 2371 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2372 ecx = (uint32_t)((int32_t)ecx >> 2u); 2373 /* cmp esi, ecx */ /* 0x25112DF2: cmp esi, ecx */ 2374 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2376 _flag_k = FK_CMP; 2377 if (CMP_AE(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DF4: jae 0x25112ea6 */ 2378 L_25112DFA: 2379 edx = MEM32(eax + esi * 4); /* 0x25112DFA: mov edx, dword ptr [eax + esi*4] */ 2380 eax = MEM32(ebp + (-0x14)); /* 0x25112DFD: mov eax, dword ptr [ebp - 0x14] */ 2381 SET_LO8(ecx, MEM8(eax + 0x15C)); /* 0x25112E00: mov cl, byte ptr [eax + 0x15c] */ 2382 MEM8(edx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25112E06: mov byte ptr [edx + 0x120], cl */ 2383 edx = MEM32(ebp + (-0x64)); /* 0x25112E0C: mov edx, dword ptr [ebp - 0x64] */ 2384 ecx = MEM32(edx + esi * 4); /* 0x25112E0F: mov ecx, dword ptr [edx + esi*4] */ 2385 edx = MEM32(ebp + (-0x80)); /* 0x25112E12: mov edx, dword ptr [ebp - 0x80] */ 2386 eax = ecx + 0x78; /* 0x25112E15: lea eax, [ecx + 0x78] */ 2387 MEM32(eax) = edi; /* 0x25112E18: mov dword ptr [eax], edi */ 2388 MEM32(eax + 0x4) = edx; /* 0x25112E1A: mov dword ptr [eax + 4], edx */ 2389 edx = MEM32(ebp + (-0x7C)); /* 0x25112E1D: mov edx, dword ptr [ebp - 0x7c] */ 2390 PUSH32(esp, 1); /* 0x25112E20: push 1 */ 2391 MEM32(eax + 0x8) = edx; /* 0x25112E22: mov dword ptr [eax + 8], edx */ 2392 eax = MEM32(ecx); /* 0x25112E25: mov eax, dword ptr [ecx] */ 2393 PUSH32(esp, 1); /* 0x25112E27: push 1 */ 2394 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25112E29: call dword ptr [eax + 0x2c] */ 2395 RECOMP_FLAGS_IN(); 2396 ecx = MEM32(ebp + (-0x64)); /* 0x25112E2C: mov ecx, dword ptr [ebp - 0x64] */ 2397 ecx = MEM32(ecx + esi * 4); /* 0x25112E2F: mov ecx, dword ptr [ecx + esi*4] */ 2398 eax = MEM32(ebp + (-0x94)); /* 0x25112E32: mov eax, dword ptr [ebp - 0x94] */ 2399 edx = ecx + 0x84; /* 0x25112E38: lea edx, [ecx + 0x84] */ 2400 MEM32(edx) = eax; /* 0x25112E3E: mov dword ptr [edx], eax */ 2401 eax = MEM32(ebp + (-0x90)); /* 0x25112E40: mov eax, dword ptr [ebp - 0x90] */ 2402 MEM32(edx + 0x4) = eax; /* 0x25112E46: mov dword ptr [edx + 4], eax */ 2403 eax = MEM32(ebp + (-0x8C)); /* 0x25112E49: mov eax, dword ptr [ebp - 0x8c] */ 2404 MEM32(edx + 0x8) = eax; /* 0x25112E4F: mov dword ptr [edx + 8], eax */ 2405 eax = MEM32(ebp + (-0x88)); /* 0x25112E52: mov eax, dword ptr [ebp - 0x88] */ 2406 PUSH32(esp, 1); /* 0x25112E58: push 1 */ 2407 MEM32(edx + 0xC) = eax; /* 0x25112E5A: mov dword ptr [edx + 0xc], eax */ 2408 edx = MEM32(ecx); /* 0x25112E5D: mov edx, dword ptr [ecx] */ 2409 PUSH32(esp, 2); /* 0x25112E5F: push 2 */ 2410 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E61: call dword ptr [edx + 0x2c] */ 2411 RECOMP_FLAGS_IN(); 2412 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112E64: mov al, byte ptr [ebx + 0x132] */ 2413 /* test LO8(eax), LO8(eax) */ /* 0x25112E6A: test al, al */ 2414 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2415 _cf = 0; 2416 _flag_k = FK_NARROW(FK_TEST, 24); 2417 if (TEST_Z(_flag_a, _flag_b)) goto L_25112E75; /* 0x25112E6C: je 0x25112e75 */ 2418 L_25112E6E: 2419 ecx = ebx; /* 0x25112E6E: mov ecx, ebx */ 2420 RECOMP_ICALL(0x250E2EE0u); /* 0x25112E70: call 0x250e2ee0 */ /* not lifted */ 2421 RECOMP_FLAGS_IN(); 2422 L_25112E75: 2423 eax = MEM32(ebp + (-0x64)); /* 0x25112E75: mov eax, dword ptr [ebp - 0x64] */ 2424 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112E78: fld dword ptr [ebx + 0x118] */ 2425 ecx = MEM32(eax + esi * 4); /* 0x25112E7E: mov ecx, dword ptr [eax + esi*4] */ 2426 edx = MEM32(ecx); /* 0x25112E81: mov edx, dword ptr [ecx] */ 2427 PUSH32(esp, 1); /* 0x25112E83: push 1 */ 2428 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x94) = _v; } /* 0x25112E85: fstp dword ptr [ecx + 0x94] */ 2429 PUSH32(esp, 4); /* 0x25112E8B: push 4 */ 2430 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E8D: call dword ptr [edx + 0x2c] */ 2431 RECOMP_FLAGS_IN(); 2432 eax = MEM32(ebp + (-0x64)); /* 0x25112E90: mov eax, dword ptr [ebp - 0x64] */ 2433 ecx = MEM32(eax + esi * 4); /* 0x25112E93: mov ecx, dword ptr [eax + esi*4] */ 2434 edx = MEM32(ecx); /* 0x25112E96: mov edx, dword ptr [ecx] */ 2435 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x25112E98: call dword ptr [edx + 0x20] */ 2436 RECOMP_FLAGS_IN(); 2437 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2438 esi = esi + 1; /* 0x25112E9B: inc esi */ 2439 _flag_k = FK_INC; 2440 RECOMP_BACKEDGE(); 2441 goto L_25112DDF; /* 0x25112E9C: jmp 0x25112ddf */ 2442 L_25112EA1: 2443 eax = MEM32(ebp + (-0x64)); /* 0x25112EA1: mov eax, dword ptr [ebp - 0x64] */ 2444 goto L_25112EA9; /* 0x25112EA4: jmp 0x25112ea9 */ 2445 L_25112EA6: 2446 edi = MEM32(ebp + (-0x14)); /* 0x25112EA6: mov edi, dword ptr [ebp - 0x14] */ 2447 L_25112EA9: 2448 ecx = MEM32(ebp + (-0x60)); /* 0x25112EA9: mov ecx, dword ptr [ebp - 0x60] */ 2449 PUSH32(esp, ecx); /* 0x25112EAC: push ecx */ 2450 PUSH32(esp, eax); /* 0x25112EAD: push eax */ 2451 ecx = ebp + (-0x68); /* 0x25112EAE: lea ecx, [ebp - 0x68] */ 2452 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x25112EB1: mov byte ptr [ebp - 4], 4 */ 2453 RECOMP_ICALL(0x25093260u); /* 0x25112EB5: call 0x25093260 */ /* not lifted */ 2454 RECOMP_FLAGS_IN(); 2455 edx = MEM32(ebp + (-0x64)); /* 0x25112EBA: mov edx, dword ptr [ebp - 0x64] */ 2456 PUSH32(esp, edx); /* 0x25112EBD: push edx */ 2457 RECOMP_ICALL(0x25137EECu); /* 0x25112EBE: call 0x25137eec */ /* not lifted */ 2458 RECOMP_FLAGS_IN(); 2459 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2460 eax = 0; /* 0x25112EC3: xor eax, eax */ 2461 _cf = 0; 2462 _flag_k = FK_TEST; 2463 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2465 esp = esp + 4; /* 0x25112EC5: add esp, 4 */ 2466 _flag_k = FK_ADD; 2467 PUSH32(esp, 1); /* 0x25112EC8: push 1 */ 2468 ecx = ebp + (-0x78); /* 0x25112ECA: lea ecx, [ebp - 0x78] */ 2469 MEM32(ebp + (-0x64)) = eax; /* 0x25112ECD: mov dword ptr [ebp - 0x64], eax */ 2470 MEM32(ebp + (-0x60)) = eax; /* 0x25112ED0: mov dword ptr [ebp - 0x60], eax */ 2471 MEM32(ebp + (-0x5C)) = eax; /* 0x25112ED3: mov dword ptr [ebp - 0x5c], eax */ 2472 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x25112ED6: mov byte ptr [ebp - 4], al */ 2473 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112ED9: call dword ptr [0x25151208] */ 2474 RECOMP_FLAGS_IN(); 2475 ecx = ebp + (-0x18); /* 0x25112EDF: lea ecx, [ebp - 0x18] */ 2476 RECOMP_ICALL(0x250D1500u); /* 0x25112EE2: call 0x250d1500 */ /* not lifted */ 2477 RECOMP_FLAGS_IN(); 2478 eax = MEM32(edi + 0x250); /* 0x25112EE7: mov eax, dword ptr [edi + 0x250] */ 2479 ecx = MEM32(ebp + (-0x18)); /* 0x25112EED: mov ecx, dword ptr [ebp - 0x18] */ 2480 /* cmp ecx, eax */ /* 0x25112EF0: cmp ecx, eax */ 2481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2483 _flag_k = FK_CMP; 2484 RECOMP_BACKEDGE(); 2485 if (CMP_NE(_flag_a, _flag_b)) goto L_25112C7E; /* 0x25112EF2: jne 0x25112c7e */ 2486 L_25112EF8: 2487 ecx = MEM32(ebp + (-0xC)); /* 0x25112EF8: mov ecx, dword ptr [ebp - 0xc] */ 2488 edi = POP32_VAL(esp); /* 0x25112EFB: pop edi */ 2489 esi = POP32_VAL(esp); /* 0x25112EFC: pop esi */ 2490 ebx = POP32_VAL(esp); /* 0x25112EFD: pop ebx */ 2491 MEM32(FS_BASE + (0)) = ecx; /* 0x25112EFE: mov dword ptr fs:[0], ecx */ 2492 esp = ebp; /* 0x25112F05: mov esp, ebp */ 2493 ebp = POP32_VAL(esp); /* 0x25112F07: pop ebp */ 2494 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F08: ret */ 2495 RECOMP_REGS_OUT(); 2496 } 2497 2498 void sub_25112EA1(void) { 2499 int _fpu_cmp = 0; 2500 uint32_t _cf = 0; 2501 int _df = 1; 2502 uint32_t _flag_k = FK_NONE; 2503 uint32_t _flag_a = 0, _flag_b = 0; 2504 uint32_t _itail_tgt = 0; 2505 RECOMP_REGS_LOCALS 2506 RECOMP_ENTER(0x25112EA1u); 2507 2508 goto L_25112EA1; 2509 L_25112C7E: 2510 esi = ecx + 0xC; /* 0x25112C7E: lea esi, [ecx + 0xc] */ 2511 PUSH32(esp, esi); /* 0x25112C81: push esi */ 2512 ecx = ebp + (-0x78); /* 0x25112C82: lea ecx, [ebp - 0x78] */ 2513 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112C85: call dword ptr [0x2515113c] */ 2514 RECOMP_FLAGS_IN(); 2515 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2517 esi = esi + 0x10u; /* 0x25112C8B: add esi, 0x10 */ 2518 _flag_k = FK_ADD; 2519 PUSH32(esp, esi); /* 0x25112C8E: push esi */ 2520 ecx = ebp + (-0x68); /* 0x25112C8F: lea ecx, [ebp - 0x68] */ 2521 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112C92: mov byte ptr [ebp - 4], 1 */ 2522 RECOMP_ICALL(0x250DEC60u); /* 0x25112C96: call 0x250dec60 */ /* not lifted */ 2523 RECOMP_FLAGS_IN(); 2524 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x25112C9B: mov dword ptr [ebp - 0x58], 0x3f800000 */ 2525 MEM32(ebp + (-0x54)) = 0; /* 0x25112CA2: mov dword ptr [ebp - 0x54], 0 */ 2526 MEM32(ebp + (-0x50)) = 0; /* 0x25112CA9: mov dword ptr [ebp - 0x50], 0 */ 2527 MEM32(ebp + (-0x4C)) = 0; /* 0x25112CB0: mov dword ptr [ebp - 0x4c], 0 */ 2528 MEM32(ebp + (-0x48)) = 0; /* 0x25112CB7: mov dword ptr [ebp - 0x48], 0 */ 2529 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x25112CBE: mov dword ptr [ebp - 0x44], 0x3f800000 */ 2530 MEM32(ebp + (-0x40)) = 0; /* 0x25112CC5: mov dword ptr [ebp - 0x40], 0 */ 2531 MEM32(ebp + (-0x3C)) = 0; /* 0x25112CCC: mov dword ptr [ebp - 0x3c], 0 */ 2532 MEM32(ebp + (-0x38)) = 0; /* 0x25112CD3: mov dword ptr [ebp - 0x38], 0 */ 2533 MEM32(ebp + (-0x34)) = 0; /* 0x25112CDA: mov dword ptr [ebp - 0x34], 0 */ 2534 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x25112CE1: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2535 MEM32(ebp + (-0x2C)) = 0; /* 0x25112CE8: mov dword ptr [ebp - 0x2c], 0 */ 2536 MEM32(ebp + (-0x28)) = 0; /* 0x25112CEF: mov dword ptr [ebp - 0x28], 0 */ 2537 MEM32(ebp + (-0x24)) = 0; /* 0x25112CF6: mov dword ptr [ebp - 0x24], 0 */ 2538 MEM32(ebp + (-0x20)) = 0; /* 0x25112CFD: mov dword ptr [ebp - 0x20], 0 */ 2539 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x25112D04: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 2540 eax = MEM32(ebp + (-0x74)); /* 0x25112D0B: mov eax, dword ptr [ebp - 0x74] */ 2541 /* test eax, eax */ /* 0x25112D0E: test eax, eax */ 2542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2543 _cf = 0; 2544 _flag_k = FK_TEST; 2545 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112D10: mov byte ptr [ebp - 4], 3 */ 2546 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112D1B; /* 0x25112D14: jne 0x25112d1b */ 2547 L_25112D16: 2548 eax = MEM32(0x251511E4); /* 0x25112D16: mov eax, dword ptr [0x251511e4] */ 2549 L_25112D1B: 2550 ecx = ebp + (-0x58); /* 0x25112D1B: lea ecx, [ebp - 0x58] */ 2551 PUSH32(esp, ecx); /* 0x25112D1E: push ecx */ 2552 PUSH32(esp, eax); /* 0x25112D1F: push eax */ 2553 ecx = edi; /* 0x25112D20: mov ecx, edi */ 2554 RECOMP_ICALL(0x25112790u); /* 0x25112D22: call 0x25112790 */ /* not lifted */ 2555 RECOMP_FLAGS_IN(); 2556 /* test LO8(eax), LO8(eax) */ /* 0x25112D27: test al, al */ 2557 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2558 _cf = 0; 2559 _flag_k = FK_NARROW(FK_TEST, 24); 2560 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA1; /* 0x25112D29: je 0x25112ea1 */ 2561 L_25112D2F: 2562 edx = ebp + (-0xD8); /* 0x25112D2F: lea edx, [ebp - 0xd8] */ 2563 PUSH32(esp, edx); /* 0x25112D35: push edx */ 2564 eax = ebp + (-0x118); /* 0x25112D36: lea eax, [ebp - 0x118] */ 2565 PUSH32(esp, eax); /* 0x25112D3C: push eax */ 2566 ecx = ebp + (-0x58); /* 0x25112D3D: lea ecx, [ebp - 0x58] */ 2567 RECOMP_ICALL(MEM32(0x25151524)); /* 0x25112D40: call dword ptr [0x25151524] */ 2568 RECOMP_FLAGS_IN(); 2569 esi = eax; /* 0x25112D46: mov esi, eax */ 2570 ecx = 0x10u; /* 0x25112D48: mov ecx, 0x10 */ 2571 edi = ebp + (-0x58); /* 0x25112D4D: lea edi, [ebp - 0x58] */ 2572 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112D50: 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; } 2573 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x25112D52: fld dword ptr [ebp - 0x58] */ 2574 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D55: fmul dword ptr [ebp - 0x10] */ 2575 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25112D58: fstp dword ptr [ebp - 0x58] */ 2576 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25112D5B: fld dword ptr [ebp - 0x54] */ 2577 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D5E: fmul dword ptr [ebp - 0x10] */ 2578 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25112D61: fstp dword ptr [ebp - 0x54] */ 2579 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x25112D64: fld dword ptr [ebp - 0x50] */ 2580 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D67: fmul dword ptr [ebp - 0x10] */ 2581 edi = MEM32(ebp + (-0x28)); /* 0x25112D6A: mov edi, dword ptr [ebp - 0x28] */ 2582 ecx = MEM32(ebp + (-0x24)); /* 0x25112D6D: mov ecx, dword ptr [ebp - 0x24] */ 2583 edx = MEM32(ebp + (-0x20)); /* 0x25112D70: mov edx, dword ptr [ebp - 0x20] */ 2584 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25112D73: fstp dword ptr [ebp - 0x50] */ 2585 eax = ebp + (-0x58); /* 0x25112D76: lea eax, [ebp - 0x58] */ 2586 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x25112D79: fld dword ptr [ebp - 0x48] */ 2587 MEM32(ebp + (-0x80)) = ecx; /* 0x25112D7C: mov dword ptr [ebp - 0x80], ecx */ 2588 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D7F: fmul dword ptr [ebp - 0x10] */ 2589 PUSH32(esp, eax); /* 0x25112D82: push eax */ 2590 ecx = ebp + (-0x94); /* 0x25112D83: lea ecx, [ebp - 0x94] */ 2591 MEM32(ebp + (-0x7C)) = edx; /* 0x25112D89: mov dword ptr [ebp - 0x7c], edx */ 2592 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25112D8C: fstp dword ptr [ebp - 0x48] */ 2593 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x25112D8F: fld dword ptr [ebp - 0x44] */ 2594 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D92: fmul dword ptr [ebp - 0x10] */ 2595 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x25112D95: fstp dword ptr [ebp - 0x44] */ 2596 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x25112D98: fld dword ptr [ebp - 0x40] */ 2597 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D9B: fmul dword ptr [ebp - 0x10] */ 2598 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25112D9E: fstp dword ptr [ebp - 0x40] */ 2599 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x25112DA1: fld dword ptr [ebp - 0x38] */ 2600 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DA4: fmul dword ptr [ebp - 0x10] */ 2601 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25112DA7: fstp dword ptr [ebp - 0x38] */ 2602 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x25112DAA: fld dword ptr [ebp - 0x34] */ 2603 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DAD: fmul dword ptr [ebp - 0x10] */ 2604 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25112DB0: fstp dword ptr [ebp - 0x34] */ 2605 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25112DB3: fld dword ptr [ebp - 0x30] */ 2606 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DB6: fmul dword ptr [ebp - 0x10] */ 2607 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25112DB9: fstp dword ptr [ebp - 0x30] */ 2608 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x25112DBC: fld dword ptr [ebp - 0x28] */ 2609 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DBF: fmul dword ptr [ebp - 0x10] */ 2610 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25112DC2: fstp dword ptr [ebp - 0x28] */ 2611 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25112DC5: fld dword ptr [ebp - 0x24] */ 2612 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DC8: fmul dword ptr [ebp - 0x10] */ 2613 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25112DCB: fstp dword ptr [ebp - 0x24] */ 2614 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25112DCE: fld dword ptr [ebp - 0x20] */ 2615 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DD1: fmul dword ptr [ebp - 0x10] */ 2616 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25112DD4: fstp dword ptr [ebp - 0x20] */ 2617 RECOMP_ICALL(MEM32(0x25151574)); /* 0x25112DD7: call dword ptr [0x25151574] */ 2618 RECOMP_FLAGS_IN(); 2619 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2620 esi = 0; /* 0x25112DDD: xor esi, esi */ 2621 _cf = 0; 2622 _flag_k = FK_TEST; 2623 L_25112DDF: 2624 eax = MEM32(ebp + (-0x64)); /* 0x25112DDF: mov eax, dword ptr [ebp - 0x64] */ 2625 /* test eax, eax */ /* 0x25112DE2: test eax, eax */ 2626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2627 _cf = 0; 2628 _flag_k = FK_TEST; 2629 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DE4: je 0x25112ea6 */ 2630 L_25112DEA: 2631 ecx = MEM32(ebp + (-0x60)); /* 0x25112DEA: mov ecx, dword ptr [ebp - 0x60] */ 2632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2634 ecx = ecx - eax; /* 0x25112DED: sub ecx, eax */ 2635 _flag_k = FK_CMP; 2636 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112DEF: sar ecx, 2 */ 2637 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2638 ecx = (uint32_t)((int32_t)ecx >> 2u); 2639 /* cmp esi, ecx */ /* 0x25112DF2: cmp esi, ecx */ 2640 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2642 _flag_k = FK_CMP; 2643 if (CMP_AE(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DF4: jae 0x25112ea6 */ 2644 L_25112DFA: 2645 edx = MEM32(eax + esi * 4); /* 0x25112DFA: mov edx, dword ptr [eax + esi*4] */ 2646 eax = MEM32(ebp + (-0x14)); /* 0x25112DFD: mov eax, dword ptr [ebp - 0x14] */ 2647 SET_LO8(ecx, MEM8(eax + 0x15C)); /* 0x25112E00: mov cl, byte ptr [eax + 0x15c] */ 2648 MEM8(edx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25112E06: mov byte ptr [edx + 0x120], cl */ 2649 edx = MEM32(ebp + (-0x64)); /* 0x25112E0C: mov edx, dword ptr [ebp - 0x64] */ 2650 ecx = MEM32(edx + esi * 4); /* 0x25112E0F: mov ecx, dword ptr [edx + esi*4] */ 2651 edx = MEM32(ebp + (-0x80)); /* 0x25112E12: mov edx, dword ptr [ebp - 0x80] */ 2652 eax = ecx + 0x78; /* 0x25112E15: lea eax, [ecx + 0x78] */ 2653 MEM32(eax) = edi; /* 0x25112E18: mov dword ptr [eax], edi */ 2654 MEM32(eax + 0x4) = edx; /* 0x25112E1A: mov dword ptr [eax + 4], edx */ 2655 edx = MEM32(ebp + (-0x7C)); /* 0x25112E1D: mov edx, dword ptr [ebp - 0x7c] */ 2656 PUSH32(esp, 1); /* 0x25112E20: push 1 */ 2657 MEM32(eax + 0x8) = edx; /* 0x25112E22: mov dword ptr [eax + 8], edx */ 2658 eax = MEM32(ecx); /* 0x25112E25: mov eax, dword ptr [ecx] */ 2659 PUSH32(esp, 1); /* 0x25112E27: push 1 */ 2660 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25112E29: call dword ptr [eax + 0x2c] */ 2661 RECOMP_FLAGS_IN(); 2662 ecx = MEM32(ebp + (-0x64)); /* 0x25112E2C: mov ecx, dword ptr [ebp - 0x64] */ 2663 ecx = MEM32(ecx + esi * 4); /* 0x25112E2F: mov ecx, dword ptr [ecx + esi*4] */ 2664 eax = MEM32(ebp + (-0x94)); /* 0x25112E32: mov eax, dword ptr [ebp - 0x94] */ 2665 edx = ecx + 0x84; /* 0x25112E38: lea edx, [ecx + 0x84] */ 2666 MEM32(edx) = eax; /* 0x25112E3E: mov dword ptr [edx], eax */ 2667 eax = MEM32(ebp + (-0x90)); /* 0x25112E40: mov eax, dword ptr [ebp - 0x90] */ 2668 MEM32(edx + 0x4) = eax; /* 0x25112E46: mov dword ptr [edx + 4], eax */ 2669 eax = MEM32(ebp + (-0x8C)); /* 0x25112E49: mov eax, dword ptr [ebp - 0x8c] */ 2670 MEM32(edx + 0x8) = eax; /* 0x25112E4F: mov dword ptr [edx + 8], eax */ 2671 eax = MEM32(ebp + (-0x88)); /* 0x25112E52: mov eax, dword ptr [ebp - 0x88] */ 2672 PUSH32(esp, 1); /* 0x25112E58: push 1 */ 2673 MEM32(edx + 0xC) = eax; /* 0x25112E5A: mov dword ptr [edx + 0xc], eax */ 2674 edx = MEM32(ecx); /* 0x25112E5D: mov edx, dword ptr [ecx] */ 2675 PUSH32(esp, 2); /* 0x25112E5F: push 2 */ 2676 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E61: call dword ptr [edx + 0x2c] */ 2677 RECOMP_FLAGS_IN(); 2678 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112E64: mov al, byte ptr [ebx + 0x132] */ 2679 /* test LO8(eax), LO8(eax) */ /* 0x25112E6A: test al, al */ 2680 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2681 _cf = 0; 2682 _flag_k = FK_NARROW(FK_TEST, 24); 2683 if (TEST_Z(_flag_a, _flag_b)) goto L_25112E75; /* 0x25112E6C: je 0x25112e75 */ 2684 L_25112E6E: 2685 ecx = ebx; /* 0x25112E6E: mov ecx, ebx */ 2686 RECOMP_ICALL(0x250E2EE0u); /* 0x25112E70: call 0x250e2ee0 */ /* not lifted */ 2687 RECOMP_FLAGS_IN(); 2688 L_25112E75: 2689 eax = MEM32(ebp + (-0x64)); /* 0x25112E75: mov eax, dword ptr [ebp - 0x64] */ 2690 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112E78: fld dword ptr [ebx + 0x118] */ 2691 ecx = MEM32(eax + esi * 4); /* 0x25112E7E: mov ecx, dword ptr [eax + esi*4] */ 2692 edx = MEM32(ecx); /* 0x25112E81: mov edx, dword ptr [ecx] */ 2693 PUSH32(esp, 1); /* 0x25112E83: push 1 */ 2694 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x94) = _v; } /* 0x25112E85: fstp dword ptr [ecx + 0x94] */ 2695 PUSH32(esp, 4); /* 0x25112E8B: push 4 */ 2696 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E8D: call dword ptr [edx + 0x2c] */ 2697 RECOMP_FLAGS_IN(); 2698 eax = MEM32(ebp + (-0x64)); /* 0x25112E90: mov eax, dword ptr [ebp - 0x64] */ 2699 ecx = MEM32(eax + esi * 4); /* 0x25112E93: mov ecx, dword ptr [eax + esi*4] */ 2700 edx = MEM32(ecx); /* 0x25112E96: mov edx, dword ptr [ecx] */ 2701 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x25112E98: call dword ptr [edx + 0x20] */ 2702 RECOMP_FLAGS_IN(); 2703 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2704 esi = esi + 1; /* 0x25112E9B: inc esi */ 2705 _flag_k = FK_INC; 2706 RECOMP_BACKEDGE(); 2707 goto L_25112DDF; /* 0x25112E9C: jmp 0x25112ddf */ 2708 L_25112EA1: 2709 eax = MEM32(ebp + (-0x64)); /* 0x25112EA1: mov eax, dword ptr [ebp - 0x64] */ 2710 goto L_25112EA9; /* 0x25112EA4: jmp 0x25112ea9 */ 2711 L_25112EA6: 2712 edi = MEM32(ebp + (-0x14)); /* 0x25112EA6: mov edi, dword ptr [ebp - 0x14] */ 2713 L_25112EA9: 2714 ecx = MEM32(ebp + (-0x60)); /* 0x25112EA9: mov ecx, dword ptr [ebp - 0x60] */ 2715 PUSH32(esp, ecx); /* 0x25112EAC: push ecx */ 2716 PUSH32(esp, eax); /* 0x25112EAD: push eax */ 2717 ecx = ebp + (-0x68); /* 0x25112EAE: lea ecx, [ebp - 0x68] */ 2718 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x25112EB1: mov byte ptr [ebp - 4], 4 */ 2719 RECOMP_ICALL(0x25093260u); /* 0x25112EB5: call 0x25093260 */ /* not lifted */ 2720 RECOMP_FLAGS_IN(); 2721 edx = MEM32(ebp + (-0x64)); /* 0x25112EBA: mov edx, dword ptr [ebp - 0x64] */ 2722 PUSH32(esp, edx); /* 0x25112EBD: push edx */ 2723 RECOMP_ICALL(0x25137EECu); /* 0x25112EBE: call 0x25137eec */ /* not lifted */ 2724 RECOMP_FLAGS_IN(); 2725 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2726 eax = 0; /* 0x25112EC3: xor eax, eax */ 2727 _cf = 0; 2728 _flag_k = FK_TEST; 2729 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2731 esp = esp + 4; /* 0x25112EC5: add esp, 4 */ 2732 _flag_k = FK_ADD; 2733 PUSH32(esp, 1); /* 0x25112EC8: push 1 */ 2734 ecx = ebp + (-0x78); /* 0x25112ECA: lea ecx, [ebp - 0x78] */ 2735 MEM32(ebp + (-0x64)) = eax; /* 0x25112ECD: mov dword ptr [ebp - 0x64], eax */ 2736 MEM32(ebp + (-0x60)) = eax; /* 0x25112ED0: mov dword ptr [ebp - 0x60], eax */ 2737 MEM32(ebp + (-0x5C)) = eax; /* 0x25112ED3: mov dword ptr [ebp - 0x5c], eax */ 2738 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x25112ED6: mov byte ptr [ebp - 4], al */ 2739 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112ED9: call dword ptr [0x25151208] */ 2740 RECOMP_FLAGS_IN(); 2741 ecx = ebp + (-0x18); /* 0x25112EDF: lea ecx, [ebp - 0x18] */ 2742 RECOMP_ICALL(0x250D1500u); /* 0x25112EE2: call 0x250d1500 */ /* not lifted */ 2743 RECOMP_FLAGS_IN(); 2744 eax = MEM32(edi + 0x250); /* 0x25112EE7: mov eax, dword ptr [edi + 0x250] */ 2745 ecx = MEM32(ebp + (-0x18)); /* 0x25112EED: mov ecx, dword ptr [ebp - 0x18] */ 2746 /* cmp ecx, eax */ /* 0x25112EF0: cmp ecx, eax */ 2747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2749 _flag_k = FK_CMP; 2750 RECOMP_BACKEDGE(); 2751 if (CMP_NE(_flag_a, _flag_b)) goto L_25112C7E; /* 0x25112EF2: jne 0x25112c7e */ 2752 L_25112EF8: 2753 ecx = MEM32(ebp + (-0xC)); /* 0x25112EF8: mov ecx, dword ptr [ebp - 0xc] */ 2754 edi = POP32_VAL(esp); /* 0x25112EFB: pop edi */ 2755 esi = POP32_VAL(esp); /* 0x25112EFC: pop esi */ 2756 ebx = POP32_VAL(esp); /* 0x25112EFD: pop ebx */ 2757 MEM32(FS_BASE + (0)) = ecx; /* 0x25112EFE: mov dword ptr fs:[0], ecx */ 2758 esp = ebp; /* 0x25112F05: mov esp, ebp */ 2759 ebp = POP32_VAL(esp); /* 0x25112F07: pop ebp */ 2760 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F08: ret */ 2761 RECOMP_REGS_OUT(); 2762 } 2763 2764 void sub_25112EA9(void) { 2765 int _fpu_cmp = 0; 2766 uint32_t _cf = 0; 2767 int _df = 1; 2768 uint32_t _flag_k = FK_NONE; 2769 uint32_t _flag_a = 0, _flag_b = 0; 2770 uint32_t _itail_tgt = 0; 2771 RECOMP_REGS_LOCALS 2772 RECOMP_ENTER(0x25112EA9u); 2773 2774 goto L_25112EA9; 2775 L_25112C7E: 2776 esi = ecx + 0xC; /* 0x25112C7E: lea esi, [ecx + 0xc] */ 2777 PUSH32(esp, esi); /* 0x25112C81: push esi */ 2778 ecx = ebp + (-0x78); /* 0x25112C82: lea ecx, [ebp - 0x78] */ 2779 RECOMP_ICALL(MEM32(0x2515113C)); /* 0x25112C85: call dword ptr [0x2515113c] */ 2780 RECOMP_FLAGS_IN(); 2781 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2782 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2783 esi = esi + 0x10u; /* 0x25112C8B: add esi, 0x10 */ 2784 _flag_k = FK_ADD; 2785 PUSH32(esp, esi); /* 0x25112C8E: push esi */ 2786 ecx = ebp + (-0x68); /* 0x25112C8F: lea ecx, [ebp - 0x68] */ 2787 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25112C92: mov byte ptr [ebp - 4], 1 */ 2788 RECOMP_ICALL(0x250DEC60u); /* 0x25112C96: call 0x250dec60 */ /* not lifted */ 2789 RECOMP_FLAGS_IN(); 2790 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x25112C9B: mov dword ptr [ebp - 0x58], 0x3f800000 */ 2791 MEM32(ebp + (-0x54)) = 0; /* 0x25112CA2: mov dword ptr [ebp - 0x54], 0 */ 2792 MEM32(ebp + (-0x50)) = 0; /* 0x25112CA9: mov dword ptr [ebp - 0x50], 0 */ 2793 MEM32(ebp + (-0x4C)) = 0; /* 0x25112CB0: mov dword ptr [ebp - 0x4c], 0 */ 2794 MEM32(ebp + (-0x48)) = 0; /* 0x25112CB7: mov dword ptr [ebp - 0x48], 0 */ 2795 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x25112CBE: mov dword ptr [ebp - 0x44], 0x3f800000 */ 2796 MEM32(ebp + (-0x40)) = 0; /* 0x25112CC5: mov dword ptr [ebp - 0x40], 0 */ 2797 MEM32(ebp + (-0x3C)) = 0; /* 0x25112CCC: mov dword ptr [ebp - 0x3c], 0 */ 2798 MEM32(ebp + (-0x38)) = 0; /* 0x25112CD3: mov dword ptr [ebp - 0x38], 0 */ 2799 MEM32(ebp + (-0x34)) = 0; /* 0x25112CDA: mov dword ptr [ebp - 0x34], 0 */ 2800 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x25112CE1: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2801 MEM32(ebp + (-0x2C)) = 0; /* 0x25112CE8: mov dword ptr [ebp - 0x2c], 0 */ 2802 MEM32(ebp + (-0x28)) = 0; /* 0x25112CEF: mov dword ptr [ebp - 0x28], 0 */ 2803 MEM32(ebp + (-0x24)) = 0; /* 0x25112CF6: mov dword ptr [ebp - 0x24], 0 */ 2804 MEM32(ebp + (-0x20)) = 0; /* 0x25112CFD: mov dword ptr [ebp - 0x20], 0 */ 2805 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x25112D04: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 2806 eax = MEM32(ebp + (-0x74)); /* 0x25112D0B: mov eax, dword ptr [ebp - 0x74] */ 2807 /* test eax, eax */ /* 0x25112D0E: test eax, eax */ 2808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2809 _cf = 0; 2810 _flag_k = FK_TEST; 2811 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25112D10: mov byte ptr [ebp - 4], 3 */ 2812 if (TEST_NZ(_flag_a, _flag_b)) goto L_25112D1B; /* 0x25112D14: jne 0x25112d1b */ 2813 L_25112D16: 2814 eax = MEM32(0x251511E4); /* 0x25112D16: mov eax, dword ptr [0x251511e4] */ 2815 L_25112D1B: 2816 ecx = ebp + (-0x58); /* 0x25112D1B: lea ecx, [ebp - 0x58] */ 2817 PUSH32(esp, ecx); /* 0x25112D1E: push ecx */ 2818 PUSH32(esp, eax); /* 0x25112D1F: push eax */ 2819 ecx = edi; /* 0x25112D20: mov ecx, edi */ 2820 RECOMP_ICALL(0x25112790u); /* 0x25112D22: call 0x25112790 */ /* not lifted */ 2821 RECOMP_FLAGS_IN(); 2822 /* test LO8(eax), LO8(eax) */ /* 0x25112D27: test al, al */ 2823 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2824 _cf = 0; 2825 _flag_k = FK_NARROW(FK_TEST, 24); 2826 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA1; /* 0x25112D29: je 0x25112ea1 */ 2827 L_25112D2F: 2828 edx = ebp + (-0xD8); /* 0x25112D2F: lea edx, [ebp - 0xd8] */ 2829 PUSH32(esp, edx); /* 0x25112D35: push edx */ 2830 eax = ebp + (-0x118); /* 0x25112D36: lea eax, [ebp - 0x118] */ 2831 PUSH32(esp, eax); /* 0x25112D3C: push eax */ 2832 ecx = ebp + (-0x58); /* 0x25112D3D: lea ecx, [ebp - 0x58] */ 2833 RECOMP_ICALL(MEM32(0x25151524)); /* 0x25112D40: call dword ptr [0x25151524] */ 2834 RECOMP_FLAGS_IN(); 2835 esi = eax; /* 0x25112D46: mov esi, eax */ 2836 ecx = 0x10u; /* 0x25112D48: mov ecx, 0x10 */ 2837 edi = ebp + (-0x58); /* 0x25112D4D: lea edi, [ebp - 0x58] */ 2838 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25112D50: 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; } 2839 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x25112D52: fld dword ptr [ebp - 0x58] */ 2840 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D55: fmul dword ptr [ebp - 0x10] */ 2841 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25112D58: fstp dword ptr [ebp - 0x58] */ 2842 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25112D5B: fld dword ptr [ebp - 0x54] */ 2843 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D5E: fmul dword ptr [ebp - 0x10] */ 2844 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25112D61: fstp dword ptr [ebp - 0x54] */ 2845 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x25112D64: fld dword ptr [ebp - 0x50] */ 2846 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D67: fmul dword ptr [ebp - 0x10] */ 2847 edi = MEM32(ebp + (-0x28)); /* 0x25112D6A: mov edi, dword ptr [ebp - 0x28] */ 2848 ecx = MEM32(ebp + (-0x24)); /* 0x25112D6D: mov ecx, dword ptr [ebp - 0x24] */ 2849 edx = MEM32(ebp + (-0x20)); /* 0x25112D70: mov edx, dword ptr [ebp - 0x20] */ 2850 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25112D73: fstp dword ptr [ebp - 0x50] */ 2851 eax = ebp + (-0x58); /* 0x25112D76: lea eax, [ebp - 0x58] */ 2852 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x25112D79: fld dword ptr [ebp - 0x48] */ 2853 MEM32(ebp + (-0x80)) = ecx; /* 0x25112D7C: mov dword ptr [ebp - 0x80], ecx */ 2854 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D7F: fmul dword ptr [ebp - 0x10] */ 2855 PUSH32(esp, eax); /* 0x25112D82: push eax */ 2856 ecx = ebp + (-0x94); /* 0x25112D83: lea ecx, [ebp - 0x94] */ 2857 MEM32(ebp + (-0x7C)) = edx; /* 0x25112D89: mov dword ptr [ebp - 0x7c], edx */ 2858 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25112D8C: fstp dword ptr [ebp - 0x48] */ 2859 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x25112D8F: fld dword ptr [ebp - 0x44] */ 2860 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D92: fmul dword ptr [ebp - 0x10] */ 2861 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x25112D95: fstp dword ptr [ebp - 0x44] */ 2862 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x25112D98: fld dword ptr [ebp - 0x40] */ 2863 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112D9B: fmul dword ptr [ebp - 0x10] */ 2864 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25112D9E: fstp dword ptr [ebp - 0x40] */ 2865 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x25112DA1: fld dword ptr [ebp - 0x38] */ 2866 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DA4: fmul dword ptr [ebp - 0x10] */ 2867 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25112DA7: fstp dword ptr [ebp - 0x38] */ 2868 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x25112DAA: fld dword ptr [ebp - 0x34] */ 2869 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DAD: fmul dword ptr [ebp - 0x10] */ 2870 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25112DB0: fstp dword ptr [ebp - 0x34] */ 2871 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25112DB3: fld dword ptr [ebp - 0x30] */ 2872 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DB6: fmul dword ptr [ebp - 0x10] */ 2873 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25112DB9: fstp dword ptr [ebp - 0x30] */ 2874 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x25112DBC: fld dword ptr [ebp - 0x28] */ 2875 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DBF: fmul dword ptr [ebp - 0x10] */ 2876 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25112DC2: fstp dword ptr [ebp - 0x28] */ 2877 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25112DC5: fld dword ptr [ebp - 0x24] */ 2878 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DC8: fmul dword ptr [ebp - 0x10] */ 2879 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25112DCB: fstp dword ptr [ebp - 0x24] */ 2880 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25112DCE: fld dword ptr [ebp - 0x20] */ 2881 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25112DD1: fmul dword ptr [ebp - 0x10] */ 2882 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25112DD4: fstp dword ptr [ebp - 0x20] */ 2883 RECOMP_ICALL(MEM32(0x25151574)); /* 0x25112DD7: call dword ptr [0x25151574] */ 2884 RECOMP_FLAGS_IN(); 2885 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2886 esi = 0; /* 0x25112DDD: xor esi, esi */ 2887 _cf = 0; 2888 _flag_k = FK_TEST; 2889 L_25112DDF: 2890 eax = MEM32(ebp + (-0x64)); /* 0x25112DDF: mov eax, dword ptr [ebp - 0x64] */ 2891 /* test eax, eax */ /* 0x25112DE2: test eax, eax */ 2892 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2893 _cf = 0; 2894 _flag_k = FK_TEST; 2895 if (TEST_Z(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DE4: je 0x25112ea6 */ 2896 L_25112DEA: 2897 ecx = MEM32(ebp + (-0x60)); /* 0x25112DEA: mov ecx, dword ptr [ebp - 0x60] */ 2898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2900 ecx = ecx - eax; /* 0x25112DED: sub ecx, eax */ 2901 _flag_k = FK_CMP; 2902 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25112DEF: sar ecx, 2 */ 2903 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2904 ecx = (uint32_t)((int32_t)ecx >> 2u); 2905 /* cmp esi, ecx */ /* 0x25112DF2: cmp esi, ecx */ 2906 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2908 _flag_k = FK_CMP; 2909 if (CMP_AE(_flag_a, _flag_b)) goto L_25112EA6; /* 0x25112DF4: jae 0x25112ea6 */ 2910 L_25112DFA: 2911 edx = MEM32(eax + esi * 4); /* 0x25112DFA: mov edx, dword ptr [eax + esi*4] */ 2912 eax = MEM32(ebp + (-0x14)); /* 0x25112DFD: mov eax, dword ptr [ebp - 0x14] */ 2913 SET_LO8(ecx, MEM8(eax + 0x15C)); /* 0x25112E00: mov cl, byte ptr [eax + 0x15c] */ 2914 MEM8(edx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25112E06: mov byte ptr [edx + 0x120], cl */ 2915 edx = MEM32(ebp + (-0x64)); /* 0x25112E0C: mov edx, dword ptr [ebp - 0x64] */ 2916 ecx = MEM32(edx + esi * 4); /* 0x25112E0F: mov ecx, dword ptr [edx + esi*4] */ 2917 edx = MEM32(ebp + (-0x80)); /* 0x25112E12: mov edx, dword ptr [ebp - 0x80] */ 2918 eax = ecx + 0x78; /* 0x25112E15: lea eax, [ecx + 0x78] */ 2919 MEM32(eax) = edi; /* 0x25112E18: mov dword ptr [eax], edi */ 2920 MEM32(eax + 0x4) = edx; /* 0x25112E1A: mov dword ptr [eax + 4], edx */ 2921 edx = MEM32(ebp + (-0x7C)); /* 0x25112E1D: mov edx, dword ptr [ebp - 0x7c] */ 2922 PUSH32(esp, 1); /* 0x25112E20: push 1 */ 2923 MEM32(eax + 0x8) = edx; /* 0x25112E22: mov dword ptr [eax + 8], edx */ 2924 eax = MEM32(ecx); /* 0x25112E25: mov eax, dword ptr [ecx] */ 2925 PUSH32(esp, 1); /* 0x25112E27: push 1 */ 2926 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25112E29: call dword ptr [eax + 0x2c] */ 2927 RECOMP_FLAGS_IN(); 2928 ecx = MEM32(ebp + (-0x64)); /* 0x25112E2C: mov ecx, dword ptr [ebp - 0x64] */ 2929 ecx = MEM32(ecx + esi * 4); /* 0x25112E2F: mov ecx, dword ptr [ecx + esi*4] */ 2930 eax = MEM32(ebp + (-0x94)); /* 0x25112E32: mov eax, dword ptr [ebp - 0x94] */ 2931 edx = ecx + 0x84; /* 0x25112E38: lea edx, [ecx + 0x84] */ 2932 MEM32(edx) = eax; /* 0x25112E3E: mov dword ptr [edx], eax */ 2933 eax = MEM32(ebp + (-0x90)); /* 0x25112E40: mov eax, dword ptr [ebp - 0x90] */ 2934 MEM32(edx + 0x4) = eax; /* 0x25112E46: mov dword ptr [edx + 4], eax */ 2935 eax = MEM32(ebp + (-0x8C)); /* 0x25112E49: mov eax, dword ptr [ebp - 0x8c] */ 2936 MEM32(edx + 0x8) = eax; /* 0x25112E4F: mov dword ptr [edx + 8], eax */ 2937 eax = MEM32(ebp + (-0x88)); /* 0x25112E52: mov eax, dword ptr [ebp - 0x88] */ 2938 PUSH32(esp, 1); /* 0x25112E58: push 1 */ 2939 MEM32(edx + 0xC) = eax; /* 0x25112E5A: mov dword ptr [edx + 0xc], eax */ 2940 edx = MEM32(ecx); /* 0x25112E5D: mov edx, dword ptr [ecx] */ 2941 PUSH32(esp, 2); /* 0x25112E5F: push 2 */ 2942 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E61: call dword ptr [edx + 0x2c] */ 2943 RECOMP_FLAGS_IN(); 2944 SET_LO8(eax, MEM8(ebx + 0x132)); /* 0x25112E64: mov al, byte ptr [ebx + 0x132] */ 2945 /* test LO8(eax), LO8(eax) */ /* 0x25112E6A: test al, al */ 2946 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2947 _cf = 0; 2948 _flag_k = FK_NARROW(FK_TEST, 24); 2949 if (TEST_Z(_flag_a, _flag_b)) goto L_25112E75; /* 0x25112E6C: je 0x25112e75 */ 2950 L_25112E6E: 2951 ecx = ebx; /* 0x25112E6E: mov ecx, ebx */ 2952 RECOMP_ICALL(0x250E2EE0u); /* 0x25112E70: call 0x250e2ee0 */ /* not lifted */ 2953 RECOMP_FLAGS_IN(); 2954 L_25112E75: 2955 eax = MEM32(ebp + (-0x64)); /* 0x25112E75: mov eax, dword ptr [ebp - 0x64] */ 2956 fp_push(*(float*)&MEM32(ebx + 0x118)); /* 0x25112E78: fld dword ptr [ebx + 0x118] */ 2957 ecx = MEM32(eax + esi * 4); /* 0x25112E7E: mov ecx, dword ptr [eax + esi*4] */ 2958 edx = MEM32(ecx); /* 0x25112E81: mov edx, dword ptr [ecx] */ 2959 PUSH32(esp, 1); /* 0x25112E83: push 1 */ 2960 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x94) = _v; } /* 0x25112E85: fstp dword ptr [ecx + 0x94] */ 2961 PUSH32(esp, 4); /* 0x25112E8B: push 4 */ 2962 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x25112E8D: call dword ptr [edx + 0x2c] */ 2963 RECOMP_FLAGS_IN(); 2964 eax = MEM32(ebp + (-0x64)); /* 0x25112E90: mov eax, dword ptr [ebp - 0x64] */ 2965 ecx = MEM32(eax + esi * 4); /* 0x25112E93: mov ecx, dword ptr [eax + esi*4] */ 2966 edx = MEM32(ecx); /* 0x25112E96: mov edx, dword ptr [ecx] */ 2967 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x25112E98: call dword ptr [edx + 0x20] */ 2968 RECOMP_FLAGS_IN(); 2969 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2970 esi = esi + 1; /* 0x25112E9B: inc esi */ 2971 _flag_k = FK_INC; 2972 RECOMP_BACKEDGE(); 2973 goto L_25112DDF; /* 0x25112E9C: jmp 0x25112ddf */ 2974 L_25112EA1: 2975 eax = MEM32(ebp + (-0x64)); /* 0x25112EA1: mov eax, dword ptr [ebp - 0x64] */ 2976 goto L_25112EA9; /* 0x25112EA4: jmp 0x25112ea9 */ 2977 L_25112EA6: 2978 edi = MEM32(ebp + (-0x14)); /* 0x25112EA6: mov edi, dword ptr [ebp - 0x14] */ 2979 L_25112EA9: 2980 ecx = MEM32(ebp + (-0x60)); /* 0x25112EA9: mov ecx, dword ptr [ebp - 0x60] */ 2981 PUSH32(esp, ecx); /* 0x25112EAC: push ecx */ 2982 PUSH32(esp, eax); /* 0x25112EAD: push eax */ 2983 ecx = ebp + (-0x68); /* 0x25112EAE: lea ecx, [ebp - 0x68] */ 2984 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x25112EB1: mov byte ptr [ebp - 4], 4 */ 2985 RECOMP_ICALL(0x25093260u); /* 0x25112EB5: call 0x25093260 */ /* not lifted */ 2986 RECOMP_FLAGS_IN(); 2987 edx = MEM32(ebp + (-0x64)); /* 0x25112EBA: mov edx, dword ptr [ebp - 0x64] */ 2988 PUSH32(esp, edx); /* 0x25112EBD: push edx */ 2989 RECOMP_ICALL(0x25137EECu); /* 0x25112EBE: call 0x25137eec */ /* not lifted */ 2990 RECOMP_FLAGS_IN(); 2991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2992 eax = 0; /* 0x25112EC3: xor eax, eax */ 2993 _cf = 0; 2994 _flag_k = FK_TEST; 2995 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2996 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2997 esp = esp + 4; /* 0x25112EC5: add esp, 4 */ 2998 _flag_k = FK_ADD; 2999 PUSH32(esp, 1); /* 0x25112EC8: push 1 */ 3000 ecx = ebp + (-0x78); /* 0x25112ECA: lea ecx, [ebp - 0x78] */ 3001 MEM32(ebp + (-0x64)) = eax; /* 0x25112ECD: mov dword ptr [ebp - 0x64], eax */ 3002 MEM32(ebp + (-0x60)) = eax; /* 0x25112ED0: mov dword ptr [ebp - 0x60], eax */ 3003 MEM32(ebp + (-0x5C)) = eax; /* 0x25112ED3: mov dword ptr [ebp - 0x5c], eax */ 3004 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x25112ED6: mov byte ptr [ebp - 4], al */ 3005 RECOMP_ICALL(MEM32(0x25151208)); /* 0x25112ED9: call dword ptr [0x25151208] */ 3006 RECOMP_FLAGS_IN(); 3007 ecx = ebp + (-0x18); /* 0x25112EDF: lea ecx, [ebp - 0x18] */ 3008 RECOMP_ICALL(0x250D1500u); /* 0x25112EE2: call 0x250d1500 */ /* not lifted */ 3009 RECOMP_FLAGS_IN(); 3010 eax = MEM32(edi + 0x250); /* 0x25112EE7: mov eax, dword ptr [edi + 0x250] */ 3011 ecx = MEM32(ebp + (-0x18)); /* 0x25112EED: mov ecx, dword ptr [ebp - 0x18] */ 3012 /* cmp ecx, eax */ /* 0x25112EF0: cmp ecx, eax */ 3013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3015 _flag_k = FK_CMP; 3016 RECOMP_BACKEDGE(); 3017 if (CMP_NE(_flag_a, _flag_b)) goto L_25112C7E; /* 0x25112EF2: jne 0x25112c7e */ 3018 L_25112EF8: 3019 ecx = MEM32(ebp + (-0xC)); /* 0x25112EF8: mov ecx, dword ptr [ebp - 0xc] */ 3020 edi = POP32_VAL(esp); /* 0x25112EFB: pop edi */ 3021 esi = POP32_VAL(esp); /* 0x25112EFC: pop esi */ 3022 ebx = POP32_VAL(esp); /* 0x25112EFD: pop ebx */ 3023 MEM32(FS_BASE + (0)) = ecx; /* 0x25112EFE: mov dword ptr fs:[0], ecx */ 3024 esp = ebp; /* 0x25112F05: mov esp, ebp */ 3025 ebp = POP32_VAL(esp); /* 0x25112F07: pop ebp */ 3026 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F08: ret */ 3027 RECOMP_REGS_OUT(); 3028 } 3029 3030 void sub_25112F10(void) { 3031 int _fpu_cmp = 0; 3032 uint32_t _cf = 0; 3033 int _df = 1; 3034 uint32_t _flag_k = FK_NONE; 3035 uint32_t _flag_a = 0, _flag_b = 0; 3036 uint32_t _itail_tgt = 0; 3037 RECOMP_REGS_LOCALS 3038 RECOMP_ENTER(0x25112F10u); 3039 3040 L_25112F10: 3041 PUSH32(esp, ebp); /* 0x25112F10: push ebp */ 3042 ebp = esp; /* 0x25112F11: mov ebp, esp */ 3043 PUSH32(esp, ecx); /* 0x25112F13: push ecx */ 3044 PUSH32(esp, ebx); /* 0x25112F14: push ebx */ 3045 PUSH32(esp, esi); /* 0x25112F15: push esi */ 3046 esi = ecx; /* 0x25112F16: mov esi, ecx */ 3047 eax = MEM32(esi + 0x14); /* 0x25112F18: mov eax, dword ptr [esi + 0x14] */ 3048 PUSH32(esp, eax); /* 0x25112F1B: push eax */ 3049 MEM32(ebp + (-0x4)) = eax; /* 0x25112F1C: mov dword ptr [ebp - 4], eax */ 3050 RECOMP_ICALL(0x25137EECu); /* 0x25112F1F: call 0x25137eec */ /* not lifted */ 3051 RECOMP_FLAGS_IN(); 3052 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3053 ebx = 0; /* 0x25112F24: xor ebx, ebx */ 3054 _cf = 0; 3055 _flag_k = FK_TEST; 3056 MEM32(esi + 0x14) = ebx; /* 0x25112F26: mov dword ptr [esi + 0x14], ebx */ 3057 MEM32(esi + 0x18) = ebx; /* 0x25112F29: mov dword ptr [esi + 0x18], ebx */ 3058 MEM32(esi + 0x1C) = ebx; /* 0x25112F2C: mov dword ptr [esi + 0x1c], ebx */ 3059 eax = MEM32(esi + 0x4); /* 0x25112F2F: mov eax, dword ptr [esi + 4] */ 3060 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3062 esp = esp + 4; /* 0x25112F32: add esp, 4 */ 3063 _flag_k = FK_ADD; 3064 /* cmp eax, ebx */ /* 0x25112F35: cmp eax, ebx */ 3065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3067 _flag_k = FK_CMP; 3068 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112F62; /* 0x25112F37: je 0x25112f62 */ 3069 L_25112F39: 3070 ecx = eax + (-0x1); /* 0x25112F39: lea ecx, [eax - 1] */ 3071 SET_LO8(eax, MEM8(ecx)); /* 0x25112F3C: mov al, byte ptr [ecx] */ 3072 /* cmp LO8(eax), LO8(ebx) */ /* 0x25112F3E: cmp al, bl */ 3073 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3075 _flag_k = FK_NARROW(FK_CMP, 24); 3076 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112F59; /* 0x25112F40: je 0x25112f59 */ 3077 L_25112F42: 3078 /* cmp LO8(eax), 0xFFu */ /* 0x25112F42: cmp al, 0xff */ 3079 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3081 _flag_k = FK_NARROW(FK_CMP, 24); 3082 if (CMP_EQ(_flag_a, _flag_b)) goto L_25112F59; /* 0x25112F44: je 0x25112f59 */ 3083 L_25112F46: 3084 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3085 SET_LO8(eax, LO8(eax) - 1); /* 0x25112F46: dec al */ 3086 _flag_k = FK_NARROW(FK_DEC, 24); 3087 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x25112F48: mov byte ptr [ecx], al */ 3088 MEM32(esi + 0x4) = ebx; /* 0x25112F4A: mov dword ptr [esi + 4], ebx */ 3089 MEM32(esi + 0x8) = ebx; /* 0x25112F4D: mov dword ptr [esi + 8], ebx */ 3090 MEM32(esi + 0xC) = ebx; /* 0x25112F50: mov dword ptr [esi + 0xc], ebx */ 3091 esi = POP32_VAL(esp); /* 0x25112F53: pop esi */ 3092 ebx = POP32_VAL(esp); /* 0x25112F54: pop ebx */ 3093 esp = ebp; /* 0x25112F55: mov esp, ebp */ 3094 ebp = POP32_VAL(esp); /* 0x25112F57: pop ebp */ 3095 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F58: ret */ 3096 L_25112F59: 3097 PUSH32(esp, ecx); /* 0x25112F59: push ecx */ 3098 RECOMP_ICALL(0x25137EECu); /* 0x25112F5A: call 0x25137eec */ /* not lifted */ 3099 RECOMP_FLAGS_IN(); 3100 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3102 esp = esp + 4; /* 0x25112F5F: add esp, 4 */ 3103 _flag_k = FK_ADD; 3104 L_25112F62: 3105 MEM32(esi + 0x4) = ebx; /* 0x25112F62: mov dword ptr [esi + 4], ebx */ 3106 MEM32(esi + 0x8) = ebx; /* 0x25112F65: mov dword ptr [esi + 8], ebx */ 3107 MEM32(esi + 0xC) = ebx; /* 0x25112F68: mov dword ptr [esi + 0xc], ebx */ 3108 esi = POP32_VAL(esp); /* 0x25112F6B: pop esi */ 3109 ebx = POP32_VAL(esp); /* 0x25112F6C: pop ebx */ 3110 esp = ebp; /* 0x25112F6D: mov esp, ebp */ 3111 ebp = POP32_VAL(esp); /* 0x25112F6F: pop ebp */ 3112 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25112F70: ret */ 3113 RECOMP_REGS_OUT(); 3114 } 3115 3116 void sub_25112F80(void) { 3117 int _fpu_cmp = 0; 3118 uint32_t _cf = 0; 3119 int _df = 1; 3120 uint32_t _flag_k = FK_NONE; 3121 uint32_t _flag_a = 0, _flag_b = 0; 3122 uint32_t _itail_tgt = 0; 3123 RECOMP_REGS_LOCALS 3124 RECOMP_ENTER(0x25112F80u); 3125 3126 L_25112F80: 3127 PUSH32(esp, ebp); /* 0x25112F80: push ebp */ 3128 ebp = esp; /* 0x25112F81: mov ebp, esp */ 3129 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x188u); 3130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3131 esp = esp - 0x188u; /* 0x25112F83: sub esp, 0x188 */ 3132 _flag_k = FK_CMP; 3133 PUSH32(esp, ebx); /* 0x25112F89: push ebx */ 3134 PUSH32(esp, esi); /* 0x25112F8A: push esi */ 3135 esi = ecx; /* 0x25112F8B: mov esi, ecx */ 3136 eax = MEM32(esi + (-0x38)); /* 0x25112F8D: mov eax, dword ptr [esi - 0x38] */ 3137 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3138 ebx = 0; /* 0x25112F90: xor ebx, ebx */ 3139 _cf = 0; 3140 _flag_k = FK_TEST; 3141 /* cmp eax, ebx */ /* 0x25112F92: cmp eax, ebx */ 3142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3144 _flag_k = FK_CMP; 3145 PUSH32(esp, edi); /* 0x25112F94: push edi */ 3146 MEM32(ebp + (-0xBC)) = esi; /* 0x25112F95: mov dword ptr [ebp - 0xbc], esi */ 3147 if (CMP_EQ(_flag_a, _flag_b)) goto L_25113144; /* 0x25112F9B: je 0x25113144 */ 3148 L_25112FA1: 3149 /* cmp MEM32(esi + (-0x34)), ebx */ /* 0x25112FA1: cmp dword ptr [esi - 0x34], ebx */ 3150 _flag_a = (uint32_t)(MEM32(esi + (-0x34))); _flag_b = (uint32_t)(ebx); 3151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3152 _flag_k = FK_CMP; 3153 if (CMP_EQ(_flag_a, _flag_b)) goto L_25113144; /* 0x25112FA4: je 0x25113144 */ 3154 L_25112FAA: 3155 eax = MEM32(ebp + 0x8); /* 0x25112FAA: mov eax, dword ptr [ebp + 8] */ 3156 ecx = MEM32(eax); /* 0x25112FAD: mov ecx, dword ptr [eax] */ 3157 edx = MEM32(eax + 0x4); /* 0x25112FAF: mov edx, dword ptr [eax + 4] */ 3158 eax = MEM32(eax + 0x8); /* 0x25112FB2: mov eax, dword ptr [eax + 8] */ 3159 MEM32(ebp + (-0xC)) = ecx; /* 0x25112FB5: mov dword ptr [ebp - 0xc], ecx */ 3160 ecx = MEM32(ebp + 0xC); /* 0x25112FB8: mov ecx, dword ptr [ebp + 0xc] */ 3161 MEM32(ebp + (-0x8)) = edx; /* 0x25112FBB: mov dword ptr [ebp - 8], edx */ 3162 edx = MEM32(ecx); /* 0x25112FBE: mov edx, dword ptr [ecx] */ 3163 MEM32(ebp + (-0x4)) = eax; /* 0x25112FC0: mov dword ptr [ebp - 4], eax */ 3164 eax = MEM32(ecx + 0x4); /* 0x25112FC3: mov eax, dword ptr [ecx + 4] */ 3165 ecx = MEM32(ecx + 0x8); /* 0x25112FC6: mov ecx, dword ptr [ecx + 8] */ 3166 MEM32(ebp + (-0x14)) = ecx; /* 0x25112FC9: mov dword ptr [ebp - 0x14], ecx */ 3167 ecx = esi; /* 0x25112FCC: mov ecx, esi */ 3168 MEM32(ebp + (-0x1C)) = edx; /* 0x25112FCE: mov dword ptr [ebp - 0x1c], edx */ 3169 MEM32(ebp + (-0x18)) = eax; /* 0x25112FD1: mov dword ptr [ebp - 0x18], eax */ 3170 RECOMP_ICALL(0x250E2EC0u); /* 0x25112FD4: call 0x250e2ec0 */ /* not lifted */ 3171 RECOMP_FLAGS_IN(); 3172 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25112FD9: fld dword ptr [ebp - 0xc] */ 3173 _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x25112FDC: fsub dword ptr [eax + 0x30] */ 3174 ecx = esi; /* 0x25112FDF: mov ecx, esi */ 3175 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x25112FE1: fstp dword ptr [ebp - 0xc] */ 3176 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x25112FE4: fld dword ptr [ebp - 8] */ 3177 _st[0] -= (double)*(float*)ADDR(eax + 0x34); /* 0x25112FE7: fsub dword ptr [eax + 0x34] */ 3178 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x25112FEA: fstp dword ptr [ebp - 8] */ 3179 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25112FED: fld dword ptr [ebp - 4] */ 3180 _st[0] -= (double)*(float*)ADDR(eax + 0x38); /* 0x25112FF0: fsub dword ptr [eax + 0x38] */ 3181 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x25112FF3: fst dword ptr [ebp - 4] */ 3182 _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x25112FF6: fmul dword ptr [eax + 0x18] */ 3183 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x25112FF9: fld dword ptr [ebp - 8] */ 3184 _st[0] *= (double)*(float*)ADDR(eax + 0x14); /* 0x25112FFC: fmul dword ptr [eax + 0x14] */ 3185 { double _v = fp_pop(); _st[0] += _v; } /* 0x25112FFF: faddp st(1) */ 3186 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25113001: fld dword ptr [ebp - 0xc] */ 3187 _st[0] *= (double)*(float*)ADDR(eax + 0x10); /* 0x25113004: fmul dword ptr [eax + 0x10] */ 3188 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113007: faddp st(1) */ 3189 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25113009: fld dword ptr [ebp - 4] */ 3190 _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x2511300C: fmul dword ptr [eax + 0x28] */ 3191 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2511300F: fld dword ptr [ebp - 8] */ 3192 _st[0] *= (double)*(float*)ADDR(eax + 0x24); /* 0x25113012: fmul dword ptr [eax + 0x24] */ 3193 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113015: faddp st(1) */ 3194 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25113017: fld dword ptr [ebp - 0xc] */ 3195 _st[0] *= (double)*(float*)ADDR(eax + 0x20); /* 0x2511301A: fmul dword ptr [eax + 0x20] */ 3196 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511301D: faddp st(1) */ 3197 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2511301F: fstp dword ptr [ebp + 8] */ 3198 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25113022: fld dword ptr [ebp - 4] */ 3199 edx = MEM32(ebp + 0x8); /* 0x25113025: mov edx, dword ptr [ebp + 8] */ 3200 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x25113028: fmul dword ptr [eax + 8] */ 3201 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2511302B: fld dword ptr [ebp - 8] */ 3202 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x2511302E: fmul dword ptr [eax + 4] */ 3203 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113031: faddp st(1) */ 3204 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25113033: fld dword ptr [ebp - 0xc] */ 3205 _st[0] *= (double)*(float*)ADDR(eax); /* 0x25113036: fmul dword ptr [eax] */ 3206 MEM32(ebp + (-0x4)) = edx; /* 0x25113038: mov dword ptr [ebp - 4], edx */ 3207 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511303B: faddp st(1) */ 3208 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2511303D: fstp dword ptr [ebp - 0xc] */ 3209 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x25113040: fstp dword ptr [ebp - 8] */ 3210 RECOMP_ICALL(0x250E2EC0u); /* 0x25113043: call 0x250e2ec0 */ /* not lifted */ 3211 RECOMP_FLAGS_IN(); 3212 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x25113048: fld dword ptr [ebp - 0x14] */ 3213 _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x2511304B: fmul dword ptr [eax + 0x18] */ 3214 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2511304E: fld dword ptr [ebp - 0x18] */ 3215 _st[0] *= (double)*(float*)ADDR(eax + 0x14); /* 0x25113051: fmul dword ptr [eax + 0x14] */ 3216 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113054: faddp st(1) */ 3217 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113056: fld dword ptr [ebp - 0x1c] */ 3218 _st[0] *= (double)*(float*)ADDR(eax + 0x10); /* 0x25113059: fmul dword ptr [eax + 0x10] */ 3219 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511305C: faddp st(1) */ 3220 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0xC) = _v; } /* 0x2511305E: fst dword ptr [ebp + 0xc] */ 3221 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x25113061: fld dword ptr [ebp - 0x14] */ 3222 _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x25113064: fmul dword ptr [eax + 0x28] */ 3223 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x25113067: fld dword ptr [ebp - 0x18] */ 3224 _st[0] *= (double)*(float*)ADDR(eax + 0x24); /* 0x2511306A: fmul dword ptr [eax + 0x24] */ 3225 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511306D: faddp st(1) */ 3226 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2511306F: fld dword ptr [ebp - 0x1c] */ 3227 _st[0] *= (double)*(float*)ADDR(eax + 0x20); /* 0x25113072: fmul dword ptr [eax + 0x20] */ 3228 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113075: faddp st(1) */ 3229 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x25113077: fstp dword ptr [ebp + 8] */ 3230 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2511307A: fld dword ptr [ebp - 0x14] */ 3231 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x2511307D: fmul dword ptr [eax + 8] */ 3232 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x25113080: fld dword ptr [ebp - 0x18] */ 3233 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x25113083: fmul dword ptr [eax + 4] */ 3234 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113086: faddp st(1) */ 3235 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113088: fld dword ptr [ebp - 0x1c] */ 3236 _st[0] *= (double)*(float*)ADDR(eax); /* 0x2511308B: fmul dword ptr [eax] */ 3237 eax = MEM32(ebp + 0x8); /* 0x2511308D: mov eax, dword ptr [ebp + 8] */ 3238 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113090: faddp st(1) */ 3239 MEM32(ebp + (-0x14)) = eax; /* 0x25113092: mov dword ptr [ebp - 0x14], eax */ 3240 SET_LO8(eax, MEM8(esi + 0x132)); /* 0x25113095: mov al, byte ptr [esi + 0x132] */ 3241 /* test LO8(eax), LO8(eax) */ /* 0x2511309B: test al, al */ 3242 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3243 _cf = 0; 3244 _flag_k = FK_NARROW(FK_TEST, 24); 3245 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2511309D: fstp dword ptr [ebp - 0x1c] */ 3246 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x251130A0: fstp dword ptr [ebp - 0x18] */ 3247 if (TEST_Z(_flag_a, _flag_b)) goto L_251130AC; /* 0x251130A3: je 0x251130ac */ 3248 L_251130A5: 3249 ecx = esi; /* 0x251130A5: mov ecx, esi */ 3250 RECOMP_ICALL(0x250E2EE0u); /* 0x251130A7: call 0x250e2ee0 */ /* not lifted */ 3251 RECOMP_FLAGS_IN(); 3252 L_251130AC: 3253 ecx = MEM32(esi + 0x118); /* 0x251130AC: mov ecx, dword ptr [esi + 0x118] */ 3254 MEM32(ebp + (-0x28)) = ecx; /* 0x251130B2: mov dword ptr [ebp - 0x28], ecx */ 3255 ecx = MEM32(esi + (-0x34)); /* 0x251130B5: mov ecx, dword ptr [esi - 0x34] */ 3256 edx = MEM32(ecx); /* 0x251130B8: mov edx, dword ptr [ecx] */ 3257 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x251130BA: call dword ptr [edx + 0x18] */ 3258 RECOMP_FLAGS_IN(); 3259 _st[0] += (double)*(float*)ADDR(esi + 0x1EC); /* 0x251130BD: fadd dword ptr [esi + 0x1ec] */ 3260 _st[0] *= (double)*(float*)ADDR(esi + 0x1F0); /* 0x251130C3: fmul dword ptr [esi + 0x1f0] */ 3261 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x251130C9: fmul dword ptr [ebp - 0x28] */ 3262 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x251130CC: fld dword ptr [ebp - 4] */ 3263 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x251130CF: fmul dword ptr [ebp - 4] */ 3264 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x251130D2: fld dword ptr [ebp - 8] */ 3265 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x251130D5: fmul dword ptr [ebp - 8] */ 3266 { double _v = fp_pop(); _st[0] += _v; } /* 0x251130D8: faddp st(1) */ 3267 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x251130DA: fld dword ptr [ebp - 0xc] */ 3268 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x251130DD: fmul dword ptr [ebp - 0xc] */ 3269 { double _v = fp_pop(); _st[0] += _v; } /* 0x251130E0: faddp st(1) */ 3270 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x251130E2: fstp dword ptr [ebp - 0x20] */ 3271 fp_push(_st[0]); /* 0x251130E5: fld st(0) */ 3272 _st[0] *= _st[1]; /* 0x251130E7: fmul st(1) */ 3273 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x251130E9: fstp dword ptr [ebp - 0x24] */ 3274 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x251130EC: fstp st(0) */ 3275 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x251130EE: fld dword ptr [ebp - 0x20] */ 3276 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x24))); /* 0x251130F1: fcomp dword ptr [ebp - 0x24] */ 3277 fp_pop(); 3278 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x251130F4: fnstsw ax */ 3279 /* test HI8(eax), 0x41u */ /* 0x251130F6: test ah, 0x41 */ 3280 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3281 _cf = 0; 3282 _flag_k = FK_NARROW(FK_TEST, 24); 3283 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113170; /* 0x251130F9: jne 0x25113170 */ 3284 L_251130FB: 3285 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x251130FB: fld dword ptr [ebp - 4] */ 3286 _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x251130FE: fmul dword ptr [ebp + 8] */ 3287 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x25113101: fld dword ptr [ebp - 8] */ 3288 _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25113104: fmul dword ptr [ebp + 0xc] */ 3289 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113107: faddp st(1) */ 3290 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113109: fld dword ptr [ebp - 0x1c] */ 3291 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2511310C: fmul dword ptr [ebp - 0xc] */ 3292 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511310F: faddp st(1) */ 3293 _st[0] += _st[0]; /* 0x25113111: fadd st(0), st(0) */ 3294 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113113: fld dword ptr [ebp - 0x1c] */ 3295 _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x25113116: fmul dword ptr [ebp - 0x1c] */ 3296 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x25113119: fld dword ptr [ebp + 8] */ 3297 _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2511311C: fmul dword ptr [ebp + 8] */ 3298 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511311F: faddp st(1) */ 3299 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x25113121: fld dword ptr [ebp + 0xc] */ 3300 _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25113124: fmul dword ptr [ebp + 0xc] */ 3301 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113127: faddp st(1) */ 3302 fp_push(_st[0]); /* 0x25113129: fld st(0) */ 3303 _st[0] += _st[0]; /* 0x2511312B: fadd st(0), st(0) */ 3304 _st[0] = _st[2] / _st[0]; /* 0x2511312D: fdivr st(2) */ 3305 _st[0] = -_st[0]; /* 0x2511312F: fchs */ 3306 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25113131: fcom dword ptr [0x2515177c] */ 3307 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113137: fnstsw ax */ 3308 /* test HI8(eax), 0x41u */ /* 0x25113139: test ah, 0x41 */ 3309 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3310 _cf = 0; 3311 _flag_k = FK_NARROW(FK_TEST, 24); 3312 if (TEST_Z(_flag_a, _flag_b)) goto L_2511314F; /* 0x2511313C: je 0x2511314f */ 3313 L_2511313E: 3314 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2511313E: fstp st(0) */ 3315 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113140: fstp st(0) */ 3316 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113142: fstp st(0) */ 3317 L_25113144: 3318 edi = POP32_VAL(esp); /* 0x25113144: pop edi */ 3319 esi = POP32_VAL(esp); /* 0x25113145: pop esi */ 3320 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 3321 SET_LO8(eax, 0); /* 0x25113146: xor al, al */ 3322 _cf = 0; 3323 _flag_k = FK_NARROW(FK_TEST, 24); 3324 ebx = POP32_VAL(esp); /* 0x25113148: pop ebx */ 3325 esp = ebp; /* 0x25113149: mov esp, ebp */ 3326 ebp = POP32_VAL(esp); /* 0x2511314B: pop ebp */ 3327 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511314C: ret 0x10 */ 3328 L_2511314F: 3329 fp_push(_st[0]); /* 0x2511314F: fld st(0) */ 3330 _st[0] *= _st[2]; /* 0x25113151: fmul st(2) */ 3331 _st[0] += _st[3]; /* 0x25113153: fadd st(3) */ 3332 _st[0] *= _st[1]; /* 0x25113155: fmul st(1) */ 3333 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x25113157: fadd dword ptr [ebp - 0x20] */ 3334 _st[0] -= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x2511315A: fsub dword ptr [ebp - 0x24] */ 3335 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2511315D: fcomp dword ptr [0x2515177c] */ 3336 fp_pop(); 3337 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113163: fstp st(0) */ 3338 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113165: fnstsw ax */ 3339 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113167: fstp st(0) */ 3340 /* test HI8(eax), 1 */ /* 0x25113169: test ah, 1 */ 3341 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3342 _cf = 0; 3343 _flag_k = FK_NARROW(FK_TEST, 24); 3344 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2511316C: fstp st(0) */ 3345 RECOMP_BACKEDGE(); 3346 if (TEST_Z(_flag_a, _flag_b)) goto L_25113144; /* 0x2511316E: je 0x25113144 */ 3347 L_25113170: 3348 edi = esi + (-0x3C); /* 0x25113170: lea edi, [esi - 0x3c] */ 3349 ecx = edi; /* 0x25113173: mov ecx, edi */ 3350 RECOMP_ICALL(0x2510F990u); /* 0x25113175: call 0x2510f990 */ /* not lifted */ 3351 RECOMP_FLAGS_IN(); 3352 ecx = edi; /* 0x2511317A: mov ecx, edi */ 3353 RECOMP_ICALL(0x2510FA50u); /* 0x2511317C: call 0x2510fa50 */ /* not lifted */ 3354 RECOMP_FLAGS_IN(); 3355 /* cmp MEM32(esi + (-0x30)), ebx */ /* 0x25113181: cmp dword ptr [esi - 0x30], ebx */ 3356 _flag_a = (uint32_t)(MEM32(esi + (-0x30))); _flag_b = (uint32_t)(ebx); 3357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3358 _flag_k = FK_CMP; 3359 MEM32(ebp + (-0x7C)) = ebx; /* 0x25113184: mov dword ptr [ebp - 0x7c], ebx */ 3360 RECOMP_BACKEDGE(); 3361 if (CMP_LE(_flag_a, _flag_b)) goto L_25113144; /* 0x25113187: jle 0x25113144 */ 3362 L_25113189: 3363 MEM32(ebp + (-0x24)) = ebx; /* 0x25113189: mov dword ptr [ebp - 0x24], ebx */ 3364 MEM32(ebp + (-0x5C)) = ebx; /* 0x2511318C: mov dword ptr [ebp - 0x5c], ebx */ 3365 L_2511318F: 3366 ebx = MEM32(esi + (-0x2C)); /* 0x2511318F: mov ebx, dword ptr [esi - 0x2c] */ 3367 edx = MEM32(ebp + (-0x5C)); /* 0x25113192: mov edx, dword ptr [ebp - 0x5c] */ 3368 eax = MEM32(ebx + edx); /* 0x25113195: mov eax, dword ptr [ebx + edx] */ 3369 edi = MEM32(eax + 0x44); /* 0x25113198: mov edi, dword ptr [eax + 0x44] */ 3370 ecx = MEM32(ebp + (-0x24)); /* 0x2511319B: mov ecx, dword ptr [ebp - 0x24] */ 3371 eax = MEM32(edi + ecx + 0x10); /* 0x2511319E: mov eax, dword ptr [edi + ecx + 0x10] */ 3372 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 3373 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3374 ebx = ebx + edx; /* 0x251131A2: add ebx, edx */ 3375 _flag_k = FK_ADD; 3376 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3378 edi = edi + ecx; /* 0x251131A4: add edi, ecx */ 3379 _flag_k = FK_ADD; 3380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3381 ecx = 0; /* 0x251131A6: xor ecx, ecx */ 3382 _cf = 0; 3383 _flag_k = FK_TEST; 3384 /* cmp eax, ecx */ /* 0x251131A8: cmp eax, ecx */ 3385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3387 _flag_k = FK_CMP; 3388 MEM32(ebp + (-0x28)) = ebx; /* 0x251131AA: mov dword ptr [ebp - 0x28], ebx */ 3389 MEM32(ebp + (-0xAC)) = edi; /* 0x251131AD: mov dword ptr [ebp - 0xac], edi */ 3390 MEM32(ebp + (-0x20)) = ecx; /* 0x251131B3: mov dword ptr [ebp - 0x20], ecx */ 3391 if (CMP_LE(_flag_a, _flag_b)) goto L_25113717; /* 0x251131B6: jle 0x25113717 */ 3392 L_251131BC: 3393 MEM32(ebp + (-0x4C)) = ecx; /* 0x251131BC: mov dword ptr [ebp - 0x4c], ecx */ 3394 MEM32(ebp + (-0x2C)) = ecx; /* 0x251131BF: mov dword ptr [ebp - 0x2c], ecx */ 3395 L_251131C2: 3396 eax = MEM32(ebp + (-0x2C)); /* 0x251131C2: mov eax, dword ptr [ebp - 0x2c] */ 3397 esi = MEM32(edi + 0x14); /* 0x251131C5: mov esi, dword ptr [edi + 0x14] */ 3398 edx = MEM32(ebx + 0x8); /* 0x251131C8: mov edx, dword ptr [ebx + 8] */ 3399 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3401 esi = esi + eax; /* 0x251131CB: add esi, eax */ 3402 _flag_k = FK_ADD; 3403 eax = MEM32(esi + 0x10); /* 0x251131CD: mov eax, dword ptr [esi + 0x10] */ 3404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3406 ecx = ecx + edx; /* 0x251131D0: add ecx, edx */ 3407 _flag_k = FK_ADD; 3408 /* test eax, eax */ /* 0x251131D2: test eax, eax */ 3409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3410 _cf = 0; 3411 _flag_k = FK_TEST; 3412 MEM32(ebp + (-0x78)) = esi; /* 0x251131D4: mov dword ptr [ebp - 0x78], esi */ 3413 if (TEST_LE(_flag_a, _flag_b)) goto L_251136ED; /* 0x251131D7: jle 0x251136ed */ 3414 L_251131DD: 3415 /* cmp MEM32(ecx), 0 */ /* 0x251131DD: cmp dword ptr [ecx], 0 */ 3416 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(0); 3417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3418 _flag_k = FK_CMP; 3419 if (CMP_LE(_flag_a, _flag_b)) goto L_251136ED; /* 0x251131E0: jle 0x251136ed */ 3420 L_251131E6: 3421 RECOMP_ICALL(0x250F7310u); /* 0x251131E6: call 0x250f7310 */ /* not lifted */ 3422 RECOMP_FLAGS_IN(); 3423 ecx = MEM32(esi + 0x10); /* 0x251131EB: mov ecx, dword ptr [esi + 0x10] */ 3424 /* test ecx, ecx */ /* 0x251131EE: test ecx, ecx */ 3425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3426 _cf = 0; 3427 _flag_k = FK_TEST; 3428 MEM32(ebp + (-0x9C)) = eax; /* 0x251131F0: mov dword ptr [ebp - 0x9c], eax */ 3429 MEM32(ebp + (-0x98)) = 0; /* 0x251131F6: mov dword ptr [ebp - 0x98], 0 */ 3430 if (TEST_LE(_flag_a, _flag_b)) goto L_251136E0; /* 0x25113200: jle 0x251136e0 */ 3431 L_25113206: 3432 edx = 4; /* 0x25113206: mov edx, 4 */ 3433 MEM32(ebp + (-0x3C)) = edx; /* 0x2511320B: mov dword ptr [ebp - 0x3c], edx */ 3434 goto L_2511321C; /* 0x2511320E: jmp 0x2511321c */ 3435 L_25113210: 3436 edx = MEM32(ebp + (-0x3C)); /* 0x25113210: mov edx, dword ptr [ebp - 0x3c] */ 3437 eax = MEM32(ebp + (-0x9C)); /* 0x25113213: mov eax, dword ptr [ebp - 0x9c] */ 3438 esi = MEM32(ebp + (-0x78)); /* 0x25113219: mov esi, dword ptr [ebp - 0x78] */ 3439 L_2511321C: 3440 ecx = MEM32(esi + 0x14); /* 0x2511321C: mov ecx, dword ptr [esi + 0x14] */ 3441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3442 ebx = 0; /* 0x2511321F: xor ebx, ebx */ 3443 _cf = 0; 3444 _flag_k = FK_TEST; 3445 SET_LO16(ebx, MEM16(ecx + edx)); /* 0x25113221: mov bx, word ptr [ecx + edx] */ 3446 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3447 edi = 0; /* 0x25113225: xor edi, edi */ 3448 _cf = 0; 3449 _flag_k = FK_TEST; 3450 SET_LO16(edi, MEM16(ecx + edx + (-0x2))); /* 0x25113227: mov di, word ptr [ecx + edx - 2] */ 3451 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3452 esi = 0; /* 0x2511322C: xor esi, esi */ 3453 _cf = 0; 3454 _flag_k = FK_TEST; 3455 SET_LO16(esi, MEM16(ecx + edx + (-0x4))); /* 0x2511322E: mov si, word ptr [ecx + edx - 4] */ 3456 if (5u) _cf = (((ebx) >> 27) & 1u); /* 0x25113233: shl ebx, 5 */ 3457 if (5u) { _flag_a = recomp_flags_pack((ebx << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3458 ebx = ebx << 5u; /* 0x25113233: shl ebx, 5 */ 3459 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 3460 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3461 ebx = ebx + eax; /* 0x25113236: add ebx, eax */ 3462 _flag_k = FK_ADD; 3463 ecx = ebx; /* 0x25113238: mov ecx, ebx */ 3464 edx = MEM32(ecx); /* 0x2511323A: mov edx, dword ptr [ecx] */ 3465 MEM32(ebp + (-0x38)) = edx; /* 0x2511323C: mov dword ptr [ebp - 0x38], edx */ 3466 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2511323F: fld dword ptr [ebp - 0x38] */ 3467 if (5u) _cf = (((edi) >> 27) & 1u); /* 0x25113242: shl edi, 5 */ 3468 if (5u) { _flag_a = recomp_flags_pack((edi << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3469 edi = edi << 5u; /* 0x25113242: shl edi, 5 */ 3470 _st[0] -= (double)*(float*)ADDR(edi + eax); /* 0x25113245: fsub dword ptr [edi + eax] */ 3471 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3473 edi = edi + eax; /* 0x25113248: add edi, eax */ 3474 _flag_k = FK_ADD; 3475 if (5u) _cf = (((esi) >> 27) & 1u); /* 0x2511324A: shl esi, 5 */ 3476 if (5u) { _flag_a = recomp_flags_pack((esi << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3477 esi = esi << 5u; /* 0x2511324A: shl esi, 5 */ 3478 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3480 esi = esi + eax; /* 0x2511324D: add esi, eax */ 3481 _flag_k = FK_ADD; 3482 eax = MEM32(ecx + 0x4); /* 0x2511324F: mov eax, dword ptr [ecx + 4] */ 3483 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x25113252: fstp dword ptr [ebp - 0x38] */ 3484 ecx = MEM32(ecx + 0x8); /* 0x25113255: mov ecx, dword ptr [ecx + 8] */ 3485 edx = MEM32(ebp + (-0x38)); /* 0x25113258: mov edx, dword ptr [ebp - 0x38] */ 3486 MEM32(ebp + (-0x34)) = eax; /* 0x2511325B: mov dword ptr [ebp - 0x34], eax */ 3487 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2511325E: fld dword ptr [ebp - 0x34] */ 3488 _st[0] -= (double)*(float*)ADDR(edi + 0x4); /* 0x25113261: fsub dword ptr [edi + 4] */ 3489 MEM32(ebp + (-0x30)) = ecx; /* 0x25113264: mov dword ptr [ebp - 0x30], ecx */ 3490 MEM32(ebp + (-0x164)) = edx; /* 0x25113267: mov dword ptr [ebp - 0x164], edx */ 3491 edx = edi; /* 0x2511326D: mov edx, edi */ 3492 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2511326F: fstp dword ptr [ebp - 0x34] */ 3493 eax = MEM32(ebp + (-0x34)); /* 0x25113272: mov eax, dword ptr [ebp - 0x34] */ 3494 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25113275: fld dword ptr [ebp - 0x30] */ 3495 MEM32(ebp + (-0x160)) = eax; /* 0x25113278: mov dword ptr [ebp - 0x160], eax */ 3496 _st[0] -= (double)*(float*)ADDR(edi + 0x8); /* 0x2511327E: fsub dword ptr [edi + 8] */ 3497 eax = MEM32(edx); /* 0x25113281: mov eax, dword ptr [edx] */ 3498 MEM32(ebp + (-0x48)) = eax; /* 0x25113283: mov dword ptr [ebp - 0x48], eax */ 3499 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25113286: fstp dword ptr [ebp - 0x30] */ 3500 ecx = MEM32(ebp + (-0x30)); /* 0x25113289: mov ecx, dword ptr [ebp - 0x30] */ 3501 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x2511328C: fld dword ptr [ebp - 0x48] */ 3502 MEM32(ebp + (-0x15C)) = ecx; /* 0x2511328F: mov dword ptr [ebp - 0x15c], ecx */ 3503 _st[0] -= (double)*(float*)ADDR(esi); /* 0x25113295: fsub dword ptr [esi] */ 3504 ecx = MEM32(edx + 0x4); /* 0x25113297: mov ecx, dword ptr [edx + 4] */ 3505 edx = MEM32(edx + 0x8); /* 0x2511329A: mov edx, dword ptr [edx + 8] */ 3506 MEM32(ebp + (-0x44)) = ecx; /* 0x2511329D: mov dword ptr [ebp - 0x44], ecx */ 3507 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x251132A0: fstp dword ptr [ebp - 0x48] */ 3508 eax = MEM32(ebp + (-0x48)); /* 0x251132A3: mov eax, dword ptr [ebp - 0x48] */ 3509 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x251132A6: fld dword ptr [ebp - 0x44] */ 3510 MEM32(ebp + (-0x40)) = edx; /* 0x251132A9: mov dword ptr [ebp - 0x40], edx */ 3511 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x251132AC: fsub dword ptr [esi + 4] */ 3512 MEM32(ebp + (-0xEC)) = eax; /* 0x251132AF: mov dword ptr [ebp - 0xec], eax */ 3513 eax = ebp + (-0x164); /* 0x251132B5: lea eax, [ebp - 0x164] */ 3514 PUSH32(esp, eax); /* 0x251132BB: push eax */ 3515 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x251132BC: fstp dword ptr [ebp - 0x44] */ 3516 ecx = MEM32(ebp + (-0x44)); /* 0x251132BF: mov ecx, dword ptr [ebp - 0x44] */ 3517 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x251132C2: fld dword ptr [ebp - 0x40] */ 3518 MEM32(ebp + (-0xE8)) = ecx; /* 0x251132C5: mov dword ptr [ebp - 0xe8], ecx */ 3519 _st[0] -= (double)*(float*)ADDR(esi + 0x8); /* 0x251132CB: fsub dword ptr [esi + 8] */ 3520 ecx = ebp + (-0xEC); /* 0x251132CE: lea ecx, [ebp - 0xec] */ 3521 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x251132D4: fstp dword ptr [ebp - 0x40] */ 3522 edx = MEM32(ebp + (-0x40)); /* 0x251132D7: mov edx, dword ptr [ebp - 0x40] */ 3523 MEM32(ebp + (-0xE4)) = edx; /* 0x251132DA: mov dword ptr [ebp - 0xe4], edx */ 3524 RECOMP_ICALL(MEM32(0x25151564)); /* 0x251132E0: call dword ptr [0x25151564] */ 3525 RECOMP_FLAGS_IN(); 3526 ecx = MEM32(eax); /* 0x251132E6: mov ecx, dword ptr [eax] */ 3527 edx = MEM32(eax + 0x4); /* 0x251132E8: mov edx, dword ptr [eax + 4] */ 3528 eax = MEM32(eax + 0x8); /* 0x251132EB: mov eax, dword ptr [eax + 8] */ 3529 MEM32(ebp + (-0x6C)) = eax; /* 0x251132EE: mov dword ptr [ebp - 0x6c], eax */ 3530 fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x251132F1: fld dword ptr [ebp - 0x6c] */ 3531 _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x251132F4: fmul dword ptr [ebp + 8] */ 3532 MEM32(ebp + (-0x70)) = edx; /* 0x251132F7: mov dword ptr [ebp - 0x70], edx */ 3533 fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x251132FA: fld dword ptr [ebp - 0x70] */ 3534 MEM32(ebp + (-0x74)) = ecx; /* 0x251132FD: mov dword ptr [ebp - 0x74], ecx */ 3535 _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25113300: fmul dword ptr [ebp + 0xc] */ 3536 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113303: faddp st(1) */ 3537 fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x25113305: fld dword ptr [ebp - 0x74] */ 3538 _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x25113308: fmul dword ptr [ebp - 0x1c] */ 3539 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511330B: faddp st(1) */ 3540 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2511330D: fst dword ptr [ebp - 0x10] */ 3541 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25113310: fcomp dword ptr [0x2515177c] */ 3542 fp_pop(); 3543 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113316: fnstsw ax */ 3544 /* test HI8(eax), 1 */ /* 0x25113318: test ah, 1 */ 3545 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3546 _cf = 0; 3547 _flag_k = FK_NARROW(FK_TEST, 24); 3548 if (TEST_Z(_flag_a, _flag_b)) goto L_251136B1; /* 0x2511331B: je 0x251136b1 */ 3549 L_25113321: 3550 ecx = esi; /* 0x25113321: mov ecx, esi */ 3551 edx = MEM32(ecx); /* 0x25113323: mov edx, dword ptr [ecx] */ 3552 eax = MEM32(ecx + 0x4); /* 0x25113325: mov eax, dword ptr [ecx + 4] */ 3553 ecx = MEM32(ecx + 0x8); /* 0x25113328: mov ecx, dword ptr [ecx + 8] */ 3554 MEM32(ebp + (-0xD4)) = edx; /* 0x2511332B: mov dword ptr [ebp - 0xd4], edx */ 3555 edx = ebp + (-0xC); /* 0x25113331: lea edx, [ebp - 0xc] */ 3556 MEM32(ebp + (-0xCC)) = ecx; /* 0x25113334: mov dword ptr [ebp - 0xcc], ecx */ 3557 PUSH32(esp, edx); /* 0x2511333A: push edx */ 3558 ecx = ebp + (-0xD4); /* 0x2511333B: lea ecx, [ebp - 0xd4] */ 3559 MEM32(ebp + (-0xD0)) = eax; /* 0x25113341: mov dword ptr [ebp - 0xd0], eax */ 3560 RECOMP_ICALL(MEM32(0x25151540)); /* 0x25113347: call dword ptr [0x25151540] */ 3561 RECOMP_FLAGS_IN(); 3562 ecx = MEM32(eax); /* 0x2511334D: mov ecx, dword ptr [eax] */ 3563 edx = MEM32(eax + 0x4); /* 0x2511334F: mov edx, dword ptr [eax + 4] */ 3564 eax = MEM32(eax + 0x8); /* 0x25113352: mov eax, dword ptr [eax + 8] */ 3565 MEM32(ebp + (-0xA0)) = eax; /* 0x25113355: mov dword ptr [ebp - 0xa0], eax */ 3566 fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2511335B: fld dword ptr [ebp - 0xa0] */ 3567 _st[0] *= (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x25113361: fmul dword ptr [ebp - 0x6c] */ 3568 MEM32(ebp + (-0xA4)) = edx; /* 0x25113364: mov dword ptr [ebp - 0xa4], edx */ 3569 fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2511336A: fld dword ptr [ebp - 0xa4] */ 3570 MEM32(ebp + (-0xA8)) = ecx; /* 0x25113370: mov dword ptr [ebp - 0xa8], ecx */ 3571 _st[0] *= (double)*(float*)ADDR(ebp + (-0x70)); /* 0x25113376: fmul dword ptr [ebp - 0x70] */ 3572 ecx = MEM32(ebp + (-0x1C)); /* 0x25113379: mov ecx, dword ptr [ebp - 0x1c] */ 3573 edx = MEM32(ebp + (-0x18)); /* 0x2511337C: mov edx, dword ptr [ebp - 0x18] */ 3574 eax = MEM32(ebp + (-0x14)); /* 0x2511337F: mov eax, dword ptr [ebp - 0x14] */ 3575 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113382: faddp st(1) */ 3576 MEM32(ebp + (-0x68)) = ecx; /* 0x25113384: mov dword ptr [ebp - 0x68], ecx */ 3577 fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x25113387: fld dword ptr [ebp - 0x74] */ 3578 MEM32(ebp + (-0x64)) = edx; /* 0x2511338A: mov dword ptr [ebp - 0x64], edx */ 3579 _st[0] *= (double)*(float*)ADDR(ebp + (-0xA8)); /* 0x2511338D: fmul dword ptr [ebp - 0xa8] */ 3580 MEM32(ebp + (-0x60)) = eax; /* 0x25113393: mov dword ptr [ebp - 0x60], eax */ 3581 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113396: faddp st(1) */ 3582 _st[0] /= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25113398: fdiv dword ptr [ebp - 0x10] */ 3583 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2511339B: fstp dword ptr [ebp - 0x10] */ 3584 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2511339E: fld dword ptr [ebp - 0x1c] */ 3585 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x251133A1: fmul dword ptr [ebp - 0x10] */ 3586 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x251133A4: fstp dword ptr [ebp - 0x68] */ 3587 ecx = MEM32(ebp + (-0x68)); /* 0x251133A7: mov ecx, dword ptr [ebp - 0x68] */ 3588 fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x251133AA: fld dword ptr [ebp - 0x64] */ 3589 MEM32(ebp + (-0x104)) = ecx; /* 0x251133AD: mov dword ptr [ebp - 0x104], ecx */ 3590 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x251133B3: fmul dword ptr [ebp - 0x10] */ 3591 ecx = MEM32(ebp + (-0xC)); /* 0x251133B6: mov ecx, dword ptr [ebp - 0xc] */ 3592 MEM32(ebp + (-0x14C)) = ecx; /* 0x251133B9: mov dword ptr [ebp - 0x14c], ecx */ 3593 ecx = ebp + (-0x104); /* 0x251133BF: lea ecx, [ebp - 0x104] */ 3594 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x251133C5: fstp dword ptr [ebp - 0x64] */ 3595 edx = MEM32(ebp + (-0x64)); /* 0x251133C8: mov edx, dword ptr [ebp - 0x64] */ 3596 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x251133CB: fld dword ptr [ebp - 0x60] */ 3597 MEM32(ebp + (-0x100)) = edx; /* 0x251133CE: mov dword ptr [ebp - 0x100], edx */ 3598 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x251133D4: fmul dword ptr [ebp - 0x10] */ 3599 edx = MEM32(ebp + (-0x8)); /* 0x251133D7: mov edx, dword ptr [ebp - 8] */ 3600 PUSH32(esp, ecx); /* 0x251133DA: push ecx */ 3601 ecx = ebp + (-0x14C); /* 0x251133DB: lea ecx, [ebp - 0x14c] */ 3602 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x251133E1: fstp dword ptr [ebp - 0x60] */ 3603 eax = MEM32(ebp + (-0x60)); /* 0x251133E4: mov eax, dword ptr [ebp - 0x60] */ 3604 MEM32(ebp + (-0xFC)) = eax; /* 0x251133E7: mov dword ptr [ebp - 0xfc], eax */ 3605 eax = MEM32(ebp + (-0x4)); /* 0x251133ED: mov eax, dword ptr [ebp - 4] */ 3606 MEM32(ebp + (-0x148)) = edx; /* 0x251133F0: mov dword ptr [ebp - 0x148], edx */ 3607 MEM32(ebp + (-0x144)) = eax; /* 0x251133F6: mov dword ptr [ebp - 0x144], eax */ 3608 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x251133FC: call dword ptr [0x251514f8] */ 3609 RECOMP_FLAGS_IN(); 3610 edx = eax; /* 0x25113402: mov edx, eax */ 3611 ecx = MEM32(edx); /* 0x25113404: mov ecx, dword ptr [edx] */ 3612 MEM32(ebp + (-0x88)) = ecx; /* 0x25113406: mov dword ptr [ebp - 0x88], ecx */ 3613 ecx = MEM32(edx + 0x4); /* 0x2511340C: mov ecx, dword ptr [edx + 4] */ 3614 edx = MEM32(edx + 0x8); /* 0x2511340F: mov edx, dword ptr [edx + 8] */ 3615 MEM32(ebp + (-0x84)) = ecx; /* 0x25113412: mov dword ptr [ebp - 0x84], ecx */ 3616 ecx = MEM32(eax); /* 0x25113418: mov ecx, dword ptr [eax] */ 3617 MEM32(ebp + (-0x80)) = edx; /* 0x2511341A: mov dword ptr [ebp - 0x80], edx */ 3618 edx = MEM32(eax + 0x4); /* 0x2511341D: mov edx, dword ptr [eax + 4] */ 3619 eax = MEM32(eax + 0x8); /* 0x25113420: mov eax, dword ptr [eax + 8] */ 3620 MEM32(ebp + (-0x11C)) = ecx; /* 0x25113423: mov dword ptr [ebp - 0x11c], ecx */ 3621 PUSH32(esp, esi); /* 0x25113429: push esi */ 3622 ecx = ebp + (-0x11C); /* 0x2511342A: lea ecx, [ebp - 0x11c] */ 3623 MEM32(ebp + (-0x118)) = edx; /* 0x25113430: mov dword ptr [ebp - 0x118], edx */ 3624 MEM32(ebp + (-0x114)) = eax; /* 0x25113436: mov dword ptr [ebp - 0x114], eax */ 3625 RECOMP_ICALL(MEM32(0x25151540)); /* 0x2511343C: call dword ptr [0x25151540] */ 3626 RECOMP_FLAGS_IN(); 3627 ecx = MEM32(eax); /* 0x25113442: mov ecx, dword ptr [eax] */ 3628 MEM32(ebp + (-0x134)) = ecx; /* 0x25113444: mov dword ptr [ebp - 0x134], ecx */ 3629 edx = MEM32(eax + 0x4); /* 0x2511344A: mov edx, dword ptr [eax + 4] */ 3630 MEM32(ebp + (-0x130)) = edx; /* 0x2511344D: mov dword ptr [ebp - 0x130], edx */ 3631 eax = MEM32(eax + 0x8); /* 0x25113453: mov eax, dword ptr [eax + 8] */ 3632 MEM32(ebp + (-0x12C)) = eax; /* 0x25113456: mov dword ptr [ebp - 0x12c], eax */ 3633 ecx = edi; /* 0x2511345C: mov ecx, edi */ 3634 edx = MEM32(ecx); /* 0x2511345E: mov edx, dword ptr [ecx] */ 3635 eax = MEM32(ecx + 0x4); /* 0x25113460: mov eax, dword ptr [ecx + 4] */ 3636 ecx = MEM32(ecx + 0x8); /* 0x25113463: mov ecx, dword ptr [ecx + 8] */ 3637 MEM32(ebp + (-0x174)) = ecx; /* 0x25113466: mov dword ptr [ebp - 0x174], ecx */ 3638 PUSH32(esp, esi); /* 0x2511346C: push esi */ 3639 ecx = ebp + (-0x17C); /* 0x2511346D: lea ecx, [ebp - 0x17c] */ 3640 MEM32(ebp + (-0x17C)) = edx; /* 0x25113473: mov dword ptr [ebp - 0x17c], edx */ 3641 MEM32(ebp + (-0x178)) = eax; /* 0x25113479: mov dword ptr [ebp - 0x178], eax */ 3642 RECOMP_ICALL(MEM32(0x25151540)); /* 0x2511347F: call dword ptr [0x25151540] */ 3643 RECOMP_FLAGS_IN(); 3644 edx = MEM32(eax); /* 0x25113485: mov edx, dword ptr [eax] */ 3645 ecx = MEM32(eax + 0x4); /* 0x25113487: mov ecx, dword ptr [eax + 4] */ 3646 MEM32(ebp + (-0xE0)) = edx; /* 0x2511348A: mov dword ptr [ebp - 0xe0], edx */ 3647 edx = MEM32(eax + 0x8); /* 0x25113490: mov edx, dword ptr [eax + 8] */ 3648 eax = ebp + (-0x134); /* 0x25113493: lea eax, [ebp - 0x134] */ 3649 MEM32(ebp + (-0xDC)) = ecx; /* 0x25113499: mov dword ptr [ebp - 0xdc], ecx */ 3650 PUSH32(esp, eax); /* 0x2511349F: push eax */ 3651 ecx = ebp + (-0xE0); /* 0x251134A0: lea ecx, [ebp - 0xe0] */ 3652 MEM32(ebp + (-0xD8)) = edx; /* 0x251134A6: mov dword ptr [ebp - 0xd8], edx */ 3653 RECOMP_ICALL(MEM32(0x25151564)); /* 0x251134AC: call dword ptr [0x25151564] */ 3654 RECOMP_FLAGS_IN(); 3655 ecx = MEM32(eax); /* 0x251134B2: mov ecx, dword ptr [eax] */ 3656 edx = MEM32(eax + 0x4); /* 0x251134B4: mov edx, dword ptr [eax + 4] */ 3657 eax = MEM32(eax + 0x8); /* 0x251134B7: mov eax, dword ptr [eax + 8] */ 3658 MEM32(ebp + (-0x94)) = ecx; /* 0x251134BA: mov dword ptr [ebp - 0x94], ecx */ 3659 ecx = MEM32(ebp + (-0x88)); /* 0x251134C0: mov ecx, dword ptr [ebp - 0x88] */ 3660 MEM32(ebp + (-0x90)) = edx; /* 0x251134C6: mov dword ptr [ebp - 0x90], edx */ 3661 edx = MEM32(ebp + (-0x84)); /* 0x251134CC: mov edx, dword ptr [ebp - 0x84] */ 3662 MEM32(ebp + (-0x8C)) = eax; /* 0x251134D2: mov dword ptr [ebp - 0x8c], eax */ 3663 eax = MEM32(ebp + (-0x80)); /* 0x251134D8: mov eax, dword ptr [ebp - 0x80] */ 3664 MEM32(ebp + (-0xF8)) = ecx; /* 0x251134DB: mov dword ptr [ebp - 0xf8], ecx */ 3665 PUSH32(esp, edi); /* 0x251134E1: push edi */ 3666 ecx = ebp + (-0xF8); /* 0x251134E2: lea ecx, [ebp - 0xf8] */ 3667 MEM32(ebp + (-0xF4)) = edx; /* 0x251134E8: mov dword ptr [ebp - 0xf4], edx */ 3668 MEM32(ebp + (-0xF0)) = eax; /* 0x251134EE: mov dword ptr [ebp - 0xf0], eax */ 3669 RECOMP_ICALL(MEM32(0x25151540)); /* 0x251134F4: call dword ptr [0x25151540] */ 3670 RECOMP_FLAGS_IN(); 3671 ecx = MEM32(eax); /* 0x251134FA: mov ecx, dword ptr [eax] */ 3672 MEM32(ebp + (-0x128)) = ecx; /* 0x251134FC: mov dword ptr [ebp - 0x128], ecx */ 3673 edx = MEM32(eax + 0x4); /* 0x25113502: mov edx, dword ptr [eax + 4] */ 3674 MEM32(ebp + (-0x124)) = edx; /* 0x25113505: mov dword ptr [ebp - 0x124], edx */ 3675 eax = MEM32(eax + 0x8); /* 0x2511350B: mov eax, dword ptr [eax + 8] */ 3676 ecx = ebx; /* 0x2511350E: mov ecx, ebx */ 3677 edx = MEM32(ecx); /* 0x25113510: mov edx, dword ptr [ecx] */ 3678 MEM32(ebp + (-0x120)) = eax; /* 0x25113512: mov dword ptr [ebp - 0x120], eax */ 3679 eax = MEM32(ecx + 0x4); /* 0x25113518: mov eax, dword ptr [ecx + 4] */ 3680 ecx = MEM32(ecx + 0x8); /* 0x2511351B: mov ecx, dword ptr [ecx + 8] */ 3681 MEM32(ebp + (-0x108)) = ecx; /* 0x2511351E: mov dword ptr [ebp - 0x108], ecx */ 3682 PUSH32(esp, edi); /* 0x25113524: push edi */ 3683 ecx = ebp + (-0x110); /* 0x25113525: lea ecx, [ebp - 0x110] */ 3684 MEM32(ebp + (-0x110)) = edx; /* 0x2511352B: mov dword ptr [ebp - 0x110], edx */ 3685 MEM32(ebp + (-0x10C)) = eax; /* 0x25113531: mov dword ptr [ebp - 0x10c], eax */ 3686 RECOMP_ICALL(MEM32(0x25151540)); /* 0x25113537: call dword ptr [0x25151540] */ 3687 RECOMP_FLAGS_IN(); 3688 edx = MEM32(eax); /* 0x2511353D: mov edx, dword ptr [eax] */ 3689 ecx = MEM32(eax + 0x4); /* 0x2511353F: mov ecx, dword ptr [eax + 4] */ 3690 MEM32(ebp + (-0x140)) = edx; /* 0x25113542: mov dword ptr [ebp - 0x140], edx */ 3691 edx = MEM32(eax + 0x8); /* 0x25113548: mov edx, dword ptr [eax + 8] */ 3692 eax = ebp + (-0x128); /* 0x2511354B: lea eax, [ebp - 0x128] */ 3693 MEM32(ebp + (-0x13C)) = ecx; /* 0x25113551: mov dword ptr [ebp - 0x13c], ecx */ 3694 PUSH32(esp, eax); /* 0x25113557: push eax */ 3695 ecx = ebp + (-0x140); /* 0x25113558: lea ecx, [ebp - 0x140] */ 3696 MEM32(ebp + (-0x138)) = edx; /* 0x2511355E: mov dword ptr [ebp - 0x138], edx */ 3697 RECOMP_ICALL(MEM32(0x25151564)); /* 0x25113564: call dword ptr [0x25151564] */ 3698 RECOMP_FLAGS_IN(); 3699 fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2511356A: fld dword ptr [ebp - 0x8c] */ 3700 ecx = MEM32(eax); /* 0x25113570: mov ecx, dword ptr [eax] */ 3701 edx = MEM32(eax + 0x4); /* 0x25113572: mov edx, dword ptr [eax + 4] */ 3702 eax = MEM32(eax + 0x8); /* 0x25113575: mov eax, dword ptr [eax + 8] */ 3703 MEM32(ebp + (-0xB0)) = eax; /* 0x25113578: mov dword ptr [ebp - 0xb0], eax */ 3704 _st[0] *= (double)*(float*)ADDR(ebp + (-0xB0)); /* 0x2511357E: fmul dword ptr [ebp - 0xb0] */ 3705 fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x25113584: fld dword ptr [ebp - 0x90] */ 3706 MEM32(ebp + (-0xB4)) = edx; /* 0x2511358A: mov dword ptr [ebp - 0xb4], edx */ 3707 _st[0] *= (double)*(float*)ADDR(ebp + (-0xB4)); /* 0x25113590: fmul dword ptr [ebp - 0xb4] */ 3708 MEM32(ebp + (-0xB8)) = ecx; /* 0x25113596: mov dword ptr [ebp - 0xb8], ecx */ 3709 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511359C: faddp st(1) */ 3710 fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2511359E: fld dword ptr [ebp - 0xb8] */ 3711 _st[0] *= (double)*(float*)ADDR(ebp + (-0x94)); /* 0x251135A4: fmul dword ptr [ebp - 0x94] */ 3712 { double _v = fp_pop(); _st[0] += _v; } /* 0x251135AA: faddp st(1) */ 3713 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x251135AC: fcomp dword ptr [0x2515177c] */ 3714 fp_pop(); 3715 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x251135B2: fnstsw ax */ 3716 /* test HI8(eax), 1 */ /* 0x251135B4: test ah, 1 */ 3717 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3718 _cf = 0; 3719 _flag_k = FK_NARROW(FK_TEST, 24); 3720 if (TEST_NZ(_flag_a, _flag_b)) goto L_251136B1; /* 0x251135B7: jne 0x251136b1 */ 3721 L_251135BD: 3722 ecx = MEM32(ebp + (-0x88)); /* 0x251135BD: mov ecx, dword ptr [ebp - 0x88] */ 3723 edx = MEM32(ebp + (-0x84)); /* 0x251135C3: mov edx, dword ptr [ebp - 0x84] */ 3724 eax = MEM32(ebp + (-0x80)); /* 0x251135C9: mov eax, dword ptr [ebp - 0x80] */ 3725 MEM32(ebp + (-0x158)) = ecx; /* 0x251135CC: mov dword ptr [ebp - 0x158], ecx */ 3726 PUSH32(esp, ebx); /* 0x251135D2: push ebx */ 3727 ecx = ebp + (-0x158); /* 0x251135D3: lea ecx, [ebp - 0x158] */ 3728 MEM32(ebp + (-0x154)) = edx; /* 0x251135D9: mov dword ptr [ebp - 0x154], edx */ 3729 MEM32(ebp + (-0x150)) = eax; /* 0x251135DF: mov dword ptr [ebp - 0x150], eax */ 3730 RECOMP_ICALL(MEM32(0x25151540)); /* 0x251135E5: call dword ptr [0x25151540] */ 3731 RECOMP_FLAGS_IN(); 3732 ecx = MEM32(eax); /* 0x251135EB: mov ecx, dword ptr [eax] */ 3733 MEM32(ebp + (-0x170)) = ecx; /* 0x251135ED: mov dword ptr [ebp - 0x170], ecx */ 3734 edx = MEM32(eax + 0x4); /* 0x251135F3: mov edx, dword ptr [eax + 4] */ 3735 ecx = MEM32(esi); /* 0x251135F6: mov ecx, dword ptr [esi] */ 3736 MEM32(ebp + (-0x58)) = ecx; /* 0x251135F8: mov dword ptr [ebp - 0x58], ecx */ 3737 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x251135FB: fld dword ptr [ebp - 0x58] */ 3738 _st[0] -= (double)*(float*)ADDR(ebx); /* 0x251135FE: fsub dword ptr [ebx] */ 3739 MEM32(ebp + (-0x16C)) = edx; /* 0x25113600: mov dword ptr [ebp - 0x16c], edx */ 3740 edx = MEM32(esi + 0x4); /* 0x25113606: mov edx, dword ptr [esi + 4] */ 3741 eax = MEM32(eax + 0x8); /* 0x25113609: mov eax, dword ptr [eax + 8] */ 3742 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x2511360C: fstp dword ptr [ebp - 0x58] */ 3743 ecx = MEM32(ebp + (-0x58)); /* 0x2511360F: mov ecx, dword ptr [ebp - 0x58] */ 3744 MEM32(ebp + (-0x54)) = edx; /* 0x25113612: mov dword ptr [ebp - 0x54], edx */ 3745 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x25113615: fld dword ptr [ebp - 0x54] */ 3746 _st[0] -= (double)*(float*)ADDR(ebx + 0x4); /* 0x25113618: fsub dword ptr [ebx + 4] */ 3747 MEM32(ebp + (-0x168)) = eax; /* 0x2511361B: mov dword ptr [ebp - 0x168], eax */ 3748 eax = MEM32(esi + 0x8); /* 0x25113621: mov eax, dword ptr [esi + 8] */ 3749 MEM32(ebp + (-0x50)) = eax; /* 0x25113624: mov dword ptr [ebp - 0x50], eax */ 3750 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x25113627: fstp dword ptr [ebp - 0x54] */ 3751 edx = MEM32(ebp + (-0x54)); /* 0x2511362A: mov edx, dword ptr [ebp - 0x54] */ 3752 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2511362D: fld dword ptr [ebp - 0x50] */ 3753 MEM32(ebp + (-0x188)) = ecx; /* 0x25113630: mov dword ptr [ebp - 0x188], ecx */ 3754 _st[0] -= (double)*(float*)ADDR(ebx + 0x8); /* 0x25113636: fsub dword ptr [ebx + 8] */ 3755 ecx = ebp + (-0x170); /* 0x25113639: lea ecx, [ebp - 0x170] */ 3756 PUSH32(esp, ecx); /* 0x2511363F: push ecx */ 3757 ecx = ebp + (-0x188); /* 0x25113640: lea ecx, [ebp - 0x188] */ 3758 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x25113646: fstp dword ptr [ebp - 0x50] */ 3759 eax = MEM32(ebp + (-0x50)); /* 0x25113649: mov eax, dword ptr [ebp - 0x50] */ 3760 MEM32(ebp + (-0x184)) = edx; /* 0x2511364C: mov dword ptr [ebp - 0x184], edx */ 3761 MEM32(ebp + (-0x180)) = eax; /* 0x25113652: mov dword ptr [ebp - 0x180], eax */ 3762 RECOMP_ICALL(MEM32(0x25151564)); /* 0x25113658: call dword ptr [0x25151564] */ 3763 RECOMP_FLAGS_IN(); 3764 fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2511365E: fld dword ptr [ebp - 0x8c] */ 3765 edx = MEM32(eax); /* 0x25113664: mov edx, dword ptr [eax] */ 3766 ecx = MEM32(eax + 0x4); /* 0x25113666: mov ecx, dword ptr [eax + 4] */ 3767 MEM32(ebp + (-0xC8)) = edx; /* 0x25113669: mov dword ptr [ebp - 0xc8], edx */ 3768 edx = MEM32(eax + 0x8); /* 0x2511366F: mov edx, dword ptr [eax + 8] */ 3769 MEM32(ebp + (-0xC0)) = edx; /* 0x25113672: mov dword ptr [ebp - 0xc0], edx */ 3770 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC0)); /* 0x25113678: fmul dword ptr [ebp - 0xc0] */ 3771 fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2511367E: fld dword ptr [ebp - 0x90] */ 3772 MEM32(ebp + (-0xC4)) = ecx; /* 0x25113684: mov dword ptr [ebp - 0xc4], ecx */ 3773 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC4)); /* 0x2511368A: fmul dword ptr [ebp - 0xc4] */ 3774 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113690: faddp st(1) */ 3775 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x25113692: fld dword ptr [ebp - 0xc8] */ 3776 _st[0] *= (double)*(float*)ADDR(ebp + (-0x94)); /* 0x25113698: fmul dword ptr [ebp - 0x94] */ 3777 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511369E: faddp st(1) */ 3778 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x251136A0: fcomp dword ptr [0x2515177c] */ 3779 fp_pop(); 3780 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x251136A6: fnstsw ax */ 3781 /* test HI8(eax), 1 */ /* 0x251136A8: test ah, 1 */ 3782 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3783 _cf = 0; 3784 _flag_k = FK_NARROW(FK_TEST, 24); 3785 if (TEST_Z(_flag_a, _flag_b)) goto L_25113746; /* 0x251136AB: je 0x25113746 */ 3786 L_251136B1: 3787 eax = MEM32(ebp + (-0x98)); /* 0x251136B1: mov eax, dword ptr [ebp - 0x98] */ 3788 esi = MEM32(ebp + (-0x3C)); /* 0x251136B7: mov esi, dword ptr [ebp - 0x3c] */ 3789 ecx = MEM32(ebp + (-0x78)); /* 0x251136BA: mov ecx, dword ptr [ebp - 0x78] */ 3790 edx = MEM32(ecx + 0x10); /* 0x251136BD: mov edx, dword ptr [ecx + 0x10] */ 3791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 3792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3793 eax = eax + 3; /* 0x251136C0: add eax, 3 */ 3794 _flag_k = FK_ADD; 3795 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(6); 3796 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3797 esi = esi + 6; /* 0x251136C3: add esi, 6 */ 3798 _flag_k = FK_ADD; 3799 /* cmp eax, edx */ /* 0x251136C6: cmp eax, edx */ 3800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3802 _flag_k = FK_CMP; 3803 MEM32(ebp + (-0x98)) = eax; /* 0x251136C8: mov dword ptr [ebp - 0x98], eax */ 3804 MEM32(ebp + (-0x3C)) = esi; /* 0x251136CE: mov dword ptr [ebp - 0x3c], esi */ 3805 RECOMP_BACKEDGE(); 3806 if (CMP_L(_flag_a, _flag_b)) goto L_25113210; /* 0x251136D1: jl 0x25113210 */ 3807 L_251136D7: 3808 edi = MEM32(ebp + (-0xAC)); /* 0x251136D7: mov edi, dword ptr [ebp - 0xac] */ 3809 ebx = MEM32(ebp + (-0x28)); /* 0x251136DD: mov ebx, dword ptr [ebp - 0x28] */ 3810 L_251136E0: 3811 eax = MEM32(ebx + 0x8); /* 0x251136E0: mov eax, dword ptr [ebx + 8] */ 3812 ecx = MEM32(ebp + (-0x4C)); /* 0x251136E3: mov ecx, dword ptr [ebp - 0x4c] */ 3813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3815 ecx = ecx + eax; /* 0x251136E6: add ecx, eax */ 3816 _flag_k = FK_ADD; 3817 RECOMP_ICALL(0x25118EF0u); /* 0x251136E8: call 0x25118ef0 */ /* not lifted */ 3818 RECOMP_FLAGS_IN(); 3819 L_251136ED: 3820 ecx = MEM32(ebp + (-0x2C)); /* 0x251136ED: mov ecx, dword ptr [ebp - 0x2c] */ 3821 eax = MEM32(ebp + (-0x20)); /* 0x251136F0: mov eax, dword ptr [ebp - 0x20] */ 3822 edx = MEM32(edi + 0x10); /* 0x251136F3: mov edx, dword ptr [edi + 0x10] */ 3823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u); 3824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3825 ecx = ecx + 0x34u; /* 0x251136F6: add ecx, 0x34 */ 3826 _flag_k = FK_ADD; 3827 MEM32(ebp + (-0x2C)) = ecx; /* 0x251136F9: mov dword ptr [ebp - 0x2c], ecx */ 3828 ecx = MEM32(ebp + (-0x4C)); /* 0x251136FC: mov ecx, dword ptr [ebp - 0x4c] */ 3829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3830 eax = eax + 1; /* 0x251136FF: inc eax */ 3831 _flag_k = FK_INC; 3832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 3833 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3834 ecx = ecx + 0xCu; /* 0x25113700: add ecx, 0xc */ 3835 _flag_k = FK_ADD; 3836 /* cmp eax, edx */ /* 0x25113703: cmp eax, edx */ 3837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3839 _flag_k = FK_CMP; 3840 MEM32(ebp + (-0x20)) = eax; /* 0x25113705: mov dword ptr [ebp - 0x20], eax */ 3841 MEM32(ebp + (-0x4C)) = ecx; /* 0x25113708: mov dword ptr [ebp - 0x4c], ecx */ 3842 RECOMP_BACKEDGE(); 3843 if (CMP_L(_flag_a, _flag_b)) goto L_251131C2; /* 0x2511370B: jl 0x251131c2 */ 3844 L_25113711: 3845 esi = MEM32(ebp + (-0xBC)); /* 0x25113711: mov esi, dword ptr [ebp - 0xbc] */ 3846 L_25113717: 3847 eax = MEM32(ebp + (-0x7C)); /* 0x25113717: mov eax, dword ptr [ebp - 0x7c] */ 3848 edi = MEM32(ebp + (-0x5C)); /* 0x2511371A: mov edi, dword ptr [ebp - 0x5c] */ 3849 edx = MEM32(ebp + (-0x24)); /* 0x2511371D: mov edx, dword ptr [ebp - 0x24] */ 3850 ecx = MEM32(esi + (-0x30)); /* 0x25113720: mov ecx, dword ptr [esi - 0x30] */ 3851 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3852 eax = eax + 1; /* 0x25113723: inc eax */ 3853 _flag_k = FK_INC; 3854 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 3855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3856 edi = edi + 0xCu; /* 0x25113724: add edi, 0xc */ 3857 _flag_k = FK_ADD; 3858 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x28u); 3859 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3860 edx = edx + 0x28u; /* 0x25113727: add edx, 0x28 */ 3861 _flag_k = FK_ADD; 3862 /* cmp eax, ecx */ /* 0x2511372A: cmp eax, ecx */ 3863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3865 _flag_k = FK_CMP; 3866 MEM32(ebp + (-0x7C)) = eax; /* 0x2511372C: mov dword ptr [ebp - 0x7c], eax */ 3867 MEM32(ebp + (-0x5C)) = edi; /* 0x2511372F: mov dword ptr [ebp - 0x5c], edi */ 3868 MEM32(ebp + (-0x24)) = edx; /* 0x25113732: mov dword ptr [ebp - 0x24], edx */ 3869 RECOMP_BACKEDGE(); 3870 if (CMP_L(_flag_a, _flag_b)) goto L_2511318F; /* 0x25113735: jl 0x2511318f */ 3871 L_2511373B: 3872 edi = POP32_VAL(esp); /* 0x2511373B: pop edi */ 3873 esi = POP32_VAL(esp); /* 0x2511373C: pop esi */ 3874 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 3875 SET_LO8(eax, 0); /* 0x2511373D: xor al, al */ 3876 _cf = 0; 3877 _flag_k = FK_NARROW(FK_TEST, 24); 3878 ebx = POP32_VAL(esp); /* 0x2511373F: pop ebx */ 3879 esp = ebp; /* 0x25113740: mov esp, ebp */ 3880 ebp = POP32_VAL(esp); /* 0x25113742: pop ebp */ 3881 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25113743: ret 0x10 */ 3882 L_25113746: 3883 eax = MEM32(ebp + 0x10); /* 0x25113746: mov eax, dword ptr [ebp + 0x10] */ 3884 /* test eax, eax */ /* 0x25113749: test eax, eax */ 3885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3886 _cf = 0; 3887 _flag_k = FK_TEST; 3888 if (TEST_Z(_flag_a, _flag_b)) goto L_25113752; /* 0x2511374B: je 0x25113752 */ 3889 L_2511374D: 3890 edx = MEM32(ebp + (-0x10)); /* 0x2511374D: mov edx, dword ptr [ebp - 0x10] */ 3891 MEM32(eax) = edx; /* 0x25113750: mov dword ptr [eax], edx */ 3892 L_25113752: 3893 ecx = MEM32(ebp + (-0x28)); /* 0x25113752: mov ecx, dword ptr [ebp - 0x28] */ 3894 eax = MEM32(ebp + (-0x20)); /* 0x25113755: mov eax, dword ptr [ebp - 0x20] */ 3895 edx = MEM32(ecx + 0x8); /* 0x25113758: mov edx, dword ptr [ecx + 8] */ 3896 eax = eax + eax * 2; /* 0x2511375B: lea eax, [eax + eax*2] */ 3897 ecx = edx + eax * 4; /* 0x2511375E: lea ecx, [edx + eax*4] */ 3898 RECOMP_ICALL(0x25118EF0u); /* 0x25113761: call 0x25118ef0 */ /* not lifted */ 3899 RECOMP_FLAGS_IN(); 3900 edi = POP32_VAL(esp); /* 0x25113766: pop edi */ 3901 esi = POP32_VAL(esp); /* 0x25113767: pop esi */ 3902 SET_LO8(eax, 1); /* 0x25113768: mov al, 1 */ 3903 ebx = POP32_VAL(esp); /* 0x2511376A: pop ebx */ 3904 esp = ebp; /* 0x2511376B: mov esp, ebp */ 3905 ebp = POP32_VAL(esp); /* 0x2511376D: pop ebp */ 3906 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511376E: ret 0x10 */ 3907 RECOMP_REGS_OUT(); 3908 } 3909 3910 void sub_25113780(void) { 3911 int _fpu_cmp = 0; 3912 uint32_t _cf = 0; 3913 int _df = 1; 3914 uint32_t _flag_k = FK_NONE; 3915 uint32_t _flag_a = 0, _flag_b = 0; 3916 uint32_t _itail_tgt = 0; 3917 RECOMP_REGS_LOCALS 3918 RECOMP_ENTER(0x25113780u); 3919 3920 L_25113780: 3921 PUSH32(esp, ebp); /* 0x25113780: push ebp */ 3922 ebp = esp; /* 0x25113781: mov ebp, esp */ 3923 PUSH32(esp, 0xFFFFFFFFu); /* 0x25113783: push -1 */ 3924 PUSH32(esp, 0x2514DAFCu); /* 0x25113785: push 0x2514dafc */ 3925 eax = MEM32(FS_BASE + (0)); /* 0x2511378A: mov eax, dword ptr fs:[0] */ 3926 PUSH32(esp, eax); /* 0x25113790: push eax */ 3927 MEM32(FS_BASE + (0)) = esp; /* 0x25113791: mov dword ptr fs:[0], esp */ 3928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1C0u); 3929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3930 esp = esp - 0x1C0u; /* 0x25113798: sub esp, 0x1c0 */ 3931 _flag_k = FK_CMP; 3932 PUSH32(esp, ebx); /* 0x2511379E: push ebx */ 3933 ebx = ecx; /* 0x2511379F: mov ebx, ecx */ 3934 eax = MEM32(ebx + 0x4); /* 0x251137A1: mov eax, dword ptr [ebx + 4] */ 3935 /* test eax, eax */ /* 0x251137A4: test eax, eax */ 3936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3937 _cf = 0; 3938 _flag_k = FK_TEST; 3939 PUSH32(esp, esi); /* 0x251137A6: push esi */ 3940 PUSH32(esp, edi); /* 0x251137A7: push edi */ 3941 MEM32(ebp + (-0x114)) = ebx; /* 0x251137A8: mov dword ptr [ebp - 0x114], ebx */ 3942 if (TEST_Z(_flag_a, _flag_b)) goto L_25113A0E; /* 0x251137AE: je 0x25113a0e */ 3943 L_251137B4: 3944 eax = MEM32(ebx + 0x8); /* 0x251137B4: mov eax, dword ptr [ebx + 8] */ 3945 /* test eax, eax */ /* 0x251137B7: test eax, eax */ 3946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3947 _cf = 0; 3948 _flag_k = FK_TEST; 3949 if (TEST_Z(_flag_a, _flag_b)) goto L_25113A0E; /* 0x251137B9: je 0x25113a0e */ 3950 L_251137BF: 3951 SET_LO8(eax, MEM8(ebx + 0x288)); /* 0x251137BF: mov al, byte ptr [ebx + 0x288] */ 3952 /* test LO8(eax), LO8(eax) */ /* 0x251137C5: test al, al */ 3953 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3954 _cf = 0; 3955 _flag_k = FK_NARROW(FK_TEST, 24); 3956 if (TEST_Z(_flag_a, _flag_b)) goto L_25113A0E; /* 0x251137C7: je 0x25113a0e */ 3957 L_251137CD: 3958 eax = MEM32(ebp + 0x8); /* 0x251137CD: mov eax, dword ptr [ebp + 8] */ 3959 ecx = MEM32(eax); /* 0x251137D0: mov ecx, dword ptr [eax] */ 3960 edx = MEM32(eax + 0x4); /* 0x251137D2: mov edx, dword ptr [eax + 4] */ 3961 eax = MEM32(eax + 0x8); /* 0x251137D5: mov eax, dword ptr [eax + 8] */ 3962 MEM32(ebp + (-0x18)) = ecx; /* 0x251137D8: mov dword ptr [ebp - 0x18], ecx */ 3963 ecx = MEM32(ebp + 0xC); /* 0x251137DB: mov ecx, dword ptr [ebp + 0xc] */ 3964 MEM32(ebp + (-0x14)) = edx; /* 0x251137DE: mov dword ptr [ebp - 0x14], edx */ 3965 edx = MEM32(ecx); /* 0x251137E1: mov edx, dword ptr [ecx] */ 3966 MEM32(ebp + (-0x10)) = eax; /* 0x251137E3: mov dword ptr [ebp - 0x10], eax */ 3967 eax = MEM32(ecx + 0x4); /* 0x251137E6: mov eax, dword ptr [ecx + 4] */ 3968 ecx = MEM32(ecx + 0x8); /* 0x251137E9: mov ecx, dword ptr [ecx + 8] */ 3969 MEM32(ebp + (-0x40)) = ecx; /* 0x251137EC: mov dword ptr [ebp - 0x40], ecx */ 3970 ecx = ebx + 0x3C; /* 0x251137EF: lea ecx, [ebx + 0x3c] */ 3971 MEM32(ebp + (-0x48)) = edx; /* 0x251137F2: mov dword ptr [ebp - 0x48], edx */ 3972 MEM32(ebp + (-0x44)) = eax; /* 0x251137F5: mov dword ptr [ebp - 0x44], eax */ 3973 RECOMP_ICALL(0x250E2EC0u); /* 0x251137F8: call 0x250e2ec0 */ /* not lifted */ 3974 RECOMP_FLAGS_IN(); 3975 ecx = 0x10u; /* 0x251137FD: mov ecx, 0x10 */ 3976 esi = eax; /* 0x25113802: mov esi, eax */ 3977 edi = ebp + (-0x16C); /* 0x25113804: lea edi, [ebp - 0x16c] */ 3978 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2511380A: 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; } 3979 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3980 esi = 0; /* 0x2511380C: xor esi, esi */ 3981 _cf = 0; 3982 _flag_k = FK_TEST; 3983 ecx = ebp + (-0x16C); /* 0x2511380E: lea ecx, [ebp - 0x16c] */ 3984 MEM32(ebp + (-0x4)) = esi; /* 0x25113814: mov dword ptr [ebp - 4], esi */ 3985 RECOMP_ICALL(MEM32(0x25151514)); /* 0x25113817: call dword ptr [0x25151514] */ 3986 RECOMP_FLAGS_IN(); 3987 fp_push(*(float*)&MEM32(ebp + (-0x168))); /* 0x2511381D: fld dword ptr [ebp - 0x168] */ 3988 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113823: fmul dword ptr [ebp - 0x18] */ 3989 fp_push(*(float*)&MEM32(ebp + (-0x148))); /* 0x25113826: fld dword ptr [ebp - 0x148] */ 3990 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2511382C: fmul dword ptr [ebp - 0x10] */ 3991 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511382F: faddp st(1) */ 3992 fp_push(*(float*)&MEM32(ebp + (-0x158))); /* 0x25113831: fld dword ptr [ebp - 0x158] */ 3993 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x25113837: fmul dword ptr [ebp - 0x14] */ 3994 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511383A: faddp st(1) */ 3995 _st[0] += (double)*(float*)ADDR(ebp + (-0x138)); /* 0x2511383C: fadd dword ptr [ebp - 0x138] */ 3996 fp_push(*(float*)&MEM32(ebp + (-0x164))); /* 0x25113842: fld dword ptr [ebp - 0x164] */ 3997 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113848: fmul dword ptr [ebp - 0x18] */ 3998 fp_push(*(float*)&MEM32(ebp + (-0x144))); /* 0x2511384B: fld dword ptr [ebp - 0x144] */ 3999 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25113851: fmul dword ptr [ebp - 0x10] */ 4000 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113854: faddp st(1) */ 4001 fp_push(*(float*)&MEM32(ebp + (-0x154))); /* 0x25113856: fld dword ptr [ebp - 0x154] */ 4002 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2511385C: fmul dword ptr [ebp - 0x14] */ 4003 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511385F: faddp st(1) */ 4004 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x25113861: fadd dword ptr [ebp - 0x134] */ 4005 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x25113867: fstp dword ptr [ebp - 0x34] */ 4006 fp_push(*(float*)&MEM32(ebp + (-0x16C))); /* 0x2511386A: fld dword ptr [ebp - 0x16c] */ 4007 edx = MEM32(ebp + (-0x34)); /* 0x25113870: mov edx, dword ptr [ebp - 0x34] */ 4008 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113873: fmul dword ptr [ebp - 0x18] */ 4009 fp_push(*(float*)&MEM32(ebp + (-0x14C))); /* 0x25113876: fld dword ptr [ebp - 0x14c] */ 4010 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2511387C: fmul dword ptr [ebp - 0x10] */ 4011 MEM32(ebp + (-0x10)) = edx; /* 0x2511387F: mov dword ptr [ebp - 0x10], edx */ 4012 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113882: faddp st(1) */ 4013 fp_push(*(float*)&MEM32(ebp + (-0x15C))); /* 0x25113884: fld dword ptr [ebp - 0x15c] */ 4014 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2511388A: fmul dword ptr [ebp - 0x14] */ 4015 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511388D: faddp st(1) */ 4016 _st[0] += (double)*(float*)ADDR(ebp + (-0x13C)); /* 0x2511388F: fadd dword ptr [ebp - 0x13c] */ 4017 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25113895: fstp dword ptr [ebp - 0x18] */ 4018 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x25113898: fstp dword ptr [ebp - 0x14] */ 4019 fp_push(*(float*)&MEM32(ebp + (-0x168))); /* 0x2511389B: fld dword ptr [ebp - 0x168] */ 4020 _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x251138A1: fmul dword ptr [ebp - 0x48] */ 4021 fp_push(*(float*)&MEM32(ebp + (-0x148))); /* 0x251138A4: fld dword ptr [ebp - 0x148] */ 4022 _st[0] *= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x251138AA: fmul dword ptr [ebp - 0x40] */ 4023 { double _v = fp_pop(); _st[0] += _v; } /* 0x251138AD: faddp st(1) */ 4024 fp_push(*(float*)&MEM32(ebp + (-0x158))); /* 0x251138AF: fld dword ptr [ebp - 0x158] */ 4025 _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x251138B5: fmul dword ptr [ebp - 0x44] */ 4026 { double _v = fp_pop(); _st[0] += _v; } /* 0x251138B8: faddp st(1) */ 4027 _st[0] += (double)*(float*)ADDR(ebp + (-0x138)); /* 0x251138BA: fadd dword ptr [ebp - 0x138] */ 4028 fp_push(*(float*)&MEM32(ebp + (-0x164))); /* 0x251138C0: fld dword ptr [ebp - 0x164] */ 4029 _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x251138C6: fmul dword ptr [ebp - 0x48] */ 4030 fp_push(*(float*)&MEM32(ebp + (-0x144))); /* 0x251138C9: fld dword ptr [ebp - 0x144] */ 4031 _st[0] *= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x251138CF: fmul dword ptr [ebp - 0x40] */ 4032 { double _v = fp_pop(); _st[0] += _v; } /* 0x251138D2: faddp st(1) */ 4033 fp_push(*(float*)&MEM32(ebp + (-0x154))); /* 0x251138D4: fld dword ptr [ebp - 0x154] */ 4034 _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x251138DA: fmul dword ptr [ebp - 0x44] */ 4035 { double _v = fp_pop(); _st[0] += _v; } /* 0x251138DD: faddp st(1) */ 4036 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x251138DF: fadd dword ptr [ebp - 0x134] */ 4037 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x251138E5: fstp dword ptr [ebp - 0x34] */ 4038 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x251138E8: fld dword ptr [ebp - 0x48] */ 4039 _st[0] *= (double)*(float*)ADDR(ebp + (-0x16C)); /* 0x251138EB: fmul dword ptr [ebp - 0x16c] */ 4040 fp_push(*(float*)&MEM32(ebp + (-0x14C))); /* 0x251138F1: fld dword ptr [ebp - 0x14c] */ 4041 _st[0] *= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x251138F7: fmul dword ptr [ebp - 0x40] */ 4042 eax = MEM32(ebp + (-0x34)); /* 0x251138FA: mov eax, dword ptr [ebp - 0x34] */ 4043 { double _v = fp_pop(); _st[0] += _v; } /* 0x251138FD: faddp st(1) */ 4044 fp_push(*(float*)&MEM32(ebp + (-0x15C))); /* 0x251138FF: fld dword ptr [ebp - 0x15c] */ 4045 MEM32(ebp + (-0x40)) = eax; /* 0x25113905: mov dword ptr [ebp - 0x40], eax */ 4046 _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x25113908: fmul dword ptr [ebp - 0x44] */ 4047 MEM32(ebp + (-0x4C)) = eax; /* 0x2511390B: mov dword ptr [ebp - 0x4c], eax */ 4048 { double _v = fp_pop(); _st[0] += _v; } /* 0x2511390E: faddp st(1) */ 4049 _st[0] += (double)*(float*)ADDR(ebp + (-0x13C)); /* 0x25113910: fadd dword ptr [ebp - 0x13c] */ 4050 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x25113916: fstp dword ptr [ebp - 0x48] */ 4051 ecx = MEM32(ebp + (-0x48)); /* 0x25113919: mov ecx, dword ptr [ebp - 0x48] */ 4052 MEM32(ebp + (-0x54)) = ecx; /* 0x2511391C: mov dword ptr [ebp - 0x54], ecx */ 4053 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2511391F: fstp dword ptr [ebp - 0x44] */ 4054 edx = MEM32(ebp + (-0x44)); /* 0x25113922: mov edx, dword ptr [ebp - 0x44] */ 4055 ecx = ebp + (-0x18); /* 0x25113925: lea ecx, [ebp - 0x18] */ 4056 PUSH32(esp, ecx); /* 0x25113928: push ecx */ 4057 ecx = ebp + (-0x54); /* 0x25113929: lea ecx, [ebp - 0x54] */ 4058 MEM32(ebp + (-0x50)) = edx; /* 0x2511392C: mov dword ptr [ebp - 0x50], edx */ 4059 RECOMP_ICALL(MEM32(0x25151540)); /* 0x2511392F: call dword ptr [0x25151540] */ 4060 RECOMP_FLAGS_IN(); 4061 edx = MEM32(eax); /* 0x25113935: mov edx, dword ptr [eax] */ 4062 MEM32(ebp + (-0x30)) = edx; /* 0x25113937: mov dword ptr [ebp - 0x30], edx */ 4063 ecx = MEM32(eax + 0x4); /* 0x2511393A: mov ecx, dword ptr [eax + 4] */ 4064 MEM32(ebp + (-0x2C)) = ecx; /* 0x2511393D: mov dword ptr [ebp - 0x2c], ecx */ 4065 edx = MEM32(eax + 0x8); /* 0x25113940: mov edx, dword ptr [eax + 8] */ 4066 ecx = ebp + (-0x30); /* 0x25113943: lea ecx, [ebp - 0x30] */ 4067 MEM32(ebp + (-0x28)) = edx; /* 0x25113946: mov dword ptr [ebp - 0x28], edx */ 4068 RECOMP_ICALL(MEM32(0x25151560)); /* 0x25113949: call dword ptr [0x25151560] */ 4069 RECOMP_FLAGS_IN(); 4070 _st[0] = sqrt(_st[0]); /* 0x2511394F: fsqrt */ 4071 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25155880)); /* 0x25113951: fcom qword ptr [0x25155880] */ 4072 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113957: fnstsw ax */ 4073 /* test HI8(eax), 0x40u */ /* 0x25113959: test ah, 0x40 */ 4074 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 4075 _cf = 0; 4076 _flag_k = FK_NARROW(FK_TEST, 24); 4077 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113A0C; /* 0x2511395C: jne 0x25113a0c */ 4078 L_25113962: 4079 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x25113962: fdivr dword ptr [0x251517a4] */ 4080 ecx = MEM32(ebx + 0x8); /* 0x25113968: mov ecx, dword ptr [ebx + 8] */ 4081 fp_push(_st[0]); /* 0x2511396B: fld st(0) */ 4082 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2511396D: fmul dword ptr [ebp - 0x30] */ 4083 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x25113970: fstp dword ptr [ebp - 0x30] */ 4084 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x25113973: fld dword ptr [ebp - 0x2c] */ 4085 _st[0] *= _st[1]; /* 0x25113976: fmul st(1) */ 4086 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x25113978: fstp dword ptr [ebp - 0x2c] */ 4087 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2511397B: fld dword ptr [ebp - 0x28] */ 4088 _st[0] *= _st[1]; /* 0x2511397E: fmul st(1) */ 4089 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x25113980: fstp dword ptr [ebp - 0x28] */ 4090 eax = MEM32(ecx); /* 0x25113983: mov eax, dword ptr [ecx] */ 4091 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113985: fstp st(0) */ 4092 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x25113987: call dword ptr [eax + 0x18] */ 4093 RECOMP_FLAGS_IN(); 4094 _st[0] += (double)*(float*)ADDR(ebx + 0x228); /* 0x2511398A: fadd dword ptr [ebx + 0x228] */ 4095 _st[0] *= (double)*(float*)ADDR(ebx + 0x22C); /* 0x25113990: fmul dword ptr [ebx + 0x22c] */ 4096 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x25113996: fld dword ptr [ebp - 0x18] */ 4097 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113999: fmul dword ptr [ebp - 0x18] */ 4098 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2511399C: fld dword ptr [ebp - 0x10] */ 4099 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2511399F: fmul dword ptr [ebp - 0x10] */ 4100 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139A2: faddp st(1) */ 4101 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x251139A4: fld dword ptr [ebp - 0x14] */ 4102 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x251139A7: fmul dword ptr [ebp - 0x14] */ 4103 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139AA: faddp st(1) */ 4104 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x251139AC: fstp dword ptr [ebp - 0x38] */ 4105 fp_push(_st[0]); /* 0x251139AF: fld st(0) */ 4106 _st[0] *= _st[1]; /* 0x251139B1: fmul st(1) */ 4107 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x251139B3: fstp dword ptr [ebp - 0x3c] */ 4108 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x251139B6: fstp st(0) */ 4109 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x251139B8: fld dword ptr [ebp - 0x38] */ 4110 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x3C))); /* 0x251139BB: fcomp dword ptr [ebp - 0x3c] */ 4111 fp_pop(); 4112 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x251139BE: fnstsw ax */ 4113 /* test HI8(eax), 0x41u */ /* 0x251139C0: test ah, 0x41 */ 4114 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4115 _cf = 0; 4116 _flag_k = FK_NARROW(FK_TEST, 24); 4117 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113A44; /* 0x251139C3: jne 0x25113a44 */ 4118 L_251139C5: 4119 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x251139C5: fld dword ptr [ebp - 0x18] */ 4120 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x251139C8: fmul dword ptr [ebp - 0x30] */ 4121 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x251139CB: fld dword ptr [ebp - 0x28] */ 4122 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x251139CE: fmul dword ptr [ebp - 0x10] */ 4123 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139D1: faddp st(1) */ 4124 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x251139D3: fld dword ptr [ebp - 0x2c] */ 4125 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x251139D6: fmul dword ptr [ebp - 0x14] */ 4126 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139D9: faddp st(1) */ 4127 _st[0] += _st[0]; /* 0x251139DB: fadd st(0), st(0) */ 4128 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x251139DD: fld dword ptr [ebp - 0x30] */ 4129 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x251139E0: fmul dword ptr [ebp - 0x30] */ 4130 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x251139E3: fld dword ptr [ebp - 0x28] */ 4131 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x251139E6: fmul dword ptr [ebp - 0x28] */ 4132 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139E9: faddp st(1) */ 4133 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x251139EB: fld dword ptr [ebp - 0x2c] */ 4134 _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x251139EE: fmul dword ptr [ebp - 0x2c] */ 4135 { double _v = fp_pop(); _st[0] += _v; } /* 0x251139F1: faddp st(1) */ 4136 fp_push(_st[0]); /* 0x251139F3: fld st(0) */ 4137 _st[0] += _st[0]; /* 0x251139F5: fadd st(0), st(0) */ 4138 _st[0] = _st[2] / _st[0]; /* 0x251139F7: fdivr st(2) */ 4139 _st[0] = -_st[0]; /* 0x251139F9: fchs */ 4140 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x251139FB: fcom dword ptr [0x2515177c] */ 4141 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113A01: fnstsw ax */ 4142 /* test HI8(eax), 0x41u */ /* 0x25113A03: test ah, 0x41 */ 4143 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4144 _cf = 0; 4145 _flag_k = FK_NARROW(FK_TEST, 24); 4146 if (TEST_Z(_flag_a, _flag_b)) goto L_25113A23; /* 0x25113A06: je 0x25113a23 */ 4147 L_25113A08: 4148 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A08: fstp st(0) */ 4149 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A0A: fstp st(0) */ 4150 L_25113A0C: 4151 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A0C: fstp st(0) */ 4152 L_25113A0E: 4153 edi = POP32_VAL(esp); /* 0x25113A0E: pop edi */ 4154 esi = POP32_VAL(esp); /* 0x25113A0F: pop esi */ 4155 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 4156 SET_LO8(eax, 0); /* 0x25113A10: xor al, al */ 4157 _cf = 0; 4158 _flag_k = FK_NARROW(FK_TEST, 24); 4159 ebx = POP32_VAL(esp); /* 0x25113A12: pop ebx */ 4160 ecx = MEM32(ebp + (-0xC)); /* 0x25113A13: mov ecx, dword ptr [ebp - 0xc] */ 4161 MEM32(FS_BASE + (0)) = ecx; /* 0x25113A16: mov dword ptr fs:[0], ecx */ 4162 esp = ebp; /* 0x25113A1D: mov esp, ebp */ 4163 ebp = POP32_VAL(esp); /* 0x25113A1F: pop ebp */ 4164 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25113A20: ret 0xc */ 4165 L_25113A23: 4166 fp_push(_st[0]); /* 0x25113A23: fld st(0) */ 4167 _st[0] *= _st[2]; /* 0x25113A25: fmul st(2) */ 4168 _st[0] += _st[3]; /* 0x25113A27: fadd st(3) */ 4169 _st[0] *= _st[1]; /* 0x25113A29: fmul st(1) */ 4170 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x25113A2B: fadd dword ptr [ebp - 0x38] */ 4171 _st[0] -= (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x25113A2E: fsub dword ptr [ebp - 0x3c] */ 4172 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25113A31: fcomp dword ptr [0x2515177c] */ 4173 fp_pop(); 4174 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A37: fstp st(0) */ 4175 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113A39: fnstsw ax */ 4176 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A3B: fstp st(0) */ 4177 /* test HI8(eax), 1 */ /* 0x25113A3D: test ah, 1 */ 4178 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4179 _cf = 0; 4180 _flag_k = FK_NARROW(FK_TEST, 24); 4181 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113A40: fstp st(0) */ 4182 RECOMP_BACKEDGE(); 4183 if (TEST_Z(_flag_a, _flag_b)) goto L_25113A0E; /* 0x25113A42: je 0x25113a0e */ 4184 L_25113A44: 4185 ecx = ebx; /* 0x25113A44: mov ecx, ebx */ 4186 RECOMP_ICALL(0x2510F990u); /* 0x25113A46: call 0x2510f990 */ /* not lifted */ 4187 RECOMP_FLAGS_IN(); 4188 ecx = ebx; /* 0x25113A4B: mov ecx, ebx */ 4189 RECOMP_ICALL(0x2510FAB0u); /* 0x25113A4D: call 0x2510fab0 */ /* not lifted */ 4190 RECOMP_FLAGS_IN(); 4191 ecx = ebx + 0x270; /* 0x25113A52: lea ecx, [ebx + 0x270] */ 4192 PUSH32(esp, ecx); /* 0x25113A58: push ecx */ 4193 edx = ebx + 0x264; /* 0x25113A59: lea edx, [ebx + 0x264] */ 4194 PUSH32(esp, edx); /* 0x25113A5F: push edx */ 4195 eax = ebp + (-0x48); /* 0x25113A60: lea eax, [ebp - 0x48] */ 4196 PUSH32(esp, eax); /* 0x25113A63: push eax */ 4197 ecx = ebp + (-0x18); /* 0x25113A64: lea ecx, [ebp - 0x18] */ 4198 PUSH32(esp, ecx); /* 0x25113A67: push ecx */ 4199 RECOMP_ICALL(0x25127380u); /* 0x25113A68: call 0x25127380 */ /* not lifted */ 4200 RECOMP_FLAGS_IN(); 4201 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4202 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4203 esp = esp + 0x10u; /* 0x25113A6D: add esp, 0x10 */ 4204 _flag_k = FK_ADD; 4205 /* test LO8(eax), LO8(eax) */ /* 0x25113A70: test al, al */ 4206 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4207 _cf = 0; 4208 _flag_k = FK_NARROW(FK_TEST, 24); 4209 RECOMP_BACKEDGE(); 4210 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113A0E; /* 0x25113A72: jne 0x25113a0e */ 4211 L_25113A74: 4212 eax = MEM32(ebp + 0xC); /* 0x25113A74: mov eax, dword ptr [ebp + 0xc] */ 4213 edx = MEM32(eax); /* 0x25113A77: mov edx, dword ptr [eax] */ 4214 ecx = MEM32(eax + 0x4); /* 0x25113A79: mov ecx, dword ptr [eax + 4] */ 4215 MEM32(ebp + (-0x24)) = edx; /* 0x25113A7C: mov dword ptr [ebp - 0x24], edx */ 4216 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25113A7F: fld dword ptr [ebp - 0x24] */ 4217 edx = MEM32(eax + 0x8); /* 0x25113A82: mov edx, dword ptr [eax + 8] */ 4218 eax = MEM32(ebp + 0x8); /* 0x25113A85: mov eax, dword ptr [ebp + 8] */ 4219 _st[0] -= (double)*(float*)ADDR(eax); /* 0x25113A88: fsub dword ptr [eax] */ 4220 MEM32(ebp + (-0x20)) = ecx; /* 0x25113A8A: mov dword ptr [ebp - 0x20], ecx */ 4221 MEM32(ebp + (-0x1C)) = edx; /* 0x25113A8D: mov dword ptr [ebp - 0x1c], edx */ 4222 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25113A90: fstp dword ptr [ebp - 0x24] */ 4223 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25113A93: fld dword ptr [ebp - 0x20] */ 4224 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x25113A96: fsub dword ptr [eax + 4] */ 4225 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25113A99: fstp dword ptr [ebp - 0x20] */ 4226 ecx = MEM32(ebp + (-0x20)); /* 0x25113A9C: mov ecx, dword ptr [ebp - 0x20] */ 4227 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113A9F: fld dword ptr [ebp - 0x1c] */ 4228 MEM32(ebp + (-0x50)) = ecx; /* 0x25113AA2: mov dword ptr [ebp - 0x50], ecx */ 4229 _st[0] -= (double)*(float*)ADDR(eax + 0x8); /* 0x25113AA5: fsub dword ptr [eax + 8] */ 4230 eax = MEM32(ebp + (-0x24)); /* 0x25113AA8: mov eax, dword ptr [ebp - 0x24] */ 4231 ecx = ebp + (-0x54); /* 0x25113AAB: lea ecx, [ebp - 0x54] */ 4232 MEM32(ebp + (-0x54)) = eax; /* 0x25113AAE: mov dword ptr [ebp - 0x54], eax */ 4233 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x25113AB1: fstp dword ptr [ebp - 0x1c] */ 4234 edx = MEM32(ebp + (-0x1C)); /* 0x25113AB4: mov edx, dword ptr [ebp - 0x1c] */ 4235 MEM32(ebp + (-0x4C)) = edx; /* 0x25113AB7: mov dword ptr [ebp - 0x4c], edx */ 4236 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x25113ABA: call dword ptr [0x2515150c] */ 4237 RECOMP_FLAGS_IN(); 4238 PUSH32(esp, ecx); /* 0x25113AC0: push ecx */ 4239 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25113AC1: fstp dword ptr [esp] */ 4240 ecx = ebp + (-0x54); /* 0x25113AC4: lea ecx, [ebp - 0x54] */ 4241 RECOMP_ICALL(MEM32(0x25151510)); /* 0x25113AC7: call dword ptr [0x25151510] */ 4242 RECOMP_FLAGS_IN(); 4243 ecx = ebx + 0x3C; /* 0x25113ACD: lea ecx, [ebx + 0x3c] */ 4244 RECOMP_ICALL(0x250E2EC0u); /* 0x25113AD0: call 0x250e2ec0 */ /* not lifted */ 4245 RECOMP_FLAGS_IN(); 4246 ecx = ebx; /* 0x25113AD5: mov ecx, ebx */ 4247 RECOMP_ICALL(0x2510FA50u); /* 0x25113AD7: call 0x2510fa50 */ /* not lifted */ 4248 RECOMP_FLAGS_IN(); 4249 /* cmp MEM32(ebx + 0xC), esi */ /* 0x25113ADC: cmp dword ptr [ebx + 0xc], esi */ 4250 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(esi); 4251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4252 _flag_k = FK_CMP; 4253 MEM32(ebp + (-0xDC)) = esi; /* 0x25113ADF: mov dword ptr [ebp - 0xdc], esi */ 4254 RECOMP_BACKEDGE(); 4255 if (CMP_LE(_flag_a, _flag_b)) goto L_25113A0E; /* 0x25113AE5: jle 0x25113a0e */ 4256 L_25113AEB: 4257 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4258 ecx = 0; /* 0x25113AEB: xor ecx, ecx */ 4259 _cf = 0; 4260 _flag_k = FK_TEST; 4261 MEM32(ebp + (-0x3C)) = esi; /* 0x25113AED: mov dword ptr [ebp - 0x3c], esi */ 4262 MEM32(ebp + (-0x34)) = ecx; /* 0x25113AF0: mov dword ptr [ebp - 0x34], ecx */ 4263 L_25113AF3: 4264 eax = MEM32(ebx + 0x10); /* 0x25113AF3: mov eax, dword ptr [ebx + 0x10] */ 4265 edi = MEM32(ebp + (-0x3C)); /* 0x25113AF6: mov edi, dword ptr [ebp - 0x3c] */ 4266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4268 ecx = ecx + eax; /* 0x25113AF9: add ecx, eax */ 4269 _flag_k = FK_ADD; 4270 eax = MEM32(ecx); /* 0x25113AFB: mov eax, dword ptr [ecx] */ 4271 eax = MEM32(eax + 0x44); /* 0x25113AFD: mov eax, dword ptr [eax + 0x44] */ 4272 edx = MEM32(eax + edi + 0x10); /* 0x25113B00: mov edx, dword ptr [eax + edi + 0x10] */ 4273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4274 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4275 eax = eax + edi; /* 0x25113B04: add eax, edi */ 4276 _flag_k = FK_ADD; 4277 /* cmp edx, esi */ /* 0x25113B06: cmp edx, esi */ 4278 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4280 _flag_k = FK_CMP; 4281 MEM32(ebp + 0xC) = ecx; /* 0x25113B08: mov dword ptr [ebp + 0xc], ecx */ 4282 MEM32(ebp + (-0x110)) = eax; /* 0x25113B0B: mov dword ptr [ebp - 0x110], eax */ 4283 MEM32(ebp + (-0x38)) = esi; /* 0x25113B11: mov dword ptr [ebp - 0x38], esi */ 4284 if (CMP_LE(_flag_a, _flag_b)) goto L_2511421C; /* 0x25113B14: jle 0x2511421c */ 4285 L_25113B1A: 4286 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4287 edi = 0; /* 0x25113B1A: xor edi, edi */ 4288 _cf = 0; 4289 _flag_k = FK_TEST; 4290 MEM32(ebp + 0x8) = esi; /* 0x25113B1C: mov dword ptr [ebp + 8], esi */ 4291 MEM32(ebp + (-0xD8)) = edi; /* 0x25113B1F: mov dword ptr [ebp - 0xd8], edi */ 4292 L_25113B25: 4293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x14)); 4294 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4295 edi = edi + MEM32(eax + 0x14); /* 0x25113B25: add edi, dword ptr [eax + 0x14] */ 4296 _flag_k = FK_ADD; 4297 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 4298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4299 esi = esi + MEM32(ecx + 0x8); /* 0x25113B28: add esi, dword ptr [ecx + 8] */ 4300 _flag_k = FK_ADD; 4301 edx = MEM32(edi + 0x10); /* 0x25113B2B: mov edx, dword ptr [edi + 0x10] */ 4302 /* test edx, edx */ /* 0x25113B2E: test edx, edx */ 4303 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 4304 _cf = 0; 4305 _flag_k = FK_TEST; 4306 MEM32(ebp + (-0xF0)) = edi; /* 0x25113B30: mov dword ptr [ebp - 0xf0], edi */ 4307 if (TEST_LE(_flag_a, _flag_b)) goto L_251141F2; /* 0x25113B36: jle 0x251141f2 */ 4308 L_25113B3C: 4309 /* cmp MEM32(esi), 0 */ /* 0x25113B3C: cmp dword ptr [esi], 0 */ 4310 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 4311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4312 _flag_k = FK_CMP; 4313 if (CMP_LE(_flag_a, _flag_b)) goto L_251141F2; /* 0x25113B3F: jle 0x251141f2 */ 4314 L_25113B45: 4315 ecx = esi; /* 0x25113B45: mov ecx, esi */ 4316 RECOMP_ICALL(0x250F7310u); /* 0x25113B47: call 0x250f7310 */ /* not lifted */ 4317 RECOMP_FLAGS_IN(); 4318 esi = MEM32(esi); /* 0x25113B4C: mov esi, dword ptr [esi] */ 4319 /* cmp esi, 1 */ /* 0x25113B4E: cmp esi, 1 */ 4320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 4321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4322 _flag_k = FK_CMP; 4323 ebx = eax; /* 0x25113B51: mov ebx, eax */ 4324 edx = ebx; /* 0x25113B53: mov edx, ebx */ 4325 eax = MEM32(edx); /* 0x25113B55: mov eax, dword ptr [edx] */ 4326 MEM32(ebp + (-0xC8)) = eax; /* 0x25113B57: mov dword ptr [ebp - 0xc8], eax */ 4327 ecx = MEM32(edx + 0x4); /* 0x25113B5D: mov ecx, dword ptr [edx + 4] */ 4328 MEM32(ebp + (-0xC4)) = ecx; /* 0x25113B60: mov dword ptr [ebp - 0xc4], ecx */ 4329 edx = MEM32(edx + 0x8); /* 0x25113B66: mov edx, dword ptr [edx + 8] */ 4330 MEM32(ebp + (-0xE0)) = ebx; /* 0x25113B69: mov dword ptr [ebp - 0xe0], ebx */ 4331 MEM32(ebp + (-0xC0)) = edx; /* 0x25113B6F: mov dword ptr [ebp - 0xc0], edx */ 4332 MEM32(ebp + (-0xD4)) = eax; /* 0x25113B75: mov dword ptr [ebp - 0xd4], eax */ 4333 MEM32(ebp + (-0xD0)) = ecx; /* 0x25113B7B: mov dword ptr [ebp - 0xd0], ecx */ 4334 MEM32(ebp + (-0xCC)) = edx; /* 0x25113B81: mov dword ptr [ebp - 0xcc], edx */ 4335 if (CMP_LE(_flag_a, _flag_b)) goto L_25113C35; /* 0x25113B87: jle 0x25113c35 */ 4336 L_25113B8D: 4337 ecx = ebx + 0x28; /* 0x25113B8D: lea ecx, [ebx + 0x28] */ 4338 edx = esi + (-0x1); /* 0x25113B90: lea edx, [esi - 1] */ 4339 L_25113B93: 4340 fp_push(*(float*)&MEM32(ecx + (-0x8))); /* 0x25113B93: fld dword ptr [ecx - 8] */ 4341 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xC8))); /* 0x25113B96: fcomp dword ptr [ebp - 0xc8] */ 4342 fp_pop(); 4343 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113B9C: fnstsw ax */ 4344 /* test HI8(eax), 1 */ /* 0x25113B9E: test ah, 1 */ 4345 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4346 _cf = 0; 4347 _flag_k = FK_NARROW(FK_TEST, 24); 4348 if (TEST_Z(_flag_a, _flag_b)) goto L_25113BAE; /* 0x25113BA1: je 0x25113bae */ 4349 L_25113BA3: 4350 eax = MEM32(ecx + (-0x8)); /* 0x25113BA3: mov eax, dword ptr [ecx - 8] */ 4351 MEM32(ebp + (-0xC8)) = eax; /* 0x25113BA6: mov dword ptr [ebp - 0xc8], eax */ 4352 goto L_25113BC7; /* 0x25113BAC: jmp 0x25113bc7 */ 4353 L_25113BAE: 4354 fp_push(*(float*)&MEM32(ecx + (-0x8))); /* 0x25113BAE: fld dword ptr [ecx - 8] */ 4355 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xD4))); /* 0x25113BB1: fcomp dword ptr [ebp - 0xd4] */ 4356 fp_pop(); 4357 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113BB7: fnstsw ax */ 4358 /* test HI8(eax), 0x41u */ /* 0x25113BB9: test ah, 0x41 */ 4359 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4360 _cf = 0; 4361 _flag_k = FK_NARROW(FK_TEST, 24); 4362 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113BC7; /* 0x25113BBC: jne 0x25113bc7 */ 4363 L_25113BBE: 4364 eax = MEM32(ecx + (-0x8)); /* 0x25113BBE: mov eax, dword ptr [ecx - 8] */ 4365 MEM32(ebp + (-0xD4)) = eax; /* 0x25113BC1: mov dword ptr [ebp - 0xd4], eax */ 4366 L_25113BC7: 4367 fp_push(*(float*)&MEM32(ecx + (-0x4))); /* 0x25113BC7: fld dword ptr [ecx - 4] */ 4368 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xC4))); /* 0x25113BCA: fcomp dword ptr [ebp - 0xc4] */ 4369 fp_pop(); 4370 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113BD0: fnstsw ax */ 4371 /* test HI8(eax), 1 */ /* 0x25113BD2: test ah, 1 */ 4372 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4373 _cf = 0; 4374 _flag_k = FK_NARROW(FK_TEST, 24); 4375 if (TEST_Z(_flag_a, _flag_b)) goto L_25113BE2; /* 0x25113BD5: je 0x25113be2 */ 4376 L_25113BD7: 4377 eax = MEM32(ecx + (-0x4)); /* 0x25113BD7: mov eax, dword ptr [ecx - 4] */ 4378 MEM32(ebp + (-0xC4)) = eax; /* 0x25113BDA: mov dword ptr [ebp - 0xc4], eax */ 4379 goto L_25113BFB; /* 0x25113BE0: jmp 0x25113bfb */ 4380 L_25113BE2: 4381 fp_push(*(float*)&MEM32(ecx + (-0x4))); /* 0x25113BE2: fld dword ptr [ecx - 4] */ 4382 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xD0))); /* 0x25113BE5: fcomp dword ptr [ebp - 0xd0] */ 4383 fp_pop(); 4384 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113BEB: fnstsw ax */ 4385 /* test HI8(eax), 0x41u */ /* 0x25113BED: test ah, 0x41 */ 4386 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4387 _cf = 0; 4388 _flag_k = FK_NARROW(FK_TEST, 24); 4389 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113BFB; /* 0x25113BF0: jne 0x25113bfb */ 4390 L_25113BF2: 4391 eax = MEM32(ecx + (-0x4)); /* 0x25113BF2: mov eax, dword ptr [ecx - 4] */ 4392 MEM32(ebp + (-0xD0)) = eax; /* 0x25113BF5: mov dword ptr [ebp - 0xd0], eax */ 4393 L_25113BFB: 4394 fp_push(*(float*)&MEM32(ecx)); /* 0x25113BFB: fld dword ptr [ecx] */ 4395 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xC0))); /* 0x25113BFD: fcomp dword ptr [ebp - 0xc0] */ 4396 fp_pop(); 4397 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113C03: fnstsw ax */ 4398 /* test HI8(eax), 1 */ /* 0x25113C05: test ah, 1 */ 4399 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4400 _cf = 0; 4401 _flag_k = FK_NARROW(FK_TEST, 24); 4402 if (TEST_Z(_flag_a, _flag_b)) goto L_25113C14; /* 0x25113C08: je 0x25113c14 */ 4403 L_25113C0A: 4404 eax = MEM32(ecx); /* 0x25113C0A: mov eax, dword ptr [ecx] */ 4405 MEM32(ebp + (-0xC0)) = eax; /* 0x25113C0C: mov dword ptr [ebp - 0xc0], eax */ 4406 goto L_25113C2B; /* 0x25113C12: jmp 0x25113c2b */ 4407 L_25113C14: 4408 fp_push(*(float*)&MEM32(ecx)); /* 0x25113C14: fld dword ptr [ecx] */ 4409 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xCC))); /* 0x25113C16: fcomp dword ptr [ebp - 0xcc] */ 4410 fp_pop(); 4411 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113C1C: fnstsw ax */ 4412 /* test HI8(eax), 0x41u */ /* 0x25113C1E: test ah, 0x41 */ 4413 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4414 _cf = 0; 4415 _flag_k = FK_NARROW(FK_TEST, 24); 4416 if (TEST_NZ(_flag_a, _flag_b)) goto L_25113C2B; /* 0x25113C21: jne 0x25113c2b */ 4417 L_25113C23: 4418 eax = MEM32(ecx); /* 0x25113C23: mov eax, dword ptr [ecx] */ 4419 MEM32(ebp + (-0xCC)) = eax; /* 0x25113C25: mov dword ptr [ebp - 0xcc], eax */ 4420 L_25113C2B: 4421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u); 4422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4423 ecx = ecx + 0x20u; /* 0x25113C2B: add ecx, 0x20 */ 4424 _flag_k = FK_ADD; 4425 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4426 edx = edx - 1; /* 0x25113C2E: dec edx */ 4427 _flag_k = FK_DEC; 4428 RECOMP_BACKEDGE(); 4429 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_25113B93; /* 0x25113C2F: jne 0x25113b93 */ 4430 L_25113C35: 4431 ecx = ebp + (-0xD4); /* 0x25113C35: lea ecx, [ebp - 0xd4] */ 4432 PUSH32(esp, ecx); /* 0x25113C3B: push ecx */ 4433 edx = ebp + (-0xC8); /* 0x25113C3C: lea edx, [ebp - 0xc8] */ 4434 PUSH32(esp, edx); /* 0x25113C42: push edx */ 4435 eax = ebp + (-0x48); /* 0x25113C43: lea eax, [ebp - 0x48] */ 4436 PUSH32(esp, eax); /* 0x25113C46: push eax */ 4437 ecx = ebp + (-0x18); /* 0x25113C47: lea ecx, [ebp - 0x18] */ 4438 PUSH32(esp, ecx); /* 0x25113C4A: push ecx */ 4439 RECOMP_ICALL(0x25127380u); /* 0x25113C4B: call 0x25127380 */ /* not lifted */ 4440 RECOMP_FLAGS_IN(); 4441 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4442 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4443 esp = esp + 0x10u; /* 0x25113C50: add esp, 0x10 */ 4444 _flag_k = FK_ADD; 4445 /* test LO8(eax), LO8(eax) */ /* 0x25113C53: test al, al */ 4446 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4447 _cf = 0; 4448 _flag_k = FK_NARROW(FK_TEST, 24); 4449 if (TEST_NZ(_flag_a, _flag_b)) goto L_251141D3; /* 0x25113C55: jne 0x251141d3 */ 4450 L_25113C5B: 4451 eax = MEM32(edi + 0x10); /* 0x25113C5B: mov eax, dword ptr [edi + 0x10] */ 4452 /* test eax, eax */ /* 0x25113C5E: test eax, eax */ 4453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4454 _cf = 0; 4455 _flag_k = FK_TEST; 4456 MEM32(ebp + (-0x100)) = 0; /* 0x25113C60: mov dword ptr [ebp - 0x100], 0 */ 4457 if (TEST_LE(_flag_a, _flag_b)) goto L_251141D3; /* 0x25113C6A: jle 0x251141d3 */ 4458 L_25113C70: 4459 ecx = 4; /* 0x25113C70: mov ecx, 4 */ 4460 MEM32(ebp + (-0x80)) = ecx; /* 0x25113C75: mov dword ptr [ebp - 0x80], ecx */ 4461 goto L_25113C89; /* 0x25113C78: jmp 0x25113c89 */ 4462 L_25113C7A: 4463 ecx = MEM32(ebp + (-0x80)); /* 0x25113C7A: mov ecx, dword ptr [ebp - 0x80] */ 4464 ebx = MEM32(ebp + (-0xE0)); /* 0x25113C7D: mov ebx, dword ptr [ebp - 0xe0] */ 4465 edi = MEM32(ebp + (-0xF0)); /* 0x25113C83: mov edi, dword ptr [ebp - 0xf0] */ 4466 L_25113C89: 4467 eax = MEM32(edi + 0x14); /* 0x25113C89: mov eax, dword ptr [edi + 0x14] */ 4468 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4469 esi = 0; /* 0x25113C8C: xor esi, esi */ 4470 _cf = 0; 4471 _flag_k = FK_TEST; 4472 SET_LO16(esi, MEM16(ecx + eax + (-0x4))); /* 0x25113C8E: mov si, word ptr [ecx + eax - 4] */ 4473 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4474 edi = 0; /* 0x25113C93: xor edi, edi */ 4475 _cf = 0; 4476 _flag_k = FK_TEST; 4477 SET_LO16(edi, MEM16(ecx + eax + (-0x2))); /* 0x25113C95: mov di, word ptr [ecx + eax - 2] */ 4478 if (5u) _cf = (((esi) >> 27) & 1u); /* 0x25113C9A: shl esi, 5 */ 4479 if (5u) { _flag_a = recomp_flags_pack((esi << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4480 esi = esi << 5u; /* 0x25113C9A: shl esi, 5 */ 4481 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 4482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4483 esi = esi + ebx; /* 0x25113C9D: add esi, ebx */ 4484 _flag_k = FK_ADD; 4485 if (5u) _cf = (((edi) >> 27) & 1u); /* 0x25113C9F: shl edi, 5 */ 4486 if (5u) { _flag_a = recomp_flags_pack((edi << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4487 edi = edi << 5u; /* 0x25113C9F: shl edi, 5 */ 4488 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4489 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4490 edi = edi + ebx; /* 0x25113CA2: add edi, ebx */ 4491 _flag_k = FK_ADD; 4492 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4493 ebx = 0; /* 0x25113CA4: xor ebx, ebx */ 4494 _cf = 0; 4495 _flag_k = FK_TEST; 4496 SET_LO16(ebx, MEM16(ecx + eax)); /* 0x25113CA6: mov bx, word ptr [ecx + eax] */ 4497 ecx = MEM32(ebp + (-0xE0)); /* 0x25113CAA: mov ecx, dword ptr [ebp - 0xe0] */ 4498 if (5u) _cf = (((ebx) >> 27) & 1u); /* 0x25113CB0: shl ebx, 5 */ 4499 if (5u) { _flag_a = recomp_flags_pack((ebx << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4500 ebx = ebx << 5u; /* 0x25113CB0: shl ebx, 5 */ 4501 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 4502 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4503 ebx = ebx + ecx; /* 0x25113CB3: add ebx, ecx */ 4504 _flag_k = FK_ADD; 4505 eax = ebx; /* 0x25113CB5: mov eax, ebx */ 4506 ecx = MEM32(eax); /* 0x25113CB7: mov ecx, dword ptr [eax] */ 4507 edx = MEM32(eax + 0x4); /* 0x25113CB9: mov edx, dword ptr [eax + 4] */ 4508 eax = MEM32(eax + 0x8); /* 0x25113CBC: mov eax, dword ptr [eax + 8] */ 4509 MEM32(ebp + (-0x98)) = ecx; /* 0x25113CBF: mov dword ptr [ebp - 0x98], ecx */ 4510 fp_push(*(float*)&MEM32(ebp + (-0x98))); /* 0x25113CC5: fld dword ptr [ebp - 0x98] */ 4511 _st[0] -= (double)*(float*)ADDR(edi); /* 0x25113CCB: fsub dword ptr [edi] */ 4512 MEM32(ebp + (-0x94)) = edx; /* 0x25113CCD: mov dword ptr [ebp - 0x94], edx */ 4513 MEM32(ebp + (-0x90)) = eax; /* 0x25113CD3: mov dword ptr [ebp - 0x90], eax */ 4514 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x25113CD9: fstp dword ptr [ebp - 0x98] */ 4515 ecx = MEM32(ebp + (-0x98)); /* 0x25113CDF: mov ecx, dword ptr [ebp - 0x98] */ 4516 fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x25113CE5: fld dword ptr [ebp - 0x94] */ 4517 MEM32(ebp + (-0x1C0)) = ecx; /* 0x25113CEB: mov dword ptr [ebp - 0x1c0], ecx */ 4518 _st[0] -= (double)*(float*)ADDR(edi + 0x4); /* 0x25113CF1: fsub dword ptr [edi + 4] */ 4519 ecx = edi; /* 0x25113CF4: mov ecx, edi */ 4520 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x25113CF6: fstp dword ptr [ebp - 0x94] */ 4521 edx = MEM32(ebp + (-0x94)); /* 0x25113CFC: mov edx, dword ptr [ebp - 0x94] */ 4522 fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x25113D02: fld dword ptr [ebp - 0x90] */ 4523 MEM32(ebp + (-0x1BC)) = edx; /* 0x25113D08: mov dword ptr [ebp - 0x1bc], edx */ 4524 _st[0] -= (double)*(float*)ADDR(edi + 0x8); /* 0x25113D0E: fsub dword ptr [edi + 8] */ 4525 edx = MEM32(ecx); /* 0x25113D11: mov edx, dword ptr [ecx] */ 4526 MEM32(ebp + (-0x70)) = edx; /* 0x25113D13: mov dword ptr [ebp - 0x70], edx */ 4527 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x25113D16: fstp dword ptr [ebp - 0x90] */ 4528 eax = MEM32(ebp + (-0x90)); /* 0x25113D1C: mov eax, dword ptr [ebp - 0x90] */ 4529 fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x25113D22: fld dword ptr [ebp - 0x70] */ 4530 MEM32(ebp + (-0x1B8)) = eax; /* 0x25113D25: mov dword ptr [ebp - 0x1b8], eax */ 4531 _st[0] -= (double)*(float*)ADDR(esi); /* 0x25113D2B: fsub dword ptr [esi] */ 4532 eax = MEM32(ecx + 0x4); /* 0x25113D2D: mov eax, dword ptr [ecx + 4] */ 4533 ecx = MEM32(ecx + 0x8); /* 0x25113D30: mov ecx, dword ptr [ecx + 8] */ 4534 MEM32(ebp + (-0x6C)) = eax; /* 0x25113D33: mov dword ptr [ebp - 0x6c], eax */ 4535 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x25113D36: fstp dword ptr [ebp - 0x70] */ 4536 edx = MEM32(ebp + (-0x70)); /* 0x25113D39: mov edx, dword ptr [ebp - 0x70] */ 4537 fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x25113D3C: fld dword ptr [ebp - 0x6c] */ 4538 MEM32(ebp + (-0x68)) = ecx; /* 0x25113D3F: mov dword ptr [ebp - 0x68], ecx */ 4539 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x25113D42: fsub dword ptr [esi + 4] */ 4540 MEM32(ebp + (-0x1CC)) = edx; /* 0x25113D45: mov dword ptr [ebp - 0x1cc], edx */ 4541 edx = ebp + (-0x1C0); /* 0x25113D4B: lea edx, [ebp - 0x1c0] */ 4542 PUSH32(esp, edx); /* 0x25113D51: push edx */ 4543 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x25113D52: fstp dword ptr [ebp - 0x6c] */ 4544 eax = MEM32(ebp + (-0x6C)); /* 0x25113D55: mov eax, dword ptr [ebp - 0x6c] */ 4545 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x25113D58: fld dword ptr [ebp - 0x68] */ 4546 MEM32(ebp + (-0x1C8)) = eax; /* 0x25113D5B: mov dword ptr [ebp - 0x1c8], eax */ 4547 _st[0] -= (double)*(float*)ADDR(esi + 0x8); /* 0x25113D61: fsub dword ptr [esi + 8] */ 4548 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x25113D64: fstp dword ptr [ebp - 0x68] */ 4549 ecx = MEM32(ebp + (-0x68)); /* 0x25113D67: mov ecx, dword ptr [ebp - 0x68] */ 4550 MEM32(ebp + (-0x1C4)) = ecx; /* 0x25113D6A: mov dword ptr [ebp - 0x1c4], ecx */ 4551 ecx = ebp + (-0x1CC); /* 0x25113D70: lea ecx, [ebp - 0x1cc] */ 4552 RECOMP_ICALL(MEM32(0x25151564)); /* 0x25113D76: call dword ptr [0x25151564] */ 4553 RECOMP_FLAGS_IN(); 4554 ecx = MEM32(eax); /* 0x25113D7C: mov ecx, dword ptr [eax] */ 4555 edx = MEM32(eax + 0x4); /* 0x25113D7E: mov edx, dword ptr [eax + 4] */ 4556 eax = MEM32(eax + 0x8); /* 0x25113D81: mov eax, dword ptr [eax + 8] */ 4557 MEM32(ebp + (-0xEC)) = ecx; /* 0x25113D84: mov dword ptr [ebp - 0xec], ecx */ 4558 fp_push(*(float*)&MEM32(ebp + (-0xEC))); /* 0x25113D8A: fld dword ptr [ebp - 0xec] */ 4559 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x25113D90: fmul dword ptr [ebp - 0x30] */ 4560 MEM32(ebp + (-0xE4)) = eax; /* 0x25113D93: mov dword ptr [ebp - 0xe4], eax */ 4561 fp_push(*(float*)&MEM32(ebp + (-0xE4))); /* 0x25113D99: fld dword ptr [ebp - 0xe4] */ 4562 MEM32(ebp + (-0xE8)) = edx; /* 0x25113D9F: mov dword ptr [ebp - 0xe8], edx */ 4563 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x25113DA5: fmul dword ptr [ebp - 0x28] */ 4564 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113DA8: faddp st(1) */ 4565 fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x25113DAA: fld dword ptr [ebp - 0xe8] */ 4566 _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x25113DB0: fmul dword ptr [ebp - 0x2c] */ 4567 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113DB3: faddp st(1) */ 4568 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25113DB5: fcom dword ptr [0x2515177c] */ 4569 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25113DBB: fnstsw ax */ 4570 /* test HI8(eax), 1 */ /* 0x25113DBD: test ah, 1 */ 4571 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4572 _cf = 0; 4573 _flag_k = FK_NARROW(FK_TEST, 24); 4574 if (TEST_Z(_flag_a, _flag_b)) goto L_251141A8; /* 0x25113DC0: je 0x251141a8 */ 4575 L_25113DC6: 4576 ecx = esi; /* 0x25113DC6: mov ecx, esi */ 4577 edx = MEM32(ecx); /* 0x25113DC8: mov edx, dword ptr [ecx] */ 4578 eax = MEM32(ecx + 0x4); /* 0x25113DCA: mov eax, dword ptr [ecx + 4] */ 4579 ecx = MEM32(ecx + 0x8); /* 0x25113DCD: mov ecx, dword ptr [ecx + 8] */ 4580 MEM32(ebp + (-0x120)) = edx; /* 0x25113DD0: mov dword ptr [ebp - 0x120], edx */ 4581 fp_push(*(float*)&MEM32(ebp + (-0x120))); /* 0x25113DD6: fld dword ptr [ebp - 0x120] */ 4582 _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113DDC: fsub dword ptr [ebp - 0x18] */ 4583 MEM32(ebp + (-0x11C)) = eax; /* 0x25113DDF: mov dword ptr [ebp - 0x11c], eax */ 4584 fp_push(*(float*)&MEM32(ebp + (-0x11C))); /* 0x25113DE5: fld dword ptr [ebp - 0x11c] */ 4585 MEM32(ebp + (-0x118)) = ecx; /* 0x25113DEB: mov dword ptr [ebp - 0x118], ecx */ 4586 _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x25113DF1: fsub dword ptr [ebp - 0x14] */ 4587 eax = MEM32(ebp + (-0x2C)); /* 0x25113DF4: mov eax, dword ptr [ebp - 0x2c] */ 4588 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x25113DF7: fld dword ptr [ebp - 0x118] */ 4589 ecx = MEM32(ebp + (-0x28)); /* 0x25113DFD: mov ecx, dword ptr [ebp - 0x28] */ 4590 _st[0] -= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25113E00: fsub dword ptr [ebp - 0x10] */ 4591 edx = MEM32(ebp + (-0x30)); /* 0x25113E03: mov edx, dword ptr [ebp - 0x30] */ 4592 fp_xch(2); /* 0x25113E06: fxch st(2) */ 4593 MEM32(ebp + (-0xF8)) = eax; /* 0x25113E08: mov dword ptr [ebp - 0xf8], eax */ 4594 _st[0] *= (double)*(float*)ADDR(ebp + (-0xEC)); /* 0x25113E0E: fmul dword ptr [ebp - 0xec] */ 4595 eax = MEM32(ebp + (-0x14)); /* 0x25113E14: mov eax, dword ptr [ebp - 0x14] */ 4596 fp_xch(2); /* 0x25113E17: fxch st(2) */ 4597 MEM32(ebp + (-0xF4)) = ecx; /* 0x25113E19: mov dword ptr [ebp - 0xf4], ecx */ 4598 _st[0] *= (double)*(float*)ADDR(ebp + (-0xE4)); /* 0x25113E1F: fmul dword ptr [ebp - 0xe4] */ 4599 ecx = MEM32(ebp + (-0x10)); /* 0x25113E25: mov ecx, dword ptr [ebp - 0x10] */ 4600 MEM32(ebp + (-0xFC)) = edx; /* 0x25113E28: mov dword ptr [ebp - 0xfc], edx */ 4601 edx = MEM32(ebp + (-0x18)); /* 0x25113E2E: mov edx, dword ptr [ebp - 0x18] */ 4602 { double _v = fp_pop(); _st[1] += _v; } /* 0x25113E31: faddp st(2) */ 4603 MEM32(ebp + (-0x24)) = edx; /* 0x25113E33: mov dword ptr [ebp - 0x24], edx */ 4604 MEM32(ebp + (-0x20)) = eax; /* 0x25113E36: mov dword ptr [ebp - 0x20], eax */ 4605 MEM32(ebp + (-0x1C)) = ecx; /* 0x25113E39: mov dword ptr [ebp - 0x1c], ecx */ 4606 _st[0] *= (double)*(float*)ADDR(ebp + (-0xE8)); /* 0x25113E3C: fmul dword ptr [ebp - 0xe8] */ 4607 { double _v = fp_pop(); _st[0] += _v; } /* 0x25113E42: faddp st(1) */ 4608 _st[0] /= _st[1]; /* 0x25113E44: fdiv st(1) */ 4609 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x25113E46: fstp dword ptr [ebp - 0x58] */ 4610 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25113E49: fstp st(0) */ 4611 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x25113E4B: fld dword ptr [ebp - 0x30] */ 4612 _st[0] *= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x25113E4E: fmul dword ptr [ebp - 0x58] */ 4613 fp_push(*(float*)&MEM32(ebp + (-0xF8))); /* 0x25113E51: fld dword ptr [ebp - 0xf8] */ 4614 _st[0] *= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x25113E57: fmul dword ptr [ebp - 0x58] */ 4615 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF8)) = _v; } /* 0x25113E5A: fstp dword ptr [ebp - 0xf8] */ 4616 fp_push(*(float*)&MEM32(ebp + (-0xF4))); /* 0x25113E60: fld dword ptr [ebp - 0xf4] */ 4617 _st[0] *= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x25113E66: fmul dword ptr [ebp - 0x58] */ 4618 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x25113E69: fstp dword ptr [ebp - 0xf4] */ 4619 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x25113E6F: fadd dword ptr [ebp - 0x18] */ 4620 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x25113E72: fstp dword ptr [ebp - 0x24] */ 4621 edx = MEM32(ebp + (-0x24)); /* 0x25113E75: mov edx, dword ptr [ebp - 0x24] */ 4622 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25113E78: fld dword ptr [ebp - 0x20] */ 4623 MEM32(ebp + (-0xB0)) = edx; /* 0x25113E7B: mov dword ptr [ebp - 0xb0], edx */ 4624 _st[0] += (double)*(float*)ADDR(ebp + (-0xF8)); /* 0x25113E81: fadd dword ptr [ebp - 0xf8] */ 4625 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25113E87: fstp dword ptr [ebp - 0x20] */ 4626 eax = MEM32(ebp + (-0x20)); /* 0x25113E8A: mov eax, dword ptr [ebp - 0x20] */ 4627 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25113E8D: fld dword ptr [ebp - 0x1c] */ 4628 MEM32(ebp + (-0xAC)) = eax; /* 0x25113E90: mov dword ptr [ebp - 0xac], eax */ 4629 _st[0] += (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x25113E96: fadd dword ptr [ebp - 0xf4] */ 4630 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x25113E9C: fstp dword ptr [ebp - 0x1c] */ 4631 ecx = MEM32(ebp + (-0x1C)); /* 0x25113E9F: mov ecx, dword ptr [ebp - 0x1c] */ 4632 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25113EA2: fld dword ptr [ebp - 0x24] */ 4633 MEM32(ebp + (-0xA8)) = ecx; /* 0x25113EA5: mov dword ptr [ebp - 0xa8], ecx */ 4634 _st[0] -= (double)*(float*)ADDR(esi); /* 0x25113EAB: fsub dword ptr [esi] */ 4635 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x25113EAD: fstp dword ptr [ebp - 0xb0] */ 4636 edx = MEM32(ebp + (-0xB0)); /* 0x25113EB3: mov edx, dword ptr [ebp - 0xb0] */ 4637 fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x25113EB9: fld dword ptr [ebp - 0xac] */ 4638 MEM32(ebp + (-0x190)) = edx; /* 0x25113EBF: mov dword ptr [ebp - 0x190], edx */ 4639 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x25113EC5: fsub dword ptr [esi + 4] */ 4640 edx = edi; /* 0x25113EC8: mov edx, edi */ 4641 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x25113ECA: fstp dword ptr [ebp - 0xac] */ 4642 eax = MEM32(ebp + (-0xAC)); /* 0x25113ED0: mov eax, dword ptr [ebp - 0xac] */ 4643 fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x25113ED6: fld dword ptr [ebp - 0xa8] */ 4644 MEM32(ebp + (-0x18C)) = eax; /* 0x25113EDC: mov dword ptr [ebp - 0x18c], eax */ 4645 _st[0] -= (double)*(float*)ADDR(esi + 0x8); /* 0x25113EE2: fsub dword ptr [esi + 8] */ 4646 eax = MEM32(edx); /* 0x25113EE5: mov eax, dword ptr [edx] */ 4647 MEM32(ebp + (-0x7C)) = eax; /* 0x25113EE7: mov dword ptr [ebp - 0x7c], eax */ 4648 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x25113EEA: fstp dword ptr [ebp - 0xa8] */ 4649 ecx = MEM32(ebp + (-0xA8)); /* 0x25113EF0: mov ecx, dword ptr [ebp - 0xa8] */ 4650 fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x25113EF6: fld dword ptr [ebp - 0x7c] */ 4651 MEM32(ebp + (-0x188)) = ecx; /* 0x25113EF9: mov dword ptr [ebp - 0x188], ecx */ 4652 ecx = MEM32(edx + 0x4); /* 0x25113EFF: mov ecx, dword ptr [edx + 4] */ 4653 edx = MEM32(edx + 0x8); /* 0x25113F02: mov edx, dword ptr [edx + 8] */ 4654 MEM32(ebp + (-0x78)) = ecx; /* 0x25113F05: mov dword ptr [ebp - 0x78], ecx */ 4655 MEM32(ebp + (-0x74)) = edx; /* 0x25113F08: mov dword ptr [ebp - 0x74], edx */ 4656 _st[0] -= (double)*(float*)ADDR(esi); /* 0x25113F0B: fsub dword ptr [esi] */ 4657 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x25113F0D: fstp dword ptr [ebp - 0x7c] */ 4658 eax = MEM32(ebp + (-0x7C)); /* 0x25113F10: mov eax, dword ptr [ebp - 0x7c] */ 4659 fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x25113F13: fld dword ptr [ebp - 0x78] */ 4660 MEM32(ebp + (-0x178)) = eax; /* 0x25113F16: mov dword ptr [ebp - 0x178], eax */ 4661 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x25113F1C: fsub dword ptr [esi + 4] */ 4662 eax = ebp + (-0x190); /* 0x25113F1F: lea eax, [ebp - 0x190] */ 4663 PUSH32(esp, eax); /* 0x25113F25: push eax */ 4664 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x25113F26: fstp dword ptr [ebp - 0x78] */ 4665 ecx = MEM32(ebp + (-0x78)); /* 0x25113F29: mov ecx, dword ptr [ebp - 0x78] */ 4666 fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x25113F2C: fld dword ptr [ebp - 0x74] */ 4667 MEM32(ebp + (-0x174)) = ecx; /* 0x25113F2F: mov dword ptr [ebp - 0x174], ecx */ 4668 _st[0] -= (double)*(float*)ADDR(esi + 0x8); /* 0x25113F35: fsub dword ptr [esi + 8] */ 4669 ecx = ebp + (-0x178); /* 0x25113F38: lea ecx, [ebp - 0x178] */ 4670 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x25113F3E: fstp dword ptr [ebp - 0x74] */ 4671 edx = MEM32(ebp + (-0x74)); /* 0x25113F41: mov edx, dword ptr [ebp - 0x74] */ 4672 MEM32(ebp + (-0x170)) = edx; /* 0x25113F44: mov dword ptr [ebp - 0x170], edx */ 4673 RECOMP_ICALL(MEM32(0x25151564)); /* 0x25113F4A: call dword ptr [0x25151564] */ 4674 RECOMP_FLAGS_IN(); 4675 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x25113F50: fld dword ptr [ebp - 0x24] */ 4676 _st[0] -= (double)*(float*)ADDR(edi); /* 0x25113F53: fsub dword ptr [edi] */ 4677 ecx = MEM32(eax); /* 0x25113F55: mov ecx, dword ptr [eax] */ 4678 edx = MEM32(eax + 0x4); /* 0x25113F57: mov edx, dword ptr [eax + 4] */ 4679 eax = MEM32(eax + 0x8); /* 0x25113F5A: mov eax, dword ptr [eax + 8] */ 4680 MEM32(ebp + (-0x10C)) = ecx; /* 0x25113F5D: mov dword ptr [ebp - 0x10c], ecx */ 4681 ecx = MEM32(ebp + (-0x24)); /* 0x25113F63: mov ecx, dword ptr [ebp - 0x24] */ 4682 MEM32(ebp + (-0xBC)) = ecx; /* 0x25113F66: mov dword ptr [ebp - 0xbc], ecx */ 4683 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x25113F6C: fstp dword ptr [ebp - 0xbc] */ 4684 ecx = MEM32(ebp + (-0xBC)); /* 0x25113F72: mov ecx, dword ptr [ebp - 0xbc] */ 4685 MEM32(ebp + (-0x108)) = edx; /* 0x25113F78: mov dword ptr [ebp - 0x108], edx */ 4686 edx = MEM32(ebp + (-0x20)); /* 0x25113F7E: mov edx, dword ptr [ebp - 0x20] */ 4687 MEM32(ebp + (-0xB8)) = edx; /* 0x25113F81: mov dword ptr [ebp - 0xb8], edx */ 4688 fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x25113F87: fld dword ptr [ebp - 0xb8] */ 4689 _st[0] -= (double)*(float*)ADDR(edi + 0x4); /* 0x25113F8D: fsub dword ptr [edi + 4] */ 4690 MEM32(ebp + (-0x104)) = eax; /* 0x25113F90: mov dword ptr [ebp - 0x104], eax */ 4691 eax = MEM32(ebp + (-0x1C)); /* 0x25113F96: mov eax, dword ptr [ebp - 0x1c] */ 4692 MEM32(ebp + (-0xB4)) = eax; /* 0x25113F99: mov dword ptr [ebp - 0xb4], eax */ 4693 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x25113F9F: fstp dword ptr [ebp - 0xb8] */ 4694 edx = MEM32(ebp + (-0xB8)); /* 0x25113FA5: mov edx, dword ptr [ebp - 0xb8] */ 4695 fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x25113FAB: fld dword ptr [ebp - 0xb4] */ 4696 MEM32(ebp + (-0x1A8)) = ecx; /* 0x25113FB1: mov dword ptr [ebp - 0x1a8], ecx */ 4697 _st[0] -= (double)*(float*)ADDR(edi + 0x8); /* 0x25113FB7: fsub dword ptr [edi + 8] */ 4698 MEM32(ebp + (-0x1A4)) = edx; /* 0x25113FBA: mov dword ptr [ebp - 0x1a4], edx */ 4699 ecx = ebx; /* 0x25113FC0: mov ecx, ebx */ 4700 edx = MEM32(ecx); /* 0x25113FC2: mov edx, dword ptr [ecx] */ 4701 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x25113FC4: fstp dword ptr [ebp - 0xb4] */ 4702 eax = MEM32(ebp + (-0xB4)); /* 0x25113FCA: mov eax, dword ptr [ebp - 0xb4] */ 4703 MEM32(ebp + (-0x8C)) = edx; /* 0x25113FD0: mov dword ptr [ebp - 0x8c], edx */ 4704 fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x25113FD6: fld dword ptr [ebp - 0x8c] */ 4705 _st[0] -= (double)*(float*)ADDR(edi); /* 0x25113FDC: fsub dword ptr [edi] */ 4706 MEM32(ebp + (-0x1A0)) = eax; /* 0x25113FDE: mov dword ptr [ebp - 0x1a0], eax */ 4707 eax = MEM32(ecx + 0x4); /* 0x25113FE4: mov eax, dword ptr [ecx + 4] */ 4708 ecx = MEM32(ecx + 0x8); /* 0x25113FE7: mov ecx, dword ptr [ecx + 8] */ 4709 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x25113FEA: fstp dword ptr [ebp - 0x8c] */ 4710 edx = MEM32(ebp + (-0x8C)); /* 0x25113FF0: mov edx, dword ptr [ebp - 0x8c] */ 4711 MEM32(ebp + (-0x88)) = eax; /* 0x25113FF6: mov dword ptr [ebp - 0x88], eax */ 4712 fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x25113FFC: fld dword ptr [ebp - 0x88] */ 4713 _st[0] -= (double)*(float*)ADDR(edi + 0x4); /* 0x25114002: fsub dword ptr [edi + 4] */ 4714 MEM32(ebp + (-0x84)) = ecx; /* 0x25114005: mov dword ptr [ebp - 0x84], ecx */ 4715 MEM32(ebp + (-0x184)) = edx; /* 0x2511400B: mov dword ptr [ebp - 0x184], edx */ 4716 edx = ebp + (-0x1A8); /* 0x25114011: lea edx, [ebp - 0x1a8] */ 4717 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x25114017: fstp dword ptr [ebp - 0x88] */ 4718 eax = MEM32(ebp + (-0x88)); /* 0x2511401D: mov eax, dword ptr [ebp - 0x88] */ 4719 fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x25114023: fld dword ptr [ebp - 0x84] */ 4720 PUSH32(esp, edx); /* 0x25114029: push edx */ 4721 _st[0] -= (double)*(float*)ADDR(edi + 0x8); /* 0x2511402A: fsub dword ptr [edi + 8] */ 4722 MEM32(ebp + (-0x180)) = eax; /* 0x2511402D: mov dword ptr [ebp - 0x180], eax */ 4723 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x25114033: fstp dword ptr [ebp - 0x84] */ 4724 ecx = MEM32(ebp + (-0x84)); /* 0x25114039: mov ecx, dword ptr [ebp - 0x84] */ 4725 MEM32(ebp + (-0x17C)) = ecx; /* 0x2511403F: mov dword ptr [ebp - 0x17c], ecx */ 4726 ecx = ebp + (-0x184); /* 0x25114045: lea ecx, [ebp - 0x184] */ 4727 RECOMP_ICALL(MEM32(0x25151564)); /* 0x2511404B: call dword ptr [0x25151564] */ 4728 RECOMP_FLAGS_IN(); 4729 ecx = MEM32(eax); /* 0x25114051: mov ecx, dword ptr [eax] */ 4730 edx = MEM32(eax + 0x4); /* 0x25114053: mov edx, dword ptr [eax + 4] */ 4731 eax = MEM32(eax + 0x8); /* 0x25114056: mov eax, dword ptr [eax + 8] */ 4732 MEM32(ebp + (-0x12C)) = ecx; /* 0x25114059: mov dword ptr [ebp - 0x12c], ecx */ 4733 fp_push(*(float*)&MEM32(ebp + (-0x12C))); /* 0x2511405F: fld dword ptr [ebp - 0x12c] */ 4734 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10C)); /* 0x25114065: fmul dword ptr [ebp - 0x10c] */ 4735 MEM32(ebp + (-0x124)) = eax; /* 0x2511406B: mov dword ptr [ebp - 0x124], eax */ 4736 fp_push(*(float*)&MEM32(ebp + (-0x104))); /* 0x25114071: fld dword ptr [ebp - 0x104] */ 4737 MEM32(ebp + (-0x128)) = edx; /* 0x25114077: mov dword ptr [ebp - 0x128], edx */ 4738 _st[0] *= (double)*(float*)ADDR(ebp + (-0x124)); /* 0x2511407D: fmul dword ptr [ebp - 0x124] */ 4739 { double _v = fp_pop(); _st[0] += _v; } /* 0x25114083: faddp st(1) */ 4740 fp_push(*(float*)&MEM32(ebp + (-0x108))); /* 0x25114085: fld dword ptr [ebp - 0x108] */ 4741 _st[0] *= (double)*(float*)ADDR(ebp + (-0x128)); /* 0x2511408B: fmul dword ptr [ebp - 0x128] */ 4742 { double _v = fp_pop(); _st[0] += _v; } /* 0x25114091: faddp st(1) */ 4743 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25114093: fcomp dword ptr [0x2515177c] */ 4744 fp_pop(); 4745 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25114099: fnstsw ax */ 4746 /* test HI8(eax), 1 */ /* 0x2511409B: test ah, 1 */ 4747 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4748 _cf = 0; 4749 _flag_k = FK_NARROW(FK_TEST, 24); 4750 if (TEST_NZ(_flag_a, _flag_b)) goto L_251141AA; /* 0x2511409E: jne 0x251141aa */ 4751 L_251140A4: 4752 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x251140A4: fld dword ptr [ebp - 0x24] */ 4753 ecx = MEM32(ebp + (-0x24)); /* 0x251140A7: mov ecx, dword ptr [ebp - 0x24] */ 4754 _st[0] -= (double)*(float*)ADDR(ebx); /* 0x251140AA: fsub dword ptr [ebx] */ 4755 edx = MEM32(ebp + (-0x20)); /* 0x251140AC: mov edx, dword ptr [ebp - 0x20] */ 4756 eax = MEM32(ebp + (-0x1C)); /* 0x251140AF: mov eax, dword ptr [ebp - 0x1c] */ 4757 MEM32(ebp + (-0xA4)) = ecx; /* 0x251140B2: mov dword ptr [ebp - 0xa4], ecx */ 4758 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x251140B8: fstp dword ptr [ebp - 0xa4] */ 4759 ecx = MEM32(ebp + (-0xA4)); /* 0x251140BE: mov ecx, dword ptr [ebp - 0xa4] */ 4760 MEM32(ebp + (-0xA0)) = edx; /* 0x251140C4: mov dword ptr [ebp - 0xa0], edx */ 4761 fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x251140CA: fld dword ptr [ebp - 0xa0] */ 4762 _st[0] -= (double)*(float*)ADDR(ebx + 0x4); /* 0x251140D0: fsub dword ptr [ebx + 4] */ 4763 MEM32(ebp + (-0x9C)) = eax; /* 0x251140D3: mov dword ptr [ebp - 0x9c], eax */ 4764 MEM32(ebp + (-0x19C)) = ecx; /* 0x251140D9: mov dword ptr [ebp - 0x19c], ecx */ 4765 ecx = MEM32(esi); /* 0x251140DF: mov ecx, dword ptr [esi] */ 4766 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x251140E1: fstp dword ptr [ebp - 0xa0] */ 4767 edx = MEM32(ebp + (-0xA0)); /* 0x251140E7: mov edx, dword ptr [ebp - 0xa0] */ 4768 fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x251140ED: fld dword ptr [ebp - 0x9c] */ 4769 MEM32(ebp + (-0x64)) = ecx; /* 0x251140F3: mov dword ptr [ebp - 0x64], ecx */ 4770 _st[0] -= (double)*(float*)ADDR(ebx + 0x8); /* 0x251140F6: fsub dword ptr [ebx + 8] */ 4771 MEM32(ebp + (-0x198)) = edx; /* 0x251140F9: mov dword ptr [ebp - 0x198], edx */ 4772 edx = MEM32(esi + 0x4); /* 0x251140FF: mov edx, dword ptr [esi + 4] */ 4773 MEM32(ebp + (-0x60)) = edx; /* 0x25114102: mov dword ptr [ebp - 0x60], edx */ 4774 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x25114105: fstp dword ptr [ebp - 0x9c] */ 4775 eax = MEM32(ebp + (-0x9C)); /* 0x2511410B: mov eax, dword ptr [ebp - 0x9c] */ 4776 fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x25114111: fld dword ptr [ebp - 0x64] */ 4777 MEM32(ebp + (-0x194)) = eax; /* 0x25114114: mov dword ptr [ebp - 0x194], eax */ 4778 _st[0] -= (double)*(float*)ADDR(ebx); /* 0x2511411A: fsub dword ptr [ebx] */ 4779 eax = MEM32(esi + 0x8); /* 0x2511411C: mov eax, dword ptr [esi + 8] */ 4780 MEM32(ebp + (-0x5C)) = eax; /* 0x2511411F: mov dword ptr [ebp - 0x5c], eax */ 4781 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x25114122: fstp dword ptr [ebp - 0x64] */ 4782 ecx = MEM32(ebp + (-0x64)); /* 0x25114125: mov ecx, dword ptr [ebp - 0x64] */ 4783 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x25114128: fld dword ptr [ebp - 0x60] */ 4784 MEM32(ebp + (-0x1B4)) = ecx; /* 0x2511412B: mov dword ptr [ebp - 0x1b4], ecx */ 4785 _st[0] -= (double)*(float*)ADDR(ebx + 0x4); /* 0x25114131: fsub dword ptr [ebx + 4] */ 4786 ecx = ebp + (-0x19C); /* 0x25114134: lea ecx, [ebp - 0x19c] */ 4787 PUSH32(esp, ecx); /* 0x2511413A: push ecx */ 4788 ecx = ebp + (-0x1B4); /* 0x2511413B: lea ecx, [ebp - 0x1b4] */ 4789 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x25114141: fstp dword ptr [ebp - 0x60] */ 4790 edx = MEM32(ebp + (-0x60)); /* 0x25114144: mov edx, dword ptr [ebp - 0x60] */ 4791 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x25114147: fld dword ptr [ebp - 0x5c] */ 4792 MEM32(ebp + (-0x1B0)) = edx; /* 0x2511414A: mov dword ptr [ebp - 0x1b0], edx */ 4793 _st[0] -= (double)*(float*)ADDR(ebx + 0x8); /* 0x25114150: fsub dword ptr [ebx + 8] */ 4794 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x25114153: fstp dword ptr [ebp - 0x5c] */ 4795 eax = MEM32(ebp + (-0x5C)); /* 0x25114156: mov eax, dword ptr [ebp - 0x5c] */ 4796 MEM32(ebp + (-0x1AC)) = eax; /* 0x25114159: mov dword ptr [ebp - 0x1ac], eax */ 4797 RECOMP_ICALL(MEM32(0x25151564)); /* 0x2511415F: call dword ptr [0x25151564] */ 4798 RECOMP_FLAGS_IN(); 4799 edx = MEM32(eax); /* 0x25114165: mov edx, dword ptr [eax] */ 4800 ecx = MEM32(eax + 0x4); /* 0x25114167: mov ecx, dword ptr [eax + 4] */ 4801 MEM32(ebp + (-0x54)) = edx; /* 0x2511416A: mov dword ptr [ebp - 0x54], edx */ 4802 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x2511416D: fld dword ptr [ebp - 0x54] */ 4803 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10C)); /* 0x25114170: fmul dword ptr [ebp - 0x10c] */ 4804 edx = MEM32(eax + 0x8); /* 0x25114176: mov edx, dword ptr [eax + 8] */ 4805 fp_push(*(float*)&MEM32(ebp + (-0x104))); /* 0x25114179: fld dword ptr [ebp - 0x104] */ 4806 MEM32(ebp + (-0x4C)) = edx; /* 0x2511417F: mov dword ptr [ebp - 0x4c], edx */ 4807 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4C)); /* 0x25114182: fmul dword ptr [ebp - 0x4c] */ 4808 MEM32(ebp + (-0x50)) = ecx; /* 0x25114185: mov dword ptr [ebp - 0x50], ecx */ 4809 { double _v = fp_pop(); _st[0] += _v; } /* 0x25114188: faddp st(1) */ 4810 fp_push(*(float*)&MEM32(ebp + (-0x108))); /* 0x2511418A: fld dword ptr [ebp - 0x108] */ 4811 _st[0] *= (double)*(float*)ADDR(ebp + (-0x50)); /* 0x25114190: fmul dword ptr [ebp - 0x50] */ 4812 { double _v = fp_pop(); _st[0] += _v; } /* 0x25114193: faddp st(1) */ 4813 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25114195: fcomp dword ptr [0x2515177c] */ 4814 fp_pop(); 4815 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2511419B: fnstsw ax */ 4816 /* test HI8(eax), 1 */ /* 0x2511419D: test ah, 1 */ 4817 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4818 _cf = 0; 4819 _flag_k = FK_NARROW(FK_TEST, 24); 4820 if (TEST_Z(_flag_a, _flag_b)) goto L_2511424B; /* 0x251141A0: je 0x2511424b */ 4821 L_251141A6: 4822 goto L_251141AA; /* 0x251141A6: jmp 0x251141aa */ 4823 L_251141A8: 4824 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x251141A8: fstp st(0) */ 4825 L_251141AA: 4826 eax = MEM32(ebp + (-0x100)); /* 0x251141AA: mov eax, dword ptr [ebp - 0x100] */ 4827 esi = MEM32(ebp + (-0x80)); /* 0x251141B0: mov esi, dword ptr [ebp - 0x80] */ 4828 ecx = MEM32(ebp + (-0xF0)); /* 0x251141B3: mov ecx, dword ptr [ebp - 0xf0] */ 4829 edx = MEM32(ecx + 0x10); /* 0x251141B9: mov edx, dword ptr [ecx + 0x10] */ 4830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 4831 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4832 eax = eax + 3; /* 0x251141BC: add eax, 3 */ 4833 _flag_k = FK_ADD; 4834 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(6); 4835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4836 esi = esi + 6; /* 0x251141BF: add esi, 6 */ 4837 _flag_k = FK_ADD; 4838 /* cmp eax, edx */ /* 0x251141C2: cmp eax, edx */ 4839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4841 _flag_k = FK_CMP; 4842 MEM32(ebp + (-0x100)) = eax; /* 0x251141C4: mov dword ptr [ebp - 0x100], eax */ 4843 MEM32(ebp + (-0x80)) = esi; /* 0x251141CA: mov dword ptr [ebp - 0x80], esi */ 4844 RECOMP_BACKEDGE(); 4845 if (CMP_L(_flag_a, _flag_b)) goto L_25113C7A; /* 0x251141CD: jl 0x25113c7a */ 4846 L_251141D3: 4847 edx = MEM32(ebp + 0xC); /* 0x251141D3: mov edx, dword ptr [ebp + 0xc] */ 4848 eax = MEM32(edx + 0x8); /* 0x251141D6: mov eax, dword ptr [edx + 8] */ 4849 ecx = MEM32(ebp + 0x8); /* 0x251141D9: mov ecx, dword ptr [ebp + 8] */ 4850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4852 ecx = ecx + eax; /* 0x251141DC: add ecx, eax */ 4853 _flag_k = FK_ADD; 4854 RECOMP_ICALL(0x25118EF0u); /* 0x251141DE: call 0x25118ef0 */ /* not lifted */ 4855 RECOMP_FLAGS_IN(); 4856 ebx = MEM32(ebp + (-0x114)); /* 0x251141E3: mov ebx, dword ptr [ebp - 0x114] */ 4857 eax = MEM32(ebp + (-0x110)); /* 0x251141E9: mov eax, dword ptr [ebp - 0x110] */ 4858 ecx = MEM32(ebp + 0xC); /* 0x251141EF: mov ecx, dword ptr [ebp + 0xc] */ 4859 L_251141F2: 4860 edx = MEM32(ebp + (-0x38)); /* 0x251141F2: mov edx, dword ptr [ebp - 0x38] */ 4861 edi = MEM32(ebp + (-0xD8)); /* 0x251141F5: mov edi, dword ptr [ebp - 0xd8] */ 4862 esi = MEM32(ebp + 0x8); /* 0x251141FB: mov esi, dword ptr [ebp + 8] */ 4863 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4864 edx = edx + 1; /* 0x251141FE: inc edx */ 4865 _flag_k = FK_INC; 4866 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 4867 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4868 edi = edi + 0x34u; /* 0x251141FF: add edi, 0x34 */ 4869 _flag_k = FK_ADD; 4870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 4871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4872 esi = esi + 0xCu; /* 0x25114202: add esi, 0xc */ 4873 _flag_k = FK_ADD; 4874 /* cmp edx, MEM32(eax + 0x10) */ /* 0x25114205: cmp edx, dword ptr [eax + 0x10] */ 4875 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x10)); 4876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4877 _flag_k = FK_CMP; 4878 MEM32(ebp + (-0x38)) = edx; /* 0x25114208: mov dword ptr [ebp - 0x38], edx */ 4879 MEM32(ebp + (-0xD8)) = edi; /* 0x2511420B: mov dword ptr [ebp - 0xd8], edi */ 4880 MEM32(ebp + 0x8) = esi; /* 0x25114211: mov dword ptr [ebp + 8], esi */ 4881 RECOMP_BACKEDGE(); 4882 if (CMP_L(_flag_a, _flag_b)) goto L_25113B25; /* 0x25114214: jl 0x25113b25 */ 4883 L_2511421A: 4884 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4885 esi = 0; /* 0x2511421A: xor esi, esi */ 4886 _cf = 0; 4887 _flag_k = FK_TEST; 4888 L_2511421C: 4889 eax = MEM32(ebp + (-0xDC)); /* 0x2511421C: mov eax, dword ptr [ebp - 0xdc] */ 4890 ecx = MEM32(ebp + (-0x34)); /* 0x25114222: mov ecx, dword ptr [ebp - 0x34] */ 4891 edi = MEM32(ebp + (-0x3C)); /* 0x25114225: mov edi, dword ptr [ebp - 0x3c] */ 4892 edx = MEM32(ebx + 0xC); /* 0x25114228: mov edx, dword ptr [ebx + 0xc] */ 4893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4894 eax = eax + 1; /* 0x2511422B: inc eax */ 4895 _flag_k = FK_INC; 4896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 4897 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4898 ecx = ecx + 0xCu; /* 0x2511422C: add ecx, 0xc */ 4899 _flag_k = FK_ADD; 4900 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x28u); 4901 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4902 edi = edi + 0x28u; /* 0x2511422F: add edi, 0x28 */ 4903 _flag_k = FK_ADD; 4904 /* cmp eax, edx */ /* 0x25114232: cmp eax, edx */ 4905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4907 _flag_k = FK_CMP; 4908 MEM32(ebp + (-0xDC)) = eax; /* 0x25114234: mov dword ptr [ebp - 0xdc], eax */ 4909 MEM32(ebp + (-0x34)) = ecx; /* 0x2511423A: mov dword ptr [ebp - 0x34], ecx */ 4910 MEM32(ebp + (-0x3C)) = edi; /* 0x2511423D: mov dword ptr [ebp - 0x3c], edi */ 4911 RECOMP_BACKEDGE(); 4912 if (CMP_L(_flag_a, _flag_b)) goto L_25113AF3; /* 0x25114240: jl 0x25113af3 */ 4913 L_25114246: 4914 RECOMP_BACKEDGE(); 4915 goto L_25113A0E; /* 0x25114246: jmp 0x25113a0e */ 4916 L_2511424B: 4917 eax = MEM32(ebp + 0x10); /* 0x2511424B: mov eax, dword ptr [ebp + 0x10] */ 4918 /* test eax, eax */ /* 0x2511424E: test eax, eax */ 4919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4920 _cf = 0; 4921 _flag_k = FK_TEST; 4922 if (TEST_Z(_flag_a, _flag_b)) goto L_25114257; /* 0x25114250: je 0x25114257 */ 4923 L_25114252: 4924 ecx = MEM32(ebp + (-0x58)); /* 0x25114252: mov ecx, dword ptr [ebp - 0x58] */ 4925 MEM32(eax) = ecx; /* 0x25114255: mov dword ptr [eax], ecx */ 4926 L_25114257: 4927 eax = MEM32(ebp + (-0x38)); /* 0x25114257: mov eax, dword ptr [ebp - 0x38] */ 4928 edx = eax + eax * 2; /* 0x2511425A: lea edx, [eax + eax*2] */ 4929 eax = MEM32(ebp + 0xC); /* 0x2511425D: mov eax, dword ptr [ebp + 0xc] */ 4930 ecx = MEM32(eax + 0x8); /* 0x25114260: mov ecx, dword ptr [eax + 8] */ 4931 ecx = ecx + edx * 4; /* 0x25114263: lea ecx, [ecx + edx*4] */ 4932 RECOMP_ICALL(0x25118EF0u); /* 0x25114266: call 0x25118ef0 */ /* not lifted */ 4933 RECOMP_FLAGS_IN(); 4934 ecx = MEM32(ebp + (-0xC)); /* 0x2511426B: mov ecx, dword ptr [ebp - 0xc] */ 4935 edi = POP32_VAL(esp); /* 0x2511426E: pop edi */ 4936 esi = POP32_VAL(esp); /* 0x2511426F: pop esi */ 4937 SET_LO8(eax, 1); /* 0x25114270: mov al, 1 */ 4938 ebx = POP32_VAL(esp); /* 0x25114272: pop ebx */ 4939 MEM32(FS_BASE + (0)) = ecx; /* 0x25114273: mov dword ptr fs:[0], ecx */ 4940 esp = ebp; /* 0x2511427A: mov esp, ebp */ 4941 ebp = POP32_VAL(esp); /* 0x2511427C: pop ebp */ 4942 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2511427D: ret 0xc */ 4943 RECOMP_REGS_OUT(); 4944 } 4945 4946 void sub_25113A0E(void) { 4947 int _fpu_cmp = 0; 4948 uint32_t _cf = 0; 4949 int _df = 1; 4950 uint32_t _flag_k = FK_NONE; 4951 uint32_t _flag_a = 0, _flag_b = 0; 4952 uint32_t _itail_tgt = 0; 4953 RECOMP_REGS_LOCALS 4954 RECOMP_ENTER(0x25113A0Eu); 4955 4956 L_25113A0E: 4957 edi = POP32_VAL(esp); /* 0x25113A0E: pop edi */ 4958 esi = POP32_VAL(esp); /* 0x25113A0F: pop esi */ 4959 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 4960 SET_LO8(eax, 0); /* 0x25113A10: xor al, al */ 4961 _cf = 0; 4962 _flag_k = FK_NARROW(FK_TEST, 24); 4963 ebx = POP32_VAL(esp); /* 0x25113A12: pop ebx */ 4964 ecx = MEM32(ebp + (-0xC)); /* 0x25113A13: mov ecx, dword ptr [ebp - 0xc] */ 4965 MEM32(FS_BASE + (0)) = ecx; /* 0x25113A16: mov dword ptr fs:[0], ecx */ 4966 esp = ebp; /* 0x25113A1D: mov esp, ebp */ 4967 ebp = POP32_VAL(esp); /* 0x25113A1F: pop ebp */ 4968 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25113A20: ret 0xc */ 4969 RECOMP_REGS_OUT(); 4970 } 4971 4972 void sub_25114280(void) { 4973 int _fpu_cmp = 0; 4974 uint32_t _cf = 0; 4975 int _df = 1; 4976 uint32_t _flag_k = FK_NONE; 4977 uint32_t _flag_a = 0, _flag_b = 0; 4978 uint32_t _itail_tgt = 0; 4979 RECOMP_REGS_LOCALS 4980 RECOMP_ENTER(0x25114280u); 4981 4982 L_25114280: 4983 PUSH32(esp, ebp); /* 0x25114280: push ebp */ 4984 ebp = esp; /* 0x25114281: mov ebp, esp */ 4985 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4987 esp = esp - 8; /* 0x25114283: sub esp, 8 */ 4988 _flag_k = FK_CMP; 4989 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x25114286: mov al, byte ptr [ebp + 8] */ 4990 /* test LO8(eax), LO8(eax) */ /* 0x25114289: test al, al */ 4991 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4992 _cf = 0; 4993 _flag_k = FK_NARROW(FK_TEST, 24); 4994 PUSH32(esp, esi); /* 0x2511428B: push esi */ 4995 esi = ecx; /* 0x2511428C: mov esi, ecx */ 4996 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511429F; /* 0x2511428E: jne 0x2511429f */ 4997 L_25114290: 4998 ecx = MEM32(esi + 0x4); /* 0x25114290: mov ecx, dword ptr [esi + 4] */ 4999 RECOMP_ICALL(0x2510E930u); /* 0x25114293: call 0x2510e930 */ /* not lifted */ 5000 RECOMP_FLAGS_IN(); 5001 esi = POP32_VAL(esp); /* 0x25114298: pop esi */ 5002 esp = ebp; /* 0x25114299: mov esp, ebp */ 5003 ebp = POP32_VAL(esp); /* 0x2511429B: pop ebp */ 5004 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511429C: ret 4 */ 5005 L_2511429F: 5006 PUSH32(esp, edi); /* 0x2511429F: push edi */ 5007 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5008 edi = 0; /* 0x251142A0: xor edi, edi */ 5009 _cf = 0; 5010 _flag_k = FK_TEST; 5011 /* test esi, esi */ /* 0x251142A2: test esi, esi */ 5012 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5013 _cf = 0; 5014 _flag_k = FK_TEST; 5015 if (TEST_Z(_flag_a, _flag_b)) goto L_251142AB; /* 0x251142A4: je 0x251142ab */ 5016 L_251142A6: 5017 eax = esi + 0x3C; /* 0x251142A6: lea eax, [esi + 0x3c] */ 5018 goto L_251142AD; /* 0x251142A9: jmp 0x251142ad */ 5019 L_251142AB: 5020 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5021 eax = 0; /* 0x251142AB: xor eax, eax */ 5022 _cf = 0; 5023 _flag_k = FK_TEST; 5024 L_251142AD: 5025 MEM32(ebp + (-0x8)) = eax; /* 0x251142AD: mov dword ptr [ebp - 8], eax */ 5026 MEM32(ebp + (-0x4)) = eax; /* 0x251142B0: mov dword ptr [ebp - 4], eax */ 5027 L_251142B3: 5028 eax = MEM32(ebp + (-0x8)); /* 0x251142B3: mov eax, dword ptr [ebp - 8] */ 5029 /* test eax, eax */ /* 0x251142B6: test eax, eax */ 5030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5031 _cf = 0; 5032 _flag_k = FK_TEST; 5033 if (TEST_Z(_flag_a, _flag_b)) goto L_251142FF; /* 0x251142B8: je 0x251142ff */ 5034 L_251142BA: 5035 ecx = MEM32(esi + 0x4); /* 0x251142BA: mov ecx, dword ptr [esi + 4] */ 5036 RECOMP_ICALL(0x2510E930u); /* 0x251142BD: call 0x2510e930 */ /* not lifted */ 5037 RECOMP_FLAGS_IN(); 5038 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5040 edi = edi + eax; /* 0x251142C2: add edi, eax */ 5041 _flag_k = FK_ADD; 5042 eax = MEM32(ebp + (-0x8)); /* 0x251142C4: mov eax, dword ptr [ebp - 8] */ 5043 /* test eax, eax */ /* 0x251142C7: test eax, eax */ 5044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5045 _cf = 0; 5046 _flag_k = FK_TEST; 5047 if (TEST_Z(_flag_a, _flag_b)) goto L_251142FF; /* 0x251142C9: je 0x251142ff */ 5048 L_251142CB: 5049 eax = MEM32(ebp + (-0x4)); /* 0x251142CB: mov eax, dword ptr [ebp - 4] */ 5050 PUSH32(esp, eax); /* 0x251142CE: push eax */ 5051 ecx = ebp + (-0x8); /* 0x251142CF: lea ecx, [ebp - 8] */ 5052 PUSH32(esp, ecx); /* 0x251142D2: push ecx */ 5053 RECOMP_ICALL(0x250E3530u); /* 0x251142D3: call 0x250e3530 */ /* not lifted */ 5054 RECOMP_FLAGS_IN(); 5055 edx = MEM32(ebp + (-0x8)); /* 0x251142D8: mov edx, dword ptr [ebp - 8] */ 5056 PUSH32(esp, 0); /* 0x251142DB: push 0 */ 5057 PUSH32(esp, 0x251B25B8u); /* 0x251142DD: push 0x251b25b8 */ 5058 PUSH32(esp, 0x251B25B8u); /* 0x251142E2: push 0x251b25b8 */ 5059 PUSH32(esp, 0); /* 0x251142E7: push 0 */ 5060 PUSH32(esp, edx); /* 0x251142E9: push edx */ 5061 RECOMP_ICALL(0x251381ACu); /* 0x251142EA: call 0x251381ac */ /* not lifted */ 5062 RECOMP_FLAGS_IN(); 5063 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5064 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5065 esp = esp + 0x1Cu; /* 0x251142EF: add esp, 0x1c */ 5066 _flag_k = FK_ADD; 5067 /* test eax, eax */ /* 0x251142F2: test eax, eax */ 5068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5069 _cf = 0; 5070 _flag_k = FK_TEST; 5071 RECOMP_BACKEDGE(); 5072 if (TEST_NZ(_flag_a, _flag_b)) goto L_251142B3; /* 0x251142F4: jne 0x251142b3 */ 5073 L_251142F6: 5074 eax = MEM32(ebp + (-0x8)); /* 0x251142F6: mov eax, dword ptr [ebp - 8] */ 5075 /* test eax, eax */ /* 0x251142F9: test eax, eax */ 5076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5077 _cf = 0; 5078 _flag_k = FK_TEST; 5079 RECOMP_BACKEDGE(); 5080 if (TEST_NZ(_flag_a, _flag_b)) goto L_251142CB; /* 0x251142FB: jne 0x251142cb */ 5081 L_251142FD: 5082 RECOMP_BACKEDGE(); 5083 goto L_251142B3; /* 0x251142FD: jmp 0x251142b3 */ 5084 L_251142FF: 5085 eax = edi; /* 0x251142FF: mov eax, edi */ 5086 edi = POP32_VAL(esp); /* 0x25114301: pop edi */ 5087 esi = POP32_VAL(esp); /* 0x25114302: pop esi */ 5088 esp = ebp; /* 0x25114303: mov esp, ebp */ 5089 ebp = POP32_VAL(esp); /* 0x25114305: pop ebp */ 5090 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114306: ret 4 */ 5091 RECOMP_REGS_OUT(); 5092 } 5093 5094 void sub_25114310(void) { 5095 int _fpu_cmp = 0; 5096 uint32_t _cf = 0; 5097 int _df = 1; 5098 uint32_t _flag_k = FK_NONE; 5099 uint32_t _flag_a = 0, _flag_b = 0; 5100 uint32_t _itail_tgt = 0; 5101 RECOMP_REGS_LOCALS 5102 RECOMP_ENTER(0x25114310u); 5103 5104 L_25114310: 5105 PUSH32(esp, ebp); /* 0x25114310: push ebp */ 5106 ebp = esp; /* 0x25114311: mov ebp, esp */ 5107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5109 esp = esp - 8; /* 0x25114313: sub esp, 8 */ 5110 _flag_k = FK_CMP; 5111 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x25114316: mov al, byte ptr [ebp + 8] */ 5112 /* test LO8(eax), LO8(eax) */ /* 0x25114319: test al, al */ 5113 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5114 _cf = 0; 5115 _flag_k = FK_NARROW(FK_TEST, 24); 5116 PUSH32(esp, esi); /* 0x2511431B: push esi */ 5117 esi = ecx; /* 0x2511431C: mov esi, ecx */ 5118 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511432F; /* 0x2511431E: jne 0x2511432f */ 5119 L_25114320: 5120 ecx = MEM32(esi + 0x4); /* 0x25114320: mov ecx, dword ptr [esi + 4] */ 5121 RECOMP_ICALL(0x2510E970u); /* 0x25114323: call 0x2510e970 */ /* not lifted */ 5122 RECOMP_FLAGS_IN(); 5123 esi = POP32_VAL(esp); /* 0x25114328: pop esi */ 5124 esp = ebp; /* 0x25114329: mov esp, ebp */ 5125 ebp = POP32_VAL(esp); /* 0x2511432B: pop ebp */ 5126 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511432C: ret 4 */ 5127 L_2511432F: 5128 PUSH32(esp, edi); /* 0x2511432F: push edi */ 5129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5130 edi = 0; /* 0x25114330: xor edi, edi */ 5131 _cf = 0; 5132 _flag_k = FK_TEST; 5133 /* test esi, esi */ /* 0x25114332: test esi, esi */ 5134 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5135 _cf = 0; 5136 _flag_k = FK_TEST; 5137 if (TEST_Z(_flag_a, _flag_b)) goto L_2511433B; /* 0x25114334: je 0x2511433b */ 5138 L_25114336: 5139 eax = esi + 0x3C; /* 0x25114336: lea eax, [esi + 0x3c] */ 5140 goto L_2511433D; /* 0x25114339: jmp 0x2511433d */ 5141 L_2511433B: 5142 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5143 eax = 0; /* 0x2511433B: xor eax, eax */ 5144 _cf = 0; 5145 _flag_k = FK_TEST; 5146 L_2511433D: 5147 MEM32(ebp + (-0x8)) = eax; /* 0x2511433D: mov dword ptr [ebp - 8], eax */ 5148 MEM32(ebp + (-0x4)) = eax; /* 0x25114340: mov dword ptr [ebp - 4], eax */ 5149 L_25114343: 5150 eax = MEM32(ebp + (-0x8)); /* 0x25114343: mov eax, dword ptr [ebp - 8] */ 5151 /* test eax, eax */ /* 0x25114346: test eax, eax */ 5152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5153 _cf = 0; 5154 _flag_k = FK_TEST; 5155 if (TEST_Z(_flag_a, _flag_b)) goto L_2511438F; /* 0x25114348: je 0x2511438f */ 5156 L_2511434A: 5157 ecx = MEM32(esi + 0x4); /* 0x2511434A: mov ecx, dword ptr [esi + 4] */ 5158 RECOMP_ICALL(0x2510E970u); /* 0x2511434D: call 0x2510e970 */ /* not lifted */ 5159 RECOMP_FLAGS_IN(); 5160 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5161 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5162 edi = edi + eax; /* 0x25114352: add edi, eax */ 5163 _flag_k = FK_ADD; 5164 eax = MEM32(ebp + (-0x8)); /* 0x25114354: mov eax, dword ptr [ebp - 8] */ 5165 /* test eax, eax */ /* 0x25114357: test eax, eax */ 5166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5167 _cf = 0; 5168 _flag_k = FK_TEST; 5169 if (TEST_Z(_flag_a, _flag_b)) goto L_2511438F; /* 0x25114359: je 0x2511438f */ 5170 L_2511435B: 5171 eax = MEM32(ebp + (-0x4)); /* 0x2511435B: mov eax, dword ptr [ebp - 4] */ 5172 PUSH32(esp, eax); /* 0x2511435E: push eax */ 5173 ecx = ebp + (-0x8); /* 0x2511435F: lea ecx, [ebp - 8] */ 5174 PUSH32(esp, ecx); /* 0x25114362: push ecx */ 5175 RECOMP_ICALL(0x250E3530u); /* 0x25114363: call 0x250e3530 */ /* not lifted */ 5176 RECOMP_FLAGS_IN(); 5177 edx = MEM32(ebp + (-0x8)); /* 0x25114368: mov edx, dword ptr [ebp - 8] */ 5178 PUSH32(esp, 0); /* 0x2511436B: push 0 */ 5179 PUSH32(esp, 0x251B25B8u); /* 0x2511436D: push 0x251b25b8 */ 5180 PUSH32(esp, 0x251B25B8u); /* 0x25114372: push 0x251b25b8 */ 5181 PUSH32(esp, 0); /* 0x25114377: push 0 */ 5182 PUSH32(esp, edx); /* 0x25114379: push edx */ 5183 RECOMP_ICALL(0x251381ACu); /* 0x2511437A: call 0x251381ac */ /* not lifted */ 5184 RECOMP_FLAGS_IN(); 5185 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5186 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5187 esp = esp + 0x1Cu; /* 0x2511437F: add esp, 0x1c */ 5188 _flag_k = FK_ADD; 5189 /* test eax, eax */ /* 0x25114382: test eax, eax */ 5190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5191 _cf = 0; 5192 _flag_k = FK_TEST; 5193 RECOMP_BACKEDGE(); 5194 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114343; /* 0x25114384: jne 0x25114343 */ 5195 L_25114386: 5196 eax = MEM32(ebp + (-0x8)); /* 0x25114386: mov eax, dword ptr [ebp - 8] */ 5197 /* test eax, eax */ /* 0x25114389: test eax, eax */ 5198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5199 _cf = 0; 5200 _flag_k = FK_TEST; 5201 RECOMP_BACKEDGE(); 5202 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511435B; /* 0x2511438B: jne 0x2511435b */ 5203 L_2511438D: 5204 RECOMP_BACKEDGE(); 5205 goto L_25114343; /* 0x2511438D: jmp 0x25114343 */ 5206 L_2511438F: 5207 eax = edi; /* 0x2511438F: mov eax, edi */ 5208 edi = POP32_VAL(esp); /* 0x25114391: pop edi */ 5209 esi = POP32_VAL(esp); /* 0x25114392: pop esi */ 5210 esp = ebp; /* 0x25114393: mov esp, ebp */ 5211 ebp = POP32_VAL(esp); /* 0x25114395: pop ebp */ 5212 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114396: ret 4 */ 5213 RECOMP_REGS_OUT(); 5214 } 5215 5216 void sub_251143A0(void) { 5217 int _fpu_cmp = 0; 5218 uint32_t _cf = 0; 5219 int _df = 1; 5220 uint32_t _flag_k = FK_NONE; 5221 uint32_t _flag_a = 0, _flag_b = 0; 5222 uint32_t _itail_tgt = 0; 5223 RECOMP_REGS_LOCALS 5224 RECOMP_ENTER(0x251143A0u); 5225 5226 L_251143A0: 5227 PUSH32(esp, ebp); /* 0x251143A0: push ebp */ 5228 ebp = esp; /* 0x251143A1: mov ebp, esp */ 5229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5231 esp = esp - 8; /* 0x251143A3: sub esp, 8 */ 5232 _flag_k = FK_CMP; 5233 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x251143A6: mov al, byte ptr [ebp + 8] */ 5234 /* test LO8(eax), LO8(eax) */ /* 0x251143A9: test al, al */ 5235 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5236 _cf = 0; 5237 _flag_k = FK_NARROW(FK_TEST, 24); 5238 PUSH32(esp, esi); /* 0x251143AB: push esi */ 5239 esi = ecx; /* 0x251143AC: mov esi, ecx */ 5240 if (TEST_NZ(_flag_a, _flag_b)) goto L_251143BF; /* 0x251143AE: jne 0x251143bf */ 5241 L_251143B0: 5242 ecx = MEM32(esi + 0x4); /* 0x251143B0: mov ecx, dword ptr [esi + 4] */ 5243 RECOMP_ICALL(0x2510E9B0u); /* 0x251143B3: call 0x2510e9b0 */ /* not lifted */ 5244 RECOMP_FLAGS_IN(); 5245 esi = POP32_VAL(esp); /* 0x251143B8: pop esi */ 5246 esp = ebp; /* 0x251143B9: mov esp, ebp */ 5247 ebp = POP32_VAL(esp); /* 0x251143BB: pop ebp */ 5248 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x251143BC: ret 4 */ 5249 L_251143BF: 5250 PUSH32(esp, edi); /* 0x251143BF: push edi */ 5251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5252 edi = 0; /* 0x251143C0: xor edi, edi */ 5253 _cf = 0; 5254 _flag_k = FK_TEST; 5255 /* test esi, esi */ /* 0x251143C2: test esi, esi */ 5256 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5257 _cf = 0; 5258 _flag_k = FK_TEST; 5259 if (TEST_Z(_flag_a, _flag_b)) goto L_251143CB; /* 0x251143C4: je 0x251143cb */ 5260 L_251143C6: 5261 eax = esi + 0x3C; /* 0x251143C6: lea eax, [esi + 0x3c] */ 5262 goto L_251143CD; /* 0x251143C9: jmp 0x251143cd */ 5263 L_251143CB: 5264 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5265 eax = 0; /* 0x251143CB: xor eax, eax */ 5266 _cf = 0; 5267 _flag_k = FK_TEST; 5268 L_251143CD: 5269 MEM32(ebp + (-0x8)) = eax; /* 0x251143CD: mov dword ptr [ebp - 8], eax */ 5270 MEM32(ebp + (-0x4)) = eax; /* 0x251143D0: mov dword ptr [ebp - 4], eax */ 5271 L_251143D3: 5272 eax = MEM32(ebp + (-0x8)); /* 0x251143D3: mov eax, dword ptr [ebp - 8] */ 5273 /* test eax, eax */ /* 0x251143D6: test eax, eax */ 5274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5275 _cf = 0; 5276 _flag_k = FK_TEST; 5277 if (TEST_Z(_flag_a, _flag_b)) goto L_2511441F; /* 0x251143D8: je 0x2511441f */ 5278 L_251143DA: 5279 ecx = MEM32(esi + 0x4); /* 0x251143DA: mov ecx, dword ptr [esi + 4] */ 5280 RECOMP_ICALL(0x2510E9B0u); /* 0x251143DD: call 0x2510e9b0 */ /* not lifted */ 5281 RECOMP_FLAGS_IN(); 5282 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5284 edi = edi + eax; /* 0x251143E2: add edi, eax */ 5285 _flag_k = FK_ADD; 5286 eax = MEM32(ebp + (-0x8)); /* 0x251143E4: mov eax, dword ptr [ebp - 8] */ 5287 /* test eax, eax */ /* 0x251143E7: test eax, eax */ 5288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5289 _cf = 0; 5290 _flag_k = FK_TEST; 5291 if (TEST_Z(_flag_a, _flag_b)) goto L_2511441F; /* 0x251143E9: je 0x2511441f */ 5292 L_251143EB: 5293 eax = MEM32(ebp + (-0x4)); /* 0x251143EB: mov eax, dword ptr [ebp - 4] */ 5294 PUSH32(esp, eax); /* 0x251143EE: push eax */ 5295 ecx = ebp + (-0x8); /* 0x251143EF: lea ecx, [ebp - 8] */ 5296 PUSH32(esp, ecx); /* 0x251143F2: push ecx */ 5297 RECOMP_ICALL(0x250E3530u); /* 0x251143F3: call 0x250e3530 */ /* not lifted */ 5298 RECOMP_FLAGS_IN(); 5299 edx = MEM32(ebp + (-0x8)); /* 0x251143F8: mov edx, dword ptr [ebp - 8] */ 5300 PUSH32(esp, 0); /* 0x251143FB: push 0 */ 5301 PUSH32(esp, 0x251B25B8u); /* 0x251143FD: push 0x251b25b8 */ 5302 PUSH32(esp, 0x251B25B8u); /* 0x25114402: push 0x251b25b8 */ 5303 PUSH32(esp, 0); /* 0x25114407: push 0 */ 5304 PUSH32(esp, edx); /* 0x25114409: push edx */ 5305 RECOMP_ICALL(0x251381ACu); /* 0x2511440A: call 0x251381ac */ /* not lifted */ 5306 RECOMP_FLAGS_IN(); 5307 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5308 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5309 esp = esp + 0x1Cu; /* 0x2511440F: add esp, 0x1c */ 5310 _flag_k = FK_ADD; 5311 /* test eax, eax */ /* 0x25114412: test eax, eax */ 5312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5313 _cf = 0; 5314 _flag_k = FK_TEST; 5315 RECOMP_BACKEDGE(); 5316 if (TEST_NZ(_flag_a, _flag_b)) goto L_251143D3; /* 0x25114414: jne 0x251143d3 */ 5317 L_25114416: 5318 eax = MEM32(ebp + (-0x8)); /* 0x25114416: mov eax, dword ptr [ebp - 8] */ 5319 /* test eax, eax */ /* 0x25114419: test eax, eax */ 5320 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5321 _cf = 0; 5322 _flag_k = FK_TEST; 5323 RECOMP_BACKEDGE(); 5324 if (TEST_NZ(_flag_a, _flag_b)) goto L_251143EB; /* 0x2511441B: jne 0x251143eb */ 5325 L_2511441D: 5326 RECOMP_BACKEDGE(); 5327 goto L_251143D3; /* 0x2511441D: jmp 0x251143d3 */ 5328 L_2511441F: 5329 eax = edi; /* 0x2511441F: mov eax, edi */ 5330 edi = POP32_VAL(esp); /* 0x25114421: pop edi */ 5331 esi = POP32_VAL(esp); /* 0x25114422: pop esi */ 5332 esp = ebp; /* 0x25114423: mov esp, ebp */ 5333 ebp = POP32_VAL(esp); /* 0x25114425: pop ebp */ 5334 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114426: ret 4 */ 5335 RECOMP_REGS_OUT(); 5336 } 5337 5338 void sub_25114430(void) { 5339 int _fpu_cmp = 0; 5340 uint32_t _cf = 0; 5341 int _df = 1; 5342 uint32_t _flag_k = FK_NONE; 5343 uint32_t _flag_a = 0, _flag_b = 0; 5344 uint32_t _itail_tgt = 0; 5345 RECOMP_REGS_LOCALS 5346 RECOMP_ENTER(0x25114430u); 5347 5348 L_25114430: 5349 PUSH32(esp, ebp); /* 0x25114430: push ebp */ 5350 ebp = esp; /* 0x25114431: mov ebp, esp */ 5351 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5353 esp = esp - 8; /* 0x25114433: sub esp, 8 */ 5354 _flag_k = FK_CMP; 5355 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x25114436: mov al, byte ptr [ebp + 8] */ 5356 /* test LO8(eax), LO8(eax) */ /* 0x25114439: test al, al */ 5357 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5358 _cf = 0; 5359 _flag_k = FK_NARROW(FK_TEST, 24); 5360 PUSH32(esp, esi); /* 0x2511443B: push esi */ 5361 esi = ecx; /* 0x2511443C: mov esi, ecx */ 5362 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511444F; /* 0x2511443E: jne 0x2511444f */ 5363 L_25114440: 5364 ecx = MEM32(esi + 0x4); /* 0x25114440: mov ecx, dword ptr [esi + 4] */ 5365 RECOMP_ICALL(0x2510E9F0u); /* 0x25114443: call 0x2510e9f0 */ /* not lifted */ 5366 RECOMP_FLAGS_IN(); 5367 esi = POP32_VAL(esp); /* 0x25114448: pop esi */ 5368 esp = ebp; /* 0x25114449: mov esp, ebp */ 5369 ebp = POP32_VAL(esp); /* 0x2511444B: pop ebp */ 5370 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511444C: ret 4 */ 5371 L_2511444F: 5372 PUSH32(esp, edi); /* 0x2511444F: push edi */ 5373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5374 edi = 0; /* 0x25114450: xor edi, edi */ 5375 _cf = 0; 5376 _flag_k = FK_TEST; 5377 /* test esi, esi */ /* 0x25114452: test esi, esi */ 5378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5379 _cf = 0; 5380 _flag_k = FK_TEST; 5381 if (TEST_Z(_flag_a, _flag_b)) goto L_2511445B; /* 0x25114454: je 0x2511445b */ 5382 L_25114456: 5383 eax = esi + 0x3C; /* 0x25114456: lea eax, [esi + 0x3c] */ 5384 goto L_2511445D; /* 0x25114459: jmp 0x2511445d */ 5385 L_2511445B: 5386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5387 eax = 0; /* 0x2511445B: xor eax, eax */ 5388 _cf = 0; 5389 _flag_k = FK_TEST; 5390 L_2511445D: 5391 MEM32(ebp + (-0x8)) = eax; /* 0x2511445D: mov dword ptr [ebp - 8], eax */ 5392 MEM32(ebp + (-0x4)) = eax; /* 0x25114460: mov dword ptr [ebp - 4], eax */ 5393 L_25114463: 5394 eax = MEM32(ebp + (-0x8)); /* 0x25114463: mov eax, dword ptr [ebp - 8] */ 5395 /* test eax, eax */ /* 0x25114466: test eax, eax */ 5396 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5397 _cf = 0; 5398 _flag_k = FK_TEST; 5399 if (TEST_Z(_flag_a, _flag_b)) goto L_251144AF; /* 0x25114468: je 0x251144af */ 5400 L_2511446A: 5401 ecx = MEM32(esi + 0x4); /* 0x2511446A: mov ecx, dword ptr [esi + 4] */ 5402 RECOMP_ICALL(0x2510E9F0u); /* 0x2511446D: call 0x2510e9f0 */ /* not lifted */ 5403 RECOMP_FLAGS_IN(); 5404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5406 edi = edi + eax; /* 0x25114472: add edi, eax */ 5407 _flag_k = FK_ADD; 5408 eax = MEM32(ebp + (-0x8)); /* 0x25114474: mov eax, dword ptr [ebp - 8] */ 5409 /* test eax, eax */ /* 0x25114477: test eax, eax */ 5410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5411 _cf = 0; 5412 _flag_k = FK_TEST; 5413 if (TEST_Z(_flag_a, _flag_b)) goto L_251144AF; /* 0x25114479: je 0x251144af */ 5414 L_2511447B: 5415 eax = MEM32(ebp + (-0x4)); /* 0x2511447B: mov eax, dword ptr [ebp - 4] */ 5416 PUSH32(esp, eax); /* 0x2511447E: push eax */ 5417 ecx = ebp + (-0x8); /* 0x2511447F: lea ecx, [ebp - 8] */ 5418 PUSH32(esp, ecx); /* 0x25114482: push ecx */ 5419 RECOMP_ICALL(0x250E3530u); /* 0x25114483: call 0x250e3530 */ /* not lifted */ 5420 RECOMP_FLAGS_IN(); 5421 edx = MEM32(ebp + (-0x8)); /* 0x25114488: mov edx, dword ptr [ebp - 8] */ 5422 PUSH32(esp, 0); /* 0x2511448B: push 0 */ 5423 PUSH32(esp, 0x251B25B8u); /* 0x2511448D: push 0x251b25b8 */ 5424 PUSH32(esp, 0x251B25B8u); /* 0x25114492: push 0x251b25b8 */ 5425 PUSH32(esp, 0); /* 0x25114497: push 0 */ 5426 PUSH32(esp, edx); /* 0x25114499: push edx */ 5427 RECOMP_ICALL(0x251381ACu); /* 0x2511449A: call 0x251381ac */ /* not lifted */ 5428 RECOMP_FLAGS_IN(); 5429 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5430 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5431 esp = esp + 0x1Cu; /* 0x2511449F: add esp, 0x1c */ 5432 _flag_k = FK_ADD; 5433 /* test eax, eax */ /* 0x251144A2: test eax, eax */ 5434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5435 _cf = 0; 5436 _flag_k = FK_TEST; 5437 RECOMP_BACKEDGE(); 5438 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114463; /* 0x251144A4: jne 0x25114463 */ 5439 L_251144A6: 5440 eax = MEM32(ebp + (-0x8)); /* 0x251144A6: mov eax, dword ptr [ebp - 8] */ 5441 /* test eax, eax */ /* 0x251144A9: test eax, eax */ 5442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5443 _cf = 0; 5444 _flag_k = FK_TEST; 5445 RECOMP_BACKEDGE(); 5446 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511447B; /* 0x251144AB: jne 0x2511447b */ 5447 L_251144AD: 5448 RECOMP_BACKEDGE(); 5449 goto L_25114463; /* 0x251144AD: jmp 0x25114463 */ 5450 L_251144AF: 5451 eax = edi; /* 0x251144AF: mov eax, edi */ 5452 edi = POP32_VAL(esp); /* 0x251144B1: pop edi */ 5453 esi = POP32_VAL(esp); /* 0x251144B2: pop esi */ 5454 esp = ebp; /* 0x251144B3: mov esp, ebp */ 5455 ebp = POP32_VAL(esp); /* 0x251144B5: pop ebp */ 5456 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x251144B6: ret 4 */ 5457 RECOMP_REGS_OUT(); 5458 } 5459 5460 void sub_251144C0(void) { 5461 int _fpu_cmp = 0; 5462 uint32_t _cf = 0; 5463 int _df = 1; 5464 uint32_t _flag_k = FK_NONE; 5465 uint32_t _flag_a = 0, _flag_b = 0; 5466 uint32_t _itail_tgt = 0; 5467 RECOMP_REGS_LOCALS 5468 RECOMP_ENTER(0x251144C0u); 5469 5470 L_251144C0: 5471 PUSH32(esp, esi); /* 0x251144C0: push esi */ 5472 esi = ecx; /* 0x251144C1: mov esi, ecx */ 5473 RECOMP_ICALL(0x250DDC20u); /* 0x251144C3: call 0x250ddc20 */ /* not lifted */ 5474 RECOMP_FLAGS_IN(); 5475 ecx = esi + (-0x3C); /* 0x251144C8: lea ecx, [esi - 0x3c] */ 5476 RECOMP_ICALL(0x250F6330u); /* 0x251144CB: call 0x250f6330 */ /* not lifted */ 5477 RECOMP_FLAGS_IN(); 5478 esi = POP32_VAL(esp); /* 0x251144D0: pop esi */ 5479 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251144D1: ret */ 5480 RECOMP_REGS_OUT(); 5481 } 5482 5483 void sub_251144E0(void) { 5484 int _fpu_cmp = 0; 5485 uint32_t _cf = 0; 5486 int _df = 1; 5487 uint32_t _flag_k = FK_NONE; 5488 uint32_t _flag_a = 0, _flag_b = 0; 5489 uint32_t _itail_tgt = 0; 5490 RECOMP_REGS_LOCALS 5491 RECOMP_ENTER(0x251144E0u); 5492 5493 L_251144E0: 5494 PUSH32(esp, ebp); /* 0x251144E0: push ebp */ 5495 ebp = esp; /* 0x251144E1: mov ebp, esp */ 5496 PUSH32(esp, ebx); /* 0x251144E3: push ebx */ 5497 PUSH32(esp, esi); /* 0x251144E4: push esi */ 5498 esi = MEM32(ebp + 0x8); /* 0x251144E5: mov esi, dword ptr [ebp + 8] */ 5499 ebx = ecx; /* 0x251144E8: mov ebx, ecx */ 5500 /* cmp ebx, esi */ /* 0x251144EA: cmp ebx, esi */ 5501 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 5502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5503 _flag_k = FK_CMP; 5504 PUSH32(esp, edi); /* 0x251144EC: push edi */ 5505 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511467B; /* 0x251144ED: je 0x2511467b */ 5506 L_251144F3: 5507 eax = MEM32(esi + 0x4); /* 0x251144F3: mov eax, dword ptr [esi + 4] */ 5508 /* test eax, eax */ /* 0x251144F6: test eax, eax */ 5509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5510 _cf = 0; 5511 _flag_k = FK_TEST; 5512 if (TEST_NZ(_flag_a, _flag_b)) goto L_251144FE; /* 0x251144F8: jne 0x251144fe */ 5513 L_251144FA: 5514 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5515 edi = 0; /* 0x251144FA: xor edi, edi */ 5516 _cf = 0; 5517 _flag_k = FK_TEST; 5518 goto L_25114506; /* 0x251144FC: jmp 0x25114506 */ 5519 L_251144FE: 5520 edi = MEM32(esi + 0x8); /* 0x251144FE: mov edi, dword ptr [esi + 8] */ 5521 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5523 edi = edi - eax; /* 0x25114501: sub edi, eax */ 5524 _flag_k = FK_CMP; 5525 if (3u) _cf = (((edi) >> 2) & 1u); /* 0x25114503: sar edi, 3 */ 5526 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5527 edi = (uint32_t)((int32_t)edi >> 3u); 5528 L_25114506: 5529 edx = MEM32(ebx + 0x4); /* 0x25114506: mov edx, dword ptr [ebx + 4] */ 5530 /* test edx, edx */ /* 0x25114509: test edx, edx */ 5531 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5532 _cf = 0; 5533 _flag_k = FK_TEST; 5534 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114511; /* 0x2511450B: jne 0x25114511 */ 5535 L_2511450D: 5536 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5537 ecx = 0; /* 0x2511450D: xor ecx, ecx */ 5538 _cf = 0; 5539 _flag_k = FK_TEST; 5540 goto L_25114519; /* 0x2511450F: jmp 0x25114519 */ 5541 L_25114511: 5542 ecx = MEM32(ebx + 0x8); /* 0x25114511: mov ecx, dword ptr [ebx + 8] */ 5543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5545 ecx = ecx - edx; /* 0x25114514: sub ecx, edx */ 5546 _flag_k = FK_CMP; 5547 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x25114516: sar ecx, 3 */ 5548 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5549 ecx = (uint32_t)((int32_t)ecx >> 3u); 5550 L_25114519: 5551 /* cmp edi, ecx */ /* 0x25114519: cmp edi, ecx */ 5552 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5554 _flag_k = FK_CMP; 5555 if (CMP_A(_flag_a, _flag_b)) goto L_2511456D; /* 0x2511451B: ja 0x2511456d */ 5556 L_2511451D: 5557 ecx = MEM32(esi + 0x8); /* 0x2511451D: mov ecx, dword ptr [esi + 8] */ 5558 /* cmp eax, ecx */ /* 0x25114520: cmp eax, ecx */ 5559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5561 _flag_k = FK_CMP; 5562 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114538; /* 0x25114522: je 0x25114538 */ 5563 L_25114524: 5564 edi = MEM32(eax); /* 0x25114524: mov edi, dword ptr [eax] */ 5565 MEM32(edx) = edi; /* 0x25114526: mov dword ptr [edx], edi */ 5566 edi = MEM32(eax + 0x4); /* 0x25114528: mov edi, dword ptr [eax + 4] */ 5567 MEM32(edx + 0x4) = edi; /* 0x2511452B: mov dword ptr [edx + 4], edi */ 5568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5569 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5570 eax = eax + 8; /* 0x2511452E: add eax, 8 */ 5571 _flag_k = FK_ADD; 5572 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 5573 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5574 edx = edx + 8; /* 0x25114531: add edx, 8 */ 5575 _flag_k = FK_ADD; 5576 /* cmp eax, ecx */ /* 0x25114534: cmp eax, ecx */ 5577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5579 _flag_k = FK_CMP; 5580 RECOMP_BACKEDGE(); 5581 if (CMP_NE(_flag_a, _flag_b)) goto L_25114524; /* 0x25114536: jne 0x25114524 */ 5582 L_25114538: 5583 eax = MEM32(esi + 0x4); /* 0x25114538: mov eax, dword ptr [esi + 4] */ 5584 /* test eax, eax */ /* 0x2511453B: test eax, eax */ 5585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5586 _cf = 0; 5587 _flag_k = FK_TEST; 5588 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114553; /* 0x2511453D: jne 0x25114553 */ 5589 L_2511453F: 5590 eax = MEM32(ebx + 0x4); /* 0x2511453F: mov eax, dword ptr [ebx + 4] */ 5591 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5592 esi = 0; /* 0x25114542: xor esi, esi */ 5593 _cf = 0; 5594 _flag_k = FK_TEST; 5595 ecx = eax + esi * 8; /* 0x25114544: lea ecx, [eax + esi*8] */ 5596 edi = POP32_VAL(esp); /* 0x25114547: pop edi */ 5597 esi = POP32_VAL(esp); /* 0x25114548: pop esi */ 5598 MEM32(ebx + 0x8) = ecx; /* 0x25114549: mov dword ptr [ebx + 8], ecx */ 5599 eax = ebx; /* 0x2511454C: mov eax, ebx */ 5600 ebx = POP32_VAL(esp); /* 0x2511454E: pop ebx */ 5601 ebp = POP32_VAL(esp); /* 0x2511454F: pop ebp */ 5602 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114550: ret 4 */ 5603 L_25114553: 5604 esi = MEM32(esi + 0x8); /* 0x25114553: mov esi, dword ptr [esi + 8] */ 5605 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5607 esi = esi - eax; /* 0x25114556: sub esi, eax */ 5608 _flag_k = FK_CMP; 5609 eax = MEM32(ebx + 0x4); /* 0x25114558: mov eax, dword ptr [ebx + 4] */ 5610 if (3u) _cf = (((esi) >> 2) & 1u); /* 0x2511455B: sar esi, 3 */ 5611 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5612 esi = (uint32_t)((int32_t)esi >> 3u); 5613 ecx = eax + esi * 8; /* 0x2511455E: lea ecx, [eax + esi*8] */ 5614 edi = POP32_VAL(esp); /* 0x25114561: pop edi */ 5615 esi = POP32_VAL(esp); /* 0x25114562: pop esi */ 5616 MEM32(ebx + 0x8) = ecx; /* 0x25114563: mov dword ptr [ebx + 8], ecx */ 5617 eax = ebx; /* 0x25114566: mov eax, ebx */ 5618 ebx = POP32_VAL(esp); /* 0x25114568: pop ebx */ 5619 ebp = POP32_VAL(esp); /* 0x25114569: pop ebp */ 5620 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2511456A: ret 4 */ 5621 L_2511456D: 5622 /* test eax, eax */ /* 0x2511456D: test eax, eax */ 5623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5624 _cf = 0; 5625 _flag_k = FK_TEST; 5626 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114575; /* 0x2511456F: jne 0x25114575 */ 5627 L_25114571: 5628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5629 edi = 0; /* 0x25114571: xor edi, edi */ 5630 _cf = 0; 5631 _flag_k = FK_TEST; 5632 goto L_2511457D; /* 0x25114573: jmp 0x2511457d */ 5633 L_25114575: 5634 edi = MEM32(esi + 0x8); /* 0x25114575: mov edi, dword ptr [esi + 8] */ 5635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5637 edi = edi - eax; /* 0x25114578: sub edi, eax */ 5638 _flag_k = FK_CMP; 5639 if (3u) _cf = (((edi) >> 2) & 1u); /* 0x2511457A: sar edi, 3 */ 5640 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5641 edi = (uint32_t)((int32_t)edi >> 3u); 5642 L_2511457D: 5643 /* test edx, edx */ /* 0x2511457D: test edx, edx */ 5644 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5645 _cf = 0; 5646 _flag_k = FK_TEST; 5647 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114585; /* 0x2511457F: jne 0x25114585 */ 5648 L_25114581: 5649 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5650 ecx = 0; /* 0x25114581: xor ecx, ecx */ 5651 _cf = 0; 5652 _flag_k = FK_TEST; 5653 goto L_2511458D; /* 0x25114583: jmp 0x2511458d */ 5654 L_25114585: 5655 ecx = MEM32(ebx + 0xC); /* 0x25114585: mov ecx, dword ptr [ebx + 0xc] */ 5656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5658 ecx = ecx - edx; /* 0x25114588: sub ecx, edx */ 5659 _flag_k = FK_CMP; 5660 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2511458A: sar ecx, 3 */ 5661 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5662 ecx = (uint32_t)((int32_t)ecx >> 3u); 5663 L_2511458D: 5664 /* cmp edi, ecx */ /* 0x2511458D: cmp edi, ecx */ 5665 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5667 _flag_k = FK_CMP; 5668 if (CMP_A(_flag_a, _flag_b)) goto L_25114619; /* 0x2511458F: ja 0x25114619 */ 5669 L_25114595: 5670 /* test edx, edx */ /* 0x25114595: test edx, edx */ 5671 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5672 _cf = 0; 5673 _flag_k = FK_TEST; 5674 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511459D; /* 0x25114597: jne 0x2511459d */ 5675 L_25114599: 5676 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5677 ecx = 0; /* 0x25114599: xor ecx, ecx */ 5678 _cf = 0; 5679 _flag_k = FK_TEST; 5680 goto L_251145A5; /* 0x2511459B: jmp 0x251145a5 */ 5681 L_2511459D: 5682 ecx = MEM32(ebx + 0x8); /* 0x2511459D: mov ecx, dword ptr [ebx + 8] */ 5683 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5685 ecx = ecx - edx; /* 0x251145A0: sub ecx, edx */ 5686 _flag_k = FK_CMP; 5687 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x251145A2: sar ecx, 3 */ 5688 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5689 ecx = (uint32_t)((int32_t)ecx >> 3u); 5690 L_251145A5: 5691 ecx = eax + ecx * 8; /* 0x251145A5: lea ecx, [eax + ecx*8] */ 5692 /* cmp eax, ecx */ /* 0x251145A8: cmp eax, ecx */ 5693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5695 _flag_k = FK_CMP; 5696 if (CMP_EQ(_flag_a, _flag_b)) goto L_251145C0; /* 0x251145AA: je 0x251145c0 */ 5697 L_251145AC: 5698 edi = MEM32(eax); /* 0x251145AC: mov edi, dword ptr [eax] */ 5699 MEM32(edx) = edi; /* 0x251145AE: mov dword ptr [edx], edi */ 5700 edi = MEM32(eax + 0x4); /* 0x251145B0: mov edi, dword ptr [eax + 4] */ 5701 MEM32(edx + 0x4) = edi; /* 0x251145B3: mov dword ptr [edx + 4], edi */ 5702 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5704 eax = eax + 8; /* 0x251145B6: add eax, 8 */ 5705 _flag_k = FK_ADD; 5706 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 5707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5708 edx = edx + 8; /* 0x251145B9: add edx, 8 */ 5709 _flag_k = FK_ADD; 5710 /* cmp eax, ecx */ /* 0x251145BC: cmp eax, ecx */ 5711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5713 _flag_k = FK_CMP; 5714 RECOMP_BACKEDGE(); 5715 if (CMP_NE(_flag_a, _flag_b)) goto L_251145AC; /* 0x251145BE: jne 0x251145ac */ 5716 L_251145C0: 5717 edi = MEM32(esi + 0x8); /* 0x251145C0: mov edi, dword ptr [esi + 8] */ 5718 /* cmp ecx, edi */ /* 0x251145C3: cmp ecx, edi */ 5719 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5721 _flag_k = FK_CMP; 5722 edx = MEM32(ebx + 0x8); /* 0x251145C5: mov edx, dword ptr [ebx + 8] */ 5723 eax = ecx; /* 0x251145C8: mov eax, ecx */ 5724 if (CMP_EQ(_flag_a, _flag_b)) goto L_251145E4; /* 0x251145CA: je 0x251145e4 */ 5725 L_251145CC: 5726 /* test edx, edx */ /* 0x251145CC: test edx, edx */ 5727 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5728 _cf = 0; 5729 _flag_k = FK_TEST; 5730 if (TEST_Z(_flag_a, _flag_b)) goto L_251145DA; /* 0x251145CE: je 0x251145da */ 5731 L_251145D0: 5732 ecx = MEM32(eax); /* 0x251145D0: mov ecx, dword ptr [eax] */ 5733 MEM32(edx) = ecx; /* 0x251145D2: mov dword ptr [edx], ecx */ 5734 ecx = MEM32(eax + 0x4); /* 0x251145D4: mov ecx, dword ptr [eax + 4] */ 5735 MEM32(edx + 0x4) = ecx; /* 0x251145D7: mov dword ptr [edx + 4], ecx */ 5736 L_251145DA: 5737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5739 eax = eax + 8; /* 0x251145DA: add eax, 8 */ 5740 _flag_k = FK_ADD; 5741 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 5742 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5743 edx = edx + 8; /* 0x251145DD: add edx, 8 */ 5744 _flag_k = FK_ADD; 5745 /* cmp eax, edi */ /* 0x251145E0: cmp eax, edi */ 5746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5748 _flag_k = FK_CMP; 5749 RECOMP_BACKEDGE(); 5750 if (CMP_NE(_flag_a, _flag_b)) goto L_251145CC; /* 0x251145E2: jne 0x251145cc */ 5751 L_251145E4: 5752 eax = MEM32(esi + 0x4); /* 0x251145E4: mov eax, dword ptr [esi + 4] */ 5753 /* test eax, eax */ /* 0x251145E7: test eax, eax */ 5754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5755 _cf = 0; 5756 _flag_k = FK_TEST; 5757 if (TEST_NZ(_flag_a, _flag_b)) goto L_251145FF; /* 0x251145E9: jne 0x251145ff */ 5758 L_251145EB: 5759 edx = MEM32(ebx + 0x4); /* 0x251145EB: mov edx, dword ptr [ebx + 4] */ 5760 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5761 esi = 0; /* 0x251145EE: xor esi, esi */ 5762 _cf = 0; 5763 _flag_k = FK_TEST; 5764 eax = edx + esi * 8; /* 0x251145F0: lea eax, [edx + esi*8] */ 5765 edi = POP32_VAL(esp); /* 0x251145F3: pop edi */ 5766 MEM32(ebx + 0x8) = eax; /* 0x251145F4: mov dword ptr [ebx + 8], eax */ 5767 esi = POP32_VAL(esp); /* 0x251145F7: pop esi */ 5768 eax = ebx; /* 0x251145F8: mov eax, ebx */ 5769 ebx = POP32_VAL(esp); /* 0x251145FA: pop ebx */ 5770 ebp = POP32_VAL(esp); /* 0x251145FB: pop ebp */ 5771 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x251145FC: ret 4 */ 5772 L_251145FF: 5773 esi = MEM32(esi + 0x8); /* 0x251145FF: mov esi, dword ptr [esi + 8] */ 5774 edx = MEM32(ebx + 0x4); /* 0x25114602: mov edx, dword ptr [ebx + 4] */ 5775 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5777 esi = esi - eax; /* 0x25114605: sub esi, eax */ 5778 _flag_k = FK_CMP; 5779 if (3u) _cf = (((esi) >> 2) & 1u); /* 0x25114607: sar esi, 3 */ 5780 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5781 esi = (uint32_t)((int32_t)esi >> 3u); 5782 eax = edx + esi * 8; /* 0x2511460A: lea eax, [edx + esi*8] */ 5783 edi = POP32_VAL(esp); /* 0x2511460D: pop edi */ 5784 MEM32(ebx + 0x8) = eax; /* 0x2511460E: mov dword ptr [ebx + 8], eax */ 5785 esi = POP32_VAL(esp); /* 0x25114611: pop esi */ 5786 eax = ebx; /* 0x25114612: mov eax, ebx */ 5787 ebx = POP32_VAL(esp); /* 0x25114614: pop ebx */ 5788 ebp = POP32_VAL(esp); /* 0x25114615: pop ebp */ 5789 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114616: ret 4 */ 5790 L_25114619: 5791 PUSH32(esp, edx); /* 0x25114619: push edx */ 5792 MEM32(ebp + 0x8) = edx; /* 0x2511461A: mov dword ptr [ebp + 8], edx */ 5793 RECOMP_ICALL(0x25137EECu); /* 0x2511461D: call 0x25137eec */ /* not lifted */ 5794 RECOMP_FLAGS_IN(); 5795 ecx = MEM32(esi + 0x4); /* 0x25114622: mov ecx, dword ptr [esi + 4] */ 5796 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5798 esp = esp + 4; /* 0x25114625: add esp, 4 */ 5799 _flag_k = FK_ADD; 5800 /* test ecx, ecx */ /* 0x25114628: test ecx, ecx */ 5801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5802 _cf = 0; 5803 _flag_k = FK_TEST; 5804 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114630; /* 0x2511462A: jne 0x25114630 */ 5805 L_2511462C: 5806 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5807 eax = 0; /* 0x2511462C: xor eax, eax */ 5808 _cf = 0; 5809 _flag_k = FK_TEST; 5810 goto L_25114638; /* 0x2511462E: jmp 0x25114638 */ 5811 L_25114630: 5812 eax = MEM32(esi + 0x8); /* 0x25114630: mov eax, dword ptr [esi + 8] */ 5813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5815 eax = eax - ecx; /* 0x25114633: sub eax, ecx */ 5816 _flag_k = FK_CMP; 5817 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x25114635: sar eax, 3 */ 5818 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5819 eax = (uint32_t)((int32_t)eax >> 3u); 5820 L_25114638: 5821 /* test eax, eax */ /* 0x25114638: test eax, eax */ 5822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5823 _cf = 0; 5824 _flag_k = FK_TEST; 5825 if (TEST_NS(_flag_a, _flag_b)) goto L_2511463E; /* 0x2511463A: jge 0x2511463e */ 5826 L_2511463C: 5827 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5828 eax = 0; /* 0x2511463C: xor eax, eax */ 5829 _cf = 0; 5830 _flag_k = FK_TEST; 5831 L_2511463E: 5832 ecx = eax * 8; /* 0x2511463E: lea ecx, [eax*8] */ 5833 PUSH32(esp, ecx); /* 0x25114645: push ecx */ 5834 RECOMP_ICALL(0x251380D0u); /* 0x25114646: call 0x251380d0 */ /* not lifted */ 5835 RECOMP_FLAGS_IN(); 5836 MEM32(ebx + 0x4) = eax; /* 0x2511464B: mov dword ptr [ebx + 4], eax */ 5837 edx = MEM32(esi + 0x8); /* 0x2511464E: mov edx, dword ptr [esi + 8] */ 5838 ecx = eax; /* 0x25114651: mov ecx, eax */ 5839 eax = MEM32(esi + 0x4); /* 0x25114653: mov eax, dword ptr [esi + 4] */ 5840 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5841 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5842 esp = esp + 4; /* 0x25114656: add esp, 4 */ 5843 _flag_k = FK_ADD; 5844 /* cmp eax, edx */ /* 0x25114659: cmp eax, edx */ 5845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5847 _flag_k = FK_CMP; 5848 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114675; /* 0x2511465B: je 0x25114675 */ 5849 L_2511465D: 5850 /* test ecx, ecx */ /* 0x2511465D: test ecx, ecx */ 5851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5852 _cf = 0; 5853 _flag_k = FK_TEST; 5854 if (TEST_Z(_flag_a, _flag_b)) goto L_2511466B; /* 0x2511465F: je 0x2511466b */ 5855 L_25114661: 5856 esi = MEM32(eax); /* 0x25114661: mov esi, dword ptr [eax] */ 5857 MEM32(ecx) = esi; /* 0x25114663: mov dword ptr [ecx], esi */ 5858 esi = MEM32(eax + 0x4); /* 0x25114665: mov esi, dword ptr [eax + 4] */ 5859 MEM32(ecx + 0x4) = esi; /* 0x25114668: mov dword ptr [ecx + 4], esi */ 5860 L_2511466B: 5861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5862 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5863 eax = eax + 8; /* 0x2511466B: add eax, 8 */ 5864 _flag_k = FK_ADD; 5865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 5866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5867 ecx = ecx + 8; /* 0x2511466E: add ecx, 8 */ 5868 _flag_k = FK_ADD; 5869 /* cmp eax, edx */ /* 0x25114671: cmp eax, edx */ 5870 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5872 _flag_k = FK_CMP; 5873 RECOMP_BACKEDGE(); 5874 if (CMP_NE(_flag_a, _flag_b)) goto L_2511465D; /* 0x25114673: jne 0x2511465d */ 5875 L_25114675: 5876 MEM32(ebx + 0x8) = ecx; /* 0x25114675: mov dword ptr [ebx + 8], ecx */ 5877 MEM32(ebx + 0xC) = ecx; /* 0x25114678: mov dword ptr [ebx + 0xc], ecx */ 5878 L_2511467B: 5879 edi = POP32_VAL(esp); /* 0x2511467B: pop edi */ 5880 esi = POP32_VAL(esp); /* 0x2511467C: pop esi */ 5881 eax = ebx; /* 0x2511467D: mov eax, ebx */ 5882 ebx = POP32_VAL(esp); /* 0x2511467F: pop ebx */ 5883 ebp = POP32_VAL(esp); /* 0x25114680: pop ebp */ 5884 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114681: ret 4 */ 5885 RECOMP_REGS_OUT(); 5886 } 5887 5888 void sub_25114690(void) { 5889 int _fpu_cmp = 0; 5890 uint32_t _cf = 0; 5891 int _df = 1; 5892 uint32_t _flag_k = FK_NONE; 5893 uint32_t _flag_a = 0, _flag_b = 0; 5894 uint32_t _itail_tgt = 0; 5895 RECOMP_REGS_LOCALS 5896 RECOMP_ENTER(0x25114690u); 5897 5898 L_25114690: 5899 PUSH32(esp, ebp); /* 0x25114690: push ebp */ 5900 ebp = esp; /* 0x25114691: mov ebp, esp */ 5901 PUSH32(esp, ebx); /* 0x25114693: push ebx */ 5902 PUSH32(esp, esi); /* 0x25114694: push esi */ 5903 esi = MEM32(ecx); /* 0x25114695: mov esi, dword ptr [ecx] */ 5904 edx = MEM32(esi + 0x8); /* 0x25114697: mov edx, dword ptr [esi + 8] */ 5905 SET_LO8(eax, MEM8(edx + 0x2D)); /* 0x2511469A: mov al, byte ptr [edx + 0x2d] */ 5906 /* test LO8(eax), LO8(eax) */ /* 0x2511469D: test al, al */ 5907 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5908 _cf = 0; 5909 _flag_k = FK_NARROW(FK_TEST, 24); 5910 if (TEST_NZ(_flag_a, _flag_b)) goto L_251146C2; /* 0x2511469F: jne 0x251146c2 */ 5911 L_251146A1: 5912 eax = MEM32(edx); /* 0x251146A1: mov eax, dword ptr [edx] */ 5913 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x251146A3: mov bl, byte ptr [eax + 0x2d] */ 5914 /* test LO8(ebx), LO8(ebx) */ /* 0x251146A6: test bl, bl */ 5915 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5916 _cf = 0; 5917 _flag_k = FK_NARROW(FK_TEST, 24); 5918 if (TEST_NZ(_flag_a, _flag_b)) goto L_251146B5; /* 0x251146A8: jne 0x251146b5 */ 5919 L_251146AA: 5920 edx = eax; /* 0x251146AA: mov edx, eax */ 5921 eax = MEM32(edx); /* 0x251146AC: mov eax, dword ptr [edx] */ 5922 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x251146AE: mov bl, byte ptr [eax + 0x2d] */ 5923 /* test LO8(ebx), LO8(ebx) */ /* 0x251146B1: test bl, bl */ 5924 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5925 _cf = 0; 5926 _flag_k = FK_NARROW(FK_TEST, 24); 5927 RECOMP_BACKEDGE(); 5928 if (TEST_Z(_flag_a, _flag_b)) goto L_251146AA; /* 0x251146B3: je 0x251146aa */ 5929 L_251146B5: 5930 eax = MEM32(ebp + 0x8); /* 0x251146B5: mov eax, dword ptr [ebp + 8] */ 5931 MEM32(ecx) = edx; /* 0x251146B8: mov dword ptr [ecx], edx */ 5932 MEM32(eax) = esi; /* 0x251146BA: mov dword ptr [eax], esi */ 5933 esi = POP32_VAL(esp); /* 0x251146BC: pop esi */ 5934 ebx = POP32_VAL(esp); /* 0x251146BD: pop ebx */ 5935 ebp = POP32_VAL(esp); /* 0x251146BE: pop ebp */ 5936 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251146BF: ret 8 */ 5937 L_251146C2: 5938 eax = MEM32(esi + 0x4); /* 0x251146C2: mov eax, dword ptr [esi + 4] */ 5939 edx = MEM32(ecx); /* 0x251146C5: mov edx, dword ptr [ecx] */ 5940 /* cmp edx, MEM32(eax + 0x8) */ /* 0x251146C7: cmp edx, dword ptr [eax + 8] */ 5941 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 5942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5943 _flag_k = FK_CMP; 5944 if (CMP_NE(_flag_a, _flag_b)) goto L_251146D8; /* 0x251146CA: jne 0x251146d8 */ 5945 L_251146CC: 5946 MEM32(ecx) = eax; /* 0x251146CC: mov dword ptr [ecx], eax */ 5947 eax = MEM32(eax + 0x4); /* 0x251146CE: mov eax, dword ptr [eax + 4] */ 5948 edx = MEM32(ecx); /* 0x251146D1: mov edx, dword ptr [ecx] */ 5949 /* cmp edx, MEM32(eax + 0x8) */ /* 0x251146D3: cmp edx, dword ptr [eax + 8] */ 5950 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 5951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5952 _flag_k = FK_CMP; 5953 RECOMP_BACKEDGE(); 5954 if (CMP_EQ(_flag_a, _flag_b)) goto L_251146CC; /* 0x251146D6: je 0x251146cc */ 5955 L_251146D8: 5956 edx = MEM32(ecx); /* 0x251146D8: mov edx, dword ptr [ecx] */ 5957 /* cmp MEM32(edx + 0x8), eax */ /* 0x251146DA: cmp dword ptr [edx + 8], eax */ 5958 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 5959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5960 _flag_k = FK_CMP; 5961 if (CMP_EQ(_flag_a, _flag_b)) goto L_251146E1; /* 0x251146DD: je 0x251146e1 */ 5962 L_251146DF: 5963 MEM32(ecx) = eax; /* 0x251146DF: mov dword ptr [ecx], eax */ 5964 L_251146E1: 5965 eax = MEM32(ebp + 0x8); /* 0x251146E1: mov eax, dword ptr [ebp + 8] */ 5966 MEM32(eax) = esi; /* 0x251146E4: mov dword ptr [eax], esi */ 5967 esi = POP32_VAL(esp); /* 0x251146E6: pop esi */ 5968 ebx = POP32_VAL(esp); /* 0x251146E7: pop ebx */ 5969 ebp = POP32_VAL(esp); /* 0x251146E8: pop ebp */ 5970 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251146E9: ret 8 */ 5971 RECOMP_REGS_OUT(); 5972 } 5973 5974 void sub_251146F0(void) { 5975 int _fpu_cmp = 0; 5976 uint32_t _cf = 0; 5977 int _df = 1; 5978 uint32_t _flag_k = FK_NONE; 5979 uint32_t _flag_a = 0, _flag_b = 0; 5980 uint32_t _itail_tgt = 0; 5981 RECOMP_REGS_LOCALS 5982 RECOMP_ENTER(0x251146F0u); 5983 5984 L_251146F0: 5985 PUSH32(esp, ebp); /* 0x251146F0: push ebp */ 5986 ebp = esp; /* 0x251146F1: mov ebp, esp */ 5987 PUSH32(esp, ecx); /* 0x251146F3: push ecx */ 5988 PUSH32(esp, ebx); /* 0x251146F4: push ebx */ 5989 PUSH32(esp, esi); /* 0x251146F5: push esi */ 5990 esi = ecx; /* 0x251146F6: mov esi, ecx */ 5991 eax = MEM32(esi + 0x14); /* 0x251146F8: mov eax, dword ptr [esi + 0x14] */ 5992 PUSH32(esp, eax); /* 0x251146FB: push eax */ 5993 MEM32(ebp + (-0x4)) = eax; /* 0x251146FC: mov dword ptr [ebp - 4], eax */ 5994 RECOMP_ICALL(0x25137EECu); /* 0x251146FF: call 0x25137eec */ /* not lifted */ 5995 RECOMP_FLAGS_IN(); 5996 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5997 ebx = 0; /* 0x25114704: xor ebx, ebx */ 5998 _cf = 0; 5999 _flag_k = FK_TEST; 6000 MEM32(esi + 0x14) = ebx; /* 0x25114706: mov dword ptr [esi + 0x14], ebx */ 6001 MEM32(esi + 0x18) = ebx; /* 0x25114709: mov dword ptr [esi + 0x18], ebx */ 6002 MEM32(esi + 0x1C) = ebx; /* 0x2511470C: mov dword ptr [esi + 0x1c], ebx */ 6003 eax = MEM32(esi + 0x4); /* 0x2511470F: mov eax, dword ptr [esi + 4] */ 6004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6006 esp = esp + 4; /* 0x25114712: add esp, 4 */ 6007 _flag_k = FK_ADD; 6008 /* cmp eax, ebx */ /* 0x25114715: cmp eax, ebx */ 6009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 6010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6011 _flag_k = FK_CMP; 6012 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114742; /* 0x25114717: je 0x25114742 */ 6013 L_25114719: 6014 ecx = eax + (-0x1); /* 0x25114719: lea ecx, [eax - 1] */ 6015 SET_LO8(eax, MEM8(ecx)); /* 0x2511471C: mov al, byte ptr [ecx] */ 6016 /* cmp LO8(eax), LO8(ebx) */ /* 0x2511471E: cmp al, bl */ 6017 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6019 _flag_k = FK_NARROW(FK_CMP, 24); 6020 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114739; /* 0x25114720: je 0x25114739 */ 6021 L_25114722: 6022 /* cmp LO8(eax), 0xFFu */ /* 0x25114722: cmp al, 0xff */ 6023 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6025 _flag_k = FK_NARROW(FK_CMP, 24); 6026 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114739; /* 0x25114724: je 0x25114739 */ 6027 L_25114726: 6028 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6029 SET_LO8(eax, LO8(eax) - 1); /* 0x25114726: dec al */ 6030 _flag_k = FK_NARROW(FK_DEC, 24); 6031 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x25114728: mov byte ptr [ecx], al */ 6032 MEM32(esi + 0x4) = ebx; /* 0x2511472A: mov dword ptr [esi + 4], ebx */ 6033 MEM32(esi + 0x8) = ebx; /* 0x2511472D: mov dword ptr [esi + 8], ebx */ 6034 MEM32(esi + 0xC) = ebx; /* 0x25114730: mov dword ptr [esi + 0xc], ebx */ 6035 esi = POP32_VAL(esp); /* 0x25114733: pop esi */ 6036 ebx = POP32_VAL(esp); /* 0x25114734: pop ebx */ 6037 esp = ebp; /* 0x25114735: mov esp, ebp */ 6038 ebp = POP32_VAL(esp); /* 0x25114737: pop ebp */ 6039 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25114738: ret */ 6040 L_25114739: 6041 PUSH32(esp, ecx); /* 0x25114739: push ecx */ 6042 RECOMP_ICALL(0x25137EECu); /* 0x2511473A: call 0x25137eec */ /* not lifted */ 6043 RECOMP_FLAGS_IN(); 6044 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6045 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6046 esp = esp + 4; /* 0x2511473F: add esp, 4 */ 6047 _flag_k = FK_ADD; 6048 L_25114742: 6049 MEM32(esi + 0x4) = ebx; /* 0x25114742: mov dword ptr [esi + 4], ebx */ 6050 MEM32(esi + 0x8) = ebx; /* 0x25114745: mov dword ptr [esi + 8], ebx */ 6051 MEM32(esi + 0xC) = ebx; /* 0x25114748: mov dword ptr [esi + 0xc], ebx */ 6052 esi = POP32_VAL(esp); /* 0x2511474B: pop esi */ 6053 ebx = POP32_VAL(esp); /* 0x2511474C: pop ebx */ 6054 esp = ebp; /* 0x2511474D: mov esp, ebp */ 6055 ebp = POP32_VAL(esp); /* 0x2511474F: pop ebp */ 6056 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25114750: ret */ 6057 RECOMP_REGS_OUT(); 6058 } 6059 6060 void sub_25114760(void) { 6061 int _fpu_cmp = 0; 6062 uint32_t _cf = 0; 6063 int _df = 1; 6064 uint32_t _flag_k = FK_NONE; 6065 uint32_t _flag_a = 0, _flag_b = 0; 6066 uint32_t _itail_tgt = 0; 6067 RECOMP_REGS_LOCALS 6068 RECOMP_ENTER(0x25114760u); 6069 6070 L_25114760: 6071 PUSH32(esp, ebp); /* 0x25114760: push ebp */ 6072 ebp = esp; /* 0x25114761: mov ebp, esp */ 6073 PUSH32(esp, ecx); /* 0x25114763: push ecx */ 6074 PUSH32(esp, ebx); /* 0x25114764: push ebx */ 6075 PUSH32(esp, esi); /* 0x25114765: push esi */ 6076 esi = MEM32(ebp + 0xC); /* 0x25114766: mov esi, dword ptr [ebp + 0xc] */ 6077 PUSH32(esp, edi); /* 0x25114769: push edi */ 6078 edi = ecx; /* 0x2511476A: mov edi, ecx */ 6079 ecx = ebp + 0xC; /* 0x2511476C: lea ecx, [ebp + 0xc] */ 6080 RECOMP_ICALL(0x25098300u); /* 0x2511476F: call 0x25098300 */ /* not lifted */ 6081 RECOMP_FLAGS_IN(); 6082 edx = MEM32(esi); /* 0x25114774: mov edx, dword ptr [esi] */ 6083 eax = MEM32(edi + 0x8); /* 0x25114776: mov eax, dword ptr [edi + 8] */ 6084 /* cmp edx, eax */ /* 0x25114779: cmp edx, eax */ 6085 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6087 _flag_k = FK_CMP; 6088 MEM32(ebp + (-0x4)) = esi; /* 0x2511477B: mov dword ptr [ebp - 4], esi */ 6089 if (CMP_NE(_flag_a, _flag_b)) goto L_251147A0; /* 0x2511477E: jne 0x251147a0 */ 6090 L_25114780: 6091 eax = MEM32(esi + 0x8); /* 0x25114780: mov eax, dword ptr [esi + 8] */ 6092 L_25114783: 6093 ecx = MEM32(ebp + (-0x4)); /* 0x25114783: mov ecx, dword ptr [ebp - 4] */ 6094 edx = MEM32(ecx + 0x4); /* 0x25114786: mov edx, dword ptr [ecx + 4] */ 6095 MEM32(eax + 0x4) = edx; /* 0x25114789: mov dword ptr [eax + 4], edx */ 6096 ecx = MEM32(edi + 0x4); /* 0x2511478C: mov ecx, dword ptr [edi + 4] */ 6097 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2511478F: cmp dword ptr [ecx + 4], esi */ 6098 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 6099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6100 _flag_k = FK_CMP; 6101 if (CMP_NE(_flag_a, _flag_b)) goto L_25114823; /* 0x25114792: jne 0x25114823 */ 6102 L_25114798: 6103 MEM32(ecx + 0x4) = eax; /* 0x25114798: mov dword ptr [ecx + 4], eax */ 6104 goto L_25114831; /* 0x2511479B: jmp 0x25114831 */ 6105 L_251147A0: 6106 ecx = MEM32(esi + 0x8); /* 0x251147A0: mov ecx, dword ptr [esi + 8] */ 6107 /* cmp ecx, eax */ /* 0x251147A3: cmp ecx, eax */ 6108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6110 _flag_k = FK_CMP; 6111 if (CMP_NE(_flag_a, _flag_b)) goto L_251147AB; /* 0x251147A5: jne 0x251147ab */ 6112 L_251147A7: 6113 eax = edx; /* 0x251147A7: mov eax, edx */ 6114 RECOMP_BACKEDGE(); 6115 goto L_25114783; /* 0x251147A9: jmp 0x25114783 */ 6116 L_251147AB: 6117 eax = MEM32(ecx); /* 0x251147AB: mov eax, dword ptr [ecx] */ 6118 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x251147AD: mov bl, byte ptr [eax + 0x21] */ 6119 /* test LO8(ebx), LO8(ebx) */ /* 0x251147B0: test bl, bl */ 6120 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6121 _cf = 0; 6122 _flag_k = FK_NARROW(FK_TEST, 24); 6123 if (TEST_NZ(_flag_a, _flag_b)) goto L_251147BF; /* 0x251147B2: jne 0x251147bf */ 6124 L_251147B4: 6125 ecx = eax; /* 0x251147B4: mov ecx, eax */ 6126 eax = MEM32(ecx); /* 0x251147B6: mov eax, dword ptr [ecx] */ 6127 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x251147B8: mov bl, byte ptr [eax + 0x21] */ 6128 /* test LO8(ebx), LO8(ebx) */ /* 0x251147BB: test bl, bl */ 6129 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6130 _cf = 0; 6131 _flag_k = FK_NARROW(FK_TEST, 24); 6132 RECOMP_BACKEDGE(); 6133 if (TEST_Z(_flag_a, _flag_b)) goto L_251147B4; /* 0x251147BD: je 0x251147b4 */ 6134 L_251147BF: 6135 /* cmp ecx, esi */ /* 0x251147BF: cmp ecx, esi */ 6136 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 6137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6138 _flag_k = FK_CMP; 6139 eax = MEM32(ecx + 0x8); /* 0x251147C1: mov eax, dword ptr [ecx + 8] */ 6140 MEM32(ebp + (-0x4)) = ecx; /* 0x251147C4: mov dword ptr [ebp - 4], ecx */ 6141 RECOMP_BACKEDGE(); 6142 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114783; /* 0x251147C7: je 0x25114783 */ 6143 L_251147C9: 6144 MEM32(edx + 0x4) = ecx; /* 0x251147C9: mov dword ptr [edx + 4], ecx */ 6145 edx = MEM32(esi); /* 0x251147CC: mov edx, dword ptr [esi] */ 6146 MEM32(ecx) = edx; /* 0x251147CE: mov dword ptr [ecx], edx */ 6147 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251147D0: cmp ecx, dword ptr [esi + 8] */ 6148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6150 _flag_k = FK_CMP; 6151 if (CMP_NE(_flag_a, _flag_b)) goto L_251147DA; /* 0x251147D3: jne 0x251147da */ 6152 L_251147D5: 6153 MEM32(eax + 0x4) = ecx; /* 0x251147D5: mov dword ptr [eax + 4], ecx */ 6154 goto L_251147F1; /* 0x251147D8: jmp 0x251147f1 */ 6155 L_251147DA: 6156 edx = MEM32(ecx + 0x4); /* 0x251147DA: mov edx, dword ptr [ecx + 4] */ 6157 MEM32(eax + 0x4) = edx; /* 0x251147DD: mov dword ptr [eax + 4], edx */ 6158 edx = MEM32(ecx + 0x4); /* 0x251147E0: mov edx, dword ptr [ecx + 4] */ 6159 MEM32(edx) = eax; /* 0x251147E3: mov dword ptr [edx], eax */ 6160 edx = MEM32(esi + 0x8); /* 0x251147E5: mov edx, dword ptr [esi + 8] */ 6161 MEM32(ecx + 0x8) = edx; /* 0x251147E8: mov dword ptr [ecx + 8], edx */ 6162 edx = MEM32(esi + 0x8); /* 0x251147EB: mov edx, dword ptr [esi + 8] */ 6163 MEM32(edx + 0x4) = ecx; /* 0x251147EE: mov dword ptr [edx + 4], ecx */ 6164 L_251147F1: 6165 edx = MEM32(edi + 0x4); /* 0x251147F1: mov edx, dword ptr [edi + 4] */ 6166 /* cmp MEM32(edx + 0x4), esi */ /* 0x251147F4: cmp dword ptr [edx + 4], esi */ 6167 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 6168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6169 _flag_k = FK_CMP; 6170 if (CMP_NE(_flag_a, _flag_b)) goto L_251147FE; /* 0x251147F7: jne 0x251147fe */ 6171 L_251147F9: 6172 MEM32(edx + 0x4) = ecx; /* 0x251147F9: mov dword ptr [edx + 4], ecx */ 6173 goto L_2511480C; /* 0x251147FC: jmp 0x2511480c */ 6174 L_251147FE: 6175 edx = MEM32(esi + 0x4); /* 0x251147FE: mov edx, dword ptr [esi + 4] */ 6176 /* cmp MEM32(edx), esi */ /* 0x25114801: cmp dword ptr [edx], esi */ 6177 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 6178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6179 _flag_k = FK_CMP; 6180 if (CMP_NE(_flag_a, _flag_b)) goto L_25114809; /* 0x25114803: jne 0x25114809 */ 6181 L_25114805: 6182 MEM32(edx) = ecx; /* 0x25114805: mov dword ptr [edx], ecx */ 6183 goto L_2511480C; /* 0x25114807: jmp 0x2511480c */ 6184 L_25114809: 6185 MEM32(edx + 0x8) = ecx; /* 0x25114809: mov dword ptr [edx + 8], ecx */ 6186 L_2511480C: 6187 edx = MEM32(esi + 0x4); /* 0x2511480C: mov edx, dword ptr [esi + 4] */ 6188 MEM32(ecx + 0x4) = edx; /* 0x2511480F: mov dword ptr [ecx + 4], edx */ 6189 SET_LO8(ebx, MEM8(esi + 0x20)); /* 0x25114812: mov bl, byte ptr [esi + 0x20] */ 6190 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114815: mov dl, byte ptr [ecx + 0x20] */ 6191 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114818: mov byte ptr [ecx + 0x20], bl */ 6192 MEM8(esi + 0x20) = (uint8_t)(LO8(edx)); /* 0x2511481B: mov byte ptr [esi + 0x20], dl */ 6193 MEM32(ebp + (-0x4)) = esi; /* 0x2511481E: mov dword ptr [ebp - 4], esi */ 6194 goto L_25114888; /* 0x25114821: jmp 0x25114888 */ 6195 L_25114823: 6196 ecx = MEM32(esi + 0x4); /* 0x25114823: mov ecx, dword ptr [esi + 4] */ 6197 /* cmp MEM32(ecx), esi */ /* 0x25114826: cmp dword ptr [ecx], esi */ 6198 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 6199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6200 _flag_k = FK_CMP; 6201 if (CMP_NE(_flag_a, _flag_b)) goto L_2511482E; /* 0x25114828: jne 0x2511482e */ 6202 L_2511482A: 6203 MEM32(ecx) = eax; /* 0x2511482A: mov dword ptr [ecx], eax */ 6204 goto L_25114831; /* 0x2511482C: jmp 0x25114831 */ 6205 L_2511482E: 6206 MEM32(ecx + 0x8) = eax; /* 0x2511482E: mov dword ptr [ecx + 8], eax */ 6207 L_25114831: 6208 ebx = MEM32(edi + 0x4); /* 0x25114831: mov ebx, dword ptr [edi + 4] */ 6209 /* cmp MEM32(ebx), esi */ /* 0x25114834: cmp dword ptr [ebx], esi */ 6210 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 6211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6212 _flag_k = FK_CMP; 6213 if (CMP_NE(_flag_a, _flag_b)) goto L_2511485B; /* 0x25114836: jne 0x2511485b */ 6214 L_25114838: 6215 ecx = MEM32(esi + 0x8); /* 0x25114838: mov ecx, dword ptr [esi + 8] */ 6216 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511483B: cmp ecx, dword ptr [edi + 8] */ 6217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6219 _flag_k = FK_CMP; 6220 if (CMP_NE(_flag_a, _flag_b)) goto L_25114845; /* 0x2511483E: jne 0x25114845 */ 6221 L_25114840: 6222 edx = MEM32(esi + 0x4); /* 0x25114840: mov edx, dword ptr [esi + 4] */ 6223 goto L_25114859; /* 0x25114843: jmp 0x25114859 */ 6224 L_25114845: 6225 ecx = MEM32(eax); /* 0x25114845: mov ecx, dword ptr [eax] */ 6226 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114847: cmp byte ptr [ecx + 0x21], 0 */ 6227 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6229 _flag_k = FK_NARROW(FK_CMP, 24); 6230 edx = eax; /* 0x2511484B: mov edx, eax */ 6231 if (CMP_NE(_flag_a, _flag_b)) goto L_25114859; /* 0x2511484D: jne 0x25114859 */ 6232 L_2511484F: 6233 edx = ecx; /* 0x2511484F: mov edx, ecx */ 6234 ecx = MEM32(edx); /* 0x25114851: mov ecx, dword ptr [edx] */ 6235 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114853: cmp byte ptr [ecx + 0x21], 0 */ 6236 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6238 _flag_k = FK_NARROW(FK_CMP, 24); 6239 RECOMP_BACKEDGE(); 6240 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511484F; /* 0x25114857: je 0x2511484f */ 6241 L_25114859: 6242 MEM32(ebx) = edx; /* 0x25114859: mov dword ptr [ebx], edx */ 6243 L_2511485B: 6244 ebx = MEM32(edi + 0x4); /* 0x2511485B: mov ebx, dword ptr [edi + 4] */ 6245 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2511485E: cmp dword ptr [ebx + 8], esi */ 6246 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 6247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6248 _flag_k = FK_CMP; 6249 if (CMP_NE(_flag_a, _flag_b)) goto L_25114888; /* 0x25114861: jne 0x25114888 */ 6250 L_25114863: 6251 ecx = MEM32(esi); /* 0x25114863: mov ecx, dword ptr [esi] */ 6252 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25114865: cmp ecx, dword ptr [edi + 8] */ 6253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6255 _flag_k = FK_CMP; 6256 if (CMP_NE(_flag_a, _flag_b)) goto L_2511486F; /* 0x25114868: jne 0x2511486f */ 6257 L_2511486A: 6258 edx = MEM32(esi + 0x4); /* 0x2511486A: mov edx, dword ptr [esi + 4] */ 6259 goto L_25114885; /* 0x2511486D: jmp 0x25114885 */ 6260 L_2511486F: 6261 ecx = MEM32(eax + 0x8); /* 0x2511486F: mov ecx, dword ptr [eax + 8] */ 6262 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114872: cmp byte ptr [ecx + 0x21], 0 */ 6263 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6265 _flag_k = FK_NARROW(FK_CMP, 24); 6266 edx = eax; /* 0x25114876: mov edx, eax */ 6267 if (CMP_NE(_flag_a, _flag_b)) goto L_25114885; /* 0x25114878: jne 0x25114885 */ 6268 L_2511487A: 6269 edx = ecx; /* 0x2511487A: mov edx, ecx */ 6270 ecx = MEM32(edx + 0x8); /* 0x2511487C: mov ecx, dword ptr [edx + 8] */ 6271 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2511487F: cmp byte ptr [ecx + 0x21], 0 */ 6272 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6274 _flag_k = FK_NARROW(FK_CMP, 24); 6275 RECOMP_BACKEDGE(); 6276 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511487A; /* 0x25114883: je 0x2511487a */ 6277 L_25114885: 6278 MEM32(ebx + 0x8) = edx; /* 0x25114885: mov dword ptr [ebx + 8], edx */ 6279 L_25114888: 6280 esi = MEM32(ebp + (-0x4)); /* 0x25114888: mov esi, dword ptr [ebp - 4] */ 6281 SET_LO8(ecx, MEM8(esi + 0x20)); /* 0x2511488B: mov cl, byte ptr [esi + 0x20] */ 6282 SET_LO8(ebx, 1); /* 0x2511488E: mov bl, 1 */ 6283 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25114890: cmp cl, bl */ 6284 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6286 _flag_k = FK_NARROW(FK_CMP, 24); 6287 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF8; /* 0x25114892: jne 0x25114af8 */ 6288 L_25114898: 6289 ecx = MEM32(edi + 0x4); /* 0x25114898: mov ecx, dword ptr [edi + 4] */ 6290 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511489B: cmp eax, dword ptr [ecx + 4] */ 6291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6293 _flag_k = FK_CMP; 6294 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114AF2; /* 0x2511489E: je 0x25114af2 */ 6295 L_251148A4: 6296 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 6297 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6299 _flag_k = FK_NARROW(FK_CMP, 24); 6300 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 6301 L_251148AD: 6302 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 6303 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 6304 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 6305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6307 _flag_k = FK_CMP; 6308 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 6309 L_251148B6: 6310 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 6311 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 6312 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 6313 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6314 _cf = 0; 6315 _flag_k = FK_NARROW(FK_TEST, 24); 6316 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 6317 L_251148C0: 6318 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 6319 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 6320 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 6321 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 6322 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 6323 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 6324 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 6325 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 6326 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 6327 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6329 _flag_k = FK_CMP; 6330 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 6331 L_251148DC: 6332 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 6333 L_251148DF: 6334 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 6335 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 6336 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 6337 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 6338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6340 _flag_k = FK_CMP; 6341 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 6342 L_251148ED: 6343 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 6344 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 6345 L_251148F2: 6346 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 6347 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 6348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6350 _flag_k = FK_CMP; 6351 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 6352 L_251148F9: 6353 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 6354 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 6355 L_251148FD: 6356 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 6357 L_25114900: 6358 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 6359 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 6360 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 6361 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 6362 L_2511490B: 6363 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 6364 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 6365 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6367 _flag_k = FK_NARROW(FK_CMP, 24); 6368 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 6369 L_25114916: 6370 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 6371 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 6372 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6374 _flag_k = FK_NARROW(FK_CMP, 24); 6375 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 6376 L_25114922: 6377 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 6378 L_25114924: 6379 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 6380 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 6381 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6382 _cf = 0; 6383 _flag_k = FK_NARROW(FK_TEST, 24); 6384 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 6385 L_2511492B: 6386 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 6387 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 6388 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 6389 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 6390 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 6391 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 6392 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 6393 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 6394 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 6395 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6397 _flag_k = FK_CMP; 6398 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 6399 L_25114947: 6400 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 6401 L_2511494A: 6402 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 6403 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 6404 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 6405 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 6406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6408 _flag_k = FK_CMP; 6409 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 6410 L_25114958: 6411 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 6412 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 6413 L_2511495D: 6414 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 6415 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 6416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6418 _flag_k = FK_CMP; 6419 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 6420 L_25114965: 6421 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 6422 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 6423 L_2511496A: 6424 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 6425 L_2511496C: 6426 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 6427 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 6428 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 6429 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 6430 L_25114977: 6431 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 6432 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 6433 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6435 _flag_k = FK_NARROW(FK_CMP, 24); 6436 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 6437 L_25114983: 6438 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 6439 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 6440 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6442 _flag_k = FK_NARROW(FK_CMP, 24); 6443 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 6444 L_2511498E: 6445 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 6446 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 6447 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 6448 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 6449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6451 _flag_k = FK_CMP; 6452 RECOMP_BACKEDGE(); 6453 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 6454 L_251149A1: 6455 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 6456 L_251149A6: 6457 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 6458 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 6459 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6461 _flag_k = FK_NARROW(FK_CMP, 24); 6462 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 6463 L_251149AE: 6464 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 6465 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 6466 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 6467 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 6468 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 6469 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 6470 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 6471 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 6472 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6474 _flag_k = FK_CMP; 6475 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 6476 L_251149C6: 6477 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 6478 L_251149C9: 6479 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 6480 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 6481 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 6482 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 6483 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6485 _flag_k = FK_CMP; 6486 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 6487 L_251149D7: 6488 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 6489 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 6490 L_251149DC: 6491 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 6492 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 6493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6495 _flag_k = FK_CMP; 6496 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 6497 L_251149E4: 6498 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 6499 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 6500 L_251149E9: 6501 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 6502 L_251149EB: 6503 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 6504 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 6505 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 6506 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 6507 L_251149F7: 6508 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 6509 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 6510 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 6511 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 6512 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 6513 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 6514 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 6515 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 6516 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 6517 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 6518 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 6519 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 6520 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 6521 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6523 _flag_k = FK_CMP; 6524 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 6525 L_25114A1E: 6526 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 6527 L_25114A21: 6528 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 6529 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 6530 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 6531 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 6532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6534 _flag_k = FK_CMP; 6535 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 6536 L_25114A2F: 6537 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 6538 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 6539 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 6540 L_25114A39: 6541 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 6542 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 6543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6545 _flag_k = FK_CMP; 6546 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 6547 L_25114A40: 6548 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 6549 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 6550 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 6551 L_25114A49: 6552 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 6553 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 6554 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 6555 L_25114A53: 6556 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 6557 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 6558 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6560 _flag_k = FK_NARROW(FK_CMP, 24); 6561 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 6562 L_25114A5A: 6563 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 6564 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 6565 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 6566 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 6567 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 6568 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 6569 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 6570 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 6571 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6573 _flag_k = FK_CMP; 6574 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 6575 L_25114A73: 6576 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 6577 L_25114A76: 6578 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 6579 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 6580 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 6581 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 6582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6584 _flag_k = FK_CMP; 6585 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 6586 L_25114A84: 6587 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 6588 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 6589 L_25114A89: 6590 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 6591 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 6592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6594 _flag_k = FK_CMP; 6595 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 6596 L_25114A90: 6597 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 6598 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 6599 L_25114A94: 6600 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 6601 L_25114A97: 6602 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 6603 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 6604 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 6605 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 6606 L_25114AA1: 6607 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 6608 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 6609 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 6610 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 6611 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 6612 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 6613 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 6614 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 6615 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 6616 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 6617 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 6618 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 6619 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 6620 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6622 _flag_k = FK_CMP; 6623 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 6624 L_25114AC7: 6625 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 6626 L_25114ACA: 6627 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 6628 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 6629 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 6630 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 6631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6633 _flag_k = FK_CMP; 6634 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 6635 L_25114AD8: 6636 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 6637 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 6638 L_25114ADD: 6639 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 6640 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 6641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6643 _flag_k = FK_CMP; 6644 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 6645 L_25114AE5: 6646 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 6647 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 6648 L_25114AEA: 6649 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 6650 L_25114AEC: 6651 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 6652 L_25114AEF: 6653 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 6654 L_25114AF2: 6655 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 6656 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 6657 L_25114AF8: 6658 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 6659 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 6660 RECOMP_FLAGS_IN(); 6661 PUSH32(esp, esi); /* 0x25114B00: push esi */ 6662 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 6663 RECOMP_FLAGS_IN(); 6664 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 6665 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 6666 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6668 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 6669 _flag_k = FK_ADD; 6670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6671 eax = eax - 1; /* 0x25114B0F: dec eax */ 6672 _flag_k = FK_DEC; 6673 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 6674 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 6675 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 6676 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 6677 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 6678 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 6679 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 6680 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 6681 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 6682 RECOMP_REGS_OUT(); 6683 } 6684 6685 void sub_25114831(void) { 6686 int _fpu_cmp = 0; 6687 uint32_t _cf = 0; 6688 int _df = 1; 6689 uint32_t _flag_k = FK_NONE; 6690 uint32_t _flag_a = 0, _flag_b = 0; 6691 uint32_t _itail_tgt = 0; 6692 RECOMP_REGS_LOCALS 6693 RECOMP_ENTER(0x25114831u); 6694 6695 L_25114831: 6696 ebx = MEM32(edi + 0x4); /* 0x25114831: mov ebx, dword ptr [edi + 4] */ 6697 /* cmp MEM32(ebx), esi */ /* 0x25114834: cmp dword ptr [ebx], esi */ 6698 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 6699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6700 _flag_k = FK_CMP; 6701 if (CMP_NE(_flag_a, _flag_b)) goto L_2511485B; /* 0x25114836: jne 0x2511485b */ 6702 L_25114838: 6703 ecx = MEM32(esi + 0x8); /* 0x25114838: mov ecx, dword ptr [esi + 8] */ 6704 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511483B: cmp ecx, dword ptr [edi + 8] */ 6705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6707 _flag_k = FK_CMP; 6708 if (CMP_NE(_flag_a, _flag_b)) goto L_25114845; /* 0x2511483E: jne 0x25114845 */ 6709 L_25114840: 6710 edx = MEM32(esi + 0x4); /* 0x25114840: mov edx, dword ptr [esi + 4] */ 6711 goto L_25114859; /* 0x25114843: jmp 0x25114859 */ 6712 L_25114845: 6713 ecx = MEM32(eax); /* 0x25114845: mov ecx, dword ptr [eax] */ 6714 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114847: cmp byte ptr [ecx + 0x21], 0 */ 6715 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6717 _flag_k = FK_NARROW(FK_CMP, 24); 6718 edx = eax; /* 0x2511484B: mov edx, eax */ 6719 if (CMP_NE(_flag_a, _flag_b)) goto L_25114859; /* 0x2511484D: jne 0x25114859 */ 6720 L_2511484F: 6721 edx = ecx; /* 0x2511484F: mov edx, ecx */ 6722 ecx = MEM32(edx); /* 0x25114851: mov ecx, dword ptr [edx] */ 6723 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114853: cmp byte ptr [ecx + 0x21], 0 */ 6724 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6726 _flag_k = FK_NARROW(FK_CMP, 24); 6727 RECOMP_BACKEDGE(); 6728 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511484F; /* 0x25114857: je 0x2511484f */ 6729 L_25114859: 6730 MEM32(ebx) = edx; /* 0x25114859: mov dword ptr [ebx], edx */ 6731 L_2511485B: 6732 ebx = MEM32(edi + 0x4); /* 0x2511485B: mov ebx, dword ptr [edi + 4] */ 6733 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2511485E: cmp dword ptr [ebx + 8], esi */ 6734 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 6735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6736 _flag_k = FK_CMP; 6737 if (CMP_NE(_flag_a, _flag_b)) goto L_25114888; /* 0x25114861: jne 0x25114888 */ 6738 L_25114863: 6739 ecx = MEM32(esi); /* 0x25114863: mov ecx, dword ptr [esi] */ 6740 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25114865: cmp ecx, dword ptr [edi + 8] */ 6741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6743 _flag_k = FK_CMP; 6744 if (CMP_NE(_flag_a, _flag_b)) goto L_2511486F; /* 0x25114868: jne 0x2511486f */ 6745 L_2511486A: 6746 edx = MEM32(esi + 0x4); /* 0x2511486A: mov edx, dword ptr [esi + 4] */ 6747 goto L_25114885; /* 0x2511486D: jmp 0x25114885 */ 6748 L_2511486F: 6749 ecx = MEM32(eax + 0x8); /* 0x2511486F: mov ecx, dword ptr [eax + 8] */ 6750 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114872: cmp byte ptr [ecx + 0x21], 0 */ 6751 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6753 _flag_k = FK_NARROW(FK_CMP, 24); 6754 edx = eax; /* 0x25114876: mov edx, eax */ 6755 if (CMP_NE(_flag_a, _flag_b)) goto L_25114885; /* 0x25114878: jne 0x25114885 */ 6756 L_2511487A: 6757 edx = ecx; /* 0x2511487A: mov edx, ecx */ 6758 ecx = MEM32(edx + 0x8); /* 0x2511487C: mov ecx, dword ptr [edx + 8] */ 6759 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2511487F: cmp byte ptr [ecx + 0x21], 0 */ 6760 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 6761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6762 _flag_k = FK_NARROW(FK_CMP, 24); 6763 RECOMP_BACKEDGE(); 6764 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511487A; /* 0x25114883: je 0x2511487a */ 6765 L_25114885: 6766 MEM32(ebx + 0x8) = edx; /* 0x25114885: mov dword ptr [ebx + 8], edx */ 6767 L_25114888: 6768 esi = MEM32(ebp + (-0x4)); /* 0x25114888: mov esi, dword ptr [ebp - 4] */ 6769 SET_LO8(ecx, MEM8(esi + 0x20)); /* 0x2511488B: mov cl, byte ptr [esi + 0x20] */ 6770 SET_LO8(ebx, 1); /* 0x2511488E: mov bl, 1 */ 6771 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25114890: cmp cl, bl */ 6772 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6774 _flag_k = FK_NARROW(FK_CMP, 24); 6775 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF8; /* 0x25114892: jne 0x25114af8 */ 6776 L_25114898: 6777 ecx = MEM32(edi + 0x4); /* 0x25114898: mov ecx, dword ptr [edi + 4] */ 6778 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511489B: cmp eax, dword ptr [ecx + 4] */ 6779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6781 _flag_k = FK_CMP; 6782 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114AF2; /* 0x2511489E: je 0x25114af2 */ 6783 L_251148A4: 6784 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 6785 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6787 _flag_k = FK_NARROW(FK_CMP, 24); 6788 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 6789 L_251148AD: 6790 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 6791 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 6792 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 6793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6795 _flag_k = FK_CMP; 6796 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 6797 L_251148B6: 6798 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 6799 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 6800 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 6801 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6802 _cf = 0; 6803 _flag_k = FK_NARROW(FK_TEST, 24); 6804 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 6805 L_251148C0: 6806 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 6807 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 6808 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 6809 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 6810 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 6811 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 6812 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 6813 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 6814 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 6815 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6817 _flag_k = FK_CMP; 6818 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 6819 L_251148DC: 6820 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 6821 L_251148DF: 6822 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 6823 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 6824 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 6825 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 6826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6828 _flag_k = FK_CMP; 6829 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 6830 L_251148ED: 6831 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 6832 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 6833 L_251148F2: 6834 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 6835 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 6836 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6838 _flag_k = FK_CMP; 6839 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 6840 L_251148F9: 6841 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 6842 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 6843 L_251148FD: 6844 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 6845 L_25114900: 6846 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 6847 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 6848 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 6849 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 6850 L_2511490B: 6851 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 6852 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 6853 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6855 _flag_k = FK_NARROW(FK_CMP, 24); 6856 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 6857 L_25114916: 6858 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 6859 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 6860 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6862 _flag_k = FK_NARROW(FK_CMP, 24); 6863 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 6864 L_25114922: 6865 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 6866 L_25114924: 6867 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 6868 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 6869 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6870 _cf = 0; 6871 _flag_k = FK_NARROW(FK_TEST, 24); 6872 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 6873 L_2511492B: 6874 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 6875 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 6876 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 6877 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 6878 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 6879 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 6880 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 6881 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 6882 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 6883 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6885 _flag_k = FK_CMP; 6886 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 6887 L_25114947: 6888 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 6889 L_2511494A: 6890 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 6891 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 6892 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 6893 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 6894 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6896 _flag_k = FK_CMP; 6897 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 6898 L_25114958: 6899 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 6900 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 6901 L_2511495D: 6902 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 6903 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 6904 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6906 _flag_k = FK_CMP; 6907 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 6908 L_25114965: 6909 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 6910 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 6911 L_2511496A: 6912 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 6913 L_2511496C: 6914 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 6915 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 6916 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 6917 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 6918 L_25114977: 6919 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 6920 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 6921 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6923 _flag_k = FK_NARROW(FK_CMP, 24); 6924 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 6925 L_25114983: 6926 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 6927 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 6928 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6930 _flag_k = FK_NARROW(FK_CMP, 24); 6931 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 6932 L_2511498E: 6933 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 6934 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 6935 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 6936 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 6937 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6939 _flag_k = FK_CMP; 6940 RECOMP_BACKEDGE(); 6941 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 6942 L_251149A1: 6943 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 6944 L_251149A6: 6945 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 6946 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 6947 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6949 _flag_k = FK_NARROW(FK_CMP, 24); 6950 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 6951 L_251149AE: 6952 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 6953 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 6954 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 6955 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 6956 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 6957 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 6958 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 6959 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 6960 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6962 _flag_k = FK_CMP; 6963 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 6964 L_251149C6: 6965 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 6966 L_251149C9: 6967 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 6968 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 6969 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 6970 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 6971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6973 _flag_k = FK_CMP; 6974 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 6975 L_251149D7: 6976 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 6977 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 6978 L_251149DC: 6979 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 6980 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 6981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6983 _flag_k = FK_CMP; 6984 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 6985 L_251149E4: 6986 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 6987 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 6988 L_251149E9: 6989 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 6990 L_251149EB: 6991 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 6992 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 6993 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 6994 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 6995 L_251149F7: 6996 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 6997 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 6998 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 6999 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 7000 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 7001 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 7002 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 7003 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 7004 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 7005 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 7006 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 7007 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 7008 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 7009 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7011 _flag_k = FK_CMP; 7012 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 7013 L_25114A1E: 7014 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 7015 L_25114A21: 7016 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 7017 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 7018 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 7019 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 7020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7022 _flag_k = FK_CMP; 7023 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 7024 L_25114A2F: 7025 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 7026 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 7027 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 7028 L_25114A39: 7029 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 7030 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 7031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7033 _flag_k = FK_CMP; 7034 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 7035 L_25114A40: 7036 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 7037 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 7038 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 7039 L_25114A49: 7040 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 7041 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 7042 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 7043 L_25114A53: 7044 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 7045 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 7046 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7048 _flag_k = FK_NARROW(FK_CMP, 24); 7049 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 7050 L_25114A5A: 7051 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 7052 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 7053 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 7054 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 7055 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 7056 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 7057 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 7058 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 7059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7061 _flag_k = FK_CMP; 7062 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 7063 L_25114A73: 7064 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 7065 L_25114A76: 7066 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 7067 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 7068 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 7069 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 7070 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7072 _flag_k = FK_CMP; 7073 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 7074 L_25114A84: 7075 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 7076 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 7077 L_25114A89: 7078 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 7079 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 7080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7082 _flag_k = FK_CMP; 7083 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 7084 L_25114A90: 7085 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 7086 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 7087 L_25114A94: 7088 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 7089 L_25114A97: 7090 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 7091 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 7092 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 7093 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 7094 L_25114AA1: 7095 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 7096 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 7097 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 7098 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 7099 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 7100 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 7101 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 7102 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 7103 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 7104 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 7105 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 7106 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 7107 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 7108 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7110 _flag_k = FK_CMP; 7111 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 7112 L_25114AC7: 7113 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 7114 L_25114ACA: 7115 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 7116 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 7117 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 7118 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 7119 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7121 _flag_k = FK_CMP; 7122 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 7123 L_25114AD8: 7124 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 7125 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 7126 L_25114ADD: 7127 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 7128 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 7129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7131 _flag_k = FK_CMP; 7132 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 7133 L_25114AE5: 7134 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 7135 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 7136 L_25114AEA: 7137 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 7138 L_25114AEC: 7139 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 7140 L_25114AEF: 7141 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 7142 L_25114AF2: 7143 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 7144 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 7145 L_25114AF8: 7146 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 7147 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 7148 RECOMP_FLAGS_IN(); 7149 PUSH32(esp, esi); /* 0x25114B00: push esi */ 7150 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 7151 RECOMP_FLAGS_IN(); 7152 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 7153 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 7154 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7156 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 7157 _flag_k = FK_ADD; 7158 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7159 eax = eax - 1; /* 0x25114B0F: dec eax */ 7160 _flag_k = FK_DEC; 7161 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 7162 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 7163 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 7164 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 7165 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 7166 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 7167 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 7168 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 7169 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 7170 RECOMP_REGS_OUT(); 7171 } 7172 7173 void sub_25114859(void) { 7174 int _fpu_cmp = 0; 7175 uint32_t _cf = 0; 7176 int _df = 1; 7177 uint32_t _flag_k = FK_NONE; 7178 uint32_t _flag_a = 0, _flag_b = 0; 7179 uint32_t _itail_tgt = 0; 7180 RECOMP_REGS_LOCALS 7181 RECOMP_ENTER(0x25114859u); 7182 7183 L_25114859: 7184 MEM32(ebx) = edx; /* 0x25114859: mov dword ptr [ebx], edx */ 7185 ebx = MEM32(edi + 0x4); /* 0x2511485B: mov ebx, dword ptr [edi + 4] */ 7186 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2511485E: cmp dword ptr [ebx + 8], esi */ 7187 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 7188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7189 _flag_k = FK_CMP; 7190 if (CMP_NE(_flag_a, _flag_b)) goto L_25114888; /* 0x25114861: jne 0x25114888 */ 7191 L_25114863: 7192 ecx = MEM32(esi); /* 0x25114863: mov ecx, dword ptr [esi] */ 7193 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25114865: cmp ecx, dword ptr [edi + 8] */ 7194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7196 _flag_k = FK_CMP; 7197 if (CMP_NE(_flag_a, _flag_b)) goto L_2511486F; /* 0x25114868: jne 0x2511486f */ 7198 L_2511486A: 7199 edx = MEM32(esi + 0x4); /* 0x2511486A: mov edx, dword ptr [esi + 4] */ 7200 goto L_25114885; /* 0x2511486D: jmp 0x25114885 */ 7201 L_2511486F: 7202 ecx = MEM32(eax + 0x8); /* 0x2511486F: mov ecx, dword ptr [eax + 8] */ 7203 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x25114872: cmp byte ptr [ecx + 0x21], 0 */ 7204 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 7205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7206 _flag_k = FK_NARROW(FK_CMP, 24); 7207 edx = eax; /* 0x25114876: mov edx, eax */ 7208 if (CMP_NE(_flag_a, _flag_b)) goto L_25114885; /* 0x25114878: jne 0x25114885 */ 7209 L_2511487A: 7210 edx = ecx; /* 0x2511487A: mov edx, ecx */ 7211 ecx = MEM32(edx + 0x8); /* 0x2511487C: mov ecx, dword ptr [edx + 8] */ 7212 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2511487F: cmp byte ptr [ecx + 0x21], 0 */ 7213 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 7214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7215 _flag_k = FK_NARROW(FK_CMP, 24); 7216 RECOMP_BACKEDGE(); 7217 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511487A; /* 0x25114883: je 0x2511487a */ 7218 L_25114885: 7219 MEM32(ebx + 0x8) = edx; /* 0x25114885: mov dword ptr [ebx + 8], edx */ 7220 L_25114888: 7221 esi = MEM32(ebp + (-0x4)); /* 0x25114888: mov esi, dword ptr [ebp - 4] */ 7222 SET_LO8(ecx, MEM8(esi + 0x20)); /* 0x2511488B: mov cl, byte ptr [esi + 0x20] */ 7223 SET_LO8(ebx, 1); /* 0x2511488E: mov bl, 1 */ 7224 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25114890: cmp cl, bl */ 7225 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7227 _flag_k = FK_NARROW(FK_CMP, 24); 7228 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF8; /* 0x25114892: jne 0x25114af8 */ 7229 L_25114898: 7230 ecx = MEM32(edi + 0x4); /* 0x25114898: mov ecx, dword ptr [edi + 4] */ 7231 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511489B: cmp eax, dword ptr [ecx + 4] */ 7232 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7234 _flag_k = FK_CMP; 7235 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114AF2; /* 0x2511489E: je 0x25114af2 */ 7236 L_251148A4: 7237 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 7238 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7240 _flag_k = FK_NARROW(FK_CMP, 24); 7241 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 7242 L_251148AD: 7243 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 7244 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 7245 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 7246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7248 _flag_k = FK_CMP; 7249 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 7250 L_251148B6: 7251 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 7252 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 7253 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 7254 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7255 _cf = 0; 7256 _flag_k = FK_NARROW(FK_TEST, 24); 7257 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 7258 L_251148C0: 7259 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 7260 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 7261 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 7262 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 7263 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 7264 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 7265 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 7266 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 7267 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 7268 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7270 _flag_k = FK_CMP; 7271 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 7272 L_251148DC: 7273 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 7274 L_251148DF: 7275 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 7276 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 7277 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 7278 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 7279 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7281 _flag_k = FK_CMP; 7282 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 7283 L_251148ED: 7284 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 7285 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 7286 L_251148F2: 7287 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 7288 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 7289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7291 _flag_k = FK_CMP; 7292 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 7293 L_251148F9: 7294 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 7295 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 7296 L_251148FD: 7297 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 7298 L_25114900: 7299 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 7300 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 7301 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 7302 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 7303 L_2511490B: 7304 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 7305 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 7306 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7308 _flag_k = FK_NARROW(FK_CMP, 24); 7309 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 7310 L_25114916: 7311 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 7312 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 7313 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7315 _flag_k = FK_NARROW(FK_CMP, 24); 7316 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 7317 L_25114922: 7318 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 7319 L_25114924: 7320 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 7321 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 7322 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7323 _cf = 0; 7324 _flag_k = FK_NARROW(FK_TEST, 24); 7325 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 7326 L_2511492B: 7327 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 7328 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 7329 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 7330 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 7331 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 7332 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 7333 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 7334 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 7335 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 7336 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7338 _flag_k = FK_CMP; 7339 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 7340 L_25114947: 7341 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 7342 L_2511494A: 7343 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 7344 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 7345 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 7346 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 7347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7349 _flag_k = FK_CMP; 7350 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 7351 L_25114958: 7352 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 7353 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 7354 L_2511495D: 7355 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 7356 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 7357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7359 _flag_k = FK_CMP; 7360 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 7361 L_25114965: 7362 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 7363 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 7364 L_2511496A: 7365 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 7366 L_2511496C: 7367 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 7368 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 7369 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 7370 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 7371 L_25114977: 7372 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 7373 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 7374 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7376 _flag_k = FK_NARROW(FK_CMP, 24); 7377 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 7378 L_25114983: 7379 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 7380 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 7381 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7383 _flag_k = FK_NARROW(FK_CMP, 24); 7384 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 7385 L_2511498E: 7386 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 7387 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 7388 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 7389 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 7390 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7392 _flag_k = FK_CMP; 7393 RECOMP_BACKEDGE(); 7394 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 7395 L_251149A1: 7396 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 7397 L_251149A6: 7398 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 7399 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 7400 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7402 _flag_k = FK_NARROW(FK_CMP, 24); 7403 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 7404 L_251149AE: 7405 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 7406 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 7407 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 7408 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 7409 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 7410 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 7411 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 7412 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 7413 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7415 _flag_k = FK_CMP; 7416 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 7417 L_251149C6: 7418 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 7419 L_251149C9: 7420 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 7421 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 7422 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 7423 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 7424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7426 _flag_k = FK_CMP; 7427 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 7428 L_251149D7: 7429 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 7430 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 7431 L_251149DC: 7432 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 7433 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 7434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7436 _flag_k = FK_CMP; 7437 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 7438 L_251149E4: 7439 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 7440 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 7441 L_251149E9: 7442 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 7443 L_251149EB: 7444 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 7445 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 7446 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 7447 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 7448 L_251149F7: 7449 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 7450 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 7451 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 7452 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 7453 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 7454 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 7455 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 7456 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 7457 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 7458 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 7459 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 7460 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 7461 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 7462 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7464 _flag_k = FK_CMP; 7465 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 7466 L_25114A1E: 7467 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 7468 L_25114A21: 7469 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 7470 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 7471 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 7472 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 7473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7475 _flag_k = FK_CMP; 7476 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 7477 L_25114A2F: 7478 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 7479 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 7480 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 7481 L_25114A39: 7482 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 7483 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 7484 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7486 _flag_k = FK_CMP; 7487 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 7488 L_25114A40: 7489 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 7490 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 7491 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 7492 L_25114A49: 7493 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 7494 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 7495 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 7496 L_25114A53: 7497 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 7498 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 7499 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7501 _flag_k = FK_NARROW(FK_CMP, 24); 7502 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 7503 L_25114A5A: 7504 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 7505 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 7506 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 7507 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 7508 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 7509 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 7510 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 7511 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 7512 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7514 _flag_k = FK_CMP; 7515 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 7516 L_25114A73: 7517 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 7518 L_25114A76: 7519 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 7520 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 7521 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 7522 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 7523 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7525 _flag_k = FK_CMP; 7526 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 7527 L_25114A84: 7528 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 7529 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 7530 L_25114A89: 7531 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 7532 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 7533 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7535 _flag_k = FK_CMP; 7536 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 7537 L_25114A90: 7538 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 7539 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 7540 L_25114A94: 7541 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 7542 L_25114A97: 7543 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 7544 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 7545 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 7546 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 7547 L_25114AA1: 7548 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 7549 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 7550 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 7551 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 7552 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 7553 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 7554 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 7555 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 7556 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 7557 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 7558 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 7559 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 7560 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 7561 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7563 _flag_k = FK_CMP; 7564 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 7565 L_25114AC7: 7566 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 7567 L_25114ACA: 7568 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 7569 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 7570 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 7571 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 7572 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7574 _flag_k = FK_CMP; 7575 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 7576 L_25114AD8: 7577 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 7578 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 7579 L_25114ADD: 7580 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 7581 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 7582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7584 _flag_k = FK_CMP; 7585 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 7586 L_25114AE5: 7587 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 7588 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 7589 L_25114AEA: 7590 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 7591 L_25114AEC: 7592 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 7593 L_25114AEF: 7594 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 7595 L_25114AF2: 7596 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 7597 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 7598 L_25114AF8: 7599 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 7600 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 7601 RECOMP_FLAGS_IN(); 7602 PUSH32(esp, esi); /* 0x25114B00: push esi */ 7603 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 7604 RECOMP_FLAGS_IN(); 7605 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 7606 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 7607 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7609 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 7610 _flag_k = FK_ADD; 7611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7612 eax = eax - 1; /* 0x25114B0F: dec eax */ 7613 _flag_k = FK_DEC; 7614 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 7615 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 7616 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 7617 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 7618 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 7619 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 7620 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 7621 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 7622 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 7623 RECOMP_REGS_OUT(); 7624 } 7625 7626 void sub_25114885(void) { 7627 int _fpu_cmp = 0; 7628 uint32_t _cf = 0; 7629 int _df = 1; 7630 uint32_t _flag_k = FK_NONE; 7631 uint32_t _flag_a = 0, _flag_b = 0; 7632 uint32_t _itail_tgt = 0; 7633 RECOMP_REGS_LOCALS 7634 RECOMP_ENTER(0x25114885u); 7635 7636 L_25114885: 7637 MEM32(ebx + 0x8) = edx; /* 0x25114885: mov dword ptr [ebx + 8], edx */ 7638 esi = MEM32(ebp + (-0x4)); /* 0x25114888: mov esi, dword ptr [ebp - 4] */ 7639 SET_LO8(ecx, MEM8(esi + 0x20)); /* 0x2511488B: mov cl, byte ptr [esi + 0x20] */ 7640 SET_LO8(ebx, 1); /* 0x2511488E: mov bl, 1 */ 7641 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25114890: cmp cl, bl */ 7642 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7644 _flag_k = FK_NARROW(FK_CMP, 24); 7645 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF8; /* 0x25114892: jne 0x25114af8 */ 7646 L_25114898: 7647 ecx = MEM32(edi + 0x4); /* 0x25114898: mov ecx, dword ptr [edi + 4] */ 7648 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511489B: cmp eax, dword ptr [ecx + 4] */ 7649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7651 _flag_k = FK_CMP; 7652 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114AF2; /* 0x2511489E: je 0x25114af2 */ 7653 L_251148A4: 7654 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 7655 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7657 _flag_k = FK_NARROW(FK_CMP, 24); 7658 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 7659 L_251148AD: 7660 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 7661 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 7662 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 7663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7665 _flag_k = FK_CMP; 7666 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 7667 L_251148B6: 7668 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 7669 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 7670 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 7671 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7672 _cf = 0; 7673 _flag_k = FK_NARROW(FK_TEST, 24); 7674 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 7675 L_251148C0: 7676 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 7677 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 7678 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 7679 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 7680 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 7681 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 7682 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 7683 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 7684 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 7685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7687 _flag_k = FK_CMP; 7688 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 7689 L_251148DC: 7690 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 7691 L_251148DF: 7692 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 7693 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 7694 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 7695 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 7696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7698 _flag_k = FK_CMP; 7699 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 7700 L_251148ED: 7701 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 7702 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 7703 L_251148F2: 7704 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 7705 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 7706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7708 _flag_k = FK_CMP; 7709 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 7710 L_251148F9: 7711 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 7712 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 7713 L_251148FD: 7714 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 7715 L_25114900: 7716 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 7717 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 7718 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 7719 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 7720 L_2511490B: 7721 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 7722 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 7723 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7725 _flag_k = FK_NARROW(FK_CMP, 24); 7726 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 7727 L_25114916: 7728 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 7729 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 7730 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7732 _flag_k = FK_NARROW(FK_CMP, 24); 7733 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 7734 L_25114922: 7735 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 7736 L_25114924: 7737 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 7738 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 7739 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7740 _cf = 0; 7741 _flag_k = FK_NARROW(FK_TEST, 24); 7742 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 7743 L_2511492B: 7744 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 7745 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 7746 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 7747 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 7748 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 7749 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 7750 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 7751 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 7752 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 7753 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7755 _flag_k = FK_CMP; 7756 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 7757 L_25114947: 7758 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 7759 L_2511494A: 7760 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 7761 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 7762 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 7763 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 7764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7766 _flag_k = FK_CMP; 7767 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 7768 L_25114958: 7769 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 7770 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 7771 L_2511495D: 7772 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 7773 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 7774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7776 _flag_k = FK_CMP; 7777 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 7778 L_25114965: 7779 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 7780 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 7781 L_2511496A: 7782 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 7783 L_2511496C: 7784 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 7785 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 7786 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 7787 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 7788 L_25114977: 7789 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 7790 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 7791 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7793 _flag_k = FK_NARROW(FK_CMP, 24); 7794 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 7795 L_25114983: 7796 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 7797 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 7798 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7800 _flag_k = FK_NARROW(FK_CMP, 24); 7801 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 7802 L_2511498E: 7803 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 7804 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 7805 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 7806 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 7807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7809 _flag_k = FK_CMP; 7810 RECOMP_BACKEDGE(); 7811 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 7812 L_251149A1: 7813 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 7814 L_251149A6: 7815 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 7816 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 7817 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7819 _flag_k = FK_NARROW(FK_CMP, 24); 7820 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 7821 L_251149AE: 7822 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 7823 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 7824 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 7825 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 7826 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 7827 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 7828 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 7829 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 7830 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7832 _flag_k = FK_CMP; 7833 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 7834 L_251149C6: 7835 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 7836 L_251149C9: 7837 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 7838 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 7839 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 7840 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 7841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7843 _flag_k = FK_CMP; 7844 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 7845 L_251149D7: 7846 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 7847 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 7848 L_251149DC: 7849 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 7850 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 7851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7853 _flag_k = FK_CMP; 7854 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 7855 L_251149E4: 7856 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 7857 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 7858 L_251149E9: 7859 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 7860 L_251149EB: 7861 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 7862 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 7863 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 7864 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 7865 L_251149F7: 7866 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 7867 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 7868 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 7869 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 7870 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 7871 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 7872 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 7873 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 7874 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 7875 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 7876 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 7877 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 7878 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 7879 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7881 _flag_k = FK_CMP; 7882 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 7883 L_25114A1E: 7884 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 7885 L_25114A21: 7886 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 7887 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 7888 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 7889 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 7890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7892 _flag_k = FK_CMP; 7893 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 7894 L_25114A2F: 7895 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 7896 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 7897 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 7898 L_25114A39: 7899 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 7900 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 7901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7903 _flag_k = FK_CMP; 7904 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 7905 L_25114A40: 7906 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 7907 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 7908 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 7909 L_25114A49: 7910 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 7911 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 7912 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 7913 L_25114A53: 7914 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 7915 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 7916 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7918 _flag_k = FK_NARROW(FK_CMP, 24); 7919 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 7920 L_25114A5A: 7921 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 7922 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 7923 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 7924 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 7925 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 7926 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 7927 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 7928 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 7929 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7931 _flag_k = FK_CMP; 7932 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 7933 L_25114A73: 7934 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 7935 L_25114A76: 7936 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 7937 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 7938 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 7939 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 7940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7942 _flag_k = FK_CMP; 7943 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 7944 L_25114A84: 7945 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 7946 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 7947 L_25114A89: 7948 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 7949 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 7950 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7952 _flag_k = FK_CMP; 7953 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 7954 L_25114A90: 7955 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 7956 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 7957 L_25114A94: 7958 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 7959 L_25114A97: 7960 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 7961 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 7962 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 7963 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 7964 L_25114AA1: 7965 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 7966 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 7967 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 7968 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 7969 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 7970 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 7971 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 7972 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 7973 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 7974 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 7975 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 7976 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 7977 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 7978 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7980 _flag_k = FK_CMP; 7981 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 7982 L_25114AC7: 7983 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 7984 L_25114ACA: 7985 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 7986 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 7987 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 7988 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 7989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7991 _flag_k = FK_CMP; 7992 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 7993 L_25114AD8: 7994 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 7995 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 7996 L_25114ADD: 7997 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 7998 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 7999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8001 _flag_k = FK_CMP; 8002 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 8003 L_25114AE5: 8004 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 8005 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 8006 L_25114AEA: 8007 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 8008 L_25114AEC: 8009 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 8010 L_25114AEF: 8011 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 8012 L_25114AF2: 8013 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 8014 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 8015 L_25114AF8: 8016 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 8017 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 8018 RECOMP_FLAGS_IN(); 8019 PUSH32(esp, esi); /* 0x25114B00: push esi */ 8020 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 8021 RECOMP_FLAGS_IN(); 8022 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 8023 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 8024 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8026 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 8027 _flag_k = FK_ADD; 8028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8029 eax = eax - 1; /* 0x25114B0F: dec eax */ 8030 _flag_k = FK_DEC; 8031 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 8032 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 8033 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 8034 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 8035 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 8036 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 8037 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 8038 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 8039 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 8040 RECOMP_REGS_OUT(); 8041 } 8042 8043 void sub_251148A4(void) { 8044 int _fpu_cmp = 0; 8045 uint32_t _cf = 0; 8046 int _df = 1; 8047 uint32_t _flag_k = FK_NONE; 8048 uint32_t _flag_a = 0, _flag_b = 0; 8049 uint32_t _itail_tgt = 0; 8050 RECOMP_REGS_LOCALS 8051 RECOMP_ENTER(0x251148A4u); 8052 8053 L_251148A4: 8054 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 8055 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8057 _flag_k = FK_NARROW(FK_CMP, 24); 8058 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 8059 L_251148AD: 8060 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 8061 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 8062 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 8063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8065 _flag_k = FK_CMP; 8066 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 8067 L_251148B6: 8068 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 8069 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 8070 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 8071 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8072 _cf = 0; 8073 _flag_k = FK_NARROW(FK_TEST, 24); 8074 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 8075 L_251148C0: 8076 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 8077 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 8078 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 8079 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 8080 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 8081 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 8082 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 8083 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 8084 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 8085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8087 _flag_k = FK_CMP; 8088 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 8089 L_251148DC: 8090 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 8091 L_251148DF: 8092 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 8093 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 8094 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 8095 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 8096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8098 _flag_k = FK_CMP; 8099 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 8100 L_251148ED: 8101 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 8102 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 8103 L_251148F2: 8104 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 8105 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 8106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8108 _flag_k = FK_CMP; 8109 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 8110 L_251148F9: 8111 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 8112 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 8113 L_251148FD: 8114 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 8115 L_25114900: 8116 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 8117 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 8118 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 8119 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 8120 L_2511490B: 8121 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 8122 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 8123 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8125 _flag_k = FK_NARROW(FK_CMP, 24); 8126 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 8127 L_25114916: 8128 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 8129 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 8130 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8132 _flag_k = FK_NARROW(FK_CMP, 24); 8133 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 8134 L_25114922: 8135 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 8136 L_25114924: 8137 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 8138 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 8139 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8140 _cf = 0; 8141 _flag_k = FK_NARROW(FK_TEST, 24); 8142 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 8143 L_2511492B: 8144 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 8145 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 8146 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 8147 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 8148 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 8149 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 8150 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 8151 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 8152 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 8153 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8155 _flag_k = FK_CMP; 8156 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 8157 L_25114947: 8158 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 8159 L_2511494A: 8160 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 8161 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 8162 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 8163 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 8164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8166 _flag_k = FK_CMP; 8167 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 8168 L_25114958: 8169 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 8170 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 8171 L_2511495D: 8172 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 8173 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 8174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8176 _flag_k = FK_CMP; 8177 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 8178 L_25114965: 8179 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 8180 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 8181 L_2511496A: 8182 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 8183 L_2511496C: 8184 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 8185 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 8186 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 8187 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 8188 L_25114977: 8189 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 8190 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 8191 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8193 _flag_k = FK_NARROW(FK_CMP, 24); 8194 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 8195 L_25114983: 8196 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 8197 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 8198 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8200 _flag_k = FK_NARROW(FK_CMP, 24); 8201 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 8202 L_2511498E: 8203 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 8204 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 8205 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 8206 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 8207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8209 _flag_k = FK_CMP; 8210 RECOMP_BACKEDGE(); 8211 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 8212 L_251149A1: 8213 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 8214 L_251149A6: 8215 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 8216 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 8217 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8219 _flag_k = FK_NARROW(FK_CMP, 24); 8220 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 8221 L_251149AE: 8222 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 8223 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 8224 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 8225 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 8226 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 8227 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 8228 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 8229 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 8230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8232 _flag_k = FK_CMP; 8233 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 8234 L_251149C6: 8235 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 8236 L_251149C9: 8237 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 8238 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 8239 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 8240 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 8241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8243 _flag_k = FK_CMP; 8244 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 8245 L_251149D7: 8246 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 8247 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 8248 L_251149DC: 8249 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 8250 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 8251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8253 _flag_k = FK_CMP; 8254 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 8255 L_251149E4: 8256 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 8257 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 8258 L_251149E9: 8259 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 8260 L_251149EB: 8261 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 8262 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 8263 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 8264 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 8265 L_251149F7: 8266 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 8267 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 8268 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 8269 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 8270 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 8271 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 8272 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 8273 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 8274 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 8275 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 8276 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 8277 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 8278 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 8279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8281 _flag_k = FK_CMP; 8282 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 8283 L_25114A1E: 8284 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 8285 L_25114A21: 8286 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 8287 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 8288 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 8289 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 8290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8292 _flag_k = FK_CMP; 8293 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 8294 L_25114A2F: 8295 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 8296 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 8297 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 8298 L_25114A39: 8299 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 8300 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 8301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8303 _flag_k = FK_CMP; 8304 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 8305 L_25114A40: 8306 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 8307 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 8308 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 8309 L_25114A49: 8310 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 8311 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 8312 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 8313 L_25114A53: 8314 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 8315 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 8316 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8318 _flag_k = FK_NARROW(FK_CMP, 24); 8319 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 8320 L_25114A5A: 8321 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 8322 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 8323 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 8324 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 8325 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 8326 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 8327 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 8328 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 8329 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8331 _flag_k = FK_CMP; 8332 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 8333 L_25114A73: 8334 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 8335 L_25114A76: 8336 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 8337 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 8338 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 8339 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 8340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8342 _flag_k = FK_CMP; 8343 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 8344 L_25114A84: 8345 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 8346 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 8347 L_25114A89: 8348 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 8349 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 8350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8352 _flag_k = FK_CMP; 8353 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 8354 L_25114A90: 8355 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 8356 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 8357 L_25114A94: 8358 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 8359 L_25114A97: 8360 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 8361 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 8362 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 8363 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 8364 L_25114AA1: 8365 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 8366 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 8367 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 8368 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 8369 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 8370 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 8371 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 8372 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 8373 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 8374 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 8375 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 8376 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 8377 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 8378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8380 _flag_k = FK_CMP; 8381 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 8382 L_25114AC7: 8383 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 8384 L_25114ACA: 8385 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 8386 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 8387 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 8388 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 8389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8391 _flag_k = FK_CMP; 8392 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 8393 L_25114AD8: 8394 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 8395 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 8396 L_25114ADD: 8397 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 8398 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 8399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8401 _flag_k = FK_CMP; 8402 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 8403 L_25114AE5: 8404 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 8405 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 8406 L_25114AEA: 8407 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 8408 L_25114AEC: 8409 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 8410 L_25114AEF: 8411 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 8412 L_25114AF2: 8413 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 8414 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 8415 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 8416 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 8417 RECOMP_FLAGS_IN(); 8418 PUSH32(esp, esi); /* 0x25114B00: push esi */ 8419 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 8420 RECOMP_FLAGS_IN(); 8421 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 8422 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 8423 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8425 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 8426 _flag_k = FK_ADD; 8427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8428 eax = eax - 1; /* 0x25114B0F: dec eax */ 8429 _flag_k = FK_DEC; 8430 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 8431 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 8432 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 8433 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 8434 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 8435 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 8436 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 8437 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 8438 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 8439 RECOMP_REGS_OUT(); 8440 } 8441 8442 void sub_25114900(void) { 8443 int _fpu_cmp = 0; 8444 uint32_t _cf = 0; 8445 int _df = 1; 8446 uint32_t _flag_k = FK_NONE; 8447 uint32_t _flag_a = 0, _flag_b = 0; 8448 uint32_t _itail_tgt = 0; 8449 RECOMP_REGS_LOCALS 8450 RECOMP_ENTER(0x25114900u); 8451 8452 goto L_25114900; 8453 L_251148A4: 8454 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 8455 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8457 _flag_k = FK_NARROW(FK_CMP, 24); 8458 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 8459 L_251148AD: 8460 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 8461 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 8462 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 8463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8465 _flag_k = FK_CMP; 8466 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 8467 L_251148B6: 8468 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 8469 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 8470 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 8471 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8472 _cf = 0; 8473 _flag_k = FK_NARROW(FK_TEST, 24); 8474 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 8475 L_251148C0: 8476 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 8477 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 8478 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 8479 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 8480 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 8481 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 8482 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 8483 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 8484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 8485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8487 _flag_k = FK_CMP; 8488 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 8489 L_251148DC: 8490 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 8491 L_251148DF: 8492 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 8493 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 8494 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 8495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 8496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8498 _flag_k = FK_CMP; 8499 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 8500 L_251148ED: 8501 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 8502 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 8503 L_251148F2: 8504 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 8505 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 8506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8508 _flag_k = FK_CMP; 8509 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 8510 L_251148F9: 8511 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 8512 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 8513 L_251148FD: 8514 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 8515 L_25114900: 8516 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 8517 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 8518 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 8519 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 8520 L_2511490B: 8521 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 8522 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 8523 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8525 _flag_k = FK_NARROW(FK_CMP, 24); 8526 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 8527 L_25114916: 8528 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 8529 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 8530 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8532 _flag_k = FK_NARROW(FK_CMP, 24); 8533 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 8534 L_25114922: 8535 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 8536 L_25114924: 8537 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 8538 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 8539 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8540 _cf = 0; 8541 _flag_k = FK_NARROW(FK_TEST, 24); 8542 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 8543 L_2511492B: 8544 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 8545 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 8546 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 8547 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 8548 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 8549 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 8550 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 8551 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 8552 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 8553 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8555 _flag_k = FK_CMP; 8556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 8557 L_25114947: 8558 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 8559 L_2511494A: 8560 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 8561 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 8562 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 8563 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 8564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8566 _flag_k = FK_CMP; 8567 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 8568 L_25114958: 8569 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 8570 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 8571 L_2511495D: 8572 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 8573 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 8574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8576 _flag_k = FK_CMP; 8577 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 8578 L_25114965: 8579 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 8580 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 8581 L_2511496A: 8582 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 8583 L_2511496C: 8584 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 8585 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 8586 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 8587 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 8588 L_25114977: 8589 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 8590 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 8591 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8593 _flag_k = FK_NARROW(FK_CMP, 24); 8594 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 8595 L_25114983: 8596 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 8597 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 8598 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8600 _flag_k = FK_NARROW(FK_CMP, 24); 8601 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 8602 L_2511498E: 8603 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 8604 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 8605 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 8606 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 8607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8609 _flag_k = FK_CMP; 8610 RECOMP_BACKEDGE(); 8611 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 8612 L_251149A1: 8613 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 8614 L_251149A6: 8615 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 8616 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 8617 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8619 _flag_k = FK_NARROW(FK_CMP, 24); 8620 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 8621 L_251149AE: 8622 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 8623 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 8624 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 8625 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 8626 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 8627 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 8628 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 8629 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 8630 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8632 _flag_k = FK_CMP; 8633 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 8634 L_251149C6: 8635 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 8636 L_251149C9: 8637 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 8638 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 8639 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 8640 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 8641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8643 _flag_k = FK_CMP; 8644 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 8645 L_251149D7: 8646 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 8647 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 8648 L_251149DC: 8649 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 8650 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 8651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8653 _flag_k = FK_CMP; 8654 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 8655 L_251149E4: 8656 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 8657 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 8658 L_251149E9: 8659 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 8660 L_251149EB: 8661 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 8662 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 8663 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 8664 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 8665 L_251149F7: 8666 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 8667 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 8668 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 8669 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 8670 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 8671 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 8672 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 8673 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 8674 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 8675 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 8676 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 8677 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 8678 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 8679 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8681 _flag_k = FK_CMP; 8682 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 8683 L_25114A1E: 8684 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 8685 L_25114A21: 8686 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 8687 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 8688 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 8689 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 8690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8692 _flag_k = FK_CMP; 8693 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 8694 L_25114A2F: 8695 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 8696 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 8697 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 8698 L_25114A39: 8699 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 8700 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 8701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8703 _flag_k = FK_CMP; 8704 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 8705 L_25114A40: 8706 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 8707 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 8708 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 8709 L_25114A49: 8710 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 8711 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 8712 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 8713 L_25114A53: 8714 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 8715 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 8716 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8718 _flag_k = FK_NARROW(FK_CMP, 24); 8719 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 8720 L_25114A5A: 8721 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 8722 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 8723 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 8724 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 8725 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 8726 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 8727 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 8728 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 8729 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8731 _flag_k = FK_CMP; 8732 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 8733 L_25114A73: 8734 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 8735 L_25114A76: 8736 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 8737 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 8738 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 8739 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 8740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8742 _flag_k = FK_CMP; 8743 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 8744 L_25114A84: 8745 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 8746 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 8747 L_25114A89: 8748 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 8749 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 8750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8752 _flag_k = FK_CMP; 8753 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 8754 L_25114A90: 8755 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 8756 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 8757 L_25114A94: 8758 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 8759 L_25114A97: 8760 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 8761 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 8762 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 8763 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 8764 L_25114AA1: 8765 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 8766 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 8767 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 8768 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 8769 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 8770 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 8771 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 8772 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 8773 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 8774 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 8775 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 8776 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 8777 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 8778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8780 _flag_k = FK_CMP; 8781 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 8782 L_25114AC7: 8783 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 8784 L_25114ACA: 8785 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 8786 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 8787 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 8788 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 8789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8791 _flag_k = FK_CMP; 8792 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 8793 L_25114AD8: 8794 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 8795 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 8796 L_25114ADD: 8797 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 8798 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 8799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8801 _flag_k = FK_CMP; 8802 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 8803 L_25114AE5: 8804 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 8805 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 8806 L_25114AEA: 8807 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 8808 L_25114AEC: 8809 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 8810 L_25114AEF: 8811 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 8812 L_25114AF2: 8813 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 8814 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 8815 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 8816 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 8817 RECOMP_FLAGS_IN(); 8818 PUSH32(esp, esi); /* 0x25114B00: push esi */ 8819 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 8820 RECOMP_FLAGS_IN(); 8821 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 8822 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 8823 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8825 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 8826 _flag_k = FK_ADD; 8827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8828 eax = eax - 1; /* 0x25114B0F: dec eax */ 8829 _flag_k = FK_DEC; 8830 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 8831 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 8832 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 8833 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 8834 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 8835 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 8836 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 8837 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 8838 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 8839 RECOMP_REGS_OUT(); 8840 } 8841 8842 void sub_2511490B(void) { 8843 int _fpu_cmp = 0; 8844 uint32_t _cf = 0; 8845 int _df = 1; 8846 uint32_t _flag_k = FK_NONE; 8847 uint32_t _flag_a = 0, _flag_b = 0; 8848 uint32_t _itail_tgt = 0; 8849 RECOMP_REGS_LOCALS 8850 RECOMP_ENTER(0x2511490Bu); 8851 8852 goto L_2511490B; 8853 L_251148A4: 8854 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 8855 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8857 _flag_k = FK_NARROW(FK_CMP, 24); 8858 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 8859 L_251148AD: 8860 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 8861 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 8862 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 8863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8865 _flag_k = FK_CMP; 8866 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 8867 L_251148B6: 8868 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 8869 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 8870 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 8871 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8872 _cf = 0; 8873 _flag_k = FK_NARROW(FK_TEST, 24); 8874 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 8875 L_251148C0: 8876 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 8877 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 8878 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 8879 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 8880 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 8881 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 8882 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 8883 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 8884 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 8885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8887 _flag_k = FK_CMP; 8888 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 8889 L_251148DC: 8890 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 8891 L_251148DF: 8892 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 8893 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 8894 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 8895 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 8896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8898 _flag_k = FK_CMP; 8899 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 8900 L_251148ED: 8901 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 8902 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 8903 L_251148F2: 8904 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 8905 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 8906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8908 _flag_k = FK_CMP; 8909 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 8910 L_251148F9: 8911 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 8912 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 8913 L_251148FD: 8914 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 8915 L_25114900: 8916 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 8917 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 8918 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 8919 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 8920 L_2511490B: 8921 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 8922 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 8923 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8925 _flag_k = FK_NARROW(FK_CMP, 24); 8926 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 8927 L_25114916: 8928 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 8929 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 8930 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8932 _flag_k = FK_NARROW(FK_CMP, 24); 8933 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 8934 L_25114922: 8935 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 8936 L_25114924: 8937 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 8938 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 8939 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8940 _cf = 0; 8941 _flag_k = FK_NARROW(FK_TEST, 24); 8942 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 8943 L_2511492B: 8944 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 8945 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 8946 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 8947 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 8948 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 8949 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 8950 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 8951 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 8952 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 8953 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8955 _flag_k = FK_CMP; 8956 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 8957 L_25114947: 8958 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 8959 L_2511494A: 8960 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 8961 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 8962 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 8963 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 8964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8966 _flag_k = FK_CMP; 8967 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 8968 L_25114958: 8969 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 8970 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 8971 L_2511495D: 8972 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 8973 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 8974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8976 _flag_k = FK_CMP; 8977 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 8978 L_25114965: 8979 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 8980 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 8981 L_2511496A: 8982 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 8983 L_2511496C: 8984 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 8985 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 8986 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 8987 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 8988 L_25114977: 8989 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 8990 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 8991 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8993 _flag_k = FK_NARROW(FK_CMP, 24); 8994 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 8995 L_25114983: 8996 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 8997 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 8998 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9000 _flag_k = FK_NARROW(FK_CMP, 24); 9001 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 9002 L_2511498E: 9003 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 9004 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 9005 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 9006 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 9007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9009 _flag_k = FK_CMP; 9010 RECOMP_BACKEDGE(); 9011 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 9012 L_251149A1: 9013 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 9014 L_251149A6: 9015 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 9016 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 9017 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9019 _flag_k = FK_NARROW(FK_CMP, 24); 9020 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 9021 L_251149AE: 9022 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 9023 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 9024 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 9025 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 9026 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 9027 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 9028 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 9029 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 9030 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9032 _flag_k = FK_CMP; 9033 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 9034 L_251149C6: 9035 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 9036 L_251149C9: 9037 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 9038 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 9039 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 9040 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 9041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9043 _flag_k = FK_CMP; 9044 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 9045 L_251149D7: 9046 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 9047 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 9048 L_251149DC: 9049 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 9050 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 9051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9053 _flag_k = FK_CMP; 9054 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 9055 L_251149E4: 9056 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 9057 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 9058 L_251149E9: 9059 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 9060 L_251149EB: 9061 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 9062 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 9063 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 9064 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 9065 L_251149F7: 9066 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 9067 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 9068 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 9069 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 9070 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 9071 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 9072 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 9073 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 9074 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 9075 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 9076 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 9077 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 9078 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 9079 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9081 _flag_k = FK_CMP; 9082 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 9083 L_25114A1E: 9084 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 9085 L_25114A21: 9086 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 9087 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 9088 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 9089 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 9090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9092 _flag_k = FK_CMP; 9093 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 9094 L_25114A2F: 9095 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 9096 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 9097 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 9098 L_25114A39: 9099 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 9100 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 9101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9103 _flag_k = FK_CMP; 9104 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 9105 L_25114A40: 9106 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 9107 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 9108 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 9109 L_25114A49: 9110 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 9111 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 9112 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 9113 L_25114A53: 9114 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 9115 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 9116 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9118 _flag_k = FK_NARROW(FK_CMP, 24); 9119 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 9120 L_25114A5A: 9121 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 9122 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 9123 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 9124 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 9125 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 9126 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 9127 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 9128 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 9129 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9131 _flag_k = FK_CMP; 9132 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 9133 L_25114A73: 9134 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 9135 L_25114A76: 9136 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 9137 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 9138 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 9139 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 9140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9142 _flag_k = FK_CMP; 9143 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 9144 L_25114A84: 9145 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 9146 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 9147 L_25114A89: 9148 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 9149 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 9150 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9152 _flag_k = FK_CMP; 9153 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 9154 L_25114A90: 9155 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 9156 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 9157 L_25114A94: 9158 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 9159 L_25114A97: 9160 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 9161 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 9162 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 9163 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 9164 L_25114AA1: 9165 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 9166 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 9167 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 9168 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 9169 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 9170 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 9171 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 9172 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 9173 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 9174 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 9175 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 9176 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 9177 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 9178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9180 _flag_k = FK_CMP; 9181 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 9182 L_25114AC7: 9183 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 9184 L_25114ACA: 9185 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 9186 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 9187 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 9188 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 9189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9191 _flag_k = FK_CMP; 9192 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 9193 L_25114AD8: 9194 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 9195 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 9196 L_25114ADD: 9197 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 9198 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 9199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9201 _flag_k = FK_CMP; 9202 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 9203 L_25114AE5: 9204 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 9205 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 9206 L_25114AEA: 9207 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 9208 L_25114AEC: 9209 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 9210 L_25114AEF: 9211 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 9212 L_25114AF2: 9213 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 9214 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 9215 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 9216 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 9217 RECOMP_FLAGS_IN(); 9218 PUSH32(esp, esi); /* 0x25114B00: push esi */ 9219 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 9220 RECOMP_FLAGS_IN(); 9221 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 9222 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 9223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9225 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 9226 _flag_k = FK_ADD; 9227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9228 eax = eax - 1; /* 0x25114B0F: dec eax */ 9229 _flag_k = FK_DEC; 9230 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 9231 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 9232 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 9233 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 9234 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 9235 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 9236 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 9237 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 9238 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 9239 RECOMP_REGS_OUT(); 9240 } 9241 9242 void sub_25114924(void) { 9243 int _fpu_cmp = 0; 9244 uint32_t _cf = 0; 9245 int _df = 1; 9246 uint32_t _flag_k = FK_NONE; 9247 uint32_t _flag_a = 0, _flag_b = 0; 9248 uint32_t _itail_tgt = 0; 9249 RECOMP_REGS_LOCALS 9250 RECOMP_ENTER(0x25114924u); 9251 9252 goto L_25114924; 9253 L_251148A4: 9254 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 9255 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9257 _flag_k = FK_NARROW(FK_CMP, 24); 9258 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 9259 L_251148AD: 9260 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 9261 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 9262 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 9263 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9265 _flag_k = FK_CMP; 9266 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 9267 L_251148B6: 9268 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 9269 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 9270 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 9271 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9272 _cf = 0; 9273 _flag_k = FK_NARROW(FK_TEST, 24); 9274 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 9275 L_251148C0: 9276 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 9277 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 9278 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 9279 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 9280 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 9281 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 9282 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 9283 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 9284 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 9285 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9287 _flag_k = FK_CMP; 9288 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 9289 L_251148DC: 9290 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 9291 L_251148DF: 9292 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 9293 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 9294 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 9295 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 9296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9298 _flag_k = FK_CMP; 9299 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 9300 L_251148ED: 9301 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 9302 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 9303 L_251148F2: 9304 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 9305 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 9306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9308 _flag_k = FK_CMP; 9309 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 9310 L_251148F9: 9311 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 9312 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 9313 L_251148FD: 9314 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 9315 L_25114900: 9316 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 9317 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 9318 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 9319 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 9320 L_2511490B: 9321 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 9322 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 9323 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9325 _flag_k = FK_NARROW(FK_CMP, 24); 9326 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 9327 L_25114916: 9328 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 9329 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 9330 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9332 _flag_k = FK_NARROW(FK_CMP, 24); 9333 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 9334 L_25114922: 9335 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 9336 L_25114924: 9337 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 9338 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 9339 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9340 _cf = 0; 9341 _flag_k = FK_NARROW(FK_TEST, 24); 9342 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 9343 L_2511492B: 9344 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 9345 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 9346 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 9347 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 9348 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 9349 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 9350 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 9351 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 9352 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 9353 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9355 _flag_k = FK_CMP; 9356 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 9357 L_25114947: 9358 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 9359 L_2511494A: 9360 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 9361 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 9362 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 9363 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 9364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9366 _flag_k = FK_CMP; 9367 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 9368 L_25114958: 9369 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 9370 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 9371 L_2511495D: 9372 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 9373 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 9374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9376 _flag_k = FK_CMP; 9377 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 9378 L_25114965: 9379 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 9380 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 9381 L_2511496A: 9382 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 9383 L_2511496C: 9384 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 9385 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 9386 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 9387 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 9388 L_25114977: 9389 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 9390 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 9391 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9393 _flag_k = FK_NARROW(FK_CMP, 24); 9394 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 9395 L_25114983: 9396 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 9397 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 9398 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9400 _flag_k = FK_NARROW(FK_CMP, 24); 9401 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 9402 L_2511498E: 9403 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 9404 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 9405 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 9406 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 9407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9409 _flag_k = FK_CMP; 9410 RECOMP_BACKEDGE(); 9411 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 9412 L_251149A1: 9413 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 9414 L_251149A6: 9415 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 9416 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 9417 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9419 _flag_k = FK_NARROW(FK_CMP, 24); 9420 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 9421 L_251149AE: 9422 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 9423 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 9424 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 9425 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 9426 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 9427 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 9428 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 9429 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 9430 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9432 _flag_k = FK_CMP; 9433 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 9434 L_251149C6: 9435 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 9436 L_251149C9: 9437 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 9438 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 9439 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 9440 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 9441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9443 _flag_k = FK_CMP; 9444 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 9445 L_251149D7: 9446 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 9447 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 9448 L_251149DC: 9449 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 9450 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 9451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9453 _flag_k = FK_CMP; 9454 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 9455 L_251149E4: 9456 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 9457 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 9458 L_251149E9: 9459 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 9460 L_251149EB: 9461 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 9462 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 9463 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 9464 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 9465 L_251149F7: 9466 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 9467 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 9468 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 9469 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 9470 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 9471 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 9472 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 9473 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 9474 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 9475 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 9476 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 9477 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 9478 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 9479 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9481 _flag_k = FK_CMP; 9482 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 9483 L_25114A1E: 9484 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 9485 L_25114A21: 9486 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 9487 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 9488 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 9489 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 9490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9492 _flag_k = FK_CMP; 9493 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 9494 L_25114A2F: 9495 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 9496 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 9497 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 9498 L_25114A39: 9499 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 9500 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 9501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9503 _flag_k = FK_CMP; 9504 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 9505 L_25114A40: 9506 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 9507 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 9508 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 9509 L_25114A49: 9510 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 9511 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 9512 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 9513 L_25114A53: 9514 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 9515 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 9516 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9518 _flag_k = FK_NARROW(FK_CMP, 24); 9519 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 9520 L_25114A5A: 9521 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 9522 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 9523 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 9524 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 9525 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 9526 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 9527 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 9528 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 9529 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9531 _flag_k = FK_CMP; 9532 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 9533 L_25114A73: 9534 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 9535 L_25114A76: 9536 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 9537 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 9538 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 9539 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 9540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9542 _flag_k = FK_CMP; 9543 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 9544 L_25114A84: 9545 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 9546 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 9547 L_25114A89: 9548 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 9549 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 9550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9552 _flag_k = FK_CMP; 9553 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 9554 L_25114A90: 9555 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 9556 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 9557 L_25114A94: 9558 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 9559 L_25114A97: 9560 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 9561 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 9562 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 9563 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 9564 L_25114AA1: 9565 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 9566 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 9567 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 9568 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 9569 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 9570 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 9571 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 9572 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 9573 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 9574 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 9575 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 9576 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 9577 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 9578 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9580 _flag_k = FK_CMP; 9581 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 9582 L_25114AC7: 9583 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 9584 L_25114ACA: 9585 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 9586 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 9587 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 9588 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 9589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9591 _flag_k = FK_CMP; 9592 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 9593 L_25114AD8: 9594 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 9595 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 9596 L_25114ADD: 9597 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 9598 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 9599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9601 _flag_k = FK_CMP; 9602 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 9603 L_25114AE5: 9604 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 9605 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 9606 L_25114AEA: 9607 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 9608 L_25114AEC: 9609 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 9610 L_25114AEF: 9611 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 9612 L_25114AF2: 9613 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 9614 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 9615 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 9616 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 9617 RECOMP_FLAGS_IN(); 9618 PUSH32(esp, esi); /* 0x25114B00: push esi */ 9619 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 9620 RECOMP_FLAGS_IN(); 9621 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 9622 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 9623 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9625 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 9626 _flag_k = FK_ADD; 9627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9628 eax = eax - 1; /* 0x25114B0F: dec eax */ 9629 _flag_k = FK_DEC; 9630 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 9631 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 9632 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 9633 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 9634 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 9635 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 9636 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 9637 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 9638 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 9639 RECOMP_REGS_OUT(); 9640 } 9641 9642 void sub_2511496C(void) { 9643 int _fpu_cmp = 0; 9644 uint32_t _cf = 0; 9645 int _df = 1; 9646 uint32_t _flag_k = FK_NONE; 9647 uint32_t _flag_a = 0, _flag_b = 0; 9648 uint32_t _itail_tgt = 0; 9649 RECOMP_REGS_LOCALS 9650 RECOMP_ENTER(0x2511496Cu); 9651 9652 goto L_2511496C; 9653 L_251148A4: 9654 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 9655 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9657 _flag_k = FK_NARROW(FK_CMP, 24); 9658 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 9659 L_251148AD: 9660 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 9661 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 9662 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 9663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9665 _flag_k = FK_CMP; 9666 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 9667 L_251148B6: 9668 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 9669 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 9670 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 9671 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9672 _cf = 0; 9673 _flag_k = FK_NARROW(FK_TEST, 24); 9674 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 9675 L_251148C0: 9676 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 9677 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 9678 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 9679 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 9680 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 9681 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 9682 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 9683 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 9684 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 9685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9687 _flag_k = FK_CMP; 9688 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 9689 L_251148DC: 9690 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 9691 L_251148DF: 9692 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 9693 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 9694 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 9695 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 9696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9698 _flag_k = FK_CMP; 9699 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 9700 L_251148ED: 9701 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 9702 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 9703 L_251148F2: 9704 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 9705 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 9706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9708 _flag_k = FK_CMP; 9709 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 9710 L_251148F9: 9711 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 9712 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 9713 L_251148FD: 9714 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 9715 L_25114900: 9716 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 9717 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 9718 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 9719 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 9720 L_2511490B: 9721 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 9722 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 9723 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9725 _flag_k = FK_NARROW(FK_CMP, 24); 9726 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 9727 L_25114916: 9728 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 9729 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 9730 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9732 _flag_k = FK_NARROW(FK_CMP, 24); 9733 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 9734 L_25114922: 9735 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 9736 L_25114924: 9737 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 9738 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 9739 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9740 _cf = 0; 9741 _flag_k = FK_NARROW(FK_TEST, 24); 9742 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 9743 L_2511492B: 9744 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 9745 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 9746 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 9747 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 9748 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 9749 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 9750 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 9751 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 9752 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 9753 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9755 _flag_k = FK_CMP; 9756 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 9757 L_25114947: 9758 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 9759 L_2511494A: 9760 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 9761 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 9762 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 9763 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 9764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9766 _flag_k = FK_CMP; 9767 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 9768 L_25114958: 9769 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 9770 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 9771 L_2511495D: 9772 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 9773 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 9774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9776 _flag_k = FK_CMP; 9777 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 9778 L_25114965: 9779 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 9780 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 9781 L_2511496A: 9782 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 9783 L_2511496C: 9784 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 9785 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 9786 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 9787 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 9788 L_25114977: 9789 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 9790 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 9791 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9793 _flag_k = FK_NARROW(FK_CMP, 24); 9794 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 9795 L_25114983: 9796 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 9797 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 9798 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9800 _flag_k = FK_NARROW(FK_CMP, 24); 9801 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 9802 L_2511498E: 9803 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 9804 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 9805 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 9806 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 9807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9809 _flag_k = FK_CMP; 9810 RECOMP_BACKEDGE(); 9811 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 9812 L_251149A1: 9813 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 9814 L_251149A6: 9815 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 9816 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 9817 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9819 _flag_k = FK_NARROW(FK_CMP, 24); 9820 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 9821 L_251149AE: 9822 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 9823 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 9824 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 9825 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 9826 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 9827 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 9828 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 9829 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 9830 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9832 _flag_k = FK_CMP; 9833 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 9834 L_251149C6: 9835 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 9836 L_251149C9: 9837 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 9838 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 9839 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 9840 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 9841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9843 _flag_k = FK_CMP; 9844 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 9845 L_251149D7: 9846 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 9847 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 9848 L_251149DC: 9849 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 9850 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 9851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9853 _flag_k = FK_CMP; 9854 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 9855 L_251149E4: 9856 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 9857 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 9858 L_251149E9: 9859 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 9860 L_251149EB: 9861 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 9862 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 9863 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 9864 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 9865 L_251149F7: 9866 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 9867 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 9868 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 9869 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 9870 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 9871 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 9872 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 9873 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 9874 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 9875 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 9876 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 9877 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 9878 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 9879 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9881 _flag_k = FK_CMP; 9882 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 9883 L_25114A1E: 9884 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 9885 L_25114A21: 9886 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 9887 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 9888 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 9889 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 9890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9892 _flag_k = FK_CMP; 9893 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 9894 L_25114A2F: 9895 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 9896 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 9897 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 9898 L_25114A39: 9899 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 9900 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 9901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9903 _flag_k = FK_CMP; 9904 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 9905 L_25114A40: 9906 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 9907 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 9908 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 9909 L_25114A49: 9910 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 9911 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 9912 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 9913 L_25114A53: 9914 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 9915 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 9916 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9918 _flag_k = FK_NARROW(FK_CMP, 24); 9919 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 9920 L_25114A5A: 9921 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 9922 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 9923 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 9924 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 9925 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 9926 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 9927 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 9928 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 9929 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9931 _flag_k = FK_CMP; 9932 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 9933 L_25114A73: 9934 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 9935 L_25114A76: 9936 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 9937 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 9938 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 9939 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 9940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9942 _flag_k = FK_CMP; 9943 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 9944 L_25114A84: 9945 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 9946 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 9947 L_25114A89: 9948 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 9949 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 9950 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9952 _flag_k = FK_CMP; 9953 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 9954 L_25114A90: 9955 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 9956 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 9957 L_25114A94: 9958 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 9959 L_25114A97: 9960 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 9961 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 9962 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 9963 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 9964 L_25114AA1: 9965 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 9966 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 9967 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 9968 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 9969 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 9970 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 9971 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 9972 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 9973 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 9974 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 9975 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 9976 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 9977 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 9978 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9980 _flag_k = FK_CMP; 9981 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 9982 L_25114AC7: 9983 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 9984 L_25114ACA: 9985 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 9986 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 9987 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 9988 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 9989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9991 _flag_k = FK_CMP; 9992 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 9993 L_25114AD8: 9994 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 9995 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 9996 L_25114ADD: 9997 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 9998 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 9999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10001 _flag_k = FK_CMP; 10002 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 10003 L_25114AE5: 10004 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 10005 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 10006 L_25114AEA: 10007 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 10008 L_25114AEC: 10009 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 10010 L_25114AEF: 10011 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 10012 L_25114AF2: 10013 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 10014 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 10015 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 10016 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 10017 RECOMP_FLAGS_IN(); 10018 PUSH32(esp, esi); /* 0x25114B00: push esi */ 10019 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 10020 RECOMP_FLAGS_IN(); 10021 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 10022 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 10023 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10024 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10025 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 10026 _flag_k = FK_ADD; 10027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10028 eax = eax - 1; /* 0x25114B0F: dec eax */ 10029 _flag_k = FK_DEC; 10030 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 10031 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 10032 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 10033 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 10034 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 10035 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 10036 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 10037 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 10038 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 10039 RECOMP_REGS_OUT(); 10040 } 10041 10042 void sub_25114977(void) { 10043 int _fpu_cmp = 0; 10044 uint32_t _cf = 0; 10045 int _df = 1; 10046 uint32_t _flag_k = FK_NONE; 10047 uint32_t _flag_a = 0, _flag_b = 0; 10048 uint32_t _itail_tgt = 0; 10049 RECOMP_REGS_LOCALS 10050 RECOMP_ENTER(0x25114977u); 10051 10052 goto L_25114977; 10053 L_251148A4: 10054 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 10055 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10057 _flag_k = FK_NARROW(FK_CMP, 24); 10058 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 10059 L_251148AD: 10060 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 10061 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 10062 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 10063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10065 _flag_k = FK_CMP; 10066 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 10067 L_251148B6: 10068 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 10069 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 10070 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 10071 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10072 _cf = 0; 10073 _flag_k = FK_NARROW(FK_TEST, 24); 10074 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 10075 L_251148C0: 10076 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 10077 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 10078 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 10079 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 10080 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 10081 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 10082 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 10083 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 10084 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 10085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10087 _flag_k = FK_CMP; 10088 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 10089 L_251148DC: 10090 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 10091 L_251148DF: 10092 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 10093 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 10094 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 10095 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 10096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10098 _flag_k = FK_CMP; 10099 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 10100 L_251148ED: 10101 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 10102 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 10103 L_251148F2: 10104 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 10105 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 10106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10108 _flag_k = FK_CMP; 10109 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 10110 L_251148F9: 10111 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 10112 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 10113 L_251148FD: 10114 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 10115 L_25114900: 10116 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 10117 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 10118 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 10119 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 10120 L_2511490B: 10121 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 10122 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 10123 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10125 _flag_k = FK_NARROW(FK_CMP, 24); 10126 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 10127 L_25114916: 10128 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 10129 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 10130 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10132 _flag_k = FK_NARROW(FK_CMP, 24); 10133 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 10134 L_25114922: 10135 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 10136 L_25114924: 10137 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 10138 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 10139 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10140 _cf = 0; 10141 _flag_k = FK_NARROW(FK_TEST, 24); 10142 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 10143 L_2511492B: 10144 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 10145 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 10146 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 10147 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 10148 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 10149 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 10150 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 10151 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 10152 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 10153 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10155 _flag_k = FK_CMP; 10156 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 10157 L_25114947: 10158 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 10159 L_2511494A: 10160 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 10161 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 10162 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 10163 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 10164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10166 _flag_k = FK_CMP; 10167 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 10168 L_25114958: 10169 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 10170 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 10171 L_2511495D: 10172 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 10173 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 10174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10176 _flag_k = FK_CMP; 10177 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 10178 L_25114965: 10179 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 10180 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 10181 L_2511496A: 10182 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 10183 L_2511496C: 10184 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 10185 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 10186 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 10187 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 10188 L_25114977: 10189 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 10190 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 10191 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10193 _flag_k = FK_NARROW(FK_CMP, 24); 10194 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 10195 L_25114983: 10196 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 10197 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 10198 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10200 _flag_k = FK_NARROW(FK_CMP, 24); 10201 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 10202 L_2511498E: 10203 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 10204 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 10205 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 10206 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 10207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10209 _flag_k = FK_CMP; 10210 RECOMP_BACKEDGE(); 10211 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 10212 L_251149A1: 10213 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 10214 L_251149A6: 10215 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 10216 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 10217 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10219 _flag_k = FK_NARROW(FK_CMP, 24); 10220 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 10221 L_251149AE: 10222 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 10223 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 10224 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 10225 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 10226 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 10227 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 10228 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 10229 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 10230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10232 _flag_k = FK_CMP; 10233 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 10234 L_251149C6: 10235 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 10236 L_251149C9: 10237 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 10238 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 10239 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 10240 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 10241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10243 _flag_k = FK_CMP; 10244 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 10245 L_251149D7: 10246 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 10247 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 10248 L_251149DC: 10249 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 10250 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 10251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10253 _flag_k = FK_CMP; 10254 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 10255 L_251149E4: 10256 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 10257 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 10258 L_251149E9: 10259 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 10260 L_251149EB: 10261 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 10262 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 10263 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 10264 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 10265 L_251149F7: 10266 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 10267 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 10268 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 10269 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 10270 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 10271 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 10272 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 10273 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 10274 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 10275 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 10276 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 10277 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 10278 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 10279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10281 _flag_k = FK_CMP; 10282 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 10283 L_25114A1E: 10284 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 10285 L_25114A21: 10286 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 10287 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 10288 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 10289 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 10290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10292 _flag_k = FK_CMP; 10293 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 10294 L_25114A2F: 10295 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 10296 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 10297 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 10298 L_25114A39: 10299 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 10300 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 10301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10303 _flag_k = FK_CMP; 10304 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 10305 L_25114A40: 10306 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 10307 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 10308 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 10309 L_25114A49: 10310 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 10311 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 10312 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 10313 L_25114A53: 10314 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 10315 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 10316 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10318 _flag_k = FK_NARROW(FK_CMP, 24); 10319 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 10320 L_25114A5A: 10321 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 10322 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 10323 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 10324 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 10325 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 10326 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 10327 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 10328 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 10329 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10331 _flag_k = FK_CMP; 10332 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 10333 L_25114A73: 10334 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 10335 L_25114A76: 10336 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 10337 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 10338 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 10339 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 10340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10342 _flag_k = FK_CMP; 10343 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 10344 L_25114A84: 10345 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 10346 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 10347 L_25114A89: 10348 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 10349 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 10350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10352 _flag_k = FK_CMP; 10353 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 10354 L_25114A90: 10355 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 10356 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 10357 L_25114A94: 10358 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 10359 L_25114A97: 10360 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 10361 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 10362 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 10363 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 10364 L_25114AA1: 10365 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 10366 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 10367 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 10368 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 10369 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 10370 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 10371 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 10372 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 10373 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 10374 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 10375 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 10376 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 10377 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 10378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10380 _flag_k = FK_CMP; 10381 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 10382 L_25114AC7: 10383 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 10384 L_25114ACA: 10385 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 10386 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 10387 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 10388 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 10389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10391 _flag_k = FK_CMP; 10392 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 10393 L_25114AD8: 10394 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 10395 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 10396 L_25114ADD: 10397 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 10398 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 10399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10401 _flag_k = FK_CMP; 10402 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 10403 L_25114AE5: 10404 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 10405 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 10406 L_25114AEA: 10407 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 10408 L_25114AEC: 10409 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 10410 L_25114AEF: 10411 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 10412 L_25114AF2: 10413 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 10414 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 10415 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 10416 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 10417 RECOMP_FLAGS_IN(); 10418 PUSH32(esp, esi); /* 0x25114B00: push esi */ 10419 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 10420 RECOMP_FLAGS_IN(); 10421 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 10422 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 10423 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10425 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 10426 _flag_k = FK_ADD; 10427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10428 eax = eax - 1; /* 0x25114B0F: dec eax */ 10429 _flag_k = FK_DEC; 10430 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 10431 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 10432 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 10433 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 10434 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 10435 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 10436 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 10437 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 10438 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 10439 RECOMP_REGS_OUT(); 10440 } 10441 10442 void sub_2511498E(void) { 10443 int _fpu_cmp = 0; 10444 uint32_t _cf = 0; 10445 int _df = 1; 10446 uint32_t _flag_k = FK_NONE; 10447 uint32_t _flag_a = 0, _flag_b = 0; 10448 uint32_t _itail_tgt = 0; 10449 RECOMP_REGS_LOCALS 10450 RECOMP_ENTER(0x2511498Eu); 10451 10452 goto L_2511498E; 10453 L_251148A4: 10454 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x251148A4: cmp byte ptr [eax + 0x20], bl */ 10455 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10457 _flag_k = FK_NARROW(FK_CMP, 24); 10458 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AF2; /* 0x251148A7: jne 0x25114af2 */ 10459 L_251148AD: 10460 edx = MEM32(eax + 0x4); /* 0x251148AD: mov edx, dword ptr [eax + 4] */ 10461 ecx = MEM32(edx); /* 0x251148B0: mov ecx, dword ptr [edx] */ 10462 /* cmp eax, ecx */ /* 0x251148B2: cmp eax, ecx */ 10463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10465 _flag_k = FK_CMP; 10466 if (CMP_NE(_flag_a, _flag_b)) goto L_25114924; /* 0x251148B4: jne 0x25114924 */ 10467 L_251148B6: 10468 ecx = MEM32(edx + 0x8); /* 0x251148B6: mov ecx, dword ptr [edx + 8] */ 10469 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x251148B9: mov dl, byte ptr [ecx + 0x20] */ 10470 /* test LO8(edx), LO8(edx) */ /* 0x251148BC: test dl, dl */ 10471 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10472 _cf = 0; 10473 _flag_k = FK_NARROW(FK_TEST, 24); 10474 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511490B; /* 0x251148BE: jne 0x2511490b */ 10475 L_251148C0: 10476 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251148C0: mov byte ptr [ecx + 0x20], bl */ 10477 edx = MEM32(eax + 0x4); /* 0x251148C3: mov edx, dword ptr [eax + 4] */ 10478 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x251148C6: mov byte ptr [edx + 0x20], 0 */ 10479 ecx = MEM32(eax + 0x4); /* 0x251148CA: mov ecx, dword ptr [eax + 4] */ 10480 edx = MEM32(ecx + 0x8); /* 0x251148CD: mov edx, dword ptr [ecx + 8] */ 10481 esi = MEM32(edx); /* 0x251148D0: mov esi, dword ptr [edx] */ 10482 MEM32(ecx + 0x8) = esi; /* 0x251148D2: mov dword ptr [ecx + 8], esi */ 10483 esi = MEM32(edx); /* 0x251148D5: mov esi, dword ptr [edx] */ 10484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251148D7: cmp esi, dword ptr [edi + 8] */ 10485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10487 _flag_k = FK_CMP; 10488 if (CMP_EQ(_flag_a, _flag_b)) goto L_251148DF; /* 0x251148DA: je 0x251148df */ 10489 L_251148DC: 10490 MEM32(esi + 0x4) = ecx; /* 0x251148DC: mov dword ptr [esi + 4], ecx */ 10491 L_251148DF: 10492 esi = MEM32(ecx + 0x4); /* 0x251148DF: mov esi, dword ptr [ecx + 4] */ 10493 MEM32(edx + 0x4) = esi; /* 0x251148E2: mov dword ptr [edx + 4], esi */ 10494 esi = MEM32(edi + 0x4); /* 0x251148E5: mov esi, dword ptr [edi + 4] */ 10495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251148E8: cmp ecx, dword ptr [esi + 4] */ 10496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10498 _flag_k = FK_CMP; 10499 if (CMP_NE(_flag_a, _flag_b)) goto L_251148F2; /* 0x251148EB: jne 0x251148f2 */ 10500 L_251148ED: 10501 MEM32(esi + 0x4) = edx; /* 0x251148ED: mov dword ptr [esi + 4], edx */ 10502 goto L_25114900; /* 0x251148F0: jmp 0x25114900 */ 10503 L_251148F2: 10504 esi = MEM32(ecx + 0x4); /* 0x251148F2: mov esi, dword ptr [ecx + 4] */ 10505 /* cmp ecx, MEM32(esi) */ /* 0x251148F5: cmp ecx, dword ptr [esi] */ 10506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10508 _flag_k = FK_CMP; 10509 if (CMP_NE(_flag_a, _flag_b)) goto L_251148FD; /* 0x251148F7: jne 0x251148fd */ 10510 L_251148F9: 10511 MEM32(esi) = edx; /* 0x251148F9: mov dword ptr [esi], edx */ 10512 goto L_25114900; /* 0x251148FB: jmp 0x25114900 */ 10513 L_251148FD: 10514 MEM32(esi + 0x8) = edx; /* 0x251148FD: mov dword ptr [esi + 8], edx */ 10515 L_25114900: 10516 MEM32(edx) = ecx; /* 0x25114900: mov dword ptr [edx], ecx */ 10517 MEM32(ecx + 0x4) = edx; /* 0x25114902: mov dword ptr [ecx + 4], edx */ 10518 ecx = MEM32(eax + 0x4); /* 0x25114905: mov ecx, dword ptr [eax + 4] */ 10519 ecx = MEM32(ecx + 0x8); /* 0x25114908: mov ecx, dword ptr [ecx + 8] */ 10520 L_2511490B: 10521 edx = MEM32(ecx); /* 0x2511490B: mov edx, dword ptr [ecx] */ 10522 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511490D: cmp byte ptr [edx + 0x20], bl */ 10523 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10525 _flag_k = FK_NARROW(FK_CMP, 24); 10526 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x25114910: jne 0x251149a6 */ 10527 L_25114916: 10528 edx = MEM32(ecx + 0x8); /* 0x25114916: mov edx, dword ptr [ecx + 8] */ 10529 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114919: cmp byte ptr [edx + 0x20], bl */ 10530 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10532 _flag_k = FK_NARROW(FK_CMP, 24); 10533 if (CMP_NE(_flag_a, _flag_b)) goto L_251149A6; /* 0x2511491C: jne 0x251149a6 */ 10534 L_25114922: 10535 goto L_2511498E; /* 0x25114922: jmp 0x2511498e */ 10536 L_25114924: 10537 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25114924: mov dl, byte ptr [ecx + 0x20] */ 10538 /* test LO8(edx), LO8(edx) */ /* 0x25114927: test dl, dl */ 10539 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10540 _cf = 0; 10541 _flag_k = FK_NARROW(FK_TEST, 24); 10542 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114977; /* 0x25114929: jne 0x25114977 */ 10543 L_2511492B: 10544 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2511492B: mov byte ptr [ecx + 0x20], bl */ 10545 ecx = MEM32(eax + 0x4); /* 0x2511492E: mov ecx, dword ptr [eax + 4] */ 10546 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114931: mov byte ptr [ecx + 0x20], 0 */ 10547 ecx = MEM32(eax + 0x4); /* 0x25114935: mov ecx, dword ptr [eax + 4] */ 10548 edx = MEM32(ecx); /* 0x25114938: mov edx, dword ptr [ecx] */ 10549 esi = MEM32(edx + 0x8); /* 0x2511493A: mov esi, dword ptr [edx + 8] */ 10550 MEM32(ecx) = esi; /* 0x2511493D: mov dword ptr [ecx], esi */ 10551 esi = MEM32(edx + 0x8); /* 0x2511493F: mov esi, dword ptr [edx + 8] */ 10552 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114942: cmp esi, dword ptr [edi + 8] */ 10553 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10555 _flag_k = FK_CMP; 10556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511494A; /* 0x25114945: je 0x2511494a */ 10557 L_25114947: 10558 MEM32(esi + 0x4) = ecx; /* 0x25114947: mov dword ptr [esi + 4], ecx */ 10559 L_2511494A: 10560 esi = MEM32(ecx + 0x4); /* 0x2511494A: mov esi, dword ptr [ecx + 4] */ 10561 MEM32(edx + 0x4) = esi; /* 0x2511494D: mov dword ptr [edx + 4], esi */ 10562 esi = MEM32(edi + 0x4); /* 0x25114950: mov esi, dword ptr [edi + 4] */ 10563 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114953: cmp ecx, dword ptr [esi + 4] */ 10564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10566 _flag_k = FK_CMP; 10567 if (CMP_NE(_flag_a, _flag_b)) goto L_2511495D; /* 0x25114956: jne 0x2511495d */ 10568 L_25114958: 10569 MEM32(esi + 0x4) = edx; /* 0x25114958: mov dword ptr [esi + 4], edx */ 10570 goto L_2511496C; /* 0x2511495B: jmp 0x2511496c */ 10571 L_2511495D: 10572 esi = MEM32(ecx + 0x4); /* 0x2511495D: mov esi, dword ptr [ecx + 4] */ 10573 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114960: cmp ecx, dword ptr [esi + 8] */ 10574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10576 _flag_k = FK_CMP; 10577 if (CMP_NE(_flag_a, _flag_b)) goto L_2511496A; /* 0x25114963: jne 0x2511496a */ 10578 L_25114965: 10579 MEM32(esi + 0x8) = edx; /* 0x25114965: mov dword ptr [esi + 8], edx */ 10580 goto L_2511496C; /* 0x25114968: jmp 0x2511496c */ 10581 L_2511496A: 10582 MEM32(esi) = edx; /* 0x2511496A: mov dword ptr [esi], edx */ 10583 L_2511496C: 10584 MEM32(edx + 0x8) = ecx; /* 0x2511496C: mov dword ptr [edx + 8], ecx */ 10585 MEM32(ecx + 0x4) = edx; /* 0x2511496F: mov dword ptr [ecx + 4], edx */ 10586 edx = MEM32(eax + 0x4); /* 0x25114972: mov edx, dword ptr [eax + 4] */ 10587 ecx = MEM32(edx); /* 0x25114975: mov ecx, dword ptr [edx] */ 10588 L_25114977: 10589 edx = MEM32(ecx + 0x8); /* 0x25114977: mov edx, dword ptr [ecx + 8] */ 10590 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2511497A: cmp byte ptr [edx + 0x20], bl */ 10591 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10593 _flag_k = FK_NARROW(FK_CMP, 24); 10594 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x2511497D: jne 0x25114a53 */ 10595 L_25114983: 10596 edx = MEM32(ecx); /* 0x25114983: mov edx, dword ptr [ecx] */ 10597 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114985: cmp byte ptr [edx + 0x20], bl */ 10598 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10600 _flag_k = FK_NARROW(FK_CMP, 24); 10601 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A53; /* 0x25114988: jne 0x25114a53 */ 10602 L_2511498E: 10603 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2511498E: mov byte ptr [ecx + 0x20], 0 */ 10604 ecx = MEM32(edi + 0x4); /* 0x25114992: mov ecx, dword ptr [edi + 4] */ 10605 eax = MEM32(eax + 0x4); /* 0x25114995: mov eax, dword ptr [eax + 4] */ 10606 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25114998: cmp eax, dword ptr [ecx + 4] */ 10607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10609 _flag_k = FK_CMP; 10610 RECOMP_BACKEDGE(); 10611 if (CMP_NE(_flag_a, _flag_b)) goto L_251148A4; /* 0x2511499B: jne 0x251148a4 */ 10612 L_251149A1: 10613 goto L_25114AF2; /* 0x251149A1: jmp 0x25114af2 */ 10614 L_251149A6: 10615 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 10616 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 10617 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10619 _flag_k = FK_NARROW(FK_CMP, 24); 10620 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 10621 L_251149AE: 10622 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 10623 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 10624 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 10625 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 10626 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 10627 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 10628 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 10629 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 10630 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10632 _flag_k = FK_CMP; 10633 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 10634 L_251149C6: 10635 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 10636 L_251149C9: 10637 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 10638 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 10639 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 10640 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 10641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10643 _flag_k = FK_CMP; 10644 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 10645 L_251149D7: 10646 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 10647 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 10648 L_251149DC: 10649 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 10650 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 10651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10653 _flag_k = FK_CMP; 10654 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 10655 L_251149E4: 10656 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 10657 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 10658 L_251149E9: 10659 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 10660 L_251149EB: 10661 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 10662 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 10663 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 10664 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 10665 L_251149F7: 10666 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 10667 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 10668 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 10669 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 10670 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 10671 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 10672 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 10673 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 10674 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 10675 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 10676 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 10677 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 10678 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 10679 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10681 _flag_k = FK_CMP; 10682 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 10683 L_25114A1E: 10684 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 10685 L_25114A21: 10686 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 10687 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 10688 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 10689 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 10690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10692 _flag_k = FK_CMP; 10693 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 10694 L_25114A2F: 10695 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 10696 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 10697 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 10698 L_25114A39: 10699 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 10700 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 10701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10703 _flag_k = FK_CMP; 10704 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 10705 L_25114A40: 10706 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 10707 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 10708 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 10709 L_25114A49: 10710 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 10711 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 10712 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 10713 L_25114A53: 10714 edx = MEM32(ecx); /* 0x25114A53: mov edx, dword ptr [ecx] */ 10715 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x25114A55: cmp byte ptr [edx + 0x20], bl */ 10716 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10718 _flag_k = FK_NARROW(FK_CMP, 24); 10719 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AA1; /* 0x25114A58: jne 0x25114aa1 */ 10720 L_25114A5A: 10721 edx = MEM32(ecx + 0x8); /* 0x25114A5A: mov edx, dword ptr [ecx + 8] */ 10722 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A5D: mov byte ptr [edx + 0x20], bl */ 10723 edx = MEM32(ecx + 0x8); /* 0x25114A60: mov edx, dword ptr [ecx + 8] */ 10724 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25114A63: mov byte ptr [ecx + 0x20], 0 */ 10725 esi = MEM32(edx); /* 0x25114A67: mov esi, dword ptr [edx] */ 10726 MEM32(ecx + 0x8) = esi; /* 0x25114A69: mov dword ptr [ecx + 8], esi */ 10727 esi = MEM32(edx); /* 0x25114A6C: mov esi, dword ptr [edx] */ 10728 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A6E: cmp esi, dword ptr [edi + 8] */ 10729 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10731 _flag_k = FK_CMP; 10732 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A76; /* 0x25114A71: je 0x25114a76 */ 10733 L_25114A73: 10734 MEM32(esi + 0x4) = ecx; /* 0x25114A73: mov dword ptr [esi + 4], ecx */ 10735 L_25114A76: 10736 esi = MEM32(ecx + 0x4); /* 0x25114A76: mov esi, dword ptr [ecx + 4] */ 10737 MEM32(edx + 0x4) = esi; /* 0x25114A79: mov dword ptr [edx + 4], esi */ 10738 esi = MEM32(edi + 0x4); /* 0x25114A7C: mov esi, dword ptr [edi + 4] */ 10739 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A7F: cmp ecx, dword ptr [esi + 4] */ 10740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10742 _flag_k = FK_CMP; 10743 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A89; /* 0x25114A82: jne 0x25114a89 */ 10744 L_25114A84: 10745 MEM32(esi + 0x4) = edx; /* 0x25114A84: mov dword ptr [esi + 4], edx */ 10746 goto L_25114A97; /* 0x25114A87: jmp 0x25114a97 */ 10747 L_25114A89: 10748 esi = MEM32(ecx + 0x4); /* 0x25114A89: mov esi, dword ptr [ecx + 4] */ 10749 /* cmp ecx, MEM32(esi) */ /* 0x25114A8C: cmp ecx, dword ptr [esi] */ 10750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10752 _flag_k = FK_CMP; 10753 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A94; /* 0x25114A8E: jne 0x25114a94 */ 10754 L_25114A90: 10755 MEM32(esi) = edx; /* 0x25114A90: mov dword ptr [esi], edx */ 10756 goto L_25114A97; /* 0x25114A92: jmp 0x25114a97 */ 10757 L_25114A94: 10758 MEM32(esi + 0x8) = edx; /* 0x25114A94: mov dword ptr [esi + 8], edx */ 10759 L_25114A97: 10760 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 10761 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 10762 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 10763 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 10764 L_25114AA1: 10765 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 10766 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 10767 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 10768 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 10769 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 10770 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 10771 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 10772 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 10773 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 10774 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 10775 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 10776 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 10777 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 10778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10780 _flag_k = FK_CMP; 10781 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 10782 L_25114AC7: 10783 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 10784 L_25114ACA: 10785 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 10786 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 10787 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 10788 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 10789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10791 _flag_k = FK_CMP; 10792 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 10793 L_25114AD8: 10794 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 10795 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 10796 L_25114ADD: 10797 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 10798 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 10799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10801 _flag_k = FK_CMP; 10802 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 10803 L_25114AE5: 10804 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 10805 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 10806 L_25114AEA: 10807 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 10808 L_25114AEC: 10809 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 10810 L_25114AEF: 10811 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 10812 L_25114AF2: 10813 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 10814 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 10815 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 10816 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 10817 RECOMP_FLAGS_IN(); 10818 PUSH32(esp, esi); /* 0x25114B00: push esi */ 10819 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 10820 RECOMP_FLAGS_IN(); 10821 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 10822 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 10823 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10825 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 10826 _flag_k = FK_ADD; 10827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10828 eax = eax - 1; /* 0x25114B0F: dec eax */ 10829 _flag_k = FK_DEC; 10830 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 10831 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 10832 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 10833 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 10834 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 10835 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 10836 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 10837 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 10838 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 10839 RECOMP_REGS_OUT(); 10840 } 10841 10842 void sub_251149A6(void) { 10843 int _fpu_cmp = 0; 10844 uint32_t _cf = 0; 10845 int _df = 1; 10846 uint32_t _flag_k = FK_NONE; 10847 uint32_t _flag_a = 0, _flag_b = 0; 10848 uint32_t _itail_tgt = 0; 10849 RECOMP_REGS_LOCALS 10850 RECOMP_ENTER(0x251149A6u); 10851 10852 L_251149A6: 10853 edx = MEM32(ecx + 0x8); /* 0x251149A6: mov edx, dword ptr [ecx + 8] */ 10854 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x251149A9: cmp byte ptr [edx + 0x20], bl */ 10855 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10857 _flag_k = FK_NARROW(FK_CMP, 24); 10858 if (CMP_NE(_flag_a, _flag_b)) goto L_251149F7; /* 0x251149AC: jne 0x251149f7 */ 10859 L_251149AE: 10860 edx = MEM32(ecx); /* 0x251149AE: mov edx, dword ptr [ecx] */ 10861 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251149B0: mov byte ptr [edx + 0x20], bl */ 10862 edx = MEM32(ecx); /* 0x251149B3: mov edx, dword ptr [ecx] */ 10863 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251149B5: mov byte ptr [ecx + 0x20], 0 */ 10864 esi = MEM32(edx + 0x8); /* 0x251149B9: mov esi, dword ptr [edx + 8] */ 10865 MEM32(ecx) = esi; /* 0x251149BC: mov dword ptr [ecx], esi */ 10866 esi = MEM32(edx + 0x8); /* 0x251149BE: mov esi, dword ptr [edx + 8] */ 10867 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251149C1: cmp esi, dword ptr [edi + 8] */ 10868 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10870 _flag_k = FK_CMP; 10871 if (CMP_EQ(_flag_a, _flag_b)) goto L_251149C9; /* 0x251149C4: je 0x251149c9 */ 10872 L_251149C6: 10873 MEM32(esi + 0x4) = ecx; /* 0x251149C6: mov dword ptr [esi + 4], ecx */ 10874 L_251149C9: 10875 esi = MEM32(ecx + 0x4); /* 0x251149C9: mov esi, dword ptr [ecx + 4] */ 10876 MEM32(edx + 0x4) = esi; /* 0x251149CC: mov dword ptr [edx + 4], esi */ 10877 esi = MEM32(edi + 0x4); /* 0x251149CF: mov esi, dword ptr [edi + 4] */ 10878 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251149D2: cmp ecx, dword ptr [esi + 4] */ 10879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10881 _flag_k = FK_CMP; 10882 if (CMP_NE(_flag_a, _flag_b)) goto L_251149DC; /* 0x251149D5: jne 0x251149dc */ 10883 L_251149D7: 10884 MEM32(esi + 0x4) = edx; /* 0x251149D7: mov dword ptr [esi + 4], edx */ 10885 goto L_251149EB; /* 0x251149DA: jmp 0x251149eb */ 10886 L_251149DC: 10887 esi = MEM32(ecx + 0x4); /* 0x251149DC: mov esi, dword ptr [ecx + 4] */ 10888 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251149DF: cmp ecx, dword ptr [esi + 8] */ 10889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10891 _flag_k = FK_CMP; 10892 if (CMP_NE(_flag_a, _flag_b)) goto L_251149E9; /* 0x251149E2: jne 0x251149e9 */ 10893 L_251149E4: 10894 MEM32(esi + 0x8) = edx; /* 0x251149E4: mov dword ptr [esi + 8], edx */ 10895 goto L_251149EB; /* 0x251149E7: jmp 0x251149eb */ 10896 L_251149E9: 10897 MEM32(esi) = edx; /* 0x251149E9: mov dword ptr [esi], edx */ 10898 L_251149EB: 10899 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 10900 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 10901 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 10902 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 10903 L_251149F7: 10904 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 10905 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 10906 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 10907 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 10908 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 10909 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 10910 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 10911 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 10912 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 10913 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 10914 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 10915 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 10916 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 10917 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10919 _flag_k = FK_CMP; 10920 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 10921 L_25114A1E: 10922 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 10923 L_25114A21: 10924 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 10925 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 10926 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 10927 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 10928 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10930 _flag_k = FK_CMP; 10931 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 10932 L_25114A2F: 10933 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 10934 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 10935 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 10936 L_25114A39: 10937 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 10938 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 10939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10941 _flag_k = FK_CMP; 10942 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 10943 L_25114A40: 10944 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 10945 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 10946 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 10947 L_25114A49: 10948 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 10949 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 10950 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 10951 L_25114AEF: 10952 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 10953 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 10954 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 10955 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 10956 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 10957 RECOMP_FLAGS_IN(); 10958 PUSH32(esp, esi); /* 0x25114B00: push esi */ 10959 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 10960 RECOMP_FLAGS_IN(); 10961 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 10962 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 10963 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10965 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 10966 _flag_k = FK_ADD; 10967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10968 eax = eax - 1; /* 0x25114B0F: dec eax */ 10969 _flag_k = FK_DEC; 10970 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 10971 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 10972 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 10973 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 10974 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 10975 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 10976 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 10977 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 10978 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 10979 RECOMP_REGS_OUT(); 10980 } 10981 10982 void sub_251149EB(void) { 10983 int _fpu_cmp = 0; 10984 uint32_t _cf = 0; 10985 int _df = 1; 10986 uint32_t _flag_k = FK_NONE; 10987 uint32_t _flag_a = 0, _flag_b = 0; 10988 uint32_t _itail_tgt = 0; 10989 RECOMP_REGS_LOCALS 10990 RECOMP_ENTER(0x251149EBu); 10991 10992 L_251149EB: 10993 MEM32(edx + 0x8) = ecx; /* 0x251149EB: mov dword ptr [edx + 8], ecx */ 10994 MEM32(ecx + 0x4) = edx; /* 0x251149EE: mov dword ptr [ecx + 4], edx */ 10995 ecx = MEM32(eax + 0x4); /* 0x251149F1: mov ecx, dword ptr [eax + 4] */ 10996 ecx = MEM32(ecx + 0x8); /* 0x251149F4: mov ecx, dword ptr [ecx + 8] */ 10997 edx = MEM32(eax + 0x4); /* 0x251149F7: mov edx, dword ptr [eax + 4] */ 10998 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x251149FA: mov dl, byte ptr [edx + 0x20] */ 10999 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x251149FD: mov byte ptr [ecx + 0x20], dl */ 11000 edx = MEM32(eax + 0x4); /* 0x25114A00: mov edx, dword ptr [eax + 4] */ 11001 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A03: mov byte ptr [edx + 0x20], bl */ 11002 ecx = MEM32(ecx + 0x8); /* 0x25114A06: mov ecx, dword ptr [ecx + 8] */ 11003 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114A09: mov byte ptr [ecx + 0x20], bl */ 11004 ecx = MEM32(eax + 0x4); /* 0x25114A0C: mov ecx, dword ptr [eax + 4] */ 11005 edx = MEM32(ecx + 0x8); /* 0x25114A0F: mov edx, dword ptr [ecx + 8] */ 11006 esi = MEM32(edx); /* 0x25114A12: mov esi, dword ptr [edx] */ 11007 MEM32(ecx + 0x8) = esi; /* 0x25114A14: mov dword ptr [ecx + 8], esi */ 11008 esi = MEM32(edx); /* 0x25114A17: mov esi, dword ptr [edx] */ 11009 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114A19: cmp esi, dword ptr [edi + 8] */ 11010 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11012 _flag_k = FK_CMP; 11013 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114A21; /* 0x25114A1C: je 0x25114a21 */ 11014 L_25114A1E: 11015 MEM32(esi + 0x4) = ecx; /* 0x25114A1E: mov dword ptr [esi + 4], ecx */ 11016 L_25114A21: 11017 esi = MEM32(ecx + 0x4); /* 0x25114A21: mov esi, dword ptr [ecx + 4] */ 11018 MEM32(edx + 0x4) = esi; /* 0x25114A24: mov dword ptr [edx + 4], esi */ 11019 esi = MEM32(edi + 0x4); /* 0x25114A27: mov esi, dword ptr [edi + 4] */ 11020 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114A2A: cmp ecx, dword ptr [esi + 4] */ 11021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11023 _flag_k = FK_CMP; 11024 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A39; /* 0x25114A2D: jne 0x25114a39 */ 11025 L_25114A2F: 11026 MEM32(esi + 0x4) = edx; /* 0x25114A2F: mov dword ptr [esi + 4], edx */ 11027 MEM32(edx) = ecx; /* 0x25114A32: mov dword ptr [edx], ecx */ 11028 goto L_25114AEF; /* 0x25114A34: jmp 0x25114aef */ 11029 L_25114A39: 11030 esi = MEM32(ecx + 0x4); /* 0x25114A39: mov esi, dword ptr [ecx + 4] */ 11031 /* cmp ecx, MEM32(esi) */ /* 0x25114A3C: cmp ecx, dword ptr [esi] */ 11032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11034 _flag_k = FK_CMP; 11035 if (CMP_NE(_flag_a, _flag_b)) goto L_25114A49; /* 0x25114A3E: jne 0x25114a49 */ 11036 L_25114A40: 11037 MEM32(esi) = edx; /* 0x25114A40: mov dword ptr [esi], edx */ 11038 MEM32(edx) = ecx; /* 0x25114A42: mov dword ptr [edx], ecx */ 11039 goto L_25114AEF; /* 0x25114A44: jmp 0x25114aef */ 11040 L_25114A49: 11041 MEM32(esi + 0x8) = edx; /* 0x25114A49: mov dword ptr [esi + 8], edx */ 11042 MEM32(edx) = ecx; /* 0x25114A4C: mov dword ptr [edx], ecx */ 11043 goto L_25114AEF; /* 0x25114A4E: jmp 0x25114aef */ 11044 L_25114AEF: 11045 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 11046 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 11047 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 11048 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 11049 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 11050 RECOMP_FLAGS_IN(); 11051 PUSH32(esp, esi); /* 0x25114B00: push esi */ 11052 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 11053 RECOMP_FLAGS_IN(); 11054 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 11055 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 11056 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11058 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 11059 _flag_k = FK_ADD; 11060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11061 eax = eax - 1; /* 0x25114B0F: dec eax */ 11062 _flag_k = FK_DEC; 11063 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 11064 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 11065 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 11066 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 11067 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 11068 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 11069 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 11070 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 11071 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 11072 RECOMP_REGS_OUT(); 11073 } 11074 11075 void sub_25114A97(void) { 11076 int _fpu_cmp = 0; 11077 uint32_t _cf = 0; 11078 int _df = 1; 11079 uint32_t _flag_k = FK_NONE; 11080 uint32_t _flag_a = 0, _flag_b = 0; 11081 uint32_t _itail_tgt = 0; 11082 RECOMP_REGS_LOCALS 11083 RECOMP_ENTER(0x25114A97u); 11084 11085 L_25114A97: 11086 MEM32(edx) = ecx; /* 0x25114A97: mov dword ptr [edx], ecx */ 11087 MEM32(ecx + 0x4) = edx; /* 0x25114A99: mov dword ptr [ecx + 4], edx */ 11088 ecx = MEM32(eax + 0x4); /* 0x25114A9C: mov ecx, dword ptr [eax + 4] */ 11089 ecx = MEM32(ecx); /* 0x25114A9F: mov ecx, dword ptr [ecx] */ 11090 edx = MEM32(eax + 0x4); /* 0x25114AA1: mov edx, dword ptr [eax + 4] */ 11091 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x25114AA4: mov dl, byte ptr [edx + 0x20] */ 11092 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x25114AA7: mov byte ptr [ecx + 0x20], dl */ 11093 edx = MEM32(eax + 0x4); /* 0x25114AAA: mov edx, dword ptr [eax + 4] */ 11094 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AAD: mov byte ptr [edx + 0x20], bl */ 11095 ecx = MEM32(ecx); /* 0x25114AB0: mov ecx, dword ptr [ecx] */ 11096 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AB2: mov byte ptr [ecx + 0x20], bl */ 11097 ecx = MEM32(eax + 0x4); /* 0x25114AB5: mov ecx, dword ptr [eax + 4] */ 11098 edx = MEM32(ecx); /* 0x25114AB8: mov edx, dword ptr [ecx] */ 11099 esi = MEM32(edx + 0x8); /* 0x25114ABA: mov esi, dword ptr [edx + 8] */ 11100 MEM32(ecx) = esi; /* 0x25114ABD: mov dword ptr [ecx], esi */ 11101 esi = MEM32(edx + 0x8); /* 0x25114ABF: mov esi, dword ptr [edx + 8] */ 11102 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114AC2: cmp esi, dword ptr [edi + 8] */ 11103 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11105 _flag_k = FK_CMP; 11106 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114ACA; /* 0x25114AC5: je 0x25114aca */ 11107 L_25114AC7: 11108 MEM32(esi + 0x4) = ecx; /* 0x25114AC7: mov dword ptr [esi + 4], ecx */ 11109 L_25114ACA: 11110 esi = MEM32(ecx + 0x4); /* 0x25114ACA: mov esi, dword ptr [ecx + 4] */ 11111 MEM32(edx + 0x4) = esi; /* 0x25114ACD: mov dword ptr [edx + 4], esi */ 11112 esi = MEM32(edi + 0x4); /* 0x25114AD0: mov esi, dword ptr [edi + 4] */ 11113 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25114AD3: cmp ecx, dword ptr [esi + 4] */ 11114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11116 _flag_k = FK_CMP; 11117 if (CMP_NE(_flag_a, _flag_b)) goto L_25114ADD; /* 0x25114AD6: jne 0x25114add */ 11118 L_25114AD8: 11119 MEM32(esi + 0x4) = edx; /* 0x25114AD8: mov dword ptr [esi + 4], edx */ 11120 goto L_25114AEC; /* 0x25114ADB: jmp 0x25114aec */ 11121 L_25114ADD: 11122 esi = MEM32(ecx + 0x4); /* 0x25114ADD: mov esi, dword ptr [ecx + 4] */ 11123 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25114AE0: cmp ecx, dword ptr [esi + 8] */ 11124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11126 _flag_k = FK_CMP; 11127 if (CMP_NE(_flag_a, _flag_b)) goto L_25114AEA; /* 0x25114AE3: jne 0x25114aea */ 11128 L_25114AE5: 11129 MEM32(esi + 0x8) = edx; /* 0x25114AE5: mov dword ptr [esi + 8], edx */ 11130 goto L_25114AEC; /* 0x25114AE8: jmp 0x25114aec */ 11131 L_25114AEA: 11132 MEM32(esi) = edx; /* 0x25114AEA: mov dword ptr [esi], edx */ 11133 L_25114AEC: 11134 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 11135 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 11136 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 11137 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 11138 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 11139 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 11140 RECOMP_FLAGS_IN(); 11141 PUSH32(esp, esi); /* 0x25114B00: push esi */ 11142 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 11143 RECOMP_FLAGS_IN(); 11144 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 11145 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 11146 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11148 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 11149 _flag_k = FK_ADD; 11150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11151 eax = eax - 1; /* 0x25114B0F: dec eax */ 11152 _flag_k = FK_DEC; 11153 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 11154 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 11155 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 11156 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 11157 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 11158 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 11159 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 11160 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 11161 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 11162 RECOMP_REGS_OUT(); 11163 } 11164 11165 void sub_25114AEC(void) { 11166 int _fpu_cmp = 0; 11167 uint32_t _cf = 0; 11168 int _df = 1; 11169 uint32_t _flag_k = FK_NONE; 11170 uint32_t _flag_a = 0, _flag_b = 0; 11171 uint32_t _itail_tgt = 0; 11172 RECOMP_REGS_LOCALS 11173 RECOMP_ENTER(0x25114AECu); 11174 11175 L_25114AEC: 11176 MEM32(edx + 0x8) = ecx; /* 0x25114AEC: mov dword ptr [edx + 8], ecx */ 11177 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 11178 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 11179 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 11180 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 11181 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 11182 RECOMP_FLAGS_IN(); 11183 PUSH32(esp, esi); /* 0x25114B00: push esi */ 11184 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 11185 RECOMP_FLAGS_IN(); 11186 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 11187 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 11188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11189 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11190 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 11191 _flag_k = FK_ADD; 11192 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11193 eax = eax - 1; /* 0x25114B0F: dec eax */ 11194 _flag_k = FK_DEC; 11195 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 11196 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 11197 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 11198 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 11199 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 11200 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 11201 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 11202 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 11203 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 11204 RECOMP_REGS_OUT(); 11205 } 11206 11207 void sub_25114AEF(void) { 11208 int _fpu_cmp = 0; 11209 uint32_t _cf = 0; 11210 int _df = 1; 11211 uint32_t _flag_k = FK_NONE; 11212 uint32_t _flag_a = 0, _flag_b = 0; 11213 uint32_t _itail_tgt = 0; 11214 RECOMP_REGS_LOCALS 11215 RECOMP_ENTER(0x25114AEFu); 11216 11217 L_25114AEF: 11218 MEM32(ecx + 0x4) = edx; /* 0x25114AEF: mov dword ptr [ecx + 4], edx */ 11219 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 11220 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 11221 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 11222 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 11223 RECOMP_FLAGS_IN(); 11224 PUSH32(esp, esi); /* 0x25114B00: push esi */ 11225 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 11226 RECOMP_FLAGS_IN(); 11227 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 11228 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 11229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11231 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 11232 _flag_k = FK_ADD; 11233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11234 eax = eax - 1; /* 0x25114B0F: dec eax */ 11235 _flag_k = FK_DEC; 11236 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 11237 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 11238 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 11239 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 11240 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 11241 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 11242 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 11243 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 11244 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 11245 RECOMP_REGS_OUT(); 11246 } 11247 11248 void sub_25114AF2(void) { 11249 int _fpu_cmp = 0; 11250 uint32_t _cf = 0; 11251 int _df = 1; 11252 uint32_t _flag_k = FK_NONE; 11253 uint32_t _flag_a = 0, _flag_b = 0; 11254 uint32_t _itail_tgt = 0; 11255 RECOMP_REGS_LOCALS 11256 RECOMP_ENTER(0x25114AF2u); 11257 11258 L_25114AF2: 11259 esi = MEM32(ebp + (-0x4)); /* 0x25114AF2: mov esi, dword ptr [ebp - 4] */ 11260 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25114AF5: mov byte ptr [eax + 0x20], bl */ 11261 ecx = esi + 0xC; /* 0x25114AF8: lea ecx, [esi + 0xc] */ 11262 RECOMP_ICALL(0x250E5AB0u); /* 0x25114AFB: call 0x250e5ab0 */ /* not lifted */ 11263 RECOMP_FLAGS_IN(); 11264 PUSH32(esp, esi); /* 0x25114B00: push esi */ 11265 RECOMP_ICALL(0x25137EECu); /* 0x25114B01: call 0x25137eec */ /* not lifted */ 11266 RECOMP_FLAGS_IN(); 11267 eax = MEM32(edi + 0x10); /* 0x25114B06: mov eax, dword ptr [edi + 0x10] */ 11268 edx = MEM32(ebp + 0xC); /* 0x25114B09: mov edx, dword ptr [ebp + 0xc] */ 11269 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11271 esp = esp + 4; /* 0x25114B0C: add esp, 4 */ 11272 _flag_k = FK_ADD; 11273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11274 eax = eax - 1; /* 0x25114B0F: dec eax */ 11275 _flag_k = FK_DEC; 11276 MEM32(edi + 0x10) = eax; /* 0x25114B10: mov dword ptr [edi + 0x10], eax */ 11277 eax = MEM32(ebp + 0x8); /* 0x25114B13: mov eax, dword ptr [ebp + 8] */ 11278 edi = POP32_VAL(esp); /* 0x25114B16: pop edi */ 11279 esi = POP32_VAL(esp); /* 0x25114B17: pop esi */ 11280 MEM32(eax) = edx; /* 0x25114B18: mov dword ptr [eax], edx */ 11281 ebx = POP32_VAL(esp); /* 0x25114B1A: pop ebx */ 11282 esp = ebp; /* 0x25114B1B: mov esp, ebp */ 11283 ebp = POP32_VAL(esp); /* 0x25114B1D: pop ebp */ 11284 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114B1E: ret 8 */ 11285 RECOMP_REGS_OUT(); 11286 } 11287 11288 void sub_25114B30(void) { 11289 int _fpu_cmp = 0; 11290 uint32_t _cf = 0; 11291 int _df = 1; 11292 uint32_t _flag_k = FK_NONE; 11293 uint32_t _flag_a = 0, _flag_b = 0; 11294 uint32_t _itail_tgt = 0; 11295 RECOMP_REGS_LOCALS 11296 RECOMP_ENTER(0x25114B30u); 11297 11298 L_25114B30: 11299 PUSH32(esp, ebp); /* 0x25114B30: push ebp */ 11300 ebp = esp; /* 0x25114B31: mov ebp, esp */ 11301 PUSH32(esp, ebx); /* 0x25114B33: push ebx */ 11302 ebx = MEM32(ebp + 0x10); /* 0x25114B34: mov ebx, dword ptr [ebp + 0x10] */ 11303 PUSH32(esp, esi); /* 0x25114B37: push esi */ 11304 esi = ecx; /* 0x25114B38: mov esi, ecx */ 11305 eax = MEM32(esi + 0x10); /* 0x25114B3A: mov eax, dword ptr [esi + 0x10] */ 11306 /* test eax, eax */ /* 0x25114B3D: test eax, eax */ 11307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11308 _cf = 0; 11309 _flag_k = FK_TEST; 11310 ecx = MEM32(ebp + 0xC); /* 0x25114B3F: mov ecx, dword ptr [ebp + 0xc] */ 11311 PUSH32(esp, edi); /* 0x25114B42: push edi */ 11312 if (TEST_Z(_flag_a, _flag_b)) goto L_25114BAD; /* 0x25114B43: je 0x25114bad */ 11313 L_25114B45: 11314 eax = MEM32(esi + 0x4); /* 0x25114B45: mov eax, dword ptr [esi + 4] */ 11315 /* cmp ecx, MEM32(eax) */ /* 0x25114B48: cmp ecx, dword ptr [eax] */ 11316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 11317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11318 _flag_k = FK_CMP; 11319 if (CMP_NE(_flag_a, _flag_b)) goto L_25114BAD; /* 0x25114B4A: jne 0x25114bad */ 11320 L_25114B4C: 11321 /* cmp ebx, eax */ /* 0x25114B4C: cmp ebx, eax */ 11322 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11324 _flag_k = FK_CMP; 11325 if (CMP_NE(_flag_a, _flag_b)) goto L_25114BAD; /* 0x25114B4E: jne 0x25114bad */ 11326 L_25114B50: 11327 ebx = MEM32(eax + 0x4); /* 0x25114B50: mov ebx, dword ptr [eax + 4] */ 11328 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25114B53: cmp ebx, dword ptr [esi + 8] */ 11329 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11331 _flag_k = FK_CMP; 11332 edi = ebx; /* 0x25114B56: mov edi, ebx */ 11333 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114B81; /* 0x25114B58: je 0x25114b81 */ 11334 L_25114B5A: 11335 eax = MEM32(edi + 0x8); /* 0x25114B5A: mov eax, dword ptr [edi + 8] */ 11336 PUSH32(esp, eax); /* 0x25114B5D: push eax */ 11337 ecx = esi; /* 0x25114B5E: mov ecx, esi */ 11338 RECOMP_ICALL(0x251152A0u); /* 0x25114B60: call 0x251152a0 */ /* not lifted */ 11339 RECOMP_FLAGS_IN(); 11340 edi = MEM32(edi); /* 0x25114B65: mov edi, dword ptr [edi] */ 11341 ecx = ebx + 0xC; /* 0x25114B67: lea ecx, [ebx + 0xc] */ 11342 RECOMP_ICALL(0x250E5AB0u); /* 0x25114B6A: call 0x250e5ab0 */ /* not lifted */ 11343 RECOMP_FLAGS_IN(); 11344 PUSH32(esp, ebx); /* 0x25114B6F: push ebx */ 11345 RECOMP_ICALL(0x25137EECu); /* 0x25114B70: call 0x25137eec */ /* not lifted */ 11346 RECOMP_FLAGS_IN(); 11347 eax = MEM32(esi + 0x8); /* 0x25114B75: mov eax, dword ptr [esi + 8] */ 11348 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11349 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11350 esp = esp + 4; /* 0x25114B78: add esp, 4 */ 11351 _flag_k = FK_ADD; 11352 /* cmp edi, eax */ /* 0x25114B7B: cmp edi, eax */ 11353 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11355 _flag_k = FK_CMP; 11356 ebx = edi; /* 0x25114B7D: mov ebx, edi */ 11357 RECOMP_BACKEDGE(); 11358 if (CMP_NE(_flag_a, _flag_b)) goto L_25114B5A; /* 0x25114B7F: jne 0x25114b5a */ 11359 L_25114B81: 11360 ecx = MEM32(esi + 0x4); /* 0x25114B81: mov ecx, dword ptr [esi + 4] */ 11361 edx = MEM32(esi + 0x8); /* 0x25114B84: mov edx, dword ptr [esi + 8] */ 11362 MEM32(ecx + 0x4) = edx; /* 0x25114B87: mov dword ptr [ecx + 4], edx */ 11363 eax = MEM32(esi + 0x4); /* 0x25114B8A: mov eax, dword ptr [esi + 4] */ 11364 MEM32(esi + 0x10) = 0; /* 0x25114B8D: mov dword ptr [esi + 0x10], 0 */ 11365 MEM32(eax) = eax; /* 0x25114B94: mov dword ptr [eax], eax */ 11366 eax = MEM32(esi + 0x4); /* 0x25114B96: mov eax, dword ptr [esi + 4] */ 11367 MEM32(eax + 0x8) = eax; /* 0x25114B99: mov dword ptr [eax + 8], eax */ 11368 eax = MEM32(esi + 0x4); /* 0x25114B9C: mov eax, dword ptr [esi + 4] */ 11369 ecx = MEM32(eax); /* 0x25114B9F: mov ecx, dword ptr [eax] */ 11370 eax = MEM32(ebp + 0x8); /* 0x25114BA1: mov eax, dword ptr [ebp + 8] */ 11371 edi = POP32_VAL(esp); /* 0x25114BA4: pop edi */ 11372 esi = POP32_VAL(esp); /* 0x25114BA5: pop esi */ 11373 MEM32(eax) = ecx; /* 0x25114BA6: mov dword ptr [eax], ecx */ 11374 ebx = POP32_VAL(esp); /* 0x25114BA8: pop ebx */ 11375 ebp = POP32_VAL(esp); /* 0x25114BA9: pop ebp */ 11376 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25114BAA: ret 0xc */ 11377 L_25114BAD: 11378 /* cmp ecx, ebx */ /* 0x25114BAD: cmp ecx, ebx */ 11379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 11380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11381 _flag_k = FK_CMP; 11382 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114BCE; /* 0x25114BAF: je 0x25114bce */ 11383 L_25114BB1: 11384 edi = ecx; /* 0x25114BB1: mov edi, ecx */ 11385 ecx = ebp + 0xC; /* 0x25114BB3: lea ecx, [ebp + 0xc] */ 11386 RECOMP_ICALL(0x25098300u); /* 0x25114BB6: call 0x25098300 */ /* not lifted */ 11387 RECOMP_FLAGS_IN(); 11388 PUSH32(esp, edi); /* 0x25114BBB: push edi */ 11389 ecx = ebp + 0x10; /* 0x25114BBC: lea ecx, [ebp + 0x10] */ 11390 PUSH32(esp, ecx); /* 0x25114BBF: push ecx */ 11391 ecx = esi; /* 0x25114BC0: mov ecx, esi */ 11392 RECOMP_ICALL(0x25114760u); /* 0x25114BC2: call 0x25114760 */ /* not lifted */ 11393 RECOMP_FLAGS_IN(); 11394 ecx = MEM32(ebp + 0xC); /* 0x25114BC7: mov ecx, dword ptr [ebp + 0xc] */ 11395 /* cmp ecx, ebx */ /* 0x25114BCA: cmp ecx, ebx */ 11396 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 11397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11398 _flag_k = FK_CMP; 11399 RECOMP_BACKEDGE(); 11400 if (CMP_NE(_flag_a, _flag_b)) goto L_25114BB1; /* 0x25114BCC: jne 0x25114bb1 */ 11401 L_25114BCE: 11402 eax = MEM32(ebp + 0x8); /* 0x25114BCE: mov eax, dword ptr [ebp + 8] */ 11403 edi = POP32_VAL(esp); /* 0x25114BD1: pop edi */ 11404 esi = POP32_VAL(esp); /* 0x25114BD2: pop esi */ 11405 MEM32(eax) = ecx; /* 0x25114BD3: mov dword ptr [eax], ecx */ 11406 ebx = POP32_VAL(esp); /* 0x25114BD5: pop ebx */ 11407 ebp = POP32_VAL(esp); /* 0x25114BD6: pop ebp */ 11408 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25114BD7: ret 0xc */ 11409 RECOMP_REGS_OUT(); 11410 } 11411 11412 void sub_25114BE0(void) { 11413 int _fpu_cmp = 0; 11414 uint32_t _cf = 0; 11415 int _df = 1; 11416 uint32_t _flag_k = FK_NONE; 11417 uint32_t _flag_a = 0, _flag_b = 0; 11418 uint32_t _itail_tgt = 0; 11419 RECOMP_REGS_LOCALS 11420 RECOMP_ENTER(0x25114BE0u); 11421 11422 L_25114BE0: 11423 PUSH32(esp, ebp); /* 0x25114BE0: push ebp */ 11424 ebp = esp; /* 0x25114BE1: mov ebp, esp */ 11425 PUSH32(esp, ecx); /* 0x25114BE3: push ecx */ 11426 PUSH32(esp, ebx); /* 0x25114BE4: push ebx */ 11427 PUSH32(esp, esi); /* 0x25114BE5: push esi */ 11428 PUSH32(esp, edi); /* 0x25114BE6: push edi */ 11429 edi = ecx; /* 0x25114BE7: mov edi, ecx */ 11430 eax = MEM32(edi + 0x4); /* 0x25114BE9: mov eax, dword ptr [edi + 4] */ 11431 esi = MEM32(eax + 0x4); /* 0x25114BEC: mov esi, dword ptr [eax + 4] */ 11432 ebx = eax; /* 0x25114BEF: mov ebx, eax */ 11433 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114BF1: cmp esi, dword ptr [edi + 8] */ 11434 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11436 _flag_k = FK_CMP; 11437 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114C19; /* 0x25114BF4: je 0x25114c19 */ 11438 L_25114BF6: 11439 eax = MEM32(ebp + 0xC); /* 0x25114BF6: mov eax, dword ptr [ebp + 0xc] */ 11440 PUSH32(esp, eax); /* 0x25114BF9: push eax */ 11441 ecx = esi + 0xC; /* 0x25114BFA: lea ecx, [esi + 0xc] */ 11442 PUSH32(esp, ecx); /* 0x25114BFD: push ecx */ 11443 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114BFE: call dword ptr [0x251511cc] */ 11444 RECOMP_FLAGS_IN(); 11445 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11446 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11447 esp = esp + 8; /* 0x25114C04: add esp, 8 */ 11448 _flag_k = FK_ADD; 11449 /* test LO8(eax), LO8(eax) */ /* 0x25114C07: test al, al */ 11450 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11451 _cf = 0; 11452 _flag_k = FK_NARROW(FK_TEST, 24); 11453 if (TEST_Z(_flag_a, _flag_b)) goto L_25114C10; /* 0x25114C09: je 0x25114c10 */ 11454 L_25114C0B: 11455 esi = MEM32(esi + 0x8); /* 0x25114C0B: mov esi, dword ptr [esi + 8] */ 11456 goto L_25114C14; /* 0x25114C0E: jmp 0x25114c14 */ 11457 L_25114C10: 11458 ebx = esi; /* 0x25114C10: mov ebx, esi */ 11459 esi = MEM32(esi); /* 0x25114C12: mov esi, dword ptr [esi] */ 11460 L_25114C14: 11461 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114C14: cmp esi, dword ptr [edi + 8] */ 11462 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11464 _flag_k = FK_CMP; 11465 RECOMP_BACKEDGE(); 11466 if (CMP_NE(_flag_a, _flag_b)) goto L_25114BF6; /* 0x25114C17: jne 0x25114bf6 */ 11467 L_25114C19: 11468 /* cmp ebx, MEM32(edi + 0x4) */ /* 0x25114C19: cmp ebx, dword ptr [edi + 4] */ 11469 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11471 _flag_k = FK_CMP; 11472 MEM32(ebp + (-0x4)) = ebx; /* 0x25114C1C: mov dword ptr [ebp - 4], ebx */ 11473 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114C49; /* 0x25114C1F: je 0x25114c49 */ 11474 L_25114C21: 11475 edx = MEM32(ebp + 0xC); /* 0x25114C21: mov edx, dword ptr [ebp + 0xc] */ 11476 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xCu); 11477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11478 ebx = ebx + 0xCu; /* 0x25114C24: add ebx, 0xc */ 11479 _flag_k = FK_ADD; 11480 PUSH32(esp, ebx); /* 0x25114C27: push ebx */ 11481 PUSH32(esp, edx); /* 0x25114C28: push edx */ 11482 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114C29: call dword ptr [0x251511cc] */ 11483 RECOMP_FLAGS_IN(); 11484 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11485 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11486 esp = esp + 8; /* 0x25114C2F: add esp, 8 */ 11487 _flag_k = FK_ADD; 11488 /* test LO8(eax), LO8(eax) */ /* 0x25114C32: test al, al */ 11489 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11490 _cf = 0; 11491 _flag_k = FK_NARROW(FK_TEST, 24); 11492 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114C49; /* 0x25114C34: jne 0x25114c49 */ 11493 L_25114C36: 11494 eax = ebp + (-0x4); /* 0x25114C36: lea eax, [ebp - 4] */ 11495 ecx = MEM32(eax); /* 0x25114C39: mov ecx, dword ptr [eax] */ 11496 eax = MEM32(ebp + 0x8); /* 0x25114C3B: mov eax, dword ptr [ebp + 8] */ 11497 edi = POP32_VAL(esp); /* 0x25114C3E: pop edi */ 11498 esi = POP32_VAL(esp); /* 0x25114C3F: pop esi */ 11499 MEM32(eax) = ecx; /* 0x25114C40: mov dword ptr [eax], ecx */ 11500 ebx = POP32_VAL(esp); /* 0x25114C42: pop ebx */ 11501 esp = ebp; /* 0x25114C43: mov esp, ebp */ 11502 ebp = POP32_VAL(esp); /* 0x25114C45: pop ebp */ 11503 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114C46: ret 8 */ 11504 L_25114C49: 11505 eax = MEM32(edi + 0x4); /* 0x25114C49: mov eax, dword ptr [edi + 4] */ 11506 MEM32(ebp + 0xC) = eax; /* 0x25114C4C: mov dword ptr [ebp + 0xc], eax */ 11507 eax = ebp + 0xC; /* 0x25114C4F: lea eax, [ebp + 0xc] */ 11508 ecx = MEM32(eax); /* 0x25114C52: mov ecx, dword ptr [eax] */ 11509 eax = MEM32(ebp + 0x8); /* 0x25114C54: mov eax, dword ptr [ebp + 8] */ 11510 edi = POP32_VAL(esp); /* 0x25114C57: pop edi */ 11511 esi = POP32_VAL(esp); /* 0x25114C58: pop esi */ 11512 MEM32(eax) = ecx; /* 0x25114C59: mov dword ptr [eax], ecx */ 11513 ebx = POP32_VAL(esp); /* 0x25114C5B: pop ebx */ 11514 esp = ebp; /* 0x25114C5C: mov esp, ebp */ 11515 ebp = POP32_VAL(esp); /* 0x25114C5E: pop ebp */ 11516 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114C5F: ret 8 */ 11517 RECOMP_REGS_OUT(); 11518 } 11519 11520 void sub_25114C70(void) { 11521 int _fpu_cmp = 0; 11522 uint32_t _cf = 0; 11523 int _df = 1; 11524 uint32_t _flag_k = FK_NONE; 11525 uint32_t _flag_a = 0, _flag_b = 0; 11526 uint32_t _itail_tgt = 0; 11527 RECOMP_REGS_LOCALS 11528 RECOMP_ENTER(0x25114C70u); 11529 11530 L_25114C70: 11531 PUSH32(esp, ebp); /* 0x25114C70: push ebp */ 11532 ebp = esp; /* 0x25114C71: mov ebp, esp */ 11533 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 11534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11535 esp = esp - 0x10u; /* 0x25114C73: sub esp, 0x10 */ 11536 _flag_k = FK_CMP; 11537 PUSH32(esp, ebx); /* 0x25114C76: push ebx */ 11538 PUSH32(esp, esi); /* 0x25114C77: push esi */ 11539 PUSH32(esp, edi); /* 0x25114C78: push edi */ 11540 edi = ecx; /* 0x25114C79: mov edi, ecx */ 11541 ebx = MEM32(edi + 0x4); /* 0x25114C7B: mov ebx, dword ptr [edi + 4] */ 11542 esi = MEM32(ebx + 0x4); /* 0x25114C7E: mov esi, dword ptr [ebx + 4] */ 11543 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114C81: cmp esi, dword ptr [edi + 8] */ 11544 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11546 _flag_k = FK_CMP; 11547 SET_LO8(eax, 1); /* 0x25114C84: mov al, 1 */ 11548 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114CAB; /* 0x25114C86: je 0x25114cab */ 11549 L_25114C88: 11550 ecx = MEM32(ebp + 0xC); /* 0x25114C88: mov ecx, dword ptr [ebp + 0xc] */ 11551 eax = esi + 0xC; /* 0x25114C8B: lea eax, [esi + 0xc] */ 11552 PUSH32(esp, eax); /* 0x25114C8E: push eax */ 11553 PUSH32(esp, ecx); /* 0x25114C8F: push ecx */ 11554 ebx = esi; /* 0x25114C90: mov ebx, esi */ 11555 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114C92: call dword ptr [0x251511cc] */ 11556 RECOMP_FLAGS_IN(); 11557 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11558 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11559 esp = esp + 8; /* 0x25114C98: add esp, 8 */ 11560 _flag_k = FK_ADD; 11561 /* test LO8(eax), LO8(eax) */ /* 0x25114C9B: test al, al */ 11562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11563 _cf = 0; 11564 _flag_k = FK_NARROW(FK_TEST, 24); 11565 if (TEST_Z(_flag_a, _flag_b)) goto L_25114CA3; /* 0x25114C9D: je 0x25114ca3 */ 11566 L_25114C9F: 11567 esi = MEM32(esi); /* 0x25114C9F: mov esi, dword ptr [esi] */ 11568 goto L_25114CA6; /* 0x25114CA1: jmp 0x25114ca6 */ 11569 L_25114CA3: 11570 esi = MEM32(esi + 0x8); /* 0x25114CA3: mov esi, dword ptr [esi + 8] */ 11571 L_25114CA6: 11572 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25114CA6: cmp esi, dword ptr [edi + 8] */ 11573 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11575 _flag_k = FK_CMP; 11576 RECOMP_BACKEDGE(); 11577 if (CMP_NE(_flag_a, _flag_b)) goto L_25114C88; /* 0x25114CA9: jne 0x25114c88 */ 11578 L_25114CAB: 11579 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x25114CAB: mov cl, byte ptr [edi + 0xc] */ 11580 /* test LO8(ecx), LO8(ecx) */ /* 0x25114CAE: test cl, cl */ 11581 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11582 _cf = 0; 11583 _flag_k = FK_NARROW(FK_TEST, 24); 11584 if (TEST_Z(_flag_a, _flag_b)) goto L_25114CD0; /* 0x25114CB0: je 0x25114cd0 */ 11585 L_25114CB2: 11586 edx = MEM32(ebp + 0xC); /* 0x25114CB2: mov edx, dword ptr [ebp + 0xc] */ 11587 PUSH32(esp, edx); /* 0x25114CB5: push edx */ 11588 PUSH32(esp, ebx); /* 0x25114CB6: push ebx */ 11589 PUSH32(esp, esi); /* 0x25114CB7: push esi */ 11590 eax = ebp + (-0x8); /* 0x25114CB8: lea eax, [ebp - 8] */ 11591 PUSH32(esp, eax); /* 0x25114CBB: push eax */ 11592 ecx = edi; /* 0x25114CBC: mov ecx, edi */ 11593 RECOMP_ICALL(0x25116200u); /* 0x25114CBE: call 0x25116200 */ /* not lifted */ 11594 RECOMP_FLAGS_IN(); 11595 eax = MEM32(eax); /* 0x25114CC3: mov eax, dword ptr [eax] */ 11596 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x25114CC5: mov byte ptr [ebp - 0xc], 1 */ 11597 ecx = eax; /* 0x25114CC9: mov ecx, eax */ 11598 eax = MEM32(ebp + (-0xC)); /* 0x25114CCB: mov eax, dword ptr [ebp - 0xc] */ 11599 goto L_25114D44; /* 0x25114CCE: jmp 0x25114d44 */ 11600 L_25114CD0: 11601 /* test LO8(eax), LO8(eax) */ /* 0x25114CD0: test al, al */ 11602 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11603 _cf = 0; 11604 _flag_k = FK_NARROW(FK_TEST, 24); 11605 MEM32(ebp + (-0x4)) = ebx; /* 0x25114CD2: mov dword ptr [ebp - 4], ebx */ 11606 if (TEST_Z(_flag_a, _flag_b)) goto L_25114D04; /* 0x25114CD5: je 0x25114d04 */ 11607 L_25114CD7: 11608 ecx = MEM32(edi + 0x4); /* 0x25114CD7: mov ecx, dword ptr [edi + 4] */ 11609 /* cmp ebx, MEM32(ecx) */ /* 0x25114CDA: cmp ebx, dword ptr [ecx] */ 11610 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx)); 11611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11612 _flag_k = FK_CMP; 11613 if (CMP_NE(_flag_a, _flag_b)) goto L_25114CFC; /* 0x25114CDC: jne 0x25114cfc */ 11614 L_25114CDE: 11615 edx = MEM32(ebp + 0xC); /* 0x25114CDE: mov edx, dword ptr [ebp + 0xc] */ 11616 PUSH32(esp, edx); /* 0x25114CE1: push edx */ 11617 PUSH32(esp, ebx); /* 0x25114CE2: push ebx */ 11618 PUSH32(esp, esi); /* 0x25114CE3: push esi */ 11619 eax = ebp + (-0xC); /* 0x25114CE4: lea eax, [ebp - 0xc] */ 11620 PUSH32(esp, eax); /* 0x25114CE7: push eax */ 11621 ecx = edi; /* 0x25114CE8: mov ecx, edi */ 11622 RECOMP_ICALL(0x25116200u); /* 0x25114CEA: call 0x25116200 */ /* not lifted */ 11623 RECOMP_FLAGS_IN(); 11624 eax = MEM32(eax); /* 0x25114CEF: mov eax, dword ptr [eax] */ 11625 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x25114CF1: mov byte ptr [ebp - 0xc], 1 */ 11626 ecx = eax; /* 0x25114CF5: mov ecx, eax */ 11627 eax = MEM32(ebp + (-0xC)); /* 0x25114CF7: mov eax, dword ptr [ebp - 0xc] */ 11628 goto L_25114D44; /* 0x25114CFA: jmp 0x25114d44 */ 11629 L_25114CFC: 11630 ecx = ebp + (-0x4); /* 0x25114CFC: lea ecx, [ebp - 4] */ 11631 RECOMP_ICALL(0x25106D70u); /* 0x25114CFF: call 0x25106d70 */ /* not lifted */ 11632 RECOMP_FLAGS_IN(); 11633 L_25114D04: 11634 ecx = MEM32(ebp + (-0x4)); /* 0x25114D04: mov ecx, dword ptr [ebp - 4] */ 11635 edx = MEM32(ebp + 0xC); /* 0x25114D07: mov edx, dword ptr [ebp + 0xc] */ 11636 eax = ecx + 0xC; /* 0x25114D0A: lea eax, [ecx + 0xc] */ 11637 PUSH32(esp, edx); /* 0x25114D0D: push edx */ 11638 PUSH32(esp, eax); /* 0x25114D0E: push eax */ 11639 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114D0F: call dword ptr [0x251511cc] */ 11640 RECOMP_FLAGS_IN(); 11641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11643 esp = esp + 8; /* 0x25114D15: add esp, 8 */ 11644 _flag_k = FK_ADD; 11645 /* test LO8(eax), LO8(eax) */ /* 0x25114D18: test al, al */ 11646 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11647 _cf = 0; 11648 _flag_k = FK_NARROW(FK_TEST, 24); 11649 if (TEST_Z(_flag_a, _flag_b)) goto L_25114D3A; /* 0x25114D1A: je 0x25114d3a */ 11650 L_25114D1C: 11651 eax = MEM32(ebp + 0xC); /* 0x25114D1C: mov eax, dword ptr [ebp + 0xc] */ 11652 PUSH32(esp, eax); /* 0x25114D1F: push eax */ 11653 PUSH32(esp, ebx); /* 0x25114D20: push ebx */ 11654 PUSH32(esp, esi); /* 0x25114D21: push esi */ 11655 ecx = ebp + 0xC; /* 0x25114D22: lea ecx, [ebp + 0xc] */ 11656 PUSH32(esp, ecx); /* 0x25114D25: push ecx */ 11657 ecx = edi; /* 0x25114D26: mov ecx, edi */ 11658 RECOMP_ICALL(0x25116200u); /* 0x25114D28: call 0x25116200 */ /* not lifted */ 11659 RECOMP_FLAGS_IN(); 11660 eax = MEM32(eax); /* 0x25114D2D: mov eax, dword ptr [eax] */ 11661 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x25114D2F: mov byte ptr [ebp - 0xc], 1 */ 11662 ecx = eax; /* 0x25114D33: mov ecx, eax */ 11663 eax = MEM32(ebp + (-0xC)); /* 0x25114D35: mov eax, dword ptr [ebp - 0xc] */ 11664 goto L_25114D44; /* 0x25114D38: jmp 0x25114d44 */ 11665 L_25114D3A: 11666 ecx = MEM32(ebp + (-0x4)); /* 0x25114D3A: mov ecx, dword ptr [ebp - 4] */ 11667 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x25114D3D: mov byte ptr [ebp - 0xc], 0 */ 11668 eax = MEM32(ebp + (-0xC)); /* 0x25114D41: mov eax, dword ptr [ebp - 0xc] */ 11669 L_25114D44: 11670 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x25114D44: mov byte ptr [ebp - 0xc], al */ 11671 eax = MEM32(ebp + 0x8); /* 0x25114D47: mov eax, dword ptr [ebp + 8] */ 11672 edx = MEM32(ebp + (-0xC)); /* 0x25114D4A: mov edx, dword ptr [ebp - 0xc] */ 11673 edi = POP32_VAL(esp); /* 0x25114D4D: pop edi */ 11674 esi = POP32_VAL(esp); /* 0x25114D4E: pop esi */ 11675 MEM32(eax) = ecx; /* 0x25114D4F: mov dword ptr [eax], ecx */ 11676 MEM32(eax + 0x4) = edx; /* 0x25114D51: mov dword ptr [eax + 4], edx */ 11677 ebx = POP32_VAL(esp); /* 0x25114D54: pop ebx */ 11678 esp = ebp; /* 0x25114D55: mov esp, ebp */ 11679 ebp = POP32_VAL(esp); /* 0x25114D57: pop ebp */ 11680 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25114D58: ret 8 */ 11681 RECOMP_REGS_OUT(); 11682 } 11683 11684 void sub_25114D60(void) { 11685 int _fpu_cmp = 0; 11686 uint32_t _cf = 0; 11687 int _df = 1; 11688 uint32_t _flag_k = FK_NONE; 11689 uint32_t _flag_a = 0, _flag_b = 0; 11690 uint32_t _itail_tgt = 0; 11691 RECOMP_REGS_LOCALS 11692 RECOMP_ENTER(0x25114D60u); 11693 11694 L_25114D60: 11695 PUSH32(esp, ebp); /* 0x25114D60: push ebp */ 11696 ebp = esp; /* 0x25114D61: mov ebp, esp */ 11697 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 11698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11699 esp = esp - 0x14u; /* 0x25114D63: sub esp, 0x14 */ 11700 _flag_k = FK_CMP; 11701 PUSH32(esp, ebx); /* 0x25114D66: push ebx */ 11702 PUSH32(esp, esi); /* 0x25114D67: push esi */ 11703 esi = ecx; /* 0x25114D68: mov esi, ecx */ 11704 eax = MEM32(esi + 0x2C); /* 0x25114D6A: mov eax, dword ptr [esi + 0x2c] */ 11705 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11706 ebx = 0; /* 0x25114D6D: xor ebx, ebx */ 11707 _cf = 0; 11708 _flag_k = FK_TEST; 11709 /* cmp eax, ebx */ /* 0x25114D6F: cmp eax, ebx */ 11710 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11712 _flag_k = FK_CMP; 11713 PUSH32(esp, edi); /* 0x25114D71: push edi */ 11714 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114D80; /* 0x25114D72: je 0x25114d80 */ 11715 L_25114D74: 11716 eax = MEM32(esi + 0x1C); /* 0x25114D74: mov eax, dword ptr [esi + 0x1c] */ 11717 /* cmp eax, MEM32(esi + 0x18) */ /* 0x25114D77: cmp eax, dword ptr [esi + 0x18] */ 11718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 11719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11720 _flag_k = FK_CMP; 11721 if (CMP_NE(_flag_a, _flag_b)) goto L_25114EA3; /* 0x25114D7A: jne 0x25114ea3 */ 11722 L_25114D80: 11723 PUSH32(esp, 0x1000u); /* 0x25114D80: push 0x1000 */ 11724 RECOMP_ICALL(0x251380D0u); /* 0x25114D85: call 0x251380d0 */ /* not lifted */ 11725 RECOMP_FLAGS_IN(); 11726 edi = eax; /* 0x25114D8A: mov edi, eax */ 11727 eax = MEM32(esi + 0x2C); /* 0x25114D8C: mov eax, dword ptr [esi + 0x2c] */ 11728 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11729 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11730 esp = esp + 4; /* 0x25114D8F: add esp, 4 */ 11731 _flag_k = FK_ADD; 11732 /* cmp eax, ebx */ /* 0x25114D92: cmp eax, ebx */ 11733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11735 _flag_k = FK_CMP; 11736 if (CMP_NE(_flag_a, _flag_b)) goto L_25114DEF; /* 0x25114D94: jne 0x25114def */ 11737 L_25114D96: 11738 PUSH32(esp, 0x20u); /* 0x25114D96: push 0x20 */ 11739 RECOMP_ICALL(0x251380D0u); /* 0x25114D98: call 0x251380d0 */ /* not lifted */ 11740 RECOMP_FLAGS_IN(); 11741 MEM32(esi + 0x24) = eax; /* 0x25114D9D: mov dword ptr [esi + 0x24], eax */ 11742 MEM32(esi + 0x28) = 8; /* 0x25114DA0: mov dword ptr [esi + 0x28], 8 */ 11743 MEM32(eax + 0xC) = ebx; /* 0x25114DA7: mov dword ptr [eax + 0xc], ebx */ 11744 ecx = MEM32(esi + 0x24); /* 0x25114DAA: mov ecx, dword ptr [esi + 0x24] */ 11745 MEM32(ecx + 0x10) = edi; /* 0x25114DAD: mov dword ptr [ecx + 0x10], edi */ 11746 edx = MEM32(esi + 0x24); /* 0x25114DB0: mov edx, dword ptr [esi + 0x24] */ 11747 MEM32(edx + 0x14) = ebx; /* 0x25114DB3: mov dword ptr [edx + 0x14], ebx */ 11748 eax = MEM32(esi + 0x24); /* 0x25114DB6: mov eax, dword ptr [esi + 0x24] */ 11749 ecx = MEM32(eax + 0x10); /* 0x25114DB9: mov ecx, dword ptr [eax + 0x10] */ 11750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11751 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11752 eax = eax + 0x10u; /* 0x25114DBC: add eax, 0x10 */ 11753 _flag_k = FK_ADD; 11754 ebx = esi + 0x4; /* 0x25114DBF: lea ebx, [esi + 4] */ 11755 MEM32(ebx) = ecx; /* 0x25114DC2: mov dword ptr [ebx], ecx */ 11756 edx = ecx + 0x1000; /* 0x25114DC4: lea edx, [ecx + 0x1000] */ 11757 MEM32(ebx + 0x4) = edx; /* 0x25114DCA: mov dword ptr [ebx + 4], edx */ 11758 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11759 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11760 esp = esp + 4; /* 0x25114DCD: add esp, 4 */ 11761 _flag_k = FK_ADD; 11762 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x800u); 11763 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11764 edi = edi + 0x800u; /* 0x25114DD0: add edi, 0x800 */ 11765 _flag_k = FK_ADD; 11766 MEM32(ebx + 0x8) = edi; /* 0x25114DD6: mov dword ptr [ebx + 8], edi */ 11767 MEM32(ebx + 0xC) = eax; /* 0x25114DD9: mov dword ptr [ebx + 0xc], eax */ 11768 ebx = esi + 0x14; /* 0x25114DDC: lea ebx, [esi + 0x14] */ 11769 MEM32(ebx) = ecx; /* 0x25114DDF: mov dword ptr [ebx], ecx */ 11770 MEM32(ebx + 0x4) = edx; /* 0x25114DE1: mov dword ptr [ebx + 4], edx */ 11771 MEM32(ebx + 0x8) = edi; /* 0x25114DE4: mov dword ptr [ebx + 8], edi */ 11772 MEM32(ebx + 0xC) = eax; /* 0x25114DE7: mov dword ptr [ebx + 0xc], eax */ 11773 goto L_25114EA3; /* 0x25114DEA: jmp 0x25114ea3 */ 11774 L_25114DEF: 11775 ecx = MEM32(esi + 0x28); /* 0x25114DEF: mov ecx, dword ptr [esi + 0x28] */ 11776 edx = MEM32(esi + 0x24); /* 0x25114DF2: mov edx, dword ptr [esi + 0x24] */ 11777 eax = MEM32(esi + 0x20); /* 0x25114DF5: mov eax, dword ptr [esi + 0x20] */ 11778 ecx = edx + ecx * 4 + (-0x8); /* 0x25114DF8: lea ecx, [edx + ecx*4 - 8] */ 11779 /* cmp eax, ecx */ /* 0x25114DFC: cmp eax, ecx */ 11780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11782 _flag_k = FK_CMP; 11783 if (CMP_AE(_flag_a, _flag_b)) goto L_25114E36; /* 0x25114DFE: jae 0x25114e36 */ 11784 L_25114E00: 11785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11786 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11787 eax = eax + 4; /* 0x25114E00: add eax, 4 */ 11788 _flag_k = FK_ADD; 11789 MEM32(esi + 0x20) = eax; /* 0x25114E03: mov dword ptr [esi + 0x20], eax */ 11790 MEM32(eax) = edi; /* 0x25114E06: mov dword ptr [eax], edi */ 11791 edx = MEM32(esi + 0x20); /* 0x25114E08: mov edx, dword ptr [esi + 0x20] */ 11792 MEM32(edx + 0x4) = ebx; /* 0x25114E0B: mov dword ptr [edx + 4], ebx */ 11793 eax = MEM32(esi + 0x20); /* 0x25114E0E: mov eax, dword ptr [esi + 0x20] */ 11794 PUSH32(esp, eax); /* 0x25114E11: push eax */ 11795 PUSH32(esp, edi); /* 0x25114E12: push edi */ 11796 ecx = ebp + (-0x14); /* 0x25114E13: lea ecx, [ebp - 0x14] */ 11797 RECOMP_ICALL(0x251165E0u); /* 0x25114E16: call 0x251165e0 */ /* not lifted */ 11798 RECOMP_FLAGS_IN(); 11799 edx = MEM32(eax); /* 0x25114E1B: mov edx, dword ptr [eax] */ 11800 ecx = esi + 0x14; /* 0x25114E1D: lea ecx, [esi + 0x14] */ 11801 MEM32(ecx) = edx; /* 0x25114E20: mov dword ptr [ecx], edx */ 11802 edx = MEM32(eax + 0x4); /* 0x25114E22: mov edx, dword ptr [eax + 4] */ 11803 MEM32(ecx + 0x4) = edx; /* 0x25114E25: mov dword ptr [ecx + 4], edx */ 11804 edx = MEM32(eax + 0x8); /* 0x25114E28: mov edx, dword ptr [eax + 8] */ 11805 MEM32(ecx + 0x8) = edx; /* 0x25114E2B: mov dword ptr [ecx + 8], edx */ 11806 eax = MEM32(eax + 0xC); /* 0x25114E2E: mov eax, dword ptr [eax + 0xc] */ 11807 MEM32(ecx + 0xC) = eax; /* 0x25114E31: mov dword ptr [ecx + 0xc], eax */ 11808 goto L_25114EA3; /* 0x25114E34: jmp 0x25114ea3 */ 11809 L_25114E36: 11810 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x10)); 11811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11812 eax = eax - MEM32(esi + 0x10); /* 0x25114E36: sub eax, dword ptr [esi + 0x10] */ 11813 _flag_k = FK_CMP; 11814 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25114E39: sar eax, 2 */ 11815 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11816 eax = (uint32_t)((int32_t)eax >> 2u); 11817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11818 eax = eax + 1; /* 0x25114E3C: inc eax */ 11819 _flag_k = FK_INC; 11820 ebx = eax; /* 0x25114E3D: mov ebx, eax */ 11821 PUSH32(esp, ebx); /* 0x25114E3F: push ebx */ 11822 ecx = esi; /* 0x25114E40: mov ecx, esi */ 11823 RECOMP_ICALL(0x251164E0u); /* 0x25114E42: call 0x251164e0 */ /* not lifted */ 11824 RECOMP_FLAGS_IN(); 11825 ecx = eax + ebx * 4; /* 0x25114E47: lea ecx, [eax + ebx*4] */ 11826 MEM32(ecx) = edi; /* 0x25114E4A: mov dword ptr [ecx], edi */ 11827 MEM32(ebp + (-0x4)) = ecx; /* 0x25114E4C: mov dword ptr [ebp - 4], ecx */ 11828 MEM32(eax + ebx * 4 + 0x4) = 0; /* 0x25114E4F: mov dword ptr [eax + ebx*4 + 4], 0 */ 11829 ecx = MEM32(esi + 0xC); /* 0x25114E57: mov ecx, dword ptr [esi + 0xc] */ 11830 PUSH32(esp, eax); /* 0x25114E5A: push eax */ 11831 PUSH32(esp, ecx); /* 0x25114E5B: push ecx */ 11832 ecx = ebp + (-0x14); /* 0x25114E5C: lea ecx, [ebp - 0x14] */ 11833 RECOMP_ICALL(0x251165E0u); /* 0x25114E5F: call 0x251165e0 */ /* not lifted */ 11834 RECOMP_FLAGS_IN(); 11835 ecx = MEM32(eax); /* 0x25114E64: mov ecx, dword ptr [eax] */ 11836 edx = esi + 0x4; /* 0x25114E66: lea edx, [esi + 4] */ 11837 MEM32(edx) = ecx; /* 0x25114E69: mov dword ptr [edx], ecx */ 11838 ecx = MEM32(eax + 0x4); /* 0x25114E6B: mov ecx, dword ptr [eax + 4] */ 11839 MEM32(edx + 0x4) = ecx; /* 0x25114E6E: mov dword ptr [edx + 4], ecx */ 11840 ecx = MEM32(eax + 0x8); /* 0x25114E71: mov ecx, dword ptr [eax + 8] */ 11841 MEM32(edx + 0x8) = ecx; /* 0x25114E74: mov dword ptr [edx + 8], ecx */ 11842 ecx = MEM32(ebp + (-0x4)); /* 0x25114E77: mov ecx, dword ptr [ebp - 4] */ 11843 eax = MEM32(eax + 0xC); /* 0x25114E7A: mov eax, dword ptr [eax + 0xc] */ 11844 PUSH32(esp, ecx); /* 0x25114E7D: push ecx */ 11845 PUSH32(esp, edi); /* 0x25114E7E: push edi */ 11846 ecx = ebp + (-0x14); /* 0x25114E7F: lea ecx, [ebp - 0x14] */ 11847 MEM32(edx + 0xC) = eax; /* 0x25114E82: mov dword ptr [edx + 0xc], eax */ 11848 RECOMP_ICALL(0x251165E0u); /* 0x25114E85: call 0x251165e0 */ /* not lifted */ 11849 RECOMP_FLAGS_IN(); 11850 ecx = MEM32(eax); /* 0x25114E8A: mov ecx, dword ptr [eax] */ 11851 edx = esi + 0x14; /* 0x25114E8C: lea edx, [esi + 0x14] */ 11852 MEM32(edx) = ecx; /* 0x25114E8F: mov dword ptr [edx], ecx */ 11853 ecx = MEM32(eax + 0x4); /* 0x25114E91: mov ecx, dword ptr [eax + 4] */ 11854 MEM32(edx + 0x4) = ecx; /* 0x25114E94: mov dword ptr [edx + 4], ecx */ 11855 ecx = MEM32(eax + 0x8); /* 0x25114E97: mov ecx, dword ptr [eax + 8] */ 11856 MEM32(edx + 0x8) = ecx; /* 0x25114E9A: mov dword ptr [edx + 8], ecx */ 11857 eax = MEM32(eax + 0xC); /* 0x25114E9D: mov eax, dword ptr [eax + 0xc] */ 11858 MEM32(edx + 0xC) = eax; /* 0x25114EA0: mov dword ptr [edx + 0xc], eax */ 11859 L_25114EA3: 11860 eax = MEM32(esi + 0x1C); /* 0x25114EA3: mov eax, dword ptr [esi + 0x1c] */ 11861 ecx = MEM32(esi + 0x18); /* 0x25114EA6: mov ecx, dword ptr [esi + 0x18] */ 11862 /* cmp eax, ecx */ /* 0x25114EA9: cmp eax, ecx */ 11863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11865 _flag_k = FK_CMP; 11866 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EAB: je 0x25114eda */ 11867 L_25114EAD: 11868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11870 eax = eax + 4; /* 0x25114EAD: add eax, 4 */ 11871 _flag_k = FK_ADD; 11872 /* cmp eax, ecx */ /* 0x25114EB0: cmp eax, ecx */ 11873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11875 _flag_k = FK_CMP; 11876 MEM32(esi + 0x1C) = eax; /* 0x25114EB2: mov dword ptr [esi + 0x1c], eax */ 11877 if (CMP_NE(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EB5: jne 0x25114eda */ 11878 L_25114EB7: 11879 eax = MEM32(esi + 0x20); /* 0x25114EB7: mov eax, dword ptr [esi + 0x20] */ 11880 ecx = MEM32(eax + 0x4); /* 0x25114EBA: mov ecx, dword ptr [eax + 4] */ 11881 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11882 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11883 eax = eax + 4; /* 0x25114EBD: add eax, 4 */ 11884 _flag_k = FK_ADD; 11885 /* test ecx, ecx */ /* 0x25114EC0: test ecx, ecx */ 11886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11887 _cf = 0; 11888 _flag_k = FK_TEST; 11889 if (TEST_Z(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EC2: je 0x25114eda */ 11890 L_25114EC4: 11891 MEM32(esi + 0x20) = eax; /* 0x25114EC4: mov dword ptr [esi + 0x20], eax */ 11892 eax = MEM32(eax); /* 0x25114EC7: mov eax, dword ptr [eax] */ 11893 MEM32(esi + 0x14) = eax; /* 0x25114EC9: mov dword ptr [esi + 0x14], eax */ 11894 ecx = MEM32(esi + 0x14); /* 0x25114ECC: mov ecx, dword ptr [esi + 0x14] */ 11895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u); 11896 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11897 eax = eax + 0x1000u; /* 0x25114ECF: add eax, 0x1000 */ 11898 _flag_k = FK_ADD; 11899 MEM32(esi + 0x18) = eax; /* 0x25114ED4: mov dword ptr [esi + 0x18], eax */ 11900 MEM32(esi + 0x1C) = ecx; /* 0x25114ED7: mov dword ptr [esi + 0x1c], ecx */ 11901 L_25114EDA: 11902 edx = MEM32(esi + 0x18); /* 0x25114EDA: mov edx, dword ptr [esi + 0x18] */ 11903 eax = MEM32(esi + 0x1C); /* 0x25114EDD: mov eax, dword ptr [esi + 0x1c] */ 11904 ecx = MEM32(esi + 0x14); /* 0x25114EE0: mov ecx, dword ptr [esi + 0x14] */ 11905 edi = MEM32(esi + 0x20); /* 0x25114EE3: mov edi, dword ptr [esi + 0x20] */ 11906 MEM32(ebp + (-0x10)) = edx; /* 0x25114EE6: mov dword ptr [ebp - 0x10], edx */ 11907 edx = eax + (-0x4); /* 0x25114EE9: lea edx, [eax - 4] */ 11908 eax = edx; /* 0x25114EEC: mov eax, edx */ 11909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11911 eax = eax - ecx; /* 0x25114EEE: sub eax, ecx */ 11912 _flag_k = FK_CMP; 11913 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25114EF0: sar eax, 2 */ 11914 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11915 eax = (uint32_t)((int32_t)eax >> 2u); 11916 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_S, _cf)) goto L_25114EFC; /* 0x25114EF3: js 0x25114efc */ 11917 L_25114EF5: 11918 ecx = eax; /* 0x25114EF5: mov ecx, eax */ 11919 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25114EF7: shr ecx, 0xa */ 11920 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11921 ecx = ecx >> 10u; /* 0x25114EF7: shr ecx, 0xa */ 11922 goto L_25114F08; /* 0x25114EFA: jmp 0x25114f08 */ 11923 L_25114EFC: 11924 ecx = 0x3FFu; /* 0x25114EFC: mov ecx, 0x3ff */ 11925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11927 ecx = ecx - eax; /* 0x25114F01: sub ecx, eax */ 11928 _flag_k = FK_CMP; 11929 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25114F03: shr ecx, 0xa */ 11930 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11931 ecx = ecx >> 10u; /* 0x25114F03: shr ecx, 0xa */ 11932 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(ecx); 11933 _cf = (ecx) != 0; 11934 ecx = (uint32_t)(-(int32_t)ecx); /* 0x25114F06: neg ecx */ 11935 _flag_k = FK_CMP; 11936 L_25114F08: 11937 /* test ecx, ecx */ /* 0x25114F08: test ecx, ecx */ 11938 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11939 _cf = 0; 11940 _flag_k = FK_TEST; 11941 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114F10; /* 0x25114F0A: jne 0x25114f10 */ 11942 L_25114F0C: 11943 eax = edx; /* 0x25114F0C: mov eax, edx */ 11944 goto L_25114F1B; /* 0x25114F0E: jmp 0x25114f1b */ 11945 L_25114F10: 11946 edx = MEM32(edi + ecx * 4); /* 0x25114F10: mov edx, dword ptr [edi + ecx*4] */ 11947 if (10u) _cf = (((ecx) >> 22) & 1u); /* 0x25114F13: shl ecx, 0xa */ 11948 if (10u) { _flag_a = recomp_flags_pack((ecx << 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11949 ecx = ecx << 10u; /* 0x25114F13: shl ecx, 0xa */ 11950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11952 eax = eax - ecx; /* 0x25114F16: sub eax, ecx */ 11953 _flag_k = FK_CMP; 11954 eax = edx + eax * 4; /* 0x25114F18: lea eax, [edx + eax*4] */ 11955 L_25114F1B: 11956 /* test eax, eax */ /* 0x25114F1B: test eax, eax */ 11957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11958 _cf = 0; 11959 _flag_k = FK_TEST; 11960 if (TEST_Z(_flag_a, _flag_b)) goto L_25114F26; /* 0x25114F1D: je 0x25114f26 */ 11961 L_25114F1F: 11962 ecx = MEM32(ebp + 0x8); /* 0x25114F1F: mov ecx, dword ptr [ebp + 8] */ 11963 edx = MEM32(ecx); /* 0x25114F22: mov edx, dword ptr [ecx] */ 11964 MEM32(eax) = edx; /* 0x25114F24: mov dword ptr [eax], edx */ 11965 L_25114F26: 11966 eax = MEM32(esi + 0x2C); /* 0x25114F26: mov eax, dword ptr [esi + 0x2c] */ 11967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11968 eax = eax + 1; /* 0x25114F29: inc eax */ 11969 _flag_k = FK_INC; 11970 edi = POP32_VAL(esp); /* 0x25114F2A: pop edi */ 11971 MEM32(esi + 0x2C) = eax; /* 0x25114F2B: mov dword ptr [esi + 0x2c], eax */ 11972 esi = POP32_VAL(esp); /* 0x25114F2E: pop esi */ 11973 ebx = POP32_VAL(esp); /* 0x25114F2F: pop ebx */ 11974 esp = ebp; /* 0x25114F30: mov esp, ebp */ 11975 ebp = POP32_VAL(esp); /* 0x25114F32: pop ebp */ 11976 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114F33: ret 4 */ 11977 RECOMP_REGS_OUT(); 11978 } 11979 11980 void sub_25114EA3(void) { 11981 int _fpu_cmp = 0; 11982 uint32_t _cf = 0; 11983 int _df = 1; 11984 uint32_t _flag_k = FK_NONE; 11985 uint32_t _flag_a = 0, _flag_b = 0; 11986 uint32_t _itail_tgt = 0; 11987 RECOMP_REGS_LOCALS 11988 RECOMP_ENTER(0x25114EA3u); 11989 11990 L_25114EA3: 11991 eax = MEM32(esi + 0x1C); /* 0x25114EA3: mov eax, dword ptr [esi + 0x1c] */ 11992 ecx = MEM32(esi + 0x18); /* 0x25114EA6: mov ecx, dword ptr [esi + 0x18] */ 11993 /* cmp eax, ecx */ /* 0x25114EA9: cmp eax, ecx */ 11994 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11996 _flag_k = FK_CMP; 11997 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EAB: je 0x25114eda */ 11998 L_25114EAD: 11999 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 12000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12001 eax = eax + 4; /* 0x25114EAD: add eax, 4 */ 12002 _flag_k = FK_ADD; 12003 /* cmp eax, ecx */ /* 0x25114EB0: cmp eax, ecx */ 12004 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12006 _flag_k = FK_CMP; 12007 MEM32(esi + 0x1C) = eax; /* 0x25114EB2: mov dword ptr [esi + 0x1c], eax */ 12008 if (CMP_NE(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EB5: jne 0x25114eda */ 12009 L_25114EB7: 12010 eax = MEM32(esi + 0x20); /* 0x25114EB7: mov eax, dword ptr [esi + 0x20] */ 12011 ecx = MEM32(eax + 0x4); /* 0x25114EBA: mov ecx, dword ptr [eax + 4] */ 12012 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 12013 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12014 eax = eax + 4; /* 0x25114EBD: add eax, 4 */ 12015 _flag_k = FK_ADD; 12016 /* test ecx, ecx */ /* 0x25114EC0: test ecx, ecx */ 12017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12018 _cf = 0; 12019 _flag_k = FK_TEST; 12020 if (TEST_Z(_flag_a, _flag_b)) goto L_25114EDA; /* 0x25114EC2: je 0x25114eda */ 12021 L_25114EC4: 12022 MEM32(esi + 0x20) = eax; /* 0x25114EC4: mov dword ptr [esi + 0x20], eax */ 12023 eax = MEM32(eax); /* 0x25114EC7: mov eax, dword ptr [eax] */ 12024 MEM32(esi + 0x14) = eax; /* 0x25114EC9: mov dword ptr [esi + 0x14], eax */ 12025 ecx = MEM32(esi + 0x14); /* 0x25114ECC: mov ecx, dword ptr [esi + 0x14] */ 12026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u); 12027 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12028 eax = eax + 0x1000u; /* 0x25114ECF: add eax, 0x1000 */ 12029 _flag_k = FK_ADD; 12030 MEM32(esi + 0x18) = eax; /* 0x25114ED4: mov dword ptr [esi + 0x18], eax */ 12031 MEM32(esi + 0x1C) = ecx; /* 0x25114ED7: mov dword ptr [esi + 0x1c], ecx */ 12032 L_25114EDA: 12033 edx = MEM32(esi + 0x18); /* 0x25114EDA: mov edx, dword ptr [esi + 0x18] */ 12034 eax = MEM32(esi + 0x1C); /* 0x25114EDD: mov eax, dword ptr [esi + 0x1c] */ 12035 ecx = MEM32(esi + 0x14); /* 0x25114EE0: mov ecx, dword ptr [esi + 0x14] */ 12036 edi = MEM32(esi + 0x20); /* 0x25114EE3: mov edi, dword ptr [esi + 0x20] */ 12037 MEM32(ebp + (-0x10)) = edx; /* 0x25114EE6: mov dword ptr [ebp - 0x10], edx */ 12038 edx = eax + (-0x4); /* 0x25114EE9: lea edx, [eax - 4] */ 12039 eax = edx; /* 0x25114EEC: mov eax, edx */ 12040 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12042 eax = eax - ecx; /* 0x25114EEE: sub eax, ecx */ 12043 _flag_k = FK_CMP; 12044 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25114EF0: sar eax, 2 */ 12045 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12046 eax = (uint32_t)((int32_t)eax >> 2u); 12047 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_S, _cf)) goto L_25114EFC; /* 0x25114EF3: js 0x25114efc */ 12048 L_25114EF5: 12049 ecx = eax; /* 0x25114EF5: mov ecx, eax */ 12050 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25114EF7: shr ecx, 0xa */ 12051 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12052 ecx = ecx >> 10u; /* 0x25114EF7: shr ecx, 0xa */ 12053 goto L_25114F08; /* 0x25114EFA: jmp 0x25114f08 */ 12054 L_25114EFC: 12055 ecx = 0x3FFu; /* 0x25114EFC: mov ecx, 0x3ff */ 12056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12058 ecx = ecx - eax; /* 0x25114F01: sub ecx, eax */ 12059 _flag_k = FK_CMP; 12060 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25114F03: shr ecx, 0xa */ 12061 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12062 ecx = ecx >> 10u; /* 0x25114F03: shr ecx, 0xa */ 12063 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(ecx); 12064 _cf = (ecx) != 0; 12065 ecx = (uint32_t)(-(int32_t)ecx); /* 0x25114F06: neg ecx */ 12066 _flag_k = FK_CMP; 12067 L_25114F08: 12068 /* test ecx, ecx */ /* 0x25114F08: test ecx, ecx */ 12069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12070 _cf = 0; 12071 _flag_k = FK_TEST; 12072 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114F10; /* 0x25114F0A: jne 0x25114f10 */ 12073 L_25114F0C: 12074 eax = edx; /* 0x25114F0C: mov eax, edx */ 12075 goto L_25114F1B; /* 0x25114F0E: jmp 0x25114f1b */ 12076 L_25114F10: 12077 edx = MEM32(edi + ecx * 4); /* 0x25114F10: mov edx, dword ptr [edi + ecx*4] */ 12078 if (10u) _cf = (((ecx) >> 22) & 1u); /* 0x25114F13: shl ecx, 0xa */ 12079 if (10u) { _flag_a = recomp_flags_pack((ecx << 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12080 ecx = ecx << 10u; /* 0x25114F13: shl ecx, 0xa */ 12081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12083 eax = eax - ecx; /* 0x25114F16: sub eax, ecx */ 12084 _flag_k = FK_CMP; 12085 eax = edx + eax * 4; /* 0x25114F18: lea eax, [edx + eax*4] */ 12086 L_25114F1B: 12087 /* test eax, eax */ /* 0x25114F1B: test eax, eax */ 12088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12089 _cf = 0; 12090 _flag_k = FK_TEST; 12091 if (TEST_Z(_flag_a, _flag_b)) goto L_25114F26; /* 0x25114F1D: je 0x25114f26 */ 12092 L_25114F1F: 12093 ecx = MEM32(ebp + 0x8); /* 0x25114F1F: mov ecx, dword ptr [ebp + 8] */ 12094 edx = MEM32(ecx); /* 0x25114F22: mov edx, dword ptr [ecx] */ 12095 MEM32(eax) = edx; /* 0x25114F24: mov dword ptr [eax], edx */ 12096 L_25114F26: 12097 eax = MEM32(esi + 0x2C); /* 0x25114F26: mov eax, dword ptr [esi + 0x2c] */ 12098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12099 eax = eax + 1; /* 0x25114F29: inc eax */ 12100 _flag_k = FK_INC; 12101 edi = POP32_VAL(esp); /* 0x25114F2A: pop edi */ 12102 MEM32(esi + 0x2C) = eax; /* 0x25114F2B: mov dword ptr [esi + 0x2c], eax */ 12103 esi = POP32_VAL(esp); /* 0x25114F2E: pop esi */ 12104 ebx = POP32_VAL(esp); /* 0x25114F2F: pop ebx */ 12105 esp = ebp; /* 0x25114F30: mov esp, ebp */ 12106 ebp = POP32_VAL(esp); /* 0x25114F32: pop ebp */ 12107 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114F33: ret 4 */ 12108 RECOMP_REGS_OUT(); 12109 } 12110 12111 void sub_25114F08(void) { 12112 int _fpu_cmp = 0; 12113 uint32_t _cf = 0; 12114 int _df = 1; 12115 uint32_t _flag_k = FK_NONE; 12116 uint32_t _flag_a = 0, _flag_b = 0; 12117 uint32_t _itail_tgt = 0; 12118 RECOMP_REGS_LOCALS 12119 RECOMP_ENTER(0x25114F08u); 12120 12121 L_25114F08: 12122 /* test ecx, ecx */ /* 0x25114F08: test ecx, ecx */ 12123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12124 _cf = 0; 12125 _flag_k = FK_TEST; 12126 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114F10; /* 0x25114F0A: jne 0x25114f10 */ 12127 L_25114F0C: 12128 eax = edx; /* 0x25114F0C: mov eax, edx */ 12129 goto L_25114F1B; /* 0x25114F0E: jmp 0x25114f1b */ 12130 L_25114F10: 12131 edx = MEM32(edi + ecx * 4); /* 0x25114F10: mov edx, dword ptr [edi + ecx*4] */ 12132 if (10u) _cf = (((ecx) >> 22) & 1u); /* 0x25114F13: shl ecx, 0xa */ 12133 if (10u) { _flag_a = recomp_flags_pack((ecx << 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12134 ecx = ecx << 10u; /* 0x25114F13: shl ecx, 0xa */ 12135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12137 eax = eax - ecx; /* 0x25114F16: sub eax, ecx */ 12138 _flag_k = FK_CMP; 12139 eax = edx + eax * 4; /* 0x25114F18: lea eax, [edx + eax*4] */ 12140 L_25114F1B: 12141 /* test eax, eax */ /* 0x25114F1B: test eax, eax */ 12142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12143 _cf = 0; 12144 _flag_k = FK_TEST; 12145 if (TEST_Z(_flag_a, _flag_b)) goto L_25114F26; /* 0x25114F1D: je 0x25114f26 */ 12146 L_25114F1F: 12147 ecx = MEM32(ebp + 0x8); /* 0x25114F1F: mov ecx, dword ptr [ebp + 8] */ 12148 edx = MEM32(ecx); /* 0x25114F22: mov edx, dword ptr [ecx] */ 12149 MEM32(eax) = edx; /* 0x25114F24: mov dword ptr [eax], edx */ 12150 L_25114F26: 12151 eax = MEM32(esi + 0x2C); /* 0x25114F26: mov eax, dword ptr [esi + 0x2c] */ 12152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12153 eax = eax + 1; /* 0x25114F29: inc eax */ 12154 _flag_k = FK_INC; 12155 edi = POP32_VAL(esp); /* 0x25114F2A: pop edi */ 12156 MEM32(esi + 0x2C) = eax; /* 0x25114F2B: mov dword ptr [esi + 0x2c], eax */ 12157 esi = POP32_VAL(esp); /* 0x25114F2E: pop esi */ 12158 ebx = POP32_VAL(esp); /* 0x25114F2F: pop ebx */ 12159 esp = ebp; /* 0x25114F30: mov esp, ebp */ 12160 ebp = POP32_VAL(esp); /* 0x25114F32: pop ebp */ 12161 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114F33: ret 4 */ 12162 RECOMP_REGS_OUT(); 12163 } 12164 12165 void sub_25114F1B(void) { 12166 int _fpu_cmp = 0; 12167 uint32_t _cf = 0; 12168 int _df = 1; 12169 uint32_t _flag_k = FK_NONE; 12170 uint32_t _flag_a = 0, _flag_b = 0; 12171 uint32_t _itail_tgt = 0; 12172 RECOMP_REGS_LOCALS 12173 RECOMP_ENTER(0x25114F1Bu); 12174 12175 L_25114F1B: 12176 /* test eax, eax */ /* 0x25114F1B: test eax, eax */ 12177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12178 _cf = 0; 12179 _flag_k = FK_TEST; 12180 if (TEST_Z(_flag_a, _flag_b)) goto L_25114F26; /* 0x25114F1D: je 0x25114f26 */ 12181 L_25114F1F: 12182 ecx = MEM32(ebp + 0x8); /* 0x25114F1F: mov ecx, dword ptr [ebp + 8] */ 12183 edx = MEM32(ecx); /* 0x25114F22: mov edx, dword ptr [ecx] */ 12184 MEM32(eax) = edx; /* 0x25114F24: mov dword ptr [eax], edx */ 12185 L_25114F26: 12186 eax = MEM32(esi + 0x2C); /* 0x25114F26: mov eax, dword ptr [esi + 0x2c] */ 12187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12188 eax = eax + 1; /* 0x25114F29: inc eax */ 12189 _flag_k = FK_INC; 12190 edi = POP32_VAL(esp); /* 0x25114F2A: pop edi */ 12191 MEM32(esi + 0x2C) = eax; /* 0x25114F2B: mov dword ptr [esi + 0x2c], eax */ 12192 esi = POP32_VAL(esp); /* 0x25114F2E: pop esi */ 12193 ebx = POP32_VAL(esp); /* 0x25114F2F: pop ebx */ 12194 esp = ebp; /* 0x25114F30: mov esp, ebp */ 12195 ebp = POP32_VAL(esp); /* 0x25114F32: pop ebp */ 12196 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25114F33: ret 4 */ 12197 RECOMP_REGS_OUT(); 12198 } 12199 12200 void sub_25114F40(void) { 12201 int _fpu_cmp = 0; 12202 uint32_t _cf = 0; 12203 int _df = 1; 12204 uint32_t _flag_k = FK_NONE; 12205 uint32_t _flag_a = 0, _flag_b = 0; 12206 uint32_t _itail_tgt = 0; 12207 RECOMP_REGS_LOCALS 12208 RECOMP_ENTER(0x25114F40u); 12209 12210 L_25114F40: 12211 PUSH32(esp, ebp); /* 0x25114F40: push ebp */ 12212 ebp = esp; /* 0x25114F41: mov ebp, esp */ 12213 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12215 esp = esp - 0xCu; /* 0x25114F43: sub esp, 0xc */ 12216 _flag_k = FK_CMP; 12217 PUSH32(esp, ebx); /* 0x25114F46: push ebx */ 12218 PUSH32(esp, esi); /* 0x25114F47: push esi */ 12219 PUSH32(esp, edi); /* 0x25114F48: push edi */ 12220 edi = ecx; /* 0x25114F49: mov edi, ecx */ 12221 esi = MEM32(edi + 0x4); /* 0x25114F4B: mov esi, dword ptr [edi + 4] */ 12222 ebx = MEM32(esi + 0x4); /* 0x25114F4E: mov ebx, dword ptr [esi + 4] */ 12223 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x25114F51: cmp ebx, dword ptr [edi + 8] */ 12224 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12226 _flag_k = FK_CMP; 12227 SET_LO8(eax, 1); /* 0x25114F54: mov al, 1 */ 12228 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114F7B; /* 0x25114F56: je 0x25114f7b */ 12229 L_25114F58: 12230 ecx = MEM32(ebp + 0xC); /* 0x25114F58: mov ecx, dword ptr [ebp + 0xc] */ 12231 eax = ebx + 0xC; /* 0x25114F5B: lea eax, [ebx + 0xc] */ 12232 PUSH32(esp, eax); /* 0x25114F5E: push eax */ 12233 PUSH32(esp, ecx); /* 0x25114F5F: push ecx */ 12234 esi = ebx; /* 0x25114F60: mov esi, ebx */ 12235 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114F62: call dword ptr [0x251511cc] */ 12236 RECOMP_FLAGS_IN(); 12237 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12238 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12239 esp = esp + 8; /* 0x25114F68: add esp, 8 */ 12240 _flag_k = FK_ADD; 12241 /* test LO8(eax), LO8(eax) */ /* 0x25114F6B: test al, al */ 12242 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12243 _cf = 0; 12244 _flag_k = FK_NARROW(FK_TEST, 24); 12245 if (TEST_Z(_flag_a, _flag_b)) goto L_25114F73; /* 0x25114F6D: je 0x25114f73 */ 12246 L_25114F6F: 12247 ebx = MEM32(ebx); /* 0x25114F6F: mov ebx, dword ptr [ebx] */ 12248 goto L_25114F76; /* 0x25114F71: jmp 0x25114f76 */ 12249 L_25114F73: 12250 ebx = MEM32(ebx + 0x8); /* 0x25114F73: mov ebx, dword ptr [ebx + 8] */ 12251 L_25114F76: 12252 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x25114F76: cmp ebx, dword ptr [edi + 8] */ 12253 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12255 _flag_k = FK_CMP; 12256 RECOMP_BACKEDGE(); 12257 if (CMP_NE(_flag_a, _flag_b)) goto L_25114F58; /* 0x25114F79: jne 0x25114f58 */ 12258 L_25114F7B: 12259 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x25114F7B: mov cl, byte ptr [edi + 0xc] */ 12260 /* test LO8(ecx), LO8(ecx) */ /* 0x25114F7E: test cl, cl */ 12261 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12262 _cf = 0; 12263 _flag_k = FK_NARROW(FK_TEST, 24); 12264 if (TEST_Z(_flag_a, _flag_b)) goto L_25115101; /* 0x25114F80: je 0x25115101 */ 12265 L_25114F86: 12266 PUSH32(esp, 0); /* 0x25114F86: push 0 */ 12267 PUSH32(esp, esi); /* 0x25114F88: push esi */ 12268 ecx = edi; /* 0x25114F89: mov ecx, edi */ 12269 RECOMP_ICALL(0x25116140u); /* 0x25114F8B: call 0x25116140 */ /* not lifted */ 12270 RECOMP_FLAGS_IN(); 12271 edx = MEM32(edi + 0x8); /* 0x25114F90: mov edx, dword ptr [edi + 8] */ 12272 MEM32(eax) = edx; /* 0x25114F93: mov dword ptr [eax], edx */ 12273 ecx = MEM32(edi + 0x8); /* 0x25114F95: mov ecx, dword ptr [edi + 8] */ 12274 edx = MEM32(ebp + 0xC); /* 0x25114F98: mov edx, dword ptr [ebp + 0xc] */ 12275 MEM32(ebp + (-0x4)) = eax; /* 0x25114F9B: mov dword ptr [ebp - 4], eax */ 12276 MEM32(eax + 0x8) = ecx; /* 0x25114F9E: mov dword ptr [eax + 8], ecx */ 12277 PUSH32(esp, edx); /* 0x25114FA1: push edx */ 12278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 12279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12280 eax = eax + 0xCu; /* 0x25114FA2: add eax, 0xc */ 12281 _flag_k = FK_ADD; 12282 PUSH32(esp, eax); /* 0x25114FA5: push eax */ 12283 RECOMP_ICALL(0x251166E0u); /* 0x25114FA6: call 0x251166e0 */ /* not lifted */ 12284 RECOMP_FLAGS_IN(); 12285 ecx = MEM32(edi + 0x10); /* 0x25114FAB: mov ecx, dword ptr [edi + 0x10] */ 12286 eax = MEM32(edi + 0x4); /* 0x25114FAE: mov eax, dword ptr [edi + 4] */ 12287 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12289 esp = esp + 8; /* 0x25114FB1: add esp, 8 */ 12290 _flag_k = FK_ADD; 12291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12292 ecx = ecx + 1; /* 0x25114FB4: inc ecx */ 12293 _flag_k = FK_INC; 12294 /* cmp esi, eax */ /* 0x25114FB5: cmp esi, eax */ 12295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12297 _flag_k = FK_CMP; 12298 MEM32(edi + 0x10) = ecx; /* 0x25114FB7: mov dword ptr [edi + 0x10], ecx */ 12299 if (CMP_EQ(_flag_a, _flag_b)) goto L_25114FE9; /* 0x25114FBA: je 0x25114fe9 */ 12300 L_25114FBC: 12301 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x25114FBC: cmp ebx, dword ptr [edi + 8] */ 12302 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12304 _flag_k = FK_CMP; 12305 if (CMP_NE(_flag_a, _flag_b)) goto L_25114FE9; /* 0x25114FBF: jne 0x25114fe9 */ 12306 L_25114FC1: 12307 ecx = MEM32(ebp + 0xC); /* 0x25114FC1: mov ecx, dword ptr [ebp + 0xc] */ 12308 eax = esi + 0xC; /* 0x25114FC4: lea eax, [esi + 0xc] */ 12309 PUSH32(esp, eax); /* 0x25114FC7: push eax */ 12310 PUSH32(esp, ecx); /* 0x25114FC8: push ecx */ 12311 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25114FC9: call dword ptr [0x251511cc] */ 12312 RECOMP_FLAGS_IN(); 12313 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12315 esp = esp + 8; /* 0x25114FCF: add esp, 8 */ 12316 _flag_k = FK_ADD; 12317 /* test LO8(eax), LO8(eax) */ /* 0x25114FD2: test al, al */ 12318 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12319 _cf = 0; 12320 _flag_k = FK_NARROW(FK_TEST, 24); 12321 if (TEST_NZ(_flag_a, _flag_b)) goto L_25114FE9; /* 0x25114FD4: jne 0x25114fe9 */ 12322 L_25114FD6: 12323 ebx = MEM32(ebp + (-0x4)); /* 0x25114FD6: mov ebx, dword ptr [ebp - 4] */ 12324 MEM32(esi + 0x8) = ebx; /* 0x25114FD9: mov dword ptr [esi + 8], ebx */ 12325 eax = MEM32(edi + 0x4); /* 0x25114FDC: mov eax, dword ptr [edi + 4] */ 12326 /* cmp esi, MEM32(eax + 0x8) */ /* 0x25114FDF: cmp esi, dword ptr [eax + 8] */ 12327 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12329 _flag_k = FK_CMP; 12330 if (CMP_NE(_flag_a, _flag_b)) goto L_2511500C; /* 0x25114FE2: jne 0x2511500c */ 12331 L_25114FE4: 12332 MEM32(eax + 0x8) = ebx; /* 0x25114FE4: mov dword ptr [eax + 8], ebx */ 12333 goto L_2511500C; /* 0x25114FE7: jmp 0x2511500c */ 12334 L_25114FE9: 12335 ecx = MEM32(ebp + (-0x4)); /* 0x25114FE9: mov ecx, dword ptr [ebp - 4] */ 12336 MEM32(esi) = ecx; /* 0x25114FEC: mov dword ptr [esi], ecx */ 12337 eax = MEM32(edi + 0x4); /* 0x25114FEE: mov eax, dword ptr [edi + 4] */ 12338 /* cmp esi, eax */ /* 0x25114FF1: cmp esi, eax */ 12339 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12341 _flag_k = FK_CMP; 12342 if (CMP_NE(_flag_a, _flag_b)) goto L_25115000; /* 0x25114FF3: jne 0x25115000 */ 12343 L_25114FF5: 12344 MEM32(eax + 0x4) = ecx; /* 0x25114FF5: mov dword ptr [eax + 4], ecx */ 12345 edx = MEM32(edi + 0x4); /* 0x25114FF8: mov edx, dword ptr [edi + 4] */ 12346 MEM32(edx + 0x8) = ecx; /* 0x25114FFB: mov dword ptr [edx + 8], ecx */ 12347 goto L_25115009; /* 0x25114FFE: jmp 0x25115009 */ 12348 L_25115000: 12349 /* cmp esi, MEM32(eax) */ /* 0x25115000: cmp esi, dword ptr [eax] */ 12350 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 12351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12352 _flag_k = FK_CMP; 12353 if (CMP_NE(_flag_a, _flag_b)) goto L_25115009; /* 0x25115002: jne 0x25115009 */ 12354 L_25115004: 12355 ecx = MEM32(ebp + (-0x4)); /* 0x25115004: mov ecx, dword ptr [ebp - 4] */ 12356 MEM32(eax) = ecx; /* 0x25115007: mov dword ptr [eax], ecx */ 12357 L_25115009: 12358 ebx = MEM32(ebp + (-0x4)); /* 0x25115009: mov ebx, dword ptr [ebp - 4] */ 12359 L_2511500C: 12360 edx = MEM32(edi + 0x4); /* 0x2511500C: mov edx, dword ptr [edi + 4] */ 12361 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x2511500F: cmp ebx, dword ptr [edx + 4] */ 12362 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12364 _flag_k = FK_CMP; 12365 esi = ebx; /* 0x25115012: mov esi, ebx */ 12366 if (CMP_EQ(_flag_a, _flag_b)) goto L_251150DF; /* 0x25115014: je 0x251150df */ 12367 L_2511501A: 12368 eax = MEM32(esi + 0x4); /* 0x2511501A: mov eax, dword ptr [esi + 4] */ 12369 SET_LO8(ecx, MEM8(eax + 0x20)); /* 0x2511501D: mov cl, byte ptr [eax + 0x20] */ 12370 /* test LO8(ecx), LO8(ecx) */ /* 0x25115020: test cl, cl */ 12371 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12372 _cf = 0; 12373 _flag_k = FK_NARROW(FK_TEST, 24); 12374 if (TEST_NZ(_flag_a, _flag_b)) goto L_251150DF; /* 0x25115022: jne 0x251150df */ 12375 L_25115028: 12376 edx = MEM32(eax + 0x4); /* 0x25115028: mov edx, dword ptr [eax + 4] */ 12377 ecx = MEM32(edx); /* 0x2511502B: mov ecx, dword ptr [edx] */ 12378 /* cmp eax, ecx */ /* 0x2511502D: cmp eax, ecx */ 12379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12381 _flag_k = FK_CMP; 12382 if (CMP_NE(_flag_a, _flag_b)) goto L_25115085; /* 0x2511502F: jne 0x25115085 */ 12383 L_25115031: 12384 ecx = MEM32(edx + 0x8); /* 0x25115031: mov ecx, dword ptr [edx + 8] */ 12385 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115034: mov dl, byte ptr [ecx + 0x20] */ 12386 /* test LO8(edx), LO8(edx) */ /* 0x25115037: test dl, dl */ 12387 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12388 _cf = 0; 12389 _flag_k = FK_NARROW(FK_TEST, 24); 12390 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115055; /* 0x25115039: jne 0x25115055 */ 12391 L_2511503B: 12392 MEM8(eax + 0x20) = (uint8_t)(1); /* 0x2511503B: mov byte ptr [eax + 0x20], 1 */ 12393 MEM8(ecx + 0x20) = (uint8_t)(1); /* 0x2511503F: mov byte ptr [ecx + 0x20], 1 */ 12394 eax = MEM32(esi + 0x4); /* 0x25115043: mov eax, dword ptr [esi + 4] */ 12395 ecx = MEM32(eax + 0x4); /* 0x25115046: mov ecx, dword ptr [eax + 4] */ 12396 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25115049: mov byte ptr [ecx + 0x20], 0 */ 12397 edx = MEM32(esi + 0x4); /* 0x2511504D: mov edx, dword ptr [esi + 4] */ 12398 esi = MEM32(edx + 0x4); /* 0x25115050: mov esi, dword ptr [edx + 4] */ 12399 goto L_251150D3; /* 0x25115053: jmp 0x251150d3 */ 12400 L_25115055: 12401 /* cmp esi, MEM32(eax + 0x8) */ /* 0x25115055: cmp esi, dword ptr [eax + 8] */ 12402 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12404 _flag_k = FK_CMP; 12405 if (CMP_NE(_flag_a, _flag_b)) goto L_25115064; /* 0x25115058: jne 0x25115064 */ 12406 L_2511505A: 12407 esi = eax; /* 0x2511505A: mov esi, eax */ 12408 PUSH32(esp, esi); /* 0x2511505C: push esi */ 12409 ecx = edi; /* 0x2511505D: mov ecx, edi */ 12410 RECOMP_ICALL(0x2509DF50u); /* 0x2511505F: call 0x2509df50 */ /* not lifted */ 12411 RECOMP_FLAGS_IN(); 12412 L_25115064: 12413 eax = MEM32(esi + 0x4); /* 0x25115064: mov eax, dword ptr [esi + 4] */ 12414 MEM8(eax + 0x20) = (uint8_t)(1); /* 0x25115067: mov byte ptr [eax + 0x20], 1 */ 12415 ecx = MEM32(esi + 0x4); /* 0x2511506B: mov ecx, dword ptr [esi + 4] */ 12416 edx = MEM32(ecx + 0x4); /* 0x2511506E: mov edx, dword ptr [ecx + 4] */ 12417 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115071: mov byte ptr [edx + 0x20], 0 */ 12418 eax = MEM32(esi + 0x4); /* 0x25115075: mov eax, dword ptr [esi + 4] */ 12419 ecx = MEM32(eax + 0x4); /* 0x25115078: mov ecx, dword ptr [eax + 4] */ 12420 PUSH32(esp, ecx); /* 0x2511507B: push ecx */ 12421 ecx = edi; /* 0x2511507C: mov ecx, edi */ 12422 RECOMP_ICALL(0x2509DFB0u); /* 0x2511507E: call 0x2509dfb0 */ /* not lifted */ 12423 RECOMP_FLAGS_IN(); 12424 goto L_251150D3; /* 0x25115083: jmp 0x251150d3 */ 12425 L_25115085: 12426 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115085: mov dl, byte ptr [ecx + 0x20] */ 12427 /* test LO8(edx), LO8(edx) */ /* 0x25115088: test dl, dl */ 12428 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12429 _cf = 0; 12430 _flag_k = FK_NARROW(FK_TEST, 24); 12431 if (TEST_NZ(_flag_a, _flag_b)) goto L_251150A6; /* 0x2511508A: jne 0x251150a6 */ 12432 L_2511508C: 12433 MEM8(eax + 0x20) = (uint8_t)(1); /* 0x2511508C: mov byte ptr [eax + 0x20], 1 */ 12434 MEM8(ecx + 0x20) = (uint8_t)(1); /* 0x25115090: mov byte ptr [ecx + 0x20], 1 */ 12435 edx = MEM32(esi + 0x4); /* 0x25115094: mov edx, dword ptr [esi + 4] */ 12436 eax = MEM32(edx + 0x4); /* 0x25115097: mov eax, dword ptr [edx + 4] */ 12437 MEM8(eax + 0x20) = (uint8_t)(0); /* 0x2511509A: mov byte ptr [eax + 0x20], 0 */ 12438 ecx = MEM32(esi + 0x4); /* 0x2511509E: mov ecx, dword ptr [esi + 4] */ 12439 esi = MEM32(ecx + 0x4); /* 0x251150A1: mov esi, dword ptr [ecx + 4] */ 12440 goto L_251150D3; /* 0x251150A4: jmp 0x251150d3 */ 12441 L_251150A6: 12442 /* cmp esi, MEM32(eax) */ /* 0x251150A6: cmp esi, dword ptr [eax] */ 12443 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 12444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12445 _flag_k = FK_CMP; 12446 if (CMP_NE(_flag_a, _flag_b)) goto L_251150B4; /* 0x251150A8: jne 0x251150b4 */ 12447 L_251150AA: 12448 esi = eax; /* 0x251150AA: mov esi, eax */ 12449 PUSH32(esp, esi); /* 0x251150AC: push esi */ 12450 ecx = edi; /* 0x251150AD: mov ecx, edi */ 12451 RECOMP_ICALL(0x2509DFB0u); /* 0x251150AF: call 0x2509dfb0 */ /* not lifted */ 12452 RECOMP_FLAGS_IN(); 12453 L_251150B4: 12454 edx = MEM32(esi + 0x4); /* 0x251150B4: mov edx, dword ptr [esi + 4] */ 12455 MEM8(edx + 0x20) = (uint8_t)(1); /* 0x251150B7: mov byte ptr [edx + 0x20], 1 */ 12456 eax = MEM32(esi + 0x4); /* 0x251150BB: mov eax, dword ptr [esi + 4] */ 12457 ecx = MEM32(eax + 0x4); /* 0x251150BE: mov ecx, dword ptr [eax + 4] */ 12458 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251150C1: mov byte ptr [ecx + 0x20], 0 */ 12459 edx = MEM32(esi + 0x4); /* 0x251150C5: mov edx, dword ptr [esi + 4] */ 12460 eax = MEM32(edx + 0x4); /* 0x251150C8: mov eax, dword ptr [edx + 4] */ 12461 PUSH32(esp, eax); /* 0x251150CB: push eax */ 12462 ecx = edi; /* 0x251150CC: mov ecx, edi */ 12463 RECOMP_ICALL(0x2509DF50u); /* 0x251150CE: call 0x2509df50 */ /* not lifted */ 12464 RECOMP_FLAGS_IN(); 12465 L_251150D3: 12466 ecx = MEM32(edi + 0x4); /* 0x251150D3: mov ecx, dword ptr [edi + 4] */ 12467 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x251150D6: cmp esi, dword ptr [ecx + 4] */ 12468 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12470 _flag_k = FK_CMP; 12471 RECOMP_BACKEDGE(); 12472 if (CMP_NE(_flag_a, _flag_b)) goto L_2511501A; /* 0x251150D9: jne 0x2511501a */ 12473 L_251150DF: 12474 edx = MEM32(edi + 0x4); /* 0x251150DF: mov edx, dword ptr [edi + 4] */ 12475 eax = MEM32(edx + 0x4); /* 0x251150E2: mov eax, dword ptr [edx + 4] */ 12476 MEM8(eax + 0x20) = (uint8_t)(1); /* 0x251150E5: mov byte ptr [eax + 0x20], 1 */ 12477 eax = MEM32(ebp + 0x8); /* 0x251150E9: mov eax, dword ptr [ebp + 8] */ 12478 edi = POP32_VAL(esp); /* 0x251150EC: pop edi */ 12479 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x251150ED: mov byte ptr [ebp - 8], 1 */ 12480 ecx = MEM32(ebp + (-0x8)); /* 0x251150F1: mov ecx, dword ptr [ebp - 8] */ 12481 MEM32(eax) = ebx; /* 0x251150F4: mov dword ptr [eax], ebx */ 12482 esi = POP32_VAL(esp); /* 0x251150F6: pop esi */ 12483 MEM32(eax + 0x4) = ecx; /* 0x251150F7: mov dword ptr [eax + 4], ecx */ 12484 ebx = POP32_VAL(esp); /* 0x251150FA: pop ebx */ 12485 esp = ebp; /* 0x251150FB: mov esp, ebp */ 12486 ebp = POP32_VAL(esp); /* 0x251150FD: pop ebp */ 12487 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251150FE: ret 8 */ 12488 L_25115101: 12489 /* test LO8(eax), LO8(eax) */ /* 0x25115101: test al, al */ 12490 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12491 _cf = 0; 12492 _flag_k = FK_NARROW(FK_TEST, 24); 12493 MEM32(ebp + (-0x8)) = esi; /* 0x25115103: mov dword ptr [ebp - 8], esi */ 12494 if (TEST_Z(_flag_a, _flag_b)) goto L_25115142; /* 0x25115106: je 0x25115142 */ 12495 L_25115108: 12496 edx = MEM32(edi + 0x4); /* 0x25115108: mov edx, dword ptr [edi + 4] */ 12497 /* cmp esi, MEM32(edx) */ /* 0x2511510B: cmp esi, dword ptr [edx] */ 12498 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx)); 12499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12500 _flag_k = FK_CMP; 12501 if (CMP_NE(_flag_a, _flag_b)) goto L_2511513A; /* 0x2511510D: jne 0x2511513a */ 12502 L_2511510F: 12503 eax = MEM32(ebp + 0xC); /* 0x2511510F: mov eax, dword ptr [ebp + 0xc] */ 12504 PUSH32(esp, eax); /* 0x25115112: push eax */ 12505 PUSH32(esp, esi); /* 0x25115113: push esi */ 12506 PUSH32(esp, ebx); /* 0x25115114: push ebx */ 12507 ecx = ebp + 0xC; /* 0x25115115: lea ecx, [ebp + 0xc] */ 12508 PUSH32(esp, ecx); /* 0x25115118: push ecx */ 12509 ecx = edi; /* 0x25115119: mov ecx, edi */ 12510 RECOMP_ICALL(0x25115EF0u); /* 0x2511511B: call 0x25115ef0 */ /* not lifted */ 12511 RECOMP_FLAGS_IN(); 12512 ecx = MEM32(eax); /* 0x25115120: mov ecx, dword ptr [eax] */ 12513 eax = MEM32(ebp + 0x8); /* 0x25115122: mov eax, dword ptr [ebp + 8] */ 12514 edi = POP32_VAL(esp); /* 0x25115125: pop edi */ 12515 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x25115126: mov byte ptr [ebp - 8], 1 */ 12516 edx = MEM32(ebp + (-0x8)); /* 0x2511512A: mov edx, dword ptr [ebp - 8] */ 12517 esi = POP32_VAL(esp); /* 0x2511512D: pop esi */ 12518 MEM32(eax) = ecx; /* 0x2511512E: mov dword ptr [eax], ecx */ 12519 MEM32(eax + 0x4) = edx; /* 0x25115130: mov dword ptr [eax + 4], edx */ 12520 ebx = POP32_VAL(esp); /* 0x25115133: pop ebx */ 12521 esp = ebp; /* 0x25115134: mov esp, ebp */ 12522 ebp = POP32_VAL(esp); /* 0x25115136: pop ebp */ 12523 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115137: ret 8 */ 12524 L_2511513A: 12525 ecx = ebp + (-0x8); /* 0x2511513A: lea ecx, [ebp - 8] */ 12526 RECOMP_ICALL(0x25116610u); /* 0x2511513D: call 0x25116610 */ /* not lifted */ 12527 RECOMP_FLAGS_IN(); 12528 L_25115142: 12529 eax = MEM32(ebp + (-0x8)); /* 0x25115142: mov eax, dword ptr [ebp - 8] */ 12530 ecx = MEM32(ebp + 0xC); /* 0x25115145: mov ecx, dword ptr [ebp + 0xc] */ 12531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 12532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12533 eax = eax + 0xCu; /* 0x25115148: add eax, 0xc */ 12534 _flag_k = FK_ADD; 12535 PUSH32(esp, ecx); /* 0x2511514B: push ecx */ 12536 PUSH32(esp, eax); /* 0x2511514C: push eax */ 12537 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x2511514D: call dword ptr [0x251511cc] */ 12538 RECOMP_FLAGS_IN(); 12539 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12541 esp = esp + 8; /* 0x25115153: add esp, 8 */ 12542 _flag_k = FK_ADD; 12543 /* test LO8(eax), LO8(eax) */ /* 0x25115156: test al, al */ 12544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12545 _cf = 0; 12546 _flag_k = FK_NARROW(FK_TEST, 24); 12547 if (TEST_Z(_flag_a, _flag_b)) goto L_25115185; /* 0x25115158: je 0x25115185 */ 12548 L_2511515A: 12549 edx = MEM32(ebp + 0xC); /* 0x2511515A: mov edx, dword ptr [ebp + 0xc] */ 12550 PUSH32(esp, edx); /* 0x2511515D: push edx */ 12551 PUSH32(esp, esi); /* 0x2511515E: push esi */ 12552 PUSH32(esp, ebx); /* 0x2511515F: push ebx */ 12553 eax = ebp + 0xC; /* 0x25115160: lea eax, [ebp + 0xc] */ 12554 PUSH32(esp, eax); /* 0x25115163: push eax */ 12555 ecx = edi; /* 0x25115164: mov ecx, edi */ 12556 RECOMP_ICALL(0x25115EF0u); /* 0x25115166: call 0x25115ef0 */ /* not lifted */ 12557 RECOMP_FLAGS_IN(); 12558 ecx = MEM32(eax); /* 0x2511516B: mov ecx, dword ptr [eax] */ 12559 eax = MEM32(ebp + 0x8); /* 0x2511516D: mov eax, dword ptr [ebp + 8] */ 12560 edi = POP32_VAL(esp); /* 0x25115170: pop edi */ 12561 MEM32(eax) = ecx; /* 0x25115171: mov dword ptr [eax], ecx */ 12562 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x25115173: mov byte ptr [ebp - 8], 1 */ 12563 ecx = MEM32(ebp + (-0x8)); /* 0x25115177: mov ecx, dword ptr [ebp - 8] */ 12564 esi = POP32_VAL(esp); /* 0x2511517A: pop esi */ 12565 MEM32(eax + 0x4) = ecx; /* 0x2511517B: mov dword ptr [eax + 4], ecx */ 12566 ebx = POP32_VAL(esp); /* 0x2511517E: pop ebx */ 12567 esp = ebp; /* 0x2511517F: mov esp, ebp */ 12568 ebp = POP32_VAL(esp); /* 0x25115181: pop ebp */ 12569 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115182: ret 8 */ 12570 L_25115185: 12571 ecx = MEM32(ebp + (-0x8)); /* 0x25115185: mov ecx, dword ptr [ebp - 8] */ 12572 eax = MEM32(ebp + 0x8); /* 0x25115188: mov eax, dword ptr [ebp + 8] */ 12573 edi = POP32_VAL(esp); /* 0x2511518B: pop edi */ 12574 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x2511518C: mov byte ptr [ebp - 8], 0 */ 12575 edx = MEM32(ebp + (-0x8)); /* 0x25115190: mov edx, dword ptr [ebp - 8] */ 12576 esi = POP32_VAL(esp); /* 0x25115193: pop esi */ 12577 MEM32(eax) = ecx; /* 0x25115194: mov dword ptr [eax], ecx */ 12578 MEM32(eax + 0x4) = edx; /* 0x25115196: mov dword ptr [eax + 4], edx */ 12579 ebx = POP32_VAL(esp); /* 0x25115199: pop ebx */ 12580 esp = ebp; /* 0x2511519A: mov esp, ebp */ 12581 ebp = POP32_VAL(esp); /* 0x2511519C: pop ebp */ 12582 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511519D: ret 8 */ 12583 RECOMP_REGS_OUT(); 12584 } 12585 12586 void sub_251151A0(void) { 12587 int _fpu_cmp = 0; 12588 uint32_t _cf = 0; 12589 int _df = 1; 12590 uint32_t _flag_k = FK_NONE; 12591 uint32_t _flag_a = 0, _flag_b = 0; 12592 uint32_t _itail_tgt = 0; 12593 RECOMP_REGS_LOCALS 12594 RECOMP_ENTER(0x251151A0u); 12595 12596 L_251151A0: 12597 PUSH32(esp, ebp); /* 0x251151A0: push ebp */ 12598 ebp = esp; /* 0x251151A1: mov ebp, esp */ 12599 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12601 esp = esp - 0xCu; /* 0x251151A3: sub esp, 0xc */ 12602 _flag_k = FK_CMP; 12603 PUSH32(esp, ebx); /* 0x251151A6: push ebx */ 12604 PUSH32(esp, esi); /* 0x251151A7: push esi */ 12605 esi = ecx; /* 0x251151A8: mov esi, ecx */ 12606 eax = MEM32(esi + 0x4); /* 0x251151AA: mov eax, dword ptr [esi + 4] */ 12607 ecx = MEM32(ebp + 0x8); /* 0x251151AD: mov ecx, dword ptr [ebp + 8] */ 12608 edx = MEM32(ecx + 0x4); /* 0x251151B0: mov edx, dword ptr [ecx + 4] */ 12609 ebx = MEM32(edx + 0x4); /* 0x251151B3: mov ebx, dword ptr [edx + 4] */ 12610 MEM32(ebp + (-0xC)) = eax; /* 0x251151B6: mov dword ptr [ebp - 0xc], eax */ 12611 eax = MEM32(esi + 0x8); /* 0x251151B9: mov eax, dword ptr [esi + 8] */ 12612 MEM32(ebp + (-0x8)) = eax; /* 0x251151BC: mov dword ptr [ebp - 8], eax */ 12613 SET_LO8(eax, MEM8(ebx + 0x21)); /* 0x251151BF: mov al, byte ptr [ebx + 0x21] */ 12614 /* test LO8(eax), LO8(eax) */ /* 0x251151C2: test al, al */ 12615 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12616 _cf = 0; 12617 _flag_k = FK_NARROW(FK_TEST, 24); 12618 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511522B; /* 0x251151C4: jne 0x2511522b */ 12619 L_251151C6: 12620 SET_LO8(ecx, MEM8(ebx + 0x20)); /* 0x251151C6: mov cl, byte ptr [ebx + 0x20] */ 12621 PUSH32(esp, edi); /* 0x251151C9: push edi */ 12622 PUSH32(esp, 0x24u); /* 0x251151CA: push 0x24 */ 12623 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x251151CC: mov byte ptr [ebp - 1], cl */ 12624 RECOMP_ICALL(0x251380D0u); /* 0x251151CF: call 0x251380d0 */ /* not lifted */ 12625 RECOMP_FLAGS_IN(); 12626 edx = MEM32(ebp + (-0xC)); /* 0x251151D4: mov edx, dword ptr [ebp - 0xc] */ 12627 edi = eax; /* 0x251151D7: mov edi, eax */ 12628 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x251151D9: mov al, byte ptr [ebp - 1] */ 12629 ecx = ebx + 0xC; /* 0x251151DC: lea ecx, [ebx + 0xc] */ 12630 MEM32(edi + 0x4) = edx; /* 0x251151DF: mov dword ptr [edi + 4], edx */ 12631 PUSH32(esp, ecx); /* 0x251151E2: push ecx */ 12632 edx = edi + 0xC; /* 0x251151E3: lea edx, [edi + 0xc] */ 12633 PUSH32(esp, edx); /* 0x251151E6: push edx */ 12634 MEM8(edi + 0x20) = (uint8_t)(LO8(eax)); /* 0x251151E7: mov byte ptr [edi + 0x20], al */ 12635 MEM8(edi + 0x21) = (uint8_t)(0); /* 0x251151EA: mov byte ptr [edi + 0x21], 0 */ 12636 RECOMP_ICALL(0x251166E0u); /* 0x251151EE: call 0x251166e0 */ /* not lifted */ 12637 RECOMP_FLAGS_IN(); 12638 eax = MEM32(esi + 0x8); /* 0x251151F3: mov eax, dword ptr [esi + 8] */ 12639 edx = MEM32(ebp + (-0x8)); /* 0x251151F6: mov edx, dword ptr [ebp - 8] */ 12640 MEM32(edi) = eax; /* 0x251151F9: mov dword ptr [edi], eax */ 12641 ecx = MEM32(esi + 0x8); /* 0x251151FB: mov ecx, dword ptr [esi + 8] */ 12642 MEM32(edi + 0x8) = ecx; /* 0x251151FE: mov dword ptr [edi + 8], ecx */ 12643 eax = MEM32(esi + 0x8); /* 0x25115201: mov eax, dword ptr [esi + 8] */ 12644 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12646 esp = esp + 0xCu; /* 0x25115204: add esp, 0xc */ 12647 _flag_k = FK_ADD; 12648 /* cmp edx, eax */ /* 0x25115207: cmp edx, eax */ 12649 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12651 _flag_k = FK_CMP; 12652 if (CMP_NE(_flag_a, _flag_b)) goto L_2511520E; /* 0x25115209: jne 0x2511520e */ 12653 L_2511520B: 12654 MEM32(ebp + (-0x8)) = edi; /* 0x2511520B: mov dword ptr [ebp - 8], edi */ 12655 L_2511520E: 12656 eax = MEM32(ebx); /* 0x2511520E: mov eax, dword ptr [ebx] */ 12657 PUSH32(esp, edi); /* 0x25115210: push edi */ 12658 PUSH32(esp, eax); /* 0x25115211: push eax */ 12659 ecx = esi; /* 0x25115212: mov ecx, esi */ 12660 RECOMP_ICALL(0x25115E60u); /* 0x25115214: call 0x25115e60 */ /* not lifted */ 12661 RECOMP_FLAGS_IN(); 12662 MEM32(edi) = eax; /* 0x25115219: mov dword ptr [edi], eax */ 12663 ecx = MEM32(ebx + 0x8); /* 0x2511521B: mov ecx, dword ptr [ebx + 8] */ 12664 PUSH32(esp, edi); /* 0x2511521E: push edi */ 12665 PUSH32(esp, ecx); /* 0x2511521F: push ecx */ 12666 ecx = esi; /* 0x25115220: mov ecx, esi */ 12667 RECOMP_ICALL(0x25115E60u); /* 0x25115222: call 0x25115e60 */ /* not lifted */ 12668 RECOMP_FLAGS_IN(); 12669 MEM32(edi + 0x8) = eax; /* 0x25115227: mov dword ptr [edi + 8], eax */ 12670 edi = POP32_VAL(esp); /* 0x2511522A: pop edi */ 12671 L_2511522B: 12672 edx = MEM32(esi + 0x4); /* 0x2511522B: mov edx, dword ptr [esi + 4] */ 12673 eax = MEM32(ebp + (-0x8)); /* 0x2511522E: mov eax, dword ptr [ebp - 8] */ 12674 ecx = MEM32(ebp + 0x8); /* 0x25115231: mov ecx, dword ptr [ebp + 8] */ 12675 MEM32(edx + 0x4) = eax; /* 0x25115234: mov dword ptr [edx + 4], eax */ 12676 edx = MEM32(ecx + 0x10); /* 0x25115237: mov edx, dword ptr [ecx + 0x10] */ 12677 ecx = MEM32(esi + 0x8); /* 0x2511523A: mov ecx, dword ptr [esi + 8] */ 12678 MEM32(esi + 0x10) = edx; /* 0x2511523D: mov dword ptr [esi + 0x10], edx */ 12679 edx = MEM32(esi + 0x4); /* 0x25115240: mov edx, dword ptr [esi + 4] */ 12680 eax = MEM32(edx + 0x4); /* 0x25115243: mov eax, dword ptr [edx + 4] */ 12681 /* cmp eax, ecx */ /* 0x25115246: cmp eax, ecx */ 12682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12684 _flag_k = FK_CMP; 12685 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115287; /* 0x25115248: je 0x25115287 */ 12686 L_2511524A: 12687 ecx = MEM32(eax); /* 0x2511524A: mov ecx, dword ptr [eax] */ 12688 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x2511524C: mov bl, byte ptr [ecx + 0x21] */ 12689 /* test LO8(ebx), LO8(ebx) */ /* 0x2511524F: test bl, bl */ 12690 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12691 _cf = 0; 12692 _flag_k = FK_NARROW(FK_TEST, 24); 12693 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511525E; /* 0x25115251: jne 0x2511525e */ 12694 L_25115253: 12695 eax = ecx; /* 0x25115253: mov eax, ecx */ 12696 ecx = MEM32(eax); /* 0x25115255: mov ecx, dword ptr [eax] */ 12697 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x25115257: mov bl, byte ptr [ecx + 0x21] */ 12698 /* test LO8(ebx), LO8(ebx) */ /* 0x2511525A: test bl, bl */ 12699 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12700 _cf = 0; 12701 _flag_k = FK_NARROW(FK_TEST, 24); 12702 RECOMP_BACKEDGE(); 12703 if (TEST_Z(_flag_a, _flag_b)) goto L_25115253; /* 0x2511525C: je 0x25115253 */ 12704 L_2511525E: 12705 MEM32(edx) = eax; /* 0x2511525E: mov dword ptr [edx], eax */ 12706 esi = MEM32(esi + 0x4); /* 0x25115260: mov esi, dword ptr [esi + 4] */ 12707 ecx = MEM32(esi + 0x4); /* 0x25115263: mov ecx, dword ptr [esi + 4] */ 12708 eax = MEM32(ecx + 0x8); /* 0x25115266: mov eax, dword ptr [ecx + 8] */ 12709 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x25115269: mov dl, byte ptr [eax + 0x21] */ 12710 /* test LO8(edx), LO8(edx) */ /* 0x2511526C: test dl, dl */ 12711 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12712 _cf = 0; 12713 _flag_k = FK_NARROW(FK_TEST, 24); 12714 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511527C; /* 0x2511526E: jne 0x2511527c */ 12715 L_25115270: 12716 ecx = eax; /* 0x25115270: mov ecx, eax */ 12717 eax = MEM32(ecx + 0x8); /* 0x25115272: mov eax, dword ptr [ecx + 8] */ 12718 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x25115275: mov dl, byte ptr [eax + 0x21] */ 12719 /* test LO8(edx), LO8(edx) */ /* 0x25115278: test dl, dl */ 12720 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12721 _cf = 0; 12722 _flag_k = FK_NARROW(FK_TEST, 24); 12723 RECOMP_BACKEDGE(); 12724 if (TEST_Z(_flag_a, _flag_b)) goto L_25115270; /* 0x2511527A: je 0x25115270 */ 12725 L_2511527C: 12726 MEM32(esi + 0x8) = ecx; /* 0x2511527C: mov dword ptr [esi + 8], ecx */ 12727 esi = POP32_VAL(esp); /* 0x2511527F: pop esi */ 12728 ebx = POP32_VAL(esp); /* 0x25115280: pop ebx */ 12729 esp = ebp; /* 0x25115281: mov esp, ebp */ 12730 ebp = POP32_VAL(esp); /* 0x25115283: pop ebp */ 12731 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25115284: ret 4 */ 12732 L_25115287: 12733 MEM32(edx) = edx; /* 0x25115287: mov dword ptr [edx], edx */ 12734 esi = MEM32(esi + 0x4); /* 0x25115289: mov esi, dword ptr [esi + 4] */ 12735 MEM32(esi + 0x8) = esi; /* 0x2511528C: mov dword ptr [esi + 8], esi */ 12736 esi = POP32_VAL(esp); /* 0x2511528F: pop esi */ 12737 ebx = POP32_VAL(esp); /* 0x25115290: pop ebx */ 12738 esp = ebp; /* 0x25115291: mov esp, ebp */ 12739 ebp = POP32_VAL(esp); /* 0x25115293: pop ebp */ 12740 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25115294: ret 4 */ 12741 RECOMP_REGS_OUT(); 12742 } 12743 12744 void sub_251152A0(void) { 12745 int _fpu_cmp = 0; 12746 uint32_t _cf = 0; 12747 int _df = 1; 12748 uint32_t _flag_k = FK_NONE; 12749 uint32_t _flag_a = 0, _flag_b = 0; 12750 uint32_t _itail_tgt = 0; 12751 RECOMP_REGS_LOCALS 12752 RECOMP_ENTER(0x251152A0u); 12753 12754 L_251152A0: 12755 PUSH32(esp, ebp); /* 0x251152A0: push ebp */ 12756 ebp = esp; /* 0x251152A1: mov ebp, esp */ 12757 PUSH32(esp, ebx); /* 0x251152A3: push ebx */ 12758 PUSH32(esp, esi); /* 0x251152A4: push esi */ 12759 ebx = ecx; /* 0x251152A5: mov ebx, ecx */ 12760 eax = MEM32(ebx + 0x8); /* 0x251152A7: mov eax, dword ptr [ebx + 8] */ 12761 PUSH32(esp, edi); /* 0x251152AA: push edi */ 12762 edi = MEM32(ebp + 0x8); /* 0x251152AB: mov edi, dword ptr [ebp + 8] */ 12763 /* cmp edi, eax */ /* 0x251152AE: cmp edi, eax */ 12764 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 12765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12766 _flag_k = FK_CMP; 12767 esi = edi; /* 0x251152B0: mov esi, edi */ 12768 if (CMP_EQ(_flag_a, _flag_b)) goto L_251152DB; /* 0x251152B2: je 0x251152db */ 12769 L_251152B4: 12770 eax = MEM32(esi + 0x8); /* 0x251152B4: mov eax, dword ptr [esi + 8] */ 12771 PUSH32(esp, eax); /* 0x251152B7: push eax */ 12772 ecx = ebx; /* 0x251152B8: mov ecx, ebx */ 12773 RECOMP_ICALL(0x251152A0u); /* 0x251152BA: call 0x251152a0 */ /* not lifted */ 12774 RECOMP_FLAGS_IN(); 12775 esi = MEM32(esi); /* 0x251152BF: mov esi, dword ptr [esi] */ 12776 ecx = edi + 0xC; /* 0x251152C1: lea ecx, [edi + 0xc] */ 12777 RECOMP_ICALL(0x250E5AB0u); /* 0x251152C4: call 0x250e5ab0 */ /* not lifted */ 12778 RECOMP_FLAGS_IN(); 12779 PUSH32(esp, edi); /* 0x251152C9: push edi */ 12780 RECOMP_ICALL(0x25137EECu); /* 0x251152CA: call 0x25137eec */ /* not lifted */ 12781 RECOMP_FLAGS_IN(); 12782 eax = MEM32(ebx + 0x8); /* 0x251152CF: mov eax, dword ptr [ebx + 8] */ 12783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12784 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12785 esp = esp + 4; /* 0x251152D2: add esp, 4 */ 12786 _flag_k = FK_ADD; 12787 /* cmp esi, eax */ /* 0x251152D5: cmp esi, eax */ 12788 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12790 _flag_k = FK_CMP; 12791 edi = esi; /* 0x251152D7: mov edi, esi */ 12792 RECOMP_BACKEDGE(); 12793 if (CMP_NE(_flag_a, _flag_b)) goto L_251152B4; /* 0x251152D9: jne 0x251152b4 */ 12794 L_251152DB: 12795 edi = POP32_VAL(esp); /* 0x251152DB: pop edi */ 12796 esi = POP32_VAL(esp); /* 0x251152DC: pop esi */ 12797 ebx = POP32_VAL(esp); /* 0x251152DD: pop ebx */ 12798 ebp = POP32_VAL(esp); /* 0x251152DE: pop ebp */ 12799 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x251152DF: ret 4 */ 12800 RECOMP_REGS_OUT(); 12801 } 12802 12803 void sub_251152F0(void) { 12804 int _fpu_cmp = 0; 12805 uint32_t _cf = 0; 12806 int _df = 1; 12807 uint32_t _flag_k = FK_NONE; 12808 uint32_t _flag_a = 0, _flag_b = 0; 12809 uint32_t _itail_tgt = 0; 12810 RECOMP_REGS_LOCALS 12811 RECOMP_ENTER(0x251152F0u); 12812 12813 L_251152F0: 12814 PUSH32(esp, ebp); /* 0x251152F0: push ebp */ 12815 ebp = esp; /* 0x251152F1: mov ebp, esp */ 12816 eax = MEM32(ebp + 0x8); /* 0x251152F3: mov eax, dword ptr [ebp + 8] */ 12817 ecx = MEM32(eax); /* 0x251152F6: mov ecx, dword ptr [eax] */ 12818 SET_LO8(edx, MEM8(ecx + 0x21)); /* 0x251152F8: mov dl, byte ptr [ecx + 0x21] */ 12819 /* test LO8(edx), LO8(edx) */ /* 0x251152FB: test dl, dl */ 12820 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12821 _cf = 0; 12822 _flag_k = FK_NARROW(FK_TEST, 24); 12823 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511530A; /* 0x251152FD: jne 0x2511530a */ 12824 L_251152FF: 12825 eax = ecx; /* 0x251152FF: mov eax, ecx */ 12826 ecx = MEM32(eax); /* 0x25115301: mov ecx, dword ptr [eax] */ 12827 SET_LO8(edx, MEM8(ecx + 0x21)); /* 0x25115303: mov dl, byte ptr [ecx + 0x21] */ 12828 /* test LO8(edx), LO8(edx) */ /* 0x25115306: test dl, dl */ 12829 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12830 _cf = 0; 12831 _flag_k = FK_NARROW(FK_TEST, 24); 12832 RECOMP_BACKEDGE(); 12833 if (TEST_Z(_flag_a, _flag_b)) goto L_251152FF; /* 0x25115308: je 0x251152ff */ 12834 L_2511530A: 12835 ebp = POP32_VAL(esp); /* 0x2511530A: pop ebp */ 12836 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2511530B: ret */ 12837 RECOMP_REGS_OUT(); 12838 } 12839 12840 void sub_25115310(void) { 12841 int _fpu_cmp = 0; 12842 uint32_t _cf = 0; 12843 int _df = 1; 12844 uint32_t _flag_k = FK_NONE; 12845 uint32_t _flag_a = 0, _flag_b = 0; 12846 uint32_t _itail_tgt = 0; 12847 RECOMP_REGS_LOCALS 12848 RECOMP_ENTER(0x25115310u); 12849 12850 L_25115310: 12851 PUSH32(esp, ebp); /* 0x25115310: push ebp */ 12852 ebp = esp; /* 0x25115311: mov ebp, esp */ 12853 PUSH32(esp, ebx); /* 0x25115313: push ebx */ 12854 PUSH32(esp, esi); /* 0x25115314: push esi */ 12855 esi = MEM32(ecx); /* 0x25115315: mov esi, dword ptr [ecx] */ 12856 edx = MEM32(esi + 0x8); /* 0x25115317: mov edx, dword ptr [esi + 8] */ 12857 SET_LO8(eax, MEM8(edx + 0x21)); /* 0x2511531A: mov al, byte ptr [edx + 0x21] */ 12858 /* test LO8(eax), LO8(eax) */ /* 0x2511531D: test al, al */ 12859 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12860 _cf = 0; 12861 _flag_k = FK_NARROW(FK_TEST, 24); 12862 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115342; /* 0x2511531F: jne 0x25115342 */ 12863 L_25115321: 12864 eax = MEM32(edx); /* 0x25115321: mov eax, dword ptr [edx] */ 12865 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x25115323: mov bl, byte ptr [eax + 0x21] */ 12866 /* test LO8(ebx), LO8(ebx) */ /* 0x25115326: test bl, bl */ 12867 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12868 _cf = 0; 12869 _flag_k = FK_NARROW(FK_TEST, 24); 12870 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115335; /* 0x25115328: jne 0x25115335 */ 12871 L_2511532A: 12872 edx = eax; /* 0x2511532A: mov edx, eax */ 12873 eax = MEM32(edx); /* 0x2511532C: mov eax, dword ptr [edx] */ 12874 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2511532E: mov bl, byte ptr [eax + 0x21] */ 12875 /* test LO8(ebx), LO8(ebx) */ /* 0x25115331: test bl, bl */ 12876 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12877 _cf = 0; 12878 _flag_k = FK_NARROW(FK_TEST, 24); 12879 RECOMP_BACKEDGE(); 12880 if (TEST_Z(_flag_a, _flag_b)) goto L_2511532A; /* 0x25115333: je 0x2511532a */ 12881 L_25115335: 12882 eax = MEM32(ebp + 0x8); /* 0x25115335: mov eax, dword ptr [ebp + 8] */ 12883 MEM32(ecx) = edx; /* 0x25115338: mov dword ptr [ecx], edx */ 12884 MEM32(eax) = esi; /* 0x2511533A: mov dword ptr [eax], esi */ 12885 esi = POP32_VAL(esp); /* 0x2511533C: pop esi */ 12886 ebx = POP32_VAL(esp); /* 0x2511533D: pop ebx */ 12887 ebp = POP32_VAL(esp); /* 0x2511533E: pop ebp */ 12888 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511533F: ret 8 */ 12889 L_25115342: 12890 eax = MEM32(esi + 0x4); /* 0x25115342: mov eax, dword ptr [esi + 4] */ 12891 edx = MEM32(ecx); /* 0x25115345: mov edx, dword ptr [ecx] */ 12892 /* cmp edx, MEM32(eax + 0x8) */ /* 0x25115347: cmp edx, dword ptr [eax + 8] */ 12893 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12895 _flag_k = FK_CMP; 12896 if (CMP_NE(_flag_a, _flag_b)) goto L_25115358; /* 0x2511534A: jne 0x25115358 */ 12897 L_2511534C: 12898 MEM32(ecx) = eax; /* 0x2511534C: mov dword ptr [ecx], eax */ 12899 eax = MEM32(eax + 0x4); /* 0x2511534E: mov eax, dword ptr [eax + 4] */ 12900 edx = MEM32(ecx); /* 0x25115351: mov edx, dword ptr [ecx] */ 12901 /* cmp edx, MEM32(eax + 0x8) */ /* 0x25115353: cmp edx, dword ptr [eax + 8] */ 12902 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12904 _flag_k = FK_CMP; 12905 RECOMP_BACKEDGE(); 12906 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511534C; /* 0x25115356: je 0x2511534c */ 12907 L_25115358: 12908 edx = MEM32(ecx); /* 0x25115358: mov edx, dword ptr [ecx] */ 12909 /* cmp MEM32(edx + 0x8), eax */ /* 0x2511535A: cmp dword ptr [edx + 8], eax */ 12910 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 12911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12912 _flag_k = FK_CMP; 12913 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115361; /* 0x2511535D: je 0x25115361 */ 12914 L_2511535F: 12915 MEM32(ecx) = eax; /* 0x2511535F: mov dword ptr [ecx], eax */ 12916 L_25115361: 12917 eax = MEM32(ebp + 0x8); /* 0x25115361: mov eax, dword ptr [ebp + 8] */ 12918 MEM32(eax) = esi; /* 0x25115364: mov dword ptr [eax], esi */ 12919 esi = POP32_VAL(esp); /* 0x25115366: pop esi */ 12920 ebx = POP32_VAL(esp); /* 0x25115367: pop ebx */ 12921 ebp = POP32_VAL(esp); /* 0x25115368: pop ebp */ 12922 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115369: ret 8 */ 12923 RECOMP_REGS_OUT(); 12924 } 12925 12926 void sub_25115370(void) { 12927 int _fpu_cmp = 0; 12928 uint32_t _cf = 0; 12929 int _df = 1; 12930 uint32_t _flag_k = FK_NONE; 12931 uint32_t _flag_a = 0, _flag_b = 0; 12932 uint32_t _itail_tgt = 0; 12933 RECOMP_REGS_LOCALS 12934 RECOMP_ENTER(0x25115370u); 12935 12936 L_25115370: 12937 PUSH32(esp, ebp); /* 0x25115370: push ebp */ 12938 ebp = esp; /* 0x25115371: mov ebp, esp */ 12939 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12941 esp = esp - 0xCu; /* 0x25115373: sub esp, 0xc */ 12942 _flag_k = FK_CMP; 12943 PUSH32(esp, ebx); /* 0x25115376: push ebx */ 12944 PUSH32(esp, esi); /* 0x25115377: push esi */ 12945 PUSH32(esp, edi); /* 0x25115378: push edi */ 12946 edi = ecx; /* 0x25115379: mov edi, ecx */ 12947 esi = MEM32(edi + 0x4); /* 0x2511537B: mov esi, dword ptr [edi + 4] */ 12948 ebx = MEM32(esi + 0x4); /* 0x2511537E: mov ebx, dword ptr [esi + 4] */ 12949 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x25115381: cmp ebx, dword ptr [edi + 8] */ 12950 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12952 _flag_k = FK_CMP; 12953 SET_LO8(eax, 1); /* 0x25115384: mov al, 1 */ 12954 if (CMP_EQ(_flag_a, _flag_b)) goto L_251153AB; /* 0x25115386: je 0x251153ab */ 12955 L_25115388: 12956 ecx = MEM32(ebp + 0xC); /* 0x25115388: mov ecx, dword ptr [ebp + 0xc] */ 12957 eax = ebx + 0xC; /* 0x2511538B: lea eax, [ebx + 0xc] */ 12958 PUSH32(esp, eax); /* 0x2511538E: push eax */ 12959 PUSH32(esp, ecx); /* 0x2511538F: push ecx */ 12960 esi = ebx; /* 0x25115390: mov esi, ebx */ 12961 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25115392: call dword ptr [0x251511cc] */ 12962 RECOMP_FLAGS_IN(); 12963 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12965 esp = esp + 8; /* 0x25115398: add esp, 8 */ 12966 _flag_k = FK_ADD; 12967 /* test LO8(eax), LO8(eax) */ /* 0x2511539B: test al, al */ 12968 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12969 _cf = 0; 12970 _flag_k = FK_NARROW(FK_TEST, 24); 12971 if (TEST_Z(_flag_a, _flag_b)) goto L_251153A3; /* 0x2511539D: je 0x251153a3 */ 12972 L_2511539F: 12973 ebx = MEM32(ebx); /* 0x2511539F: mov ebx, dword ptr [ebx] */ 12974 goto L_251153A6; /* 0x251153A1: jmp 0x251153a6 */ 12975 L_251153A3: 12976 ebx = MEM32(ebx + 0x8); /* 0x251153A3: mov ebx, dword ptr [ebx + 8] */ 12977 L_251153A6: 12978 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x251153A6: cmp ebx, dword ptr [edi + 8] */ 12979 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12981 _flag_k = FK_CMP; 12982 RECOMP_BACKEDGE(); 12983 if (CMP_NE(_flag_a, _flag_b)) goto L_25115388; /* 0x251153A9: jne 0x25115388 */ 12984 L_251153AB: 12985 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x251153AB: mov cl, byte ptr [edi + 0xc] */ 12986 /* test LO8(ecx), LO8(ecx) */ /* 0x251153AE: test cl, cl */ 12987 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12988 _cf = 0; 12989 _flag_k = FK_NARROW(FK_TEST, 24); 12990 if (TEST_Z(_flag_a, _flag_b)) goto L_25115531; /* 0x251153B0: je 0x25115531 */ 12991 L_251153B6: 12992 PUSH32(esp, 0); /* 0x251153B6: push 0 */ 12993 PUSH32(esp, esi); /* 0x251153B8: push esi */ 12994 ecx = edi; /* 0x251153B9: mov ecx, edi */ 12995 RECOMP_ICALL(0x25116450u); /* 0x251153BB: call 0x25116450 */ /* not lifted */ 12996 RECOMP_FLAGS_IN(); 12997 edx = MEM32(edi + 0x8); /* 0x251153C0: mov edx, dword ptr [edi + 8] */ 12998 MEM32(eax) = edx; /* 0x251153C3: mov dword ptr [eax], edx */ 12999 ecx = MEM32(edi + 0x8); /* 0x251153C5: mov ecx, dword ptr [edi + 8] */ 13000 edx = MEM32(ebp + 0xC); /* 0x251153C8: mov edx, dword ptr [ebp + 0xc] */ 13001 MEM32(ebp + (-0x4)) = eax; /* 0x251153CB: mov dword ptr [ebp - 4], eax */ 13002 MEM32(eax + 0x8) = ecx; /* 0x251153CE: mov dword ptr [eax + 8], ecx */ 13003 PUSH32(esp, edx); /* 0x251153D1: push edx */ 13004 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 13005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13006 eax = eax + 0xCu; /* 0x251153D2: add eax, 0xc */ 13007 _flag_k = FK_ADD; 13008 PUSH32(esp, eax); /* 0x251153D5: push eax */ 13009 RECOMP_ICALL(0x25116850u); /* 0x251153D6: call 0x25116850 */ /* not lifted */ 13010 RECOMP_FLAGS_IN(); 13011 ecx = MEM32(edi + 0x10); /* 0x251153DB: mov ecx, dword ptr [edi + 0x10] */ 13012 eax = MEM32(edi + 0x4); /* 0x251153DE: mov eax, dword ptr [edi + 4] */ 13013 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13014 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13015 esp = esp + 8; /* 0x251153E1: add esp, 8 */ 13016 _flag_k = FK_ADD; 13017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13018 ecx = ecx + 1; /* 0x251153E4: inc ecx */ 13019 _flag_k = FK_INC; 13020 /* cmp esi, eax */ /* 0x251153E5: cmp esi, eax */ 13021 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13023 _flag_k = FK_CMP; 13024 MEM32(edi + 0x10) = ecx; /* 0x251153E7: mov dword ptr [edi + 0x10], ecx */ 13025 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115419; /* 0x251153EA: je 0x25115419 */ 13026 L_251153EC: 13027 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x251153EC: cmp ebx, dword ptr [edi + 8] */ 13028 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13030 _flag_k = FK_CMP; 13031 if (CMP_NE(_flag_a, _flag_b)) goto L_25115419; /* 0x251153EF: jne 0x25115419 */ 13032 L_251153F1: 13033 ecx = MEM32(ebp + 0xC); /* 0x251153F1: mov ecx, dword ptr [ebp + 0xc] */ 13034 eax = esi + 0xC; /* 0x251153F4: lea eax, [esi + 0xc] */ 13035 PUSH32(esp, eax); /* 0x251153F7: push eax */ 13036 PUSH32(esp, ecx); /* 0x251153F8: push ecx */ 13037 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x251153F9: call dword ptr [0x251511cc] */ 13038 RECOMP_FLAGS_IN(); 13039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13040 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13041 esp = esp + 8; /* 0x251153FF: add esp, 8 */ 13042 _flag_k = FK_ADD; 13043 /* test LO8(eax), LO8(eax) */ /* 0x25115402: test al, al */ 13044 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13045 _cf = 0; 13046 _flag_k = FK_NARROW(FK_TEST, 24); 13047 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115419; /* 0x25115404: jne 0x25115419 */ 13048 L_25115406: 13049 ebx = MEM32(ebp + (-0x4)); /* 0x25115406: mov ebx, dword ptr [ebp - 4] */ 13050 MEM32(esi + 0x8) = ebx; /* 0x25115409: mov dword ptr [esi + 8], ebx */ 13051 eax = MEM32(edi + 0x4); /* 0x2511540C: mov eax, dword ptr [edi + 4] */ 13052 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2511540F: cmp esi, dword ptr [eax + 8] */ 13053 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13055 _flag_k = FK_CMP; 13056 if (CMP_NE(_flag_a, _flag_b)) goto L_2511543C; /* 0x25115412: jne 0x2511543c */ 13057 L_25115414: 13058 MEM32(eax + 0x8) = ebx; /* 0x25115414: mov dword ptr [eax + 8], ebx */ 13059 goto L_2511543C; /* 0x25115417: jmp 0x2511543c */ 13060 L_25115419: 13061 ecx = MEM32(ebp + (-0x4)); /* 0x25115419: mov ecx, dword ptr [ebp - 4] */ 13062 MEM32(esi) = ecx; /* 0x2511541C: mov dword ptr [esi], ecx */ 13063 eax = MEM32(edi + 0x4); /* 0x2511541E: mov eax, dword ptr [edi + 4] */ 13064 /* cmp esi, eax */ /* 0x25115421: cmp esi, eax */ 13065 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13067 _flag_k = FK_CMP; 13068 if (CMP_NE(_flag_a, _flag_b)) goto L_25115430; /* 0x25115423: jne 0x25115430 */ 13069 L_25115425: 13070 MEM32(eax + 0x4) = ecx; /* 0x25115425: mov dword ptr [eax + 4], ecx */ 13071 edx = MEM32(edi + 0x4); /* 0x25115428: mov edx, dword ptr [edi + 4] */ 13072 MEM32(edx + 0x8) = ecx; /* 0x2511542B: mov dword ptr [edx + 8], ecx */ 13073 goto L_25115439; /* 0x2511542E: jmp 0x25115439 */ 13074 L_25115430: 13075 /* cmp esi, MEM32(eax) */ /* 0x25115430: cmp esi, dword ptr [eax] */ 13076 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 13077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13078 _flag_k = FK_CMP; 13079 if (CMP_NE(_flag_a, _flag_b)) goto L_25115439; /* 0x25115432: jne 0x25115439 */ 13080 L_25115434: 13081 ecx = MEM32(ebp + (-0x4)); /* 0x25115434: mov ecx, dword ptr [ebp - 4] */ 13082 MEM32(eax) = ecx; /* 0x25115437: mov dword ptr [eax], ecx */ 13083 L_25115439: 13084 ebx = MEM32(ebp + (-0x4)); /* 0x25115439: mov ebx, dword ptr [ebp - 4] */ 13085 L_2511543C: 13086 edx = MEM32(edi + 0x4); /* 0x2511543C: mov edx, dword ptr [edi + 4] */ 13087 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x2511543F: cmp ebx, dword ptr [edx + 4] */ 13088 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13090 _flag_k = FK_CMP; 13091 esi = ebx; /* 0x25115442: mov esi, ebx */ 13092 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511550F; /* 0x25115444: je 0x2511550f */ 13093 L_2511544A: 13094 eax = MEM32(esi + 0x4); /* 0x2511544A: mov eax, dword ptr [esi + 4] */ 13095 SET_LO8(ecx, MEM8(eax + 0x2C)); /* 0x2511544D: mov cl, byte ptr [eax + 0x2c] */ 13096 /* test LO8(ecx), LO8(ecx) */ /* 0x25115450: test cl, cl */ 13097 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13098 _cf = 0; 13099 _flag_k = FK_NARROW(FK_TEST, 24); 13100 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511550F; /* 0x25115452: jne 0x2511550f */ 13101 L_25115458: 13102 edx = MEM32(eax + 0x4); /* 0x25115458: mov edx, dword ptr [eax + 4] */ 13103 ecx = MEM32(edx); /* 0x2511545B: mov ecx, dword ptr [edx] */ 13104 /* cmp eax, ecx */ /* 0x2511545D: cmp eax, ecx */ 13105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13107 _flag_k = FK_CMP; 13108 if (CMP_NE(_flag_a, _flag_b)) goto L_251154B5; /* 0x2511545F: jne 0x251154b5 */ 13109 L_25115461: 13110 ecx = MEM32(edx + 0x8); /* 0x25115461: mov ecx, dword ptr [edx + 8] */ 13111 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115464: mov dl, byte ptr [ecx + 0x2c] */ 13112 /* test LO8(edx), LO8(edx) */ /* 0x25115467: test dl, dl */ 13113 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13114 _cf = 0; 13115 _flag_k = FK_NARROW(FK_TEST, 24); 13116 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115485; /* 0x25115469: jne 0x25115485 */ 13117 L_2511546B: 13118 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x2511546B: mov byte ptr [eax + 0x2c], 1 */ 13119 MEM8(ecx + 0x2C) = (uint8_t)(1); /* 0x2511546F: mov byte ptr [ecx + 0x2c], 1 */ 13120 eax = MEM32(esi + 0x4); /* 0x25115473: mov eax, dword ptr [esi + 4] */ 13121 ecx = MEM32(eax + 0x4); /* 0x25115476: mov ecx, dword ptr [eax + 4] */ 13122 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115479: mov byte ptr [ecx + 0x2c], 0 */ 13123 edx = MEM32(esi + 0x4); /* 0x2511547D: mov edx, dword ptr [esi + 4] */ 13124 esi = MEM32(edx + 0x4); /* 0x25115480: mov esi, dword ptr [edx + 4] */ 13125 goto L_25115503; /* 0x25115483: jmp 0x25115503 */ 13126 L_25115485: 13127 /* cmp esi, MEM32(eax + 0x8) */ /* 0x25115485: cmp esi, dword ptr [eax + 8] */ 13128 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13130 _flag_k = FK_CMP; 13131 if (CMP_NE(_flag_a, _flag_b)) goto L_25115494; /* 0x25115488: jne 0x25115494 */ 13132 L_2511548A: 13133 esi = eax; /* 0x2511548A: mov esi, eax */ 13134 PUSH32(esp, esi); /* 0x2511548C: push esi */ 13135 ecx = edi; /* 0x2511548D: mov ecx, edi */ 13136 RECOMP_ICALL(0x2509DF50u); /* 0x2511548F: call 0x2509df50 */ /* not lifted */ 13137 RECOMP_FLAGS_IN(); 13138 L_25115494: 13139 eax = MEM32(esi + 0x4); /* 0x25115494: mov eax, dword ptr [esi + 4] */ 13140 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x25115497: mov byte ptr [eax + 0x2c], 1 */ 13141 ecx = MEM32(esi + 0x4); /* 0x2511549B: mov ecx, dword ptr [esi + 4] */ 13142 edx = MEM32(ecx + 0x4); /* 0x2511549E: mov edx, dword ptr [ecx + 4] */ 13143 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x251154A1: mov byte ptr [edx + 0x2c], 0 */ 13144 eax = MEM32(esi + 0x4); /* 0x251154A5: mov eax, dword ptr [esi + 4] */ 13145 ecx = MEM32(eax + 0x4); /* 0x251154A8: mov ecx, dword ptr [eax + 4] */ 13146 PUSH32(esp, ecx); /* 0x251154AB: push ecx */ 13147 ecx = edi; /* 0x251154AC: mov ecx, edi */ 13148 RECOMP_ICALL(0x2509DFB0u); /* 0x251154AE: call 0x2509dfb0 */ /* not lifted */ 13149 RECOMP_FLAGS_IN(); 13150 goto L_25115503; /* 0x251154B3: jmp 0x25115503 */ 13151 L_251154B5: 13152 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x251154B5: mov dl, byte ptr [ecx + 0x2c] */ 13153 /* test LO8(edx), LO8(edx) */ /* 0x251154B8: test dl, dl */ 13154 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13155 _cf = 0; 13156 _flag_k = FK_NARROW(FK_TEST, 24); 13157 if (TEST_NZ(_flag_a, _flag_b)) goto L_251154D6; /* 0x251154BA: jne 0x251154d6 */ 13158 L_251154BC: 13159 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x251154BC: mov byte ptr [eax + 0x2c], 1 */ 13160 MEM8(ecx + 0x2C) = (uint8_t)(1); /* 0x251154C0: mov byte ptr [ecx + 0x2c], 1 */ 13161 edx = MEM32(esi + 0x4); /* 0x251154C4: mov edx, dword ptr [esi + 4] */ 13162 eax = MEM32(edx + 0x4); /* 0x251154C7: mov eax, dword ptr [edx + 4] */ 13163 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x251154CA: mov byte ptr [eax + 0x2c], 0 */ 13164 ecx = MEM32(esi + 0x4); /* 0x251154CE: mov ecx, dword ptr [esi + 4] */ 13165 esi = MEM32(ecx + 0x4); /* 0x251154D1: mov esi, dword ptr [ecx + 4] */ 13166 goto L_25115503; /* 0x251154D4: jmp 0x25115503 */ 13167 L_251154D6: 13168 /* cmp esi, MEM32(eax) */ /* 0x251154D6: cmp esi, dword ptr [eax] */ 13169 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 13170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13171 _flag_k = FK_CMP; 13172 if (CMP_NE(_flag_a, _flag_b)) goto L_251154E4; /* 0x251154D8: jne 0x251154e4 */ 13173 L_251154DA: 13174 esi = eax; /* 0x251154DA: mov esi, eax */ 13175 PUSH32(esp, esi); /* 0x251154DC: push esi */ 13176 ecx = edi; /* 0x251154DD: mov ecx, edi */ 13177 RECOMP_ICALL(0x2509DFB0u); /* 0x251154DF: call 0x2509dfb0 */ /* not lifted */ 13178 RECOMP_FLAGS_IN(); 13179 L_251154E4: 13180 edx = MEM32(esi + 0x4); /* 0x251154E4: mov edx, dword ptr [esi + 4] */ 13181 MEM8(edx + 0x2C) = (uint8_t)(1); /* 0x251154E7: mov byte ptr [edx + 0x2c], 1 */ 13182 eax = MEM32(esi + 0x4); /* 0x251154EB: mov eax, dword ptr [esi + 4] */ 13183 ecx = MEM32(eax + 0x4); /* 0x251154EE: mov ecx, dword ptr [eax + 4] */ 13184 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251154F1: mov byte ptr [ecx + 0x2c], 0 */ 13185 edx = MEM32(esi + 0x4); /* 0x251154F5: mov edx, dword ptr [esi + 4] */ 13186 eax = MEM32(edx + 0x4); /* 0x251154F8: mov eax, dword ptr [edx + 4] */ 13187 PUSH32(esp, eax); /* 0x251154FB: push eax */ 13188 ecx = edi; /* 0x251154FC: mov ecx, edi */ 13189 RECOMP_ICALL(0x2509DF50u); /* 0x251154FE: call 0x2509df50 */ /* not lifted */ 13190 RECOMP_FLAGS_IN(); 13191 L_25115503: 13192 ecx = MEM32(edi + 0x4); /* 0x25115503: mov ecx, dword ptr [edi + 4] */ 13193 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x25115506: cmp esi, dword ptr [ecx + 4] */ 13194 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13196 _flag_k = FK_CMP; 13197 RECOMP_BACKEDGE(); 13198 if (CMP_NE(_flag_a, _flag_b)) goto L_2511544A; /* 0x25115509: jne 0x2511544a */ 13199 L_2511550F: 13200 edx = MEM32(edi + 0x4); /* 0x2511550F: mov edx, dword ptr [edi + 4] */ 13201 eax = MEM32(edx + 0x4); /* 0x25115512: mov eax, dword ptr [edx + 4] */ 13202 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x25115515: mov byte ptr [eax + 0x2c], 1 */ 13203 eax = MEM32(ebp + 0x8); /* 0x25115519: mov eax, dword ptr [ebp + 8] */ 13204 edi = POP32_VAL(esp); /* 0x2511551C: pop edi */ 13205 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2511551D: mov byte ptr [ebp - 8], 1 */ 13206 ecx = MEM32(ebp + (-0x8)); /* 0x25115521: mov ecx, dword ptr [ebp - 8] */ 13207 MEM32(eax) = ebx; /* 0x25115524: mov dword ptr [eax], ebx */ 13208 esi = POP32_VAL(esp); /* 0x25115526: pop esi */ 13209 MEM32(eax + 0x4) = ecx; /* 0x25115527: mov dword ptr [eax + 4], ecx */ 13210 ebx = POP32_VAL(esp); /* 0x2511552A: pop ebx */ 13211 esp = ebp; /* 0x2511552B: mov esp, ebp */ 13212 ebp = POP32_VAL(esp); /* 0x2511552D: pop ebp */ 13213 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511552E: ret 8 */ 13214 L_25115531: 13215 /* test LO8(eax), LO8(eax) */ /* 0x25115531: test al, al */ 13216 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13217 _cf = 0; 13218 _flag_k = FK_NARROW(FK_TEST, 24); 13219 MEM32(ebp + (-0x8)) = esi; /* 0x25115533: mov dword ptr [ebp - 8], esi */ 13220 if (TEST_Z(_flag_a, _flag_b)) goto L_25115572; /* 0x25115536: je 0x25115572 */ 13221 L_25115538: 13222 edx = MEM32(edi + 0x4); /* 0x25115538: mov edx, dword ptr [edi + 4] */ 13223 /* cmp esi, MEM32(edx) */ /* 0x2511553B: cmp esi, dword ptr [edx] */ 13224 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx)); 13225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13226 _flag_k = FK_CMP; 13227 if (CMP_NE(_flag_a, _flag_b)) goto L_2511556A; /* 0x2511553D: jne 0x2511556a */ 13228 L_2511553F: 13229 eax = MEM32(ebp + 0xC); /* 0x2511553F: mov eax, dword ptr [ebp + 0xc] */ 13230 PUSH32(esp, eax); /* 0x25115542: push eax */ 13231 PUSH32(esp, esi); /* 0x25115543: push esi */ 13232 PUSH32(esp, ebx); /* 0x25115544: push ebx */ 13233 ecx = ebp + 0xC; /* 0x25115545: lea ecx, [ebp + 0xc] */ 13234 PUSH32(esp, ecx); /* 0x25115548: push ecx */ 13235 ecx = edi; /* 0x25115549: mov ecx, edi */ 13236 RECOMP_ICALL(0x25116200u); /* 0x2511554B: call 0x25116200 */ /* not lifted */ 13237 RECOMP_FLAGS_IN(); 13238 ecx = MEM32(eax); /* 0x25115550: mov ecx, dword ptr [eax] */ 13239 eax = MEM32(ebp + 0x8); /* 0x25115552: mov eax, dword ptr [ebp + 8] */ 13240 edi = POP32_VAL(esp); /* 0x25115555: pop edi */ 13241 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x25115556: mov byte ptr [ebp - 8], 1 */ 13242 edx = MEM32(ebp + (-0x8)); /* 0x2511555A: mov edx, dword ptr [ebp - 8] */ 13243 esi = POP32_VAL(esp); /* 0x2511555D: pop esi */ 13244 MEM32(eax) = ecx; /* 0x2511555E: mov dword ptr [eax], ecx */ 13245 MEM32(eax + 0x4) = edx; /* 0x25115560: mov dword ptr [eax + 4], edx */ 13246 ebx = POP32_VAL(esp); /* 0x25115563: pop ebx */ 13247 esp = ebp; /* 0x25115564: mov esp, ebp */ 13248 ebp = POP32_VAL(esp); /* 0x25115566: pop ebp */ 13249 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115567: ret 8 */ 13250 L_2511556A: 13251 ecx = ebp + (-0x8); /* 0x2511556A: lea ecx, [ebp - 8] */ 13252 RECOMP_ICALL(0x25106D70u); /* 0x2511556D: call 0x25106d70 */ /* not lifted */ 13253 RECOMP_FLAGS_IN(); 13254 L_25115572: 13255 eax = MEM32(ebp + (-0x8)); /* 0x25115572: mov eax, dword ptr [ebp - 8] */ 13256 ecx = MEM32(ebp + 0xC); /* 0x25115575: mov ecx, dword ptr [ebp + 0xc] */ 13257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 13258 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13259 eax = eax + 0xCu; /* 0x25115578: add eax, 0xc */ 13260 _flag_k = FK_ADD; 13261 PUSH32(esp, ecx); /* 0x2511557B: push ecx */ 13262 PUSH32(esp, eax); /* 0x2511557C: push eax */ 13263 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x2511557D: call dword ptr [0x251511cc] */ 13264 RECOMP_FLAGS_IN(); 13265 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13267 esp = esp + 8; /* 0x25115583: add esp, 8 */ 13268 _flag_k = FK_ADD; 13269 /* test LO8(eax), LO8(eax) */ /* 0x25115586: test al, al */ 13270 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13271 _cf = 0; 13272 _flag_k = FK_NARROW(FK_TEST, 24); 13273 if (TEST_Z(_flag_a, _flag_b)) goto L_251155B5; /* 0x25115588: je 0x251155b5 */ 13274 L_2511558A: 13275 edx = MEM32(ebp + 0xC); /* 0x2511558A: mov edx, dword ptr [ebp + 0xc] */ 13276 PUSH32(esp, edx); /* 0x2511558D: push edx */ 13277 PUSH32(esp, esi); /* 0x2511558E: push esi */ 13278 PUSH32(esp, ebx); /* 0x2511558F: push ebx */ 13279 eax = ebp + 0xC; /* 0x25115590: lea eax, [ebp + 0xc] */ 13280 PUSH32(esp, eax); /* 0x25115593: push eax */ 13281 ecx = edi; /* 0x25115594: mov ecx, edi */ 13282 RECOMP_ICALL(0x25116200u); /* 0x25115596: call 0x25116200 */ /* not lifted */ 13283 RECOMP_FLAGS_IN(); 13284 ecx = MEM32(eax); /* 0x2511559B: mov ecx, dword ptr [eax] */ 13285 eax = MEM32(ebp + 0x8); /* 0x2511559D: mov eax, dword ptr [ebp + 8] */ 13286 edi = POP32_VAL(esp); /* 0x251155A0: pop edi */ 13287 MEM32(eax) = ecx; /* 0x251155A1: mov dword ptr [eax], ecx */ 13288 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x251155A3: mov byte ptr [ebp - 8], 1 */ 13289 ecx = MEM32(ebp + (-0x8)); /* 0x251155A7: mov ecx, dword ptr [ebp - 8] */ 13290 esi = POP32_VAL(esp); /* 0x251155AA: pop esi */ 13291 MEM32(eax + 0x4) = ecx; /* 0x251155AB: mov dword ptr [eax + 4], ecx */ 13292 ebx = POP32_VAL(esp); /* 0x251155AE: pop ebx */ 13293 esp = ebp; /* 0x251155AF: mov esp, ebp */ 13294 ebp = POP32_VAL(esp); /* 0x251155B1: pop ebp */ 13295 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251155B2: ret 8 */ 13296 L_251155B5: 13297 ecx = MEM32(ebp + (-0x8)); /* 0x251155B5: mov ecx, dword ptr [ebp - 8] */ 13298 eax = MEM32(ebp + 0x8); /* 0x251155B8: mov eax, dword ptr [ebp + 8] */ 13299 edi = POP32_VAL(esp); /* 0x251155BB: pop edi */ 13300 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x251155BC: mov byte ptr [ebp - 8], 0 */ 13301 edx = MEM32(ebp + (-0x8)); /* 0x251155C0: mov edx, dword ptr [ebp - 8] */ 13302 esi = POP32_VAL(esp); /* 0x251155C3: pop esi */ 13303 MEM32(eax) = ecx; /* 0x251155C4: mov dword ptr [eax], ecx */ 13304 MEM32(eax + 0x4) = edx; /* 0x251155C6: mov dword ptr [eax + 4], edx */ 13305 ebx = POP32_VAL(esp); /* 0x251155C9: pop ebx */ 13306 esp = ebp; /* 0x251155CA: mov esp, ebp */ 13307 ebp = POP32_VAL(esp); /* 0x251155CC: pop ebp */ 13308 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251155CD: ret 8 */ 13309 RECOMP_REGS_OUT(); 13310 } 13311 13312 void sub_251155D0(void) { 13313 int _fpu_cmp = 0; 13314 uint32_t _cf = 0; 13315 int _df = 1; 13316 uint32_t _flag_k = FK_NONE; 13317 uint32_t _flag_a = 0, _flag_b = 0; 13318 uint32_t _itail_tgt = 0; 13319 RECOMP_REGS_LOCALS 13320 RECOMP_ENTER(0x251155D0u); 13321 13322 L_251155D0: 13323 PUSH32(esp, ebp); /* 0x251155D0: push ebp */ 13324 ebp = esp; /* 0x251155D1: mov ebp, esp */ 13325 PUSH32(esp, ecx); /* 0x251155D3: push ecx */ 13326 PUSH32(esp, ebx); /* 0x251155D4: push ebx */ 13327 PUSH32(esp, esi); /* 0x251155D5: push esi */ 13328 esi = MEM32(ebp + 0xC); /* 0x251155D6: mov esi, dword ptr [ebp + 0xc] */ 13329 PUSH32(esp, edi); /* 0x251155D9: push edi */ 13330 edi = ecx; /* 0x251155DA: mov edi, ecx */ 13331 ecx = ebp + 0xC; /* 0x251155DC: lea ecx, [ebp + 0xc] */ 13332 RECOMP_ICALL(0x250D1500u); /* 0x251155DF: call 0x250d1500 */ /* not lifted */ 13333 RECOMP_FLAGS_IN(); 13334 edx = MEM32(esi); /* 0x251155E4: mov edx, dword ptr [esi] */ 13335 eax = MEM32(edi + 0x8); /* 0x251155E6: mov eax, dword ptr [edi + 8] */ 13336 /* cmp edx, eax */ /* 0x251155E9: cmp edx, eax */ 13337 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13339 _flag_k = FK_CMP; 13340 MEM32(ebp + (-0x4)) = esi; /* 0x251155EB: mov dword ptr [ebp - 4], esi */ 13341 if (CMP_NE(_flag_a, _flag_b)) goto L_25115610; /* 0x251155EE: jne 0x25115610 */ 13342 L_251155F0: 13343 eax = MEM32(esi + 0x8); /* 0x251155F0: mov eax, dword ptr [esi + 8] */ 13344 L_251155F3: 13345 ecx = MEM32(ebp + (-0x4)); /* 0x251155F3: mov ecx, dword ptr [ebp - 4] */ 13346 edx = MEM32(ecx + 0x4); /* 0x251155F6: mov edx, dword ptr [ecx + 4] */ 13347 MEM32(eax + 0x4) = edx; /* 0x251155F9: mov dword ptr [eax + 4], edx */ 13348 ecx = MEM32(edi + 0x4); /* 0x251155FC: mov ecx, dword ptr [edi + 4] */ 13349 /* cmp MEM32(ecx + 0x4), esi */ /* 0x251155FF: cmp dword ptr [ecx + 4], esi */ 13350 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 13351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13352 _flag_k = FK_CMP; 13353 if (CMP_NE(_flag_a, _flag_b)) goto L_25115693; /* 0x25115602: jne 0x25115693 */ 13354 L_25115608: 13355 MEM32(ecx + 0x4) = eax; /* 0x25115608: mov dword ptr [ecx + 4], eax */ 13356 goto L_251156A1; /* 0x2511560B: jmp 0x251156a1 */ 13357 L_25115610: 13358 ecx = MEM32(esi + 0x8); /* 0x25115610: mov ecx, dword ptr [esi + 8] */ 13359 /* cmp ecx, eax */ /* 0x25115613: cmp ecx, eax */ 13360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13362 _flag_k = FK_CMP; 13363 if (CMP_NE(_flag_a, _flag_b)) goto L_2511561B; /* 0x25115615: jne 0x2511561b */ 13364 L_25115617: 13365 eax = edx; /* 0x25115617: mov eax, edx */ 13366 RECOMP_BACKEDGE(); 13367 goto L_251155F3; /* 0x25115619: jmp 0x251155f3 */ 13368 L_2511561B: 13369 eax = MEM32(ecx); /* 0x2511561B: mov eax, dword ptr [ecx] */ 13370 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x2511561D: mov bl, byte ptr [eax + 0x2d] */ 13371 /* test LO8(ebx), LO8(ebx) */ /* 0x25115620: test bl, bl */ 13372 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13373 _cf = 0; 13374 _flag_k = FK_NARROW(FK_TEST, 24); 13375 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511562F; /* 0x25115622: jne 0x2511562f */ 13376 L_25115624: 13377 ecx = eax; /* 0x25115624: mov ecx, eax */ 13378 eax = MEM32(ecx); /* 0x25115626: mov eax, dword ptr [ecx] */ 13379 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x25115628: mov bl, byte ptr [eax + 0x2d] */ 13380 /* test LO8(ebx), LO8(ebx) */ /* 0x2511562B: test bl, bl */ 13381 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13382 _cf = 0; 13383 _flag_k = FK_NARROW(FK_TEST, 24); 13384 RECOMP_BACKEDGE(); 13385 if (TEST_Z(_flag_a, _flag_b)) goto L_25115624; /* 0x2511562D: je 0x25115624 */ 13386 L_2511562F: 13387 /* cmp ecx, esi */ /* 0x2511562F: cmp ecx, esi */ 13388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13390 _flag_k = FK_CMP; 13391 eax = MEM32(ecx + 0x8); /* 0x25115631: mov eax, dword ptr [ecx + 8] */ 13392 MEM32(ebp + (-0x4)) = ecx; /* 0x25115634: mov dword ptr [ebp - 4], ecx */ 13393 RECOMP_BACKEDGE(); 13394 if (CMP_EQ(_flag_a, _flag_b)) goto L_251155F3; /* 0x25115637: je 0x251155f3 */ 13395 L_25115639: 13396 MEM32(edx + 0x4) = ecx; /* 0x25115639: mov dword ptr [edx + 4], ecx */ 13397 edx = MEM32(esi); /* 0x2511563C: mov edx, dword ptr [esi] */ 13398 MEM32(ecx) = edx; /* 0x2511563E: mov dword ptr [ecx], edx */ 13399 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115640: cmp ecx, dword ptr [esi + 8] */ 13400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13402 _flag_k = FK_CMP; 13403 if (CMP_NE(_flag_a, _flag_b)) goto L_2511564A; /* 0x25115643: jne 0x2511564a */ 13404 L_25115645: 13405 MEM32(eax + 0x4) = ecx; /* 0x25115645: mov dword ptr [eax + 4], ecx */ 13406 goto L_25115661; /* 0x25115648: jmp 0x25115661 */ 13407 L_2511564A: 13408 edx = MEM32(ecx + 0x4); /* 0x2511564A: mov edx, dword ptr [ecx + 4] */ 13409 MEM32(eax + 0x4) = edx; /* 0x2511564D: mov dword ptr [eax + 4], edx */ 13410 edx = MEM32(ecx + 0x4); /* 0x25115650: mov edx, dword ptr [ecx + 4] */ 13411 MEM32(edx) = eax; /* 0x25115653: mov dword ptr [edx], eax */ 13412 edx = MEM32(esi + 0x8); /* 0x25115655: mov edx, dword ptr [esi + 8] */ 13413 MEM32(ecx + 0x8) = edx; /* 0x25115658: mov dword ptr [ecx + 8], edx */ 13414 edx = MEM32(esi + 0x8); /* 0x2511565B: mov edx, dword ptr [esi + 8] */ 13415 MEM32(edx + 0x4) = ecx; /* 0x2511565E: mov dword ptr [edx + 4], ecx */ 13416 L_25115661: 13417 edx = MEM32(edi + 0x4); /* 0x25115661: mov edx, dword ptr [edi + 4] */ 13418 /* cmp MEM32(edx + 0x4), esi */ /* 0x25115664: cmp dword ptr [edx + 4], esi */ 13419 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 13420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13421 _flag_k = FK_CMP; 13422 if (CMP_NE(_flag_a, _flag_b)) goto L_2511566E; /* 0x25115667: jne 0x2511566e */ 13423 L_25115669: 13424 MEM32(edx + 0x4) = ecx; /* 0x25115669: mov dword ptr [edx + 4], ecx */ 13425 goto L_2511567C; /* 0x2511566C: jmp 0x2511567c */ 13426 L_2511566E: 13427 edx = MEM32(esi + 0x4); /* 0x2511566E: mov edx, dword ptr [esi + 4] */ 13428 /* cmp MEM32(edx), esi */ /* 0x25115671: cmp dword ptr [edx], esi */ 13429 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 13430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13431 _flag_k = FK_CMP; 13432 if (CMP_NE(_flag_a, _flag_b)) goto L_25115679; /* 0x25115673: jne 0x25115679 */ 13433 L_25115675: 13434 MEM32(edx) = ecx; /* 0x25115675: mov dword ptr [edx], ecx */ 13435 goto L_2511567C; /* 0x25115677: jmp 0x2511567c */ 13436 L_25115679: 13437 MEM32(edx + 0x8) = ecx; /* 0x25115679: mov dword ptr [edx + 8], ecx */ 13438 L_2511567C: 13439 edx = MEM32(esi + 0x4); /* 0x2511567C: mov edx, dword ptr [esi + 4] */ 13440 MEM32(ecx + 0x4) = edx; /* 0x2511567F: mov dword ptr [ecx + 4], edx */ 13441 SET_LO8(ebx, MEM8(esi + 0x2C)); /* 0x25115682: mov bl, byte ptr [esi + 0x2c] */ 13442 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115685: mov dl, byte ptr [ecx + 0x2c] */ 13443 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115688: mov byte ptr [ecx + 0x2c], bl */ 13444 MEM8(esi + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511568B: mov byte ptr [esi + 0x2c], dl */ 13445 MEM32(ebp + (-0x4)) = esi; /* 0x2511568E: mov dword ptr [ebp - 4], esi */ 13446 goto L_251156F8; /* 0x25115691: jmp 0x251156f8 */ 13447 L_25115693: 13448 ecx = MEM32(esi + 0x4); /* 0x25115693: mov ecx, dword ptr [esi + 4] */ 13449 /* cmp MEM32(ecx), esi */ /* 0x25115696: cmp dword ptr [ecx], esi */ 13450 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 13451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13452 _flag_k = FK_CMP; 13453 if (CMP_NE(_flag_a, _flag_b)) goto L_2511569E; /* 0x25115698: jne 0x2511569e */ 13454 L_2511569A: 13455 MEM32(ecx) = eax; /* 0x2511569A: mov dword ptr [ecx], eax */ 13456 goto L_251156A1; /* 0x2511569C: jmp 0x251156a1 */ 13457 L_2511569E: 13458 MEM32(ecx + 0x8) = eax; /* 0x2511569E: mov dword ptr [ecx + 8], eax */ 13459 L_251156A1: 13460 ebx = MEM32(edi + 0x4); /* 0x251156A1: mov ebx, dword ptr [edi + 4] */ 13461 /* cmp MEM32(ebx), esi */ /* 0x251156A4: cmp dword ptr [ebx], esi */ 13462 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 13463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13464 _flag_k = FK_CMP; 13465 if (CMP_NE(_flag_a, _flag_b)) goto L_251156CB; /* 0x251156A6: jne 0x251156cb */ 13466 L_251156A8: 13467 ecx = MEM32(esi + 0x8); /* 0x251156A8: mov ecx, dword ptr [esi + 8] */ 13468 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x251156AB: cmp ecx, dword ptr [edi + 8] */ 13469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13471 _flag_k = FK_CMP; 13472 if (CMP_NE(_flag_a, _flag_b)) goto L_251156B5; /* 0x251156AE: jne 0x251156b5 */ 13473 L_251156B0: 13474 edx = MEM32(esi + 0x4); /* 0x251156B0: mov edx, dword ptr [esi + 4] */ 13475 goto L_251156C9; /* 0x251156B3: jmp 0x251156c9 */ 13476 L_251156B5: 13477 ecx = MEM32(eax); /* 0x251156B5: mov ecx, dword ptr [eax] */ 13478 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156B7: cmp byte ptr [ecx + 0x2d], 0 */ 13479 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13481 _flag_k = FK_NARROW(FK_CMP, 24); 13482 edx = eax; /* 0x251156BB: mov edx, eax */ 13483 if (CMP_NE(_flag_a, _flag_b)) goto L_251156C9; /* 0x251156BD: jne 0x251156c9 */ 13484 L_251156BF: 13485 edx = ecx; /* 0x251156BF: mov edx, ecx */ 13486 ecx = MEM32(edx); /* 0x251156C1: mov ecx, dword ptr [edx] */ 13487 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156C3: cmp byte ptr [ecx + 0x2d], 0 */ 13488 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13490 _flag_k = FK_NARROW(FK_CMP, 24); 13491 RECOMP_BACKEDGE(); 13492 if (CMP_EQ(_flag_a, _flag_b)) goto L_251156BF; /* 0x251156C7: je 0x251156bf */ 13493 L_251156C9: 13494 MEM32(ebx) = edx; /* 0x251156C9: mov dword ptr [ebx], edx */ 13495 L_251156CB: 13496 ebx = MEM32(edi + 0x4); /* 0x251156CB: mov ebx, dword ptr [edi + 4] */ 13497 /* cmp MEM32(ebx + 0x8), esi */ /* 0x251156CE: cmp dword ptr [ebx + 8], esi */ 13498 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13500 _flag_k = FK_CMP; 13501 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F8; /* 0x251156D1: jne 0x251156f8 */ 13502 L_251156D3: 13503 ecx = MEM32(esi); /* 0x251156D3: mov ecx, dword ptr [esi] */ 13504 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x251156D5: cmp ecx, dword ptr [edi + 8] */ 13505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13507 _flag_k = FK_CMP; 13508 if (CMP_NE(_flag_a, _flag_b)) goto L_251156DF; /* 0x251156D8: jne 0x251156df */ 13509 L_251156DA: 13510 edx = MEM32(esi + 0x4); /* 0x251156DA: mov edx, dword ptr [esi + 4] */ 13511 goto L_251156F5; /* 0x251156DD: jmp 0x251156f5 */ 13512 L_251156DF: 13513 ecx = MEM32(eax + 0x8); /* 0x251156DF: mov ecx, dword ptr [eax + 8] */ 13514 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156E2: cmp byte ptr [ecx + 0x2d], 0 */ 13515 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13517 _flag_k = FK_NARROW(FK_CMP, 24); 13518 edx = eax; /* 0x251156E6: mov edx, eax */ 13519 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F5; /* 0x251156E8: jne 0x251156f5 */ 13520 L_251156EA: 13521 edx = ecx; /* 0x251156EA: mov edx, ecx */ 13522 ecx = MEM32(edx + 0x8); /* 0x251156EC: mov ecx, dword ptr [edx + 8] */ 13523 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156EF: cmp byte ptr [ecx + 0x2d], 0 */ 13524 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13526 _flag_k = FK_NARROW(FK_CMP, 24); 13527 RECOMP_BACKEDGE(); 13528 if (CMP_EQ(_flag_a, _flag_b)) goto L_251156EA; /* 0x251156F3: je 0x251156ea */ 13529 L_251156F5: 13530 MEM32(ebx + 0x8) = edx; /* 0x251156F5: mov dword ptr [ebx + 8], edx */ 13531 L_251156F8: 13532 esi = MEM32(ebp + (-0x4)); /* 0x251156F8: mov esi, dword ptr [ebp - 4] */ 13533 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x251156FB: mov cl, byte ptr [esi + 0x2c] */ 13534 SET_LO8(ebx, 1); /* 0x251156FE: mov bl, 1 */ 13535 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25115700: cmp cl, bl */ 13536 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13538 _flag_k = FK_NARROW(FK_CMP, 24); 13539 if (CMP_NE(_flag_a, _flag_b)) goto L_25115968; /* 0x25115702: jne 0x25115968 */ 13540 L_25115708: 13541 ecx = MEM32(edi + 0x4); /* 0x25115708: mov ecx, dword ptr [edi + 4] */ 13542 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511570B: cmp eax, dword ptr [ecx + 4] */ 13543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13545 _flag_k = FK_CMP; 13546 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115962; /* 0x2511570E: je 0x25115962 */ 13547 L_25115714: 13548 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 13549 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13551 _flag_k = FK_NARROW(FK_CMP, 24); 13552 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 13553 L_2511571D: 13554 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 13555 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 13556 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 13557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13559 _flag_k = FK_CMP; 13560 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 13561 L_25115726: 13562 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 13563 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 13564 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 13565 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13566 _cf = 0; 13567 _flag_k = FK_NARROW(FK_TEST, 24); 13568 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 13569 L_25115730: 13570 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 13571 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 13572 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 13573 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 13574 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 13575 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 13576 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 13577 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 13578 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 13579 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13581 _flag_k = FK_CMP; 13582 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 13583 L_2511574C: 13584 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 13585 L_2511574F: 13586 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 13587 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 13588 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 13589 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 13590 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13592 _flag_k = FK_CMP; 13593 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 13594 L_2511575D: 13595 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 13596 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 13597 L_25115762: 13598 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 13599 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 13600 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13602 _flag_k = FK_CMP; 13603 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 13604 L_25115769: 13605 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 13606 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 13607 L_2511576D: 13608 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 13609 L_25115770: 13610 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 13611 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 13612 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 13613 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 13614 L_2511577B: 13615 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 13616 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 13617 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13619 _flag_k = FK_NARROW(FK_CMP, 24); 13620 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 13621 L_25115786: 13622 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 13623 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 13624 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13626 _flag_k = FK_NARROW(FK_CMP, 24); 13627 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 13628 L_25115792: 13629 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 13630 L_25115794: 13631 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 13632 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 13633 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13634 _cf = 0; 13635 _flag_k = FK_NARROW(FK_TEST, 24); 13636 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 13637 L_2511579B: 13638 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 13639 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 13640 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 13641 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 13642 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 13643 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 13644 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 13645 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 13646 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 13647 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13649 _flag_k = FK_CMP; 13650 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 13651 L_251157B7: 13652 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 13653 L_251157BA: 13654 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 13655 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 13656 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 13657 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 13658 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13660 _flag_k = FK_CMP; 13661 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 13662 L_251157C8: 13663 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 13664 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 13665 L_251157CD: 13666 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 13667 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 13668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13670 _flag_k = FK_CMP; 13671 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 13672 L_251157D5: 13673 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 13674 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 13675 L_251157DA: 13676 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 13677 L_251157DC: 13678 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 13679 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 13680 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 13681 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 13682 L_251157E7: 13683 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 13684 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 13685 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13687 _flag_k = FK_NARROW(FK_CMP, 24); 13688 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 13689 L_251157F3: 13690 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 13691 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 13692 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13694 _flag_k = FK_NARROW(FK_CMP, 24); 13695 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 13696 L_251157FE: 13697 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 13698 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 13699 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 13700 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 13701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13703 _flag_k = FK_CMP; 13704 RECOMP_BACKEDGE(); 13705 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 13706 L_25115811: 13707 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 13708 L_25115816: 13709 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 13710 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 13711 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13713 _flag_k = FK_NARROW(FK_CMP, 24); 13714 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 13715 L_2511581E: 13716 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 13717 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 13718 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 13719 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 13720 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 13721 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 13722 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 13723 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 13724 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13726 _flag_k = FK_CMP; 13727 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 13728 L_25115836: 13729 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 13730 L_25115839: 13731 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 13732 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 13733 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 13734 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 13735 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13737 _flag_k = FK_CMP; 13738 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 13739 L_25115847: 13740 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 13741 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 13742 L_2511584C: 13743 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 13744 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 13745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13747 _flag_k = FK_CMP; 13748 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 13749 L_25115854: 13750 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 13751 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 13752 L_25115859: 13753 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 13754 L_2511585B: 13755 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 13756 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 13757 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 13758 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 13759 L_25115867: 13760 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 13761 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 13762 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 13763 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 13764 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 13765 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 13766 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 13767 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 13768 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 13769 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 13770 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 13771 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 13772 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 13773 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13775 _flag_k = FK_CMP; 13776 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 13777 L_2511588E: 13778 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 13779 L_25115891: 13780 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 13781 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 13782 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 13783 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 13784 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13786 _flag_k = FK_CMP; 13787 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 13788 L_2511589F: 13789 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 13790 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 13791 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 13792 L_251158A9: 13793 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 13794 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 13795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13797 _flag_k = FK_CMP; 13798 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 13799 L_251158B0: 13800 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 13801 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 13802 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 13803 L_251158B9: 13804 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 13805 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 13806 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 13807 L_251158C3: 13808 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 13809 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 13810 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13812 _flag_k = FK_NARROW(FK_CMP, 24); 13813 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 13814 L_251158CA: 13815 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 13816 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 13817 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 13818 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 13819 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 13820 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 13821 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 13822 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 13823 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13825 _flag_k = FK_CMP; 13826 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 13827 L_251158E3: 13828 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 13829 L_251158E6: 13830 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 13831 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 13832 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 13833 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 13834 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13836 _flag_k = FK_CMP; 13837 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 13838 L_251158F4: 13839 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 13840 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 13841 L_251158F9: 13842 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 13843 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 13844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13846 _flag_k = FK_CMP; 13847 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 13848 L_25115900: 13849 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 13850 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 13851 L_25115904: 13852 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 13853 L_25115907: 13854 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 13855 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 13856 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 13857 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 13858 L_25115911: 13859 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 13860 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 13861 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 13862 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 13863 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 13864 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 13865 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 13866 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 13867 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 13868 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 13869 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 13870 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 13871 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 13872 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13874 _flag_k = FK_CMP; 13875 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 13876 L_25115937: 13877 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 13878 L_2511593A: 13879 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 13880 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 13881 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 13882 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 13883 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13885 _flag_k = FK_CMP; 13886 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 13887 L_25115948: 13888 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 13889 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 13890 L_2511594D: 13891 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 13892 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 13893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13895 _flag_k = FK_CMP; 13896 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 13897 L_25115955: 13898 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 13899 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 13900 L_2511595A: 13901 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 13902 L_2511595C: 13903 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 13904 L_2511595F: 13905 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 13906 L_25115962: 13907 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 13908 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 13909 L_25115968: 13910 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 13911 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 13912 RECOMP_FLAGS_IN(); 13913 PUSH32(esp, esi); /* 0x25115970: push esi */ 13914 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 13915 RECOMP_FLAGS_IN(); 13916 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 13917 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 13918 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13920 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 13921 _flag_k = FK_ADD; 13922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13923 eax = eax - 1; /* 0x2511597F: dec eax */ 13924 _flag_k = FK_DEC; 13925 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 13926 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 13927 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 13928 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 13929 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 13930 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 13931 esp = ebp; /* 0x2511598B: mov esp, ebp */ 13932 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 13933 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 13934 RECOMP_REGS_OUT(); 13935 } 13936 13937 void sub_251156A1(void) { 13938 int _fpu_cmp = 0; 13939 uint32_t _cf = 0; 13940 int _df = 1; 13941 uint32_t _flag_k = FK_NONE; 13942 uint32_t _flag_a = 0, _flag_b = 0; 13943 uint32_t _itail_tgt = 0; 13944 RECOMP_REGS_LOCALS 13945 RECOMP_ENTER(0x251156A1u); 13946 13947 L_251156A1: 13948 ebx = MEM32(edi + 0x4); /* 0x251156A1: mov ebx, dword ptr [edi + 4] */ 13949 /* cmp MEM32(ebx), esi */ /* 0x251156A4: cmp dword ptr [ebx], esi */ 13950 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 13951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13952 _flag_k = FK_CMP; 13953 if (CMP_NE(_flag_a, _flag_b)) goto L_251156CB; /* 0x251156A6: jne 0x251156cb */ 13954 L_251156A8: 13955 ecx = MEM32(esi + 0x8); /* 0x251156A8: mov ecx, dword ptr [esi + 8] */ 13956 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x251156AB: cmp ecx, dword ptr [edi + 8] */ 13957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13959 _flag_k = FK_CMP; 13960 if (CMP_NE(_flag_a, _flag_b)) goto L_251156B5; /* 0x251156AE: jne 0x251156b5 */ 13961 L_251156B0: 13962 edx = MEM32(esi + 0x4); /* 0x251156B0: mov edx, dword ptr [esi + 4] */ 13963 goto L_251156C9; /* 0x251156B3: jmp 0x251156c9 */ 13964 L_251156B5: 13965 ecx = MEM32(eax); /* 0x251156B5: mov ecx, dword ptr [eax] */ 13966 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156B7: cmp byte ptr [ecx + 0x2d], 0 */ 13967 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13969 _flag_k = FK_NARROW(FK_CMP, 24); 13970 edx = eax; /* 0x251156BB: mov edx, eax */ 13971 if (CMP_NE(_flag_a, _flag_b)) goto L_251156C9; /* 0x251156BD: jne 0x251156c9 */ 13972 L_251156BF: 13973 edx = ecx; /* 0x251156BF: mov edx, ecx */ 13974 ecx = MEM32(edx); /* 0x251156C1: mov ecx, dword ptr [edx] */ 13975 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156C3: cmp byte ptr [ecx + 0x2d], 0 */ 13976 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 13977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13978 _flag_k = FK_NARROW(FK_CMP, 24); 13979 RECOMP_BACKEDGE(); 13980 if (CMP_EQ(_flag_a, _flag_b)) goto L_251156BF; /* 0x251156C7: je 0x251156bf */ 13981 L_251156C9: 13982 MEM32(ebx) = edx; /* 0x251156C9: mov dword ptr [ebx], edx */ 13983 L_251156CB: 13984 ebx = MEM32(edi + 0x4); /* 0x251156CB: mov ebx, dword ptr [edi + 4] */ 13985 /* cmp MEM32(ebx + 0x8), esi */ /* 0x251156CE: cmp dword ptr [ebx + 8], esi */ 13986 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13988 _flag_k = FK_CMP; 13989 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F8; /* 0x251156D1: jne 0x251156f8 */ 13990 L_251156D3: 13991 ecx = MEM32(esi); /* 0x251156D3: mov ecx, dword ptr [esi] */ 13992 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x251156D5: cmp ecx, dword ptr [edi + 8] */ 13993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13995 _flag_k = FK_CMP; 13996 if (CMP_NE(_flag_a, _flag_b)) goto L_251156DF; /* 0x251156D8: jne 0x251156df */ 13997 L_251156DA: 13998 edx = MEM32(esi + 0x4); /* 0x251156DA: mov edx, dword ptr [esi + 4] */ 13999 goto L_251156F5; /* 0x251156DD: jmp 0x251156f5 */ 14000 L_251156DF: 14001 ecx = MEM32(eax + 0x8); /* 0x251156DF: mov ecx, dword ptr [eax + 8] */ 14002 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156E2: cmp byte ptr [ecx + 0x2d], 0 */ 14003 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 14004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14005 _flag_k = FK_NARROW(FK_CMP, 24); 14006 edx = eax; /* 0x251156E6: mov edx, eax */ 14007 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F5; /* 0x251156E8: jne 0x251156f5 */ 14008 L_251156EA: 14009 edx = ecx; /* 0x251156EA: mov edx, ecx */ 14010 ecx = MEM32(edx + 0x8); /* 0x251156EC: mov ecx, dword ptr [edx + 8] */ 14011 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156EF: cmp byte ptr [ecx + 0x2d], 0 */ 14012 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 14013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14014 _flag_k = FK_NARROW(FK_CMP, 24); 14015 RECOMP_BACKEDGE(); 14016 if (CMP_EQ(_flag_a, _flag_b)) goto L_251156EA; /* 0x251156F3: je 0x251156ea */ 14017 L_251156F5: 14018 MEM32(ebx + 0x8) = edx; /* 0x251156F5: mov dword ptr [ebx + 8], edx */ 14019 L_251156F8: 14020 esi = MEM32(ebp + (-0x4)); /* 0x251156F8: mov esi, dword ptr [ebp - 4] */ 14021 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x251156FB: mov cl, byte ptr [esi + 0x2c] */ 14022 SET_LO8(ebx, 1); /* 0x251156FE: mov bl, 1 */ 14023 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25115700: cmp cl, bl */ 14024 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14026 _flag_k = FK_NARROW(FK_CMP, 24); 14027 if (CMP_NE(_flag_a, _flag_b)) goto L_25115968; /* 0x25115702: jne 0x25115968 */ 14028 L_25115708: 14029 ecx = MEM32(edi + 0x4); /* 0x25115708: mov ecx, dword ptr [edi + 4] */ 14030 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511570B: cmp eax, dword ptr [ecx + 4] */ 14031 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14033 _flag_k = FK_CMP; 14034 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115962; /* 0x2511570E: je 0x25115962 */ 14035 L_25115714: 14036 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 14037 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14039 _flag_k = FK_NARROW(FK_CMP, 24); 14040 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 14041 L_2511571D: 14042 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 14043 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 14044 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 14045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14047 _flag_k = FK_CMP; 14048 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 14049 L_25115726: 14050 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 14051 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 14052 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 14053 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14054 _cf = 0; 14055 _flag_k = FK_NARROW(FK_TEST, 24); 14056 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 14057 L_25115730: 14058 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 14059 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 14060 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 14061 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 14062 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 14063 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 14064 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 14065 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 14066 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 14067 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14069 _flag_k = FK_CMP; 14070 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 14071 L_2511574C: 14072 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 14073 L_2511574F: 14074 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 14075 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 14076 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 14077 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 14078 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14080 _flag_k = FK_CMP; 14081 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 14082 L_2511575D: 14083 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 14084 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 14085 L_25115762: 14086 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 14087 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 14088 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14090 _flag_k = FK_CMP; 14091 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 14092 L_25115769: 14093 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 14094 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 14095 L_2511576D: 14096 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 14097 L_25115770: 14098 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 14099 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 14100 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 14101 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 14102 L_2511577B: 14103 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 14104 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 14105 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14107 _flag_k = FK_NARROW(FK_CMP, 24); 14108 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 14109 L_25115786: 14110 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 14111 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 14112 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14114 _flag_k = FK_NARROW(FK_CMP, 24); 14115 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 14116 L_25115792: 14117 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 14118 L_25115794: 14119 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 14120 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 14121 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14122 _cf = 0; 14123 _flag_k = FK_NARROW(FK_TEST, 24); 14124 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 14125 L_2511579B: 14126 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 14127 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 14128 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 14129 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 14130 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 14131 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 14132 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 14133 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 14134 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 14135 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14137 _flag_k = FK_CMP; 14138 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 14139 L_251157B7: 14140 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 14141 L_251157BA: 14142 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 14143 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 14144 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 14145 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 14146 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14148 _flag_k = FK_CMP; 14149 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 14150 L_251157C8: 14151 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 14152 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 14153 L_251157CD: 14154 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 14155 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 14156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14158 _flag_k = FK_CMP; 14159 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 14160 L_251157D5: 14161 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 14162 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 14163 L_251157DA: 14164 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 14165 L_251157DC: 14166 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 14167 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 14168 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 14169 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 14170 L_251157E7: 14171 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 14172 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 14173 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14175 _flag_k = FK_NARROW(FK_CMP, 24); 14176 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 14177 L_251157F3: 14178 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 14179 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 14180 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14182 _flag_k = FK_NARROW(FK_CMP, 24); 14183 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 14184 L_251157FE: 14185 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 14186 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 14187 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 14188 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 14189 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14191 _flag_k = FK_CMP; 14192 RECOMP_BACKEDGE(); 14193 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 14194 L_25115811: 14195 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 14196 L_25115816: 14197 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 14198 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 14199 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14201 _flag_k = FK_NARROW(FK_CMP, 24); 14202 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 14203 L_2511581E: 14204 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 14205 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 14206 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 14207 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 14208 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 14209 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 14210 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 14211 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 14212 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14214 _flag_k = FK_CMP; 14215 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 14216 L_25115836: 14217 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 14218 L_25115839: 14219 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 14220 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 14221 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 14222 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 14223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14225 _flag_k = FK_CMP; 14226 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 14227 L_25115847: 14228 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 14229 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 14230 L_2511584C: 14231 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 14232 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 14233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14235 _flag_k = FK_CMP; 14236 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 14237 L_25115854: 14238 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 14239 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 14240 L_25115859: 14241 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 14242 L_2511585B: 14243 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 14244 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 14245 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 14246 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 14247 L_25115867: 14248 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 14249 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 14250 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 14251 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 14252 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 14253 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 14254 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 14255 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 14256 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 14257 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 14258 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 14259 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 14260 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 14261 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14263 _flag_k = FK_CMP; 14264 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 14265 L_2511588E: 14266 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 14267 L_25115891: 14268 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 14269 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 14270 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 14271 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 14272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14274 _flag_k = FK_CMP; 14275 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 14276 L_2511589F: 14277 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 14278 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 14279 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 14280 L_251158A9: 14281 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 14282 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 14283 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14285 _flag_k = FK_CMP; 14286 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 14287 L_251158B0: 14288 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 14289 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 14290 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 14291 L_251158B9: 14292 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 14293 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 14294 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 14295 L_251158C3: 14296 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 14297 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 14298 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14300 _flag_k = FK_NARROW(FK_CMP, 24); 14301 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 14302 L_251158CA: 14303 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 14304 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 14305 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 14306 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 14307 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 14308 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 14309 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 14310 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 14311 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14313 _flag_k = FK_CMP; 14314 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 14315 L_251158E3: 14316 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 14317 L_251158E6: 14318 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 14319 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 14320 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 14321 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 14322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14324 _flag_k = FK_CMP; 14325 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 14326 L_251158F4: 14327 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 14328 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 14329 L_251158F9: 14330 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 14331 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 14332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14334 _flag_k = FK_CMP; 14335 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 14336 L_25115900: 14337 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 14338 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 14339 L_25115904: 14340 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 14341 L_25115907: 14342 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 14343 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 14344 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 14345 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 14346 L_25115911: 14347 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 14348 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 14349 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 14350 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 14351 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 14352 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 14353 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 14354 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 14355 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 14356 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 14357 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 14358 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 14359 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 14360 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14362 _flag_k = FK_CMP; 14363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 14364 L_25115937: 14365 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 14366 L_2511593A: 14367 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 14368 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 14369 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 14370 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 14371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14373 _flag_k = FK_CMP; 14374 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 14375 L_25115948: 14376 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 14377 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 14378 L_2511594D: 14379 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 14380 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 14381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14383 _flag_k = FK_CMP; 14384 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 14385 L_25115955: 14386 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 14387 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 14388 L_2511595A: 14389 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 14390 L_2511595C: 14391 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 14392 L_2511595F: 14393 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 14394 L_25115962: 14395 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 14396 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 14397 L_25115968: 14398 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 14399 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 14400 RECOMP_FLAGS_IN(); 14401 PUSH32(esp, esi); /* 0x25115970: push esi */ 14402 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 14403 RECOMP_FLAGS_IN(); 14404 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 14405 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 14406 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14408 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 14409 _flag_k = FK_ADD; 14410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14411 eax = eax - 1; /* 0x2511597F: dec eax */ 14412 _flag_k = FK_DEC; 14413 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 14414 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 14415 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 14416 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 14417 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 14418 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 14419 esp = ebp; /* 0x2511598B: mov esp, ebp */ 14420 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 14421 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 14422 RECOMP_REGS_OUT(); 14423 } 14424 14425 void sub_251156C9(void) { 14426 int _fpu_cmp = 0; 14427 uint32_t _cf = 0; 14428 int _df = 1; 14429 uint32_t _flag_k = FK_NONE; 14430 uint32_t _flag_a = 0, _flag_b = 0; 14431 uint32_t _itail_tgt = 0; 14432 RECOMP_REGS_LOCALS 14433 RECOMP_ENTER(0x251156C9u); 14434 14435 L_251156C9: 14436 MEM32(ebx) = edx; /* 0x251156C9: mov dword ptr [ebx], edx */ 14437 ebx = MEM32(edi + 0x4); /* 0x251156CB: mov ebx, dword ptr [edi + 4] */ 14438 /* cmp MEM32(ebx + 0x8), esi */ /* 0x251156CE: cmp dword ptr [ebx + 8], esi */ 14439 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 14440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14441 _flag_k = FK_CMP; 14442 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F8; /* 0x251156D1: jne 0x251156f8 */ 14443 L_251156D3: 14444 ecx = MEM32(esi); /* 0x251156D3: mov ecx, dword ptr [esi] */ 14445 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x251156D5: cmp ecx, dword ptr [edi + 8] */ 14446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14448 _flag_k = FK_CMP; 14449 if (CMP_NE(_flag_a, _flag_b)) goto L_251156DF; /* 0x251156D8: jne 0x251156df */ 14450 L_251156DA: 14451 edx = MEM32(esi + 0x4); /* 0x251156DA: mov edx, dword ptr [esi + 4] */ 14452 goto L_251156F5; /* 0x251156DD: jmp 0x251156f5 */ 14453 L_251156DF: 14454 ecx = MEM32(eax + 0x8); /* 0x251156DF: mov ecx, dword ptr [eax + 8] */ 14455 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156E2: cmp byte ptr [ecx + 0x2d], 0 */ 14456 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 14457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14458 _flag_k = FK_NARROW(FK_CMP, 24); 14459 edx = eax; /* 0x251156E6: mov edx, eax */ 14460 if (CMP_NE(_flag_a, _flag_b)) goto L_251156F5; /* 0x251156E8: jne 0x251156f5 */ 14461 L_251156EA: 14462 edx = ecx; /* 0x251156EA: mov edx, ecx */ 14463 ecx = MEM32(edx + 0x8); /* 0x251156EC: mov ecx, dword ptr [edx + 8] */ 14464 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x251156EF: cmp byte ptr [ecx + 0x2d], 0 */ 14465 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 14466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14467 _flag_k = FK_NARROW(FK_CMP, 24); 14468 RECOMP_BACKEDGE(); 14469 if (CMP_EQ(_flag_a, _flag_b)) goto L_251156EA; /* 0x251156F3: je 0x251156ea */ 14470 L_251156F5: 14471 MEM32(ebx + 0x8) = edx; /* 0x251156F5: mov dword ptr [ebx + 8], edx */ 14472 L_251156F8: 14473 esi = MEM32(ebp + (-0x4)); /* 0x251156F8: mov esi, dword ptr [ebp - 4] */ 14474 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x251156FB: mov cl, byte ptr [esi + 0x2c] */ 14475 SET_LO8(ebx, 1); /* 0x251156FE: mov bl, 1 */ 14476 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25115700: cmp cl, bl */ 14477 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14479 _flag_k = FK_NARROW(FK_CMP, 24); 14480 if (CMP_NE(_flag_a, _flag_b)) goto L_25115968; /* 0x25115702: jne 0x25115968 */ 14481 L_25115708: 14482 ecx = MEM32(edi + 0x4); /* 0x25115708: mov ecx, dword ptr [edi + 4] */ 14483 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511570B: cmp eax, dword ptr [ecx + 4] */ 14484 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14486 _flag_k = FK_CMP; 14487 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115962; /* 0x2511570E: je 0x25115962 */ 14488 L_25115714: 14489 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 14490 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14492 _flag_k = FK_NARROW(FK_CMP, 24); 14493 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 14494 L_2511571D: 14495 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 14496 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 14497 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 14498 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14500 _flag_k = FK_CMP; 14501 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 14502 L_25115726: 14503 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 14504 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 14505 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 14506 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14507 _cf = 0; 14508 _flag_k = FK_NARROW(FK_TEST, 24); 14509 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 14510 L_25115730: 14511 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 14512 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 14513 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 14514 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 14515 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 14516 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 14517 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 14518 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 14519 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 14520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14522 _flag_k = FK_CMP; 14523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 14524 L_2511574C: 14525 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 14526 L_2511574F: 14527 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 14528 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 14529 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 14530 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 14531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14533 _flag_k = FK_CMP; 14534 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 14535 L_2511575D: 14536 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 14537 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 14538 L_25115762: 14539 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 14540 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 14541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14543 _flag_k = FK_CMP; 14544 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 14545 L_25115769: 14546 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 14547 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 14548 L_2511576D: 14549 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 14550 L_25115770: 14551 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 14552 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 14553 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 14554 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 14555 L_2511577B: 14556 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 14557 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 14558 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14560 _flag_k = FK_NARROW(FK_CMP, 24); 14561 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 14562 L_25115786: 14563 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 14564 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 14565 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14567 _flag_k = FK_NARROW(FK_CMP, 24); 14568 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 14569 L_25115792: 14570 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 14571 L_25115794: 14572 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 14573 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 14574 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14575 _cf = 0; 14576 _flag_k = FK_NARROW(FK_TEST, 24); 14577 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 14578 L_2511579B: 14579 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 14580 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 14581 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 14582 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 14583 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 14584 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 14585 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 14586 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 14587 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 14588 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14590 _flag_k = FK_CMP; 14591 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 14592 L_251157B7: 14593 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 14594 L_251157BA: 14595 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 14596 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 14597 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 14598 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 14599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14601 _flag_k = FK_CMP; 14602 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 14603 L_251157C8: 14604 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 14605 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 14606 L_251157CD: 14607 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 14608 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 14609 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14611 _flag_k = FK_CMP; 14612 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 14613 L_251157D5: 14614 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 14615 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 14616 L_251157DA: 14617 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 14618 L_251157DC: 14619 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 14620 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 14621 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 14622 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 14623 L_251157E7: 14624 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 14625 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 14626 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14628 _flag_k = FK_NARROW(FK_CMP, 24); 14629 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 14630 L_251157F3: 14631 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 14632 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 14633 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14635 _flag_k = FK_NARROW(FK_CMP, 24); 14636 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 14637 L_251157FE: 14638 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 14639 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 14640 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 14641 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 14642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14644 _flag_k = FK_CMP; 14645 RECOMP_BACKEDGE(); 14646 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 14647 L_25115811: 14648 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 14649 L_25115816: 14650 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 14651 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 14652 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14654 _flag_k = FK_NARROW(FK_CMP, 24); 14655 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 14656 L_2511581E: 14657 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 14658 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 14659 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 14660 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 14661 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 14662 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 14663 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 14664 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 14665 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14667 _flag_k = FK_CMP; 14668 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 14669 L_25115836: 14670 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 14671 L_25115839: 14672 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 14673 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 14674 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 14675 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 14676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14678 _flag_k = FK_CMP; 14679 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 14680 L_25115847: 14681 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 14682 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 14683 L_2511584C: 14684 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 14685 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 14686 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14688 _flag_k = FK_CMP; 14689 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 14690 L_25115854: 14691 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 14692 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 14693 L_25115859: 14694 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 14695 L_2511585B: 14696 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 14697 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 14698 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 14699 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 14700 L_25115867: 14701 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 14702 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 14703 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 14704 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 14705 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 14706 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 14707 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 14708 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 14709 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 14710 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 14711 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 14712 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 14713 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 14714 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14716 _flag_k = FK_CMP; 14717 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 14718 L_2511588E: 14719 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 14720 L_25115891: 14721 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 14722 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 14723 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 14724 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 14725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14727 _flag_k = FK_CMP; 14728 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 14729 L_2511589F: 14730 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 14731 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 14732 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 14733 L_251158A9: 14734 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 14735 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 14736 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14738 _flag_k = FK_CMP; 14739 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 14740 L_251158B0: 14741 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 14742 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 14743 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 14744 L_251158B9: 14745 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 14746 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 14747 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 14748 L_251158C3: 14749 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 14750 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 14751 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14753 _flag_k = FK_NARROW(FK_CMP, 24); 14754 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 14755 L_251158CA: 14756 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 14757 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 14758 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 14759 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 14760 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 14761 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 14762 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 14763 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 14764 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14766 _flag_k = FK_CMP; 14767 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 14768 L_251158E3: 14769 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 14770 L_251158E6: 14771 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 14772 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 14773 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 14774 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 14775 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14777 _flag_k = FK_CMP; 14778 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 14779 L_251158F4: 14780 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 14781 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 14782 L_251158F9: 14783 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 14784 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 14785 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14787 _flag_k = FK_CMP; 14788 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 14789 L_25115900: 14790 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 14791 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 14792 L_25115904: 14793 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 14794 L_25115907: 14795 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 14796 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 14797 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 14798 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 14799 L_25115911: 14800 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 14801 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 14802 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 14803 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 14804 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 14805 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 14806 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 14807 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 14808 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 14809 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 14810 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 14811 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 14812 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 14813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14815 _flag_k = FK_CMP; 14816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 14817 L_25115937: 14818 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 14819 L_2511593A: 14820 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 14821 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 14822 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 14823 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 14824 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14826 _flag_k = FK_CMP; 14827 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 14828 L_25115948: 14829 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 14830 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 14831 L_2511594D: 14832 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 14833 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 14834 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14836 _flag_k = FK_CMP; 14837 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 14838 L_25115955: 14839 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 14840 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 14841 L_2511595A: 14842 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 14843 L_2511595C: 14844 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 14845 L_2511595F: 14846 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 14847 L_25115962: 14848 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 14849 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 14850 L_25115968: 14851 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 14852 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 14853 RECOMP_FLAGS_IN(); 14854 PUSH32(esp, esi); /* 0x25115970: push esi */ 14855 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 14856 RECOMP_FLAGS_IN(); 14857 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 14858 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 14859 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14861 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 14862 _flag_k = FK_ADD; 14863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14864 eax = eax - 1; /* 0x2511597F: dec eax */ 14865 _flag_k = FK_DEC; 14866 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 14867 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 14868 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 14869 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 14870 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 14871 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 14872 esp = ebp; /* 0x2511598B: mov esp, ebp */ 14873 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 14874 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 14875 RECOMP_REGS_OUT(); 14876 } 14877 14878 void sub_251156F5(void) { 14879 int _fpu_cmp = 0; 14880 uint32_t _cf = 0; 14881 int _df = 1; 14882 uint32_t _flag_k = FK_NONE; 14883 uint32_t _flag_a = 0, _flag_b = 0; 14884 uint32_t _itail_tgt = 0; 14885 RECOMP_REGS_LOCALS 14886 RECOMP_ENTER(0x251156F5u); 14887 14888 L_251156F5: 14889 MEM32(ebx + 0x8) = edx; /* 0x251156F5: mov dword ptr [ebx + 8], edx */ 14890 esi = MEM32(ebp + (-0x4)); /* 0x251156F8: mov esi, dword ptr [ebp - 4] */ 14891 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x251156FB: mov cl, byte ptr [esi + 0x2c] */ 14892 SET_LO8(ebx, 1); /* 0x251156FE: mov bl, 1 */ 14893 /* cmp LO8(ecx), LO8(ebx) */ /* 0x25115700: cmp cl, bl */ 14894 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14896 _flag_k = FK_NARROW(FK_CMP, 24); 14897 if (CMP_NE(_flag_a, _flag_b)) goto L_25115968; /* 0x25115702: jne 0x25115968 */ 14898 L_25115708: 14899 ecx = MEM32(edi + 0x4); /* 0x25115708: mov ecx, dword ptr [edi + 4] */ 14900 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511570B: cmp eax, dword ptr [ecx + 4] */ 14901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14903 _flag_k = FK_CMP; 14904 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115962; /* 0x2511570E: je 0x25115962 */ 14905 L_25115714: 14906 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 14907 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14909 _flag_k = FK_NARROW(FK_CMP, 24); 14910 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 14911 L_2511571D: 14912 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 14913 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 14914 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 14915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14917 _flag_k = FK_CMP; 14918 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 14919 L_25115726: 14920 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 14921 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 14922 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 14923 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14924 _cf = 0; 14925 _flag_k = FK_NARROW(FK_TEST, 24); 14926 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 14927 L_25115730: 14928 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 14929 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 14930 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 14931 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 14932 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 14933 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 14934 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 14935 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 14936 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 14937 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14939 _flag_k = FK_CMP; 14940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 14941 L_2511574C: 14942 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 14943 L_2511574F: 14944 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 14945 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 14946 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 14947 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 14948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14950 _flag_k = FK_CMP; 14951 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 14952 L_2511575D: 14953 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 14954 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 14955 L_25115762: 14956 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 14957 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 14958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14960 _flag_k = FK_CMP; 14961 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 14962 L_25115769: 14963 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 14964 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 14965 L_2511576D: 14966 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 14967 L_25115770: 14968 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 14969 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 14970 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 14971 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 14972 L_2511577B: 14973 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 14974 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 14975 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14977 _flag_k = FK_NARROW(FK_CMP, 24); 14978 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 14979 L_25115786: 14980 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 14981 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 14982 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14984 _flag_k = FK_NARROW(FK_CMP, 24); 14985 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 14986 L_25115792: 14987 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 14988 L_25115794: 14989 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 14990 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 14991 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14992 _cf = 0; 14993 _flag_k = FK_NARROW(FK_TEST, 24); 14994 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 14995 L_2511579B: 14996 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 14997 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 14998 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 14999 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 15000 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 15001 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 15002 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 15003 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 15004 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 15005 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15007 _flag_k = FK_CMP; 15008 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 15009 L_251157B7: 15010 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 15011 L_251157BA: 15012 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 15013 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 15014 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 15015 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 15016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15018 _flag_k = FK_CMP; 15019 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 15020 L_251157C8: 15021 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 15022 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 15023 L_251157CD: 15024 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 15025 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 15026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15028 _flag_k = FK_CMP; 15029 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 15030 L_251157D5: 15031 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 15032 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 15033 L_251157DA: 15034 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 15035 L_251157DC: 15036 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 15037 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 15038 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 15039 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 15040 L_251157E7: 15041 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 15042 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 15043 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15045 _flag_k = FK_NARROW(FK_CMP, 24); 15046 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 15047 L_251157F3: 15048 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 15049 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 15050 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15052 _flag_k = FK_NARROW(FK_CMP, 24); 15053 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 15054 L_251157FE: 15055 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 15056 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 15057 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 15058 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 15059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15061 _flag_k = FK_CMP; 15062 RECOMP_BACKEDGE(); 15063 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 15064 L_25115811: 15065 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 15066 L_25115816: 15067 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 15068 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 15069 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15071 _flag_k = FK_NARROW(FK_CMP, 24); 15072 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 15073 L_2511581E: 15074 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 15075 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 15076 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 15077 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 15078 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 15079 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 15080 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 15081 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 15082 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15084 _flag_k = FK_CMP; 15085 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 15086 L_25115836: 15087 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 15088 L_25115839: 15089 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 15090 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 15091 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 15092 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 15093 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15095 _flag_k = FK_CMP; 15096 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 15097 L_25115847: 15098 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 15099 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 15100 L_2511584C: 15101 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 15102 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 15103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15105 _flag_k = FK_CMP; 15106 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 15107 L_25115854: 15108 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 15109 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 15110 L_25115859: 15111 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 15112 L_2511585B: 15113 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 15114 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 15115 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 15116 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 15117 L_25115867: 15118 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 15119 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 15120 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 15121 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 15122 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 15123 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 15124 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 15125 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 15126 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 15127 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 15128 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 15129 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 15130 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 15131 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15133 _flag_k = FK_CMP; 15134 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 15135 L_2511588E: 15136 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 15137 L_25115891: 15138 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 15139 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 15140 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 15141 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 15142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15144 _flag_k = FK_CMP; 15145 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 15146 L_2511589F: 15147 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 15148 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 15149 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 15150 L_251158A9: 15151 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 15152 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 15153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15155 _flag_k = FK_CMP; 15156 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 15157 L_251158B0: 15158 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 15159 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 15160 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 15161 L_251158B9: 15162 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 15163 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 15164 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 15165 L_251158C3: 15166 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 15167 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 15168 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15170 _flag_k = FK_NARROW(FK_CMP, 24); 15171 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 15172 L_251158CA: 15173 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 15174 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 15175 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 15176 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 15177 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 15178 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 15179 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 15180 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 15181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15183 _flag_k = FK_CMP; 15184 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 15185 L_251158E3: 15186 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 15187 L_251158E6: 15188 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 15189 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 15190 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 15191 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 15192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15194 _flag_k = FK_CMP; 15195 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 15196 L_251158F4: 15197 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 15198 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 15199 L_251158F9: 15200 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 15201 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 15202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15204 _flag_k = FK_CMP; 15205 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 15206 L_25115900: 15207 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 15208 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 15209 L_25115904: 15210 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 15211 L_25115907: 15212 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 15213 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 15214 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 15215 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 15216 L_25115911: 15217 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 15218 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 15219 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 15220 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 15221 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 15222 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 15223 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 15224 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 15225 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 15226 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 15227 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 15228 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 15229 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 15230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15232 _flag_k = FK_CMP; 15233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 15234 L_25115937: 15235 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 15236 L_2511593A: 15237 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 15238 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 15239 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 15240 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 15241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15243 _flag_k = FK_CMP; 15244 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 15245 L_25115948: 15246 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 15247 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 15248 L_2511594D: 15249 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 15250 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 15251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15253 _flag_k = FK_CMP; 15254 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 15255 L_25115955: 15256 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 15257 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 15258 L_2511595A: 15259 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 15260 L_2511595C: 15261 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 15262 L_2511595F: 15263 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 15264 L_25115962: 15265 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 15266 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 15267 L_25115968: 15268 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 15269 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 15270 RECOMP_FLAGS_IN(); 15271 PUSH32(esp, esi); /* 0x25115970: push esi */ 15272 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 15273 RECOMP_FLAGS_IN(); 15274 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 15275 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 15276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15278 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 15279 _flag_k = FK_ADD; 15280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15281 eax = eax - 1; /* 0x2511597F: dec eax */ 15282 _flag_k = FK_DEC; 15283 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 15284 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 15285 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 15286 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 15287 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 15288 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 15289 esp = ebp; /* 0x2511598B: mov esp, ebp */ 15290 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 15291 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 15292 RECOMP_REGS_OUT(); 15293 } 15294 15295 void sub_25115714(void) { 15296 int _fpu_cmp = 0; 15297 uint32_t _cf = 0; 15298 int _df = 1; 15299 uint32_t _flag_k = FK_NONE; 15300 uint32_t _flag_a = 0, _flag_b = 0; 15301 uint32_t _itail_tgt = 0; 15302 RECOMP_REGS_LOCALS 15303 RECOMP_ENTER(0x25115714u); 15304 15305 L_25115714: 15306 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 15307 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15309 _flag_k = FK_NARROW(FK_CMP, 24); 15310 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 15311 L_2511571D: 15312 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 15313 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 15314 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 15315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15317 _flag_k = FK_CMP; 15318 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 15319 L_25115726: 15320 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 15321 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 15322 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 15323 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15324 _cf = 0; 15325 _flag_k = FK_NARROW(FK_TEST, 24); 15326 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 15327 L_25115730: 15328 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 15329 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 15330 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 15331 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 15332 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 15333 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 15334 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 15335 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 15336 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 15337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15339 _flag_k = FK_CMP; 15340 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 15341 L_2511574C: 15342 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 15343 L_2511574F: 15344 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 15345 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 15346 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 15347 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 15348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15350 _flag_k = FK_CMP; 15351 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 15352 L_2511575D: 15353 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 15354 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 15355 L_25115762: 15356 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 15357 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 15358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15360 _flag_k = FK_CMP; 15361 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 15362 L_25115769: 15363 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 15364 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 15365 L_2511576D: 15366 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 15367 L_25115770: 15368 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 15369 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 15370 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 15371 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 15372 L_2511577B: 15373 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 15374 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 15375 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15377 _flag_k = FK_NARROW(FK_CMP, 24); 15378 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 15379 L_25115786: 15380 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 15381 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 15382 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15384 _flag_k = FK_NARROW(FK_CMP, 24); 15385 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 15386 L_25115792: 15387 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 15388 L_25115794: 15389 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 15390 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 15391 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15392 _cf = 0; 15393 _flag_k = FK_NARROW(FK_TEST, 24); 15394 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 15395 L_2511579B: 15396 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 15397 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 15398 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 15399 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 15400 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 15401 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 15402 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 15403 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 15404 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 15405 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15407 _flag_k = FK_CMP; 15408 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 15409 L_251157B7: 15410 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 15411 L_251157BA: 15412 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 15413 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 15414 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 15415 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 15416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15418 _flag_k = FK_CMP; 15419 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 15420 L_251157C8: 15421 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 15422 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 15423 L_251157CD: 15424 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 15425 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 15426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15428 _flag_k = FK_CMP; 15429 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 15430 L_251157D5: 15431 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 15432 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 15433 L_251157DA: 15434 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 15435 L_251157DC: 15436 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 15437 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 15438 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 15439 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 15440 L_251157E7: 15441 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 15442 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 15443 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15445 _flag_k = FK_NARROW(FK_CMP, 24); 15446 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 15447 L_251157F3: 15448 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 15449 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 15450 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15452 _flag_k = FK_NARROW(FK_CMP, 24); 15453 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 15454 L_251157FE: 15455 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 15456 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 15457 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 15458 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 15459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15461 _flag_k = FK_CMP; 15462 RECOMP_BACKEDGE(); 15463 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 15464 L_25115811: 15465 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 15466 L_25115816: 15467 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 15468 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 15469 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15471 _flag_k = FK_NARROW(FK_CMP, 24); 15472 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 15473 L_2511581E: 15474 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 15475 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 15476 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 15477 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 15478 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 15479 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 15480 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 15481 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 15482 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15484 _flag_k = FK_CMP; 15485 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 15486 L_25115836: 15487 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 15488 L_25115839: 15489 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 15490 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 15491 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 15492 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 15493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15495 _flag_k = FK_CMP; 15496 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 15497 L_25115847: 15498 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 15499 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 15500 L_2511584C: 15501 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 15502 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 15503 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15505 _flag_k = FK_CMP; 15506 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 15507 L_25115854: 15508 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 15509 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 15510 L_25115859: 15511 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 15512 L_2511585B: 15513 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 15514 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 15515 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 15516 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 15517 L_25115867: 15518 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 15519 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 15520 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 15521 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 15522 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 15523 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 15524 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 15525 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 15526 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 15527 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 15528 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 15529 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 15530 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 15531 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15533 _flag_k = FK_CMP; 15534 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 15535 L_2511588E: 15536 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 15537 L_25115891: 15538 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 15539 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 15540 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 15541 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 15542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15544 _flag_k = FK_CMP; 15545 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 15546 L_2511589F: 15547 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 15548 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 15549 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 15550 L_251158A9: 15551 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 15552 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 15553 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15555 _flag_k = FK_CMP; 15556 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 15557 L_251158B0: 15558 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 15559 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 15560 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 15561 L_251158B9: 15562 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 15563 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 15564 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 15565 L_251158C3: 15566 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 15567 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 15568 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15570 _flag_k = FK_NARROW(FK_CMP, 24); 15571 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 15572 L_251158CA: 15573 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 15574 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 15575 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 15576 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 15577 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 15578 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 15579 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 15580 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 15581 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15583 _flag_k = FK_CMP; 15584 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 15585 L_251158E3: 15586 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 15587 L_251158E6: 15588 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 15589 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 15590 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 15591 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 15592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15594 _flag_k = FK_CMP; 15595 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 15596 L_251158F4: 15597 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 15598 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 15599 L_251158F9: 15600 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 15601 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 15602 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15604 _flag_k = FK_CMP; 15605 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 15606 L_25115900: 15607 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 15608 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 15609 L_25115904: 15610 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 15611 L_25115907: 15612 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 15613 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 15614 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 15615 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 15616 L_25115911: 15617 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 15618 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 15619 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 15620 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 15621 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 15622 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 15623 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 15624 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 15625 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 15626 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 15627 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 15628 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 15629 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 15630 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15632 _flag_k = FK_CMP; 15633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 15634 L_25115937: 15635 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 15636 L_2511593A: 15637 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 15638 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 15639 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 15640 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 15641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15643 _flag_k = FK_CMP; 15644 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 15645 L_25115948: 15646 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 15647 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 15648 L_2511594D: 15649 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 15650 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 15651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15653 _flag_k = FK_CMP; 15654 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 15655 L_25115955: 15656 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 15657 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 15658 L_2511595A: 15659 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 15660 L_2511595C: 15661 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 15662 L_2511595F: 15663 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 15664 L_25115962: 15665 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 15666 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 15667 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 15668 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 15669 RECOMP_FLAGS_IN(); 15670 PUSH32(esp, esi); /* 0x25115970: push esi */ 15671 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 15672 RECOMP_FLAGS_IN(); 15673 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 15674 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 15675 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15677 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 15678 _flag_k = FK_ADD; 15679 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15680 eax = eax - 1; /* 0x2511597F: dec eax */ 15681 _flag_k = FK_DEC; 15682 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 15683 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 15684 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 15685 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 15686 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 15687 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 15688 esp = ebp; /* 0x2511598B: mov esp, ebp */ 15689 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 15690 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 15691 RECOMP_REGS_OUT(); 15692 } 15693 15694 void sub_25115770(void) { 15695 int _fpu_cmp = 0; 15696 uint32_t _cf = 0; 15697 int _df = 1; 15698 uint32_t _flag_k = FK_NONE; 15699 uint32_t _flag_a = 0, _flag_b = 0; 15700 uint32_t _itail_tgt = 0; 15701 RECOMP_REGS_LOCALS 15702 RECOMP_ENTER(0x25115770u); 15703 15704 goto L_25115770; 15705 L_25115714: 15706 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 15707 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15709 _flag_k = FK_NARROW(FK_CMP, 24); 15710 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 15711 L_2511571D: 15712 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 15713 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 15714 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 15715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15717 _flag_k = FK_CMP; 15718 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 15719 L_25115726: 15720 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 15721 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 15722 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 15723 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15724 _cf = 0; 15725 _flag_k = FK_NARROW(FK_TEST, 24); 15726 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 15727 L_25115730: 15728 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 15729 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 15730 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 15731 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 15732 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 15733 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 15734 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 15735 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 15736 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 15737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15739 _flag_k = FK_CMP; 15740 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 15741 L_2511574C: 15742 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 15743 L_2511574F: 15744 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 15745 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 15746 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 15747 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 15748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15750 _flag_k = FK_CMP; 15751 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 15752 L_2511575D: 15753 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 15754 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 15755 L_25115762: 15756 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 15757 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 15758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15760 _flag_k = FK_CMP; 15761 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 15762 L_25115769: 15763 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 15764 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 15765 L_2511576D: 15766 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 15767 L_25115770: 15768 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 15769 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 15770 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 15771 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 15772 L_2511577B: 15773 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 15774 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 15775 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15777 _flag_k = FK_NARROW(FK_CMP, 24); 15778 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 15779 L_25115786: 15780 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 15781 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 15782 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15784 _flag_k = FK_NARROW(FK_CMP, 24); 15785 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 15786 L_25115792: 15787 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 15788 L_25115794: 15789 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 15790 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 15791 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15792 _cf = 0; 15793 _flag_k = FK_NARROW(FK_TEST, 24); 15794 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 15795 L_2511579B: 15796 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 15797 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 15798 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 15799 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 15800 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 15801 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 15802 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 15803 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 15804 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 15805 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15807 _flag_k = FK_CMP; 15808 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 15809 L_251157B7: 15810 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 15811 L_251157BA: 15812 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 15813 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 15814 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 15815 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 15816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15818 _flag_k = FK_CMP; 15819 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 15820 L_251157C8: 15821 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 15822 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 15823 L_251157CD: 15824 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 15825 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 15826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15828 _flag_k = FK_CMP; 15829 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 15830 L_251157D5: 15831 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 15832 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 15833 L_251157DA: 15834 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 15835 L_251157DC: 15836 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 15837 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 15838 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 15839 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 15840 L_251157E7: 15841 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 15842 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 15843 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15845 _flag_k = FK_NARROW(FK_CMP, 24); 15846 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 15847 L_251157F3: 15848 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 15849 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 15850 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15852 _flag_k = FK_NARROW(FK_CMP, 24); 15853 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 15854 L_251157FE: 15855 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 15856 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 15857 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 15858 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 15859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15861 _flag_k = FK_CMP; 15862 RECOMP_BACKEDGE(); 15863 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 15864 L_25115811: 15865 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 15866 L_25115816: 15867 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 15868 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 15869 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15871 _flag_k = FK_NARROW(FK_CMP, 24); 15872 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 15873 L_2511581E: 15874 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 15875 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 15876 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 15877 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 15878 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 15879 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 15880 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 15881 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 15882 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15884 _flag_k = FK_CMP; 15885 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 15886 L_25115836: 15887 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 15888 L_25115839: 15889 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 15890 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 15891 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 15892 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 15893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15895 _flag_k = FK_CMP; 15896 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 15897 L_25115847: 15898 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 15899 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 15900 L_2511584C: 15901 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 15902 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 15903 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15905 _flag_k = FK_CMP; 15906 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 15907 L_25115854: 15908 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 15909 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 15910 L_25115859: 15911 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 15912 L_2511585B: 15913 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 15914 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 15915 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 15916 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 15917 L_25115867: 15918 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 15919 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 15920 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 15921 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 15922 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 15923 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 15924 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 15925 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 15926 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 15927 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 15928 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 15929 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 15930 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 15931 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15933 _flag_k = FK_CMP; 15934 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 15935 L_2511588E: 15936 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 15937 L_25115891: 15938 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 15939 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 15940 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 15941 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 15942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15944 _flag_k = FK_CMP; 15945 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 15946 L_2511589F: 15947 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 15948 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 15949 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 15950 L_251158A9: 15951 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 15952 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 15953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15955 _flag_k = FK_CMP; 15956 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 15957 L_251158B0: 15958 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 15959 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 15960 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 15961 L_251158B9: 15962 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 15963 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 15964 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 15965 L_251158C3: 15966 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 15967 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 15968 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15970 _flag_k = FK_NARROW(FK_CMP, 24); 15971 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 15972 L_251158CA: 15973 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 15974 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 15975 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 15976 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 15977 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 15978 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 15979 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 15980 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 15981 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15983 _flag_k = FK_CMP; 15984 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 15985 L_251158E3: 15986 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 15987 L_251158E6: 15988 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 15989 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 15990 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 15991 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 15992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15994 _flag_k = FK_CMP; 15995 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 15996 L_251158F4: 15997 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 15998 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 15999 L_251158F9: 16000 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 16001 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 16002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16004 _flag_k = FK_CMP; 16005 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 16006 L_25115900: 16007 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 16008 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 16009 L_25115904: 16010 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 16011 L_25115907: 16012 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 16013 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 16014 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 16015 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 16016 L_25115911: 16017 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 16018 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 16019 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 16020 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 16021 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 16022 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 16023 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 16024 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 16025 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 16026 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 16027 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 16028 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 16029 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 16030 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16032 _flag_k = FK_CMP; 16033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 16034 L_25115937: 16035 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 16036 L_2511593A: 16037 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 16038 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 16039 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 16040 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 16041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16043 _flag_k = FK_CMP; 16044 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 16045 L_25115948: 16046 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 16047 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 16048 L_2511594D: 16049 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 16050 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 16051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16053 _flag_k = FK_CMP; 16054 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 16055 L_25115955: 16056 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 16057 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 16058 L_2511595A: 16059 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 16060 L_2511595C: 16061 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 16062 L_2511595F: 16063 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 16064 L_25115962: 16065 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 16066 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 16067 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 16068 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 16069 RECOMP_FLAGS_IN(); 16070 PUSH32(esp, esi); /* 0x25115970: push esi */ 16071 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 16072 RECOMP_FLAGS_IN(); 16073 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 16074 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 16075 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16077 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 16078 _flag_k = FK_ADD; 16079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16080 eax = eax - 1; /* 0x2511597F: dec eax */ 16081 _flag_k = FK_DEC; 16082 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 16083 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 16084 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 16085 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 16086 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 16087 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 16088 esp = ebp; /* 0x2511598B: mov esp, ebp */ 16089 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 16090 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 16091 RECOMP_REGS_OUT(); 16092 } 16093 16094 void sub_2511577B(void) { 16095 int _fpu_cmp = 0; 16096 uint32_t _cf = 0; 16097 int _df = 1; 16098 uint32_t _flag_k = FK_NONE; 16099 uint32_t _flag_a = 0, _flag_b = 0; 16100 uint32_t _itail_tgt = 0; 16101 RECOMP_REGS_LOCALS 16102 RECOMP_ENTER(0x2511577Bu); 16103 16104 goto L_2511577B; 16105 L_25115714: 16106 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 16107 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16109 _flag_k = FK_NARROW(FK_CMP, 24); 16110 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 16111 L_2511571D: 16112 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 16113 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 16114 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 16115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16117 _flag_k = FK_CMP; 16118 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 16119 L_25115726: 16120 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 16121 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 16122 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 16123 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16124 _cf = 0; 16125 _flag_k = FK_NARROW(FK_TEST, 24); 16126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 16127 L_25115730: 16128 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 16129 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 16130 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 16131 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 16132 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 16133 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 16134 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 16135 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 16136 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 16137 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16139 _flag_k = FK_CMP; 16140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 16141 L_2511574C: 16142 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 16143 L_2511574F: 16144 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 16145 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 16146 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 16147 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 16148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16150 _flag_k = FK_CMP; 16151 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 16152 L_2511575D: 16153 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 16154 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 16155 L_25115762: 16156 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 16157 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 16158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16160 _flag_k = FK_CMP; 16161 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 16162 L_25115769: 16163 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 16164 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 16165 L_2511576D: 16166 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 16167 L_25115770: 16168 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 16169 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 16170 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 16171 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 16172 L_2511577B: 16173 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 16174 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 16175 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16177 _flag_k = FK_NARROW(FK_CMP, 24); 16178 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 16179 L_25115786: 16180 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 16181 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 16182 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16184 _flag_k = FK_NARROW(FK_CMP, 24); 16185 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 16186 L_25115792: 16187 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 16188 L_25115794: 16189 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 16190 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 16191 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16192 _cf = 0; 16193 _flag_k = FK_NARROW(FK_TEST, 24); 16194 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 16195 L_2511579B: 16196 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 16197 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 16198 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 16199 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 16200 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 16201 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 16202 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 16203 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 16204 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 16205 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16207 _flag_k = FK_CMP; 16208 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 16209 L_251157B7: 16210 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 16211 L_251157BA: 16212 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 16213 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 16214 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 16215 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 16216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16218 _flag_k = FK_CMP; 16219 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 16220 L_251157C8: 16221 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 16222 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 16223 L_251157CD: 16224 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 16225 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 16226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16228 _flag_k = FK_CMP; 16229 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 16230 L_251157D5: 16231 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 16232 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 16233 L_251157DA: 16234 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 16235 L_251157DC: 16236 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 16237 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 16238 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 16239 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 16240 L_251157E7: 16241 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 16242 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 16243 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16245 _flag_k = FK_NARROW(FK_CMP, 24); 16246 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 16247 L_251157F3: 16248 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 16249 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 16250 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16252 _flag_k = FK_NARROW(FK_CMP, 24); 16253 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 16254 L_251157FE: 16255 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 16256 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 16257 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 16258 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 16259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16261 _flag_k = FK_CMP; 16262 RECOMP_BACKEDGE(); 16263 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 16264 L_25115811: 16265 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 16266 L_25115816: 16267 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 16268 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 16269 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16271 _flag_k = FK_NARROW(FK_CMP, 24); 16272 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 16273 L_2511581E: 16274 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 16275 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 16276 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 16277 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 16278 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 16279 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 16280 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 16281 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 16282 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16284 _flag_k = FK_CMP; 16285 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 16286 L_25115836: 16287 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 16288 L_25115839: 16289 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 16290 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 16291 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 16292 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 16293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16295 _flag_k = FK_CMP; 16296 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 16297 L_25115847: 16298 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 16299 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 16300 L_2511584C: 16301 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 16302 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 16303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16305 _flag_k = FK_CMP; 16306 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 16307 L_25115854: 16308 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 16309 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 16310 L_25115859: 16311 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 16312 L_2511585B: 16313 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 16314 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 16315 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 16316 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 16317 L_25115867: 16318 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 16319 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 16320 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 16321 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 16322 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 16323 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 16324 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 16325 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 16326 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 16327 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 16328 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 16329 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 16330 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 16331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16333 _flag_k = FK_CMP; 16334 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 16335 L_2511588E: 16336 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 16337 L_25115891: 16338 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 16339 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 16340 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 16341 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 16342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16344 _flag_k = FK_CMP; 16345 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 16346 L_2511589F: 16347 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 16348 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 16349 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 16350 L_251158A9: 16351 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 16352 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 16353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16355 _flag_k = FK_CMP; 16356 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 16357 L_251158B0: 16358 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 16359 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 16360 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 16361 L_251158B9: 16362 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 16363 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 16364 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 16365 L_251158C3: 16366 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 16367 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 16368 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16370 _flag_k = FK_NARROW(FK_CMP, 24); 16371 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 16372 L_251158CA: 16373 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 16374 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 16375 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 16376 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 16377 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 16378 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 16379 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 16380 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 16381 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16383 _flag_k = FK_CMP; 16384 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 16385 L_251158E3: 16386 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 16387 L_251158E6: 16388 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 16389 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 16390 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 16391 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 16392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16394 _flag_k = FK_CMP; 16395 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 16396 L_251158F4: 16397 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 16398 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 16399 L_251158F9: 16400 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 16401 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 16402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16404 _flag_k = FK_CMP; 16405 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 16406 L_25115900: 16407 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 16408 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 16409 L_25115904: 16410 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 16411 L_25115907: 16412 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 16413 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 16414 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 16415 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 16416 L_25115911: 16417 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 16418 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 16419 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 16420 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 16421 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 16422 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 16423 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 16424 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 16425 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 16426 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 16427 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 16428 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 16429 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 16430 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16432 _flag_k = FK_CMP; 16433 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 16434 L_25115937: 16435 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 16436 L_2511593A: 16437 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 16438 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 16439 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 16440 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 16441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16443 _flag_k = FK_CMP; 16444 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 16445 L_25115948: 16446 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 16447 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 16448 L_2511594D: 16449 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 16450 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 16451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16453 _flag_k = FK_CMP; 16454 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 16455 L_25115955: 16456 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 16457 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 16458 L_2511595A: 16459 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 16460 L_2511595C: 16461 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 16462 L_2511595F: 16463 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 16464 L_25115962: 16465 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 16466 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 16467 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 16468 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 16469 RECOMP_FLAGS_IN(); 16470 PUSH32(esp, esi); /* 0x25115970: push esi */ 16471 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 16472 RECOMP_FLAGS_IN(); 16473 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 16474 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 16475 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16476 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16477 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 16478 _flag_k = FK_ADD; 16479 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16480 eax = eax - 1; /* 0x2511597F: dec eax */ 16481 _flag_k = FK_DEC; 16482 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 16483 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 16484 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 16485 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 16486 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 16487 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 16488 esp = ebp; /* 0x2511598B: mov esp, ebp */ 16489 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 16490 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 16491 RECOMP_REGS_OUT(); 16492 } 16493 16494 void sub_25115794(void) { 16495 int _fpu_cmp = 0; 16496 uint32_t _cf = 0; 16497 int _df = 1; 16498 uint32_t _flag_k = FK_NONE; 16499 uint32_t _flag_a = 0, _flag_b = 0; 16500 uint32_t _itail_tgt = 0; 16501 RECOMP_REGS_LOCALS 16502 RECOMP_ENTER(0x25115794u); 16503 16504 goto L_25115794; 16505 L_25115714: 16506 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 16507 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16509 _flag_k = FK_NARROW(FK_CMP, 24); 16510 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 16511 L_2511571D: 16512 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 16513 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 16514 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 16515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16517 _flag_k = FK_CMP; 16518 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 16519 L_25115726: 16520 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 16521 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 16522 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 16523 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16524 _cf = 0; 16525 _flag_k = FK_NARROW(FK_TEST, 24); 16526 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 16527 L_25115730: 16528 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 16529 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 16530 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 16531 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 16532 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 16533 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 16534 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 16535 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 16536 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 16537 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16539 _flag_k = FK_CMP; 16540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 16541 L_2511574C: 16542 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 16543 L_2511574F: 16544 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 16545 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 16546 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 16547 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 16548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16550 _flag_k = FK_CMP; 16551 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 16552 L_2511575D: 16553 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 16554 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 16555 L_25115762: 16556 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 16557 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 16558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16560 _flag_k = FK_CMP; 16561 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 16562 L_25115769: 16563 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 16564 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 16565 L_2511576D: 16566 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 16567 L_25115770: 16568 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 16569 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 16570 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 16571 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 16572 L_2511577B: 16573 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 16574 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 16575 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16577 _flag_k = FK_NARROW(FK_CMP, 24); 16578 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 16579 L_25115786: 16580 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 16581 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 16582 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16584 _flag_k = FK_NARROW(FK_CMP, 24); 16585 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 16586 L_25115792: 16587 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 16588 L_25115794: 16589 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 16590 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 16591 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16592 _cf = 0; 16593 _flag_k = FK_NARROW(FK_TEST, 24); 16594 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 16595 L_2511579B: 16596 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 16597 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 16598 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 16599 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 16600 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 16601 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 16602 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 16603 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 16604 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 16605 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16607 _flag_k = FK_CMP; 16608 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 16609 L_251157B7: 16610 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 16611 L_251157BA: 16612 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 16613 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 16614 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 16615 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 16616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16618 _flag_k = FK_CMP; 16619 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 16620 L_251157C8: 16621 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 16622 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 16623 L_251157CD: 16624 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 16625 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 16626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16628 _flag_k = FK_CMP; 16629 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 16630 L_251157D5: 16631 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 16632 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 16633 L_251157DA: 16634 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 16635 L_251157DC: 16636 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 16637 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 16638 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 16639 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 16640 L_251157E7: 16641 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 16642 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 16643 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16645 _flag_k = FK_NARROW(FK_CMP, 24); 16646 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 16647 L_251157F3: 16648 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 16649 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 16650 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16652 _flag_k = FK_NARROW(FK_CMP, 24); 16653 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 16654 L_251157FE: 16655 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 16656 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 16657 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 16658 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 16659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16661 _flag_k = FK_CMP; 16662 RECOMP_BACKEDGE(); 16663 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 16664 L_25115811: 16665 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 16666 L_25115816: 16667 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 16668 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 16669 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16671 _flag_k = FK_NARROW(FK_CMP, 24); 16672 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 16673 L_2511581E: 16674 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 16675 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 16676 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 16677 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 16678 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 16679 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 16680 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 16681 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 16682 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16684 _flag_k = FK_CMP; 16685 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 16686 L_25115836: 16687 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 16688 L_25115839: 16689 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 16690 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 16691 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 16692 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 16693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16695 _flag_k = FK_CMP; 16696 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 16697 L_25115847: 16698 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 16699 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 16700 L_2511584C: 16701 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 16702 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 16703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16705 _flag_k = FK_CMP; 16706 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 16707 L_25115854: 16708 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 16709 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 16710 L_25115859: 16711 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 16712 L_2511585B: 16713 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 16714 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 16715 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 16716 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 16717 L_25115867: 16718 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 16719 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 16720 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 16721 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 16722 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 16723 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 16724 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 16725 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 16726 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 16727 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 16728 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 16729 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 16730 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 16731 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16733 _flag_k = FK_CMP; 16734 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 16735 L_2511588E: 16736 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 16737 L_25115891: 16738 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 16739 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 16740 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 16741 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 16742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16744 _flag_k = FK_CMP; 16745 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 16746 L_2511589F: 16747 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 16748 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 16749 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 16750 L_251158A9: 16751 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 16752 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 16753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16755 _flag_k = FK_CMP; 16756 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 16757 L_251158B0: 16758 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 16759 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 16760 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 16761 L_251158B9: 16762 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 16763 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 16764 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 16765 L_251158C3: 16766 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 16767 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 16768 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16770 _flag_k = FK_NARROW(FK_CMP, 24); 16771 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 16772 L_251158CA: 16773 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 16774 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 16775 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 16776 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 16777 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 16778 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 16779 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 16780 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 16781 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16783 _flag_k = FK_CMP; 16784 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 16785 L_251158E3: 16786 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 16787 L_251158E6: 16788 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 16789 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 16790 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 16791 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 16792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16794 _flag_k = FK_CMP; 16795 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 16796 L_251158F4: 16797 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 16798 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 16799 L_251158F9: 16800 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 16801 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 16802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16804 _flag_k = FK_CMP; 16805 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 16806 L_25115900: 16807 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 16808 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 16809 L_25115904: 16810 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 16811 L_25115907: 16812 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 16813 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 16814 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 16815 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 16816 L_25115911: 16817 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 16818 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 16819 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 16820 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 16821 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 16822 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 16823 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 16824 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 16825 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 16826 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 16827 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 16828 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 16829 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 16830 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16832 _flag_k = FK_CMP; 16833 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 16834 L_25115937: 16835 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 16836 L_2511593A: 16837 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 16838 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 16839 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 16840 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 16841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16843 _flag_k = FK_CMP; 16844 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 16845 L_25115948: 16846 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 16847 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 16848 L_2511594D: 16849 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 16850 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 16851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16853 _flag_k = FK_CMP; 16854 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 16855 L_25115955: 16856 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 16857 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 16858 L_2511595A: 16859 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 16860 L_2511595C: 16861 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 16862 L_2511595F: 16863 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 16864 L_25115962: 16865 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 16866 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 16867 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 16868 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 16869 RECOMP_FLAGS_IN(); 16870 PUSH32(esp, esi); /* 0x25115970: push esi */ 16871 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 16872 RECOMP_FLAGS_IN(); 16873 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 16874 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 16875 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16877 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 16878 _flag_k = FK_ADD; 16879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16880 eax = eax - 1; /* 0x2511597F: dec eax */ 16881 _flag_k = FK_DEC; 16882 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 16883 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 16884 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 16885 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 16886 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 16887 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 16888 esp = ebp; /* 0x2511598B: mov esp, ebp */ 16889 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 16890 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 16891 RECOMP_REGS_OUT(); 16892 } 16893 16894 void sub_251157DC(void) { 16895 int _fpu_cmp = 0; 16896 uint32_t _cf = 0; 16897 int _df = 1; 16898 uint32_t _flag_k = FK_NONE; 16899 uint32_t _flag_a = 0, _flag_b = 0; 16900 uint32_t _itail_tgt = 0; 16901 RECOMP_REGS_LOCALS 16902 RECOMP_ENTER(0x251157DCu); 16903 16904 goto L_251157DC; 16905 L_25115714: 16906 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 16907 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16909 _flag_k = FK_NARROW(FK_CMP, 24); 16910 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 16911 L_2511571D: 16912 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 16913 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 16914 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 16915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16917 _flag_k = FK_CMP; 16918 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 16919 L_25115726: 16920 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 16921 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 16922 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 16923 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16924 _cf = 0; 16925 _flag_k = FK_NARROW(FK_TEST, 24); 16926 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 16927 L_25115730: 16928 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 16929 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 16930 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 16931 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 16932 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 16933 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 16934 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 16935 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 16936 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 16937 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16939 _flag_k = FK_CMP; 16940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 16941 L_2511574C: 16942 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 16943 L_2511574F: 16944 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 16945 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 16946 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 16947 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 16948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16950 _flag_k = FK_CMP; 16951 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 16952 L_2511575D: 16953 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 16954 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 16955 L_25115762: 16956 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 16957 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 16958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16960 _flag_k = FK_CMP; 16961 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 16962 L_25115769: 16963 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 16964 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 16965 L_2511576D: 16966 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 16967 L_25115770: 16968 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 16969 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 16970 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 16971 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 16972 L_2511577B: 16973 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 16974 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 16975 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16977 _flag_k = FK_NARROW(FK_CMP, 24); 16978 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 16979 L_25115786: 16980 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 16981 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 16982 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16984 _flag_k = FK_NARROW(FK_CMP, 24); 16985 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 16986 L_25115792: 16987 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 16988 L_25115794: 16989 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 16990 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 16991 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16992 _cf = 0; 16993 _flag_k = FK_NARROW(FK_TEST, 24); 16994 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 16995 L_2511579B: 16996 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 16997 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 16998 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 16999 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 17000 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 17001 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 17002 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 17003 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 17004 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 17005 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17007 _flag_k = FK_CMP; 17008 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 17009 L_251157B7: 17010 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 17011 L_251157BA: 17012 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 17013 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 17014 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 17015 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 17016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17018 _flag_k = FK_CMP; 17019 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 17020 L_251157C8: 17021 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 17022 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 17023 L_251157CD: 17024 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 17025 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 17026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17028 _flag_k = FK_CMP; 17029 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 17030 L_251157D5: 17031 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 17032 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 17033 L_251157DA: 17034 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 17035 L_251157DC: 17036 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 17037 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 17038 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 17039 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 17040 L_251157E7: 17041 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 17042 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 17043 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17045 _flag_k = FK_NARROW(FK_CMP, 24); 17046 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 17047 L_251157F3: 17048 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 17049 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 17050 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17052 _flag_k = FK_NARROW(FK_CMP, 24); 17053 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 17054 L_251157FE: 17055 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 17056 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 17057 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 17058 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 17059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17061 _flag_k = FK_CMP; 17062 RECOMP_BACKEDGE(); 17063 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 17064 L_25115811: 17065 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 17066 L_25115816: 17067 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 17068 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 17069 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17071 _flag_k = FK_NARROW(FK_CMP, 24); 17072 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 17073 L_2511581E: 17074 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 17075 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 17076 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 17077 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 17078 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 17079 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 17080 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 17081 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 17082 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17084 _flag_k = FK_CMP; 17085 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 17086 L_25115836: 17087 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 17088 L_25115839: 17089 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 17090 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 17091 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 17092 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 17093 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17095 _flag_k = FK_CMP; 17096 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 17097 L_25115847: 17098 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 17099 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 17100 L_2511584C: 17101 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 17102 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 17103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17105 _flag_k = FK_CMP; 17106 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 17107 L_25115854: 17108 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 17109 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 17110 L_25115859: 17111 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 17112 L_2511585B: 17113 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 17114 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 17115 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 17116 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 17117 L_25115867: 17118 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 17119 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 17120 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 17121 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 17122 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 17123 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 17124 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 17125 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 17126 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 17127 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 17128 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 17129 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 17130 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 17131 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17133 _flag_k = FK_CMP; 17134 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 17135 L_2511588E: 17136 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 17137 L_25115891: 17138 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 17139 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 17140 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 17141 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 17142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17144 _flag_k = FK_CMP; 17145 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 17146 L_2511589F: 17147 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 17148 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 17149 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 17150 L_251158A9: 17151 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 17152 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 17153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17155 _flag_k = FK_CMP; 17156 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 17157 L_251158B0: 17158 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 17159 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 17160 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 17161 L_251158B9: 17162 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 17163 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 17164 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 17165 L_251158C3: 17166 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 17167 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 17168 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17170 _flag_k = FK_NARROW(FK_CMP, 24); 17171 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 17172 L_251158CA: 17173 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 17174 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 17175 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 17176 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 17177 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 17178 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 17179 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 17180 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 17181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17183 _flag_k = FK_CMP; 17184 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 17185 L_251158E3: 17186 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 17187 L_251158E6: 17188 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 17189 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 17190 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 17191 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 17192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17194 _flag_k = FK_CMP; 17195 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 17196 L_251158F4: 17197 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 17198 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 17199 L_251158F9: 17200 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 17201 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 17202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17204 _flag_k = FK_CMP; 17205 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 17206 L_25115900: 17207 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 17208 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 17209 L_25115904: 17210 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 17211 L_25115907: 17212 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 17213 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 17214 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 17215 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 17216 L_25115911: 17217 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 17218 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 17219 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 17220 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 17221 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 17222 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 17223 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 17224 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 17225 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 17226 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 17227 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 17228 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 17229 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 17230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17232 _flag_k = FK_CMP; 17233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 17234 L_25115937: 17235 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 17236 L_2511593A: 17237 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 17238 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 17239 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 17240 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 17241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17243 _flag_k = FK_CMP; 17244 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 17245 L_25115948: 17246 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 17247 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 17248 L_2511594D: 17249 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 17250 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 17251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17253 _flag_k = FK_CMP; 17254 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 17255 L_25115955: 17256 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 17257 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 17258 L_2511595A: 17259 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 17260 L_2511595C: 17261 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 17262 L_2511595F: 17263 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 17264 L_25115962: 17265 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 17266 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 17267 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 17268 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 17269 RECOMP_FLAGS_IN(); 17270 PUSH32(esp, esi); /* 0x25115970: push esi */ 17271 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 17272 RECOMP_FLAGS_IN(); 17273 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 17274 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 17275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17277 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 17278 _flag_k = FK_ADD; 17279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17280 eax = eax - 1; /* 0x2511597F: dec eax */ 17281 _flag_k = FK_DEC; 17282 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 17283 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 17284 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 17285 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 17286 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 17287 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 17288 esp = ebp; /* 0x2511598B: mov esp, ebp */ 17289 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 17290 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 17291 RECOMP_REGS_OUT(); 17292 } 17293 17294 void sub_251157E7(void) { 17295 int _fpu_cmp = 0; 17296 uint32_t _cf = 0; 17297 int _df = 1; 17298 uint32_t _flag_k = FK_NONE; 17299 uint32_t _flag_a = 0, _flag_b = 0; 17300 uint32_t _itail_tgt = 0; 17301 RECOMP_REGS_LOCALS 17302 RECOMP_ENTER(0x251157E7u); 17303 17304 goto L_251157E7; 17305 L_25115714: 17306 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 17307 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17309 _flag_k = FK_NARROW(FK_CMP, 24); 17310 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 17311 L_2511571D: 17312 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 17313 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 17314 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 17315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17317 _flag_k = FK_CMP; 17318 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 17319 L_25115726: 17320 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 17321 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 17322 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 17323 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17324 _cf = 0; 17325 _flag_k = FK_NARROW(FK_TEST, 24); 17326 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 17327 L_25115730: 17328 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 17329 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 17330 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 17331 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 17332 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 17333 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 17334 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 17335 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 17336 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 17337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17339 _flag_k = FK_CMP; 17340 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 17341 L_2511574C: 17342 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 17343 L_2511574F: 17344 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 17345 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 17346 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 17347 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 17348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17350 _flag_k = FK_CMP; 17351 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 17352 L_2511575D: 17353 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 17354 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 17355 L_25115762: 17356 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 17357 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 17358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17360 _flag_k = FK_CMP; 17361 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 17362 L_25115769: 17363 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 17364 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 17365 L_2511576D: 17366 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 17367 L_25115770: 17368 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 17369 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 17370 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 17371 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 17372 L_2511577B: 17373 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 17374 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 17375 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17377 _flag_k = FK_NARROW(FK_CMP, 24); 17378 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 17379 L_25115786: 17380 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 17381 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 17382 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17384 _flag_k = FK_NARROW(FK_CMP, 24); 17385 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 17386 L_25115792: 17387 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 17388 L_25115794: 17389 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 17390 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 17391 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17392 _cf = 0; 17393 _flag_k = FK_NARROW(FK_TEST, 24); 17394 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 17395 L_2511579B: 17396 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 17397 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 17398 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 17399 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 17400 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 17401 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 17402 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 17403 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 17404 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 17405 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17407 _flag_k = FK_CMP; 17408 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 17409 L_251157B7: 17410 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 17411 L_251157BA: 17412 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 17413 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 17414 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 17415 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 17416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17418 _flag_k = FK_CMP; 17419 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 17420 L_251157C8: 17421 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 17422 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 17423 L_251157CD: 17424 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 17425 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 17426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17428 _flag_k = FK_CMP; 17429 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 17430 L_251157D5: 17431 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 17432 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 17433 L_251157DA: 17434 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 17435 L_251157DC: 17436 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 17437 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 17438 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 17439 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 17440 L_251157E7: 17441 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 17442 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 17443 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17445 _flag_k = FK_NARROW(FK_CMP, 24); 17446 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 17447 L_251157F3: 17448 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 17449 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 17450 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17452 _flag_k = FK_NARROW(FK_CMP, 24); 17453 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 17454 L_251157FE: 17455 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 17456 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 17457 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 17458 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 17459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17461 _flag_k = FK_CMP; 17462 RECOMP_BACKEDGE(); 17463 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 17464 L_25115811: 17465 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 17466 L_25115816: 17467 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 17468 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 17469 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17471 _flag_k = FK_NARROW(FK_CMP, 24); 17472 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 17473 L_2511581E: 17474 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 17475 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 17476 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 17477 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 17478 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 17479 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 17480 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 17481 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 17482 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17484 _flag_k = FK_CMP; 17485 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 17486 L_25115836: 17487 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 17488 L_25115839: 17489 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 17490 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 17491 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 17492 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 17493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17495 _flag_k = FK_CMP; 17496 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 17497 L_25115847: 17498 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 17499 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 17500 L_2511584C: 17501 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 17502 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 17503 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17505 _flag_k = FK_CMP; 17506 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 17507 L_25115854: 17508 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 17509 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 17510 L_25115859: 17511 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 17512 L_2511585B: 17513 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 17514 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 17515 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 17516 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 17517 L_25115867: 17518 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 17519 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 17520 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 17521 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 17522 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 17523 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 17524 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 17525 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 17526 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 17527 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 17528 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 17529 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 17530 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 17531 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17533 _flag_k = FK_CMP; 17534 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 17535 L_2511588E: 17536 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 17537 L_25115891: 17538 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 17539 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 17540 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 17541 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 17542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17544 _flag_k = FK_CMP; 17545 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 17546 L_2511589F: 17547 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 17548 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 17549 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 17550 L_251158A9: 17551 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 17552 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 17553 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17555 _flag_k = FK_CMP; 17556 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 17557 L_251158B0: 17558 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 17559 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 17560 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 17561 L_251158B9: 17562 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 17563 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 17564 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 17565 L_251158C3: 17566 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 17567 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 17568 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17570 _flag_k = FK_NARROW(FK_CMP, 24); 17571 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 17572 L_251158CA: 17573 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 17574 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 17575 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 17576 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 17577 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 17578 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 17579 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 17580 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 17581 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17583 _flag_k = FK_CMP; 17584 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 17585 L_251158E3: 17586 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 17587 L_251158E6: 17588 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 17589 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 17590 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 17591 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 17592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17594 _flag_k = FK_CMP; 17595 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 17596 L_251158F4: 17597 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 17598 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 17599 L_251158F9: 17600 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 17601 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 17602 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17604 _flag_k = FK_CMP; 17605 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 17606 L_25115900: 17607 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 17608 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 17609 L_25115904: 17610 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 17611 L_25115907: 17612 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 17613 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 17614 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 17615 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 17616 L_25115911: 17617 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 17618 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 17619 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 17620 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 17621 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 17622 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 17623 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 17624 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 17625 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 17626 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 17627 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 17628 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 17629 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 17630 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17632 _flag_k = FK_CMP; 17633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 17634 L_25115937: 17635 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 17636 L_2511593A: 17637 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 17638 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 17639 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 17640 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 17641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17643 _flag_k = FK_CMP; 17644 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 17645 L_25115948: 17646 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 17647 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 17648 L_2511594D: 17649 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 17650 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 17651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17653 _flag_k = FK_CMP; 17654 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 17655 L_25115955: 17656 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 17657 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 17658 L_2511595A: 17659 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 17660 L_2511595C: 17661 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 17662 L_2511595F: 17663 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 17664 L_25115962: 17665 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 17666 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 17667 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 17668 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 17669 RECOMP_FLAGS_IN(); 17670 PUSH32(esp, esi); /* 0x25115970: push esi */ 17671 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 17672 RECOMP_FLAGS_IN(); 17673 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 17674 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 17675 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17677 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 17678 _flag_k = FK_ADD; 17679 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17680 eax = eax - 1; /* 0x2511597F: dec eax */ 17681 _flag_k = FK_DEC; 17682 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 17683 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 17684 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 17685 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 17686 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 17687 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 17688 esp = ebp; /* 0x2511598B: mov esp, ebp */ 17689 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 17690 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 17691 RECOMP_REGS_OUT(); 17692 } 17693 17694 void sub_251157FE(void) { 17695 int _fpu_cmp = 0; 17696 uint32_t _cf = 0; 17697 int _df = 1; 17698 uint32_t _flag_k = FK_NONE; 17699 uint32_t _flag_a = 0, _flag_b = 0; 17700 uint32_t _itail_tgt = 0; 17701 RECOMP_REGS_LOCALS 17702 RECOMP_ENTER(0x251157FEu); 17703 17704 goto L_251157FE; 17705 L_25115714: 17706 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x25115714: cmp byte ptr [eax + 0x2c], bl */ 17707 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17709 _flag_k = FK_NARROW(FK_CMP, 24); 17710 if (CMP_NE(_flag_a, _flag_b)) goto L_25115962; /* 0x25115717: jne 0x25115962 */ 17711 L_2511571D: 17712 edx = MEM32(eax + 0x4); /* 0x2511571D: mov edx, dword ptr [eax + 4] */ 17713 ecx = MEM32(edx); /* 0x25115720: mov ecx, dword ptr [edx] */ 17714 /* cmp eax, ecx */ /* 0x25115722: cmp eax, ecx */ 17715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17717 _flag_k = FK_CMP; 17718 if (CMP_NE(_flag_a, _flag_b)) goto L_25115794; /* 0x25115724: jne 0x25115794 */ 17719 L_25115726: 17720 ecx = MEM32(edx + 0x8); /* 0x25115726: mov ecx, dword ptr [edx + 8] */ 17721 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115729: mov dl, byte ptr [ecx + 0x2c] */ 17722 /* test LO8(edx), LO8(edx) */ /* 0x2511572C: test dl, dl */ 17723 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17724 _cf = 0; 17725 _flag_k = FK_NARROW(FK_TEST, 24); 17726 if (TEST_NZ(_flag_a, _flag_b)) goto L_2511577B; /* 0x2511572E: jne 0x2511577b */ 17727 L_25115730: 17728 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115730: mov byte ptr [ecx + 0x2c], bl */ 17729 edx = MEM32(eax + 0x4); /* 0x25115733: mov edx, dword ptr [eax + 4] */ 17730 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x25115736: mov byte ptr [edx + 0x2c], 0 */ 17731 ecx = MEM32(eax + 0x4); /* 0x2511573A: mov ecx, dword ptr [eax + 4] */ 17732 edx = MEM32(ecx + 0x8); /* 0x2511573D: mov edx, dword ptr [ecx + 8] */ 17733 esi = MEM32(edx); /* 0x25115740: mov esi, dword ptr [edx] */ 17734 MEM32(ecx + 0x8) = esi; /* 0x25115742: mov dword ptr [ecx + 8], esi */ 17735 esi = MEM32(edx); /* 0x25115745: mov esi, dword ptr [edx] */ 17736 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115747: cmp esi, dword ptr [edi + 8] */ 17737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17739 _flag_k = FK_CMP; 17740 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511574F; /* 0x2511574A: je 0x2511574f */ 17741 L_2511574C: 17742 MEM32(esi + 0x4) = ecx; /* 0x2511574C: mov dword ptr [esi + 4], ecx */ 17743 L_2511574F: 17744 esi = MEM32(ecx + 0x4); /* 0x2511574F: mov esi, dword ptr [ecx + 4] */ 17745 MEM32(edx + 0x4) = esi; /* 0x25115752: mov dword ptr [edx + 4], esi */ 17746 esi = MEM32(edi + 0x4); /* 0x25115755: mov esi, dword ptr [edi + 4] */ 17747 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115758: cmp ecx, dword ptr [esi + 4] */ 17748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17750 _flag_k = FK_CMP; 17751 if (CMP_NE(_flag_a, _flag_b)) goto L_25115762; /* 0x2511575B: jne 0x25115762 */ 17752 L_2511575D: 17753 MEM32(esi + 0x4) = edx; /* 0x2511575D: mov dword ptr [esi + 4], edx */ 17754 goto L_25115770; /* 0x25115760: jmp 0x25115770 */ 17755 L_25115762: 17756 esi = MEM32(ecx + 0x4); /* 0x25115762: mov esi, dword ptr [ecx + 4] */ 17757 /* cmp ecx, MEM32(esi) */ /* 0x25115765: cmp ecx, dword ptr [esi] */ 17758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17760 _flag_k = FK_CMP; 17761 if (CMP_NE(_flag_a, _flag_b)) goto L_2511576D; /* 0x25115767: jne 0x2511576d */ 17762 L_25115769: 17763 MEM32(esi) = edx; /* 0x25115769: mov dword ptr [esi], edx */ 17764 goto L_25115770; /* 0x2511576B: jmp 0x25115770 */ 17765 L_2511576D: 17766 MEM32(esi + 0x8) = edx; /* 0x2511576D: mov dword ptr [esi + 8], edx */ 17767 L_25115770: 17768 MEM32(edx) = ecx; /* 0x25115770: mov dword ptr [edx], ecx */ 17769 MEM32(ecx + 0x4) = edx; /* 0x25115772: mov dword ptr [ecx + 4], edx */ 17770 ecx = MEM32(eax + 0x4); /* 0x25115775: mov ecx, dword ptr [eax + 4] */ 17771 ecx = MEM32(ecx + 0x8); /* 0x25115778: mov ecx, dword ptr [ecx + 8] */ 17772 L_2511577B: 17773 edx = MEM32(ecx); /* 0x2511577B: mov edx, dword ptr [ecx] */ 17774 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2511577D: cmp byte ptr [edx + 0x2c], bl */ 17775 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17777 _flag_k = FK_NARROW(FK_CMP, 24); 17778 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x25115780: jne 0x25115816 */ 17779 L_25115786: 17780 edx = MEM32(ecx + 0x8); /* 0x25115786: mov edx, dword ptr [ecx + 8] */ 17781 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115789: cmp byte ptr [edx + 0x2c], bl */ 17782 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17784 _flag_k = FK_NARROW(FK_CMP, 24); 17785 if (CMP_NE(_flag_a, _flag_b)) goto L_25115816; /* 0x2511578C: jne 0x25115816 */ 17786 L_25115792: 17787 goto L_251157FE; /* 0x25115792: jmp 0x251157fe */ 17788 L_25115794: 17789 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x25115794: mov dl, byte ptr [ecx + 0x2c] */ 17790 /* test LO8(edx), LO8(edx) */ /* 0x25115797: test dl, dl */ 17791 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17792 _cf = 0; 17793 _flag_k = FK_NARROW(FK_TEST, 24); 17794 if (TEST_NZ(_flag_a, _flag_b)) goto L_251157E7; /* 0x25115799: jne 0x251157e7 */ 17795 L_2511579B: 17796 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511579B: mov byte ptr [ecx + 0x2c], bl */ 17797 ecx = MEM32(eax + 0x4); /* 0x2511579E: mov ecx, dword ptr [eax + 4] */ 17798 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157A1: mov byte ptr [ecx + 0x2c], 0 */ 17799 ecx = MEM32(eax + 0x4); /* 0x251157A5: mov ecx, dword ptr [eax + 4] */ 17800 edx = MEM32(ecx); /* 0x251157A8: mov edx, dword ptr [ecx] */ 17801 esi = MEM32(edx + 0x8); /* 0x251157AA: mov esi, dword ptr [edx + 8] */ 17802 MEM32(ecx) = esi; /* 0x251157AD: mov dword ptr [ecx], esi */ 17803 esi = MEM32(edx + 0x8); /* 0x251157AF: mov esi, dword ptr [edx + 8] */ 17804 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251157B2: cmp esi, dword ptr [edi + 8] */ 17805 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17807 _flag_k = FK_CMP; 17808 if (CMP_EQ(_flag_a, _flag_b)) goto L_251157BA; /* 0x251157B5: je 0x251157ba */ 17809 L_251157B7: 17810 MEM32(esi + 0x4) = ecx; /* 0x251157B7: mov dword ptr [esi + 4], ecx */ 17811 L_251157BA: 17812 esi = MEM32(ecx + 0x4); /* 0x251157BA: mov esi, dword ptr [ecx + 4] */ 17813 MEM32(edx + 0x4) = esi; /* 0x251157BD: mov dword ptr [edx + 4], esi */ 17814 esi = MEM32(edi + 0x4); /* 0x251157C0: mov esi, dword ptr [edi + 4] */ 17815 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251157C3: cmp ecx, dword ptr [esi + 4] */ 17816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17818 _flag_k = FK_CMP; 17819 if (CMP_NE(_flag_a, _flag_b)) goto L_251157CD; /* 0x251157C6: jne 0x251157cd */ 17820 L_251157C8: 17821 MEM32(esi + 0x4) = edx; /* 0x251157C8: mov dword ptr [esi + 4], edx */ 17822 goto L_251157DC; /* 0x251157CB: jmp 0x251157dc */ 17823 L_251157CD: 17824 esi = MEM32(ecx + 0x4); /* 0x251157CD: mov esi, dword ptr [ecx + 4] */ 17825 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x251157D0: cmp ecx, dword ptr [esi + 8] */ 17826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17828 _flag_k = FK_CMP; 17829 if (CMP_NE(_flag_a, _flag_b)) goto L_251157DA; /* 0x251157D3: jne 0x251157da */ 17830 L_251157D5: 17831 MEM32(esi + 0x8) = edx; /* 0x251157D5: mov dword ptr [esi + 8], edx */ 17832 goto L_251157DC; /* 0x251157D8: jmp 0x251157dc */ 17833 L_251157DA: 17834 MEM32(esi) = edx; /* 0x251157DA: mov dword ptr [esi], edx */ 17835 L_251157DC: 17836 MEM32(edx + 0x8) = ecx; /* 0x251157DC: mov dword ptr [edx + 8], ecx */ 17837 MEM32(ecx + 0x4) = edx; /* 0x251157DF: mov dword ptr [ecx + 4], edx */ 17838 edx = MEM32(eax + 0x4); /* 0x251157E2: mov edx, dword ptr [eax + 4] */ 17839 ecx = MEM32(edx); /* 0x251157E5: mov ecx, dword ptr [edx] */ 17840 L_251157E7: 17841 edx = MEM32(ecx + 0x8); /* 0x251157E7: mov edx, dword ptr [ecx + 8] */ 17842 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157EA: cmp byte ptr [edx + 0x2c], bl */ 17843 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17845 _flag_k = FK_NARROW(FK_CMP, 24); 17846 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157ED: jne 0x251158c3 */ 17847 L_251157F3: 17848 edx = MEM32(ecx); /* 0x251157F3: mov edx, dword ptr [ecx] */ 17849 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251157F5: cmp byte ptr [edx + 0x2c], bl */ 17850 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17852 _flag_k = FK_NARROW(FK_CMP, 24); 17853 if (CMP_NE(_flag_a, _flag_b)) goto L_251158C3; /* 0x251157F8: jne 0x251158c3 */ 17854 L_251157FE: 17855 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251157FE: mov byte ptr [ecx + 0x2c], 0 */ 17856 ecx = MEM32(edi + 0x4); /* 0x25115802: mov ecx, dword ptr [edi + 4] */ 17857 eax = MEM32(eax + 0x4); /* 0x25115805: mov eax, dword ptr [eax + 4] */ 17858 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25115808: cmp eax, dword ptr [ecx + 4] */ 17859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17861 _flag_k = FK_CMP; 17862 RECOMP_BACKEDGE(); 17863 if (CMP_NE(_flag_a, _flag_b)) goto L_25115714; /* 0x2511580B: jne 0x25115714 */ 17864 L_25115811: 17865 goto L_25115962; /* 0x25115811: jmp 0x25115962 */ 17866 L_25115816: 17867 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 17868 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 17869 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17871 _flag_k = FK_NARROW(FK_CMP, 24); 17872 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 17873 L_2511581E: 17874 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 17875 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 17876 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 17877 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 17878 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 17879 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 17880 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 17881 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 17882 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17884 _flag_k = FK_CMP; 17885 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 17886 L_25115836: 17887 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 17888 L_25115839: 17889 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 17890 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 17891 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 17892 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 17893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17895 _flag_k = FK_CMP; 17896 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 17897 L_25115847: 17898 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 17899 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 17900 L_2511584C: 17901 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 17902 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 17903 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17905 _flag_k = FK_CMP; 17906 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 17907 L_25115854: 17908 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 17909 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 17910 L_25115859: 17911 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 17912 L_2511585B: 17913 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 17914 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 17915 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 17916 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 17917 L_25115867: 17918 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 17919 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 17920 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 17921 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 17922 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 17923 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 17924 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 17925 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 17926 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 17927 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 17928 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 17929 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 17930 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 17931 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17933 _flag_k = FK_CMP; 17934 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 17935 L_2511588E: 17936 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 17937 L_25115891: 17938 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 17939 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 17940 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 17941 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 17942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17944 _flag_k = FK_CMP; 17945 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 17946 L_2511589F: 17947 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 17948 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 17949 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 17950 L_251158A9: 17951 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 17952 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 17953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17955 _flag_k = FK_CMP; 17956 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 17957 L_251158B0: 17958 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 17959 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 17960 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 17961 L_251158B9: 17962 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 17963 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 17964 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 17965 L_251158C3: 17966 edx = MEM32(ecx); /* 0x251158C3: mov edx, dword ptr [ecx] */ 17967 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x251158C5: cmp byte ptr [edx + 0x2c], bl */ 17968 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17970 _flag_k = FK_NARROW(FK_CMP, 24); 17971 if (CMP_NE(_flag_a, _flag_b)) goto L_25115911; /* 0x251158C8: jne 0x25115911 */ 17972 L_251158CA: 17973 edx = MEM32(ecx + 0x8); /* 0x251158CA: mov edx, dword ptr [ecx + 8] */ 17974 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251158CD: mov byte ptr [edx + 0x2c], bl */ 17975 edx = MEM32(ecx + 0x8); /* 0x251158D0: mov edx, dword ptr [ecx + 8] */ 17976 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251158D3: mov byte ptr [ecx + 0x2c], 0 */ 17977 esi = MEM32(edx); /* 0x251158D7: mov esi, dword ptr [edx] */ 17978 MEM32(ecx + 0x8) = esi; /* 0x251158D9: mov dword ptr [ecx + 8], esi */ 17979 esi = MEM32(edx); /* 0x251158DC: mov esi, dword ptr [edx] */ 17980 /* cmp esi, MEM32(edi + 0x8) */ /* 0x251158DE: cmp esi, dword ptr [edi + 8] */ 17981 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17983 _flag_k = FK_CMP; 17984 if (CMP_EQ(_flag_a, _flag_b)) goto L_251158E6; /* 0x251158E1: je 0x251158e6 */ 17985 L_251158E3: 17986 MEM32(esi + 0x4) = ecx; /* 0x251158E3: mov dword ptr [esi + 4], ecx */ 17987 L_251158E6: 17988 esi = MEM32(ecx + 0x4); /* 0x251158E6: mov esi, dword ptr [ecx + 4] */ 17989 MEM32(edx + 0x4) = esi; /* 0x251158E9: mov dword ptr [edx + 4], esi */ 17990 esi = MEM32(edi + 0x4); /* 0x251158EC: mov esi, dword ptr [edi + 4] */ 17991 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x251158EF: cmp ecx, dword ptr [esi + 4] */ 17992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17994 _flag_k = FK_CMP; 17995 if (CMP_NE(_flag_a, _flag_b)) goto L_251158F9; /* 0x251158F2: jne 0x251158f9 */ 17996 L_251158F4: 17997 MEM32(esi + 0x4) = edx; /* 0x251158F4: mov dword ptr [esi + 4], edx */ 17998 goto L_25115907; /* 0x251158F7: jmp 0x25115907 */ 17999 L_251158F9: 18000 esi = MEM32(ecx + 0x4); /* 0x251158F9: mov esi, dword ptr [ecx + 4] */ 18001 /* cmp ecx, MEM32(esi) */ /* 0x251158FC: cmp ecx, dword ptr [esi] */ 18002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18004 _flag_k = FK_CMP; 18005 if (CMP_NE(_flag_a, _flag_b)) goto L_25115904; /* 0x251158FE: jne 0x25115904 */ 18006 L_25115900: 18007 MEM32(esi) = edx; /* 0x25115900: mov dword ptr [esi], edx */ 18008 goto L_25115907; /* 0x25115902: jmp 0x25115907 */ 18009 L_25115904: 18010 MEM32(esi + 0x8) = edx; /* 0x25115904: mov dword ptr [esi + 8], edx */ 18011 L_25115907: 18012 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 18013 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 18014 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 18015 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 18016 L_25115911: 18017 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 18018 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 18019 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 18020 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 18021 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 18022 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 18023 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 18024 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 18025 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 18026 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 18027 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 18028 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 18029 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 18030 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18032 _flag_k = FK_CMP; 18033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 18034 L_25115937: 18035 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 18036 L_2511593A: 18037 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 18038 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 18039 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 18040 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 18041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18043 _flag_k = FK_CMP; 18044 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 18045 L_25115948: 18046 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 18047 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 18048 L_2511594D: 18049 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 18050 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 18051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18053 _flag_k = FK_CMP; 18054 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 18055 L_25115955: 18056 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 18057 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 18058 L_2511595A: 18059 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 18060 L_2511595C: 18061 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 18062 L_2511595F: 18063 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18064 L_25115962: 18065 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18066 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18067 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18068 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18069 RECOMP_FLAGS_IN(); 18070 PUSH32(esp, esi); /* 0x25115970: push esi */ 18071 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18072 RECOMP_FLAGS_IN(); 18073 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18074 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18075 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18077 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18078 _flag_k = FK_ADD; 18079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18080 eax = eax - 1; /* 0x2511597F: dec eax */ 18081 _flag_k = FK_DEC; 18082 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18083 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18084 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18085 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18086 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18087 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18088 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18089 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18090 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18091 RECOMP_REGS_OUT(); 18092 } 18093 18094 void sub_25115816(void) { 18095 int _fpu_cmp = 0; 18096 uint32_t _cf = 0; 18097 int _df = 1; 18098 uint32_t _flag_k = FK_NONE; 18099 uint32_t _flag_a = 0, _flag_b = 0; 18100 uint32_t _itail_tgt = 0; 18101 RECOMP_REGS_LOCALS 18102 RECOMP_ENTER(0x25115816u); 18103 18104 L_25115816: 18105 edx = MEM32(ecx + 0x8); /* 0x25115816: mov edx, dword ptr [ecx + 8] */ 18106 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x25115819: cmp byte ptr [edx + 0x2c], bl */ 18107 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18109 _flag_k = FK_NARROW(FK_CMP, 24); 18110 if (CMP_NE(_flag_a, _flag_b)) goto L_25115867; /* 0x2511581C: jne 0x25115867 */ 18111 L_2511581E: 18112 edx = MEM32(ecx); /* 0x2511581E: mov edx, dword ptr [ecx] */ 18113 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115820: mov byte ptr [edx + 0x2c], bl */ 18114 edx = MEM32(ecx); /* 0x25115823: mov edx, dword ptr [ecx] */ 18115 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25115825: mov byte ptr [ecx + 0x2c], 0 */ 18116 esi = MEM32(edx + 0x8); /* 0x25115829: mov esi, dword ptr [edx + 8] */ 18117 MEM32(ecx) = esi; /* 0x2511582C: mov dword ptr [ecx], esi */ 18118 esi = MEM32(edx + 0x8); /* 0x2511582E: mov esi, dword ptr [edx + 8] */ 18119 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115831: cmp esi, dword ptr [edi + 8] */ 18120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18122 _flag_k = FK_CMP; 18123 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115839; /* 0x25115834: je 0x25115839 */ 18124 L_25115836: 18125 MEM32(esi + 0x4) = ecx; /* 0x25115836: mov dword ptr [esi + 4], ecx */ 18126 L_25115839: 18127 esi = MEM32(ecx + 0x4); /* 0x25115839: mov esi, dword ptr [ecx + 4] */ 18128 MEM32(edx + 0x4) = esi; /* 0x2511583C: mov dword ptr [edx + 4], esi */ 18129 esi = MEM32(edi + 0x4); /* 0x2511583F: mov esi, dword ptr [edi + 4] */ 18130 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115842: cmp ecx, dword ptr [esi + 4] */ 18131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18133 _flag_k = FK_CMP; 18134 if (CMP_NE(_flag_a, _flag_b)) goto L_2511584C; /* 0x25115845: jne 0x2511584c */ 18135 L_25115847: 18136 MEM32(esi + 0x4) = edx; /* 0x25115847: mov dword ptr [esi + 4], edx */ 18137 goto L_2511585B; /* 0x2511584A: jmp 0x2511585b */ 18138 L_2511584C: 18139 esi = MEM32(ecx + 0x4); /* 0x2511584C: mov esi, dword ptr [ecx + 4] */ 18140 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2511584F: cmp ecx, dword ptr [esi + 8] */ 18141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18143 _flag_k = FK_CMP; 18144 if (CMP_NE(_flag_a, _flag_b)) goto L_25115859; /* 0x25115852: jne 0x25115859 */ 18145 L_25115854: 18146 MEM32(esi + 0x8) = edx; /* 0x25115854: mov dword ptr [esi + 8], edx */ 18147 goto L_2511585B; /* 0x25115857: jmp 0x2511585b */ 18148 L_25115859: 18149 MEM32(esi) = edx; /* 0x25115859: mov dword ptr [esi], edx */ 18150 L_2511585B: 18151 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 18152 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 18153 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 18154 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 18155 L_25115867: 18156 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 18157 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 18158 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 18159 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 18160 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 18161 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 18162 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 18163 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 18164 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 18165 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 18166 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 18167 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 18168 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 18169 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18171 _flag_k = FK_CMP; 18172 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 18173 L_2511588E: 18174 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 18175 L_25115891: 18176 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 18177 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 18178 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 18179 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 18180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18182 _flag_k = FK_CMP; 18183 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 18184 L_2511589F: 18185 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 18186 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 18187 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 18188 L_251158A9: 18189 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 18190 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 18191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18193 _flag_k = FK_CMP; 18194 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 18195 L_251158B0: 18196 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 18197 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 18198 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 18199 L_251158B9: 18200 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 18201 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 18202 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 18203 L_2511595F: 18204 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18205 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18206 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18207 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18208 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18209 RECOMP_FLAGS_IN(); 18210 PUSH32(esp, esi); /* 0x25115970: push esi */ 18211 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18212 RECOMP_FLAGS_IN(); 18213 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18214 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18215 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18217 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18218 _flag_k = FK_ADD; 18219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18220 eax = eax - 1; /* 0x2511597F: dec eax */ 18221 _flag_k = FK_DEC; 18222 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18223 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18224 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18225 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18226 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18227 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18228 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18229 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18230 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18231 RECOMP_REGS_OUT(); 18232 } 18233 18234 void sub_2511585B(void) { 18235 int _fpu_cmp = 0; 18236 uint32_t _cf = 0; 18237 int _df = 1; 18238 uint32_t _flag_k = FK_NONE; 18239 uint32_t _flag_a = 0, _flag_b = 0; 18240 uint32_t _itail_tgt = 0; 18241 RECOMP_REGS_LOCALS 18242 RECOMP_ENTER(0x2511585Bu); 18243 18244 L_2511585B: 18245 MEM32(edx + 0x8) = ecx; /* 0x2511585B: mov dword ptr [edx + 8], ecx */ 18246 MEM32(ecx + 0x4) = edx; /* 0x2511585E: mov dword ptr [ecx + 4], edx */ 18247 ecx = MEM32(eax + 0x4); /* 0x25115861: mov ecx, dword ptr [eax + 4] */ 18248 ecx = MEM32(ecx + 0x8); /* 0x25115864: mov ecx, dword ptr [ecx + 8] */ 18249 edx = MEM32(eax + 0x4); /* 0x25115867: mov edx, dword ptr [eax + 4] */ 18250 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2511586A: mov dl, byte ptr [edx + 0x2c] */ 18251 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2511586D: mov byte ptr [ecx + 0x2c], dl */ 18252 edx = MEM32(eax + 0x4); /* 0x25115870: mov edx, dword ptr [eax + 4] */ 18253 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115873: mov byte ptr [edx + 0x2c], bl */ 18254 ecx = MEM32(ecx + 0x8); /* 0x25115876: mov ecx, dword ptr [ecx + 8] */ 18255 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115879: mov byte ptr [ecx + 0x2c], bl */ 18256 ecx = MEM32(eax + 0x4); /* 0x2511587C: mov ecx, dword ptr [eax + 4] */ 18257 edx = MEM32(ecx + 0x8); /* 0x2511587F: mov edx, dword ptr [ecx + 8] */ 18258 esi = MEM32(edx); /* 0x25115882: mov esi, dword ptr [edx] */ 18259 MEM32(ecx + 0x8) = esi; /* 0x25115884: mov dword ptr [ecx + 8], esi */ 18260 esi = MEM32(edx); /* 0x25115887: mov esi, dword ptr [edx] */ 18261 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115889: cmp esi, dword ptr [edi + 8] */ 18262 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18264 _flag_k = FK_CMP; 18265 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115891; /* 0x2511588C: je 0x25115891 */ 18266 L_2511588E: 18267 MEM32(esi + 0x4) = ecx; /* 0x2511588E: mov dword ptr [esi + 4], ecx */ 18268 L_25115891: 18269 esi = MEM32(ecx + 0x4); /* 0x25115891: mov esi, dword ptr [ecx + 4] */ 18270 MEM32(edx + 0x4) = esi; /* 0x25115894: mov dword ptr [edx + 4], esi */ 18271 esi = MEM32(edi + 0x4); /* 0x25115897: mov esi, dword ptr [edi + 4] */ 18272 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2511589A: cmp ecx, dword ptr [esi + 4] */ 18273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18275 _flag_k = FK_CMP; 18276 if (CMP_NE(_flag_a, _flag_b)) goto L_251158A9; /* 0x2511589D: jne 0x251158a9 */ 18277 L_2511589F: 18278 MEM32(esi + 0x4) = edx; /* 0x2511589F: mov dword ptr [esi + 4], edx */ 18279 MEM32(edx) = ecx; /* 0x251158A2: mov dword ptr [edx], ecx */ 18280 goto L_2511595F; /* 0x251158A4: jmp 0x2511595f */ 18281 L_251158A9: 18282 esi = MEM32(ecx + 0x4); /* 0x251158A9: mov esi, dword ptr [ecx + 4] */ 18283 /* cmp ecx, MEM32(esi) */ /* 0x251158AC: cmp ecx, dword ptr [esi] */ 18284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18286 _flag_k = FK_CMP; 18287 if (CMP_NE(_flag_a, _flag_b)) goto L_251158B9; /* 0x251158AE: jne 0x251158b9 */ 18288 L_251158B0: 18289 MEM32(esi) = edx; /* 0x251158B0: mov dword ptr [esi], edx */ 18290 MEM32(edx) = ecx; /* 0x251158B2: mov dword ptr [edx], ecx */ 18291 goto L_2511595F; /* 0x251158B4: jmp 0x2511595f */ 18292 L_251158B9: 18293 MEM32(esi + 0x8) = edx; /* 0x251158B9: mov dword ptr [esi + 8], edx */ 18294 MEM32(edx) = ecx; /* 0x251158BC: mov dword ptr [edx], ecx */ 18295 goto L_2511595F; /* 0x251158BE: jmp 0x2511595f */ 18296 L_2511595F: 18297 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18298 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18299 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18300 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18301 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18302 RECOMP_FLAGS_IN(); 18303 PUSH32(esp, esi); /* 0x25115970: push esi */ 18304 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18305 RECOMP_FLAGS_IN(); 18306 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18307 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18308 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18309 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18310 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18311 _flag_k = FK_ADD; 18312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18313 eax = eax - 1; /* 0x2511597F: dec eax */ 18314 _flag_k = FK_DEC; 18315 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18316 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18317 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18318 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18319 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18320 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18321 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18322 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18323 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18324 RECOMP_REGS_OUT(); 18325 } 18326 18327 void sub_25115907(void) { 18328 int _fpu_cmp = 0; 18329 uint32_t _cf = 0; 18330 int _df = 1; 18331 uint32_t _flag_k = FK_NONE; 18332 uint32_t _flag_a = 0, _flag_b = 0; 18333 uint32_t _itail_tgt = 0; 18334 RECOMP_REGS_LOCALS 18335 RECOMP_ENTER(0x25115907u); 18336 18337 L_25115907: 18338 MEM32(edx) = ecx; /* 0x25115907: mov dword ptr [edx], ecx */ 18339 MEM32(ecx + 0x4) = edx; /* 0x25115909: mov dword ptr [ecx + 4], edx */ 18340 ecx = MEM32(eax + 0x4); /* 0x2511590C: mov ecx, dword ptr [eax + 4] */ 18341 ecx = MEM32(ecx); /* 0x2511590F: mov ecx, dword ptr [ecx] */ 18342 edx = MEM32(eax + 0x4); /* 0x25115911: mov edx, dword ptr [eax + 4] */ 18343 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x25115914: mov dl, byte ptr [edx + 0x2c] */ 18344 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x25115917: mov byte ptr [ecx + 0x2c], dl */ 18345 edx = MEM32(eax + 0x4); /* 0x2511591A: mov edx, dword ptr [eax + 4] */ 18346 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2511591D: mov byte ptr [edx + 0x2c], bl */ 18347 ecx = MEM32(ecx); /* 0x25115920: mov ecx, dword ptr [ecx] */ 18348 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115922: mov byte ptr [ecx + 0x2c], bl */ 18349 ecx = MEM32(eax + 0x4); /* 0x25115925: mov ecx, dword ptr [eax + 4] */ 18350 edx = MEM32(ecx); /* 0x25115928: mov edx, dword ptr [ecx] */ 18351 esi = MEM32(edx + 0x8); /* 0x2511592A: mov esi, dword ptr [edx + 8] */ 18352 MEM32(ecx) = esi; /* 0x2511592D: mov dword ptr [ecx], esi */ 18353 esi = MEM32(edx + 0x8); /* 0x2511592F: mov esi, dword ptr [edx + 8] */ 18354 /* cmp esi, MEM32(edi + 0x8) */ /* 0x25115932: cmp esi, dword ptr [edi + 8] */ 18355 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18357 _flag_k = FK_CMP; 18358 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511593A; /* 0x25115935: je 0x2511593a */ 18359 L_25115937: 18360 MEM32(esi + 0x4) = ecx; /* 0x25115937: mov dword ptr [esi + 4], ecx */ 18361 L_2511593A: 18362 esi = MEM32(ecx + 0x4); /* 0x2511593A: mov esi, dword ptr [ecx + 4] */ 18363 MEM32(edx + 0x4) = esi; /* 0x2511593D: mov dword ptr [edx + 4], esi */ 18364 esi = MEM32(edi + 0x4); /* 0x25115940: mov esi, dword ptr [edi + 4] */ 18365 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25115943: cmp ecx, dword ptr [esi + 4] */ 18366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18368 _flag_k = FK_CMP; 18369 if (CMP_NE(_flag_a, _flag_b)) goto L_2511594D; /* 0x25115946: jne 0x2511594d */ 18370 L_25115948: 18371 MEM32(esi + 0x4) = edx; /* 0x25115948: mov dword ptr [esi + 4], edx */ 18372 goto L_2511595C; /* 0x2511594B: jmp 0x2511595c */ 18373 L_2511594D: 18374 esi = MEM32(ecx + 0x4); /* 0x2511594D: mov esi, dword ptr [ecx + 4] */ 18375 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25115950: cmp ecx, dword ptr [esi + 8] */ 18376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18378 _flag_k = FK_CMP; 18379 if (CMP_NE(_flag_a, _flag_b)) goto L_2511595A; /* 0x25115953: jne 0x2511595a */ 18380 L_25115955: 18381 MEM32(esi + 0x8) = edx; /* 0x25115955: mov dword ptr [esi + 8], edx */ 18382 goto L_2511595C; /* 0x25115958: jmp 0x2511595c */ 18383 L_2511595A: 18384 MEM32(esi) = edx; /* 0x2511595A: mov dword ptr [esi], edx */ 18385 L_2511595C: 18386 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 18387 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18388 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18389 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18390 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18391 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18392 RECOMP_FLAGS_IN(); 18393 PUSH32(esp, esi); /* 0x25115970: push esi */ 18394 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18395 RECOMP_FLAGS_IN(); 18396 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18397 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18400 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18401 _flag_k = FK_ADD; 18402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18403 eax = eax - 1; /* 0x2511597F: dec eax */ 18404 _flag_k = FK_DEC; 18405 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18406 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18407 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18408 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18409 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18410 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18411 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18412 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18413 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18414 RECOMP_REGS_OUT(); 18415 } 18416 18417 void sub_2511595C(void) { 18418 int _fpu_cmp = 0; 18419 uint32_t _cf = 0; 18420 int _df = 1; 18421 uint32_t _flag_k = FK_NONE; 18422 uint32_t _flag_a = 0, _flag_b = 0; 18423 uint32_t _itail_tgt = 0; 18424 RECOMP_REGS_LOCALS 18425 RECOMP_ENTER(0x2511595Cu); 18426 18427 L_2511595C: 18428 MEM32(edx + 0x8) = ecx; /* 0x2511595C: mov dword ptr [edx + 8], ecx */ 18429 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18430 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18431 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18432 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18433 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18434 RECOMP_FLAGS_IN(); 18435 PUSH32(esp, esi); /* 0x25115970: push esi */ 18436 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18437 RECOMP_FLAGS_IN(); 18438 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18439 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18440 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18442 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18443 _flag_k = FK_ADD; 18444 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18445 eax = eax - 1; /* 0x2511597F: dec eax */ 18446 _flag_k = FK_DEC; 18447 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18448 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18449 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18450 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18451 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18452 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18453 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18454 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18455 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18456 RECOMP_REGS_OUT(); 18457 } 18458 18459 void sub_2511595F(void) { 18460 int _fpu_cmp = 0; 18461 uint32_t _cf = 0; 18462 int _df = 1; 18463 uint32_t _flag_k = FK_NONE; 18464 uint32_t _flag_a = 0, _flag_b = 0; 18465 uint32_t _itail_tgt = 0; 18466 RECOMP_REGS_LOCALS 18467 RECOMP_ENTER(0x2511595Fu); 18468 18469 L_2511595F: 18470 MEM32(ecx + 0x4) = edx; /* 0x2511595F: mov dword ptr [ecx + 4], edx */ 18471 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18472 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18473 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18474 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18475 RECOMP_FLAGS_IN(); 18476 PUSH32(esp, esi); /* 0x25115970: push esi */ 18477 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18478 RECOMP_FLAGS_IN(); 18479 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18480 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18481 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18483 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18484 _flag_k = FK_ADD; 18485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18486 eax = eax - 1; /* 0x2511597F: dec eax */ 18487 _flag_k = FK_DEC; 18488 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18489 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18490 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18491 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18492 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18493 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18494 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18495 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18496 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18497 RECOMP_REGS_OUT(); 18498 } 18499 18500 void sub_25115962(void) { 18501 int _fpu_cmp = 0; 18502 uint32_t _cf = 0; 18503 int _df = 1; 18504 uint32_t _flag_k = FK_NONE; 18505 uint32_t _flag_a = 0, _flag_b = 0; 18506 uint32_t _itail_tgt = 0; 18507 RECOMP_REGS_LOCALS 18508 RECOMP_ENTER(0x25115962u); 18509 18510 L_25115962: 18511 esi = MEM32(ebp + (-0x4)); /* 0x25115962: mov esi, dword ptr [ebp - 4] */ 18512 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25115965: mov byte ptr [eax + 0x2c], bl */ 18513 ecx = esi + 0xC; /* 0x25115968: lea ecx, [esi + 0xc] */ 18514 RECOMP_ICALL(0x251146F0u); /* 0x2511596B: call 0x251146f0 */ /* not lifted */ 18515 RECOMP_FLAGS_IN(); 18516 PUSH32(esp, esi); /* 0x25115970: push esi */ 18517 RECOMP_ICALL(0x25137EECu); /* 0x25115971: call 0x25137eec */ /* not lifted */ 18518 RECOMP_FLAGS_IN(); 18519 eax = MEM32(edi + 0x10); /* 0x25115976: mov eax, dword ptr [edi + 0x10] */ 18520 edx = MEM32(ebp + 0xC); /* 0x25115979: mov edx, dword ptr [ebp + 0xc] */ 18521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18523 esp = esp + 4; /* 0x2511597C: add esp, 4 */ 18524 _flag_k = FK_ADD; 18525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18526 eax = eax - 1; /* 0x2511597F: dec eax */ 18527 _flag_k = FK_DEC; 18528 MEM32(edi + 0x10) = eax; /* 0x25115980: mov dword ptr [edi + 0x10], eax */ 18529 eax = MEM32(ebp + 0x8); /* 0x25115983: mov eax, dword ptr [ebp + 8] */ 18530 edi = POP32_VAL(esp); /* 0x25115986: pop edi */ 18531 esi = POP32_VAL(esp); /* 0x25115987: pop esi */ 18532 MEM32(eax) = edx; /* 0x25115988: mov dword ptr [eax], edx */ 18533 ebx = POP32_VAL(esp); /* 0x2511598A: pop ebx */ 18534 esp = ebp; /* 0x2511598B: mov esp, ebp */ 18535 ebp = POP32_VAL(esp); /* 0x2511598D: pop ebp */ 18536 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511598E: ret 8 */ 18537 RECOMP_REGS_OUT(); 18538 } 18539 18540 void sub_251159A0(void) { 18541 int _fpu_cmp = 0; 18542 uint32_t _cf = 0; 18543 int _df = 1; 18544 uint32_t _flag_k = FK_NONE; 18545 uint32_t _flag_a = 0, _flag_b = 0; 18546 uint32_t _itail_tgt = 0; 18547 RECOMP_REGS_LOCALS 18548 RECOMP_ENTER(0x251159A0u); 18549 18550 L_251159A0: 18551 PUSH32(esp, ebp); /* 0x251159A0: push ebp */ 18552 ebp = esp; /* 0x251159A1: mov ebp, esp */ 18553 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18555 esp = esp - 0xCu; /* 0x251159A3: sub esp, 0xc */ 18556 _flag_k = FK_CMP; 18557 PUSH32(esp, ebx); /* 0x251159A6: push ebx */ 18558 PUSH32(esp, esi); /* 0x251159A7: push esi */ 18559 esi = ecx; /* 0x251159A8: mov esi, ecx */ 18560 eax = MEM32(esi + 0x4); /* 0x251159AA: mov eax, dword ptr [esi + 4] */ 18561 ecx = MEM32(ebp + 0x8); /* 0x251159AD: mov ecx, dword ptr [ebp + 8] */ 18562 edx = MEM32(ecx + 0x4); /* 0x251159B0: mov edx, dword ptr [ecx + 4] */ 18563 ebx = MEM32(edx + 0x4); /* 0x251159B3: mov ebx, dword ptr [edx + 4] */ 18564 MEM32(ebp + (-0xC)) = eax; /* 0x251159B6: mov dword ptr [ebp - 0xc], eax */ 18565 eax = MEM32(esi + 0x8); /* 0x251159B9: mov eax, dword ptr [esi + 8] */ 18566 MEM32(ebp + (-0x8)) = eax; /* 0x251159BC: mov dword ptr [ebp - 8], eax */ 18567 SET_LO8(eax, MEM8(ebx + 0x2D)); /* 0x251159BF: mov al, byte ptr [ebx + 0x2d] */ 18568 /* test LO8(eax), LO8(eax) */ /* 0x251159C2: test al, al */ 18569 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18570 _cf = 0; 18571 _flag_k = FK_NARROW(FK_TEST, 24); 18572 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115A2B; /* 0x251159C4: jne 0x25115a2b */ 18573 L_251159C6: 18574 SET_LO8(ecx, MEM8(ebx + 0x2C)); /* 0x251159C6: mov cl, byte ptr [ebx + 0x2c] */ 18575 PUSH32(esp, edi); /* 0x251159C9: push edi */ 18576 PUSH32(esp, 0x30u); /* 0x251159CA: push 0x30 */ 18577 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x251159CC: mov byte ptr [ebp - 1], cl */ 18578 RECOMP_ICALL(0x251380D0u); /* 0x251159CF: call 0x251380d0 */ /* not lifted */ 18579 RECOMP_FLAGS_IN(); 18580 edx = MEM32(ebp + (-0xC)); /* 0x251159D4: mov edx, dword ptr [ebp - 0xc] */ 18581 edi = eax; /* 0x251159D7: mov edi, eax */ 18582 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x251159D9: mov al, byte ptr [ebp - 1] */ 18583 ecx = ebx + 0xC; /* 0x251159DC: lea ecx, [ebx + 0xc] */ 18584 MEM32(edi + 0x4) = edx; /* 0x251159DF: mov dword ptr [edi + 4], edx */ 18585 PUSH32(esp, ecx); /* 0x251159E2: push ecx */ 18586 edx = edi + 0xC; /* 0x251159E3: lea edx, [edi + 0xc] */ 18587 PUSH32(esp, edx); /* 0x251159E6: push edx */ 18588 MEM8(edi + 0x2C) = (uint8_t)(LO8(eax)); /* 0x251159E7: mov byte ptr [edi + 0x2c], al */ 18589 MEM8(edi + 0x2D) = (uint8_t)(0); /* 0x251159EA: mov byte ptr [edi + 0x2d], 0 */ 18590 RECOMP_ICALL(0x25116850u); /* 0x251159EE: call 0x25116850 */ /* not lifted */ 18591 RECOMP_FLAGS_IN(); 18592 eax = MEM32(esi + 0x8); /* 0x251159F3: mov eax, dword ptr [esi + 8] */ 18593 edx = MEM32(ebp + (-0x8)); /* 0x251159F6: mov edx, dword ptr [ebp - 8] */ 18594 MEM32(edi) = eax; /* 0x251159F9: mov dword ptr [edi], eax */ 18595 ecx = MEM32(esi + 0x8); /* 0x251159FB: mov ecx, dword ptr [esi + 8] */ 18596 MEM32(edi + 0x8) = ecx; /* 0x251159FE: mov dword ptr [edi + 8], ecx */ 18597 eax = MEM32(esi + 0x8); /* 0x25115A01: mov eax, dword ptr [esi + 8] */ 18598 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18599 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18600 esp = esp + 0xCu; /* 0x25115A04: add esp, 0xc */ 18601 _flag_k = FK_ADD; 18602 /* cmp edx, eax */ /* 0x25115A07: cmp edx, eax */ 18603 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18605 _flag_k = FK_CMP; 18606 if (CMP_NE(_flag_a, _flag_b)) goto L_25115A0E; /* 0x25115A09: jne 0x25115a0e */ 18607 L_25115A0B: 18608 MEM32(ebp + (-0x8)) = edi; /* 0x25115A0B: mov dword ptr [ebp - 8], edi */ 18609 L_25115A0E: 18610 eax = MEM32(ebx); /* 0x25115A0E: mov eax, dword ptr [ebx] */ 18611 PUSH32(esp, edi); /* 0x25115A10: push edi */ 18612 PUSH32(esp, eax); /* 0x25115A11: push eax */ 18613 ecx = esi; /* 0x25115A12: mov ecx, esi */ 18614 RECOMP_ICALL(0x25116170u); /* 0x25115A14: call 0x25116170 */ /* not lifted */ 18615 RECOMP_FLAGS_IN(); 18616 MEM32(edi) = eax; /* 0x25115A19: mov dword ptr [edi], eax */ 18617 ecx = MEM32(ebx + 0x8); /* 0x25115A1B: mov ecx, dword ptr [ebx + 8] */ 18618 PUSH32(esp, edi); /* 0x25115A1E: push edi */ 18619 PUSH32(esp, ecx); /* 0x25115A1F: push ecx */ 18620 ecx = esi; /* 0x25115A20: mov ecx, esi */ 18621 RECOMP_ICALL(0x25116170u); /* 0x25115A22: call 0x25116170 */ /* not lifted */ 18622 RECOMP_FLAGS_IN(); 18623 MEM32(edi + 0x8) = eax; /* 0x25115A27: mov dword ptr [edi + 8], eax */ 18624 edi = POP32_VAL(esp); /* 0x25115A2A: pop edi */ 18625 L_25115A2B: 18626 edx = MEM32(esi + 0x4); /* 0x25115A2B: mov edx, dword ptr [esi + 4] */ 18627 eax = MEM32(ebp + (-0x8)); /* 0x25115A2E: mov eax, dword ptr [ebp - 8] */ 18628 ecx = MEM32(ebp + 0x8); /* 0x25115A31: mov ecx, dword ptr [ebp + 8] */ 18629 MEM32(edx + 0x4) = eax; /* 0x25115A34: mov dword ptr [edx + 4], eax */ 18630 edx = MEM32(ecx + 0x10); /* 0x25115A37: mov edx, dword ptr [ecx + 0x10] */ 18631 ecx = MEM32(esi + 0x8); /* 0x25115A3A: mov ecx, dword ptr [esi + 8] */ 18632 MEM32(esi + 0x10) = edx; /* 0x25115A3D: mov dword ptr [esi + 0x10], edx */ 18633 edx = MEM32(esi + 0x4); /* 0x25115A40: mov edx, dword ptr [esi + 4] */ 18634 eax = MEM32(edx + 0x4); /* 0x25115A43: mov eax, dword ptr [edx + 4] */ 18635 /* cmp eax, ecx */ /* 0x25115A46: cmp eax, ecx */ 18636 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18638 _flag_k = FK_CMP; 18639 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115A87; /* 0x25115A48: je 0x25115a87 */ 18640 L_25115A4A: 18641 ecx = MEM32(eax); /* 0x25115A4A: mov ecx, dword ptr [eax] */ 18642 SET_LO8(ebx, MEM8(ecx + 0x2D)); /* 0x25115A4C: mov bl, byte ptr [ecx + 0x2d] */ 18643 /* test LO8(ebx), LO8(ebx) */ /* 0x25115A4F: test bl, bl */ 18644 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18645 _cf = 0; 18646 _flag_k = FK_NARROW(FK_TEST, 24); 18647 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115A5E; /* 0x25115A51: jne 0x25115a5e */ 18648 L_25115A53: 18649 eax = ecx; /* 0x25115A53: mov eax, ecx */ 18650 ecx = MEM32(eax); /* 0x25115A55: mov ecx, dword ptr [eax] */ 18651 SET_LO8(ebx, MEM8(ecx + 0x2D)); /* 0x25115A57: mov bl, byte ptr [ecx + 0x2d] */ 18652 /* test LO8(ebx), LO8(ebx) */ /* 0x25115A5A: test bl, bl */ 18653 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18654 _cf = 0; 18655 _flag_k = FK_NARROW(FK_TEST, 24); 18656 RECOMP_BACKEDGE(); 18657 if (TEST_Z(_flag_a, _flag_b)) goto L_25115A53; /* 0x25115A5C: je 0x25115a53 */ 18658 L_25115A5E: 18659 MEM32(edx) = eax; /* 0x25115A5E: mov dword ptr [edx], eax */ 18660 esi = MEM32(esi + 0x4); /* 0x25115A60: mov esi, dword ptr [esi + 4] */ 18661 ecx = MEM32(esi + 0x4); /* 0x25115A63: mov ecx, dword ptr [esi + 4] */ 18662 eax = MEM32(ecx + 0x8); /* 0x25115A66: mov eax, dword ptr [ecx + 8] */ 18663 SET_LO8(edx, MEM8(eax + 0x2D)); /* 0x25115A69: mov dl, byte ptr [eax + 0x2d] */ 18664 /* test LO8(edx), LO8(edx) */ /* 0x25115A6C: test dl, dl */ 18665 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18666 _cf = 0; 18667 _flag_k = FK_NARROW(FK_TEST, 24); 18668 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115A7C; /* 0x25115A6E: jne 0x25115a7c */ 18669 L_25115A70: 18670 ecx = eax; /* 0x25115A70: mov ecx, eax */ 18671 eax = MEM32(ecx + 0x8); /* 0x25115A72: mov eax, dword ptr [ecx + 8] */ 18672 SET_LO8(edx, MEM8(eax + 0x2D)); /* 0x25115A75: mov dl, byte ptr [eax + 0x2d] */ 18673 /* test LO8(edx), LO8(edx) */ /* 0x25115A78: test dl, dl */ 18674 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18675 _cf = 0; 18676 _flag_k = FK_NARROW(FK_TEST, 24); 18677 RECOMP_BACKEDGE(); 18678 if (TEST_Z(_flag_a, _flag_b)) goto L_25115A70; /* 0x25115A7A: je 0x25115a70 */ 18679 L_25115A7C: 18680 MEM32(esi + 0x8) = ecx; /* 0x25115A7C: mov dword ptr [esi + 8], ecx */ 18681 esi = POP32_VAL(esp); /* 0x25115A7F: pop esi */ 18682 ebx = POP32_VAL(esp); /* 0x25115A80: pop ebx */ 18683 esp = ebp; /* 0x25115A81: mov esp, ebp */ 18684 ebp = POP32_VAL(esp); /* 0x25115A83: pop ebp */ 18685 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25115A84: ret 4 */ 18686 L_25115A87: 18687 MEM32(edx) = edx; /* 0x25115A87: mov dword ptr [edx], edx */ 18688 esi = MEM32(esi + 0x4); /* 0x25115A89: mov esi, dword ptr [esi + 4] */ 18689 MEM32(esi + 0x8) = esi; /* 0x25115A8C: mov dword ptr [esi + 8], esi */ 18690 esi = POP32_VAL(esp); /* 0x25115A8F: pop esi */ 18691 ebx = POP32_VAL(esp); /* 0x25115A90: pop ebx */ 18692 esp = ebp; /* 0x25115A91: mov esp, ebp */ 18693 ebp = POP32_VAL(esp); /* 0x25115A93: pop ebp */ 18694 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25115A94: ret 4 */ 18695 RECOMP_REGS_OUT(); 18696 } 18697 18698 void sub_25115AA0(void) { 18699 int _fpu_cmp = 0; 18700 uint32_t _cf = 0; 18701 int _df = 1; 18702 uint32_t _flag_k = FK_NONE; 18703 uint32_t _flag_a = 0, _flag_b = 0; 18704 uint32_t _itail_tgt = 0; 18705 RECOMP_REGS_LOCALS 18706 RECOMP_ENTER(0x25115AA0u); 18707 18708 L_25115AA0: 18709 PUSH32(esp, ebp); /* 0x25115AA0: push ebp */ 18710 ebp = esp; /* 0x25115AA1: mov ebp, esp */ 18711 PUSH32(esp, ebx); /* 0x25115AA3: push ebx */ 18712 PUSH32(esp, esi); /* 0x25115AA4: push esi */ 18713 ebx = ecx; /* 0x25115AA5: mov ebx, ecx */ 18714 eax = MEM32(ebx + 0x8); /* 0x25115AA7: mov eax, dword ptr [ebx + 8] */ 18715 PUSH32(esp, edi); /* 0x25115AAA: push edi */ 18716 edi = MEM32(ebp + 0x8); /* 0x25115AAB: mov edi, dword ptr [ebp + 8] */ 18717 /* cmp edi, eax */ /* 0x25115AAE: cmp edi, eax */ 18718 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18720 _flag_k = FK_CMP; 18721 esi = edi; /* 0x25115AB0: mov esi, edi */ 18722 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115ADB; /* 0x25115AB2: je 0x25115adb */ 18723 L_25115AB4: 18724 eax = MEM32(esi + 0x8); /* 0x25115AB4: mov eax, dword ptr [esi + 8] */ 18725 PUSH32(esp, eax); /* 0x25115AB7: push eax */ 18726 ecx = ebx; /* 0x25115AB8: mov ecx, ebx */ 18727 RECOMP_ICALL(0x25115AA0u); /* 0x25115ABA: call 0x25115aa0 */ /* not lifted */ 18728 RECOMP_FLAGS_IN(); 18729 esi = MEM32(esi); /* 0x25115ABF: mov esi, dword ptr [esi] */ 18730 ecx = edi + 0xC; /* 0x25115AC1: lea ecx, [edi + 0xc] */ 18731 RECOMP_ICALL(0x251146F0u); /* 0x25115AC4: call 0x251146f0 */ /* not lifted */ 18732 RECOMP_FLAGS_IN(); 18733 PUSH32(esp, edi); /* 0x25115AC9: push edi */ 18734 RECOMP_ICALL(0x25137EECu); /* 0x25115ACA: call 0x25137eec */ /* not lifted */ 18735 RECOMP_FLAGS_IN(); 18736 eax = MEM32(ebx + 0x8); /* 0x25115ACF: mov eax, dword ptr [ebx + 8] */ 18737 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18739 esp = esp + 4; /* 0x25115AD2: add esp, 4 */ 18740 _flag_k = FK_ADD; 18741 /* cmp esi, eax */ /* 0x25115AD5: cmp esi, eax */ 18742 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18744 _flag_k = FK_CMP; 18745 edi = esi; /* 0x25115AD7: mov edi, esi */ 18746 RECOMP_BACKEDGE(); 18747 if (CMP_NE(_flag_a, _flag_b)) goto L_25115AB4; /* 0x25115AD9: jne 0x25115ab4 */ 18748 L_25115ADB: 18749 edi = POP32_VAL(esp); /* 0x25115ADB: pop edi */ 18750 esi = POP32_VAL(esp); /* 0x25115ADC: pop esi */ 18751 ebx = POP32_VAL(esp); /* 0x25115ADD: pop ebx */ 18752 ebp = POP32_VAL(esp); /* 0x25115ADE: pop ebp */ 18753 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25115ADF: ret 4 */ 18754 RECOMP_REGS_OUT(); 18755 } 18756 18757 void sub_25115AF0(void) { 18758 int _fpu_cmp = 0; 18759 uint32_t _cf = 0; 18760 int _df = 1; 18761 uint32_t _flag_k = FK_NONE; 18762 uint32_t _flag_a = 0, _flag_b = 0; 18763 uint32_t _itail_tgt = 0; 18764 RECOMP_REGS_LOCALS 18765 RECOMP_ENTER(0x25115AF0u); 18766 18767 L_25115AF0: 18768 PUSH32(esp, ebp); /* 0x25115AF0: push ebp */ 18769 ebp = esp; /* 0x25115AF1: mov ebp, esp */ 18770 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 18771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18772 esp = esp - 0x20u; /* 0x25115AF3: sub esp, 0x20 */ 18773 _flag_k = FK_CMP; 18774 PUSH32(esp, ebx); /* 0x25115AF6: push ebx */ 18775 PUSH32(esp, esi); /* 0x25115AF7: push esi */ 18776 PUSH32(esp, edi); /* 0x25115AF8: push edi */ 18777 PUSH32(esp, 0x1000u); /* 0x25115AF9: push 0x1000 */ 18778 esi = ecx; /* 0x25115AFE: mov esi, ecx */ 18779 RECOMP_ICALL(0x251380D0u); /* 0x25115B00: call 0x251380d0 */ /* not lifted */ 18780 RECOMP_FLAGS_IN(); 18781 ebx = eax; /* 0x25115B05: mov ebx, eax */ 18782 eax = MEM32(esi + 0x2C); /* 0x25115B07: mov eax, dword ptr [esi + 0x2c] */ 18783 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18784 edi = 0; /* 0x25115B0A: xor edi, edi */ 18785 _cf = 0; 18786 _flag_k = FK_TEST; 18787 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18789 esp = esp + 4; /* 0x25115B0C: add esp, 4 */ 18790 _flag_k = FK_ADD; 18791 /* cmp eax, edi */ /* 0x25115B0F: cmp eax, edi */ 18792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18794 _flag_k = FK_CMP; 18795 MEM32(ebp + (-0x8)) = ebx; /* 0x25115B11: mov dword ptr [ebp - 8], ebx */ 18796 if (CMP_NE(_flag_a, _flag_b)) goto L_25115B71; /* 0x25115B14: jne 0x25115b71 */ 18797 L_25115B16: 18798 PUSH32(esp, 0x20u); /* 0x25115B16: push 0x20 */ 18799 RECOMP_ICALL(0x251380D0u); /* 0x25115B18: call 0x251380d0 */ /* not lifted */ 18800 RECOMP_FLAGS_IN(); 18801 MEM32(esi + 0x24) = eax; /* 0x25115B1D: mov dword ptr [esi + 0x24], eax */ 18802 MEM32(esi + 0x28) = 8; /* 0x25115B20: mov dword ptr [esi + 0x28], 8 */ 18803 MEM32(eax + 0xC) = edi; /* 0x25115B27: mov dword ptr [eax + 0xc], edi */ 18804 eax = MEM32(esi + 0x24); /* 0x25115B2A: mov eax, dword ptr [esi + 0x24] */ 18805 MEM32(eax + 0x10) = ebx; /* 0x25115B2D: mov dword ptr [eax + 0x10], ebx */ 18806 ecx = MEM32(esi + 0x24); /* 0x25115B30: mov ecx, dword ptr [esi + 0x24] */ 18807 MEM32(ecx + 0x14) = edi; /* 0x25115B33: mov dword ptr [ecx + 0x14], edi */ 18808 eax = MEM32(esi + 0x24); /* 0x25115B36: mov eax, dword ptr [esi + 0x24] */ 18809 ecx = MEM32(eax + 0x10); /* 0x25115B39: mov ecx, dword ptr [eax + 0x10] */ 18810 edi = esi + 0x4; /* 0x25115B3C: lea edi, [esi + 4] */ 18811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 18812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18813 eax = eax + 0x10u; /* 0x25115B3F: add eax, 0x10 */ 18814 _flag_k = FK_ADD; 18815 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18816 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18817 esp = esp + 4; /* 0x25115B42: add esp, 4 */ 18818 _flag_k = FK_ADD; 18819 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x800u); 18820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18821 ebx = ebx + 0x800u; /* 0x25115B45: add ebx, 0x800 */ 18822 _flag_k = FK_ADD; 18823 MEM32(edi) = ecx; /* 0x25115B4B: mov dword ptr [edi], ecx */ 18824 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 18825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18826 esi = esi + 0x14u; /* 0x25115B4D: add esi, 0x14 */ 18827 _flag_k = FK_ADD; 18828 edx = ecx + 0x1000; /* 0x25115B50: lea edx, [ecx + 0x1000] */ 18829 MEM32(esi) = ecx; /* 0x25115B56: mov dword ptr [esi], ecx */ 18830 MEM32(edi + 0x4) = edx; /* 0x25115B58: mov dword ptr [edi + 4], edx */ 18831 MEM32(edi + 0x8) = ebx; /* 0x25115B5B: mov dword ptr [edi + 8], ebx */ 18832 MEM32(esi + 0x4) = edx; /* 0x25115B5E: mov dword ptr [esi + 4], edx */ 18833 MEM32(esi + 0x8) = ebx; /* 0x25115B61: mov dword ptr [esi + 8], ebx */ 18834 MEM32(edi + 0xC) = eax; /* 0x25115B64: mov dword ptr [edi + 0xc], eax */ 18835 edi = POP32_VAL(esp); /* 0x25115B67: pop edi */ 18836 MEM32(esi + 0xC) = eax; /* 0x25115B68: mov dword ptr [esi + 0xc], eax */ 18837 esi = POP32_VAL(esp); /* 0x25115B6B: pop esi */ 18838 ebx = POP32_VAL(esp); /* 0x25115B6C: pop ebx */ 18839 esp = ebp; /* 0x25115B6D: mov esp, ebp */ 18840 ebp = POP32_VAL(esp); /* 0x25115B6F: pop ebp */ 18841 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115B70: ret */ 18842 L_25115B71: 18843 edx = MEM32(esi + 0x28); /* 0x25115B71: mov edx, dword ptr [esi + 0x28] */ 18844 ecx = MEM32(esi + 0x24); /* 0x25115B74: mov ecx, dword ptr [esi + 0x24] */ 18845 eax = MEM32(esi + 0x20); /* 0x25115B77: mov eax, dword ptr [esi + 0x20] */ 18846 ecx = ecx + edx * 4 + (-0x8); /* 0x25115B7A: lea ecx, [ecx + edx*4 - 8] */ 18847 /* cmp eax, ecx */ /* 0x25115B7E: cmp eax, ecx */ 18848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18850 _flag_k = FK_CMP; 18851 if (CMP_AE(_flag_a, _flag_b)) goto L_25115BB0; /* 0x25115B80: jae 0x25115bb0 */ 18852 L_25115B82: 18853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 18854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18855 eax = eax + 4; /* 0x25115B82: add eax, 4 */ 18856 _flag_k = FK_ADD; 18857 MEM32(esi + 0x20) = eax; /* 0x25115B85: mov dword ptr [esi + 0x20], eax */ 18858 MEM32(eax) = ebx; /* 0x25115B88: mov dword ptr [eax], ebx */ 18859 edx = MEM32(esi + 0x20); /* 0x25115B8A: mov edx, dword ptr [esi + 0x20] */ 18860 MEM32(edx + 0x4) = edi; /* 0x25115B8D: mov dword ptr [edx + 4], edi */ 18861 eax = MEM32(esi + 0x20); /* 0x25115B90: mov eax, dword ptr [esi + 0x20] */ 18862 ecx = MEM32(eax); /* 0x25115B93: mov ecx, dword ptr [eax] */ 18863 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 18864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18865 esi = esi + 0x14u; /* 0x25115B95: add esi, 0x14 */ 18866 _flag_k = FK_ADD; 18867 MEM32(esi) = ecx; /* 0x25115B98: mov dword ptr [esi], ecx */ 18868 edx = ecx + 0x1000; /* 0x25115B9A: lea edx, [ecx + 0x1000] */ 18869 MEM32(esi + 0x4) = edx; /* 0x25115BA0: mov dword ptr [esi + 4], edx */ 18870 MEM32(esi + 0x8) = ebx; /* 0x25115BA3: mov dword ptr [esi + 8], ebx */ 18871 edi = POP32_VAL(esp); /* 0x25115BA6: pop edi */ 18872 MEM32(esi + 0xC) = eax; /* 0x25115BA7: mov dword ptr [esi + 0xc], eax */ 18873 esi = POP32_VAL(esp); /* 0x25115BAA: pop esi */ 18874 ebx = POP32_VAL(esp); /* 0x25115BAB: pop ebx */ 18875 esp = ebp; /* 0x25115BAC: mov esp, ebp */ 18876 ebp = POP32_VAL(esp); /* 0x25115BAE: pop ebp */ 18877 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115BAF: ret */ 18878 L_25115BB0: 18879 ecx = MEM32(esi + 0x10); /* 0x25115BB0: mov ecx, dword ptr [esi + 0x10] */ 18880 ebx = eax; /* 0x25115BB3: mov ebx, eax */ 18881 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 18882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18883 ebx = ebx - ecx; /* 0x25115BB5: sub ebx, ecx */ 18884 _flag_k = FK_CMP; 18885 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x25115BB7: sar ebx, 2 */ 18886 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18887 ebx = (uint32_t)((int32_t)ebx >> 2u); 18888 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 18889 ebx = ebx + 1; /* 0x25115BBA: inc ebx */ 18890 _flag_k = FK_INC; 18891 edi = ebx + ebx + 0x2; /* 0x25115BBB: lea edi, [ebx + ebx + 2] */ 18892 /* cmp edi, 8 */ /* 0x25115BBF: cmp edi, 8 */ 18893 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 18894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18895 _flag_k = FK_CMP; 18896 MEM32(ebp + (-0xC)) = ebx; /* 0x25115BC2: mov dword ptr [ebp - 0xc], ebx */ 18897 MEM32(ebp + (-0x4)) = edi; /* 0x25115BC5: mov dword ptr [ebp - 4], edi */ 18898 if (CMP_AE(_flag_a, _flag_b)) goto L_25115BD4; /* 0x25115BC8: jae 0x25115bd4 */ 18899 L_25115BCA: 18900 MEM32(ebp + (-0x4)) = 8; /* 0x25115BCA: mov dword ptr [ebp - 4], 8 */ 18901 edi = MEM32(ebp + (-0x4)); /* 0x25115BD1: mov edi, dword ptr [ebp - 4] */ 18902 L_25115BD4: 18903 /* cmp edi, edx */ /* 0x25115BD4: cmp edi, edx */ 18904 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 18905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18906 _flag_k = FK_CMP; 18907 if (CMP_A(_flag_a, _flag_b)) goto L_25115C36; /* 0x25115BD6: ja 0x25115c36 */ 18908 L_25115BD8: 18909 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x25115BD8: shr edx, 2 */ 18910 if (2u) { _flag_a = recomp_flags_pack((edx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18911 edx = edx >> 2u; /* 0x25115BD8: shr edx, 2 */ 18912 /* cmp edx, edi */ /* 0x25115BDB: cmp edx, edi */ 18913 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18915 _flag_k = FK_CMP; 18916 if (CMP_AE(_flag_a, _flag_b)) goto L_25115C36; /* 0x25115BDD: jae 0x25115c36 */ 18917 L_25115BDF: 18918 edi = MEM32(esi + 0x24); /* 0x25115BDF: mov edi, dword ptr [esi + 0x24] */ 18919 edi = edi + edx * 4; /* 0x25115BE2: lea edi, [edi + edx*4] */ 18920 edx = ecx + (-0x4); /* 0x25115BE5: lea edx, [ecx - 4] */ 18921 /* cmp edi, edx */ /* 0x25115BE8: cmp edi, edx */ 18922 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 18923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18924 _flag_k = FK_CMP; 18925 if (CMP_AE(_flag_a, _flag_b)) goto L_25115C13; /* 0x25115BEA: jae 0x25115c13 */ 18926 L_25115BEC: 18927 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 18928 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18929 eax = eax + 8; /* 0x25115BEC: add eax, 8 */ 18930 _flag_k = FK_ADD; 18931 MEM32(ebp + (-0x4)) = eax; /* 0x25115BEF: mov dword ptr [ebp - 4], eax */ 18932 eax = ecx + (-0x4); /* 0x25115BF2: lea eax, [ecx - 4] */ 18933 /* cmp eax, MEM32(ebp + (-0x4)) */ /* 0x25115BF5: cmp eax, dword ptr [ebp - 4] */ 18934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 18935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18936 _flag_k = FK_CMP; 18937 edx = edi; /* 0x25115BF8: mov edx, edi */ 18938 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115C90; /* 0x25115BFA: je 0x25115c90 */ 18939 L_25115C00: 18940 ecx = MEM32(eax); /* 0x25115C00: mov ecx, dword ptr [eax] */ 18941 MEM32(edx) = ecx; /* 0x25115C02: mov dword ptr [edx], ecx */ 18942 ecx = MEM32(ebp + (-0x4)); /* 0x25115C04: mov ecx, dword ptr [ebp - 4] */ 18943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 18944 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18945 eax = eax + 4; /* 0x25115C07: add eax, 4 */ 18946 _flag_k = FK_ADD; 18947 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 18948 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18949 edx = edx + 4; /* 0x25115C0A: add edx, 4 */ 18950 _flag_k = FK_ADD; 18951 /* cmp eax, ecx */ /* 0x25115C0D: cmp eax, ecx */ 18952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18954 _flag_k = FK_CMP; 18955 RECOMP_BACKEDGE(); 18956 if (CMP_NE(_flag_a, _flag_b)) goto L_25115C00; /* 0x25115C0F: jne 0x25115c00 */ 18957 L_25115C11: 18958 goto L_25115C90; /* 0x25115C11: jmp 0x25115c90 */ 18959 L_25115C13: 18960 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu); 18961 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18962 ecx = ecx + 0xFFFFFFFCu; /* 0x25115C13: add ecx, -4 */ 18963 _flag_k = FK_ADD; 18964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 18965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18966 eax = eax + 8; /* 0x25115C16: add eax, 8 */ 18967 _flag_k = FK_ADD; 18968 /* cmp ecx, eax */ /* 0x25115C19: cmp ecx, eax */ 18969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18971 _flag_k = FK_CMP; 18972 edx = edi + ebx * 4 + 0x8; /* 0x25115C1B: lea edx, [edi + ebx*4 + 8] */ 18973 MEM32(ebp + (-0x4)) = ecx; /* 0x25115C1F: mov dword ptr [ebp - 4], ecx */ 18974 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115C90; /* 0x25115C22: je 0x25115c90 */ 18975 L_25115C24: 18976 ecx = MEM32(eax + (-0x4)); /* 0x25115C24: mov ecx, dword ptr [eax - 4] */ 18977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 18978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18979 eax = eax - 4; /* 0x25115C27: sub eax, 4 */ 18980 _flag_k = FK_CMP; 18981 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 18982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18983 edx = edx - 4; /* 0x25115C2A: sub edx, 4 */ 18984 _flag_k = FK_CMP; 18985 MEM32(edx) = ecx; /* 0x25115C2D: mov dword ptr [edx], ecx */ 18986 /* cmp eax, MEM32(ebp + (-0x4)) */ /* 0x25115C2F: cmp eax, dword ptr [ebp - 4] */ 18987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 18988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18989 _flag_k = FK_CMP; 18990 RECOMP_BACKEDGE(); 18991 if (CMP_NE(_flag_a, _flag_b)) goto L_25115C24; /* 0x25115C32: jne 0x25115c24 */ 18992 L_25115C34: 18993 goto L_25115C90; /* 0x25115C34: jmp 0x25115c90 */ 18994 L_25115C36: 18995 eax = edi * 4; /* 0x25115C36: lea eax, [edi*4] */ 18996 /* test eax, eax */ /* 0x25115C3D: test eax, eax */ 18997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18998 _cf = 0; 18999 _flag_k = FK_TEST; 19000 if (TEST_NS(_flag_a, _flag_b)) goto L_25115C43; /* 0x25115C3F: jge 0x25115c43 */ 19001 L_25115C41: 19002 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19003 eax = 0; /* 0x25115C41: xor eax, eax */ 19004 _cf = 0; 19005 _flag_k = FK_TEST; 19006 L_25115C43: 19007 PUSH32(esp, eax); /* 0x25115C43: push eax */ 19008 RECOMP_ICALL(0x251380D0u); /* 0x25115C44: call 0x251380d0 */ /* not lifted */ 19009 RECOMP_FLAGS_IN(); 19010 ecx = MEM32(esi + 0x20); /* 0x25115C49: mov ecx, dword ptr [esi + 0x20] */ 19011 if (2u) _cf = (((edi) >> 1) & 1u); /* 0x25115C4C: shr edi, 2 */ 19012 if (2u) { _flag_a = recomp_flags_pack((edi >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19013 edi = edi >> 2u; /* 0x25115C4C: shr edi, 2 */ 19014 edi = eax + edi * 4; /* 0x25115C4F: lea edi, [eax + edi*4] */ 19015 MEM32(ebp + (-0x10)) = eax; /* 0x25115C52: mov dword ptr [ebp - 0x10], eax */ 19016 eax = MEM32(esi + 0x10); /* 0x25115C55: mov eax, dword ptr [esi + 0x10] */ 19017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 19018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19019 ecx = ecx + 8; /* 0x25115C58: add ecx, 8 */ 19020 _flag_k = FK_ADD; 19021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 19022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19023 eax = eax - 4; /* 0x25115C5B: sub eax, 4 */ 19024 _flag_k = FK_CMP; 19025 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19026 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19027 esp = esp + 4; /* 0x25115C5E: add esp, 4 */ 19028 _flag_k = FK_ADD; 19029 /* cmp eax, ecx */ /* 0x25115C61: cmp eax, ecx */ 19030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19032 _flag_k = FK_CMP; 19033 edx = edi; /* 0x25115C63: mov edx, edi */ 19034 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115C78; /* 0x25115C65: je 0x25115c78 */ 19035 L_25115C67: 19036 ebx = MEM32(eax); /* 0x25115C67: mov ebx, dword ptr [eax] */ 19037 MEM32(edx) = ebx; /* 0x25115C69: mov dword ptr [edx], ebx */ 19038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 19039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19040 eax = eax + 4; /* 0x25115C6B: add eax, 4 */ 19041 _flag_k = FK_ADD; 19042 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 19043 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19044 edx = edx + 4; /* 0x25115C6E: add edx, 4 */ 19045 _flag_k = FK_ADD; 19046 /* cmp eax, ecx */ /* 0x25115C71: cmp eax, ecx */ 19047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19049 _flag_k = FK_CMP; 19050 RECOMP_BACKEDGE(); 19051 if (CMP_NE(_flag_a, _flag_b)) goto L_25115C67; /* 0x25115C73: jne 0x25115c67 */ 19052 L_25115C75: 19053 ebx = MEM32(ebp + (-0xC)); /* 0x25115C75: mov ebx, dword ptr [ebp - 0xc] */ 19054 L_25115C78: 19055 edx = MEM32(esi + 0x24); /* 0x25115C78: mov edx, dword ptr [esi + 0x24] */ 19056 PUSH32(esp, edx); /* 0x25115C7B: push edx */ 19057 RECOMP_ICALL(0x25137EECu); /* 0x25115C7C: call 0x25137eec */ /* not lifted */ 19058 RECOMP_FLAGS_IN(); 19059 eax = MEM32(ebp + (-0x10)); /* 0x25115C81: mov eax, dword ptr [ebp - 0x10] */ 19060 ecx = MEM32(ebp + (-0x4)); /* 0x25115C84: mov ecx, dword ptr [ebp - 4] */ 19061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19063 esp = esp + 4; /* 0x25115C87: add esp, 4 */ 19064 _flag_k = FK_ADD; 19065 MEM32(esi + 0x24) = eax; /* 0x25115C8A: mov dword ptr [esi + 0x24], eax */ 19066 MEM32(esi + 0x28) = ecx; /* 0x25115C8D: mov dword ptr [esi + 0x28], ecx */ 19067 L_25115C90: 19068 edx = MEM32(ebp + (-0x8)); /* 0x25115C90: mov edx, dword ptr [ebp - 8] */ 19069 eax = edi + 0x4; /* 0x25115C93: lea eax, [edi + 4] */ 19070 MEM32(eax + ebx * 4) = edx; /* 0x25115C96: mov dword ptr [eax + ebx*4], edx */ 19071 MEM32(eax + ebx * 4 + 0x4) = 0; /* 0x25115C99: mov dword ptr [eax + ebx*4 + 4], 0 */ 19072 edi = MEM32(esi + 0xC); /* 0x25115CA1: mov edi, dword ptr [esi + 0xc] */ 19073 edx = MEM32(eax); /* 0x25115CA4: mov edx, dword ptr [eax] */ 19074 ecx = eax + ebx * 4; /* 0x25115CA6: lea ecx, [eax + ebx*4] */ 19075 MEM32(ebp + (-0x18)) = edi; /* 0x25115CA9: mov dword ptr [ebp - 0x18], edi */ 19076 edi = esi + 0x4; /* 0x25115CAC: lea edi, [esi + 4] */ 19077 MEM32(edi) = edx; /* 0x25115CAF: mov dword ptr [edi], edx */ 19078 ebx = edx + 0x1000; /* 0x25115CB1: lea ebx, [edx + 0x1000] */ 19079 edx = MEM32(ebp + (-0x18)); /* 0x25115CB7: mov edx, dword ptr [ebp - 0x18] */ 19080 MEM32(edi + 0x4) = ebx; /* 0x25115CBA: mov dword ptr [edi + 4], ebx */ 19081 MEM32(edi + 0x8) = edx; /* 0x25115CBD: mov dword ptr [edi + 8], edx */ 19082 MEM32(edi + 0xC) = eax; /* 0x25115CC0: mov dword ptr [edi + 0xc], eax */ 19083 eax = MEM32(ecx); /* 0x25115CC3: mov eax, dword ptr [ecx] */ 19084 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 19085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19086 esi = esi + 0x14u; /* 0x25115CC5: add esi, 0x14 */ 19087 _flag_k = FK_ADD; 19088 MEM32(esi) = eax; /* 0x25115CC8: mov dword ptr [esi], eax */ 19089 edx = eax + 0x1000; /* 0x25115CCA: lea edx, [eax + 0x1000] */ 19090 eax = MEM32(ebp + (-0x8)); /* 0x25115CD0: mov eax, dword ptr [ebp - 8] */ 19091 MEM32(esi + 0x4) = edx; /* 0x25115CD3: mov dword ptr [esi + 4], edx */ 19092 MEM32(esi + 0x8) = eax; /* 0x25115CD6: mov dword ptr [esi + 8], eax */ 19093 edi = POP32_VAL(esp); /* 0x25115CD9: pop edi */ 19094 MEM32(esi + 0xC) = ecx; /* 0x25115CDA: mov dword ptr [esi + 0xc], ecx */ 19095 esi = POP32_VAL(esp); /* 0x25115CDD: pop esi */ 19096 ebx = POP32_VAL(esp); /* 0x25115CDE: pop ebx */ 19097 esp = ebp; /* 0x25115CDF: mov esp, ebp */ 19098 ebp = POP32_VAL(esp); /* 0x25115CE1: pop ebp */ 19099 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115CE2: ret */ 19100 RECOMP_REGS_OUT(); 19101 } 19102 19103 void sub_25115CF0(void) { 19104 int _fpu_cmp = 0; 19105 uint32_t _cf = 0; 19106 int _df = 1; 19107 uint32_t _flag_k = FK_NONE; 19108 uint32_t _flag_a = 0, _flag_b = 0; 19109 uint32_t _itail_tgt = 0; 19110 RECOMP_REGS_LOCALS 19111 RECOMP_ENTER(0x25115CF0u); 19112 19113 L_25115CF0: 19114 PUSH32(esp, esi); /* 0x25115CF0: push esi */ 19115 esi = ecx; /* 0x25115CF1: mov esi, ecx */ 19116 eax = MEM32(esi + 0x1C); /* 0x25115CF3: mov eax, dword ptr [esi + 0x1c] */ 19117 /* cmp eax, MEM32(esi + 0x14) */ /* 0x25115CF6: cmp eax, dword ptr [esi + 0x14] */ 19118 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 19119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19120 _flag_k = FK_CMP; 19121 PUSH32(esp, edi); /* 0x25115CF9: push edi */ 19122 edi = MEM32(esi + 0x20); /* 0x25115CFA: mov edi, dword ptr [esi + 0x20] */ 19123 if (CMP_NE(_flag_a, _flag_b)) goto L_25115D1B; /* 0x25115CFD: jne 0x25115d1b */ 19124 L_25115CFF: 19125 eax = edi; /* 0x25115CFF: mov eax, edi */ 19126 ecx = MEM32(eax + (-0x4)); /* 0x25115D01: mov ecx, dword ptr [eax - 4] */ 19127 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 19128 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19129 eax = eax + 0xFFFFFFFCu; /* 0x25115D04: add eax, -4 */ 19130 _flag_k = FK_ADD; 19131 /* test ecx, ecx */ /* 0x25115D07: test ecx, ecx */ 19132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 19133 _cf = 0; 19134 _flag_k = FK_TEST; 19135 if (TEST_Z(_flag_a, _flag_b)) goto L_25115D21; /* 0x25115D09: je 0x25115d21 */ 19136 L_25115D0B: 19137 MEM32(esi + 0x20) = eax; /* 0x25115D0B: mov dword ptr [esi + 0x20], eax */ 19138 eax = MEM32(eax); /* 0x25115D0E: mov eax, dword ptr [eax] */ 19139 MEM32(esi + 0x14) = eax; /* 0x25115D10: mov dword ptr [esi + 0x14], eax */ 19140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u); 19141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19142 eax = eax + 0x1000u; /* 0x25115D13: add eax, 0x1000 */ 19143 _flag_k = FK_ADD; 19144 MEM32(esi + 0x18) = eax; /* 0x25115D18: mov dword ptr [esi + 0x18], eax */ 19145 L_25115D1B: 19146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 19147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19148 eax = eax + 0xFFFFFFFCu; /* 0x25115D1B: add eax, -4 */ 19149 _flag_k = FK_ADD; 19150 MEM32(esi + 0x1C) = eax; /* 0x25115D1E: mov dword ptr [esi + 0x1c], eax */ 19151 L_25115D21: 19152 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 19153 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x25115D21: dec dword ptr [esi + 0x2c] */ 19154 _flag_k = FK_DEC; 19155 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_25115D7C; /* 0x25115D24: jne 0x25115d7c */ 19156 L_25115D26: 19157 eax = MEM32(esi + 0x10); /* 0x25115D26: mov eax, dword ptr [esi + 0x10] */ 19158 ecx = MEM32(eax + (-0x4)); /* 0x25115D29: mov ecx, dword ptr [eax - 4] */ 19159 PUSH32(esp, ebx); /* 0x25115D2C: push ebx */ 19160 PUSH32(esp, ecx); /* 0x25115D2D: push ecx */ 19161 RECOMP_ICALL(0x25137EECu); /* 0x25115D2E: call 0x25137eec */ /* not lifted */ 19162 RECOMP_FLAGS_IN(); 19163 edx = MEM32(esi + 0x10); /* 0x25115D33: mov edx, dword ptr [esi + 0x10] */ 19164 eax = MEM32(edx); /* 0x25115D36: mov eax, dword ptr [edx] */ 19165 PUSH32(esp, eax); /* 0x25115D38: push eax */ 19166 RECOMP_ICALL(0x25137EECu); /* 0x25115D39: call 0x25137eec */ /* not lifted */ 19167 RECOMP_FLAGS_IN(); 19168 ecx = MEM32(esi + 0x10); /* 0x25115D3E: mov ecx, dword ptr [esi + 0x10] */ 19169 edx = MEM32(ecx + 0x4); /* 0x25115D41: mov edx, dword ptr [ecx + 4] */ 19170 PUSH32(esp, edx); /* 0x25115D44: push edx */ 19171 RECOMP_ICALL(0x25137EECu); /* 0x25115D45: call 0x25137eec */ /* not lifted */ 19172 RECOMP_FLAGS_IN(); 19173 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19174 eax = 0; /* 0x25115D4A: xor eax, eax */ 19175 _cf = 0; 19176 _flag_k = FK_TEST; 19177 ebx = esi + 0x4; /* 0x25115D4C: lea ebx, [esi + 4] */ 19178 MEM32(ebx) = eax; /* 0x25115D4F: mov dword ptr [ebx], eax */ 19179 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19180 ecx = 0; /* 0x25115D51: xor ecx, ecx */ 19181 _cf = 0; 19182 _flag_k = FK_TEST; 19183 MEM32(esi + 0x14) = eax; /* 0x25115D53: mov dword ptr [esi + 0x14], eax */ 19184 eax = MEM32(esi + 0x24); /* 0x25115D56: mov eax, dword ptr [esi + 0x24] */ 19185 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19186 edx = 0; /* 0x25115D59: xor edx, edx */ 19187 _cf = 0; 19188 _flag_k = FK_TEST; 19189 MEM32(ebx + 0x4) = ecx; /* 0x25115D5B: mov dword ptr [ebx + 4], ecx */ 19190 MEM32(esi + 0x18) = ecx; /* 0x25115D5E: mov dword ptr [esi + 0x18], ecx */ 19191 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19192 edi = 0; /* 0x25115D61: xor edi, edi */ 19193 _cf = 0; 19194 _flag_k = FK_TEST; 19195 MEM32(ebx + 0x8) = edx; /* 0x25115D63: mov dword ptr [ebx + 8], edx */ 19196 MEM32(esi + 0x1C) = edx; /* 0x25115D66: mov dword ptr [esi + 0x1c], edx */ 19197 PUSH32(esp, eax); /* 0x25115D69: push eax */ 19198 MEM32(ebx + 0xC) = edi; /* 0x25115D6A: mov dword ptr [ebx + 0xc], edi */ 19199 MEM32(esi + 0x20) = edi; /* 0x25115D6D: mov dword ptr [esi + 0x20], edi */ 19200 RECOMP_ICALL(0x25137EECu); /* 0x25115D70: call 0x25137eec */ /* not lifted */ 19201 RECOMP_FLAGS_IN(); 19202 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 19203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19204 esp = esp + 0x10u; /* 0x25115D75: add esp, 0x10 */ 19205 _flag_k = FK_ADD; 19206 ebx = POP32_VAL(esp); /* 0x25115D78: pop ebx */ 19207 edi = POP32_VAL(esp); /* 0x25115D79: pop edi */ 19208 esi = POP32_VAL(esp); /* 0x25115D7A: pop esi */ 19209 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115D7B: ret */ 19210 L_25115D7C: 19211 /* cmp edi, MEM32(esi + 0x20) */ /* 0x25115D7C: cmp edi, dword ptr [esi + 0x20] */ 19212 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x20)); 19213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19214 _flag_k = FK_CMP; 19215 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115D92; /* 0x25115D7F: je 0x25115d92 */ 19216 L_25115D81: 19217 ecx = MEM32(edi); /* 0x25115D81: mov ecx, dword ptr [edi] */ 19218 PUSH32(esp, ecx); /* 0x25115D83: push ecx */ 19219 RECOMP_ICALL(0x25137EECu); /* 0x25115D84: call 0x25137eec */ /* not lifted */ 19220 RECOMP_FLAGS_IN(); 19221 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19222 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19223 esp = esp + 4; /* 0x25115D89: add esp, 4 */ 19224 _flag_k = FK_ADD; 19225 MEM32(edi) = 0; /* 0x25115D8C: mov dword ptr [edi], 0 */ 19226 L_25115D92: 19227 edi = POP32_VAL(esp); /* 0x25115D92: pop edi */ 19228 esi = POP32_VAL(esp); /* 0x25115D93: pop esi */ 19229 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115D94: ret */ 19230 RECOMP_REGS_OUT(); 19231 } 19232 19233 void sub_25115DA0(void) { 19234 int _fpu_cmp = 0; 19235 uint32_t _cf = 0; 19236 int _df = 1; 19237 uint32_t _flag_k = FK_NONE; 19238 uint32_t _flag_a = 0, _flag_b = 0; 19239 uint32_t _itail_tgt = 0; 19240 RECOMP_REGS_LOCALS 19241 RECOMP_ENTER(0x25115DA0u); 19242 19243 L_25115DA0: 19244 eax = ecx; /* 0x25115DA0: mov eax, ecx */ 19245 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19246 ecx = 0; /* 0x25115DA2: xor ecx, ecx */ 19247 _cf = 0; 19248 _flag_k = FK_TEST; 19249 MEM32(eax) = ecx; /* 0x25115DA4: mov dword ptr [eax], ecx */ 19250 MEM32(eax + 0x4) = ecx; /* 0x25115DA6: mov dword ptr [eax + 4], ecx */ 19251 MEM32(eax + 0x8) = ecx; /* 0x25115DA9: mov dword ptr [eax + 8], ecx */ 19252 MEM32(eax + 0xC) = ecx; /* 0x25115DAC: mov dword ptr [eax + 0xc], ecx */ 19253 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115DAF: ret */ 19254 RECOMP_REGS_OUT(); 19255 } 19256 19257 void sub_25115DB0(void) { 19258 int _fpu_cmp = 0; 19259 uint32_t _cf = 0; 19260 int _df = 1; 19261 uint32_t _flag_k = FK_NONE; 19262 uint32_t _flag_a = 0, _flag_b = 0; 19263 uint32_t _itail_tgt = 0; 19264 RECOMP_REGS_LOCALS 19265 RECOMP_ENTER(0x25115DB0u); 19266 19267 L_25115DB0: 19268 eax = ecx; /* 0x25115DB0: mov eax, ecx */ 19269 ecx = MEM32(eax + 0x8); /* 0x25115DB2: mov ecx, dword ptr [eax + 8] */ 19270 edx = MEM32(eax + 0x4); /* 0x25115DB5: mov edx, dword ptr [eax + 4] */ 19271 /* cmp ecx, edx */ /* 0x25115DB8: cmp ecx, edx */ 19272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19274 _flag_k = FK_CMP; 19275 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115DE8; /* 0x25115DBA: je 0x25115de8 */ 19276 L_25115DBC: 19277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 19278 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19279 ecx = ecx + 4; /* 0x25115DBC: add ecx, 4 */ 19280 _flag_k = FK_ADD; 19281 /* cmp ecx, edx */ /* 0x25115DBF: cmp ecx, edx */ 19282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19284 _flag_k = FK_CMP; 19285 MEM32(eax + 0x8) = ecx; /* 0x25115DC1: mov dword ptr [eax + 8], ecx */ 19286 if (CMP_NE(_flag_a, _flag_b)) goto L_25115DE8; /* 0x25115DC4: jne 0x25115de8 */ 19287 L_25115DC6: 19288 ecx = MEM32(eax + 0xC); /* 0x25115DC6: mov ecx, dword ptr [eax + 0xc] */ 19289 edx = MEM32(ecx + 0x4); /* 0x25115DC9: mov edx, dword ptr [ecx + 4] */ 19290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 19291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19292 ecx = ecx + 4; /* 0x25115DCC: add ecx, 4 */ 19293 _flag_k = FK_ADD; 19294 /* test edx, edx */ /* 0x25115DCF: test edx, edx */ 19295 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 19296 _cf = 0; 19297 _flag_k = FK_TEST; 19298 if (TEST_Z(_flag_a, _flag_b)) goto L_25115DE8; /* 0x25115DD1: je 0x25115de8 */ 19299 L_25115DD3: 19300 MEM32(eax + 0xC) = ecx; /* 0x25115DD3: mov dword ptr [eax + 0xc], ecx */ 19301 ecx = MEM32(ecx); /* 0x25115DD6: mov ecx, dword ptr [ecx] */ 19302 MEM32(eax) = ecx; /* 0x25115DD8: mov dword ptr [eax], ecx */ 19303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1000u); 19304 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19305 ecx = ecx + 0x1000u; /* 0x25115DDA: add ecx, 0x1000 */ 19306 _flag_k = FK_ADD; 19307 MEM32(eax + 0x4) = ecx; /* 0x25115DE0: mov dword ptr [eax + 4], ecx */ 19308 ecx = MEM32(eax); /* 0x25115DE3: mov ecx, dword ptr [eax] */ 19309 MEM32(eax + 0x8) = ecx; /* 0x25115DE5: mov dword ptr [eax + 8], ecx */ 19310 L_25115DE8: 19311 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25115DE8: ret */ 19312 RECOMP_REGS_OUT(); 19313 } 19314 19315 void sub_25115DF0(void) { 19316 int _fpu_cmp = 0; 19317 uint32_t _cf = 0; 19318 int _df = 1; 19319 uint32_t _flag_k = FK_NONE; 19320 uint32_t _flag_a = 0, _flag_b = 0; 19321 uint32_t _itail_tgt = 0; 19322 RECOMP_REGS_LOCALS 19323 RECOMP_ENTER(0x25115DF0u); 19324 19325 L_25115DF0: 19326 PUSH32(esp, ebp); /* 0x25115DF0: push ebp */ 19327 ebp = esp; /* 0x25115DF1: mov ebp, esp */ 19328 eax = MEM32(ebp + 0xC); /* 0x25115DF3: mov eax, dword ptr [ebp + 0xc] */ 19329 edx = MEM32(ecx); /* 0x25115DF6: mov edx, dword ptr [ecx] */ 19330 PUSH32(esp, ebx); /* 0x25115DF8: push ebx */ 19331 ebx = MEM32(ecx + 0x4); /* 0x25115DF9: mov ebx, dword ptr [ecx + 4] */ 19332 PUSH32(esp, esi); /* 0x25115DFC: push esi */ 19333 esi = MEM32(ecx + 0xC); /* 0x25115DFD: mov esi, dword ptr [ecx + 0xc] */ 19334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 19335 _cf = (eax) != 0; 19336 eax = (uint32_t)(-(int32_t)eax); /* 0x25115E00: neg eax */ 19337 _flag_k = FK_CMP; 19338 PUSH32(esp, edi); /* 0x25115E02: push edi */ 19339 edi = MEM32(ecx + 0x8); /* 0x25115E03: mov edi, dword ptr [ecx + 8] */ 19340 edi = edi + eax * 4; /* 0x25115E06: lea edi, [edi + eax*4] */ 19341 eax = edi; /* 0x25115E09: mov eax, edi */ 19342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19344 eax = eax - edx; /* 0x25115E0B: sub eax, edx */ 19345 _flag_k = FK_CMP; 19346 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25115E0D: sar eax, 2 */ 19347 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19348 eax = (uint32_t)((int32_t)eax >> 2u); 19349 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_S, _cf)) goto L_25115E19; /* 0x25115E10: js 0x25115e19 */ 19350 L_25115E12: 19351 ecx = eax; /* 0x25115E12: mov ecx, eax */ 19352 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25115E14: shr ecx, 0xa */ 19353 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19354 ecx = ecx >> 10u; /* 0x25115E14: shr ecx, 0xa */ 19355 goto L_25115E25; /* 0x25115E17: jmp 0x25115e25 */ 19356 L_25115E19: 19357 ecx = 0x3FFu; /* 0x25115E19: mov ecx, 0x3ff */ 19358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19360 ecx = ecx - eax; /* 0x25115E1E: sub ecx, eax */ 19361 _flag_k = FK_CMP; 19362 if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x25115E20: shr ecx, 0xa */ 19363 if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19364 ecx = ecx >> 10u; /* 0x25115E20: shr ecx, 0xa */ 19365 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(ecx); 19366 _cf = (ecx) != 0; 19367 ecx = (uint32_t)(-(int32_t)ecx); /* 0x25115E23: neg ecx */ 19368 _flag_k = FK_CMP; 19369 L_25115E25: 19370 /* test ecx, ecx */ /* 0x25115E25: test ecx, ecx */ 19371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 19372 _cf = 0; 19373 _flag_k = FK_TEST; 19374 if (TEST_Z(_flag_a, _flag_b)) goto L_25115E3D; /* 0x25115E27: je 0x25115e3d */ 19375 L_25115E29: 19376 edx = MEM32(esi + ecx * 4); /* 0x25115E29: mov edx, dword ptr [esi + ecx*4] */ 19377 esi = esi + ecx * 4; /* 0x25115E2C: lea esi, [esi + ecx*4] */ 19378 if (10u) _cf = (((ecx) >> 22) & 1u); /* 0x25115E2F: shl ecx, 0xa */ 19379 if (10u) { _flag_a = recomp_flags_pack((ecx << 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19380 ecx = ecx << 10u; /* 0x25115E2F: shl ecx, 0xa */ 19381 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19383 eax = eax - ecx; /* 0x25115E32: sub eax, ecx */ 19384 _flag_k = FK_CMP; 19385 ebx = edx + 0x1000; /* 0x25115E34: lea ebx, [edx + 0x1000] */ 19386 edi = edx + eax * 4; /* 0x25115E3A: lea edi, [edx + eax*4] */ 19387 L_25115E3D: 19388 eax = MEM32(ebp + 0x8); /* 0x25115E3D: mov eax, dword ptr [ebp + 8] */ 19389 ecx = eax; /* 0x25115E40: mov ecx, eax */ 19390 MEM32(ecx) = edx; /* 0x25115E42: mov dword ptr [ecx], edx */ 19391 MEM32(ecx + 0x4) = ebx; /* 0x25115E44: mov dword ptr [ecx + 4], ebx */ 19392 MEM32(ecx + 0x8) = edi; /* 0x25115E47: mov dword ptr [ecx + 8], edi */ 19393 edi = POP32_VAL(esp); /* 0x25115E4A: pop edi */ 19394 MEM32(ecx + 0xC) = esi; /* 0x25115E4B: mov dword ptr [ecx + 0xc], esi */ 19395 esi = POP32_VAL(esp); /* 0x25115E4E: pop esi */ 19396 ebx = POP32_VAL(esp); /* 0x25115E4F: pop ebx */ 19397 ebp = POP32_VAL(esp); /* 0x25115E50: pop ebp */ 19398 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115E51: ret 8 */ 19399 RECOMP_REGS_OUT(); 19400 } 19401 19402 void sub_25115E60(void) { 19403 int _fpu_cmp = 0; 19404 uint32_t _cf = 0; 19405 int _df = 1; 19406 uint32_t _flag_k = FK_NONE; 19407 uint32_t _flag_a = 0, _flag_b = 0; 19408 uint32_t _itail_tgt = 0; 19409 RECOMP_REGS_LOCALS 19410 RECOMP_ENTER(0x25115E60u); 19411 19412 L_25115E60: 19413 PUSH32(esp, ebp); /* 0x25115E60: push ebp */ 19414 ebp = esp; /* 0x25115E61: mov ebp, esp */ 19415 PUSH32(esp, ecx); /* 0x25115E63: push ecx */ 19416 PUSH32(esp, ebx); /* 0x25115E64: push ebx */ 19417 ebx = MEM32(ebp + 0x8); /* 0x25115E65: mov ebx, dword ptr [ebp + 8] */ 19418 PUSH32(esp, edi); /* 0x25115E68: push edi */ 19419 edi = ecx; /* 0x25115E69: mov edi, ecx */ 19420 SET_LO8(ecx, MEM8(ebx + 0x21)); /* 0x25115E6B: mov cl, byte ptr [ebx + 0x21] */ 19421 /* test LO8(ecx), LO8(ecx) */ /* 0x25115E6E: test cl, cl */ 19422 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19423 _cf = 0; 19424 _flag_k = FK_NARROW(FK_TEST, 24); 19425 eax = MEM32(edi + 0x8); /* 0x25115E70: mov eax, dword ptr [edi + 8] */ 19426 MEM32(ebp + (-0x4)) = eax; /* 0x25115E73: mov dword ptr [ebp - 4], eax */ 19427 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115EE0; /* 0x25115E76: jne 0x25115ee0 */ 19428 L_25115E78: 19429 SET_LO8(eax, MEM8(ebx + 0x20)); /* 0x25115E78: mov al, byte ptr [ebx + 0x20] */ 19430 PUSH32(esp, esi); /* 0x25115E7B: push esi */ 19431 PUSH32(esp, 0x24u); /* 0x25115E7C: push 0x24 */ 19432 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x25115E7E: mov byte ptr [ebp + 0xb], al */ 19433 RECOMP_ICALL(0x251380D0u); /* 0x25115E81: call 0x251380d0 */ /* not lifted */ 19434 RECOMP_FLAGS_IN(); 19435 ecx = MEM32(ebp + 0xC); /* 0x25115E86: mov ecx, dword ptr [ebp + 0xc] */ 19436 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25115E89: mov dl, byte ptr [ebp + 0xb] */ 19437 esi = eax; /* 0x25115E8C: mov esi, eax */ 19438 eax = ebx + 0xC; /* 0x25115E8E: lea eax, [ebx + 0xc] */ 19439 MEM32(esi + 0x4) = ecx; /* 0x25115E91: mov dword ptr [esi + 4], ecx */ 19440 PUSH32(esp, eax); /* 0x25115E94: push eax */ 19441 ecx = esi + 0xC; /* 0x25115E95: lea ecx, [esi + 0xc] */ 19442 PUSH32(esp, ecx); /* 0x25115E98: push ecx */ 19443 MEM8(esi + 0x20) = (uint8_t)(LO8(edx)); /* 0x25115E99: mov byte ptr [esi + 0x20], dl */ 19444 MEM8(esi + 0x21) = (uint8_t)(0); /* 0x25115E9C: mov byte ptr [esi + 0x21], 0 */ 19445 RECOMP_ICALL(0x251166E0u); /* 0x25115EA0: call 0x251166e0 */ /* not lifted */ 19446 RECOMP_FLAGS_IN(); 19447 edx = MEM32(edi + 0x8); /* 0x25115EA5: mov edx, dword ptr [edi + 8] */ 19448 ecx = MEM32(ebp + (-0x4)); /* 0x25115EA8: mov ecx, dword ptr [ebp - 4] */ 19449 MEM32(esi) = edx; /* 0x25115EAB: mov dword ptr [esi], edx */ 19450 eax = MEM32(edi + 0x8); /* 0x25115EAD: mov eax, dword ptr [edi + 8] */ 19451 MEM32(esi + 0x8) = eax; /* 0x25115EB0: mov dword ptr [esi + 8], eax */ 19452 eax = MEM32(edi + 0x8); /* 0x25115EB3: mov eax, dword ptr [edi + 8] */ 19453 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19455 esp = esp + 0xCu; /* 0x25115EB6: add esp, 0xc */ 19456 _flag_k = FK_ADD; 19457 /* cmp ecx, eax */ /* 0x25115EB9: cmp ecx, eax */ 19458 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19460 _flag_k = FK_CMP; 19461 if (CMP_NE(_flag_a, _flag_b)) goto L_25115EC0; /* 0x25115EBB: jne 0x25115ec0 */ 19462 L_25115EBD: 19463 MEM32(ebp + (-0x4)) = esi; /* 0x25115EBD: mov dword ptr [ebp - 4], esi */ 19464 L_25115EC0: 19465 edx = MEM32(ebx); /* 0x25115EC0: mov edx, dword ptr [ebx] */ 19466 PUSH32(esp, esi); /* 0x25115EC2: push esi */ 19467 PUSH32(esp, edx); /* 0x25115EC3: push edx */ 19468 ecx = edi; /* 0x25115EC4: mov ecx, edi */ 19469 RECOMP_ICALL(0x25115E60u); /* 0x25115EC6: call 0x25115e60 */ /* not lifted */ 19470 RECOMP_FLAGS_IN(); 19471 MEM32(esi) = eax; /* 0x25115ECB: mov dword ptr [esi], eax */ 19472 eax = MEM32(ebx + 0x8); /* 0x25115ECD: mov eax, dword ptr [ebx + 8] */ 19473 PUSH32(esp, esi); /* 0x25115ED0: push esi */ 19474 PUSH32(esp, eax); /* 0x25115ED1: push eax */ 19475 ecx = edi; /* 0x25115ED2: mov ecx, edi */ 19476 RECOMP_ICALL(0x25115E60u); /* 0x25115ED4: call 0x25115e60 */ /* not lifted */ 19477 RECOMP_FLAGS_IN(); 19478 MEM32(esi + 0x8) = eax; /* 0x25115ED9: mov dword ptr [esi + 8], eax */ 19479 eax = MEM32(ebp + (-0x4)); /* 0x25115EDC: mov eax, dword ptr [ebp - 4] */ 19480 esi = POP32_VAL(esp); /* 0x25115EDF: pop esi */ 19481 L_25115EE0: 19482 edi = POP32_VAL(esp); /* 0x25115EE0: pop edi */ 19483 ebx = POP32_VAL(esp); /* 0x25115EE1: pop ebx */ 19484 esp = ebp; /* 0x25115EE2: mov esp, ebp */ 19485 ebp = POP32_VAL(esp); /* 0x25115EE4: pop ebp */ 19486 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25115EE5: ret 8 */ 19487 RECOMP_REGS_OUT(); 19488 } 19489 19490 void sub_25115EF0(void) { 19491 int _fpu_cmp = 0; 19492 uint32_t _cf = 0; 19493 int _df = 1; 19494 uint32_t _flag_k = FK_NONE; 19495 uint32_t _flag_a = 0, _flag_b = 0; 19496 uint32_t _itail_tgt = 0; 19497 RECOMP_REGS_LOCALS 19498 RECOMP_ENTER(0x25115EF0u); 19499 19500 L_25115EF0: 19501 PUSH32(esp, ebp); /* 0x25115EF0: push ebp */ 19502 ebp = esp; /* 0x25115EF1: mov ebp, esp */ 19503 PUSH32(esp, ecx); /* 0x25115EF3: push ecx */ 19504 PUSH32(esp, ebx); /* 0x25115EF4: push ebx */ 19505 PUSH32(esp, esi); /* 0x25115EF5: push esi */ 19506 PUSH32(esp, edi); /* 0x25115EF6: push edi */ 19507 PUSH32(esp, 0x24u); /* 0x25115EF7: push 0x24 */ 19508 esi = ecx; /* 0x25115EF9: mov esi, ecx */ 19509 RECOMP_ICALL(0x251380D0u); /* 0x25115EFB: call 0x251380d0 */ /* not lifted */ 19510 RECOMP_FLAGS_IN(); 19511 edi = MEM32(ebp + 0x10); /* 0x25115F00: mov edi, dword ptr [ebp + 0x10] */ 19512 ebx = MEM32(ebp + 0x14); /* 0x25115F03: mov ebx, dword ptr [ebp + 0x14] */ 19513 MEM32(eax + 0x4) = edi; /* 0x25115F06: mov dword ptr [eax + 4], edi */ 19514 MEM8(eax + 0x20) = (uint8_t)(0); /* 0x25115F09: mov byte ptr [eax + 0x20], 0 */ 19515 MEM8(eax + 0x21) = (uint8_t)(0); /* 0x25115F0D: mov byte ptr [eax + 0x21], 0 */ 19516 ecx = MEM32(esi + 0x8); /* 0x25115F11: mov ecx, dword ptr [esi + 8] */ 19517 MEM32(eax) = ecx; /* 0x25115F14: mov dword ptr [eax], ecx */ 19518 edx = MEM32(esi + 0x8); /* 0x25115F16: mov edx, dword ptr [esi + 8] */ 19519 MEM32(ebp + (-0x4)) = eax; /* 0x25115F19: mov dword ptr [ebp - 4], eax */ 19520 MEM32(eax + 0x8) = edx; /* 0x25115F1C: mov dword ptr [eax + 8], edx */ 19521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 19522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19523 eax = eax + 0xCu; /* 0x25115F1F: add eax, 0xc */ 19524 _flag_k = FK_ADD; 19525 PUSH32(esp, ebx); /* 0x25115F22: push ebx */ 19526 PUSH32(esp, eax); /* 0x25115F23: push eax */ 19527 RECOMP_ICALL(0x251166E0u); /* 0x25115F24: call 0x251166e0 */ /* not lifted */ 19528 RECOMP_FLAGS_IN(); 19529 ecx = MEM32(esi + 0x10); /* 0x25115F29: mov ecx, dword ptr [esi + 0x10] */ 19530 eax = MEM32(esi + 0x4); /* 0x25115F2C: mov eax, dword ptr [esi + 4] */ 19531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19533 esp = esp + 0xCu; /* 0x25115F2F: add esp, 0xc */ 19534 _flag_k = FK_ADD; 19535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19536 ecx = ecx + 1; /* 0x25115F32: inc ecx */ 19537 _flag_k = FK_INC; 19538 /* cmp edi, eax */ /* 0x25115F33: cmp edi, eax */ 19539 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19541 _flag_k = FK_CMP; 19542 MEM32(esi + 0x10) = ecx; /* 0x25115F35: mov dword ptr [esi + 0x10], ecx */ 19543 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115F67; /* 0x25115F38: je 0x25115f67 */ 19544 L_25115F3A: 19545 eax = MEM32(ebp + 0xC); /* 0x25115F3A: mov eax, dword ptr [ebp + 0xc] */ 19546 /* cmp eax, MEM32(esi + 0x8) */ /* 0x25115F3D: cmp eax, dword ptr [esi + 8] */ 19547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19549 _flag_k = FK_CMP; 19550 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F67; /* 0x25115F40: jne 0x25115f67 */ 19551 L_25115F42: 19552 ecx = edi + 0xC; /* 0x25115F42: lea ecx, [edi + 0xc] */ 19553 PUSH32(esp, ecx); /* 0x25115F45: push ecx */ 19554 PUSH32(esp, ebx); /* 0x25115F46: push ebx */ 19555 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25115F47: call dword ptr [0x251511cc] */ 19556 RECOMP_FLAGS_IN(); 19557 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19558 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19559 esp = esp + 8; /* 0x25115F4D: add esp, 8 */ 19560 _flag_k = FK_ADD; 19561 /* test LO8(eax), LO8(eax) */ /* 0x25115F50: test al, al */ 19562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19563 _cf = 0; 19564 _flag_k = FK_NARROW(FK_TEST, 24); 19565 if (TEST_NZ(_flag_a, _flag_b)) goto L_25115F67; /* 0x25115F52: jne 0x25115f67 */ 19566 L_25115F54: 19567 ecx = MEM32(ebp + (-0x4)); /* 0x25115F54: mov ecx, dword ptr [ebp - 4] */ 19568 MEM32(edi + 0x8) = ecx; /* 0x25115F57: mov dword ptr [edi + 8], ecx */ 19569 eax = MEM32(esi + 0x4); /* 0x25115F5A: mov eax, dword ptr [esi + 4] */ 19570 /* cmp edi, MEM32(eax + 0x8) */ /* 0x25115F5D: cmp edi, dword ptr [eax + 8] */ 19571 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 19572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19573 _flag_k = FK_CMP; 19574 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F87; /* 0x25115F60: jne 0x25115f87 */ 19575 L_25115F62: 19576 MEM32(eax + 0x8) = ecx; /* 0x25115F62: mov dword ptr [eax + 8], ecx */ 19577 goto L_25115F87; /* 0x25115F65: jmp 0x25115f87 */ 19578 L_25115F67: 19579 ecx = MEM32(ebp + (-0x4)); /* 0x25115F67: mov ecx, dword ptr [ebp - 4] */ 19580 MEM32(edi) = ecx; /* 0x25115F6A: mov dword ptr [edi], ecx */ 19581 eax = MEM32(esi + 0x4); /* 0x25115F6C: mov eax, dword ptr [esi + 4] */ 19582 /* cmp edi, eax */ /* 0x25115F6F: cmp edi, eax */ 19583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19585 _flag_k = FK_CMP; 19586 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F7E; /* 0x25115F71: jne 0x25115f7e */ 19587 L_25115F73: 19588 MEM32(eax + 0x4) = ecx; /* 0x25115F73: mov dword ptr [eax + 4], ecx */ 19589 edx = MEM32(esi + 0x4); /* 0x25115F76: mov edx, dword ptr [esi + 4] */ 19590 MEM32(edx + 0x8) = ecx; /* 0x25115F79: mov dword ptr [edx + 8], ecx */ 19591 goto L_25115F87; /* 0x25115F7C: jmp 0x25115f87 */ 19592 L_25115F7E: 19593 /* cmp edi, MEM32(eax) */ /* 0x25115F7E: cmp edi, dword ptr [eax] */ 19594 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 19595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19596 _flag_k = FK_CMP; 19597 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F87; /* 0x25115F80: jne 0x25115f87 */ 19598 L_25115F82: 19599 ecx = MEM32(ebp + (-0x4)); /* 0x25115F82: mov ecx, dword ptr [ebp - 4] */ 19600 MEM32(eax) = ecx; /* 0x25115F85: mov dword ptr [eax], ecx */ 19601 L_25115F87: 19602 edx = MEM32(esi + 0x4); /* 0x25115F87: mov edx, dword ptr [esi + 4] */ 19603 eax = MEM32(ebp + (-0x4)); /* 0x25115F8A: mov eax, dword ptr [ebp - 4] */ 19604 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115F8D: cmp eax, dword ptr [edx + 4] */ 19605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19607 _flag_k = FK_CMP; 19608 SET_LO8(ebx, 1); /* 0x25115F90: mov bl, 1 */ 19609 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115F92: je 0x25116118 */ 19610 L_25115F98: 19611 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 19612 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 19613 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 19614 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19615 _cf = 0; 19616 _flag_k = FK_NARROW(FK_TEST, 24); 19617 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 19618 L_25115FA6: 19619 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 19620 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 19621 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 19622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19624 _flag_k = FK_CMP; 19625 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 19626 L_25115FB3: 19627 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 19628 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 19629 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 19630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19631 _flag_k = FK_NARROW(FK_CMP, 24); 19632 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 19633 L_25115FBC: 19634 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 19635 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 19636 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 19637 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 19638 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 19639 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 19640 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 19641 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 19642 L_25115FD7: 19643 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 19644 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19646 _flag_k = FK_CMP; 19647 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 19648 L_25115FDC: 19649 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 19650 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 19651 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 19652 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 19653 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 19654 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 19655 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19657 _flag_k = FK_CMP; 19658 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 19659 L_25115FED: 19660 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 19661 L_25115FF0: 19662 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 19663 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 19664 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 19665 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 19666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19668 _flag_k = FK_CMP; 19669 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 19670 L_25115FFE: 19671 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 19672 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 19673 L_25116003: 19674 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 19675 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 19676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19678 _flag_k = FK_CMP; 19679 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 19680 L_2511600A: 19681 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 19682 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 19683 L_2511600E: 19684 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 19685 L_25116011: 19686 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 19687 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 19688 L_25116016: 19689 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 19690 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 19691 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 19692 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 19693 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 19694 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 19695 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 19696 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 19697 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 19698 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 19699 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 19700 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 19701 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19703 _flag_k = FK_CMP; 19704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 19705 L_2511603B: 19706 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 19707 L_2511603E: 19708 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 19709 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 19710 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 19711 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 19712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19714 _flag_k = FK_CMP; 19715 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 19716 L_2511604C: 19717 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 19718 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 19719 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 19720 L_25116057: 19721 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 19722 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 19723 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19725 _flag_k = FK_CMP; 19726 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 19727 L_2511605F: 19728 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 19729 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 19730 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 19731 L_2511606A: 19732 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 19733 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 19734 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 19735 L_25116074: 19736 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 19737 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 19738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19739 _flag_k = FK_NARROW(FK_CMP, 24); 19740 RECOMP_BACKEDGE(); 19741 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 19742 L_2511607E: 19743 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 19744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19746 _flag_k = FK_CMP; 19747 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 19748 L_25116082: 19749 eax = ecx; /* 0x25116082: mov eax, ecx */ 19750 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 19751 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 19752 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 19753 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 19754 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 19755 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19757 _flag_k = FK_CMP; 19758 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 19759 L_25116093: 19760 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 19761 L_25116096: 19762 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 19763 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 19764 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 19765 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 19766 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19768 _flag_k = FK_CMP; 19769 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 19770 L_251160A4: 19771 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 19772 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 19773 L_251160A9: 19774 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 19775 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 19776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19778 _flag_k = FK_CMP; 19779 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 19780 L_251160B1: 19781 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 19782 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 19783 L_251160B6: 19784 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 19785 L_251160B8: 19786 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 19787 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 19788 L_251160BE: 19789 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 19790 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 19791 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 19792 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 19793 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 19794 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 19795 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 19796 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 19797 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 19798 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 19799 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 19800 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 19801 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19803 _flag_k = FK_CMP; 19804 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 19805 L_251160E3: 19806 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 19807 L_251160E6: 19808 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 19809 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 19810 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 19811 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 19812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19814 _flag_k = FK_CMP; 19815 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 19816 L_251160F4: 19817 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 19818 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 19819 L_251160F9: 19820 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 19821 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 19822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19824 _flag_k = FK_CMP; 19825 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 19826 L_25116100: 19827 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 19828 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 19829 L_25116104: 19830 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 19831 L_25116107: 19832 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 19833 L_25116109: 19834 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 19835 L_2511610C: 19836 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 19837 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 19838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19840 _flag_k = FK_CMP; 19841 RECOMP_BACKEDGE(); 19842 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 19843 L_25116118: 19844 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 19845 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 19846 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 19847 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 19848 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 19849 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 19850 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 19851 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 19852 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 19853 esp = ebp; /* 0x2511612C: mov esp, ebp */ 19854 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 19855 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 19856 RECOMP_REGS_OUT(); 19857 } 19858 19859 void sub_25115F98(void) { 19860 int _fpu_cmp = 0; 19861 uint32_t _cf = 0; 19862 int _df = 1; 19863 uint32_t _flag_k = FK_NONE; 19864 uint32_t _flag_a = 0, _flag_b = 0; 19865 uint32_t _itail_tgt = 0; 19866 RECOMP_REGS_LOCALS 19867 RECOMP_ENTER(0x25115F98u); 19868 19869 L_25115F98: 19870 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 19871 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 19872 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 19873 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19874 _cf = 0; 19875 _flag_k = FK_NARROW(FK_TEST, 24); 19876 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 19877 L_25115FA6: 19878 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 19879 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 19880 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 19881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19883 _flag_k = FK_CMP; 19884 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 19885 L_25115FB3: 19886 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 19887 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 19888 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 19889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19890 _flag_k = FK_NARROW(FK_CMP, 24); 19891 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 19892 L_25115FBC: 19893 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 19894 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 19895 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 19896 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 19897 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 19898 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 19899 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 19900 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 19901 L_25115FD7: 19902 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 19903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19905 _flag_k = FK_CMP; 19906 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 19907 L_25115FDC: 19908 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 19909 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 19910 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 19911 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 19912 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 19913 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 19914 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19916 _flag_k = FK_CMP; 19917 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 19918 L_25115FED: 19919 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 19920 L_25115FF0: 19921 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 19922 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 19923 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 19924 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 19925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19927 _flag_k = FK_CMP; 19928 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 19929 L_25115FFE: 19930 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 19931 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 19932 L_25116003: 19933 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 19934 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 19935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19937 _flag_k = FK_CMP; 19938 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 19939 L_2511600A: 19940 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 19941 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 19942 L_2511600E: 19943 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 19944 L_25116011: 19945 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 19946 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 19947 L_25116016: 19948 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 19949 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 19950 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 19951 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 19952 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 19953 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 19954 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 19955 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 19956 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 19957 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 19958 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 19959 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 19960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19962 _flag_k = FK_CMP; 19963 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 19964 L_2511603B: 19965 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 19966 L_2511603E: 19967 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 19968 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 19969 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 19970 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 19971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19973 _flag_k = FK_CMP; 19974 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 19975 L_2511604C: 19976 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 19977 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 19978 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 19979 L_25116057: 19980 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 19981 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 19982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19984 _flag_k = FK_CMP; 19985 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 19986 L_2511605F: 19987 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 19988 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 19989 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 19990 L_2511606A: 19991 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 19992 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 19993 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 19994 L_25116074: 19995 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 19996 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 19997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19998 _flag_k = FK_NARROW(FK_CMP, 24); 19999 RECOMP_BACKEDGE(); 20000 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 20001 L_2511607E: 20002 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 20003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20005 _flag_k = FK_CMP; 20006 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 20007 L_25116082: 20008 eax = ecx; /* 0x25116082: mov eax, ecx */ 20009 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 20010 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 20011 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 20012 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 20013 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 20014 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20016 _flag_k = FK_CMP; 20017 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 20018 L_25116093: 20019 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 20020 L_25116096: 20021 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 20022 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 20023 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 20024 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 20025 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20027 _flag_k = FK_CMP; 20028 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 20029 L_251160A4: 20030 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 20031 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 20032 L_251160A9: 20033 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 20034 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 20035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20037 _flag_k = FK_CMP; 20038 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 20039 L_251160B1: 20040 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 20041 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 20042 L_251160B6: 20043 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 20044 L_251160B8: 20045 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 20046 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 20047 L_251160BE: 20048 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 20049 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 20050 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 20051 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 20052 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 20053 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 20054 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 20055 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 20056 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 20057 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 20058 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 20059 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 20060 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20062 _flag_k = FK_CMP; 20063 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 20064 L_251160E3: 20065 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 20066 L_251160E6: 20067 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 20068 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 20069 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 20070 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 20071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20073 _flag_k = FK_CMP; 20074 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 20075 L_251160F4: 20076 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 20077 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 20078 L_251160F9: 20079 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 20080 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 20081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20083 _flag_k = FK_CMP; 20084 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 20085 L_25116100: 20086 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 20087 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 20088 L_25116104: 20089 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 20090 L_25116107: 20091 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 20092 L_25116109: 20093 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 20094 L_2511610C: 20095 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 20096 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 20097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20099 _flag_k = FK_CMP; 20100 RECOMP_BACKEDGE(); 20101 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 20102 L_25116118: 20103 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 20104 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 20105 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 20106 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 20107 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 20108 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 20109 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 20110 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 20111 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 20112 esp = ebp; /* 0x2511612C: mov esp, ebp */ 20113 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 20114 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 20115 RECOMP_REGS_OUT(); 20116 } 20117 20118 void sub_25115FBC(void) { 20119 int _fpu_cmp = 0; 20120 uint32_t _cf = 0; 20121 int _df = 1; 20122 uint32_t _flag_k = FK_NONE; 20123 uint32_t _flag_a = 0, _flag_b = 0; 20124 uint32_t _itail_tgt = 0; 20125 RECOMP_REGS_LOCALS 20126 RECOMP_ENTER(0x25115FBCu); 20127 20128 goto L_25115FBC; 20129 L_25115F98: 20130 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 20131 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 20132 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 20133 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20134 _cf = 0; 20135 _flag_k = FK_NARROW(FK_TEST, 24); 20136 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 20137 L_25115FA6: 20138 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 20139 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 20140 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 20141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20143 _flag_k = FK_CMP; 20144 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 20145 L_25115FB3: 20146 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 20147 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 20148 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20150 _flag_k = FK_NARROW(FK_CMP, 24); 20151 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 20152 L_25115FBC: 20153 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 20154 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 20155 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 20156 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 20157 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 20158 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 20159 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 20160 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 20161 L_25115FD7: 20162 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 20163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20165 _flag_k = FK_CMP; 20166 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 20167 L_25115FDC: 20168 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 20169 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 20170 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 20171 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 20172 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 20173 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 20174 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20176 _flag_k = FK_CMP; 20177 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 20178 L_25115FED: 20179 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 20180 L_25115FF0: 20181 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 20182 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 20183 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 20184 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 20185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20187 _flag_k = FK_CMP; 20188 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 20189 L_25115FFE: 20190 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 20191 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 20192 L_25116003: 20193 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 20194 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 20195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20197 _flag_k = FK_CMP; 20198 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 20199 L_2511600A: 20200 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 20201 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 20202 L_2511600E: 20203 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 20204 L_25116011: 20205 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 20206 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 20207 L_25116016: 20208 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 20209 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 20210 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 20211 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 20212 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 20213 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 20214 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 20215 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 20216 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 20217 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 20218 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 20219 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 20220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20222 _flag_k = FK_CMP; 20223 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 20224 L_2511603B: 20225 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 20226 L_2511603E: 20227 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 20228 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 20229 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 20230 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 20231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20233 _flag_k = FK_CMP; 20234 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 20235 L_2511604C: 20236 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 20237 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 20238 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 20239 L_25116057: 20240 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 20241 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 20242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20244 _flag_k = FK_CMP; 20245 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 20246 L_2511605F: 20247 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 20248 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 20249 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 20250 L_2511606A: 20251 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 20252 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 20253 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 20254 L_25116074: 20255 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 20256 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20258 _flag_k = FK_NARROW(FK_CMP, 24); 20259 RECOMP_BACKEDGE(); 20260 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 20261 L_2511607E: 20262 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 20263 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20265 _flag_k = FK_CMP; 20266 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 20267 L_25116082: 20268 eax = ecx; /* 0x25116082: mov eax, ecx */ 20269 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 20270 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 20271 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 20272 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 20273 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 20274 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20276 _flag_k = FK_CMP; 20277 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 20278 L_25116093: 20279 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 20280 L_25116096: 20281 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 20282 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 20283 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 20284 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 20285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20287 _flag_k = FK_CMP; 20288 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 20289 L_251160A4: 20290 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 20291 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 20292 L_251160A9: 20293 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 20294 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 20295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20297 _flag_k = FK_CMP; 20298 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 20299 L_251160B1: 20300 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 20301 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 20302 L_251160B6: 20303 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 20304 L_251160B8: 20305 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 20306 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 20307 L_251160BE: 20308 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 20309 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 20310 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 20311 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 20312 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 20313 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 20314 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 20315 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 20316 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 20317 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 20318 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 20319 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 20320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20322 _flag_k = FK_CMP; 20323 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 20324 L_251160E3: 20325 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 20326 L_251160E6: 20327 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 20328 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 20329 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 20330 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 20331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20333 _flag_k = FK_CMP; 20334 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 20335 L_251160F4: 20336 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 20337 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 20338 L_251160F9: 20339 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 20340 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 20341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20343 _flag_k = FK_CMP; 20344 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 20345 L_25116100: 20346 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 20347 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 20348 L_25116104: 20349 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 20350 L_25116107: 20351 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 20352 L_25116109: 20353 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 20354 L_2511610C: 20355 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 20356 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 20357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20359 _flag_k = FK_CMP; 20360 RECOMP_BACKEDGE(); 20361 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 20362 L_25116118: 20363 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 20364 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 20365 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 20366 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 20367 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 20368 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 20369 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 20370 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 20371 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 20372 esp = ebp; /* 0x2511612C: mov esp, ebp */ 20373 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 20374 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 20375 RECOMP_REGS_OUT(); 20376 } 20377 20378 void sub_25116011(void) { 20379 int _fpu_cmp = 0; 20380 uint32_t _cf = 0; 20381 int _df = 1; 20382 uint32_t _flag_k = FK_NONE; 20383 uint32_t _flag_a = 0, _flag_b = 0; 20384 uint32_t _itail_tgt = 0; 20385 RECOMP_REGS_LOCALS 20386 RECOMP_ENTER(0x25116011u); 20387 20388 goto L_25116011; 20389 L_25115F98: 20390 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 20391 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 20392 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 20393 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20394 _cf = 0; 20395 _flag_k = FK_NARROW(FK_TEST, 24); 20396 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 20397 L_25115FA6: 20398 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 20399 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 20400 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 20401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20403 _flag_k = FK_CMP; 20404 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 20405 L_25115FB3: 20406 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 20407 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 20408 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20410 _flag_k = FK_NARROW(FK_CMP, 24); 20411 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 20412 L_25115FBC: 20413 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 20414 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 20415 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 20416 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 20417 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 20418 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 20419 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 20420 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 20421 L_25115FD7: 20422 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 20423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20425 _flag_k = FK_CMP; 20426 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 20427 L_25115FDC: 20428 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 20429 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 20430 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 20431 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 20432 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 20433 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 20434 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20436 _flag_k = FK_CMP; 20437 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 20438 L_25115FED: 20439 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 20440 L_25115FF0: 20441 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 20442 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 20443 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 20444 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 20445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20447 _flag_k = FK_CMP; 20448 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 20449 L_25115FFE: 20450 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 20451 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 20452 L_25116003: 20453 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 20454 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 20455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20457 _flag_k = FK_CMP; 20458 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 20459 L_2511600A: 20460 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 20461 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 20462 L_2511600E: 20463 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 20464 L_25116011: 20465 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 20466 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 20467 L_25116016: 20468 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 20469 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 20470 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 20471 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 20472 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 20473 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 20474 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 20475 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 20476 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 20477 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 20478 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 20479 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 20480 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20482 _flag_k = FK_CMP; 20483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 20484 L_2511603B: 20485 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 20486 L_2511603E: 20487 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 20488 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 20489 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 20490 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 20491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20493 _flag_k = FK_CMP; 20494 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 20495 L_2511604C: 20496 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 20497 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 20498 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 20499 L_25116057: 20500 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 20501 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 20502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20504 _flag_k = FK_CMP; 20505 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 20506 L_2511605F: 20507 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 20508 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 20509 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 20510 L_2511606A: 20511 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 20512 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 20513 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 20514 L_25116074: 20515 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 20516 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20518 _flag_k = FK_NARROW(FK_CMP, 24); 20519 RECOMP_BACKEDGE(); 20520 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 20521 L_2511607E: 20522 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 20523 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20525 _flag_k = FK_CMP; 20526 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 20527 L_25116082: 20528 eax = ecx; /* 0x25116082: mov eax, ecx */ 20529 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 20530 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 20531 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 20532 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 20533 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 20534 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20536 _flag_k = FK_CMP; 20537 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 20538 L_25116093: 20539 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 20540 L_25116096: 20541 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 20542 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 20543 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 20544 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 20545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20547 _flag_k = FK_CMP; 20548 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 20549 L_251160A4: 20550 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 20551 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 20552 L_251160A9: 20553 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 20554 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 20555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20557 _flag_k = FK_CMP; 20558 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 20559 L_251160B1: 20560 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 20561 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 20562 L_251160B6: 20563 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 20564 L_251160B8: 20565 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 20566 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 20567 L_251160BE: 20568 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 20569 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 20570 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 20571 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 20572 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 20573 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 20574 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 20575 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 20576 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 20577 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 20578 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 20579 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 20580 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20582 _flag_k = FK_CMP; 20583 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 20584 L_251160E3: 20585 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 20586 L_251160E6: 20587 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 20588 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 20589 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 20590 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 20591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20593 _flag_k = FK_CMP; 20594 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 20595 L_251160F4: 20596 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 20597 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 20598 L_251160F9: 20599 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 20600 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 20601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20603 _flag_k = FK_CMP; 20604 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 20605 L_25116100: 20606 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 20607 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 20608 L_25116104: 20609 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 20610 L_25116107: 20611 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 20612 L_25116109: 20613 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 20614 L_2511610C: 20615 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 20616 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 20617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20619 _flag_k = FK_CMP; 20620 RECOMP_BACKEDGE(); 20621 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 20622 L_25116118: 20623 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 20624 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 20625 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 20626 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 20627 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 20628 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 20629 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 20630 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 20631 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 20632 esp = ebp; /* 0x2511612C: mov esp, ebp */ 20633 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 20634 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 20635 RECOMP_REGS_OUT(); 20636 } 20637 20638 void sub_25116016(void) { 20639 int _fpu_cmp = 0; 20640 uint32_t _cf = 0; 20641 int _df = 1; 20642 uint32_t _flag_k = FK_NONE; 20643 uint32_t _flag_a = 0, _flag_b = 0; 20644 uint32_t _itail_tgt = 0; 20645 RECOMP_REGS_LOCALS 20646 RECOMP_ENTER(0x25116016u); 20647 20648 goto L_25116016; 20649 L_25115F98: 20650 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 20651 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 20652 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 20653 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20654 _cf = 0; 20655 _flag_k = FK_NARROW(FK_TEST, 24); 20656 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 20657 L_25115FA6: 20658 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 20659 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 20660 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 20661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20663 _flag_k = FK_CMP; 20664 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 20665 L_25115FB3: 20666 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 20667 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 20668 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20670 _flag_k = FK_NARROW(FK_CMP, 24); 20671 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 20672 L_25115FBC: 20673 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 20674 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 20675 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 20676 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 20677 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 20678 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 20679 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 20680 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 20681 L_25115FD7: 20682 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 20683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20685 _flag_k = FK_CMP; 20686 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 20687 L_25115FDC: 20688 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 20689 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 20690 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 20691 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 20692 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 20693 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 20694 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20696 _flag_k = FK_CMP; 20697 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 20698 L_25115FED: 20699 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 20700 L_25115FF0: 20701 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 20702 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 20703 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 20704 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 20705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20707 _flag_k = FK_CMP; 20708 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 20709 L_25115FFE: 20710 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 20711 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 20712 L_25116003: 20713 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 20714 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 20715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20717 _flag_k = FK_CMP; 20718 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 20719 L_2511600A: 20720 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 20721 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 20722 L_2511600E: 20723 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 20724 L_25116011: 20725 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 20726 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 20727 L_25116016: 20728 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 20729 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 20730 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 20731 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 20732 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 20733 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 20734 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 20735 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 20736 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 20737 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 20738 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 20739 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 20740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20742 _flag_k = FK_CMP; 20743 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 20744 L_2511603B: 20745 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 20746 L_2511603E: 20747 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 20748 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 20749 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 20750 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 20751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20753 _flag_k = FK_CMP; 20754 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 20755 L_2511604C: 20756 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 20757 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 20758 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 20759 L_25116057: 20760 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 20761 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 20762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20764 _flag_k = FK_CMP; 20765 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 20766 L_2511605F: 20767 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 20768 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 20769 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 20770 L_2511606A: 20771 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 20772 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 20773 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 20774 L_25116074: 20775 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 20776 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20778 _flag_k = FK_NARROW(FK_CMP, 24); 20779 RECOMP_BACKEDGE(); 20780 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 20781 L_2511607E: 20782 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 20783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20785 _flag_k = FK_CMP; 20786 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 20787 L_25116082: 20788 eax = ecx; /* 0x25116082: mov eax, ecx */ 20789 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 20790 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 20791 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 20792 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 20793 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 20794 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20796 _flag_k = FK_CMP; 20797 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 20798 L_25116093: 20799 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 20800 L_25116096: 20801 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 20802 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 20803 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 20804 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 20805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20807 _flag_k = FK_CMP; 20808 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 20809 L_251160A4: 20810 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 20811 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 20812 L_251160A9: 20813 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 20814 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 20815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20817 _flag_k = FK_CMP; 20818 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 20819 L_251160B1: 20820 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 20821 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 20822 L_251160B6: 20823 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 20824 L_251160B8: 20825 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 20826 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 20827 L_251160BE: 20828 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 20829 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 20830 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 20831 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 20832 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 20833 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 20834 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 20835 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 20836 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 20837 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 20838 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 20839 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 20840 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20842 _flag_k = FK_CMP; 20843 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 20844 L_251160E3: 20845 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 20846 L_251160E6: 20847 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 20848 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 20849 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 20850 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 20851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20853 _flag_k = FK_CMP; 20854 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 20855 L_251160F4: 20856 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 20857 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 20858 L_251160F9: 20859 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 20860 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 20861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20863 _flag_k = FK_CMP; 20864 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 20865 L_25116100: 20866 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 20867 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 20868 L_25116104: 20869 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 20870 L_25116107: 20871 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 20872 L_25116109: 20873 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 20874 L_2511610C: 20875 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 20876 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 20877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20879 _flag_k = FK_CMP; 20880 RECOMP_BACKEDGE(); 20881 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 20882 L_25116118: 20883 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 20884 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 20885 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 20886 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 20887 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 20888 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 20889 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 20890 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 20891 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 20892 esp = ebp; /* 0x2511612C: mov esp, ebp */ 20893 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 20894 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 20895 RECOMP_REGS_OUT(); 20896 } 20897 20898 void sub_25116074(void) { 20899 int _fpu_cmp = 0; 20900 uint32_t _cf = 0; 20901 int _df = 1; 20902 uint32_t _flag_k = FK_NONE; 20903 uint32_t _flag_a = 0, _flag_b = 0; 20904 uint32_t _itail_tgt = 0; 20905 RECOMP_REGS_LOCALS 20906 RECOMP_ENTER(0x25116074u); 20907 20908 goto L_25116074; 20909 L_25115F98: 20910 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 20911 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 20912 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 20913 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20914 _cf = 0; 20915 _flag_k = FK_NARROW(FK_TEST, 24); 20916 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 20917 L_25115FA6: 20918 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 20919 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 20920 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 20921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20923 _flag_k = FK_CMP; 20924 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 20925 L_25115FB3: 20926 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 20927 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 20928 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 20929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20930 _flag_k = FK_NARROW(FK_CMP, 24); 20931 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 20932 L_25115FBC: 20933 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 20934 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 20935 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 20936 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 20937 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 20938 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 20939 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 20940 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 20941 L_25115FD7: 20942 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 20943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20945 _flag_k = FK_CMP; 20946 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 20947 L_25115FDC: 20948 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 20949 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 20950 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 20951 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 20952 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 20953 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 20954 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20956 _flag_k = FK_CMP; 20957 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 20958 L_25115FED: 20959 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 20960 L_25115FF0: 20961 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 20962 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 20963 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 20964 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 20965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20967 _flag_k = FK_CMP; 20968 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 20969 L_25115FFE: 20970 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 20971 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 20972 L_25116003: 20973 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 20974 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 20975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20977 _flag_k = FK_CMP; 20978 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 20979 L_2511600A: 20980 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 20981 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 20982 L_2511600E: 20983 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 20984 L_25116011: 20985 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 20986 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 20987 L_25116016: 20988 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 20989 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 20990 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 20991 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 20992 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 20993 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 20994 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 20995 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 20996 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 20997 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 20998 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 20999 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 21000 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21002 _flag_k = FK_CMP; 21003 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 21004 L_2511603B: 21005 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 21006 L_2511603E: 21007 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 21008 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 21009 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 21010 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 21011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21013 _flag_k = FK_CMP; 21014 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 21015 L_2511604C: 21016 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 21017 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 21018 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 21019 L_25116057: 21020 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 21021 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 21022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21024 _flag_k = FK_CMP; 21025 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 21026 L_2511605F: 21027 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 21028 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 21029 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 21030 L_2511606A: 21031 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 21032 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 21033 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 21034 L_25116074: 21035 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 21036 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21038 _flag_k = FK_NARROW(FK_CMP, 24); 21039 RECOMP_BACKEDGE(); 21040 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 21041 L_2511607E: 21042 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 21043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21045 _flag_k = FK_CMP; 21046 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 21047 L_25116082: 21048 eax = ecx; /* 0x25116082: mov eax, ecx */ 21049 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 21050 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 21051 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 21052 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 21053 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 21054 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21056 _flag_k = FK_CMP; 21057 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 21058 L_25116093: 21059 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 21060 L_25116096: 21061 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 21062 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 21063 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 21064 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 21065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21067 _flag_k = FK_CMP; 21068 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 21069 L_251160A4: 21070 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 21071 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 21072 L_251160A9: 21073 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 21074 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 21075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21077 _flag_k = FK_CMP; 21078 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 21079 L_251160B1: 21080 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 21081 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 21082 L_251160B6: 21083 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 21084 L_251160B8: 21085 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 21086 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 21087 L_251160BE: 21088 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 21089 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 21090 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 21091 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 21092 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 21093 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 21094 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 21095 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 21096 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 21097 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 21098 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 21099 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 21100 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21102 _flag_k = FK_CMP; 21103 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 21104 L_251160E3: 21105 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 21106 L_251160E6: 21107 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 21108 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 21109 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 21110 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 21111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21113 _flag_k = FK_CMP; 21114 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 21115 L_251160F4: 21116 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 21117 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 21118 L_251160F9: 21119 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 21120 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 21121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21123 _flag_k = FK_CMP; 21124 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 21125 L_25116100: 21126 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 21127 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 21128 L_25116104: 21129 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 21130 L_25116107: 21131 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 21132 L_25116109: 21133 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 21134 L_2511610C: 21135 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 21136 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 21137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21139 _flag_k = FK_CMP; 21140 RECOMP_BACKEDGE(); 21141 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 21142 L_25116118: 21143 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 21144 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 21145 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 21146 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 21147 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 21148 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 21149 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 21150 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 21151 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 21152 esp = ebp; /* 0x2511612C: mov esp, ebp */ 21153 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 21154 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 21155 RECOMP_REGS_OUT(); 21156 } 21157 21158 void sub_251160B8(void) { 21159 int _fpu_cmp = 0; 21160 uint32_t _cf = 0; 21161 int _df = 1; 21162 uint32_t _flag_k = FK_NONE; 21163 uint32_t _flag_a = 0, _flag_b = 0; 21164 uint32_t _itail_tgt = 0; 21165 RECOMP_REGS_LOCALS 21166 RECOMP_ENTER(0x251160B8u); 21167 21168 goto L_251160B8; 21169 L_25115F98: 21170 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 21171 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 21172 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 21173 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21174 _cf = 0; 21175 _flag_k = FK_NARROW(FK_TEST, 24); 21176 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 21177 L_25115FA6: 21178 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 21179 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 21180 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 21181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21183 _flag_k = FK_CMP; 21184 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 21185 L_25115FB3: 21186 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 21187 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 21188 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21190 _flag_k = FK_NARROW(FK_CMP, 24); 21191 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 21192 L_25115FBC: 21193 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 21194 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 21195 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 21196 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 21197 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 21198 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 21199 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 21200 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 21201 L_25115FD7: 21202 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 21203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21205 _flag_k = FK_CMP; 21206 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 21207 L_25115FDC: 21208 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 21209 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 21210 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 21211 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 21212 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 21213 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 21214 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21216 _flag_k = FK_CMP; 21217 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 21218 L_25115FED: 21219 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 21220 L_25115FF0: 21221 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 21222 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 21223 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 21224 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 21225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21227 _flag_k = FK_CMP; 21228 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 21229 L_25115FFE: 21230 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 21231 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 21232 L_25116003: 21233 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 21234 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 21235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21237 _flag_k = FK_CMP; 21238 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 21239 L_2511600A: 21240 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 21241 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 21242 L_2511600E: 21243 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 21244 L_25116011: 21245 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 21246 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 21247 L_25116016: 21248 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 21249 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 21250 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 21251 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 21252 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 21253 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 21254 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 21255 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 21256 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 21257 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 21258 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 21259 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 21260 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21262 _flag_k = FK_CMP; 21263 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 21264 L_2511603B: 21265 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 21266 L_2511603E: 21267 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 21268 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 21269 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 21270 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 21271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21273 _flag_k = FK_CMP; 21274 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 21275 L_2511604C: 21276 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 21277 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 21278 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 21279 L_25116057: 21280 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 21281 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 21282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21284 _flag_k = FK_CMP; 21285 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 21286 L_2511605F: 21287 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 21288 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 21289 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 21290 L_2511606A: 21291 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 21292 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 21293 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 21294 L_25116074: 21295 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 21296 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21298 _flag_k = FK_NARROW(FK_CMP, 24); 21299 RECOMP_BACKEDGE(); 21300 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 21301 L_2511607E: 21302 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 21303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21305 _flag_k = FK_CMP; 21306 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 21307 L_25116082: 21308 eax = ecx; /* 0x25116082: mov eax, ecx */ 21309 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 21310 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 21311 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 21312 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 21313 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 21314 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21316 _flag_k = FK_CMP; 21317 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 21318 L_25116093: 21319 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 21320 L_25116096: 21321 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 21322 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 21323 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 21324 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 21325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21327 _flag_k = FK_CMP; 21328 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 21329 L_251160A4: 21330 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 21331 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 21332 L_251160A9: 21333 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 21334 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 21335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21337 _flag_k = FK_CMP; 21338 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 21339 L_251160B1: 21340 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 21341 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 21342 L_251160B6: 21343 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 21344 L_251160B8: 21345 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 21346 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 21347 L_251160BE: 21348 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 21349 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 21350 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 21351 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 21352 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 21353 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 21354 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 21355 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 21356 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 21357 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 21358 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 21359 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 21360 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21362 _flag_k = FK_CMP; 21363 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 21364 L_251160E3: 21365 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 21366 L_251160E6: 21367 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 21368 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 21369 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 21370 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 21371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21373 _flag_k = FK_CMP; 21374 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 21375 L_251160F4: 21376 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 21377 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 21378 L_251160F9: 21379 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 21380 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 21381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21383 _flag_k = FK_CMP; 21384 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 21385 L_25116100: 21386 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 21387 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 21388 L_25116104: 21389 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 21390 L_25116107: 21391 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 21392 L_25116109: 21393 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 21394 L_2511610C: 21395 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 21396 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 21397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21399 _flag_k = FK_CMP; 21400 RECOMP_BACKEDGE(); 21401 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 21402 L_25116118: 21403 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 21404 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 21405 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 21406 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 21407 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 21408 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 21409 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 21410 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 21411 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 21412 esp = ebp; /* 0x2511612C: mov esp, ebp */ 21413 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 21414 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 21415 RECOMP_REGS_OUT(); 21416 } 21417 21418 void sub_251160BE(void) { 21419 int _fpu_cmp = 0; 21420 uint32_t _cf = 0; 21421 int _df = 1; 21422 uint32_t _flag_k = FK_NONE; 21423 uint32_t _flag_a = 0, _flag_b = 0; 21424 uint32_t _itail_tgt = 0; 21425 RECOMP_REGS_LOCALS 21426 RECOMP_ENTER(0x251160BEu); 21427 21428 goto L_251160BE; 21429 L_25115F98: 21430 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 21431 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 21432 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 21433 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21434 _cf = 0; 21435 _flag_k = FK_NARROW(FK_TEST, 24); 21436 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 21437 L_25115FA6: 21438 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 21439 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 21440 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 21441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21443 _flag_k = FK_CMP; 21444 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 21445 L_25115FB3: 21446 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 21447 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 21448 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21450 _flag_k = FK_NARROW(FK_CMP, 24); 21451 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 21452 L_25115FBC: 21453 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 21454 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 21455 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 21456 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 21457 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 21458 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 21459 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 21460 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 21461 L_25115FD7: 21462 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 21463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21465 _flag_k = FK_CMP; 21466 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 21467 L_25115FDC: 21468 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 21469 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 21470 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 21471 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 21472 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 21473 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 21474 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21476 _flag_k = FK_CMP; 21477 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 21478 L_25115FED: 21479 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 21480 L_25115FF0: 21481 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 21482 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 21483 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 21484 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 21485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21487 _flag_k = FK_CMP; 21488 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 21489 L_25115FFE: 21490 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 21491 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 21492 L_25116003: 21493 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 21494 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 21495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21497 _flag_k = FK_CMP; 21498 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 21499 L_2511600A: 21500 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 21501 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 21502 L_2511600E: 21503 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 21504 L_25116011: 21505 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 21506 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 21507 L_25116016: 21508 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 21509 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 21510 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 21511 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 21512 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 21513 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 21514 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 21515 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 21516 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 21517 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 21518 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 21519 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 21520 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21522 _flag_k = FK_CMP; 21523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 21524 L_2511603B: 21525 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 21526 L_2511603E: 21527 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 21528 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 21529 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 21530 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 21531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21533 _flag_k = FK_CMP; 21534 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 21535 L_2511604C: 21536 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 21537 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 21538 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 21539 L_25116057: 21540 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 21541 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 21542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21544 _flag_k = FK_CMP; 21545 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 21546 L_2511605F: 21547 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 21548 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 21549 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 21550 L_2511606A: 21551 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 21552 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 21553 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 21554 L_25116074: 21555 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 21556 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21558 _flag_k = FK_NARROW(FK_CMP, 24); 21559 RECOMP_BACKEDGE(); 21560 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 21561 L_2511607E: 21562 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 21563 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21565 _flag_k = FK_CMP; 21566 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 21567 L_25116082: 21568 eax = ecx; /* 0x25116082: mov eax, ecx */ 21569 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 21570 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 21571 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 21572 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 21573 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 21574 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21576 _flag_k = FK_CMP; 21577 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 21578 L_25116093: 21579 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 21580 L_25116096: 21581 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 21582 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 21583 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 21584 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 21585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21587 _flag_k = FK_CMP; 21588 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 21589 L_251160A4: 21590 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 21591 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 21592 L_251160A9: 21593 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 21594 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 21595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21597 _flag_k = FK_CMP; 21598 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 21599 L_251160B1: 21600 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 21601 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 21602 L_251160B6: 21603 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 21604 L_251160B8: 21605 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 21606 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 21607 L_251160BE: 21608 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 21609 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 21610 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 21611 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 21612 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 21613 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 21614 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 21615 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 21616 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 21617 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 21618 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 21619 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 21620 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21622 _flag_k = FK_CMP; 21623 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 21624 L_251160E3: 21625 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 21626 L_251160E6: 21627 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 21628 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 21629 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 21630 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 21631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21633 _flag_k = FK_CMP; 21634 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 21635 L_251160F4: 21636 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 21637 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 21638 L_251160F9: 21639 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 21640 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 21641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21643 _flag_k = FK_CMP; 21644 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 21645 L_25116100: 21646 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 21647 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 21648 L_25116104: 21649 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 21650 L_25116107: 21651 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 21652 L_25116109: 21653 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 21654 L_2511610C: 21655 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 21656 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 21657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21659 _flag_k = FK_CMP; 21660 RECOMP_BACKEDGE(); 21661 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 21662 L_25116118: 21663 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 21664 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 21665 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 21666 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 21667 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 21668 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 21669 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 21670 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 21671 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 21672 esp = ebp; /* 0x2511612C: mov esp, ebp */ 21673 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 21674 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 21675 RECOMP_REGS_OUT(); 21676 } 21677 21678 void sub_25116107(void) { 21679 int _fpu_cmp = 0; 21680 uint32_t _cf = 0; 21681 int _df = 1; 21682 uint32_t _flag_k = FK_NONE; 21683 uint32_t _flag_a = 0, _flag_b = 0; 21684 uint32_t _itail_tgt = 0; 21685 RECOMP_REGS_LOCALS 21686 RECOMP_ENTER(0x25116107u); 21687 21688 goto L_25116107; 21689 L_25115F98: 21690 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 21691 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 21692 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 21693 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21694 _cf = 0; 21695 _flag_k = FK_NARROW(FK_TEST, 24); 21696 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 21697 L_25115FA6: 21698 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 21699 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 21700 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 21701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21703 _flag_k = FK_CMP; 21704 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 21705 L_25115FB3: 21706 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 21707 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 21708 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21710 _flag_k = FK_NARROW(FK_CMP, 24); 21711 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 21712 L_25115FBC: 21713 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 21714 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 21715 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 21716 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 21717 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 21718 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 21719 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 21720 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 21721 L_25115FD7: 21722 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 21723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21725 _flag_k = FK_CMP; 21726 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 21727 L_25115FDC: 21728 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 21729 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 21730 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 21731 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 21732 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 21733 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 21734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21736 _flag_k = FK_CMP; 21737 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 21738 L_25115FED: 21739 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 21740 L_25115FF0: 21741 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 21742 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 21743 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 21744 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 21745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21747 _flag_k = FK_CMP; 21748 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 21749 L_25115FFE: 21750 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 21751 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 21752 L_25116003: 21753 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 21754 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 21755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21757 _flag_k = FK_CMP; 21758 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 21759 L_2511600A: 21760 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 21761 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 21762 L_2511600E: 21763 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 21764 L_25116011: 21765 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 21766 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 21767 L_25116016: 21768 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 21769 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 21770 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 21771 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 21772 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 21773 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 21774 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 21775 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 21776 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 21777 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 21778 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 21779 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 21780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21782 _flag_k = FK_CMP; 21783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 21784 L_2511603B: 21785 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 21786 L_2511603E: 21787 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 21788 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 21789 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 21790 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 21791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21793 _flag_k = FK_CMP; 21794 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 21795 L_2511604C: 21796 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 21797 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 21798 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 21799 L_25116057: 21800 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 21801 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 21802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21804 _flag_k = FK_CMP; 21805 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 21806 L_2511605F: 21807 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 21808 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 21809 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 21810 L_2511606A: 21811 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 21812 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 21813 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 21814 L_25116074: 21815 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 21816 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21818 _flag_k = FK_NARROW(FK_CMP, 24); 21819 RECOMP_BACKEDGE(); 21820 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 21821 L_2511607E: 21822 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 21823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21825 _flag_k = FK_CMP; 21826 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 21827 L_25116082: 21828 eax = ecx; /* 0x25116082: mov eax, ecx */ 21829 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 21830 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 21831 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 21832 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 21833 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 21834 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21836 _flag_k = FK_CMP; 21837 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 21838 L_25116093: 21839 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 21840 L_25116096: 21841 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 21842 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 21843 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 21844 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 21845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21847 _flag_k = FK_CMP; 21848 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 21849 L_251160A4: 21850 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 21851 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 21852 L_251160A9: 21853 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 21854 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 21855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21857 _flag_k = FK_CMP; 21858 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 21859 L_251160B1: 21860 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 21861 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 21862 L_251160B6: 21863 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 21864 L_251160B8: 21865 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 21866 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 21867 L_251160BE: 21868 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 21869 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 21870 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 21871 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 21872 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 21873 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 21874 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 21875 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 21876 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 21877 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 21878 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 21879 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 21880 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21882 _flag_k = FK_CMP; 21883 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 21884 L_251160E3: 21885 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 21886 L_251160E6: 21887 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 21888 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 21889 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 21890 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 21891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21893 _flag_k = FK_CMP; 21894 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 21895 L_251160F4: 21896 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 21897 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 21898 L_251160F9: 21899 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 21900 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 21901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21903 _flag_k = FK_CMP; 21904 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 21905 L_25116100: 21906 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 21907 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 21908 L_25116104: 21909 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 21910 L_25116107: 21911 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 21912 L_25116109: 21913 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 21914 L_2511610C: 21915 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 21916 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 21917 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21919 _flag_k = FK_CMP; 21920 RECOMP_BACKEDGE(); 21921 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 21922 L_25116118: 21923 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 21924 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 21925 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 21926 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 21927 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 21928 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 21929 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 21930 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 21931 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 21932 esp = ebp; /* 0x2511612C: mov esp, ebp */ 21933 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 21934 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 21935 RECOMP_REGS_OUT(); 21936 } 21937 21938 void sub_25116109(void) { 21939 int _fpu_cmp = 0; 21940 uint32_t _cf = 0; 21941 int _df = 1; 21942 uint32_t _flag_k = FK_NONE; 21943 uint32_t _flag_a = 0, _flag_b = 0; 21944 uint32_t _itail_tgt = 0; 21945 RECOMP_REGS_LOCALS 21946 RECOMP_ENTER(0x25116109u); 21947 21948 goto L_25116109; 21949 L_25115F98: 21950 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 21951 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 21952 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 21953 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21954 _cf = 0; 21955 _flag_k = FK_NARROW(FK_TEST, 24); 21956 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 21957 L_25115FA6: 21958 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 21959 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 21960 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 21961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21963 _flag_k = FK_CMP; 21964 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 21965 L_25115FB3: 21966 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 21967 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 21968 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 21969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21970 _flag_k = FK_NARROW(FK_CMP, 24); 21971 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 21972 L_25115FBC: 21973 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 21974 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 21975 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 21976 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 21977 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 21978 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 21979 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 21980 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 21981 L_25115FD7: 21982 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 21983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21985 _flag_k = FK_CMP; 21986 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 21987 L_25115FDC: 21988 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 21989 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 21990 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 21991 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 21992 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 21993 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 21994 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21996 _flag_k = FK_CMP; 21997 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 21998 L_25115FED: 21999 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 22000 L_25115FF0: 22001 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 22002 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 22003 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 22004 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 22005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22007 _flag_k = FK_CMP; 22008 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 22009 L_25115FFE: 22010 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 22011 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 22012 L_25116003: 22013 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 22014 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 22015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22017 _flag_k = FK_CMP; 22018 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 22019 L_2511600A: 22020 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 22021 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 22022 L_2511600E: 22023 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 22024 L_25116011: 22025 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 22026 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 22027 L_25116016: 22028 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 22029 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 22030 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 22031 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 22032 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 22033 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 22034 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 22035 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 22036 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 22037 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 22038 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 22039 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 22040 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22042 _flag_k = FK_CMP; 22043 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 22044 L_2511603B: 22045 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 22046 L_2511603E: 22047 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 22048 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 22049 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 22050 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 22051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22053 _flag_k = FK_CMP; 22054 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 22055 L_2511604C: 22056 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 22057 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 22058 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 22059 L_25116057: 22060 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 22061 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 22062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22064 _flag_k = FK_CMP; 22065 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 22066 L_2511605F: 22067 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 22068 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 22069 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 22070 L_2511606A: 22071 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 22072 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 22073 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 22074 L_25116074: 22075 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 22076 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 22077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22078 _flag_k = FK_NARROW(FK_CMP, 24); 22079 RECOMP_BACKEDGE(); 22080 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 22081 L_2511607E: 22082 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 22083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22085 _flag_k = FK_CMP; 22086 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 22087 L_25116082: 22088 eax = ecx; /* 0x25116082: mov eax, ecx */ 22089 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 22090 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 22091 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 22092 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 22093 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 22094 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22096 _flag_k = FK_CMP; 22097 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 22098 L_25116093: 22099 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 22100 L_25116096: 22101 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 22102 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 22103 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 22104 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 22105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22107 _flag_k = FK_CMP; 22108 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 22109 L_251160A4: 22110 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 22111 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 22112 L_251160A9: 22113 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 22114 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 22115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22117 _flag_k = FK_CMP; 22118 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 22119 L_251160B1: 22120 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 22121 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 22122 L_251160B6: 22123 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 22124 L_251160B8: 22125 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 22126 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 22127 L_251160BE: 22128 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 22129 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 22130 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 22131 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 22132 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 22133 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 22134 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 22135 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 22136 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 22137 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 22138 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 22139 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 22140 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22142 _flag_k = FK_CMP; 22143 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 22144 L_251160E3: 22145 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 22146 L_251160E6: 22147 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 22148 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 22149 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 22150 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 22151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22153 _flag_k = FK_CMP; 22154 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 22155 L_251160F4: 22156 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 22157 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 22158 L_251160F9: 22159 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 22160 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 22161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22163 _flag_k = FK_CMP; 22164 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 22165 L_25116100: 22166 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 22167 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 22168 L_25116104: 22169 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 22170 L_25116107: 22171 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 22172 L_25116109: 22173 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 22174 L_2511610C: 22175 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 22176 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 22177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22179 _flag_k = FK_CMP; 22180 RECOMP_BACKEDGE(); 22181 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 22182 L_25116118: 22183 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 22184 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 22185 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 22186 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 22187 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 22188 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 22189 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 22190 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 22191 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 22192 esp = ebp; /* 0x2511612C: mov esp, ebp */ 22193 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 22194 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 22195 RECOMP_REGS_OUT(); 22196 } 22197 22198 void sub_2511610C(void) { 22199 int _fpu_cmp = 0; 22200 uint32_t _cf = 0; 22201 int _df = 1; 22202 uint32_t _flag_k = FK_NONE; 22203 uint32_t _flag_a = 0, _flag_b = 0; 22204 uint32_t _itail_tgt = 0; 22205 RECOMP_REGS_LOCALS 22206 RECOMP_ENTER(0x2511610Cu); 22207 22208 goto L_2511610C; 22209 L_25115F98: 22210 ecx = MEM32(eax + 0x4); /* 0x25115F98: mov ecx, dword ptr [eax + 4] */ 22211 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x25115F9B: mov dl, byte ptr [ecx + 0x20] */ 22212 /* test LO8(edx), LO8(edx) */ /* 0x25115F9E: test dl, dl */ 22213 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22214 _cf = 0; 22215 _flag_k = FK_NARROW(FK_TEST, 24); 22216 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116118; /* 0x25115FA0: jne 0x25116118 */ 22217 L_25115FA6: 22218 edi = MEM32(ecx + 0x4); /* 0x25115FA6: mov edi, dword ptr [ecx + 4] */ 22219 edx = MEM32(edi); /* 0x25115FA9: mov edx, dword ptr [edi] */ 22220 /* cmp ecx, edx */ /* 0x25115FAB: cmp ecx, edx */ 22221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22223 _flag_k = FK_CMP; 22224 if (CMP_NE(_flag_a, _flag_b)) goto L_25116074; /* 0x25115FAD: jne 0x25116074 */ 22225 L_25115FB3: 22226 edx = MEM32(edi + 0x8); /* 0x25115FB3: mov edx, dword ptr [edi + 8] */ 22227 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25115FB6: cmp byte ptr [edx + 0x20], 0 */ 22228 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 22229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22230 _flag_k = FK_NARROW(FK_CMP, 24); 22231 if (CMP_NE(_flag_a, _flag_b)) goto L_25115FD7; /* 0x25115FBA: jne 0x25115fd7 */ 22232 L_25115FBC: 22233 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBC: mov byte ptr [ecx + 0x20], bl */ 22234 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25115FBF: mov byte ptr [edx + 0x20], bl */ 22235 ecx = MEM32(eax + 0x4); /* 0x25115FC2: mov ecx, dword ptr [eax + 4] */ 22236 edx = MEM32(ecx + 0x4); /* 0x25115FC5: mov edx, dword ptr [ecx + 4] */ 22237 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x25115FC8: mov byte ptr [edx + 0x20], 0 */ 22238 eax = MEM32(eax + 0x4); /* 0x25115FCC: mov eax, dword ptr [eax + 4] */ 22239 eax = MEM32(eax + 0x4); /* 0x25115FCF: mov eax, dword ptr [eax + 4] */ 22240 goto L_2511610C; /* 0x25115FD2: jmp 0x2511610c */ 22241 L_25115FD7: 22242 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25115FD7: cmp eax, dword ptr [ecx + 8] */ 22243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22245 _flag_k = FK_CMP; 22246 if (CMP_NE(_flag_a, _flag_b)) goto L_25116016; /* 0x25115FDA: jne 0x25116016 */ 22247 L_25115FDC: 22248 eax = ecx; /* 0x25115FDC: mov eax, ecx */ 22249 ecx = MEM32(eax + 0x8); /* 0x25115FDE: mov ecx, dword ptr [eax + 8] */ 22250 edx = MEM32(ecx); /* 0x25115FE1: mov edx, dword ptr [ecx] */ 22251 MEM32(eax + 0x8) = edx; /* 0x25115FE3: mov dword ptr [eax + 8], edx */ 22252 edx = MEM32(ecx); /* 0x25115FE6: mov edx, dword ptr [ecx] */ 22253 /* cmp edx, MEM32(esi + 0x8) */ /* 0x25115FE8: cmp edx, dword ptr [esi + 8] */ 22254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22256 _flag_k = FK_CMP; 22257 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FF0; /* 0x25115FEB: je 0x25115ff0 */ 22258 L_25115FED: 22259 MEM32(edx + 0x4) = eax; /* 0x25115FED: mov dword ptr [edx + 4], eax */ 22260 L_25115FF0: 22261 edx = MEM32(eax + 0x4); /* 0x25115FF0: mov edx, dword ptr [eax + 4] */ 22262 MEM32(ecx + 0x4) = edx; /* 0x25115FF3: mov dword ptr [ecx + 4], edx */ 22263 edx = MEM32(esi + 0x4); /* 0x25115FF6: mov edx, dword ptr [esi + 4] */ 22264 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25115FF9: cmp eax, dword ptr [edx + 4] */ 22265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22267 _flag_k = FK_CMP; 22268 if (CMP_NE(_flag_a, _flag_b)) goto L_25116003; /* 0x25115FFC: jne 0x25116003 */ 22269 L_25115FFE: 22270 MEM32(edx + 0x4) = ecx; /* 0x25115FFE: mov dword ptr [edx + 4], ecx */ 22271 goto L_25116011; /* 0x25116001: jmp 0x25116011 */ 22272 L_25116003: 22273 edx = MEM32(eax + 0x4); /* 0x25116003: mov edx, dword ptr [eax + 4] */ 22274 /* cmp eax, MEM32(edx) */ /* 0x25116006: cmp eax, dword ptr [edx] */ 22275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22277 _flag_k = FK_CMP; 22278 if (CMP_NE(_flag_a, _flag_b)) goto L_2511600E; /* 0x25116008: jne 0x2511600e */ 22279 L_2511600A: 22280 MEM32(edx) = ecx; /* 0x2511600A: mov dword ptr [edx], ecx */ 22281 goto L_25116011; /* 0x2511600C: jmp 0x25116011 */ 22282 L_2511600E: 22283 MEM32(edx + 0x8) = ecx; /* 0x2511600E: mov dword ptr [edx + 8], ecx */ 22284 L_25116011: 22285 MEM32(ecx) = eax; /* 0x25116011: mov dword ptr [ecx], eax */ 22286 MEM32(eax + 0x4) = ecx; /* 0x25116013: mov dword ptr [eax + 4], ecx */ 22287 L_25116016: 22288 ecx = MEM32(eax + 0x4); /* 0x25116016: mov ecx, dword ptr [eax + 4] */ 22289 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116019: mov byte ptr [ecx + 0x20], bl */ 22290 edx = MEM32(eax + 0x4); /* 0x2511601C: mov edx, dword ptr [eax + 4] */ 22291 ecx = MEM32(edx + 0x4); /* 0x2511601F: mov ecx, dword ptr [edx + 4] */ 22292 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x25116022: mov byte ptr [ecx + 0x20], 0 */ 22293 edx = MEM32(eax + 0x4); /* 0x25116026: mov edx, dword ptr [eax + 4] */ 22294 ecx = MEM32(edx + 0x4); /* 0x25116029: mov ecx, dword ptr [edx + 4] */ 22295 edx = MEM32(ecx); /* 0x2511602C: mov edx, dword ptr [ecx] */ 22296 edi = MEM32(edx + 0x8); /* 0x2511602E: mov edi, dword ptr [edx + 8] */ 22297 MEM32(ecx) = edi; /* 0x25116031: mov dword ptr [ecx], edi */ 22298 edi = MEM32(edx + 0x8); /* 0x25116033: mov edi, dword ptr [edx + 8] */ 22299 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116036: cmp edi, dword ptr [esi + 8] */ 22300 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22302 _flag_k = FK_CMP; 22303 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511603E; /* 0x25116039: je 0x2511603e */ 22304 L_2511603B: 22305 MEM32(edi + 0x4) = ecx; /* 0x2511603B: mov dword ptr [edi + 4], ecx */ 22306 L_2511603E: 22307 edi = MEM32(ecx + 0x4); /* 0x2511603E: mov edi, dword ptr [ecx + 4] */ 22308 MEM32(edx + 0x4) = edi; /* 0x25116041: mov dword ptr [edx + 4], edi */ 22309 edi = MEM32(esi + 0x4); /* 0x25116044: mov edi, dword ptr [esi + 4] */ 22310 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116047: cmp ecx, dword ptr [edi + 4] */ 22311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22313 _flag_k = FK_CMP; 22314 if (CMP_NE(_flag_a, _flag_b)) goto L_25116057; /* 0x2511604A: jne 0x25116057 */ 22315 L_2511604C: 22316 MEM32(edi + 0x4) = edx; /* 0x2511604C: mov dword ptr [edi + 4], edx */ 22317 MEM32(edx + 0x8) = ecx; /* 0x2511604F: mov dword ptr [edx + 8], ecx */ 22318 goto L_25116109; /* 0x25116052: jmp 0x25116109 */ 22319 L_25116057: 22320 edi = MEM32(ecx + 0x4); /* 0x25116057: mov edi, dword ptr [ecx + 4] */ 22321 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511605A: cmp ecx, dword ptr [edi + 8] */ 22322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22324 _flag_k = FK_CMP; 22325 if (CMP_NE(_flag_a, _flag_b)) goto L_2511606A; /* 0x2511605D: jne 0x2511606a */ 22326 L_2511605F: 22327 MEM32(edi + 0x8) = edx; /* 0x2511605F: mov dword ptr [edi + 8], edx */ 22328 MEM32(edx + 0x8) = ecx; /* 0x25116062: mov dword ptr [edx + 8], ecx */ 22329 goto L_25116109; /* 0x25116065: jmp 0x25116109 */ 22330 L_2511606A: 22331 MEM32(edi) = edx; /* 0x2511606A: mov dword ptr [edi], edx */ 22332 MEM32(edx + 0x8) = ecx; /* 0x2511606C: mov dword ptr [edx + 8], ecx */ 22333 goto L_25116109; /* 0x2511606F: jmp 0x25116109 */ 22334 L_25116074: 22335 /* cmp MEM8(edx + 0x20), 0 */ /* 0x25116074: cmp byte ptr [edx + 0x20], 0 */ 22336 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 22337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22338 _flag_k = FK_NARROW(FK_CMP, 24); 22339 RECOMP_BACKEDGE(); 22340 if (CMP_EQ(_flag_a, _flag_b)) goto L_25115FBC; /* 0x25116078: je 0x25115fbc */ 22341 L_2511607E: 22342 /* cmp eax, MEM32(ecx) */ /* 0x2511607E: cmp eax, dword ptr [ecx] */ 22343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22345 _flag_k = FK_CMP; 22346 if (CMP_NE(_flag_a, _flag_b)) goto L_251160BE; /* 0x25116080: jne 0x251160be */ 22347 L_25116082: 22348 eax = ecx; /* 0x25116082: mov eax, ecx */ 22349 ecx = MEM32(eax); /* 0x25116084: mov ecx, dword ptr [eax] */ 22350 edx = MEM32(ecx + 0x8); /* 0x25116086: mov edx, dword ptr [ecx + 8] */ 22351 MEM32(eax) = edx; /* 0x25116089: mov dword ptr [eax], edx */ 22352 edx = MEM32(ecx + 0x8); /* 0x2511608B: mov edx, dword ptr [ecx + 8] */ 22353 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511608E: cmp edx, dword ptr [esi + 8] */ 22354 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22356 _flag_k = FK_CMP; 22357 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116096; /* 0x25116091: je 0x25116096 */ 22358 L_25116093: 22359 MEM32(edx + 0x4) = eax; /* 0x25116093: mov dword ptr [edx + 4], eax */ 22360 L_25116096: 22361 edx = MEM32(eax + 0x4); /* 0x25116096: mov edx, dword ptr [eax + 4] */ 22362 MEM32(ecx + 0x4) = edx; /* 0x25116099: mov dword ptr [ecx + 4], edx */ 22363 edx = MEM32(esi + 0x4); /* 0x2511609C: mov edx, dword ptr [esi + 4] */ 22364 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511609F: cmp eax, dword ptr [edx + 4] */ 22365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22367 _flag_k = FK_CMP; 22368 if (CMP_NE(_flag_a, _flag_b)) goto L_251160A9; /* 0x251160A2: jne 0x251160a9 */ 22369 L_251160A4: 22370 MEM32(edx + 0x4) = ecx; /* 0x251160A4: mov dword ptr [edx + 4], ecx */ 22371 goto L_251160B8; /* 0x251160A7: jmp 0x251160b8 */ 22372 L_251160A9: 22373 edx = MEM32(eax + 0x4); /* 0x251160A9: mov edx, dword ptr [eax + 4] */ 22374 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251160AC: cmp eax, dword ptr [edx + 8] */ 22375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22377 _flag_k = FK_CMP; 22378 if (CMP_NE(_flag_a, _flag_b)) goto L_251160B6; /* 0x251160AF: jne 0x251160b6 */ 22379 L_251160B1: 22380 MEM32(edx + 0x8) = ecx; /* 0x251160B1: mov dword ptr [edx + 8], ecx */ 22381 goto L_251160B8; /* 0x251160B4: jmp 0x251160b8 */ 22382 L_251160B6: 22383 MEM32(edx) = ecx; /* 0x251160B6: mov dword ptr [edx], ecx */ 22384 L_251160B8: 22385 MEM32(ecx + 0x8) = eax; /* 0x251160B8: mov dword ptr [ecx + 8], eax */ 22386 MEM32(eax + 0x4) = ecx; /* 0x251160BB: mov dword ptr [eax + 4], ecx */ 22387 L_251160BE: 22388 ecx = MEM32(eax + 0x4); /* 0x251160BE: mov ecx, dword ptr [eax + 4] */ 22389 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x251160C1: mov byte ptr [ecx + 0x20], bl */ 22390 edx = MEM32(eax + 0x4); /* 0x251160C4: mov edx, dword ptr [eax + 4] */ 22391 ecx = MEM32(edx + 0x4); /* 0x251160C7: mov ecx, dword ptr [edx + 4] */ 22392 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x251160CA: mov byte ptr [ecx + 0x20], 0 */ 22393 edx = MEM32(eax + 0x4); /* 0x251160CE: mov edx, dword ptr [eax + 4] */ 22394 ecx = MEM32(edx + 0x4); /* 0x251160D1: mov ecx, dword ptr [edx + 4] */ 22395 edx = MEM32(ecx + 0x8); /* 0x251160D4: mov edx, dword ptr [ecx + 8] */ 22396 edi = MEM32(edx); /* 0x251160D7: mov edi, dword ptr [edx] */ 22397 MEM32(ecx + 0x8) = edi; /* 0x251160D9: mov dword ptr [ecx + 8], edi */ 22398 edi = MEM32(edx); /* 0x251160DC: mov edi, dword ptr [edx] */ 22399 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251160DE: cmp edi, dword ptr [esi + 8] */ 22400 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22402 _flag_k = FK_CMP; 22403 if (CMP_EQ(_flag_a, _flag_b)) goto L_251160E6; /* 0x251160E1: je 0x251160e6 */ 22404 L_251160E3: 22405 MEM32(edi + 0x4) = ecx; /* 0x251160E3: mov dword ptr [edi + 4], ecx */ 22406 L_251160E6: 22407 edi = MEM32(ecx + 0x4); /* 0x251160E6: mov edi, dword ptr [ecx + 4] */ 22408 MEM32(edx + 0x4) = edi; /* 0x251160E9: mov dword ptr [edx + 4], edi */ 22409 edi = MEM32(esi + 0x4); /* 0x251160EC: mov edi, dword ptr [esi + 4] */ 22410 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251160EF: cmp ecx, dword ptr [edi + 4] */ 22411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22413 _flag_k = FK_CMP; 22414 if (CMP_NE(_flag_a, _flag_b)) goto L_251160F9; /* 0x251160F2: jne 0x251160f9 */ 22415 L_251160F4: 22416 MEM32(edi + 0x4) = edx; /* 0x251160F4: mov dword ptr [edi + 4], edx */ 22417 goto L_25116107; /* 0x251160F7: jmp 0x25116107 */ 22418 L_251160F9: 22419 edi = MEM32(ecx + 0x4); /* 0x251160F9: mov edi, dword ptr [ecx + 4] */ 22420 /* cmp ecx, MEM32(edi) */ /* 0x251160FC: cmp ecx, dword ptr [edi] */ 22421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22423 _flag_k = FK_CMP; 22424 if (CMP_NE(_flag_a, _flag_b)) goto L_25116104; /* 0x251160FE: jne 0x25116104 */ 22425 L_25116100: 22426 MEM32(edi) = edx; /* 0x25116100: mov dword ptr [edi], edx */ 22427 goto L_25116107; /* 0x25116102: jmp 0x25116107 */ 22428 L_25116104: 22429 MEM32(edi + 0x8) = edx; /* 0x25116104: mov dword ptr [edi + 8], edx */ 22430 L_25116107: 22431 MEM32(edx) = ecx; /* 0x25116107: mov dword ptr [edx], ecx */ 22432 L_25116109: 22433 MEM32(ecx + 0x4) = edx; /* 0x25116109: mov dword ptr [ecx + 4], edx */ 22434 L_2511610C: 22435 ecx = MEM32(esi + 0x4); /* 0x2511610C: mov ecx, dword ptr [esi + 4] */ 22436 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511610F: cmp eax, dword ptr [ecx + 4] */ 22437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22439 _flag_k = FK_CMP; 22440 RECOMP_BACKEDGE(); 22441 if (CMP_NE(_flag_a, _flag_b)) goto L_25115F98; /* 0x25116112: jne 0x25115f98 */ 22442 L_25116118: 22443 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 22444 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 22445 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 22446 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 22447 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 22448 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 22449 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 22450 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 22451 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 22452 esp = ebp; /* 0x2511612C: mov esp, ebp */ 22453 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 22454 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 22455 RECOMP_REGS_OUT(); 22456 } 22457 22458 void sub_25116118(void) { 22459 int _fpu_cmp = 0; 22460 uint32_t _cf = 0; 22461 int _df = 1; 22462 uint32_t _flag_k = FK_NONE; 22463 uint32_t _flag_a = 0, _flag_b = 0; 22464 uint32_t _itail_tgt = 0; 22465 RECOMP_REGS_LOCALS 22466 RECOMP_ENTER(0x25116118u); 22467 22468 L_25116118: 22469 edx = MEM32(esi + 0x4); /* 0x25116118: mov edx, dword ptr [esi + 4] */ 22470 eax = MEM32(edx + 0x4); /* 0x2511611B: mov eax, dword ptr [edx + 4] */ 22471 ecx = MEM32(ebp + (-0x4)); /* 0x2511611E: mov ecx, dword ptr [ebp - 4] */ 22472 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x25116121: mov byte ptr [eax + 0x20], bl */ 22473 eax = MEM32(ebp + 0x8); /* 0x25116124: mov eax, dword ptr [ebp + 8] */ 22474 edi = POP32_VAL(esp); /* 0x25116127: pop edi */ 22475 esi = POP32_VAL(esp); /* 0x25116128: pop esi */ 22476 MEM32(eax) = ecx; /* 0x25116129: mov dword ptr [eax], ecx */ 22477 ebx = POP32_VAL(esp); /* 0x2511612B: pop ebx */ 22478 esp = ebp; /* 0x2511612C: mov esp, ebp */ 22479 ebp = POP32_VAL(esp); /* 0x2511612E: pop ebp */ 22480 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511612F: ret 0x10 */ 22481 RECOMP_REGS_OUT(); 22482 } 22483 22484 void sub_25116140(void) { 22485 int _fpu_cmp = 0; 22486 uint32_t _cf = 0; 22487 int _df = 1; 22488 uint32_t _flag_k = FK_NONE; 22489 uint32_t _flag_a = 0, _flag_b = 0; 22490 uint32_t _itail_tgt = 0; 22491 RECOMP_REGS_LOCALS 22492 RECOMP_ENTER(0x25116140u); 22493 22494 L_25116140: 22495 PUSH32(esp, ebp); /* 0x25116140: push ebp */ 22496 ebp = esp; /* 0x25116141: mov ebp, esp */ 22497 PUSH32(esp, 0x24u); /* 0x25116143: push 0x24 */ 22498 RECOMP_ICALL(0x251380D0u); /* 0x25116145: call 0x251380d0 */ /* not lifted */ 22499 RECOMP_FLAGS_IN(); 22500 ecx = MEM32(ebp + 0x8); /* 0x2511614A: mov ecx, dword ptr [ebp + 8] */ 22501 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2511614D: mov dl, byte ptr [ebp + 0xc] */ 22502 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22503 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22504 esp = esp + 4; /* 0x25116150: add esp, 4 */ 22505 _flag_k = FK_ADD; 22506 MEM32(eax + 0x4) = ecx; /* 0x25116153: mov dword ptr [eax + 4], ecx */ 22507 MEM8(eax + 0x20) = (uint8_t)(LO8(edx)); /* 0x25116156: mov byte ptr [eax + 0x20], dl */ 22508 MEM8(eax + 0x21) = (uint8_t)(0); /* 0x25116159: mov byte ptr [eax + 0x21], 0 */ 22509 ebp = POP32_VAL(esp); /* 0x2511615D: pop ebp */ 22510 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2511615E: ret 8 */ 22511 RECOMP_REGS_OUT(); 22512 } 22513 22514 void sub_25116170(void) { 22515 int _fpu_cmp = 0; 22516 uint32_t _cf = 0; 22517 int _df = 1; 22518 uint32_t _flag_k = FK_NONE; 22519 uint32_t _flag_a = 0, _flag_b = 0; 22520 uint32_t _itail_tgt = 0; 22521 RECOMP_REGS_LOCALS 22522 RECOMP_ENTER(0x25116170u); 22523 22524 L_25116170: 22525 PUSH32(esp, ebp); /* 0x25116170: push ebp */ 22526 ebp = esp; /* 0x25116171: mov ebp, esp */ 22527 PUSH32(esp, ecx); /* 0x25116173: push ecx */ 22528 PUSH32(esp, ebx); /* 0x25116174: push ebx */ 22529 ebx = MEM32(ebp + 0x8); /* 0x25116175: mov ebx, dword ptr [ebp + 8] */ 22530 PUSH32(esp, edi); /* 0x25116178: push edi */ 22531 edi = ecx; /* 0x25116179: mov edi, ecx */ 22532 SET_LO8(ecx, MEM8(ebx + 0x2D)); /* 0x2511617B: mov cl, byte ptr [ebx + 0x2d] */ 22533 /* test LO8(ecx), LO8(ecx) */ /* 0x2511617E: test cl, cl */ 22534 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22535 _cf = 0; 22536 _flag_k = FK_NARROW(FK_TEST, 24); 22537 eax = MEM32(edi + 0x8); /* 0x25116180: mov eax, dword ptr [edi + 8] */ 22538 MEM32(ebp + (-0x4)) = eax; /* 0x25116183: mov dword ptr [ebp - 4], eax */ 22539 if (TEST_NZ(_flag_a, _flag_b)) goto L_251161F0; /* 0x25116186: jne 0x251161f0 */ 22540 L_25116188: 22541 SET_LO8(eax, MEM8(ebx + 0x2C)); /* 0x25116188: mov al, byte ptr [ebx + 0x2c] */ 22542 PUSH32(esp, esi); /* 0x2511618B: push esi */ 22543 PUSH32(esp, 0x30u); /* 0x2511618C: push 0x30 */ 22544 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2511618E: mov byte ptr [ebp + 0xb], al */ 22545 RECOMP_ICALL(0x251380D0u); /* 0x25116191: call 0x251380d0 */ /* not lifted */ 22546 RECOMP_FLAGS_IN(); 22547 ecx = MEM32(ebp + 0xC); /* 0x25116196: mov ecx, dword ptr [ebp + 0xc] */ 22548 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25116199: mov dl, byte ptr [ebp + 0xb] */ 22549 esi = eax; /* 0x2511619C: mov esi, eax */ 22550 eax = ebx + 0xC; /* 0x2511619E: lea eax, [ebx + 0xc] */ 22551 MEM32(esi + 0x4) = ecx; /* 0x251161A1: mov dword ptr [esi + 4], ecx */ 22552 PUSH32(esp, eax); /* 0x251161A4: push eax */ 22553 ecx = esi + 0xC; /* 0x251161A5: lea ecx, [esi + 0xc] */ 22554 PUSH32(esp, ecx); /* 0x251161A8: push ecx */ 22555 MEM8(esi + 0x2C) = (uint8_t)(LO8(edx)); /* 0x251161A9: mov byte ptr [esi + 0x2c], dl */ 22556 MEM8(esi + 0x2D) = (uint8_t)(0); /* 0x251161AC: mov byte ptr [esi + 0x2d], 0 */ 22557 RECOMP_ICALL(0x25116850u); /* 0x251161B0: call 0x25116850 */ /* not lifted */ 22558 RECOMP_FLAGS_IN(); 22559 edx = MEM32(edi + 0x8); /* 0x251161B5: mov edx, dword ptr [edi + 8] */ 22560 ecx = MEM32(ebp + (-0x4)); /* 0x251161B8: mov ecx, dword ptr [ebp - 4] */ 22561 MEM32(esi) = edx; /* 0x251161BB: mov dword ptr [esi], edx */ 22562 eax = MEM32(edi + 0x8); /* 0x251161BD: mov eax, dword ptr [edi + 8] */ 22563 MEM32(esi + 0x8) = eax; /* 0x251161C0: mov dword ptr [esi + 8], eax */ 22564 eax = MEM32(edi + 0x8); /* 0x251161C3: mov eax, dword ptr [edi + 8] */ 22565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 22566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22567 esp = esp + 0xCu; /* 0x251161C6: add esp, 0xc */ 22568 _flag_k = FK_ADD; 22569 /* cmp ecx, eax */ /* 0x251161C9: cmp ecx, eax */ 22570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 22571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22572 _flag_k = FK_CMP; 22573 if (CMP_NE(_flag_a, _flag_b)) goto L_251161D0; /* 0x251161CB: jne 0x251161d0 */ 22574 L_251161CD: 22575 MEM32(ebp + (-0x4)) = esi; /* 0x251161CD: mov dword ptr [ebp - 4], esi */ 22576 L_251161D0: 22577 edx = MEM32(ebx); /* 0x251161D0: mov edx, dword ptr [ebx] */ 22578 PUSH32(esp, esi); /* 0x251161D2: push esi */ 22579 PUSH32(esp, edx); /* 0x251161D3: push edx */ 22580 ecx = edi; /* 0x251161D4: mov ecx, edi */ 22581 RECOMP_ICALL(0x25116170u); /* 0x251161D6: call 0x25116170 */ /* not lifted */ 22582 RECOMP_FLAGS_IN(); 22583 MEM32(esi) = eax; /* 0x251161DB: mov dword ptr [esi], eax */ 22584 eax = MEM32(ebx + 0x8); /* 0x251161DD: mov eax, dword ptr [ebx + 8] */ 22585 PUSH32(esp, esi); /* 0x251161E0: push esi */ 22586 PUSH32(esp, eax); /* 0x251161E1: push eax */ 22587 ecx = edi; /* 0x251161E2: mov ecx, edi */ 22588 RECOMP_ICALL(0x25116170u); /* 0x251161E4: call 0x25116170 */ /* not lifted */ 22589 RECOMP_FLAGS_IN(); 22590 MEM32(esi + 0x8) = eax; /* 0x251161E9: mov dword ptr [esi + 8], eax */ 22591 eax = MEM32(ebp + (-0x4)); /* 0x251161EC: mov eax, dword ptr [ebp - 4] */ 22592 esi = POP32_VAL(esp); /* 0x251161EF: pop esi */ 22593 L_251161F0: 22594 edi = POP32_VAL(esp); /* 0x251161F0: pop edi */ 22595 ebx = POP32_VAL(esp); /* 0x251161F1: pop ebx */ 22596 esp = ebp; /* 0x251161F2: mov esp, ebp */ 22597 ebp = POP32_VAL(esp); /* 0x251161F4: pop ebp */ 22598 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x251161F5: ret 8 */ 22599 RECOMP_REGS_OUT(); 22600 } 22601 22602 void sub_25116200(void) { 22603 int _fpu_cmp = 0; 22604 uint32_t _cf = 0; 22605 int _df = 1; 22606 uint32_t _flag_k = FK_NONE; 22607 uint32_t _flag_a = 0, _flag_b = 0; 22608 uint32_t _itail_tgt = 0; 22609 RECOMP_REGS_LOCALS 22610 RECOMP_ENTER(0x25116200u); 22611 22612 L_25116200: 22613 PUSH32(esp, ebp); /* 0x25116200: push ebp */ 22614 ebp = esp; /* 0x25116201: mov ebp, esp */ 22615 PUSH32(esp, ecx); /* 0x25116203: push ecx */ 22616 PUSH32(esp, ebx); /* 0x25116204: push ebx */ 22617 PUSH32(esp, esi); /* 0x25116205: push esi */ 22618 PUSH32(esp, edi); /* 0x25116206: push edi */ 22619 PUSH32(esp, 0x30u); /* 0x25116207: push 0x30 */ 22620 esi = ecx; /* 0x25116209: mov esi, ecx */ 22621 RECOMP_ICALL(0x251380D0u); /* 0x2511620B: call 0x251380d0 */ /* not lifted */ 22622 RECOMP_FLAGS_IN(); 22623 edi = MEM32(ebp + 0x10); /* 0x25116210: mov edi, dword ptr [ebp + 0x10] */ 22624 ebx = MEM32(ebp + 0x14); /* 0x25116213: mov ebx, dword ptr [ebp + 0x14] */ 22625 MEM32(eax + 0x4) = edi; /* 0x25116216: mov dword ptr [eax + 4], edi */ 22626 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x25116219: mov byte ptr [eax + 0x2c], 0 */ 22627 MEM8(eax + 0x2D) = (uint8_t)(0); /* 0x2511621D: mov byte ptr [eax + 0x2d], 0 */ 22628 ecx = MEM32(esi + 0x8); /* 0x25116221: mov ecx, dword ptr [esi + 8] */ 22629 MEM32(eax) = ecx; /* 0x25116224: mov dword ptr [eax], ecx */ 22630 edx = MEM32(esi + 0x8); /* 0x25116226: mov edx, dword ptr [esi + 8] */ 22631 MEM32(ebp + (-0x4)) = eax; /* 0x25116229: mov dword ptr [ebp - 4], eax */ 22632 MEM32(eax + 0x8) = edx; /* 0x2511622C: mov dword ptr [eax + 8], edx */ 22633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 22634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22635 eax = eax + 0xCu; /* 0x2511622F: add eax, 0xc */ 22636 _flag_k = FK_ADD; 22637 PUSH32(esp, ebx); /* 0x25116232: push ebx */ 22638 PUSH32(esp, eax); /* 0x25116233: push eax */ 22639 RECOMP_ICALL(0x25116850u); /* 0x25116234: call 0x25116850 */ /* not lifted */ 22640 RECOMP_FLAGS_IN(); 22641 ecx = MEM32(esi + 0x10); /* 0x25116239: mov ecx, dword ptr [esi + 0x10] */ 22642 eax = MEM32(esi + 0x4); /* 0x2511623C: mov eax, dword ptr [esi + 4] */ 22643 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 22644 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22645 esp = esp + 0xCu; /* 0x2511623F: add esp, 0xc */ 22646 _flag_k = FK_ADD; 22647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22648 ecx = ecx + 1; /* 0x25116242: inc ecx */ 22649 _flag_k = FK_INC; 22650 /* cmp edi, eax */ /* 0x25116243: cmp edi, eax */ 22651 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 22652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22653 _flag_k = FK_CMP; 22654 MEM32(esi + 0x10) = ecx; /* 0x25116245: mov dword ptr [esi + 0x10], ecx */ 22655 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116277; /* 0x25116248: je 0x25116277 */ 22656 L_2511624A: 22657 eax = MEM32(ebp + 0xC); /* 0x2511624A: mov eax, dword ptr [ebp + 0xc] */ 22658 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2511624D: cmp eax, dword ptr [esi + 8] */ 22659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22661 _flag_k = FK_CMP; 22662 if (CMP_NE(_flag_a, _flag_b)) goto L_25116277; /* 0x25116250: jne 0x25116277 */ 22663 L_25116252: 22664 ecx = edi + 0xC; /* 0x25116252: lea ecx, [edi + 0xc] */ 22665 PUSH32(esp, ecx); /* 0x25116255: push ecx */ 22666 PUSH32(esp, ebx); /* 0x25116256: push ebx */ 22667 RECOMP_ICALL(MEM32(0x251511CC)); /* 0x25116257: call dword ptr [0x251511cc] */ 22668 RECOMP_FLAGS_IN(); 22669 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 22670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22671 esp = esp + 8; /* 0x2511625D: add esp, 8 */ 22672 _flag_k = FK_ADD; 22673 /* test LO8(eax), LO8(eax) */ /* 0x25116260: test al, al */ 22674 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22675 _cf = 0; 22676 _flag_k = FK_NARROW(FK_TEST, 24); 22677 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116277; /* 0x25116262: jne 0x25116277 */ 22678 L_25116264: 22679 ecx = MEM32(ebp + (-0x4)); /* 0x25116264: mov ecx, dword ptr [ebp - 4] */ 22680 MEM32(edi + 0x8) = ecx; /* 0x25116267: mov dword ptr [edi + 8], ecx */ 22681 eax = MEM32(esi + 0x4); /* 0x2511626A: mov eax, dword ptr [esi + 4] */ 22682 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2511626D: cmp edi, dword ptr [eax + 8] */ 22683 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 22684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22685 _flag_k = FK_CMP; 22686 if (CMP_NE(_flag_a, _flag_b)) goto L_25116297; /* 0x25116270: jne 0x25116297 */ 22687 L_25116272: 22688 MEM32(eax + 0x8) = ecx; /* 0x25116272: mov dword ptr [eax + 8], ecx */ 22689 goto L_25116297; /* 0x25116275: jmp 0x25116297 */ 22690 L_25116277: 22691 ecx = MEM32(ebp + (-0x4)); /* 0x25116277: mov ecx, dword ptr [ebp - 4] */ 22692 MEM32(edi) = ecx; /* 0x2511627A: mov dword ptr [edi], ecx */ 22693 eax = MEM32(esi + 0x4); /* 0x2511627C: mov eax, dword ptr [esi + 4] */ 22694 /* cmp edi, eax */ /* 0x2511627F: cmp edi, eax */ 22695 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 22696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22697 _flag_k = FK_CMP; 22698 if (CMP_NE(_flag_a, _flag_b)) goto L_2511628E; /* 0x25116281: jne 0x2511628e */ 22699 L_25116283: 22700 MEM32(eax + 0x4) = ecx; /* 0x25116283: mov dword ptr [eax + 4], ecx */ 22701 edx = MEM32(esi + 0x4); /* 0x25116286: mov edx, dword ptr [esi + 4] */ 22702 MEM32(edx + 0x8) = ecx; /* 0x25116289: mov dword ptr [edx + 8], ecx */ 22703 goto L_25116297; /* 0x2511628C: jmp 0x25116297 */ 22704 L_2511628E: 22705 /* cmp edi, MEM32(eax) */ /* 0x2511628E: cmp edi, dword ptr [eax] */ 22706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 22707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22708 _flag_k = FK_CMP; 22709 if (CMP_NE(_flag_a, _flag_b)) goto L_25116297; /* 0x25116290: jne 0x25116297 */ 22710 L_25116292: 22711 ecx = MEM32(ebp + (-0x4)); /* 0x25116292: mov ecx, dword ptr [ebp - 4] */ 22712 MEM32(eax) = ecx; /* 0x25116295: mov dword ptr [eax], ecx */ 22713 L_25116297: 22714 edx = MEM32(esi + 0x4); /* 0x25116297: mov edx, dword ptr [esi + 4] */ 22715 eax = MEM32(ebp + (-0x4)); /* 0x2511629A: mov eax, dword ptr [ebp - 4] */ 22716 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2511629D: cmp eax, dword ptr [edx + 4] */ 22717 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22719 _flag_k = FK_CMP; 22720 SET_LO8(ebx, 1); /* 0x251162A0: mov bl, 1 */ 22721 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116428; /* 0x251162A2: je 0x25116428 */ 22722 L_251162A8: 22723 ecx = MEM32(eax + 0x4); /* 0x251162A8: mov ecx, dword ptr [eax + 4] */ 22724 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x251162AB: mov dl, byte ptr [ecx + 0x2c] */ 22725 /* test LO8(edx), LO8(edx) */ /* 0x251162AE: test dl, dl */ 22726 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22727 _cf = 0; 22728 _flag_k = FK_NARROW(FK_TEST, 24); 22729 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116428; /* 0x251162B0: jne 0x25116428 */ 22730 L_251162B6: 22731 edi = MEM32(ecx + 0x4); /* 0x251162B6: mov edi, dword ptr [ecx + 4] */ 22732 edx = MEM32(edi); /* 0x251162B9: mov edx, dword ptr [edi] */ 22733 /* cmp ecx, edx */ /* 0x251162BB: cmp ecx, edx */ 22734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22736 _flag_k = FK_CMP; 22737 if (CMP_NE(_flag_a, _flag_b)) goto L_25116384; /* 0x251162BD: jne 0x25116384 */ 22738 L_251162C3: 22739 edx = MEM32(edi + 0x8); /* 0x251162C3: mov edx, dword ptr [edi + 8] */ 22740 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x251162C6: cmp byte ptr [edx + 0x2c], 0 */ 22741 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22743 _flag_k = FK_NARROW(FK_CMP, 24); 22744 if (CMP_NE(_flag_a, _flag_b)) goto L_251162E7; /* 0x251162CA: jne 0x251162e7 */ 22745 L_251162CC: 22746 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251162CC: mov byte ptr [ecx + 0x2c], bl */ 22747 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251162CF: mov byte ptr [edx + 0x2c], bl */ 22748 ecx = MEM32(eax + 0x4); /* 0x251162D2: mov ecx, dword ptr [eax + 4] */ 22749 edx = MEM32(ecx + 0x4); /* 0x251162D5: mov edx, dword ptr [ecx + 4] */ 22750 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x251162D8: mov byte ptr [edx + 0x2c], 0 */ 22751 eax = MEM32(eax + 0x4); /* 0x251162DC: mov eax, dword ptr [eax + 4] */ 22752 eax = MEM32(eax + 0x4); /* 0x251162DF: mov eax, dword ptr [eax + 4] */ 22753 goto L_2511641C; /* 0x251162E2: jmp 0x2511641c */ 22754 L_251162E7: 22755 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x251162E7: cmp eax, dword ptr [ecx + 8] */ 22756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22758 _flag_k = FK_CMP; 22759 if (CMP_NE(_flag_a, _flag_b)) goto L_25116326; /* 0x251162EA: jne 0x25116326 */ 22760 L_251162EC: 22761 eax = ecx; /* 0x251162EC: mov eax, ecx */ 22762 ecx = MEM32(eax + 0x8); /* 0x251162EE: mov ecx, dword ptr [eax + 8] */ 22763 edx = MEM32(ecx); /* 0x251162F1: mov edx, dword ptr [ecx] */ 22764 MEM32(eax + 0x8) = edx; /* 0x251162F3: mov dword ptr [eax + 8], edx */ 22765 edx = MEM32(ecx); /* 0x251162F6: mov edx, dword ptr [ecx] */ 22766 /* cmp edx, MEM32(esi + 0x8) */ /* 0x251162F8: cmp edx, dword ptr [esi + 8] */ 22767 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22769 _flag_k = FK_CMP; 22770 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116300; /* 0x251162FB: je 0x25116300 */ 22771 L_251162FD: 22772 MEM32(edx + 0x4) = eax; /* 0x251162FD: mov dword ptr [edx + 4], eax */ 22773 L_25116300: 22774 edx = MEM32(eax + 0x4); /* 0x25116300: mov edx, dword ptr [eax + 4] */ 22775 MEM32(ecx + 0x4) = edx; /* 0x25116303: mov dword ptr [ecx + 4], edx */ 22776 edx = MEM32(esi + 0x4); /* 0x25116306: mov edx, dword ptr [esi + 4] */ 22777 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25116309: cmp eax, dword ptr [edx + 4] */ 22778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22780 _flag_k = FK_CMP; 22781 if (CMP_NE(_flag_a, _flag_b)) goto L_25116313; /* 0x2511630C: jne 0x25116313 */ 22782 L_2511630E: 22783 MEM32(edx + 0x4) = ecx; /* 0x2511630E: mov dword ptr [edx + 4], ecx */ 22784 goto L_25116321; /* 0x25116311: jmp 0x25116321 */ 22785 L_25116313: 22786 edx = MEM32(eax + 0x4); /* 0x25116313: mov edx, dword ptr [eax + 4] */ 22787 /* cmp eax, MEM32(edx) */ /* 0x25116316: cmp eax, dword ptr [edx] */ 22788 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22790 _flag_k = FK_CMP; 22791 if (CMP_NE(_flag_a, _flag_b)) goto L_2511631E; /* 0x25116318: jne 0x2511631e */ 22792 L_2511631A: 22793 MEM32(edx) = ecx; /* 0x2511631A: mov dword ptr [edx], ecx */ 22794 goto L_25116321; /* 0x2511631C: jmp 0x25116321 */ 22795 L_2511631E: 22796 MEM32(edx + 0x8) = ecx; /* 0x2511631E: mov dword ptr [edx + 8], ecx */ 22797 L_25116321: 22798 MEM32(ecx) = eax; /* 0x25116321: mov dword ptr [ecx], eax */ 22799 MEM32(eax + 0x4) = ecx; /* 0x25116323: mov dword ptr [eax + 4], ecx */ 22800 L_25116326: 22801 ecx = MEM32(eax + 0x4); /* 0x25116326: mov ecx, dword ptr [eax + 4] */ 22802 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25116329: mov byte ptr [ecx + 0x2c], bl */ 22803 edx = MEM32(eax + 0x4); /* 0x2511632C: mov edx, dword ptr [eax + 4] */ 22804 ecx = MEM32(edx + 0x4); /* 0x2511632F: mov ecx, dword ptr [edx + 4] */ 22805 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25116332: mov byte ptr [ecx + 0x2c], 0 */ 22806 edx = MEM32(eax + 0x4); /* 0x25116336: mov edx, dword ptr [eax + 4] */ 22807 ecx = MEM32(edx + 0x4); /* 0x25116339: mov ecx, dword ptr [edx + 4] */ 22808 edx = MEM32(ecx); /* 0x2511633C: mov edx, dword ptr [ecx] */ 22809 edi = MEM32(edx + 0x8); /* 0x2511633E: mov edi, dword ptr [edx + 8] */ 22810 MEM32(ecx) = edi; /* 0x25116341: mov dword ptr [ecx], edi */ 22811 edi = MEM32(edx + 0x8); /* 0x25116343: mov edi, dword ptr [edx + 8] */ 22812 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116346: cmp edi, dword ptr [esi + 8] */ 22813 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22815 _flag_k = FK_CMP; 22816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511634E; /* 0x25116349: je 0x2511634e */ 22817 L_2511634B: 22818 MEM32(edi + 0x4) = ecx; /* 0x2511634B: mov dword ptr [edi + 4], ecx */ 22819 L_2511634E: 22820 edi = MEM32(ecx + 0x4); /* 0x2511634E: mov edi, dword ptr [ecx + 4] */ 22821 MEM32(edx + 0x4) = edi; /* 0x25116351: mov dword ptr [edx + 4], edi */ 22822 edi = MEM32(esi + 0x4); /* 0x25116354: mov edi, dword ptr [esi + 4] */ 22823 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116357: cmp ecx, dword ptr [edi + 4] */ 22824 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22826 _flag_k = FK_CMP; 22827 if (CMP_NE(_flag_a, _flag_b)) goto L_25116367; /* 0x2511635A: jne 0x25116367 */ 22828 L_2511635C: 22829 MEM32(edi + 0x4) = edx; /* 0x2511635C: mov dword ptr [edi + 4], edx */ 22830 MEM32(edx + 0x8) = ecx; /* 0x2511635F: mov dword ptr [edx + 8], ecx */ 22831 goto L_25116419; /* 0x25116362: jmp 0x25116419 */ 22832 L_25116367: 22833 edi = MEM32(ecx + 0x4); /* 0x25116367: mov edi, dword ptr [ecx + 4] */ 22834 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511636A: cmp ecx, dword ptr [edi + 8] */ 22835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22837 _flag_k = FK_CMP; 22838 if (CMP_NE(_flag_a, _flag_b)) goto L_2511637A; /* 0x2511636D: jne 0x2511637a */ 22839 L_2511636F: 22840 MEM32(edi + 0x8) = edx; /* 0x2511636F: mov dword ptr [edi + 8], edx */ 22841 MEM32(edx + 0x8) = ecx; /* 0x25116372: mov dword ptr [edx + 8], ecx */ 22842 goto L_25116419; /* 0x25116375: jmp 0x25116419 */ 22843 L_2511637A: 22844 MEM32(edi) = edx; /* 0x2511637A: mov dword ptr [edi], edx */ 22845 MEM32(edx + 0x8) = ecx; /* 0x2511637C: mov dword ptr [edx + 8], ecx */ 22846 goto L_25116419; /* 0x2511637F: jmp 0x25116419 */ 22847 L_25116384: 22848 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x25116384: cmp byte ptr [edx + 0x2c], 0 */ 22849 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22851 _flag_k = FK_NARROW(FK_CMP, 24); 22852 RECOMP_BACKEDGE(); 22853 if (CMP_EQ(_flag_a, _flag_b)) goto L_251162CC; /* 0x25116388: je 0x251162cc */ 22854 L_2511638E: 22855 /* cmp eax, MEM32(ecx) */ /* 0x2511638E: cmp eax, dword ptr [ecx] */ 22856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22858 _flag_k = FK_CMP; 22859 if (CMP_NE(_flag_a, _flag_b)) goto L_251163CE; /* 0x25116390: jne 0x251163ce */ 22860 L_25116392: 22861 eax = ecx; /* 0x25116392: mov eax, ecx */ 22862 ecx = MEM32(eax); /* 0x25116394: mov ecx, dword ptr [eax] */ 22863 edx = MEM32(ecx + 0x8); /* 0x25116396: mov edx, dword ptr [ecx + 8] */ 22864 MEM32(eax) = edx; /* 0x25116399: mov dword ptr [eax], edx */ 22865 edx = MEM32(ecx + 0x8); /* 0x2511639B: mov edx, dword ptr [ecx + 8] */ 22866 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511639E: cmp edx, dword ptr [esi + 8] */ 22867 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22869 _flag_k = FK_CMP; 22870 if (CMP_EQ(_flag_a, _flag_b)) goto L_251163A6; /* 0x251163A1: je 0x251163a6 */ 22871 L_251163A3: 22872 MEM32(edx + 0x4) = eax; /* 0x251163A3: mov dword ptr [edx + 4], eax */ 22873 L_251163A6: 22874 edx = MEM32(eax + 0x4); /* 0x251163A6: mov edx, dword ptr [eax + 4] */ 22875 MEM32(ecx + 0x4) = edx; /* 0x251163A9: mov dword ptr [ecx + 4], edx */ 22876 edx = MEM32(esi + 0x4); /* 0x251163AC: mov edx, dword ptr [esi + 4] */ 22877 /* cmp eax, MEM32(edx + 0x4) */ /* 0x251163AF: cmp eax, dword ptr [edx + 4] */ 22878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22880 _flag_k = FK_CMP; 22881 if (CMP_NE(_flag_a, _flag_b)) goto L_251163B9; /* 0x251163B2: jne 0x251163b9 */ 22882 L_251163B4: 22883 MEM32(edx + 0x4) = ecx; /* 0x251163B4: mov dword ptr [edx + 4], ecx */ 22884 goto L_251163C8; /* 0x251163B7: jmp 0x251163c8 */ 22885 L_251163B9: 22886 edx = MEM32(eax + 0x4); /* 0x251163B9: mov edx, dword ptr [eax + 4] */ 22887 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251163BC: cmp eax, dword ptr [edx + 8] */ 22888 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22890 _flag_k = FK_CMP; 22891 if (CMP_NE(_flag_a, _flag_b)) goto L_251163C6; /* 0x251163BF: jne 0x251163c6 */ 22892 L_251163C1: 22893 MEM32(edx + 0x8) = ecx; /* 0x251163C1: mov dword ptr [edx + 8], ecx */ 22894 goto L_251163C8; /* 0x251163C4: jmp 0x251163c8 */ 22895 L_251163C6: 22896 MEM32(edx) = ecx; /* 0x251163C6: mov dword ptr [edx], ecx */ 22897 L_251163C8: 22898 MEM32(ecx + 0x8) = eax; /* 0x251163C8: mov dword ptr [ecx + 8], eax */ 22899 MEM32(eax + 0x4) = ecx; /* 0x251163CB: mov dword ptr [eax + 4], ecx */ 22900 L_251163CE: 22901 ecx = MEM32(eax + 0x4); /* 0x251163CE: mov ecx, dword ptr [eax + 4] */ 22902 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251163D1: mov byte ptr [ecx + 0x2c], bl */ 22903 edx = MEM32(eax + 0x4); /* 0x251163D4: mov edx, dword ptr [eax + 4] */ 22904 ecx = MEM32(edx + 0x4); /* 0x251163D7: mov ecx, dword ptr [edx + 4] */ 22905 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251163DA: mov byte ptr [ecx + 0x2c], 0 */ 22906 edx = MEM32(eax + 0x4); /* 0x251163DE: mov edx, dword ptr [eax + 4] */ 22907 ecx = MEM32(edx + 0x4); /* 0x251163E1: mov ecx, dword ptr [edx + 4] */ 22908 edx = MEM32(ecx + 0x8); /* 0x251163E4: mov edx, dword ptr [ecx + 8] */ 22909 edi = MEM32(edx); /* 0x251163E7: mov edi, dword ptr [edx] */ 22910 MEM32(ecx + 0x8) = edi; /* 0x251163E9: mov dword ptr [ecx + 8], edi */ 22911 edi = MEM32(edx); /* 0x251163EC: mov edi, dword ptr [edx] */ 22912 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251163EE: cmp edi, dword ptr [esi + 8] */ 22913 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22915 _flag_k = FK_CMP; 22916 if (CMP_EQ(_flag_a, _flag_b)) goto L_251163F6; /* 0x251163F1: je 0x251163f6 */ 22917 L_251163F3: 22918 MEM32(edi + 0x4) = ecx; /* 0x251163F3: mov dword ptr [edi + 4], ecx */ 22919 L_251163F6: 22920 edi = MEM32(ecx + 0x4); /* 0x251163F6: mov edi, dword ptr [ecx + 4] */ 22921 MEM32(edx + 0x4) = edi; /* 0x251163F9: mov dword ptr [edx + 4], edi */ 22922 edi = MEM32(esi + 0x4); /* 0x251163FC: mov edi, dword ptr [esi + 4] */ 22923 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251163FF: cmp ecx, dword ptr [edi + 4] */ 22924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22926 _flag_k = FK_CMP; 22927 if (CMP_NE(_flag_a, _flag_b)) goto L_25116409; /* 0x25116402: jne 0x25116409 */ 22928 L_25116404: 22929 MEM32(edi + 0x4) = edx; /* 0x25116404: mov dword ptr [edi + 4], edx */ 22930 goto L_25116417; /* 0x25116407: jmp 0x25116417 */ 22931 L_25116409: 22932 edi = MEM32(ecx + 0x4); /* 0x25116409: mov edi, dword ptr [ecx + 4] */ 22933 /* cmp ecx, MEM32(edi) */ /* 0x2511640C: cmp ecx, dword ptr [edi] */ 22934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22936 _flag_k = FK_CMP; 22937 if (CMP_NE(_flag_a, _flag_b)) goto L_25116414; /* 0x2511640E: jne 0x25116414 */ 22938 L_25116410: 22939 MEM32(edi) = edx; /* 0x25116410: mov dword ptr [edi], edx */ 22940 goto L_25116417; /* 0x25116412: jmp 0x25116417 */ 22941 L_25116414: 22942 MEM32(edi + 0x8) = edx; /* 0x25116414: mov dword ptr [edi + 8], edx */ 22943 L_25116417: 22944 MEM32(edx) = ecx; /* 0x25116417: mov dword ptr [edx], ecx */ 22945 L_25116419: 22946 MEM32(ecx + 0x4) = edx; /* 0x25116419: mov dword ptr [ecx + 4], edx */ 22947 L_2511641C: 22948 ecx = MEM32(esi + 0x4); /* 0x2511641C: mov ecx, dword ptr [esi + 4] */ 22949 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511641F: cmp eax, dword ptr [ecx + 4] */ 22950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22952 _flag_k = FK_CMP; 22953 RECOMP_BACKEDGE(); 22954 if (CMP_NE(_flag_a, _flag_b)) goto L_251162A8; /* 0x25116422: jne 0x251162a8 */ 22955 L_25116428: 22956 edx = MEM32(esi + 0x4); /* 0x25116428: mov edx, dword ptr [esi + 4] */ 22957 eax = MEM32(edx + 0x4); /* 0x2511642B: mov eax, dword ptr [edx + 4] */ 22958 ecx = MEM32(ebp + (-0x4)); /* 0x2511642E: mov ecx, dword ptr [ebp - 4] */ 22959 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25116431: mov byte ptr [eax + 0x2c], bl */ 22960 eax = MEM32(ebp + 0x8); /* 0x25116434: mov eax, dword ptr [ebp + 8] */ 22961 edi = POP32_VAL(esp); /* 0x25116437: pop edi */ 22962 esi = POP32_VAL(esp); /* 0x25116438: pop esi */ 22963 MEM32(eax) = ecx; /* 0x25116439: mov dword ptr [eax], ecx */ 22964 ebx = POP32_VAL(esp); /* 0x2511643B: pop ebx */ 22965 esp = ebp; /* 0x2511643C: mov esp, ebp */ 22966 ebp = POP32_VAL(esp); /* 0x2511643E: pop ebp */ 22967 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511643F: ret 0x10 */ 22968 RECOMP_REGS_OUT(); 22969 } 22970 22971 void sub_251162A8(void) { 22972 int _fpu_cmp = 0; 22973 uint32_t _cf = 0; 22974 int _df = 1; 22975 uint32_t _flag_k = FK_NONE; 22976 uint32_t _flag_a = 0, _flag_b = 0; 22977 uint32_t _itail_tgt = 0; 22978 RECOMP_REGS_LOCALS 22979 RECOMP_ENTER(0x251162A8u); 22980 22981 L_251162A8: 22982 ecx = MEM32(eax + 0x4); /* 0x251162A8: mov ecx, dword ptr [eax + 4] */ 22983 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x251162AB: mov dl, byte ptr [ecx + 0x2c] */ 22984 /* test LO8(edx), LO8(edx) */ /* 0x251162AE: test dl, dl */ 22985 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22986 _cf = 0; 22987 _flag_k = FK_NARROW(FK_TEST, 24); 22988 if (TEST_NZ(_flag_a, _flag_b)) goto L_25116428; /* 0x251162B0: jne 0x25116428 */ 22989 L_251162B6: 22990 edi = MEM32(ecx + 0x4); /* 0x251162B6: mov edi, dword ptr [ecx + 4] */ 22991 edx = MEM32(edi); /* 0x251162B9: mov edx, dword ptr [edi] */ 22992 /* cmp ecx, edx */ /* 0x251162BB: cmp ecx, edx */ 22993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22995 _flag_k = FK_CMP; 22996 if (CMP_NE(_flag_a, _flag_b)) goto L_25116384; /* 0x251162BD: jne 0x25116384 */ 22997 L_251162C3: 22998 edx = MEM32(edi + 0x8); /* 0x251162C3: mov edx, dword ptr [edi + 8] */ 22999 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x251162C6: cmp byte ptr [edx + 0x2c], 0 */ 23000 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23002 _flag_k = FK_NARROW(FK_CMP, 24); 23003 if (CMP_NE(_flag_a, _flag_b)) goto L_251162E7; /* 0x251162CA: jne 0x251162e7 */ 23004 L_251162CC: 23005 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251162CC: mov byte ptr [ecx + 0x2c], bl */ 23006 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251162CF: mov byte ptr [edx + 0x2c], bl */ 23007 ecx = MEM32(eax + 0x4); /* 0x251162D2: mov ecx, dword ptr [eax + 4] */ 23008 edx = MEM32(ecx + 0x4); /* 0x251162D5: mov edx, dword ptr [ecx + 4] */ 23009 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x251162D8: mov byte ptr [edx + 0x2c], 0 */ 23010 eax = MEM32(eax + 0x4); /* 0x251162DC: mov eax, dword ptr [eax + 4] */ 23011 eax = MEM32(eax + 0x4); /* 0x251162DF: mov eax, dword ptr [eax + 4] */ 23012 goto L_2511641C; /* 0x251162E2: jmp 0x2511641c */ 23013 L_251162E7: 23014 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x251162E7: cmp eax, dword ptr [ecx + 8] */ 23015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 23016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23017 _flag_k = FK_CMP; 23018 if (CMP_NE(_flag_a, _flag_b)) goto L_25116326; /* 0x251162EA: jne 0x25116326 */ 23019 L_251162EC: 23020 eax = ecx; /* 0x251162EC: mov eax, ecx */ 23021 ecx = MEM32(eax + 0x8); /* 0x251162EE: mov ecx, dword ptr [eax + 8] */ 23022 edx = MEM32(ecx); /* 0x251162F1: mov edx, dword ptr [ecx] */ 23023 MEM32(eax + 0x8) = edx; /* 0x251162F3: mov dword ptr [eax + 8], edx */ 23024 edx = MEM32(ecx); /* 0x251162F6: mov edx, dword ptr [ecx] */ 23025 /* cmp edx, MEM32(esi + 0x8) */ /* 0x251162F8: cmp edx, dword ptr [esi + 8] */ 23026 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23028 _flag_k = FK_CMP; 23029 if (CMP_EQ(_flag_a, _flag_b)) goto L_25116300; /* 0x251162FB: je 0x25116300 */ 23030 L_251162FD: 23031 MEM32(edx + 0x4) = eax; /* 0x251162FD: mov dword ptr [edx + 4], eax */ 23032 L_25116300: 23033 edx = MEM32(eax + 0x4); /* 0x25116300: mov edx, dword ptr [eax + 4] */ 23034 MEM32(ecx + 0x4) = edx; /* 0x25116303: mov dword ptr [ecx + 4], edx */ 23035 edx = MEM32(esi + 0x4); /* 0x25116306: mov edx, dword ptr [esi + 4] */ 23036 /* cmp eax, MEM32(edx + 0x4) */ /* 0x25116309: cmp eax, dword ptr [edx + 4] */ 23037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23039 _flag_k = FK_CMP; 23040 if (CMP_NE(_flag_a, _flag_b)) goto L_25116313; /* 0x2511630C: jne 0x25116313 */ 23041 L_2511630E: 23042 MEM32(edx + 0x4) = ecx; /* 0x2511630E: mov dword ptr [edx + 4], ecx */ 23043 goto L_25116321; /* 0x25116311: jmp 0x25116321 */ 23044 L_25116313: 23045 edx = MEM32(eax + 0x4); /* 0x25116313: mov edx, dword ptr [eax + 4] */ 23046 /* cmp eax, MEM32(edx) */ /* 0x25116316: cmp eax, dword ptr [edx] */ 23047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 23048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23049 _flag_k = FK_CMP; 23050 if (CMP_NE(_flag_a, _flag_b)) goto L_2511631E; /* 0x25116318: jne 0x2511631e */ 23051 L_2511631A: 23052 MEM32(edx) = ecx; /* 0x2511631A: mov dword ptr [edx], ecx */ 23053 goto L_25116321; /* 0x2511631C: jmp 0x25116321 */ 23054 L_2511631E: 23055 MEM32(edx + 0x8) = ecx; /* 0x2511631E: mov dword ptr [edx + 8], ecx */ 23056 L_25116321: 23057 MEM32(ecx) = eax; /* 0x25116321: mov dword ptr [ecx], eax */ 23058 MEM32(eax + 0x4) = ecx; /* 0x25116323: mov dword ptr [eax + 4], ecx */ 23059 L_25116326: 23060 ecx = MEM32(eax + 0x4); /* 0x25116326: mov ecx, dword ptr [eax + 4] */ 23061 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25116329: mov byte ptr [ecx + 0x2c], bl */ 23062 edx = MEM32(eax + 0x4); /* 0x2511632C: mov edx, dword ptr [eax + 4] */ 23063 ecx = MEM32(edx + 0x4); /* 0x2511632F: mov ecx, dword ptr [edx + 4] */ 23064 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x25116332: mov byte ptr [ecx + 0x2c], 0 */ 23065 edx = MEM32(eax + 0x4); /* 0x25116336: mov edx, dword ptr [eax + 4] */ 23066 ecx = MEM32(edx + 0x4); /* 0x25116339: mov ecx, dword ptr [edx + 4] */ 23067 edx = MEM32(ecx); /* 0x2511633C: mov edx, dword ptr [ecx] */ 23068 edi = MEM32(edx + 0x8); /* 0x2511633E: mov edi, dword ptr [edx + 8] */ 23069 MEM32(ecx) = edi; /* 0x25116341: mov dword ptr [ecx], edi */ 23070 edi = MEM32(edx + 0x8); /* 0x25116343: mov edi, dword ptr [edx + 8] */ 23071 /* cmp edi, MEM32(esi + 0x8) */ /* 0x25116346: cmp edi, dword ptr [esi + 8] */ 23072 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23074 _flag_k = FK_CMP; 23075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2511634E; /* 0x25116349: je 0x2511634e */ 23076 L_2511634B: 23077 MEM32(edi + 0x4) = ecx; /* 0x2511634B: mov dword ptr [edi + 4], ecx */ 23078 L_2511634E: 23079 edi = MEM32(ecx + 0x4); /* 0x2511634E: mov edi, dword ptr [ecx + 4] */ 23080 MEM32(edx + 0x4) = edi; /* 0x25116351: mov dword ptr [edx + 4], edi */ 23081 edi = MEM32(esi + 0x4); /* 0x25116354: mov edi, dword ptr [esi + 4] */ 23082 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25116357: cmp ecx, dword ptr [edi + 4] */ 23083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23085 _flag_k = FK_CMP; 23086 if (CMP_NE(_flag_a, _flag_b)) goto L_25116367; /* 0x2511635A: jne 0x25116367 */ 23087 L_2511635C: 23088 MEM32(edi + 0x4) = edx; /* 0x2511635C: mov dword ptr [edi + 4], edx */ 23089 MEM32(edx + 0x8) = ecx; /* 0x2511635F: mov dword ptr [edx + 8], ecx */ 23090 goto L_25116419; /* 0x25116362: jmp 0x25116419 */ 23091 L_25116367: 23092 edi = MEM32(ecx + 0x4); /* 0x25116367: mov edi, dword ptr [ecx + 4] */ 23093 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2511636A: cmp ecx, dword ptr [edi + 8] */ 23094 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23096 _flag_k = FK_CMP; 23097 if (CMP_NE(_flag_a, _flag_b)) goto L_2511637A; /* 0x2511636D: jne 0x2511637a */ 23098 L_2511636F: 23099 MEM32(edi + 0x8) = edx; /* 0x2511636F: mov dword ptr [edi + 8], edx */ 23100 MEM32(edx + 0x8) = ecx; /* 0x25116372: mov dword ptr [edx + 8], ecx */ 23101 goto L_25116419; /* 0x25116375: jmp 0x25116419 */ 23102 L_2511637A: 23103 MEM32(edi) = edx; /* 0x2511637A: mov dword ptr [edi], edx */ 23104 MEM32(edx + 0x8) = ecx; /* 0x2511637C: mov dword ptr [edx + 8], ecx */ 23105 goto L_25116419; /* 0x2511637F: jmp 0x25116419 */ 23106 L_25116384: 23107 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x25116384: cmp byte ptr [edx + 0x2c], 0 */ 23108 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23110 _flag_k = FK_NARROW(FK_CMP, 24); 23111 RECOMP_BACKEDGE(); 23112 if (CMP_EQ(_flag_a, _flag_b)) goto L_251162CC; /* 0x25116388: je 0x251162cc */ 23113 L_2511638E: 23114 /* cmp eax, MEM32(ecx) */ /* 0x2511638E: cmp eax, dword ptr [ecx] */ 23115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 23116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23117 _flag_k = FK_CMP; 23118 if (CMP_NE(_flag_a, _flag_b)) goto L_251163CE; /* 0x25116390: jne 0x251163ce */ 23119 L_25116392: 23120 eax = ecx; /* 0x25116392: mov eax, ecx */ 23121 ecx = MEM32(eax); /* 0x25116394: mov ecx, dword ptr [eax] */ 23122 edx = MEM32(ecx + 0x8); /* 0x25116396: mov edx, dword ptr [ecx + 8] */ 23123 MEM32(eax) = edx; /* 0x25116399: mov dword ptr [eax], edx */ 23124 edx = MEM32(ecx + 0x8); /* 0x2511639B: mov edx, dword ptr [ecx + 8] */ 23125 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2511639E: cmp edx, dword ptr [esi + 8] */ 23126 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23128 _flag_k = FK_CMP; 23129 if (CMP_EQ(_flag_a, _flag_b)) goto L_251163A6; /* 0x251163A1: je 0x251163a6 */ 23130 L_251163A3: 23131 MEM32(edx + 0x4) = eax; /* 0x251163A3: mov dword ptr [edx + 4], eax */ 23132 L_251163A6: 23133 edx = MEM32(eax + 0x4); /* 0x251163A6: mov edx, dword ptr [eax + 4] */ 23134 MEM32(ecx + 0x4) = edx; /* 0x251163A9: mov dword ptr [ecx + 4], edx */ 23135 edx = MEM32(esi + 0x4); /* 0x251163AC: mov edx, dword ptr [esi + 4] */ 23136 /* cmp eax, MEM32(edx + 0x4) */ /* 0x251163AF: cmp eax, dword ptr [edx + 4] */ 23137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23139 _flag_k = FK_CMP; 23140 if (CMP_NE(_flag_a, _flag_b)) goto L_251163B9; /* 0x251163B2: jne 0x251163b9 */ 23141 L_251163B4: 23142 MEM32(edx + 0x4) = ecx; /* 0x251163B4: mov dword ptr [edx + 4], ecx */ 23143 goto L_251163C8; /* 0x251163B7: jmp 0x251163c8 */ 23144 L_251163B9: 23145 edx = MEM32(eax + 0x4); /* 0x251163B9: mov edx, dword ptr [eax + 4] */ 23146 /* cmp eax, MEM32(edx + 0x8) */ /* 0x251163BC: cmp eax, dword ptr [edx + 8] */ 23147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23149 _flag_k = FK_CMP; 23150 if (CMP_NE(_flag_a, _flag_b)) goto L_251163C6; /* 0x251163BF: jne 0x251163c6 */ 23151 L_251163C1: 23152 MEM32(edx + 0x8) = ecx; /* 0x251163C1: mov dword ptr [edx + 8], ecx */ 23153 goto L_251163C8; /* 0x251163C4: jmp 0x251163c8 */ 23154 L_251163C6: 23155 MEM32(edx) = ecx; /* 0x251163C6: mov dword ptr [edx], ecx */ 23156 L_251163C8: 23157 MEM32(ecx + 0x8) = eax; /* 0x251163C8: mov dword ptr [ecx + 8], eax */ 23158 MEM32(eax + 0x4) = ecx; /* 0x251163CB: mov dword ptr [eax + 4], ecx */ 23159 L_251163CE: 23160 ecx = MEM32(eax + 0x4); /* 0x251163CE: mov ecx, dword ptr [eax + 4] */ 23161 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x251163D1: mov byte ptr [ecx + 0x2c], bl */ 23162 edx = MEM32(eax + 0x4); /* 0x251163D4: mov edx, dword ptr [eax + 4] */ 23163 ecx = MEM32(edx + 0x4); /* 0x251163D7: mov ecx, dword ptr [edx + 4] */ 23164 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x251163DA: mov byte ptr [ecx + 0x2c], 0 */ 23165 edx = MEM32(eax + 0x4); /* 0x251163DE: mov edx, dword ptr [eax + 4] */ 23166 ecx = MEM32(edx + 0x4); /* 0x251163E1: mov ecx, dword ptr [edx + 4] */ 23167 edx = MEM32(ecx + 0x8); /* 0x251163E4: mov edx, dword ptr [ecx + 8] */ 23168 edi = MEM32(edx); /* 0x251163E7: mov edi, dword ptr [edx] */ 23169 MEM32(ecx + 0x8) = edi; /* 0x251163E9: mov dword ptr [ecx + 8], edi */ 23170 edi = MEM32(edx); /* 0x251163EC: mov edi, dword ptr [edx] */ 23171 /* cmp edi, MEM32(esi + 0x8) */ /* 0x251163EE: cmp edi, dword ptr [esi + 8] */ 23172 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23174 _flag_k = FK_CMP; 23175 if (CMP_EQ(_flag_a, _flag_b)) goto L_251163F6; /* 0x251163F1: je 0x251163f6 */ 23176 L_251163F3: 23177 MEM32(edi + 0x4) = ecx; /* 0x251163F3: mov dword ptr [edi + 4], ecx */ 23178 L_251163F6: 23179 edi = MEM32(ecx + 0x4); /* 0x251163F6: mov edi, dword ptr [ecx + 4] */ 23180 MEM32(edx + 0x4) = edi; /* 0x251163F9: mov dword ptr [edx + 4], edi */ 23181 edi = MEM32(esi + 0x4); /* 0x251163FC: mov edi, dword ptr [esi + 4] */ 23182 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x251163FF: cmp ecx, dword ptr [edi + 4] */ 23183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23185 _flag_k = FK_CMP; 23186 if (CMP_NE(_flag_a, _flag_b)) goto L_25116409; /* 0x25116402: jne 0x25116409 */ 23187 L_25116404: 23188 MEM32(edi + 0x4) = edx; /* 0x25116404: mov dword ptr [edi + 4], edx */ 23189 goto L_25116417; /* 0x25116407: jmp 0x25116417 */ 23190 L_25116409: 23191 edi = MEM32(ecx + 0x4); /* 0x25116409: mov edi, dword ptr [ecx + 4] */ 23192 /* cmp ecx, MEM32(edi) */ /* 0x2511640C: cmp ecx, dword ptr [edi] */ 23193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 23194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23195 _flag_k = FK_CMP; 23196 if (CMP_NE(_flag_a, _flag_b)) goto L_25116414; /* 0x2511640E: jne 0x25116414 */ 23197 L_25116410: 23198 MEM32(edi) = edx; /* 0x25116410: mov dword ptr [edi], edx */ 23199 goto L_25116417; /* 0x25116412: jmp 0x25116417 */ 23200 L_25116414: 23201 MEM32(edi + 0x8) = edx; /* 0x25116414: mov dword ptr [edi + 8], edx */ 23202 L_25116417: 23203 MEM32(edx) = ecx; /* 0x25116417: mov dword ptr [edx], ecx */ 23204 L_25116419: 23205 MEM32(ecx + 0x4) = edx; /* 0x25116419: mov dword ptr [ecx + 4], edx */ 23206 L_2511641C: 23207 ecx = MEM32(esi + 0x4); /* 0x2511641C: mov ecx, dword ptr [esi + 4] */ 23208 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2511641F: cmp eax, dword ptr [ecx + 4] */ 23209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23211 _flag_k = FK_CMP; 23212 RECOMP_BACKEDGE(); 23213 if (CMP_NE(_flag_a, _flag_b)) goto L_251162A8; /* 0x25116422: jne 0x251162a8 */ 23214 L_25116428: 23215 edx = MEM32(esi + 0x4); /* 0x25116428: mov edx, dword ptr [esi + 4] */ 23216 eax = MEM32(edx + 0x4); /* 0x2511642B: mov eax, dword ptr [edx + 4] */ 23217 ecx = MEM32(ebp + (-0x4)); /* 0x2511642E: mov ecx, dword ptr [ebp - 4] */ 23218 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x25116431: mov byte ptr [eax + 0x2c], bl */ 23219 eax = MEM32(ebp + 0x8); /* 0x25116434: mov eax, dword ptr [ebp + 8] */ 23220 edi = POP32_VAL(esp); /* 0x25116437: pop edi */ 23221 esi = POP32_VAL(esp); /* 0x25116438: pop esi */ 23222 MEM32(eax) = ecx; /* 0x25116439: mov dword ptr [eax], ecx */ 23223 ebx = POP32_VAL(esp); /* 0x2511643B: pop ebx */ 23224 esp = ebp; /* 0x2511643C: mov esp, ebp */ 23225 ebp = POP32_VAL(esp); /* 0x2511643E: pop ebp */ 23226 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2511643F: ret 0x10 */ 23227 RECOMP_REGS_OUT(); 23228 }