client/game/ddr.dll/lifted-0031.c (1208873B)
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_2B076250(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(0x2B076250u); 17 18 L_2B076250: 19 PUSH32(esp, ebp); /* 0x2B076250: push ebp */ 20 ebp = esp; /* 0x2B076251: mov ebp, esp */ 21 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B076253: push -1 */ 22 PUSH32(esp, 0x2B0B1426u); /* 0x2B076255: push 0x2b0b1426 */ 23 eax = MEM32(FS_BASE + (0)); /* 0x2B07625A: mov eax, dword ptr fs:[0] */ 24 PUSH32(esp, eax); /* 0x2B076260: push eax */ 25 MEM32(FS_BASE + (0)) = esp; /* 0x2B076261: mov dword ptr fs:[0], esp */ 26 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xD0u); 27 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28 esp = esp - 0xD0u; /* 0x2B076268: sub esp, 0xd0 */ 29 _flag_k = FK_CMP; 30 PUSH32(esp, esi); /* 0x2B07626E: push esi */ 31 esi = ecx; /* 0x2B07626F: mov esi, ecx */ 32 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B076271: mov al, byte ptr [esi + 0x30] */ 33 /* test LO8(eax), LO8(eax) */ /* 0x2B076274: test al, al */ 34 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35 _cf = 0; 36 _flag_k = FK_NARROW(FK_TEST, 24); 37 PUSH32(esp, edi); /* 0x2B076276: push edi */ 38 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07628C; /* 0x2B076277: je 0x2b07628c */ 39 L_2B076279: 40 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41 edi = 0; /* 0x2B076279: xor edi, edi */ 42 _cf = 0; 43 _flag_k = FK_TEST; 44 eax = ebp + (-0x14); /* 0x2B07627B: lea eax, [ebp - 0x14] */ 45 PUSH32(esp, eax); /* 0x2B07627E: push eax */ 46 MEM32(ebp + (-0x14)) = edi; /* 0x2B07627F: mov dword ptr [ebp - 0x14], edi */ 47 MEM32(ebp + (-0x10)) = edi; /* 0x2B076282: mov dword ptr [ebp - 0x10], edi */ 48 RECOMP_ICALL(0x2B076490u); /* 0x2B076285: call 0x2b076490 */ /* not lifted */ 49 RECOMP_FLAGS_IN(); 50 goto L_2B07628E; /* 0x2B07628A: jmp 0x2b07628e */ 51 L_2B07628C: 52 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 53 edi = 0; /* 0x2B07628C: xor edi, edi */ 54 _cf = 0; 55 _flag_k = FK_TEST; 56 L_2B07628E: 57 ecx = MEM32(ebp + 0x10); /* 0x2B07628E: mov ecx, dword ptr [ebp + 0x10] */ 58 /* cmp ecx, edi */ /* 0x2B076291: cmp ecx, edi */ 59 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 60 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 61 _flag_k = FK_CMP; 62 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0762F6; /* 0x2B076293: jne 0x2b0762f6 */ 63 L_2B076295: 64 ecx = ebp + (-0xDC); /* 0x2B076295: lea ecx, [ebp - 0xdc] */ 65 PUSH32(esp, 0x2B0EC288u); /* 0x2B07629B: push 0x2b0ec288 */ 66 PUSH32(esp, ecx); /* 0x2B0762A0: push ecx */ 67 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0762A1: call dword ptr [0x2b0b51f0] */ 68 RECOMP_FLAGS_IN(); 69 esi = MEM32(0x2B0B53CC); /* 0x2B0762A7: mov esi, dword ptr [0x2b0b53cc] */ 70 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 71 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 72 esp = esp + 8; /* 0x2B0762AD: add esp, 8 */ 73 _flag_k = FK_ADD; 74 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 75 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0762B0: or ecx, 0xffffffff */ 76 _cf = 0; 77 _flag_k = FK_TEST; 78 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 79 eax = 0; /* 0x2B0762B3: xor eax, eax */ 80 _cf = 0; 81 _flag_k = FK_TEST; 82 edi = ebp + (-0xDC); /* 0x2B0762B5: lea edi, [ebp - 0xdc] */ 83 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; } /* 0x2B0762BB: repne scasb al, byte ptr es:[edi] */ 84 ecx = ~ecx; /* 0x2B0762BD: not ecx */ 85 PUSH32(esp, ecx); /* 0x2B0762BF: push ecx */ 86 edx = ebp + (-0xDC); /* 0x2B0762C0: lea edx, [ebp - 0xdc] */ 87 PUSH32(esp, edx); /* 0x2B0762C6: push edx */ 88 PUSH32(esp, 0x99u); /* 0x2B0762C7: push 0x99 */ 89 PUSH32(esp, 3); /* 0x2B0762CC: push 3 */ 90 RECOMP_ICALL(esi); /* 0x2B0762CE: call esi */ 91 RECOMP_FLAGS_IN(); 92 ecx = eax; /* 0x2B0762D0: mov ecx, eax */ 93 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B0762D2: call dword ptr [0x2b0b53c4] */ 94 RECOMP_FLAGS_IN(); 95 PUSH32(esp, 0xCu); /* 0x2B0762D8: push 0xc */ 96 RECOMP_ICALL(esi); /* 0x2B0762DA: call esi */ 97 RECOMP_FLAGS_IN(); 98 ecx = eax; /* 0x2B0762DC: mov ecx, eax */ 99 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B0762DE: call dword ptr [0x2b0b53b0] */ 100 RECOMP_FLAGS_IN(); 101 edi = POP32_VAL(esp); /* 0x2B0762E4: pop edi */ 102 esi = POP32_VAL(esp); /* 0x2B0762E5: pop esi */ 103 ecx = MEM32(ebp + (-0xC)); /* 0x2B0762E6: mov ecx, dword ptr [ebp - 0xc] */ 104 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0762E9: mov dword ptr fs:[0], ecx */ 105 esp = ebp; /* 0x2B0762F0: mov esp, ebp */ 106 ebp = POP32_VAL(esp); /* 0x2B0762F2: pop ebp */ 107 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0762F3: ret 0xc */ 108 L_2B0762F6: 109 eax = MEM32(ebp + 0x8); /* 0x2B0762F6: mov eax, dword ptr [ebp + 8] */ 110 edx = MEM32(eax); /* 0x2B0762F9: mov edx, dword ptr [eax] */ 111 MEM32(esi + 0x14) = edx; /* 0x2B0762FB: mov dword ptr [esi + 0x14], edx */ 112 eax = MEM32(eax + 0x4); /* 0x2B0762FE: mov eax, dword ptr [eax + 4] */ 113 MEM32(esi + 0x18) = eax; /* 0x2B076301: mov dword ptr [esi + 0x18], eax */ 114 eax = MEM32(ebp + 0xC); /* 0x2B076304: mov eax, dword ptr [ebp + 0xc] */ 115 PUSH32(esp, ebx); /* 0x2B076307: push ebx */ 116 ebx = MEM32(eax); /* 0x2B076308: mov ebx, dword ptr [eax] */ 117 edx = esi + 0x1C; /* 0x2B07630A: lea edx, [esi + 0x1c] */ 118 MEM32(edx) = ebx; /* 0x2B07630D: mov dword ptr [edx], ebx */ 119 ebx = MEM32(eax + 0x4); /* 0x2B07630F: mov ebx, dword ptr [eax + 4] */ 120 MEM32(edx + 0x4) = ebx; /* 0x2B076312: mov dword ptr [edx + 4], ebx */ 121 eax = MEM32(eax + 0x8); /* 0x2B076315: mov eax, dword ptr [eax + 8] */ 122 ebx = 1; /* 0x2B076318: mov ebx, 1 */ 123 PUSH32(esp, 0x34u); /* 0x2B07631D: push 0x34 */ 124 MEM32(edx + 0x8) = eax; /* 0x2B07631F: mov dword ptr [edx + 8], eax */ 125 MEM32(esi + 0x28) = ecx; /* 0x2B076322: mov dword ptr [esi + 0x28], ecx */ 126 MEM8(esi + 0x30) = (uint8_t)(LO8(ebx)); /* 0x2B076325: mov byte ptr [esi + 0x30], bl */ 127 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076328: call 0x2b0ab212 */ /* not lifted */ 128 RECOMP_FLAGS_IN(); 129 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 130 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 131 esp = esp + 4; /* 0x2B07632D: add esp, 4 */ 132 _flag_k = FK_ADD; 133 MEM32(ebp + 0x10) = eax; /* 0x2B076330: mov dword ptr [ebp + 0x10], eax */ 134 /* cmp eax, edi */ /* 0x2B076333: cmp eax, edi */ 135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 137 _flag_k = FK_CMP; 138 MEM32(ebp + (-0x4)) = edi; /* 0x2B076335: mov dword ptr [ebp - 4], edi */ 139 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076351; /* 0x2B076338: je 0x2b076351 */ 140 L_2B07633A: 141 ecx = MEM32(esi + 0x8); /* 0x2B07633A: mov ecx, dword ptr [esi + 8] */ 142 ecx = MEM32(ecx + 0x28); /* 0x2B07633D: mov ecx, dword ptr [ecx + 0x28] */ 143 edx = MEM32(ecx + 0x8); /* 0x2B076340: mov edx, dword ptr [ecx + 8] */ 144 PUSH32(esp, 2); /* 0x2B076343: push 2 */ 145 PUSH32(esp, edx); /* 0x2B076345: push edx */ 146 PUSH32(esp, ebx); /* 0x2B076346: push ebx */ 147 ecx = eax; /* 0x2B076347: mov ecx, eax */ 148 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B076349: call dword ptr [0x2b0b5650] */ 149 RECOMP_FLAGS_IN(); 150 goto L_2B076353; /* 0x2B07634F: jmp 0x2b076353 */ 151 L_2B076351: 152 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 153 eax = 0; /* 0x2B076351: xor eax, eax */ 154 _cf = 0; 155 _flag_k = FK_TEST; 156 L_2B076353: 157 PUSH32(esp, edi); /* 0x2B076353: push edi */ 158 PUSH32(esp, 0x00FFFF00u); /* 0x2B076354: push 0xffff00 */ 159 PUSH32(esp, edi); /* 0x2B076359: push edi */ 160 ecx = eax; /* 0x2B07635A: mov ecx, eax */ 161 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07635C: mov dword ptr [ebp - 4], 0xffffffff */ 162 MEM32(esi + 0x38) = eax; /* 0x2B076363: mov dword ptr [esi + 0x38], eax */ 163 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B076366: call dword ptr [0x2b0b564c] */ 164 RECOMP_FLAGS_IN(); 165 PUSH32(esp, 0xD8u); /* 0x2B07636C: push 0xd8 */ 166 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076371: call 0x2b0ab212 */ /* not lifted */ 167 RECOMP_FLAGS_IN(); 168 edi = eax; /* 0x2B076376: mov edi, eax */ 169 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 171 esp = esp + 4; /* 0x2B076378: add esp, 4 */ 172 _flag_k = FK_ADD; 173 MEM32(ebp + 0xC) = edi; /* 0x2B07637B: mov dword ptr [ebp + 0xc], edi */ 174 /* test edi, edi */ /* 0x2B07637E: test edi, edi */ 175 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 176 _cf = 0; 177 _flag_k = FK_TEST; 178 MEM32(ebp + (-0x4)) = ebx; /* 0x2B076380: mov dword ptr [ebp - 4], ebx */ 179 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0763BC; /* 0x2B076383: je 0x2b0763bc */ 180 L_2B076385: 181 edx = MEM32(esi + 0x38); /* 0x2B076385: mov edx, dword ptr [esi + 0x38] */ 182 eax = ebp + 0x10; /* 0x2B076388: lea eax, [ebp + 0x10] */ 183 PUSH32(esp, eax); /* 0x2B07638B: push eax */ 184 ecx = ebp + 0x8; /* 0x2B07638C: lea ecx, [ebp + 8] */ 185 PUSH32(esp, ecx); /* 0x2B07638F: push ecx */ 186 PUSH32(esp, 0); /* 0x2B076390: push 0 */ 187 PUSH32(esp, 0x2711u); /* 0x2B076392: push 0x2711 */ 188 PUSH32(esp, edx); /* 0x2B076397: push edx */ 189 eax = esi + 0xC; /* 0x2B076398: lea eax, [esi + 0xc] */ 190 PUSH32(esp, eax); /* 0x2B07639B: push eax */ 191 ecx = edi; /* 0x2B07639C: mov ecx, edi */ 192 MEM32(ebp + 0x10) = 0x3F800000u; /* 0x2B07639E: mov dword ptr [ebp + 0x10], 0x3f800000 */ 193 MEM32(ebp + 0x8) = 0x3F800000u; /* 0x2B0763A5: mov dword ptr [ebp + 8], 0x3f800000 */ 194 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B0763AC: call dword ptr [0x2b0b5654] */ 195 RECOMP_FLAGS_IN(); 196 MEM32(edi) = 0x2B0B618Cu; /* 0x2B0763B2: mov dword ptr [edi], 0x2b0b618c */ 197 ecx = edi; /* 0x2B0763B8: mov ecx, edi */ 198 goto L_2B0763BE; /* 0x2B0763BA: jmp 0x2b0763be */ 199 L_2B0763BC: 200 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 201 ecx = 0; /* 0x2B0763BC: xor ecx, ecx */ 202 _cf = 0; 203 _flag_k = FK_TEST; 204 L_2B0763BE: 205 MEM32(esi + 0x34) = ecx; /* 0x2B0763BE: mov dword ptr [esi + 0x34], ecx */ 206 edx = MEM32(ecx); /* 0x2B0763C1: mov edx, dword ptr [ecx] */ 207 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0763C3: mov dword ptr [ebp - 4], 0xffffffff */ 208 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B0763CA: call dword ptr [edx + 0xc] */ 209 RECOMP_FLAGS_IN(); 210 eax = ebp + (-0xDC); /* 0x2B0763CD: lea eax, [ebp - 0xdc] */ 211 PUSH32(esp, 0x2B0EC258u); /* 0x2B0763D3: push 0x2b0ec258 */ 212 PUSH32(esp, eax); /* 0x2B0763D8: push eax */ 213 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0763D9: call dword ptr [0x2b0b51f0] */ 214 RECOMP_FLAGS_IN(); 215 ebx = MEM32(0x2B0B53CC); /* 0x2B0763DF: mov ebx, dword ptr [0x2b0b53cc] */ 216 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 218 esp = esp + 8; /* 0x2B0763E5: add esp, 8 */ 219 _flag_k = FK_ADD; 220 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 221 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0763E8: or ecx, 0xffffffff */ 222 _cf = 0; 223 _flag_k = FK_TEST; 224 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 225 eax = 0; /* 0x2B0763EB: xor eax, eax */ 226 _cf = 0; 227 _flag_k = FK_TEST; 228 edi = ebp + (-0xDC); /* 0x2B0763ED: lea edi, [ebp - 0xdc] */ 229 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; } /* 0x2B0763F3: repne scasb al, byte ptr es:[edi] */ 230 ecx = ~ecx; /* 0x2B0763F5: not ecx */ 231 PUSH32(esp, ecx); /* 0x2B0763F7: push ecx */ 232 ecx = ebp + (-0xDC); /* 0x2B0763F8: lea ecx, [ebp - 0xdc] */ 233 PUSH32(esp, ecx); /* 0x2B0763FE: push ecx */ 234 PUSH32(esp, 0x99u); /* 0x2B0763FF: push 0x99 */ 235 PUSH32(esp, 3); /* 0x2B076404: push 3 */ 236 RECOMP_ICALL(ebx); /* 0x2B076406: call ebx */ 237 RECOMP_FLAGS_IN(); 238 ecx = eax; /* 0x2B076408: mov ecx, eax */ 239 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B07640A: call dword ptr [0x2b0b53c4] */ 240 RECOMP_FLAGS_IN(); 241 PUSH32(esp, 0x10u); /* 0x2B076410: push 0x10 */ 242 RECOMP_ICALL(ebx); /* 0x2B076412: call ebx */ 243 RECOMP_FLAGS_IN(); 244 ecx = eax; /* 0x2B076414: mov ecx, eax */ 245 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B076416: call dword ptr [0x2b0b53b0] */ 246 RECOMP_FLAGS_IN(); 247 edx = MEM32(esi + 0x28); /* 0x2B07641C: mov edx, dword ptr [esi + 0x28] */ 248 /* cmp edx, MEM32(esi + 0x2C) */ /* 0x2B07641F: cmp edx, dword ptr [esi + 0x2c] */ 249 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 251 _flag_k = FK_CMP; 252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B076432; /* 0x2B076422: jne 0x2b076432 */ 253 L_2B076424: 254 PUSH32(esp, 0x2B0EC200u); /* 0x2B076424: push 0x2b0ec200 */ 255 eax = ebp + (-0xDC); /* 0x2B076429: lea eax, [ebp - 0xdc] */ 256 PUSH32(esp, eax); /* 0x2B07642F: push eax */ 257 goto L_2B07643E; /* 0x2B076430: jmp 0x2b07643e */ 258 L_2B076432: 259 PUSH32(esp, 0x2B0EC1B0u); /* 0x2B076432: push 0x2b0ec1b0 */ 260 ecx = ebp + (-0xDC); /* 0x2B076437: lea ecx, [ebp - 0xdc] */ 261 PUSH32(esp, ecx); /* 0x2B07643D: push ecx */ 262 L_2B07643E: 263 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07643E: call dword ptr [0x2b0b51f0] */ 264 RECOMP_FLAGS_IN(); 265 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 267 esp = esp + 8; /* 0x2B076444: add esp, 8 */ 268 _flag_k = FK_ADD; 269 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 270 ecx = ecx | 0xFFFFFFFFu; /* 0x2B076447: or ecx, 0xffffffff */ 271 _cf = 0; 272 _flag_k = FK_TEST; 273 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 274 eax = 0; /* 0x2B07644A: xor eax, eax */ 275 _cf = 0; 276 _flag_k = FK_TEST; 277 edi = ebp + (-0xDC); /* 0x2B07644C: lea edi, [ebp - 0xdc] */ 278 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; } /* 0x2B076452: repne scasb al, byte ptr es:[edi] */ 279 ecx = ~ecx; /* 0x2B076454: not ecx */ 280 PUSH32(esp, ecx); /* 0x2B076456: push ecx */ 281 edx = ebp + (-0xDC); /* 0x2B076457: lea edx, [ebp - 0xdc] */ 282 PUSH32(esp, edx); /* 0x2B07645D: push edx */ 283 PUSH32(esp, 0x99u); /* 0x2B07645E: push 0x99 */ 284 PUSH32(esp, 3); /* 0x2B076463: push 3 */ 285 RECOMP_ICALL(ebx); /* 0x2B076465: call ebx */ 286 RECOMP_FLAGS_IN(); 287 ecx = eax; /* 0x2B076467: mov ecx, eax */ 288 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B076469: call dword ptr [0x2b0b53c4] */ 289 RECOMP_FLAGS_IN(); 290 PUSH32(esp, 0x10u); /* 0x2B07646F: push 0x10 */ 291 RECOMP_ICALL(ebx); /* 0x2B076471: call ebx */ 292 RECOMP_FLAGS_IN(); 293 ecx = eax; /* 0x2B076473: mov ecx, eax */ 294 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B076475: call dword ptr [0x2b0b53b0] */ 295 RECOMP_FLAGS_IN(); 296 ecx = MEM32(ebp + (-0xC)); /* 0x2B07647B: mov ecx, dword ptr [ebp - 0xc] */ 297 ebx = POP32_VAL(esp); /* 0x2B07647E: pop ebx */ 298 edi = POP32_VAL(esp); /* 0x2B07647F: pop edi */ 299 esi = POP32_VAL(esp); /* 0x2B076480: pop esi */ 300 MEM32(FS_BASE + (0)) = ecx; /* 0x2B076481: mov dword ptr fs:[0], ecx */ 301 esp = ebp; /* 0x2B076488: mov esp, ebp */ 302 ebp = POP32_VAL(esp); /* 0x2B07648A: pop ebp */ 303 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07648B: ret 0xc */ 304 RECOMP_REGS_OUT(); 305 } 306 307 void sub_2B076490(void) { 308 int _fpu_cmp = 0; 309 uint32_t _cf = 0; 310 int _df = 1; 311 uint32_t _flag_k = FK_NONE; 312 uint32_t _flag_a = 0, _flag_b = 0; 313 uint32_t _itail_tgt = 0; 314 RECOMP_REGS_LOCALS 315 RECOMP_ENTER(0x2B076490u); 316 317 L_2B076490: 318 PUSH32(esp, ebx); /* 0x2B076490: push ebx */ 319 PUSH32(esp, esi); /* 0x2B076491: push esi */ 320 esi = ecx; /* 0x2B076492: mov esi, ecx */ 321 ecx = MEM32(esi + 0x34); /* 0x2B076494: mov ecx, dword ptr [esi + 0x34] */ 322 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 323 ebx = 0; /* 0x2B076497: xor ebx, ebx */ 324 _cf = 0; 325 _flag_k = FK_TEST; 326 /* cmp ecx, ebx */ /* 0x2B076499: cmp ecx, ebx */ 327 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 329 _flag_k = FK_CMP; 330 PUSH32(esp, edi); /* 0x2B07649B: push edi */ 331 MEM8(esi + 0x30) = (uint8_t)(LO8(ebx)); /* 0x2B07649C: mov byte ptr [esi + 0x30], bl */ 332 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0764A7; /* 0x2B07649F: je 0x2b0764a7 */ 333 L_2B0764A1: 334 eax = MEM32(ecx); /* 0x2B0764A1: mov eax, dword ptr [ecx] */ 335 PUSH32(esp, 1); /* 0x2B0764A3: push 1 */ 336 RECOMP_ICALL(MEM32(eax)); /* 0x2B0764A5: call dword ptr [eax] */ 337 RECOMP_FLAGS_IN(); 338 L_2B0764A7: 339 edi = MEM32(esi + 0x38); /* 0x2B0764A7: mov edi, dword ptr [esi + 0x38] */ 340 /* cmp edi, ebx */ /* 0x2B0764AA: cmp edi, ebx */ 341 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 343 _flag_k = FK_CMP; 344 MEM32(esi + 0x34) = ebx; /* 0x2B0764AC: mov dword ptr [esi + 0x34], ebx */ 345 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0764C2; /* 0x2B0764AF: je 0x2b0764c2 */ 346 L_2B0764B1: 347 ecx = edi; /* 0x2B0764B1: mov ecx, edi */ 348 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B0764B3: call dword ptr [0x2b0b5644] */ 349 RECOMP_FLAGS_IN(); 350 PUSH32(esp, edi); /* 0x2B0764B9: push edi */ 351 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0764BA: call 0x2b0ab1ba */ /* not lifted */ 352 RECOMP_FLAGS_IN(); 353 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 354 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 355 esp = esp + 4; /* 0x2B0764BF: add esp, 4 */ 356 _flag_k = FK_ADD; 357 L_2B0764C2: 358 edi = POP32_VAL(esp); /* 0x2B0764C2: pop edi */ 359 MEM32(esi + 0x38) = ebx; /* 0x2B0764C3: mov dword ptr [esi + 0x38], ebx */ 360 esi = POP32_VAL(esp); /* 0x2B0764C6: pop esi */ 361 ebx = POP32_VAL(esp); /* 0x2B0764C7: pop ebx */ 362 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0764C8: ret 4 */ 363 RECOMP_REGS_OUT(); 364 } 365 366 void sub_2B0764D0(void) { 367 int _fpu_cmp = 0; 368 uint32_t _cf = 0; 369 int _df = 1; 370 uint32_t _flag_k = FK_NONE; 371 uint32_t _flag_a = 0, _flag_b = 0; 372 uint32_t _itail_tgt = 0; 373 RECOMP_REGS_LOCALS 374 RECOMP_ENTER(0x2B0764D0u); 375 376 L_2B0764D0: 377 PUSH32(esp, ebp); /* 0x2B0764D0: push ebp */ 378 ebp = esp; /* 0x2B0764D1: mov ebp, esp */ 379 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xC8u); 380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 381 esp = esp - 0xC8u; /* 0x2B0764D3: sub esp, 0xc8 */ 382 _flag_k = FK_CMP; 383 SET_LO8(edx, MEM8(ecx + 0x30)); /* 0x2B0764D9: mov dl, byte ptr [ecx + 0x30] */ 384 /* test LO8(edx), LO8(edx) */ /* 0x2B0764DC: test dl, dl */ 385 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 386 _cf = 0; 387 _flag_k = FK_NARROW(FK_TEST, 24); 388 eax = MEM32(ebp + 0x8); /* 0x2B0764DE: mov eax, dword ptr [ebp + 8] */ 389 MEM32(ecx + 0x2C) = eax; /* 0x2B0764E1: mov dword ptr [ecx + 0x2c], eax */ 390 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07653E; /* 0x2B0764E4: je 0x2b07653e */ 391 L_2B0764E6: 392 /* cmp MEM32(ecx + 0x28), eax */ /* 0x2B0764E6: cmp dword ptr [ecx + 0x28], eax */ 393 _flag_a = (uint32_t)(MEM32(ecx + 0x28)); _flag_b = (uint32_t)(eax); 394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 395 _flag_k = FK_CMP; 396 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07653E; /* 0x2B0764E9: jne 0x2b07653e */ 397 L_2B0764EB: 398 PUSH32(esp, esi); /* 0x2B0764EB: push esi */ 399 PUSH32(esp, edi); /* 0x2B0764EC: push edi */ 400 eax = ebp + (-0xC8); /* 0x2B0764ED: lea eax, [ebp - 0xc8] */ 401 PUSH32(esp, 0x2B0EC2B4u); /* 0x2B0764F3: push 0x2b0ec2b4 */ 402 PUSH32(esp, eax); /* 0x2B0764F8: push eax */ 403 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0764F9: call dword ptr [0x2b0b51f0] */ 404 RECOMP_FLAGS_IN(); 405 esi = MEM32(0x2B0B53CC); /* 0x2B0764FF: mov esi, dword ptr [0x2b0b53cc] */ 406 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 408 esp = esp + 8; /* 0x2B076505: add esp, 8 */ 409 _flag_k = FK_ADD; 410 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 411 ecx = ecx | 0xFFFFFFFFu; /* 0x2B076508: or ecx, 0xffffffff */ 412 _cf = 0; 413 _flag_k = FK_TEST; 414 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 415 eax = 0; /* 0x2B07650B: xor eax, eax */ 416 _cf = 0; 417 _flag_k = FK_TEST; 418 edi = ebp + (-0xC8); /* 0x2B07650D: lea edi, [ebp - 0xc8] */ 419 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; } /* 0x2B076513: repne scasb al, byte ptr es:[edi] */ 420 ecx = ~ecx; /* 0x2B076515: not ecx */ 421 PUSH32(esp, ecx); /* 0x2B076517: push ecx */ 422 ecx = ebp + (-0xC8); /* 0x2B076518: lea ecx, [ebp - 0xc8] */ 423 PUSH32(esp, ecx); /* 0x2B07651E: push ecx */ 424 PUSH32(esp, 0x99u); /* 0x2B07651F: push 0x99 */ 425 PUSH32(esp, 3); /* 0x2B076524: push 3 */ 426 RECOMP_ICALL(esi); /* 0x2B076526: call esi */ 427 RECOMP_FLAGS_IN(); 428 ecx = eax; /* 0x2B076528: mov ecx, eax */ 429 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B07652A: call dword ptr [0x2b0b53c4] */ 430 RECOMP_FLAGS_IN(); 431 PUSH32(esp, 0x10u); /* 0x2B076530: push 0x10 */ 432 RECOMP_ICALL(esi); /* 0x2B076532: call esi */ 433 RECOMP_FLAGS_IN(); 434 ecx = eax; /* 0x2B076534: mov ecx, eax */ 435 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B076536: call dword ptr [0x2b0b53b0] */ 436 RECOMP_FLAGS_IN(); 437 edi = POP32_VAL(esp); /* 0x2B07653C: pop edi */ 438 esi = POP32_VAL(esp); /* 0x2B07653D: pop esi */ 439 L_2B07653E: 440 esp = ebp; /* 0x2B07653E: mov esp, ebp */ 441 ebp = POP32_VAL(esp); /* 0x2B076540: pop ebp */ 442 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B076541: ret 4 */ 443 RECOMP_REGS_OUT(); 444 } 445 446 void sub_2B076550(void) { 447 int _fpu_cmp = 0; 448 uint32_t _cf = 0; 449 int _df = 1; 450 uint32_t _flag_k = FK_NONE; 451 uint32_t _flag_a = 0, _flag_b = 0; 452 uint32_t _itail_tgt = 0; 453 RECOMP_REGS_LOCALS 454 RECOMP_ENTER(0x2B076550u); 455 456 L_2B076550: 457 PUSH32(esp, ebp); /* 0x2B076550: push ebp */ 458 ebp = esp; /* 0x2B076551: mov ebp, esp */ 459 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B076553: push -1 */ 460 PUSH32(esp, 0x2B0B152Du); /* 0x2B076555: push 0x2b0b152d */ 461 eax = MEM32(FS_BASE + (0)); /* 0x2B07655A: mov eax, dword ptr fs:[0] */ 462 PUSH32(esp, eax); /* 0x2B076560: push eax */ 463 MEM32(FS_BASE + (0)) = esp; /* 0x2B076561: mov dword ptr fs:[0], esp */ 464 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x70u); 465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 466 esp = esp - 0x70u; /* 0x2B076568: sub esp, 0x70 */ 467 _flag_k = FK_CMP; 468 PUSH32(esp, ebx); /* 0x2B07656B: push ebx */ 469 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 470 ebx = 0; /* 0x2B07656C: xor ebx, ebx */ 471 _cf = 0; 472 _flag_k = FK_TEST; 473 PUSH32(esp, esi); /* 0x2B07656E: push esi */ 474 esi = ecx; /* 0x2B07656F: mov esi, ecx */ 475 PUSH32(esp, edi); /* 0x2B076571: push edi */ 476 MEM8(esi + 0x4) = (uint8_t)(LO8(ebx)); /* 0x2B076572: mov byte ptr [esi + 4], bl */ 477 MEM32(esi + 0x8) = 0xFFFFFFFFu; /* 0x2B076575: mov dword ptr [esi + 8], 0xffffffff */ 478 MEM32(esi + 0x14) = ebx; /* 0x2B07657C: mov dword ptr [esi + 0x14], ebx */ 479 MEM32(esi + 0x18) = ebx; /* 0x2B07657F: mov dword ptr [esi + 0x18], ebx */ 480 MEM8(esi + 0x80) = (uint8_t)(LO8(ebx)); /* 0x2B076582: mov byte ptr [esi + 0x80], bl */ 481 MEM32(esi + 0x88) = ebx; /* 0x2B076588: mov dword ptr [esi + 0x88], ebx */ 482 MEM8(esi + 0x90) = (uint8_t)(LO8(ebx)); /* 0x2B07658E: mov byte ptr [esi + 0x90], bl */ 483 MEM32(0x2B0EF02C) = esi; /* 0x2B076594: mov dword ptr [0x2b0ef02c], esi */ 484 PUSH32(esp, 0x14u); /* 0x2B07659A: push 0x14 */ 485 MEM32(esi) = 0x4E20u; /* 0x2B07659C: mov dword ptr [esi], 0x4e20 */ 486 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0765A2: call 0x2b0ab212 */ /* not lifted */ 487 RECOMP_FLAGS_IN(); 488 edi = eax; /* 0x2B0765A7: mov edi, eax */ 489 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 490 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 491 esp = esp + 4; /* 0x2B0765A9: add esp, 4 */ 492 _flag_k = FK_ADD; 493 MEM32(ebp + (-0x28)) = edi; /* 0x2B0765AC: mov dword ptr [ebp - 0x28], edi */ 494 /* cmp edi, ebx */ /* 0x2B0765AF: cmp edi, ebx */ 495 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 497 _flag_k = FK_CMP; 498 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0765B1: mov dword ptr [ebp - 4], ebx */ 499 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076613; /* 0x2B0765B4: je 0x2b076613 */ 500 L_2B0765B6: 501 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B0765B6: mov al, byte ptr [ebp - 0xd] */ 502 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B0765B9: mov cl, byte ptr [ebp - 0xd] */ 503 PUSH32(esp, 0x18u); /* 0x2B0765BC: push 0x18 */ 504 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B0765BE: mov byte ptr [edi], al */ 505 MEM8(edi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B0765C0: mov byte ptr [edi + 1], cl */ 506 MEM8(edi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B0765C3: mov byte ptr [edi + 0xc], bl */ 507 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0765C6: call 0x2b0ab212 */ /* not lifted */ 508 RECOMP_FLAGS_IN(); 509 MEM32(eax + 0x4) = ebx; /* 0x2B0765CB: mov dword ptr [eax + 4], ebx */ 510 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B0765CE: mov byte ptr [eax + 0x14], 1 */ 511 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2B0765D2: mov byte ptr [eax + 0x15], bl */ 512 MEM32(edi + 0x8) = eax; /* 0x2B0765D5: mov dword ptr [edi + 8], eax */ 513 MEM8(eax + 0x15) = (uint8_t)(1); /* 0x2B0765D8: mov byte ptr [eax + 0x15], 1 */ 514 eax = MEM32(edi + 0x8); /* 0x2B0765DC: mov eax, dword ptr [edi + 8] */ 515 MEM32(eax) = ebx; /* 0x2B0765DF: mov dword ptr [eax], ebx */ 516 edx = MEM32(edi + 0x8); /* 0x2B0765E1: mov edx, dword ptr [edi + 8] */ 517 MEM32(edx + 0x8) = ebx; /* 0x2B0765E4: mov dword ptr [edx + 8], ebx */ 518 eax = MEM32(edi + 0x8); /* 0x2B0765E7: mov eax, dword ptr [edi + 8] */ 519 PUSH32(esp, 0x18u); /* 0x2B0765EA: push 0x18 */ 520 MEM32(ebp + (-0x14)) = eax; /* 0x2B0765EC: mov dword ptr [ebp - 0x14], eax */ 521 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0765EF: call 0x2b0ab212 */ /* not lifted */ 522 RECOMP_FLAGS_IN(); 523 ecx = MEM32(ebp + (-0x14)); /* 0x2B0765F4: mov ecx, dword ptr [ebp - 0x14] */ 524 MEM32(eax + 0x4) = ecx; /* 0x2B0765F7: mov dword ptr [eax + 4], ecx */ 525 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B0765FA: mov byte ptr [eax + 0x14], bl */ 526 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2B0765FD: mov byte ptr [eax + 0x15], bl */ 527 MEM32(edi + 0x4) = eax; /* 0x2B076600: mov dword ptr [edi + 4], eax */ 528 MEM32(eax) = eax; /* 0x2B076603: mov dword ptr [eax], eax */ 529 eax = MEM32(edi + 0x4); /* 0x2B076605: mov eax, dword ptr [edi + 4] */ 530 MEM32(eax + 0x8) = eax; /* 0x2B076608: mov dword ptr [eax + 8], eax */ 531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 533 esp = esp + 8; /* 0x2B07660B: add esp, 8 */ 534 _flag_k = FK_ADD; 535 MEM32(edi + 0x10) = ebx; /* 0x2B07660E: mov dword ptr [edi + 0x10], ebx */ 536 goto L_2B076615; /* 0x2B076611: jmp 0x2b076615 */ 537 L_2B076613: 538 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 539 edi = 0; /* 0x2B076613: xor edi, edi */ 540 _cf = 0; 541 _flag_k = FK_TEST; 542 L_2B076615: 543 MEM32(esi + 0x84) = edi; /* 0x2B076615: mov dword ptr [esi + 0x84], edi */ 544 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07661B: mov dword ptr [ebp - 4], 0xffffffff */ 545 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 546 edi = 0; /* 0x2B076622: xor edi, edi */ 547 _cf = 0; 548 _flag_k = FK_TEST; 549 L_2B076624: 550 ecx = MEM32(esi + 0x84); /* 0x2B076624: mov ecx, dword ptr [esi + 0x84] */ 551 edx = ebp + (-0x2C); /* 0x2B07662A: lea edx, [ebp - 0x2c] */ 552 PUSH32(esp, edx); /* 0x2B07662D: push edx */ 553 eax = ebp + (-0x24); /* 0x2B07662E: lea eax, [ebp - 0x24] */ 554 PUSH32(esp, eax); /* 0x2B076631: push eax */ 555 MEM32(ebp + (-0x2C)) = edi; /* 0x2B076632: mov dword ptr [ebp - 0x2c], edi */ 556 MEM32(ebp + (-0x28)) = ebx; /* 0x2B076635: mov dword ptr [ebp - 0x28], ebx */ 557 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B076638: call 0x2b06a0b0 */ /* not lifted */ 558 RECOMP_FLAGS_IN(); 559 ecx = eax; /* 0x2B07663D: mov ecx, eax */ 560 eax = MEM32(ecx); /* 0x2B07663F: mov eax, dword ptr [ecx] */ 561 edx = MEM32(ecx + 0x4); /* 0x2B076641: mov edx, dword ptr [ecx + 4] */ 562 PUSH32(esp, edi); /* 0x2B076644: push edi */ 563 ecx = esi; /* 0x2B076645: mov ecx, esi */ 564 MEM32(ebp + (-0x18)) = edx; /* 0x2B076647: mov dword ptr [ebp - 0x18], edx */ 565 MEM32(eax + 0x10) = ebx; /* 0x2B07664A: mov dword ptr [eax + 0x10], ebx */ 566 RECOMP_ICALL(0x2B0780A0u); /* 0x2B07664D: call 0x2b0780a0 */ /* not lifted */ 567 RECOMP_FLAGS_IN(); 568 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 569 edi = edi + 1; /* 0x2B076652: inc edi */ 570 _flag_k = FK_INC; 571 /* cmp edi, 0x64u */ /* 0x2B076653: cmp edi, 0x64 */ 572 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 574 _flag_k = FK_CMP; 575 RECOMP_BACKEDGE(); 576 if (CMP_L(_flag_a, _flag_b)) goto L_2B076624; /* 0x2B076656: jl 0x2b076624 */ 577 L_2B076658: 578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 579 eax = 0; /* 0x2B076658: xor eax, eax */ 580 _cf = 0; 581 _flag_k = FK_TEST; 582 MEM32(esi + 0xC) = eax; /* 0x2B07665A: mov dword ptr [esi + 0xc], eax */ 583 PUSH32(esp, 0x34u); /* 0x2B07665D: push 0x34 */ 584 MEM32(ebp + (-0x34)) = eax; /* 0x2B07665F: mov dword ptr [ebp - 0x34], eax */ 585 MEM32(ebp + (-0x30)) = ebx; /* 0x2B076662: mov dword ptr [ebp - 0x30], ebx */ 586 MEM32(esi + 0x10) = ebx; /* 0x2B076665: mov dword ptr [esi + 0x10], ebx */ 587 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076668: call 0x2b0ab212 */ /* not lifted */ 588 RECOMP_FLAGS_IN(); 589 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 591 esp = esp + 4; /* 0x2B07666D: add esp, 4 */ 592 _flag_k = FK_ADD; 593 MEM32(ebp + (-0x28)) = eax; /* 0x2B076670: mov dword ptr [ebp - 0x28], eax */ 594 /* cmp eax, ebx */ /* 0x2B076673: cmp eax, ebx */ 595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 597 _flag_k = FK_CMP; 598 MEM32(ebp + (-0x4)) = 1; /* 0x2B076675: mov dword ptr [ebp - 4], 1 */ 599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07668E; /* 0x2B07667C: je 0x2b07668e */ 600 L_2B07667E: 601 PUSH32(esp, 2); /* 0x2B07667E: push 2 */ 602 PUSH32(esp, 0x10u); /* 0x2B076680: push 0x10 */ 603 PUSH32(esp, 0x10u); /* 0x2B076682: push 0x10 */ 604 ecx = eax; /* 0x2B076684: mov ecx, eax */ 605 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B076686: call dword ptr [0x2b0b5650] */ 606 RECOMP_FLAGS_IN(); 607 goto L_2B076690; /* 0x2B07668C: jmp 0x2b076690 */ 608 L_2B07668E: 609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 610 eax = 0; /* 0x2B07668E: xor eax, eax */ 611 _cf = 0; 612 _flag_k = FK_TEST; 613 L_2B076690: 614 PUSH32(esp, ebx); /* 0x2B076690: push ebx */ 615 PUSH32(esp, ebx); /* 0x2B076691: push ebx */ 616 PUSH32(esp, ebx); /* 0x2B076692: push ebx */ 617 ecx = eax; /* 0x2B076693: mov ecx, eax */ 618 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076695: mov dword ptr [ebp - 4], 0xffffffff */ 619 MEM32(esi + 0x34) = eax; /* 0x2B07669C: mov dword ptr [esi + 0x34], eax */ 620 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B07669F: call dword ptr [0x2b0b564c] */ 621 RECOMP_FLAGS_IN(); 622 PUSH32(esp, 0xD8u); /* 0x2B0766A5: push 0xd8 */ 623 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0766AA: call 0x2b0ab212 */ /* not lifted */ 624 RECOMP_FLAGS_IN(); 625 edi = eax; /* 0x2B0766AF: mov edi, eax */ 626 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 628 esp = esp + 4; /* 0x2B0766B1: add esp, 4 */ 629 _flag_k = FK_ADD; 630 MEM32(ebp + (-0x28)) = edi; /* 0x2B0766B4: mov dword ptr [ebp - 0x28], edi */ 631 /* cmp edi, ebx */ /* 0x2B0766B7: cmp edi, ebx */ 632 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 634 _flag_k = FK_CMP; 635 MEM32(ebp + (-0x4)) = 2; /* 0x2B0766B9: mov dword ptr [ebp - 4], 2 */ 636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0766F6; /* 0x2B0766C0: je 0x2b0766f6 */ 637 L_2B0766C2: 638 edx = MEM32(esi); /* 0x2B0766C2: mov edx, dword ptr [esi] */ 639 eax = ebp + (-0x14); /* 0x2B0766C4: lea eax, [ebp - 0x14] */ 640 PUSH32(esp, eax); /* 0x2B0766C7: push eax */ 641 eax = MEM32(esi + 0x34); /* 0x2B0766C8: mov eax, dword ptr [esi + 0x34] */ 642 ecx = ebp + (-0x18); /* 0x2B0766CB: lea ecx, [ebp - 0x18] */ 643 PUSH32(esp, ecx); /* 0x2B0766CE: push ecx */ 644 PUSH32(esp, ebx); /* 0x2B0766CF: push ebx */ 645 PUSH32(esp, edx); /* 0x2B0766D0: push edx */ 646 PUSH32(esp, eax); /* 0x2B0766D1: push eax */ 647 ecx = ebp + (-0x34); /* 0x2B0766D2: lea ecx, [ebp - 0x34] */ 648 PUSH32(esp, ecx); /* 0x2B0766D5: push ecx */ 649 ecx = edi; /* 0x2B0766D6: mov ecx, edi */ 650 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B0766D8: mov dword ptr [ebp - 0x14], 0x3f800000 */ 651 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B0766DF: mov dword ptr [ebp - 0x18], 0x3f800000 */ 652 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B0766E6: call dword ptr [0x2b0b5654] */ 653 RECOMP_FLAGS_IN(); 654 MEM32(edi) = 0x2B0B618Cu; /* 0x2B0766EC: mov dword ptr [edi], 0x2b0b618c */ 655 ecx = edi; /* 0x2B0766F2: mov ecx, edi */ 656 goto L_2B0766F8; /* 0x2B0766F4: jmp 0x2b0766f8 */ 657 L_2B0766F6: 658 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 659 ecx = 0; /* 0x2B0766F6: xor ecx, ecx */ 660 _cf = 0; 661 _flag_k = FK_TEST; 662 L_2B0766F8: 663 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 664 edi = edi | 0xFFFFFFFFu; /* 0x2B0766F8: or edi, 0xffffffff */ 665 _cf = 0; 666 _flag_k = FK_TEST; 667 PUSH32(esp, 0x64u); /* 0x2B0766FB: push 0x64 */ 668 MEM32(ebp + (-0x4)) = edi; /* 0x2B0766FD: mov dword ptr [ebp - 4], edi */ 669 MEM32(esi + 0x30) = ecx; /* 0x2B076700: mov dword ptr [esi + 0x30], ecx */ 670 RECOMP_ICALL(MEM32(0x2B0B565C)); /* 0x2B076703: call dword ptr [0x2b0b565c] */ 671 RECOMP_FLAGS_IN(); 672 eax = 0x40u; /* 0x2B076709: mov eax, 0x40 */ 673 PUSH32(esp, 0x50u); /* 0x2B07670E: push 0x50 */ 674 MEM32(ebp + (-0x3C)) = eax; /* 0x2B076710: mov dword ptr [ebp - 0x3c], eax */ 675 MEM32(ebp + (-0x38)) = eax; /* 0x2B076713: mov dword ptr [ebp - 0x38], eax */ 676 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076716: call 0x2b0ab212 */ /* not lifted */ 677 RECOMP_FLAGS_IN(); 678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 680 esp = esp + 4; /* 0x2B07671B: add esp, 4 */ 681 _flag_k = FK_ADD; 682 MEM32(ebp + (-0x28)) = eax; /* 0x2B07671E: mov dword ptr [ebp - 0x28], eax */ 683 /* cmp eax, ebx */ /* 0x2B076721: cmp eax, ebx */ 684 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 686 _flag_k = FK_CMP; 687 MEM32(ebp + (-0x4)) = 3; /* 0x2B076723: mov dword ptr [ebp - 4], 3 */ 688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076750; /* 0x2B07672A: je 0x2b076750 */ 689 L_2B07672C: 690 edx = MEM32(esi); /* 0x2B07672C: mov edx, dword ptr [esi] */ 691 PUSH32(esp, ebx); /* 0x2B07672E: push ebx */ 692 PUSH32(esp, 0x3F800000u); /* 0x2B07672F: push 0x3f800000 */ 693 PUSH32(esp, 0x3F800000u); /* 0x2B076734: push 0x3f800000 */ 694 PUSH32(esp, edx); /* 0x2B076739: push edx */ 695 ecx = ebp + (-0x34); /* 0x2B07673A: lea ecx, [ebp - 0x34] */ 696 PUSH32(esp, ecx); /* 0x2B07673D: push ecx */ 697 edx = ebp + (-0x3C); /* 0x2B07673E: lea edx, [ebp - 0x3c] */ 698 PUSH32(esp, edx); /* 0x2B076741: push edx */ 699 PUSH32(esp, 6); /* 0x2B076742: push 6 */ 700 PUSH32(esp, 6); /* 0x2B076744: push 6 */ 701 ecx = eax; /* 0x2B076746: mov ecx, eax */ 702 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B076748: call dword ptr [0x2b0b5bd8] */ 703 RECOMP_FLAGS_IN(); 704 goto L_2B076752; /* 0x2B07674E: jmp 0x2b076752 */ 705 L_2B076750: 706 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 707 eax = 0; /* 0x2B076750: xor eax, eax */ 708 _cf = 0; 709 _flag_k = FK_TEST; 710 L_2B076752: 711 PUSH32(esp, 1); /* 0x2B076752: push 1 */ 712 MEM32(esi + 0x38) = eax; /* 0x2B076754: mov dword ptr [esi + 0x38], eax */ 713 eax = MEM32(eax + 0x28); /* 0x2B076757: mov eax, dword ptr [eax + 0x28] */ 714 PUSH32(esp, ebx); /* 0x2B07675A: push ebx */ 715 PUSH32(esp, ebx); /* 0x2B07675B: push ebx */ 716 ecx = eax; /* 0x2B07675C: mov ecx, eax */ 717 MEM32(ebp + (-0x4)) = edi; /* 0x2B07675E: mov dword ptr [ebp - 4], edi */ 718 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B076761: call dword ptr [0x2b0b564c] */ 719 RECOMP_FLAGS_IN(); 720 PUSH32(esp, 0x38u); /* 0x2B076767: push 0x38 */ 721 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076769: call 0x2b0ab212 */ /* not lifted */ 722 RECOMP_FLAGS_IN(); 723 edi = eax; /* 0x2B07676E: mov edi, eax */ 724 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 726 esp = esp + 4; /* 0x2B076770: add esp, 4 */ 727 _flag_k = FK_ADD; 728 MEM32(ebp + (-0x28)) = edi; /* 0x2B076773: mov dword ptr [ebp - 0x28], edi */ 729 /* cmp edi, ebx */ /* 0x2B076776: cmp edi, ebx */ 730 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_CMP; 733 MEM32(ebp + (-0x4)) = 4; /* 0x2B076778: mov dword ptr [ebp - 4], 4 */ 734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0767A1; /* 0x2B07677F: je 0x2b0767a1 */ 735 L_2B076781: 736 eax = MEM32(esi + 0x38); /* 0x2B076781: mov eax, dword ptr [esi + 0x38] */ 737 ecx = MEM32(esi); /* 0x2B076784: mov ecx, dword ptr [esi] */ 738 PUSH32(esp, eax); /* 0x2B076786: push eax */ 739 PUSH32(esp, ecx); /* 0x2B076787: push ecx */ 740 PUSH32(esp, 0xF1u); /* 0x2B076788: push 0xf1 */ 741 edx = ebp + (-0x34); /* 0x2B07678D: lea edx, [ebp - 0x34] */ 742 PUSH32(esp, edx); /* 0x2B076790: push edx */ 743 ecx = edi; /* 0x2B076791: mov ecx, edi */ 744 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B076793: call dword ptr [0x2b0b5948] */ 745 RECOMP_FLAGS_IN(); 746 MEM32(edi) = 0x2B0B68F4u; /* 0x2B076799: mov dword ptr [edi], 0x2b0b68f4 */ 747 goto L_2B0767A3; /* 0x2B07679F: jmp 0x2b0767a3 */ 748 L_2B0767A1: 749 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 750 edi = 0; /* 0x2B0767A1: xor edi, edi */ 751 _cf = 0; 752 _flag_k = FK_TEST; 753 L_2B0767A3: 754 PUSH32(esp, 0x38u); /* 0x2B0767A3: push 0x38 */ 755 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0767A5: mov dword ptr [ebp - 4], 0xffffffff */ 756 MEM32(esi + 0x3C) = edi; /* 0x2B0767AC: mov dword ptr [esi + 0x3c], edi */ 757 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0767AF: call 0x2b0ab212 */ /* not lifted */ 758 RECOMP_FLAGS_IN(); 759 edi = eax; /* 0x2B0767B4: mov edi, eax */ 760 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 761 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 762 esp = esp + 4; /* 0x2B0767B6: add esp, 4 */ 763 _flag_k = FK_ADD; 764 MEM32(ebp + (-0x28)) = edi; /* 0x2B0767B9: mov dword ptr [ebp - 0x28], edi */ 765 /* cmp edi, ebx */ /* 0x2B0767BC: cmp edi, ebx */ 766 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 768 _flag_k = FK_CMP; 769 MEM32(ebp + (-0x4)) = 5; /* 0x2B0767BE: mov dword ptr [ebp - 4], 5 */ 770 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0767E7; /* 0x2B0767C5: je 0x2b0767e7 */ 771 L_2B0767C7: 772 eax = MEM32(esi + 0x38); /* 0x2B0767C7: mov eax, dword ptr [esi + 0x38] */ 773 ecx = MEM32(esi); /* 0x2B0767CA: mov ecx, dword ptr [esi] */ 774 PUSH32(esp, eax); /* 0x2B0767CC: push eax */ 775 PUSH32(esp, ecx); /* 0x2B0767CD: push ecx */ 776 PUSH32(esp, 0xF2u); /* 0x2B0767CE: push 0xf2 */ 777 edx = ebp + (-0x34); /* 0x2B0767D3: lea edx, [ebp - 0x34] */ 778 PUSH32(esp, edx); /* 0x2B0767D6: push edx */ 779 ecx = edi; /* 0x2B0767D7: mov ecx, edi */ 780 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B0767D9: call dword ptr [0x2b0b5948] */ 781 RECOMP_FLAGS_IN(); 782 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0767DF: mov dword ptr [edi], 0x2b0b68f4 */ 783 goto L_2B0767E9; /* 0x2B0767E5: jmp 0x2b0767e9 */ 784 L_2B0767E7: 785 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 786 edi = 0; /* 0x2B0767E7: xor edi, edi */ 787 _cf = 0; 788 _flag_k = FK_TEST; 789 L_2B0767E9: 790 eax = MEM32(esi + 0x3C); /* 0x2B0767E9: mov eax, dword ptr [esi + 0x3c] */ 791 MEM32(esi + 0x48) = edi; /* 0x2B0767EC: mov dword ptr [esi + 0x48], edi */ 792 eax = MEM32(eax + 0x14); /* 0x2B0767EF: mov eax, dword ptr [eax + 0x14] */ 793 ecx = MEM32(eax + 0xC); /* 0x2B0767F2: mov ecx, dword ptr [eax + 0xc] */ 794 PUSH32(esp, 0x9Cu); /* 0x2B0767F5: push 0x9c */ 795 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0767FA: mov dword ptr [ebp - 4], 0xffffffff */ 796 MEM32(esi + 0x24) = ecx; /* 0x2B076801: mov dword ptr [esi + 0x24], ecx */ 797 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076804: call 0x2b0ab212 */ /* not lifted */ 798 RECOMP_FLAGS_IN(); 799 edi = eax; /* 0x2B076809: mov edi, eax */ 800 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 802 esp = esp + 4; /* 0x2B07680B: add esp, 4 */ 803 _flag_k = FK_ADD; 804 MEM32(ebp + (-0x28)) = edi; /* 0x2B07680E: mov dword ptr [ebp - 0x28], edi */ 805 /* cmp edi, ebx */ /* 0x2B076811: cmp edi, ebx */ 806 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 808 _flag_k = FK_CMP; 809 MEM32(ebp + (-0x4)) = 6; /* 0x2B076813: mov dword ptr [ebp - 4], 6 */ 810 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076849; /* 0x2B07681A: je 0x2b076849 */ 811 L_2B07681C: 812 edx = MEM32(esi + 0x38); /* 0x2B07681C: mov edx, dword ptr [esi + 0x38] */ 813 eax = MEM32(esi); /* 0x2B07681F: mov eax, dword ptr [esi] */ 814 ecx = MEM32(ebp + (-0x38)); /* 0x2B076821: mov ecx, dword ptr [ebp - 0x38] */ 815 PUSH32(esp, edx); /* 0x2B076824: push edx */ 816 edx = MEM32(ebp + (-0x3C)); /* 0x2B076825: mov edx, dword ptr [ebp - 0x3c] */ 817 PUSH32(esp, 4); /* 0x2B076828: push 4 */ 818 PUSH32(esp, ebx); /* 0x2B07682A: push ebx */ 819 PUSH32(esp, eax); /* 0x2B07682B: push eax */ 820 eax = MEM32(ebp + (-0x30)); /* 0x2B07682C: mov eax, dword ptr [ebp - 0x30] */ 821 PUSH32(esp, ebx); /* 0x2B07682F: push ebx */ 822 PUSH32(esp, ebx); /* 0x2B076830: push ebx */ 823 PUSH32(esp, ebx); /* 0x2B076831: push ebx */ 824 PUSH32(esp, ecx); /* 0x2B076832: push ecx */ 825 ecx = MEM32(ebp + (-0x34)); /* 0x2B076833: mov ecx, dword ptr [ebp - 0x34] */ 826 PUSH32(esp, edx); /* 0x2B076836: push edx */ 827 PUSH32(esp, eax); /* 0x2B076837: push eax */ 828 PUSH32(esp, ecx); /* 0x2B076838: push ecx */ 829 ecx = edi; /* 0x2B076839: mov ecx, edi */ 830 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B07683B: call dword ptr [0x2b0b5af0] */ 831 RECOMP_FLAGS_IN(); 832 MEM32(edi) = 0x2B0B642Cu; /* 0x2B076841: mov dword ptr [edi], 0x2b0b642c */ 833 goto L_2B07684B; /* 0x2B076847: jmp 0x2b07684b */ 834 L_2B076849: 835 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 836 edi = 0; /* 0x2B076849: xor edi, edi */ 837 _cf = 0; 838 _flag_k = FK_TEST; 839 L_2B07684B: 840 MEM32(esi + 0x5C) = edi; /* 0x2B07684B: mov dword ptr [esi + 0x5c], edi */ 841 PUSH32(esp, 0x70u); /* 0x2B07684E: push 0x70 */ 842 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076850: mov dword ptr [ebp - 4], 0xffffffff */ 843 MEM32(edi + 0x4C) = 8; /* 0x2B076857: mov dword ptr [edi + 0x4c], 8 */ 844 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07685E: call 0x2b0ab212 */ /* not lifted */ 845 RECOMP_FLAGS_IN(); 846 edi = eax; /* 0x2B076863: mov edi, eax */ 847 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 848 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 849 esp = esp + 4; /* 0x2B076865: add esp, 4 */ 850 _flag_k = FK_ADD; 851 MEM32(ebp + (-0x28)) = edi; /* 0x2B076868: mov dword ptr [ebp - 0x28], edi */ 852 /* cmp edi, ebx */ /* 0x2B07686B: cmp edi, ebx */ 853 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 855 _flag_k = FK_CMP; 856 MEM32(ebp + (-0x4)) = 7; /* 0x2B07686D: mov dword ptr [ebp - 4], 7 */ 857 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0768AB; /* 0x2B076874: je 0x2b0768ab */ 858 L_2B076876: 859 edx = MEM32(esi + 0x38); /* 0x2B076876: mov edx, dword ptr [esi + 0x38] */ 860 PUSH32(esp, edx); /* 0x2B076879: push edx */ 861 edx = MEM32(esi); /* 0x2B07687A: mov edx, dword ptr [esi] */ 862 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07687C: push -1 */ 863 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07687E: push -1 */ 864 PUSH32(esp, 0x1Du); /* 0x2B076880: push 0x1d */ 865 PUSH32(esp, ebx); /* 0x2B076882: push ebx */ 866 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 868 esp = esp - 0x10u; /* 0x2B076883: sub esp, 0x10 */ 869 _flag_k = FK_CMP; 870 ecx = esp; /* 0x2B076886: mov ecx, esp */ 871 MEM32(ecx) = ebx; /* 0x2B076888: mov dword ptr [ecx], ebx */ 872 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 873 eax = 0; /* 0x2B07688A: xor eax, eax */ 874 _cf = 0; 875 _flag_k = FK_TEST; 876 MEM32(ecx + 0x4) = eax; /* 0x2B07688C: mov dword ptr [ecx + 4], eax */ 877 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 879 edx = edx + 3; /* 0x2B07688F: add edx, 3 */ 880 _flag_k = FK_ADD; 881 PUSH32(esp, edx); /* 0x2B076892: push edx */ 882 MEM32(ecx + 0x8) = eax; /* 0x2B076893: mov dword ptr [ecx + 8], eax */ 883 PUSH32(esp, ebx); /* 0x2B076896: push ebx */ 884 MEM32(ecx + 0xC) = eax; /* 0x2B076897: mov dword ptr [ecx + 0xc], eax */ 885 PUSH32(esp, ebx); /* 0x2B07689A: push ebx */ 886 ecx = edi; /* 0x2B07689B: mov ecx, edi */ 887 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B07689D: call dword ptr [0x2b0b5c00] */ 888 RECOMP_FLAGS_IN(); 889 MEM32(edi) = 0x2B0B6164u; /* 0x2B0768A3: mov dword ptr [edi], 0x2b0b6164 */ 890 goto L_2B0768AD; /* 0x2B0768A9: jmp 0x2b0768ad */ 891 L_2B0768AB: 892 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 893 edi = 0; /* 0x2B0768AB: xor edi, edi */ 894 _cf = 0; 895 _flag_k = FK_TEST; 896 L_2B0768AD: 897 PUSH32(esp, 0x2B0EC360u); /* 0x2B0768AD: push 0x2b0ec360 */ 898 ecx = edi; /* 0x2B0768B2: mov ecx, edi */ 899 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0768B4: mov dword ptr [ebp - 4], 0xffffffff */ 900 MEM32(esi + 0x60) = edi; /* 0x2B0768BB: mov dword ptr [esi + 0x60], edi */ 901 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B0768BE: call dword ptr [0x2b0b5c04] */ 902 RECOMP_FLAGS_IN(); 903 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 904 eax = 0; /* 0x2B0768C4: xor eax, eax */ 905 _cf = 0; 906 _flag_k = FK_TEST; 907 ecx = 0xCu; /* 0x2B0768C6: mov ecx, 0xc */ 908 edi = ebp + (-0x7C); /* 0x2B0768CB: lea edi, [ebp - 0x7c] */ 909 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0768CE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 910 eax = MEM32(esi); /* 0x2B0768D0: mov eax, dword ptr [esi] */ 911 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 912 eax = eax + 1; /* 0x2B0768D2: inc eax */ 913 _flag_k = FK_INC; 914 PUSH32(esp, 0xBCu); /* 0x2B0768D3: push 0xbc */ 915 MEM32(ebp + (-0x64)) = eax; /* 0x2B0768D8: mov dword ptr [ebp - 0x64], eax */ 916 MEM32(ebp + (-0x6C)) = 0xBu; /* 0x2B0768DB: mov dword ptr [ebp - 0x6c], 0xb */ 917 MEM32(ebp + (-0x68)) = 2; /* 0x2B0768E2: mov dword ptr [ebp - 0x68], 2 */ 918 MEM32(ebp + (-0x5C)) = 0xF3u; /* 0x2B0768E9: mov dword ptr [ebp - 0x5c], 0xf3 */ 919 MEM32(ebp + (-0x58)) = 0xF4u; /* 0x2B0768F0: mov dword ptr [ebp - 0x58], 0xf4 */ 920 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0768F7: call 0x2b0ab212 */ /* not lifted */ 921 RECOMP_FLAGS_IN(); 922 edi = eax; /* 0x2B0768FC: mov edi, eax */ 923 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 924 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 925 esp = esp + 4; /* 0x2B0768FE: add esp, 4 */ 926 _flag_k = FK_ADD; 927 MEM32(ebp + (-0x28)) = edi; /* 0x2B076901: mov dword ptr [ebp - 0x28], edi */ 928 /* cmp edi, ebx */ /* 0x2B076904: cmp edi, ebx */ 929 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 931 _flag_k = FK_CMP; 932 MEM32(ebp + (-0x4)) = 8; /* 0x2B076906: mov dword ptr [ebp - 4], 8 */ 933 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076929; /* 0x2B07690D: je 0x2b076929 */ 934 L_2B07690F: 935 ecx = MEM32(esi + 0x38); /* 0x2B07690F: mov ecx, dword ptr [esi + 0x38] */ 936 PUSH32(esp, ecx); /* 0x2B076912: push ecx */ 937 edx = ebp + (-0x7C); /* 0x2B076913: lea edx, [ebp - 0x7c] */ 938 PUSH32(esp, edx); /* 0x2B076916: push edx */ 939 ecx = edi; /* 0x2B076917: mov ecx, edi */ 940 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B076919: call dword ptr [0x2b0b5afc] */ 941 RECOMP_FLAGS_IN(); 942 MEM32(edi) = 0x2B0B645Cu; /* 0x2B07691F: mov dword ptr [edi], 0x2b0b645c */ 943 ecx = edi; /* 0x2B076925: mov ecx, edi */ 944 goto L_2B07692B; /* 0x2B076927: jmp 0x2b07692b */ 945 L_2B076929: 946 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 947 ecx = 0; /* 0x2B076929: xor ecx, ecx */ 948 _cf = 0; 949 _flag_k = FK_TEST; 950 L_2B07692B: 951 PUSH32(esp, esi); /* 0x2B07692B: push esi */ 952 PUSH32(esp, 0x2B0781E0u); /* 0x2B07692C: push 0x2b0781e0 */ 953 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076931: mov dword ptr [ebp - 4], 0xffffffff */ 954 MEM32(esi + 0x40) = ecx; /* 0x2B076938: mov dword ptr [esi + 0x40], ecx */ 955 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07693B: call dword ptr [0x2b0b5820] */ 956 RECOMP_FLAGS_IN(); 957 PUSH32(esp, 0xBCu); /* 0x2B076941: push 0xbc */ 958 MEM32(ebp + (-0x6C)) = 2; /* 0x2B076946: mov dword ptr [ebp - 0x6c], 2 */ 959 MEM32(ebp + (-0x68)) = 0xBu; /* 0x2B07694D: mov dword ptr [ebp - 0x68], 0xb */ 960 MEM32(ebp + (-0x5C)) = 0xF5u; /* 0x2B076954: mov dword ptr [ebp - 0x5c], 0xf5 */ 961 MEM32(ebp + (-0x58)) = 0xF6u; /* 0x2B07695B: mov dword ptr [ebp - 0x58], 0xf6 */ 962 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076962: call 0x2b0ab212 */ /* not lifted */ 963 RECOMP_FLAGS_IN(); 964 edi = eax; /* 0x2B076967: mov edi, eax */ 965 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 967 esp = esp + 4; /* 0x2B076969: add esp, 4 */ 968 _flag_k = FK_ADD; 969 MEM32(ebp + (-0x28)) = edi; /* 0x2B07696C: mov dword ptr [ebp - 0x28], edi */ 970 /* cmp edi, ebx */ /* 0x2B07696F: cmp edi, ebx */ 971 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 973 _flag_k = FK_CMP; 974 MEM32(ebp + (-0x4)) = 9; /* 0x2B076971: mov dword ptr [ebp - 4], 9 */ 975 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076994; /* 0x2B076978: je 0x2b076994 */ 976 L_2B07697A: 977 eax = MEM32(esi + 0x38); /* 0x2B07697A: mov eax, dword ptr [esi + 0x38] */ 978 PUSH32(esp, eax); /* 0x2B07697D: push eax */ 979 ecx = ebp + (-0x7C); /* 0x2B07697E: lea ecx, [ebp - 0x7c] */ 980 PUSH32(esp, ecx); /* 0x2B076981: push ecx */ 981 ecx = edi; /* 0x2B076982: mov ecx, edi */ 982 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B076984: call dword ptr [0x2b0b5afc] */ 983 RECOMP_FLAGS_IN(); 984 MEM32(edi) = 0x2B0B645Cu; /* 0x2B07698A: mov dword ptr [edi], 0x2b0b645c */ 985 ecx = edi; /* 0x2B076990: mov ecx, edi */ 986 goto L_2B076996; /* 0x2B076992: jmp 0x2b076996 */ 987 L_2B076994: 988 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 989 ecx = 0; /* 0x2B076994: xor ecx, ecx */ 990 _cf = 0; 991 _flag_k = FK_TEST; 992 L_2B076996: 993 PUSH32(esp, esi); /* 0x2B076996: push esi */ 994 PUSH32(esp, 0x2B0781E0u); /* 0x2B076997: push 0x2b0781e0 */ 995 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07699C: mov dword ptr [ebp - 4], 0xffffffff */ 996 MEM32(esi + 0x4C) = ecx; /* 0x2B0769A3: mov dword ptr [esi + 0x4c], ecx */ 997 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B0769A6: call dword ptr [0x2b0b5820] */ 998 RECOMP_FLAGS_IN(); 999 PUSH32(esp, 0xBCu); /* 0x2B0769AC: push 0xbc */ 1000 MEM32(ebp + (-0x6C)) = 0xBu; /* 0x2B0769B1: mov dword ptr [ebp - 0x6c], 0xb */ 1001 MEM32(ebp + (-0x68)) = 0x1Au; /* 0x2B0769B8: mov dword ptr [ebp - 0x68], 0x1a */ 1002 MEM32(ebp + (-0x5C)) = 0xF7u; /* 0x2B0769BF: mov dword ptr [ebp - 0x5c], 0xf7 */ 1003 MEM32(ebp + (-0x58)) = 0xF8u; /* 0x2B0769C6: mov dword ptr [ebp - 0x58], 0xf8 */ 1004 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0769CD: call 0x2b0ab212 */ /* not lifted */ 1005 RECOMP_FLAGS_IN(); 1006 edi = eax; /* 0x2B0769D2: mov edi, eax */ 1007 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1008 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1009 esp = esp + 4; /* 0x2B0769D4: add esp, 4 */ 1010 _flag_k = FK_ADD; 1011 MEM32(ebp + (-0x28)) = edi; /* 0x2B0769D7: mov dword ptr [ebp - 0x28], edi */ 1012 /* cmp edi, ebx */ /* 0x2B0769DA: cmp edi, ebx */ 1013 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1015 _flag_k = FK_CMP; 1016 MEM32(ebp + (-0x4)) = 0xAu; /* 0x2B0769DC: mov dword ptr [ebp - 4], 0xa */ 1017 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0769FF; /* 0x2B0769E3: je 0x2b0769ff */ 1018 L_2B0769E5: 1019 edx = MEM32(esi + 0x38); /* 0x2B0769E5: mov edx, dword ptr [esi + 0x38] */ 1020 PUSH32(esp, edx); /* 0x2B0769E8: push edx */ 1021 eax = ebp + (-0x7C); /* 0x2B0769E9: lea eax, [ebp - 0x7c] */ 1022 PUSH32(esp, eax); /* 0x2B0769EC: push eax */ 1023 ecx = edi; /* 0x2B0769ED: mov ecx, edi */ 1024 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0769EF: call dword ptr [0x2b0b5afc] */ 1025 RECOMP_FLAGS_IN(); 1026 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0769F5: mov dword ptr [edi], 0x2b0b645c */ 1027 ecx = edi; /* 0x2B0769FB: mov ecx, edi */ 1028 goto L_2B076A01; /* 0x2B0769FD: jmp 0x2b076a01 */ 1029 L_2B0769FF: 1030 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1031 ecx = 0; /* 0x2B0769FF: xor ecx, ecx */ 1032 _cf = 0; 1033 _flag_k = FK_TEST; 1034 L_2B076A01: 1035 PUSH32(esp, esi); /* 0x2B076A01: push esi */ 1036 PUSH32(esp, 0x2B078200u); /* 0x2B076A02: push 0x2b078200 */ 1037 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076A07: mov dword ptr [ebp - 4], 0xffffffff */ 1038 MEM32(esi + 0x44) = ecx; /* 0x2B076A0E: mov dword ptr [esi + 0x44], ecx */ 1039 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B076A11: call dword ptr [0x2b0b5820] */ 1040 RECOMP_FLAGS_IN(); 1041 PUSH32(esp, 0xBCu); /* 0x2B076A17: push 0xbc */ 1042 MEM32(ebp + (-0x6C)) = 0x1Au; /* 0x2B076A1C: mov dword ptr [ebp - 0x6c], 0x1a */ 1043 MEM32(ebp + (-0x68)) = 0xBu; /* 0x2B076A23: mov dword ptr [ebp - 0x68], 0xb */ 1044 MEM32(ebp + (-0x5C)) = 0xF9u; /* 0x2B076A2A: mov dword ptr [ebp - 0x5c], 0xf9 */ 1045 MEM32(ebp + (-0x58)) = 0xFAu; /* 0x2B076A31: mov dword ptr [ebp - 0x58], 0xfa */ 1046 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076A38: call 0x2b0ab212 */ /* not lifted */ 1047 RECOMP_FLAGS_IN(); 1048 edi = eax; /* 0x2B076A3D: mov edi, eax */ 1049 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1051 esp = esp + 4; /* 0x2B076A3F: add esp, 4 */ 1052 _flag_k = FK_ADD; 1053 MEM32(ebp + (-0x28)) = edi; /* 0x2B076A42: mov dword ptr [ebp - 0x28], edi */ 1054 /* cmp edi, ebx */ /* 0x2B076A45: cmp edi, ebx */ 1055 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1057 _flag_k = FK_CMP; 1058 MEM32(ebp + (-0x4)) = 0xBu; /* 0x2B076A47: mov dword ptr [ebp - 4], 0xb */ 1059 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076A6A; /* 0x2B076A4E: je 0x2b076a6a */ 1060 L_2B076A50: 1061 ecx = MEM32(esi + 0x38); /* 0x2B076A50: mov ecx, dword ptr [esi + 0x38] */ 1062 PUSH32(esp, ecx); /* 0x2B076A53: push ecx */ 1063 edx = ebp + (-0x7C); /* 0x2B076A54: lea edx, [ebp - 0x7c] */ 1064 PUSH32(esp, edx); /* 0x2B076A57: push edx */ 1065 ecx = edi; /* 0x2B076A58: mov ecx, edi */ 1066 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B076A5A: call dword ptr [0x2b0b5afc] */ 1067 RECOMP_FLAGS_IN(); 1068 MEM32(edi) = 0x2B0B645Cu; /* 0x2B076A60: mov dword ptr [edi], 0x2b0b645c */ 1069 ecx = edi; /* 0x2B076A66: mov ecx, edi */ 1070 goto L_2B076A6C; /* 0x2B076A68: jmp 0x2b076a6c */ 1071 L_2B076A6A: 1072 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1073 ecx = 0; /* 0x2B076A6A: xor ecx, ecx */ 1074 _cf = 0; 1075 _flag_k = FK_TEST; 1076 L_2B076A6C: 1077 PUSH32(esp, esi); /* 0x2B076A6C: push esi */ 1078 PUSH32(esp, 0x2B078200u); /* 0x2B076A6D: push 0x2b078200 */ 1079 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076A72: mov dword ptr [ebp - 4], 0xffffffff */ 1080 MEM32(esi + 0x50) = ecx; /* 0x2B076A79: mov dword ptr [esi + 0x50], ecx */ 1081 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B076A7C: call dword ptr [0x2b0b5820] */ 1082 RECOMP_FLAGS_IN(); 1083 PUSH32(esp, 0x9Cu); /* 0x2B076A82: push 0x9c */ 1084 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076A87: call 0x2b0ab212 */ /* not lifted */ 1085 RECOMP_FLAGS_IN(); 1086 edi = eax; /* 0x2B076A8C: mov edi, eax */ 1087 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1088 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1089 esp = esp + 4; /* 0x2B076A8E: add esp, 4 */ 1090 _flag_k = FK_ADD; 1091 MEM32(ebp + (-0x28)) = edi; /* 0x2B076A91: mov dword ptr [ebp - 0x28], edi */ 1092 /* cmp edi, ebx */ /* 0x2B076A94: cmp edi, ebx */ 1093 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1095 _flag_k = FK_CMP; 1096 MEM32(ebp + (-0x4)) = 0xCu; /* 0x2B076A96: mov dword ptr [ebp - 4], 0xc */ 1097 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076ACF; /* 0x2B076A9D: je 0x2b076acf */ 1098 L_2B076A9F: 1099 eax = MEM32(esi + 0x38); /* 0x2B076A9F: mov eax, dword ptr [esi + 0x38] */ 1100 ecx = MEM32(esi); /* 0x2B076AA2: mov ecx, dword ptr [esi] */ 1101 edx = MEM32(ebp + (-0x38)); /* 0x2B076AA4: mov edx, dword ptr [ebp - 0x38] */ 1102 PUSH32(esp, eax); /* 0x2B076AA7: push eax */ 1103 eax = MEM32(ebp + (-0x3C)); /* 0x2B076AA8: mov eax, dword ptr [ebp - 0x3c] */ 1104 PUSH32(esp, 4); /* 0x2B076AAB: push 4 */ 1105 PUSH32(esp, ebx); /* 0x2B076AAD: push ebx */ 1106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1107 ecx = ecx + 1; /* 0x2B076AAE: inc ecx */ 1108 _flag_k = FK_INC; 1109 PUSH32(esp, ecx); /* 0x2B076AAF: push ecx */ 1110 ecx = MEM32(ebp + (-0x30)); /* 0x2B076AB0: mov ecx, dword ptr [ebp - 0x30] */ 1111 PUSH32(esp, ebx); /* 0x2B076AB3: push ebx */ 1112 PUSH32(esp, ebx); /* 0x2B076AB4: push ebx */ 1113 PUSH32(esp, ebx); /* 0x2B076AB5: push ebx */ 1114 PUSH32(esp, edx); /* 0x2B076AB6: push edx */ 1115 edx = MEM32(ebp + (-0x34)); /* 0x2B076AB7: mov edx, dword ptr [ebp - 0x34] */ 1116 PUSH32(esp, eax); /* 0x2B076ABA: push eax */ 1117 PUSH32(esp, ecx); /* 0x2B076ABB: push ecx */ 1118 PUSH32(esp, edx); /* 0x2B076ABC: push edx */ 1119 ecx = edi; /* 0x2B076ABD: mov ecx, edi */ 1120 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B076ABF: call dword ptr [0x2b0b5af0] */ 1121 RECOMP_FLAGS_IN(); 1122 MEM32(edi) = 0x2B0B642Cu; /* 0x2B076AC5: mov dword ptr [edi], 0x2b0b642c */ 1123 eax = edi; /* 0x2B076ACB: mov eax, edi */ 1124 goto L_2B076AD1; /* 0x2B076ACD: jmp 0x2b076ad1 */ 1125 L_2B076ACF: 1126 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1127 eax = 0; /* 0x2B076ACF: xor eax, eax */ 1128 _cf = 0; 1129 _flag_k = FK_TEST; 1130 L_2B076AD1: 1131 MEM32(esi + 0x58) = eax; /* 0x2B076AD1: mov dword ptr [esi + 0x58], eax */ 1132 MEM32(eax + 0x7C) = 0x2B078220u; /* 0x2B076AD4: mov dword ptr [eax + 0x7c], 0x2b078220 */ 1133 MEM32(eax + 0x80) = esi; /* 0x2B076ADB: mov dword ptr [eax + 0x80], esi */ 1134 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B076AE1: mov byte ptr [eax + 0x24], 1 */ 1135 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B076AE5: mov byte ptr [eax + 0x25], 1 */ 1136 eax = MEM32(esi + 0x58); /* 0x2B076AE9: mov eax, dword ptr [esi + 0x58] */ 1137 MEM32(eax + 0x70) = 0x2B078250u; /* 0x2B076AEC: mov dword ptr [eax + 0x70], 0x2b078250 */ 1138 MEM32(eax + 0x74) = esi; /* 0x2B076AF3: mov dword ptr [eax + 0x74], esi */ 1139 eax = 0x10u; /* 0x2B076AF6: mov eax, 0x10 */ 1140 PUSH32(esp, 0x50u); /* 0x2B076AFB: push 0x50 */ 1141 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076AFD: mov dword ptr [ebp - 4], 0xffffffff */ 1142 MEM32(ebp + (-0x34)) = eax; /* 0x2B076B04: mov dword ptr [ebp - 0x34], eax */ 1143 MEM32(ebp + (-0x30)) = eax; /* 0x2B076B07: mov dword ptr [ebp - 0x30], eax */ 1144 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076B0A: call 0x2b0ab212 */ /* not lifted */ 1145 RECOMP_FLAGS_IN(); 1146 edi = eax; /* 0x2B076B0F: mov edi, eax */ 1147 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1149 esp = esp + 4; /* 0x2B076B11: add esp, 4 */ 1150 _flag_k = FK_ADD; 1151 MEM32(ebp + (-0x28)) = edi; /* 0x2B076B14: mov dword ptr [ebp - 0x28], edi */ 1152 /* cmp edi, ebx */ /* 0x2B076B17: cmp edi, ebx */ 1153 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1155 _flag_k = FK_CMP; 1156 MEM32(ebp + (-0x4)) = 0xDu; /* 0x2B076B19: mov dword ptr [ebp - 4], 0xd */ 1157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076B4D; /* 0x2B076B20: je 0x2b076b4d */ 1158 L_2B076B22: 1159 eax = MEM32(esi + 0x38); /* 0x2B076B22: mov eax, dword ptr [esi + 0x38] */ 1160 ecx = MEM32(ebp + (-0x30)); /* 0x2B076B25: mov ecx, dword ptr [ebp - 0x30] */ 1161 edx = MEM32(ebp + (-0x34)); /* 0x2B076B28: mov edx, dword ptr [ebp - 0x34] */ 1162 PUSH32(esp, eax); /* 0x2B076B2B: push eax */ 1163 eax = MEM32(esi); /* 0x2B076B2C: mov eax, dword ptr [esi] */ 1164 PUSH32(esp, 2); /* 0x2B076B2E: push 2 */ 1165 PUSH32(esp, ecx); /* 0x2B076B30: push ecx */ 1166 PUSH32(esp, edx); /* 0x2B076B31: push edx */ 1167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1168 eax = eax + 1; /* 0x2B076B32: inc eax */ 1169 _flag_k = FK_INC; 1170 PUSH32(esp, eax); /* 0x2B076B33: push eax */ 1171 PUSH32(esp, 0x2B0E785Cu); /* 0x2B076B34: push 0x2b0e785c */ 1172 PUSH32(esp, 1); /* 0x2B076B39: push 1 */ 1173 ecx = edi; /* 0x2B076B3B: mov ecx, edi */ 1174 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B076B3D: call dword ptr [0x2b0b5950] */ 1175 RECOMP_FLAGS_IN(); 1176 MEM32(edi) = 0x2B0B6878u; /* 0x2B076B43: mov dword ptr [edi], 0x2b0b6878 */ 1177 ecx = edi; /* 0x2B076B49: mov ecx, edi */ 1178 goto L_2B076B4F; /* 0x2B076B4B: jmp 0x2b076b4f */ 1179 L_2B076B4D: 1180 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1181 ecx = 0; /* 0x2B076B4D: xor ecx, ecx */ 1182 _cf = 0; 1183 _flag_k = FK_TEST; 1184 L_2B076B4F: 1185 PUSH32(esp, 0x00FFDD00u); /* 0x2B076B4F: push 0xffdd00 */ 1186 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076B54: mov dword ptr [ebp - 4], 0xffffffff */ 1187 MEM32(esi + 0x54) = ecx; /* 0x2B076B5B: mov dword ptr [esi + 0x54], ecx */ 1188 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B076B5E: call dword ptr [0x2b0b5858] */ 1189 RECOMP_FLAGS_IN(); 1190 edi = MEM32(0x2B0B5F80); /* 0x2B076B64: mov edi, dword ptr [0x2b0b5f80] */ 1191 PUSH32(esp, 2); /* 0x2B076B6A: push 2 */ 1192 PUSH32(esp, 0xFBu); /* 0x2B076B6C: push 0xfb */ 1193 RECOMP_ICALL(edi); /* 0x2B076B71: call edi */ 1194 RECOMP_FLAGS_IN(); 1195 ecx = eax; /* 0x2B076B73: mov ecx, eax */ 1196 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076B75: call dword ptr [0x2b0b5fbc] */ 1197 RECOMP_FLAGS_IN(); 1198 PUSH32(esp, 0xD8u); /* 0x2B076B7B: push 0xd8 */ 1199 MEM32(ebp + (-0x14)) = eax; /* 0x2B076B80: mov dword ptr [ebp - 0x14], eax */ 1200 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076B83: call 0x2b0ab212 */ /* not lifted */ 1201 RECOMP_FLAGS_IN(); 1202 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1204 esp = esp + 4; /* 0x2B076B88: add esp, 4 */ 1205 _flag_k = FK_ADD; 1206 MEM32(ebp + (-0x28)) = eax; /* 0x2B076B8B: mov dword ptr [ebp - 0x28], eax */ 1207 /* cmp eax, ebx */ /* 0x2B076B8E: cmp eax, ebx */ 1208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1210 _flag_k = FK_CMP; 1211 MEM32(ebp + (-0x4)) = 0xEu; /* 0x2B076B90: mov dword ptr [ebp - 4], 0xe */ 1212 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076BCE; /* 0x2B076B97: je 0x2b076bce */ 1213 L_2B076B99: 1214 ecx = ebp + (-0x18); /* 0x2B076B99: lea ecx, [ebp - 0x18] */ 1215 PUSH32(esp, ecx); /* 0x2B076B9C: push ecx */ 1216 ecx = MEM32(esi); /* 0x2B076B9D: mov ecx, dword ptr [esi] */ 1217 edx = ebp + (-0x20); /* 0x2B076B9F: lea edx, [ebp - 0x20] */ 1218 PUSH32(esp, edx); /* 0x2B076BA2: push edx */ 1219 edx = MEM32(ebp + (-0x14)); /* 0x2B076BA3: mov edx, dword ptr [ebp - 0x14] */ 1220 PUSH32(esp, ebx); /* 0x2B076BA6: push ebx */ 1221 PUSH32(esp, ecx); /* 0x2B076BA7: push ecx */ 1222 PUSH32(esp, edx); /* 0x2B076BA8: push edx */ 1223 ecx = ebp + (-0x34); /* 0x2B076BA9: lea ecx, [ebp - 0x34] */ 1224 PUSH32(esp, ecx); /* 0x2B076BAC: push ecx */ 1225 ecx = eax; /* 0x2B076BAD: mov ecx, eax */ 1226 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B076BAF: mov dword ptr [ebp - 0x18], 0x3f800000 */ 1227 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076BB6: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1228 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076BBD: call dword ptr [0x2b0b5654] */ 1229 RECOMP_FLAGS_IN(); 1230 ecx = MEM32(ebp + (-0x28)); /* 0x2B076BC3: mov ecx, dword ptr [ebp - 0x28] */ 1231 MEM32(ecx) = 0x2B0B618Cu; /* 0x2B076BC6: mov dword ptr [ecx], 0x2b0b618c */ 1232 goto L_2B076BD0; /* 0x2B076BCC: jmp 0x2b076bd0 */ 1233 L_2B076BCE: 1234 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1235 ecx = 0; /* 0x2B076BCE: xor ecx, ecx */ 1236 _cf = 0; 1237 _flag_k = FK_TEST; 1238 L_2B076BD0: 1239 edx = ebp + (-0x28); /* 0x2B076BD0: lea edx, [ebp - 0x28] */ 1240 PUSH32(esp, edx); /* 0x2B076BD3: push edx */ 1241 eax = ebp + (-0x20); /* 0x2B076BD4: lea eax, [ebp - 0x20] */ 1242 PUSH32(esp, eax); /* 0x2B076BD7: push eax */ 1243 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076BD8: mov dword ptr [ebp - 4], 0xffffffff */ 1244 MEM32(esi + 0x64) = ecx; /* 0x2B076BDF: mov dword ptr [esi + 0x64], ecx */ 1245 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076BE2: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1246 MEM32(ebp + (-0x20)) = 0x43B48000u; /* 0x2B076BE9: mov dword ptr [ebp - 0x20], 0x43b48000 */ 1247 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076BF0: call dword ptr [0x2b0b5658] */ 1248 RECOMP_FLAGS_IN(); 1249 PUSH32(esp, 2); /* 0x2B076BF6: push 2 */ 1250 PUSH32(esp, 0xFCu); /* 0x2B076BF8: push 0xfc */ 1251 RECOMP_ICALL(edi); /* 0x2B076BFD: call edi */ 1252 RECOMP_FLAGS_IN(); 1253 ecx = eax; /* 0x2B076BFF: mov ecx, eax */ 1254 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076C01: call dword ptr [0x2b0b5fbc] */ 1255 RECOMP_FLAGS_IN(); 1256 PUSH32(esp, 0xD8u); /* 0x2B076C07: push 0xd8 */ 1257 MEM32(ebp + (-0x14)) = eax; /* 0x2B076C0C: mov dword ptr [ebp - 0x14], eax */ 1258 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076C0F: call 0x2b0ab212 */ /* not lifted */ 1259 RECOMP_FLAGS_IN(); 1260 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1261 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1262 esp = esp + 4; /* 0x2B076C14: add esp, 4 */ 1263 _flag_k = FK_ADD; 1264 MEM32(ebp + (-0x18)) = eax; /* 0x2B076C17: mov dword ptr [ebp - 0x18], eax */ 1265 /* cmp eax, ebx */ /* 0x2B076C1A: cmp eax, ebx */ 1266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1268 _flag_k = FK_CMP; 1269 MEM32(ebp + (-0x4)) = 0xFu; /* 0x2B076C1C: mov dword ptr [ebp - 4], 0xf */ 1270 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076C5A; /* 0x2B076C23: je 0x2b076c5a */ 1271 L_2B076C25: 1272 ecx = ebp + (-0x28); /* 0x2B076C25: lea ecx, [ebp - 0x28] */ 1273 PUSH32(esp, ecx); /* 0x2B076C28: push ecx */ 1274 ecx = MEM32(esi); /* 0x2B076C29: mov ecx, dword ptr [esi] */ 1275 edx = ebp + (-0x20); /* 0x2B076C2B: lea edx, [ebp - 0x20] */ 1276 PUSH32(esp, edx); /* 0x2B076C2E: push edx */ 1277 edx = MEM32(ebp + (-0x14)); /* 0x2B076C2F: mov edx, dword ptr [ebp - 0x14] */ 1278 PUSH32(esp, ebx); /* 0x2B076C32: push ebx */ 1279 PUSH32(esp, ecx); /* 0x2B076C33: push ecx */ 1280 PUSH32(esp, edx); /* 0x2B076C34: push edx */ 1281 ecx = ebp + (-0x34); /* 0x2B076C35: lea ecx, [ebp - 0x34] */ 1282 PUSH32(esp, ecx); /* 0x2B076C38: push ecx */ 1283 ecx = eax; /* 0x2B076C39: mov ecx, eax */ 1284 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076C3B: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1285 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076C42: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1286 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076C49: call dword ptr [0x2b0b5654] */ 1287 RECOMP_FLAGS_IN(); 1288 ecx = MEM32(ebp + (-0x18)); /* 0x2B076C4F: mov ecx, dword ptr [ebp - 0x18] */ 1289 MEM32(ecx) = 0x2B0B618Cu; /* 0x2B076C52: mov dword ptr [ecx], 0x2b0b618c */ 1290 goto L_2B076C5C; /* 0x2B076C58: jmp 0x2b076c5c */ 1291 L_2B076C5A: 1292 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1293 ecx = 0; /* 0x2B076C5A: xor ecx, ecx */ 1294 _cf = 0; 1295 _flag_k = FK_TEST; 1296 L_2B076C5C: 1297 edx = ebp + (-0x28); /* 0x2B076C5C: lea edx, [ebp - 0x28] */ 1298 PUSH32(esp, edx); /* 0x2B076C5F: push edx */ 1299 eax = ebp + (-0x20); /* 0x2B076C60: lea eax, [ebp - 0x20] */ 1300 PUSH32(esp, eax); /* 0x2B076C63: push eax */ 1301 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076C64: mov dword ptr [ebp - 4], 0xffffffff */ 1302 MEM32(esi + 0x68) = ecx; /* 0x2B076C6B: mov dword ptr [esi + 0x68], ecx */ 1303 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076C6E: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1304 MEM32(ebp + (-0x20)) = 0x43B48000u; /* 0x2B076C75: mov dword ptr [ebp - 0x20], 0x43b48000 */ 1305 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076C7C: call dword ptr [0x2b0b5658] */ 1306 RECOMP_FLAGS_IN(); 1307 PUSH32(esp, 2); /* 0x2B076C82: push 2 */ 1308 PUSH32(esp, 0xFDu); /* 0x2B076C84: push 0xfd */ 1309 RECOMP_ICALL(edi); /* 0x2B076C89: call edi */ 1310 RECOMP_FLAGS_IN(); 1311 ecx = eax; /* 0x2B076C8B: mov ecx, eax */ 1312 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076C8D: call dword ptr [0x2b0b5fbc] */ 1313 RECOMP_FLAGS_IN(); 1314 PUSH32(esp, 0xD8u); /* 0x2B076C93: push 0xd8 */ 1315 MEM32(ebp + (-0x14)) = eax; /* 0x2B076C98: mov dword ptr [ebp - 0x14], eax */ 1316 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076C9B: call 0x2b0ab212 */ /* not lifted */ 1317 RECOMP_FLAGS_IN(); 1318 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1320 esp = esp + 4; /* 0x2B076CA0: add esp, 4 */ 1321 _flag_k = FK_ADD; 1322 MEM32(ebp + (-0x18)) = eax; /* 0x2B076CA3: mov dword ptr [ebp - 0x18], eax */ 1323 /* cmp eax, ebx */ /* 0x2B076CA6: cmp eax, ebx */ 1324 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1326 _flag_k = FK_CMP; 1327 MEM32(ebp + (-0x4)) = 0x10u; /* 0x2B076CA8: mov dword ptr [ebp - 4], 0x10 */ 1328 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076CE6; /* 0x2B076CAF: je 0x2b076ce6 */ 1329 L_2B076CB1: 1330 ecx = ebp + (-0x28); /* 0x2B076CB1: lea ecx, [ebp - 0x28] */ 1331 PUSH32(esp, ecx); /* 0x2B076CB4: push ecx */ 1332 ecx = MEM32(esi); /* 0x2B076CB5: mov ecx, dword ptr [esi] */ 1333 edx = ebp + (-0x20); /* 0x2B076CB7: lea edx, [ebp - 0x20] */ 1334 PUSH32(esp, edx); /* 0x2B076CBA: push edx */ 1335 edx = MEM32(ebp + (-0x14)); /* 0x2B076CBB: mov edx, dword ptr [ebp - 0x14] */ 1336 PUSH32(esp, ebx); /* 0x2B076CBE: push ebx */ 1337 PUSH32(esp, ecx); /* 0x2B076CBF: push ecx */ 1338 PUSH32(esp, edx); /* 0x2B076CC0: push edx */ 1339 ecx = ebp + (-0x34); /* 0x2B076CC1: lea ecx, [ebp - 0x34] */ 1340 PUSH32(esp, ecx); /* 0x2B076CC4: push ecx */ 1341 ecx = eax; /* 0x2B076CC5: mov ecx, eax */ 1342 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076CC7: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1343 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076CCE: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1344 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076CD5: call dword ptr [0x2b0b5654] */ 1345 RECOMP_FLAGS_IN(); 1346 ecx = MEM32(ebp + (-0x18)); /* 0x2B076CDB: mov ecx, dword ptr [ebp - 0x18] */ 1347 MEM32(ecx) = 0x2B0B618Cu; /* 0x2B076CDE: mov dword ptr [ecx], 0x2b0b618c */ 1348 goto L_2B076CE8; /* 0x2B076CE4: jmp 0x2b076ce8 */ 1349 L_2B076CE6: 1350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1351 ecx = 0; /* 0x2B076CE6: xor ecx, ecx */ 1352 _cf = 0; 1353 _flag_k = FK_TEST; 1354 L_2B076CE8: 1355 edx = ebp + (-0x28); /* 0x2B076CE8: lea edx, [ebp - 0x28] */ 1356 PUSH32(esp, edx); /* 0x2B076CEB: push edx */ 1357 eax = ebp + (-0x20); /* 0x2B076CEC: lea eax, [ebp - 0x20] */ 1358 PUSH32(esp, eax); /* 0x2B076CEF: push eax */ 1359 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076CF0: mov dword ptr [ebp - 4], 0xffffffff */ 1360 MEM32(esi + 0x6C) = ecx; /* 0x2B076CF7: mov dword ptr [esi + 0x6c], ecx */ 1361 MEM32(ebp + (-0x28)) = 0x43B48000u; /* 0x2B076CFA: mov dword ptr [ebp - 0x28], 0x43b48000 */ 1362 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076D01: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1363 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076D08: call dword ptr [0x2b0b5658] */ 1364 RECOMP_FLAGS_IN(); 1365 PUSH32(esp, 2); /* 0x2B076D0E: push 2 */ 1366 PUSH32(esp, 0xFEu); /* 0x2B076D10: push 0xfe */ 1367 RECOMP_ICALL(edi); /* 0x2B076D15: call edi */ 1368 RECOMP_FLAGS_IN(); 1369 ecx = eax; /* 0x2B076D17: mov ecx, eax */ 1370 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076D19: call dword ptr [0x2b0b5fbc] */ 1371 RECOMP_FLAGS_IN(); 1372 PUSH32(esp, 0xD8u); /* 0x2B076D1F: push 0xd8 */ 1373 MEM32(ebp + (-0x14)) = eax; /* 0x2B076D24: mov dword ptr [ebp - 0x14], eax */ 1374 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076D27: call 0x2b0ab212 */ /* not lifted */ 1375 RECOMP_FLAGS_IN(); 1376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1378 esp = esp + 4; /* 0x2B076D2C: add esp, 4 */ 1379 _flag_k = FK_ADD; 1380 MEM32(ebp + (-0x18)) = eax; /* 0x2B076D2F: mov dword ptr [ebp - 0x18], eax */ 1381 /* cmp eax, ebx */ /* 0x2B076D32: cmp eax, ebx */ 1382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1384 _flag_k = FK_CMP; 1385 MEM32(ebp + (-0x4)) = 0x11u; /* 0x2B076D34: mov dword ptr [ebp - 4], 0x11 */ 1386 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076D72; /* 0x2B076D3B: je 0x2b076d72 */ 1387 L_2B076D3D: 1388 ecx = ebp + (-0x28); /* 0x2B076D3D: lea ecx, [ebp - 0x28] */ 1389 PUSH32(esp, ecx); /* 0x2B076D40: push ecx */ 1390 ecx = MEM32(esi); /* 0x2B076D41: mov ecx, dword ptr [esi] */ 1391 edx = ebp + (-0x20); /* 0x2B076D43: lea edx, [ebp - 0x20] */ 1392 PUSH32(esp, edx); /* 0x2B076D46: push edx */ 1393 edx = MEM32(ebp + (-0x14)); /* 0x2B076D47: mov edx, dword ptr [ebp - 0x14] */ 1394 PUSH32(esp, ebx); /* 0x2B076D4A: push ebx */ 1395 PUSH32(esp, ecx); /* 0x2B076D4B: push ecx */ 1396 PUSH32(esp, edx); /* 0x2B076D4C: push edx */ 1397 ecx = ebp + (-0x34); /* 0x2B076D4D: lea ecx, [ebp - 0x34] */ 1398 PUSH32(esp, ecx); /* 0x2B076D50: push ecx */ 1399 ecx = eax; /* 0x2B076D51: mov ecx, eax */ 1400 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076D53: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1401 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076D5A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1402 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076D61: call dword ptr [0x2b0b5654] */ 1403 RECOMP_FLAGS_IN(); 1404 ecx = MEM32(ebp + (-0x18)); /* 0x2B076D67: mov ecx, dword ptr [ebp - 0x18] */ 1405 MEM32(ecx) = 0x2B0B618Cu; /* 0x2B076D6A: mov dword ptr [ecx], 0x2b0b618c */ 1406 goto L_2B076D74; /* 0x2B076D70: jmp 0x2b076d74 */ 1407 L_2B076D72: 1408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1409 ecx = 0; /* 0x2B076D72: xor ecx, ecx */ 1410 _cf = 0; 1411 _flag_k = FK_TEST; 1412 L_2B076D74: 1413 edx = ebp + (-0x28); /* 0x2B076D74: lea edx, [ebp - 0x28] */ 1414 PUSH32(esp, edx); /* 0x2B076D77: push edx */ 1415 eax = ebp + (-0x20); /* 0x2B076D78: lea eax, [ebp - 0x20] */ 1416 PUSH32(esp, eax); /* 0x2B076D7B: push eax */ 1417 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076D7C: mov dword ptr [ebp - 4], 0xffffffff */ 1418 MEM32(esi + 0x70) = ecx; /* 0x2B076D83: mov dword ptr [esi + 0x70], ecx */ 1419 MEM32(ebp + (-0x28)) = 0x43B48000u; /* 0x2B076D86: mov dword ptr [ebp - 0x28], 0x43b48000 */ 1420 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076D8D: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1421 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076D94: call dword ptr [0x2b0b5658] */ 1422 RECOMP_FLAGS_IN(); 1423 PUSH32(esp, 2); /* 0x2B076D9A: push 2 */ 1424 PUSH32(esp, 0xFDu); /* 0x2B076D9C: push 0xfd */ 1425 RECOMP_ICALL(edi); /* 0x2B076DA1: call edi */ 1426 RECOMP_FLAGS_IN(); 1427 ecx = eax; /* 0x2B076DA3: mov ecx, eax */ 1428 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076DA5: call dword ptr [0x2b0b5fbc] */ 1429 RECOMP_FLAGS_IN(); 1430 PUSH32(esp, 0xD8u); /* 0x2B076DAB: push 0xd8 */ 1431 MEM32(ebp + (-0x14)) = eax; /* 0x2B076DB0: mov dword ptr [ebp - 0x14], eax */ 1432 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076DB3: call 0x2b0ab212 */ /* not lifted */ 1433 RECOMP_FLAGS_IN(); 1434 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1436 esp = esp + 4; /* 0x2B076DB8: add esp, 4 */ 1437 _flag_k = FK_ADD; 1438 MEM32(ebp + (-0x18)) = eax; /* 0x2B076DBB: mov dword ptr [ebp - 0x18], eax */ 1439 /* cmp eax, ebx */ /* 0x2B076DBE: cmp eax, ebx */ 1440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1442 _flag_k = FK_CMP; 1443 MEM32(ebp + (-0x4)) = 0x12u; /* 0x2B076DC0: mov dword ptr [ebp - 4], 0x12 */ 1444 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076DFE; /* 0x2B076DC7: je 0x2b076dfe */ 1445 L_2B076DC9: 1446 ecx = ebp + (-0x28); /* 0x2B076DC9: lea ecx, [ebp - 0x28] */ 1447 PUSH32(esp, ecx); /* 0x2B076DCC: push ecx */ 1448 ecx = MEM32(esi); /* 0x2B076DCD: mov ecx, dword ptr [esi] */ 1449 edx = ebp + (-0x20); /* 0x2B076DCF: lea edx, [ebp - 0x20] */ 1450 PUSH32(esp, edx); /* 0x2B076DD2: push edx */ 1451 edx = MEM32(ebp + (-0x14)); /* 0x2B076DD3: mov edx, dword ptr [ebp - 0x14] */ 1452 PUSH32(esp, ebx); /* 0x2B076DD6: push ebx */ 1453 PUSH32(esp, ecx); /* 0x2B076DD7: push ecx */ 1454 PUSH32(esp, edx); /* 0x2B076DD8: push edx */ 1455 ecx = ebp + (-0x34); /* 0x2B076DD9: lea ecx, [ebp - 0x34] */ 1456 PUSH32(esp, ecx); /* 0x2B076DDC: push ecx */ 1457 ecx = eax; /* 0x2B076DDD: mov ecx, eax */ 1458 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076DDF: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1459 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076DE6: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1460 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076DED: call dword ptr [0x2b0b5654] */ 1461 RECOMP_FLAGS_IN(); 1462 ecx = MEM32(ebp + (-0x18)); /* 0x2B076DF3: mov ecx, dword ptr [ebp - 0x18] */ 1463 MEM32(ecx) = 0x2B0B618Cu; /* 0x2B076DF6: mov dword ptr [ecx], 0x2b0b618c */ 1464 goto L_2B076E00; /* 0x2B076DFC: jmp 0x2b076e00 */ 1465 L_2B076DFE: 1466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1467 ecx = 0; /* 0x2B076DFE: xor ecx, ecx */ 1468 _cf = 0; 1469 _flag_k = FK_TEST; 1470 L_2B076E00: 1471 edx = ebp + (-0x28); /* 0x2B076E00: lea edx, [ebp - 0x28] */ 1472 PUSH32(esp, edx); /* 0x2B076E03: push edx */ 1473 eax = ebp + (-0x20); /* 0x2B076E04: lea eax, [ebp - 0x20] */ 1474 PUSH32(esp, eax); /* 0x2B076E07: push eax */ 1475 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B076E08: mov dword ptr [ebp - 4], 0xffffffff */ 1476 MEM32(esi + 0x74) = ecx; /* 0x2B076E0F: mov dword ptr [esi + 0x74], ecx */ 1477 MEM32(ebp + (-0x28)) = 0x42180000u; /* 0x2B076E12: mov dword ptr [ebp - 0x28], 0x42180000 */ 1478 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076E19: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1479 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076E20: call dword ptr [0x2b0b5658] */ 1480 RECOMP_FLAGS_IN(); 1481 PUSH32(esp, 2); /* 0x2B076E26: push 2 */ 1482 PUSH32(esp, 0xFCu); /* 0x2B076E28: push 0xfc */ 1483 RECOMP_ICALL(edi); /* 0x2B076E2D: call edi */ 1484 RECOMP_FLAGS_IN(); 1485 ecx = eax; /* 0x2B076E2F: mov ecx, eax */ 1486 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B076E31: call dword ptr [0x2b0b5fbc] */ 1487 RECOMP_FLAGS_IN(); 1488 PUSH32(esp, 0xD8u); /* 0x2B076E37: push 0xd8 */ 1489 MEM32(ebp + (-0x14)) = eax; /* 0x2B076E3C: mov dword ptr [ebp - 0x14], eax */ 1490 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076E3F: call 0x2b0ab212 */ /* not lifted */ 1491 RECOMP_FLAGS_IN(); 1492 edi = eax; /* 0x2B076E44: mov edi, eax */ 1493 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1494 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1495 esp = esp + 4; /* 0x2B076E46: add esp, 4 */ 1496 _flag_k = FK_ADD; 1497 MEM32(ebp + (-0x18)) = edi; /* 0x2B076E49: mov dword ptr [ebp - 0x18], edi */ 1498 /* cmp edi, ebx */ /* 0x2B076E4C: cmp edi, ebx */ 1499 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1501 _flag_k = FK_CMP; 1502 MEM32(ebp + (-0x4)) = 0x13u; /* 0x2B076E4E: mov dword ptr [ebp - 4], 0x13 */ 1503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076E8B; /* 0x2B076E55: je 0x2b076e8b */ 1504 L_2B076E57: 1505 eax = MEM32(esi); /* 0x2B076E57: mov eax, dword ptr [esi] */ 1506 ecx = ebp + (-0x28); /* 0x2B076E59: lea ecx, [ebp - 0x28] */ 1507 PUSH32(esp, ecx); /* 0x2B076E5C: push ecx */ 1508 ecx = MEM32(ebp + (-0x14)); /* 0x2B076E5D: mov ecx, dword ptr [ebp - 0x14] */ 1509 edx = ebp + (-0x20); /* 0x2B076E60: lea edx, [ebp - 0x20] */ 1510 PUSH32(esp, edx); /* 0x2B076E63: push edx */ 1511 PUSH32(esp, ebx); /* 0x2B076E64: push ebx */ 1512 PUSH32(esp, eax); /* 0x2B076E65: push eax */ 1513 PUSH32(esp, ecx); /* 0x2B076E66: push ecx */ 1514 edx = ebp + (-0x34); /* 0x2B076E67: lea edx, [ebp - 0x34] */ 1515 PUSH32(esp, edx); /* 0x2B076E6A: push edx */ 1516 ecx = edi; /* 0x2B076E6B: mov ecx, edi */ 1517 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076E6D: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1518 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076E74: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1519 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076E7B: call dword ptr [0x2b0b5654] */ 1520 RECOMP_FLAGS_IN(); 1521 MEM32(edi) = 0x2B0B618Cu; /* 0x2B076E81: mov dword ptr [edi], 0x2b0b618c */ 1522 ecx = edi; /* 0x2B076E87: mov ecx, edi */ 1523 goto L_2B076E8D; /* 0x2B076E89: jmp 0x2b076e8d */ 1524 L_2B076E8B: 1525 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1526 ecx = 0; /* 0x2B076E8B: xor ecx, ecx */ 1527 _cf = 0; 1528 _flag_k = FK_TEST; 1529 L_2B076E8D: 1530 eax = ebp + (-0x28); /* 0x2B076E8D: lea eax, [ebp - 0x28] */ 1531 PUSH32(esp, eax); /* 0x2B076E90: push eax */ 1532 edx = ebp + (-0x20); /* 0x2B076E91: lea edx, [ebp - 0x20] */ 1533 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 1534 edi = edi | 0xFFFFFFFFu; /* 0x2B076E94: or edi, 0xffffffff */ 1535 _cf = 0; 1536 _flag_k = FK_TEST; 1537 PUSH32(esp, edx); /* 0x2B076E97: push edx */ 1538 MEM32(ebp + (-0x4)) = edi; /* 0x2B076E98: mov dword ptr [ebp - 4], edi */ 1539 MEM32(esi + 0x78) = ecx; /* 0x2B076E9B: mov dword ptr [esi + 0x78], ecx */ 1540 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076E9E: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1541 MEM32(ebp + (-0x20)) = 0x42180000u; /* 0x2B076EA5: mov dword ptr [ebp - 0x20], 0x42180000 */ 1542 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076EAC: call dword ptr [0x2b0b5658] */ 1543 RECOMP_FLAGS_IN(); 1544 PUSH32(esp, 0x34u); /* 0x2B076EB2: push 0x34 */ 1545 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076EB4: call 0x2b0ab212 */ /* not lifted */ 1546 RECOMP_FLAGS_IN(); 1547 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1548 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1549 esp = esp + 4; /* 0x2B076EB9: add esp, 4 */ 1550 _flag_k = FK_ADD; 1551 MEM32(ebp + (-0x28)) = eax; /* 0x2B076EBC: mov dword ptr [ebp - 0x28], eax */ 1552 /* cmp eax, ebx */ /* 0x2B076EBF: cmp eax, ebx */ 1553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1555 _flag_k = FK_CMP; 1556 MEM32(ebp + (-0x4)) = 0x14u; /* 0x2B076EC1: mov dword ptr [ebp - 4], 0x14 */ 1557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076EDD; /* 0x2B076EC8: je 0x2b076edd */ 1558 L_2B076ECA: 1559 PUSH32(esp, 2); /* 0x2B076ECA: push 2 */ 1560 PUSH32(esp, 0x10u); /* 0x2B076ECC: push 0x10 */ 1561 PUSH32(esp, 0x10u); /* 0x2B076ECE: push 0x10 */ 1562 ecx = eax; /* 0x2B076ED0: mov ecx, eax */ 1563 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B076ED2: call dword ptr [0x2b0b5650] */ 1564 RECOMP_FLAGS_IN(); 1565 MEM32(ebp + (-0x14)) = eax; /* 0x2B076ED8: mov dword ptr [ebp - 0x14], eax */ 1566 goto L_2B076EE0; /* 0x2B076EDB: jmp 0x2b076ee0 */ 1567 L_2B076EDD: 1568 MEM32(ebp + (-0x14)) = ebx; /* 0x2B076EDD: mov dword ptr [ebp - 0x14], ebx */ 1569 L_2B076EE0: 1570 ecx = MEM32(ebp + (-0x14)); /* 0x2B076EE0: mov ecx, dword ptr [ebp - 0x14] */ 1571 PUSH32(esp, ebx); /* 0x2B076EE3: push ebx */ 1572 PUSH32(esp, 0x00227711u); /* 0x2B076EE4: push 0x227711 */ 1573 PUSH32(esp, ebx); /* 0x2B076EE9: push ebx */ 1574 MEM32(ebp + (-0x4)) = edi; /* 0x2B076EEA: mov dword ptr [ebp - 4], edi */ 1575 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B076EED: call dword ptr [0x2b0b564c] */ 1576 RECOMP_FLAGS_IN(); 1577 PUSH32(esp, 0xD8u); /* 0x2B076EF3: push 0xd8 */ 1578 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076EF8: call 0x2b0ab212 */ /* not lifted */ 1579 RECOMP_FLAGS_IN(); 1580 edi = eax; /* 0x2B076EFD: mov edi, eax */ 1581 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1582 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1583 esp = esp + 4; /* 0x2B076EFF: add esp, 4 */ 1584 _flag_k = FK_ADD; 1585 MEM32(ebp + (-0x18)) = edi; /* 0x2B076F02: mov dword ptr [ebp - 0x18], edi */ 1586 /* cmp edi, ebx */ /* 0x2B076F05: cmp edi, ebx */ 1587 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1589 _flag_k = FK_CMP; 1590 MEM32(ebp + (-0x4)) = 0x15u; /* 0x2B076F07: mov dword ptr [ebp - 4], 0x15 */ 1591 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076F45; /* 0x2B076F0E: je 0x2b076f45 */ 1592 L_2B076F10: 1593 edx = MEM32(esi); /* 0x2B076F10: mov edx, dword ptr [esi] */ 1594 eax = ebp + (-0x28); /* 0x2B076F12: lea eax, [ebp - 0x28] */ 1595 PUSH32(esp, eax); /* 0x2B076F15: push eax */ 1596 eax = MEM32(ebp + (-0x14)); /* 0x2B076F16: mov eax, dword ptr [ebp - 0x14] */ 1597 ecx = ebp + (-0x20); /* 0x2B076F19: lea ecx, [ebp - 0x20] */ 1598 PUSH32(esp, ecx); /* 0x2B076F1C: push ecx */ 1599 PUSH32(esp, ebx); /* 0x2B076F1D: push ebx */ 1600 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 1601 edx = edx + 1; /* 0x2B076F1E: inc edx */ 1602 _flag_k = FK_INC; 1603 PUSH32(esp, edx); /* 0x2B076F1F: push edx */ 1604 PUSH32(esp, eax); /* 0x2B076F20: push eax */ 1605 ecx = ebp + (-0x34); /* 0x2B076F21: lea ecx, [ebp - 0x34] */ 1606 PUSH32(esp, ecx); /* 0x2B076F24: push ecx */ 1607 ecx = edi; /* 0x2B076F25: mov ecx, edi */ 1608 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x2B076F27: mov dword ptr [ebp - 0x28], 0x3f800000 */ 1609 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B076F2E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 1610 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B076F35: call dword ptr [0x2b0b5654] */ 1611 RECOMP_FLAGS_IN(); 1612 MEM32(edi) = 0x2B0B618Cu; /* 0x2B076F3B: mov dword ptr [edi], 0x2b0b618c */ 1613 ecx = edi; /* 0x2B076F41: mov ecx, edi */ 1614 goto L_2B076F47; /* 0x2B076F43: jmp 0x2b076f47 */ 1615 L_2B076F45: 1616 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1617 ecx = 0; /* 0x2B076F45: xor ecx, ecx */ 1618 _cf = 0; 1619 _flag_k = FK_TEST; 1620 L_2B076F47: 1621 edx = ebp + (-0x28); /* 0x2B076F47: lea edx, [ebp - 0x28] */ 1622 PUSH32(esp, edx); /* 0x2B076F4A: push edx */ 1623 eax = ebp + (-0x20); /* 0x2B076F4B: lea eax, [ebp - 0x20] */ 1624 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 1625 edi = edi | 0xFFFFFFFFu; /* 0x2B076F4E: or edi, 0xffffffff */ 1626 _cf = 0; 1627 _flag_k = FK_TEST; 1628 PUSH32(esp, eax); /* 0x2B076F51: push eax */ 1629 MEM32(ebp + (-0x4)) = edi; /* 0x2B076F52: mov dword ptr [ebp - 4], edi */ 1630 MEM32(esi + 0x7C) = ecx; /* 0x2B076F55: mov dword ptr [esi + 0x7c], ecx */ 1631 MEM32(ebp + (-0x28)) = 0x40080000u; /* 0x2B076F58: mov dword ptr [ebp - 0x28], 0x40080000 */ 1632 MEM32(ebp + (-0x20)) = 0x40080000u; /* 0x2B076F5F: mov dword ptr [ebp - 0x20], 0x40080000 */ 1633 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B076F66: call dword ptr [0x2b0b5658] */ 1634 RECOMP_FLAGS_IN(); 1635 ecx = MEM32(esi + 0x7C); /* 0x2B076F6C: mov ecx, dword ptr [esi + 0x7c] */ 1636 PUSH32(esp, 0x80u); /* 0x2B076F6F: push 0x80 */ 1637 RECOMP_ICALL(MEM32(0x2B0B565C)); /* 0x2B076F74: call dword ptr [0x2b0b565c] */ 1638 RECOMP_FLAGS_IN(); 1639 ecx = MEM32(esi + 0x7C); /* 0x2B076F7A: mov ecx, dword ptr [esi + 0x7c] */ 1640 edx = MEM32(ecx); /* 0x2B076F7D: mov edx, dword ptr [ecx] */ 1641 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B076F7F: call dword ptr [edx + 0xc] */ 1642 RECOMP_FLAGS_IN(); 1643 eax = MEM32(0x2B0B58EC); /* 0x2B076F82: mov eax, dword ptr [0x2b0b58ec] */ 1644 MEM32(ebp + (-0x4C)) = ebx; /* 0x2B076F87: mov dword ptr [ebp - 0x4c], ebx */ 1645 MEM32(ebp + (-0x48)) = ebx; /* 0x2B076F8A: mov dword ptr [ebp - 0x48], ebx */ 1646 /* cmp MEM32(eax), ebx */ /* 0x2B076F8D: cmp dword ptr [eax], ebx */ 1647 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(ebx); 1648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1649 _flag_k = FK_CMP; 1650 if (CMP_NE(_flag_a, _flag_b)) goto L_2B076FC0; /* 0x2B076F8F: jne 0x2b076fc0 */ 1651 L_2B076F91: 1652 PUSH32(esp, 8); /* 0x2B076F91: push 8 */ 1653 RECOMP_ICALL(0x2B0AB212u); /* 0x2B076F93: call 0x2b0ab212 */ /* not lifted */ 1654 RECOMP_FLAGS_IN(); 1655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1657 esp = esp + 4; /* 0x2B076F98: add esp, 4 */ 1658 _flag_k = FK_ADD; 1659 MEM32(ebp + (-0x28)) = eax; /* 0x2B076F9B: mov dword ptr [ebp - 0x28], eax */ 1660 /* cmp eax, ebx */ /* 0x2B076F9E: cmp eax, ebx */ 1661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1663 _flag_k = FK_CMP; 1664 MEM32(ebp + (-0x4)) = 0x16u; /* 0x2B076FA0: mov dword ptr [ebp - 4], 0x16 */ 1665 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B076FB3; /* 0x2B076FA7: je 0x2b076fb3 */ 1666 L_2B076FA9: 1667 ecx = eax; /* 0x2B076FA9: mov ecx, eax */ 1668 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B076FAB: call dword ptr [0x2b0b58f0] */ 1669 RECOMP_FLAGS_IN(); 1670 goto L_2B076FB5; /* 0x2B076FB1: jmp 0x2b076fb5 */ 1671 L_2B076FB3: 1672 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1673 eax = 0; /* 0x2B076FB3: xor eax, eax */ 1674 _cf = 0; 1675 _flag_k = FK_TEST; 1676 L_2B076FB5: 1677 ecx = MEM32(0x2B0B58EC); /* 0x2B076FB5: mov ecx, dword ptr [0x2b0b58ec] */ 1678 MEM32(ebp + (-0x4)) = edi; /* 0x2B076FBB: mov dword ptr [ebp - 4], edi */ 1679 MEM32(ecx) = eax; /* 0x2B076FBE: mov dword ptr [ecx], eax */ 1680 L_2B076FC0: 1681 edx = MEM32(0x2B0B58EC); /* 0x2B076FC0: mov edx, dword ptr [0x2b0b58ec] */ 1682 ecx = MEM32(edx); /* 0x2B076FC6: mov ecx, dword ptr [edx] */ 1683 PUSH32(esp, 6); /* 0x2B076FC8: push 6 */ 1684 eax = ebp + (-0x4C); /* 0x2B076FCA: lea eax, [ebp - 0x4c] */ 1685 PUSH32(esp, eax); /* 0x2B076FCD: push eax */ 1686 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B076FCE: call dword ptr [0x2b0b58f4] */ 1687 RECOMP_FLAGS_IN(); 1688 edi = MEM32(0x2B0B602C); /* 0x2B076FD4: mov edi, dword ptr [0x2b0b602c] */ 1689 MEM32(esi + 0x8C) = eax; /* 0x2B076FDA: mov dword ptr [esi + 0x8c], eax */ 1690 ecx = MEM32(0x2B0B6048); /* 0x2B076FE0: mov ecx, dword ptr [0x2b0b6048] */ 1691 ecx = MEM32(ecx); /* 0x2B076FE6: mov ecx, dword ptr [ecx] */ 1692 PUSH32(esp, 1); /* 0x2B076FE8: push 1 */ 1693 PUSH32(esp, 0x2B0EC34Cu); /* 0x2B076FEA: push 0x2b0ec34c */ 1694 MEM32(ebp + (-0x14)) = 1; /* 0x2B076FEF: mov dword ptr [ebp - 0x14], 1 */ 1695 RECOMP_ICALL(edi); /* 0x2B076FF6: call edi */ 1696 RECOMP_FLAGS_IN(); 1697 /* test eax, eax */ /* 0x2B076FF8: test eax, eax */ 1698 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1699 _cf = 0; 1700 _flag_k = FK_TEST; 1701 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B076FFF; /* 0x2B076FFA: jne 0x2b076fff */ 1702 L_2B076FFC: 1703 MEM32(ebp + (-0x14)) = ebx; /* 0x2B076FFC: mov dword ptr [ebp - 0x14], ebx */ 1704 L_2B076FFF: 1705 edx = MEM32(0x2B0B6048); /* 0x2B076FFF: mov edx, dword ptr [0x2b0b6048] */ 1706 PUSH32(esp, 1); /* 0x2B077005: push 1 */ 1707 MEM32(ebp + (-0x44)) = ebx; /* 0x2B077007: mov dword ptr [ebp - 0x44], ebx */ 1708 MEM32(ebp + (-0x40)) = ebx; /* 0x2B07700A: mov dword ptr [ebp - 0x40], ebx */ 1709 ecx = MEM32(edx); /* 0x2B07700D: mov ecx, dword ptr [edx] */ 1710 PUSH32(esp, 0x2B0EC340u); /* 0x2B07700F: push 0x2b0ec340 */ 1711 RECOMP_ICALL(edi); /* 0x2B077014: call edi */ 1712 RECOMP_FLAGS_IN(); 1713 MEM32(ebp + (-0x44)) = eax; /* 0x2B077016: mov dword ptr [ebp - 0x44], eax */ 1714 eax = MEM32(0x2B0B6048); /* 0x2B077019: mov eax, dword ptr [0x2b0b6048] */ 1715 ecx = MEM32(eax); /* 0x2B07701E: mov ecx, dword ptr [eax] */ 1716 PUSH32(esp, 1); /* 0x2B077020: push 1 */ 1717 PUSH32(esp, 0x2B0EC334u); /* 0x2B077022: push 0x2b0ec334 */ 1718 RECOMP_ICALL(edi); /* 0x2B077027: call edi */ 1719 RECOMP_FLAGS_IN(); 1720 ecx = MEM32(ebp + (-0x14)); /* 0x2B077029: mov ecx, dword ptr [ebp - 0x14] */ 1721 PUSH32(esp, ecx); /* 0x2B07702C: push ecx */ 1722 ecx = esi; /* 0x2B07702D: mov ecx, esi */ 1723 MEM32(ebp + (-0x40)) = eax; /* 0x2B07702F: mov dword ptr [ebp - 0x40], eax */ 1724 RECOMP_ICALL(0x2B077420u); /* 0x2B077032: call 0x2b077420 */ /* not lifted */ 1725 RECOMP_FLAGS_IN(); 1726 PUSH32(esp, ebx); /* 0x2B077037: push ebx */ 1727 ecx = esi; /* 0x2B077038: mov ecx, esi */ 1728 RECOMP_ICALL(0x2B0779B0u); /* 0x2B07703A: call 0x2b0779b0 */ /* not lifted */ 1729 RECOMP_FLAGS_IN(); 1730 edx = ebp + (-0x44); /* 0x2B07703F: lea edx, [ebp - 0x44] */ 1731 PUSH32(esp, edx); /* 0x2B077042: push edx */ 1732 ecx = esi; /* 0x2B077043: mov ecx, esi */ 1733 RECOMP_ICALL(0x2B077CE0u); /* 0x2B077045: call 0x2b077ce0 */ /* not lifted */ 1734 RECOMP_FLAGS_IN(); 1735 eax = MEM32(0x2B0B6048); /* 0x2B07704A: mov eax, dword ptr [0x2b0b6048] */ 1736 ecx = MEM32(eax); /* 0x2B07704F: mov ecx, dword ptr [eax] */ 1737 PUSH32(esp, 1); /* 0x2B077051: push 1 */ 1738 PUSH32(esp, 1); /* 0x2B077053: push 1 */ 1739 PUSH32(esp, esi); /* 0x2B077055: push esi */ 1740 PUSH32(esp, 0x2B077570u); /* 0x2B077056: push 0x2b077570 */ 1741 PUSH32(esp, 0x2B0E2724u); /* 0x2B07705B: push 0x2b0e2724 */ 1742 RECOMP_ICALL(MEM32(0x2B0B6050)); /* 0x2B077060: call dword ptr [0x2b0b6050] */ 1743 RECOMP_FLAGS_IN(); 1744 ecx = MEM32(ebp + (-0xC)); /* 0x2B077066: mov ecx, dword ptr [ebp - 0xc] */ 1745 edi = POP32_VAL(esp); /* 0x2B077069: pop edi */ 1746 eax = esi; /* 0x2B07706A: mov eax, esi */ 1747 esi = POP32_VAL(esp); /* 0x2B07706C: pop esi */ 1748 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07706D: mov dword ptr fs:[0], ecx */ 1749 ebx = POP32_VAL(esp); /* 0x2B077074: pop ebx */ 1750 esp = ebp; /* 0x2B077075: mov esp, ebp */ 1751 ebp = POP32_VAL(esp); /* 0x2B077077: pop ebp */ 1752 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077078: ret */ 1753 RECOMP_REGS_OUT(); 1754 } 1755 1756 void sub_2B077080(void) { 1757 int _fpu_cmp = 0; 1758 uint32_t _cf = 0; 1759 int _df = 1; 1760 uint32_t _flag_k = FK_NONE; 1761 uint32_t _flag_a = 0, _flag_b = 0; 1762 uint32_t _itail_tgt = 0; 1763 RECOMP_REGS_LOCALS 1764 RECOMP_ENTER(0x2B077080u); 1765 1766 L_2B077080: 1767 PUSH32(esp, ebp); /* 0x2B077080: push ebp */ 1768 ebp = esp; /* 0x2B077081: mov ebp, esp */ 1769 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 1770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1771 esp = esp - 0x28u; /* 0x2B077083: sub esp, 0x28 */ 1772 _flag_k = FK_CMP; 1773 PUSH32(esp, ebx); /* 0x2B077086: push ebx */ 1774 PUSH32(esp, esi); /* 0x2B077087: push esi */ 1775 PUSH32(esp, edi); /* 0x2B077088: push edi */ 1776 edi = MEM32(0x2B0B604C); /* 0x2B077089: mov edi, dword ptr [0x2b0b604c] */ 1777 esi = ecx; /* 0x2B07708F: mov esi, ecx */ 1778 eax = MEM32(esi + 0xC); /* 0x2B077091: mov eax, dword ptr [esi + 0xc] */ 1779 ecx = MEM32(0x2B0B6048); /* 0x2B077094: mov ecx, dword ptr [0x2b0b6048] */ 1780 ecx = MEM32(ecx); /* 0x2B07709A: mov ecx, dword ptr [ecx] */ 1781 PUSH32(esp, 1); /* 0x2B07709C: push 1 */ 1782 PUSH32(esp, 1); /* 0x2B07709E: push 1 */ 1783 PUSH32(esp, eax); /* 0x2B0770A0: push eax */ 1784 PUSH32(esp, 0x2B0EC340u); /* 0x2B0770A1: push 0x2b0ec340 */ 1785 RECOMP_ICALL(edi); /* 0x2B0770A6: call edi */ 1786 RECOMP_FLAGS_IN(); 1787 edx = MEM32(esi + 0x10); /* 0x2B0770A8: mov edx, dword ptr [esi + 0x10] */ 1788 eax = MEM32(0x2B0B6048); /* 0x2B0770AB: mov eax, dword ptr [0x2b0b6048] */ 1789 ecx = MEM32(eax); /* 0x2B0770B0: mov ecx, dword ptr [eax] */ 1790 PUSH32(esp, 1); /* 0x2B0770B2: push 1 */ 1791 PUSH32(esp, 1); /* 0x2B0770B4: push 1 */ 1792 PUSH32(esp, edx); /* 0x2B0770B6: push edx */ 1793 PUSH32(esp, 0x2B0EC334u); /* 0x2B0770B7: push 0x2b0ec334 */ 1794 RECOMP_ICALL(edi); /* 0x2B0770BC: call edi */ 1795 RECOMP_FLAGS_IN(); 1796 ecx = MEM32(0x2B0B6048); /* 0x2B0770BE: mov ecx, dword ptr [0x2b0b6048] */ 1797 ecx = MEM32(ecx); /* 0x2B0770C4: mov ecx, dword ptr [ecx] */ 1798 PUSH32(esp, 1); /* 0x2B0770C6: push 1 */ 1799 PUSH32(esp, esi); /* 0x2B0770C8: push esi */ 1800 PUSH32(esp, 0x2B077570u); /* 0x2B0770C9: push 0x2b077570 */ 1801 PUSH32(esp, 0x2B0E2724u); /* 0x2B0770CE: push 0x2b0e2724 */ 1802 RECOMP_ICALL(MEM32(0x2B0B6054)); /* 0x2B0770D3: call dword ptr [0x2b0b6054] */ 1803 RECOMP_FLAGS_IN(); 1804 SET_LO8(eax, MEM8(esi + 0x90)); /* 0x2B0770D9: mov al, byte ptr [esi + 0x90] */ 1805 /* test LO8(eax), LO8(eax) */ /* 0x2B0770DF: test al, al */ 1806 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1807 _cf = 0; 1808 _flag_k = FK_NARROW(FK_TEST, 24); 1809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07714A; /* 0x2B0770E1: je 0x2b07714a */ 1810 L_2B0770E3: 1811 ecx = esi; /* 0x2B0770E3: mov ecx, esi */ 1812 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0770E5: call 0x2b077cd0 */ /* not lifted */ 1813 RECOMP_FLAGS_IN(); 1814 RECOMP_ICALL(MEM32(0x2B0B5794)); /* 0x2B0770EA: call dword ptr [0x2b0b5794] */ 1815 RECOMP_FLAGS_IN(); 1816 eax = MEM32(eax); /* 0x2B0770F0: mov eax, dword ptr [eax] */ 1817 /* test eax, eax */ /* 0x2B0770F2: test eax, eax */ 1818 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1819 _cf = 0; 1820 _flag_k = FK_TEST; 1821 MEM32(ebp + (-0x4)) = eax; /* 0x2B0770F4: mov dword ptr [ebp - 4], eax */ 1822 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07714A; /* 0x2B0770F7: je 0x2b07714a */ 1823 L_2B0770F9: 1824 eax = MEM32(eax + 0x4); /* 0x2B0770F9: mov eax, dword ptr [eax + 4] */ 1825 edi = MEM32(eax); /* 0x2B0770FC: mov edi, dword ptr [eax] */ 1826 /* cmp edi, eax */ /* 0x2B0770FE: cmp edi, eax */ 1827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1829 _flag_k = FK_CMP; 1830 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07714A; /* 0x2B077100: je 0x2b07714a */ 1831 L_2B077102: 1832 ebx = MEM32(edi + 0x10); /* 0x2B077102: mov ebx, dword ptr [edi + 0x10] */ 1833 PUSH32(esp, ebx); /* 0x2B077105: push ebx */ 1834 ecx = esi; /* 0x2B077106: mov ecx, esi */ 1835 RECOMP_ICALL(0x2B078720u); /* 0x2B077108: call 0x2b078720 */ /* not lifted */ 1836 RECOMP_FLAGS_IN(); 1837 /* test eax, eax */ /* 0x2B07710D: test eax, eax */ 1838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1839 _cf = 0; 1840 _flag_k = FK_TEST; 1841 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077114; /* 0x2B07710F: jne 0x2b077114 */ 1842 L_2B077111: 1843 MEM8(ebx + 0x28) = (uint8_t)(LO8(eax)); /* 0x2B077111: mov byte ptr [ebx + 0x28], al */ 1844 L_2B077114: 1845 eax = MEM32(edi + 0x8); /* 0x2B077114: mov eax, dword ptr [edi + 8] */ 1846 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B077117: mov cl, byte ptr [eax + 0x15] */ 1847 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07711A: test cl, cl */ 1848 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1849 _cf = 0; 1850 _flag_k = FK_NARROW(FK_TEST, 24); 1851 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077129; /* 0x2B07711C: jne 0x2b077129 */ 1852 L_2B07711E: 1853 PUSH32(esp, eax); /* 0x2B07711E: push eax */ 1854 RECOMP_ICALL(0x2B0190E0u); /* 0x2B07711F: call 0x2b0190e0 */ /* not lifted */ 1855 RECOMP_FLAGS_IN(); 1856 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1858 esp = esp + 4; /* 0x2B077124: add esp, 4 */ 1859 _flag_k = FK_ADD; 1860 goto L_2B077140; /* 0x2B077127: jmp 0x2b077140 */ 1861 L_2B077129: 1862 eax = MEM32(edi + 0x4); /* 0x2B077129: mov eax, dword ptr [edi + 4] */ 1863 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B07712C: cmp edi, dword ptr [eax + 8] */ 1864 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1866 _flag_k = FK_CMP; 1867 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07713B; /* 0x2B07712F: jne 0x2b07713b */ 1868 L_2B077131: 1869 edi = eax; /* 0x2B077131: mov edi, eax */ 1870 eax = MEM32(eax + 0x4); /* 0x2B077133: mov eax, dword ptr [eax + 4] */ 1871 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B077136: cmp edi, dword ptr [eax + 8] */ 1872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1874 _flag_k = FK_CMP; 1875 RECOMP_BACKEDGE(); 1876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077131; /* 0x2B077139: je 0x2b077131 */ 1877 L_2B07713B: 1878 /* cmp MEM32(edi + 0x8), eax */ /* 0x2B07713B: cmp dword ptr [edi + 8], eax */ 1879 _flag_a = (uint32_t)(MEM32(edi + 0x8)); _flag_b = (uint32_t)(eax); 1880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1881 _flag_k = FK_CMP; 1882 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077142; /* 0x2B07713E: je 0x2b077142 */ 1883 L_2B077140: 1884 edi = eax; /* 0x2B077140: mov edi, eax */ 1885 L_2B077142: 1886 edx = MEM32(ebp + (-0x4)); /* 0x2B077142: mov edx, dword ptr [ebp - 4] */ 1887 /* cmp edi, MEM32(edx + 0x4) */ /* 0x2B077145: cmp edi, dword ptr [edx + 4] */ 1888 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1890 _flag_k = FK_CMP; 1891 RECOMP_BACKEDGE(); 1892 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077102; /* 0x2B077148: jne 0x2b077102 */ 1893 L_2B07714A: 1894 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1895 ebx = 0; /* 0x2B07714A: xor ebx, ebx */ 1896 _cf = 0; 1897 _flag_k = FK_TEST; 1898 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1899 edi = 0; /* 0x2B07714C: xor edi, edi */ 1900 _cf = 0; 1901 _flag_k = FK_TEST; 1902 L_2B07714E: 1903 ecx = MEM32(esi + 0x84); /* 0x2B07714E: mov ecx, dword ptr [esi + 0x84] */ 1904 eax = ebp + (-0x10); /* 0x2B077154: lea eax, [ebp - 0x10] */ 1905 PUSH32(esp, eax); /* 0x2B077157: push eax */ 1906 edx = ebp + (-0x18); /* 0x2B077158: lea edx, [ebp - 0x18] */ 1907 PUSH32(esp, edx); /* 0x2B07715B: push edx */ 1908 MEM32(ebp + (-0x10)) = edi; /* 0x2B07715C: mov dword ptr [ebp - 0x10], edi */ 1909 MEM32(ebp + (-0xC)) = ebx; /* 0x2B07715F: mov dword ptr [ebp - 0xc], ebx */ 1910 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B077162: call 0x2b06a0b0 */ /* not lifted */ 1911 RECOMP_FLAGS_IN(); 1912 ecx = MEM32(eax); /* 0x2B077167: mov ecx, dword ptr [eax] */ 1913 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077169: mov dword ptr [ebp - 8], ecx */ 1914 edx = MEM32(eax + 0x4); /* 0x2B07716C: mov edx, dword ptr [eax + 4] */ 1915 eax = ebp + (-0x4); /* 0x2B07716F: lea eax, [ebp - 4] */ 1916 PUSH32(esp, eax); /* 0x2B077172: push eax */ 1917 ecx = ebp + (-0x8); /* 0x2B077173: lea ecx, [ebp - 8] */ 1918 PUSH32(esp, ecx); /* 0x2B077176: push ecx */ 1919 ecx = ebp + (-0x20); /* 0x2B077177: lea ecx, [ebp - 0x20] */ 1920 MEM32(ebp + (-0x4)) = edx; /* 0x2B07717A: mov dword ptr [ebp - 4], edx */ 1921 RECOMP_ICALL(0x2B02A020u); /* 0x2B07717D: call 0x2b02a020 */ /* not lifted */ 1922 RECOMP_FLAGS_IN(); 1923 edx = eax; /* 0x2B077182: mov edx, eax */ 1924 eax = MEM32(edx); /* 0x2B077184: mov eax, dword ptr [edx] */ 1925 ecx = MEM32(edx + 0x4); /* 0x2B077186: mov ecx, dword ptr [edx + 4] */ 1926 MEM32(ebp + (-0x24)) = ecx; /* 0x2B077189: mov dword ptr [ebp - 0x24], ecx */ 1927 ecx = MEM32(eax + 0x10); /* 0x2B07718C: mov ecx, dword ptr [eax + 0x10] */ 1928 /* cmp ecx, ebx */ /* 0x2B07718F: cmp ecx, ebx */ 1929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1931 _flag_k = FK_CMP; 1932 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077199; /* 0x2B077191: je 0x2b077199 */ 1933 L_2B077193: 1934 edx = MEM32(ecx); /* 0x2B077193: mov edx, dword ptr [ecx] */ 1935 PUSH32(esp, 1); /* 0x2B077195: push 1 */ 1936 RECOMP_ICALL(MEM32(edx)); /* 0x2B077197: call dword ptr [edx] */ 1937 RECOMP_FLAGS_IN(); 1938 L_2B077199: 1939 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 1940 edi = edi + 1; /* 0x2B077199: inc edi */ 1941 _flag_k = FK_INC; 1942 /* cmp edi, 0x64u */ /* 0x2B07719A: cmp edi, 0x64 */ 1943 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 1944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1945 _flag_k = FK_CMP; 1946 RECOMP_BACKEDGE(); 1947 if (CMP_L(_flag_a, _flag_b)) goto L_2B07714E; /* 0x2B07719D: jl 0x2b07714e */ 1948 L_2B07719F: 1949 edi = MEM32(esi + 0x84); /* 0x2B07719F: mov edi, dword ptr [esi + 0x84] */ 1950 /* cmp edi, ebx */ /* 0x2B0771A5: cmp edi, ebx */ 1951 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1953 _flag_k = FK_CMP; 1954 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0771B9; /* 0x2B0771A7: je 0x2b0771b9 */ 1955 L_2B0771A9: 1956 ecx = edi; /* 0x2B0771A9: mov ecx, edi */ 1957 RECOMP_ICALL(0x2B077360u); /* 0x2B0771AB: call 0x2b077360 */ /* not lifted */ 1958 RECOMP_FLAGS_IN(); 1959 PUSH32(esp, edi); /* 0x2B0771B0: push edi */ 1960 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0771B1: call 0x2b0ab1ba */ /* not lifted */ 1961 RECOMP_FLAGS_IN(); 1962 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1963 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1964 esp = esp + 4; /* 0x2B0771B6: add esp, 4 */ 1965 _flag_k = FK_ADD; 1966 L_2B0771B9: 1967 ecx = MEM32(esi + 0x30); /* 0x2B0771B9: mov ecx, dword ptr [esi + 0x30] */ 1968 /* cmp ecx, ebx */ /* 0x2B0771BC: cmp ecx, ebx */ 1969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1971 _flag_k = FK_CMP; 1972 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0771C6; /* 0x2B0771BE: je 0x2b0771c6 */ 1973 L_2B0771C0: 1974 eax = MEM32(ecx); /* 0x2B0771C0: mov eax, dword ptr [ecx] */ 1975 PUSH32(esp, 1); /* 0x2B0771C2: push 1 */ 1976 RECOMP_ICALL(MEM32(eax)); /* 0x2B0771C4: call dword ptr [eax] */ 1977 RECOMP_FLAGS_IN(); 1978 L_2B0771C6: 1979 edi = MEM32(esi + 0x34); /* 0x2B0771C6: mov edi, dword ptr [esi + 0x34] */ 1980 /* cmp edi, ebx */ /* 0x2B0771C9: cmp edi, ebx */ 1981 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1983 _flag_k = FK_CMP; 1984 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0771DE; /* 0x2B0771CB: je 0x2b0771de */ 1985 L_2B0771CD: 1986 ecx = edi; /* 0x2B0771CD: mov ecx, edi */ 1987 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B0771CF: call dword ptr [0x2b0b5644] */ 1988 RECOMP_FLAGS_IN(); 1989 PUSH32(esp, edi); /* 0x2B0771D5: push edi */ 1990 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0771D6: call 0x2b0ab1ba */ /* not lifted */ 1991 RECOMP_FLAGS_IN(); 1992 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1994 esp = esp + 4; /* 0x2B0771DB: add esp, 4 */ 1995 _flag_k = FK_ADD; 1996 L_2B0771DE: 1997 ecx = MEM32(esi + 0x3C); /* 0x2B0771DE: mov ecx, dword ptr [esi + 0x3c] */ 1998 /* cmp ecx, ebx */ /* 0x2B0771E1: cmp ecx, ebx */ 1999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2001 _flag_k = FK_CMP; 2002 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0771EB; /* 0x2B0771E3: je 0x2b0771eb */ 2003 L_2B0771E5: 2004 edx = MEM32(ecx); /* 0x2B0771E5: mov edx, dword ptr [ecx] */ 2005 PUSH32(esp, 1); /* 0x2B0771E7: push 1 */ 2006 RECOMP_ICALL(MEM32(edx)); /* 0x2B0771E9: call dword ptr [edx] */ 2007 RECOMP_FLAGS_IN(); 2008 L_2B0771EB: 2009 ecx = MEM32(esi + 0x48); /* 0x2B0771EB: mov ecx, dword ptr [esi + 0x48] */ 2010 /* cmp ecx, ebx */ /* 0x2B0771EE: cmp ecx, ebx */ 2011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2013 _flag_k = FK_CMP; 2014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0771F8; /* 0x2B0771F0: je 0x2b0771f8 */ 2015 L_2B0771F2: 2016 eax = MEM32(ecx); /* 0x2B0771F2: mov eax, dword ptr [ecx] */ 2017 PUSH32(esp, 1); /* 0x2B0771F4: push 1 */ 2018 RECOMP_ICALL(MEM32(eax)); /* 0x2B0771F6: call dword ptr [eax] */ 2019 RECOMP_FLAGS_IN(); 2020 L_2B0771F8: 2021 ecx = MEM32(esi + 0x40); /* 0x2B0771F8: mov ecx, dword ptr [esi + 0x40] */ 2022 /* cmp ecx, ebx */ /* 0x2B0771FB: cmp ecx, ebx */ 2023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2025 _flag_k = FK_CMP; 2026 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077205; /* 0x2B0771FD: je 0x2b077205 */ 2027 L_2B0771FF: 2028 edx = MEM32(ecx); /* 0x2B0771FF: mov edx, dword ptr [ecx] */ 2029 PUSH32(esp, 1); /* 0x2B077201: push 1 */ 2030 RECOMP_ICALL(MEM32(edx)); /* 0x2B077203: call dword ptr [edx] */ 2031 RECOMP_FLAGS_IN(); 2032 L_2B077205: 2033 ecx = MEM32(esi + 0x4C); /* 0x2B077205: mov ecx, dword ptr [esi + 0x4c] */ 2034 /* cmp ecx, ebx */ /* 0x2B077208: cmp ecx, ebx */ 2035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2037 _flag_k = FK_CMP; 2038 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077212; /* 0x2B07720A: je 0x2b077212 */ 2039 L_2B07720C: 2040 eax = MEM32(ecx); /* 0x2B07720C: mov eax, dword ptr [ecx] */ 2041 PUSH32(esp, 1); /* 0x2B07720E: push 1 */ 2042 RECOMP_ICALL(MEM32(eax)); /* 0x2B077210: call dword ptr [eax] */ 2043 RECOMP_FLAGS_IN(); 2044 L_2B077212: 2045 ecx = MEM32(esi + 0x44); /* 0x2B077212: mov ecx, dword ptr [esi + 0x44] */ 2046 /* cmp ecx, ebx */ /* 0x2B077215: cmp ecx, ebx */ 2047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2049 _flag_k = FK_CMP; 2050 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07721F; /* 0x2B077217: je 0x2b07721f */ 2051 L_2B077219: 2052 edx = MEM32(ecx); /* 0x2B077219: mov edx, dword ptr [ecx] */ 2053 PUSH32(esp, 1); /* 0x2B07721B: push 1 */ 2054 RECOMP_ICALL(MEM32(edx)); /* 0x2B07721D: call dword ptr [edx] */ 2055 RECOMP_FLAGS_IN(); 2056 L_2B07721F: 2057 ecx = MEM32(esi + 0x50); /* 0x2B07721F: mov ecx, dword ptr [esi + 0x50] */ 2058 /* cmp ecx, ebx */ /* 0x2B077222: cmp ecx, ebx */ 2059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2061 _flag_k = FK_CMP; 2062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07722C; /* 0x2B077224: je 0x2b07722c */ 2063 L_2B077226: 2064 eax = MEM32(ecx); /* 0x2B077226: mov eax, dword ptr [ecx] */ 2065 PUSH32(esp, 1); /* 0x2B077228: push 1 */ 2066 RECOMP_ICALL(MEM32(eax)); /* 0x2B07722A: call dword ptr [eax] */ 2067 RECOMP_FLAGS_IN(); 2068 L_2B07722C: 2069 ecx = MEM32(esi + 0x60); /* 0x2B07722C: mov ecx, dword ptr [esi + 0x60] */ 2070 /* cmp ecx, ebx */ /* 0x2B07722F: cmp ecx, ebx */ 2071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2073 _flag_k = FK_CMP; 2074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077239; /* 0x2B077231: je 0x2b077239 */ 2075 L_2B077233: 2076 edx = MEM32(ecx); /* 0x2B077233: mov edx, dword ptr [ecx] */ 2077 PUSH32(esp, 1); /* 0x2B077235: push 1 */ 2078 RECOMP_ICALL(MEM32(edx)); /* 0x2B077237: call dword ptr [edx] */ 2079 RECOMP_FLAGS_IN(); 2080 L_2B077239: 2081 ecx = MEM32(esi + 0x5C); /* 0x2B077239: mov ecx, dword ptr [esi + 0x5c] */ 2082 /* cmp ecx, ebx */ /* 0x2B07723C: cmp ecx, ebx */ 2083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2085 _flag_k = FK_CMP; 2086 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077246; /* 0x2B07723E: je 0x2b077246 */ 2087 L_2B077240: 2088 eax = MEM32(ecx); /* 0x2B077240: mov eax, dword ptr [ecx] */ 2089 PUSH32(esp, 1); /* 0x2B077242: push 1 */ 2090 RECOMP_ICALL(MEM32(eax)); /* 0x2B077244: call dword ptr [eax] */ 2091 RECOMP_FLAGS_IN(); 2092 L_2B077246: 2093 ecx = MEM32(esi + 0x54); /* 0x2B077246: mov ecx, dword ptr [esi + 0x54] */ 2094 /* cmp ecx, ebx */ /* 0x2B077249: cmp ecx, ebx */ 2095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2097 _flag_k = FK_CMP; 2098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077253; /* 0x2B07724B: je 0x2b077253 */ 2099 L_2B07724D: 2100 edx = MEM32(ecx); /* 0x2B07724D: mov edx, dword ptr [ecx] */ 2101 PUSH32(esp, 1); /* 0x2B07724F: push 1 */ 2102 RECOMP_ICALL(MEM32(edx)); /* 0x2B077251: call dword ptr [edx] */ 2103 RECOMP_FLAGS_IN(); 2104 L_2B077253: 2105 ecx = MEM32(esi + 0x58); /* 0x2B077253: mov ecx, dword ptr [esi + 0x58] */ 2106 /* cmp ecx, ebx */ /* 0x2B077256: cmp ecx, ebx */ 2107 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2109 _flag_k = FK_CMP; 2110 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077260; /* 0x2B077258: je 0x2b077260 */ 2111 L_2B07725A: 2112 eax = MEM32(ecx); /* 0x2B07725A: mov eax, dword ptr [ecx] */ 2113 PUSH32(esp, 1); /* 0x2B07725C: push 1 */ 2114 RECOMP_ICALL(MEM32(eax)); /* 0x2B07725E: call dword ptr [eax] */ 2115 RECOMP_FLAGS_IN(); 2116 L_2B077260: 2117 edi = MEM32(esi + 0x38); /* 0x2B077260: mov edi, dword ptr [esi + 0x38] */ 2118 /* cmp edi, ebx */ /* 0x2B077263: cmp edi, ebx */ 2119 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2121 _flag_k = FK_CMP; 2122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077278; /* 0x2B077265: je 0x2b077278 */ 2123 L_2B077267: 2124 ecx = edi; /* 0x2B077267: mov ecx, edi */ 2125 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B077269: call dword ptr [0x2b0b5bc4] */ 2126 RECOMP_FLAGS_IN(); 2127 PUSH32(esp, edi); /* 0x2B07726F: push edi */ 2128 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B077270: call 0x2b0ab1ba */ /* not lifted */ 2129 RECOMP_FLAGS_IN(); 2130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2132 esp = esp + 4; /* 0x2B077275: add esp, 4 */ 2133 _flag_k = FK_ADD; 2134 L_2B077278: 2135 ecx = MEM32(esi + 0x64); /* 0x2B077278: mov ecx, dword ptr [esi + 0x64] */ 2136 eax = MEM32(ecx + 0x28); /* 0x2B07727B: mov eax, dword ptr [ecx + 0x28] */ 2137 edi = MEM32(0x2B0B5F80); /* 0x2B07727E: mov edi, dword ptr [0x2b0b5f80] */ 2138 PUSH32(esp, eax); /* 0x2B077284: push eax */ 2139 RECOMP_ICALL(edi); /* 0x2B077285: call edi */ 2140 RECOMP_FLAGS_IN(); 2141 ebx = MEM32(0x2B0B5FB8); /* 0x2B077287: mov ebx, dword ptr [0x2b0b5fb8] */ 2142 ecx = eax; /* 0x2B07728D: mov ecx, eax */ 2143 RECOMP_ICALL(ebx); /* 0x2B07728F: call ebx */ 2144 RECOMP_FLAGS_IN(); 2145 ecx = MEM32(esi + 0x64); /* 0x2B077291: mov ecx, dword ptr [esi + 0x64] */ 2146 /* test ecx, ecx */ /* 0x2B077294: test ecx, ecx */ 2147 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2148 _cf = 0; 2149 _flag_k = FK_TEST; 2150 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07729E; /* 0x2B077296: je 0x2b07729e */ 2151 L_2B077298: 2152 edx = MEM32(ecx); /* 0x2B077298: mov edx, dword ptr [ecx] */ 2153 PUSH32(esp, 1); /* 0x2B07729A: push 1 */ 2154 RECOMP_ICALL(MEM32(edx)); /* 0x2B07729C: call dword ptr [edx] */ 2155 RECOMP_FLAGS_IN(); 2156 L_2B07729E: 2157 eax = MEM32(esi + 0x68); /* 0x2B07729E: mov eax, dword ptr [esi + 0x68] */ 2158 eax = MEM32(eax + 0x28); /* 0x2B0772A1: mov eax, dword ptr [eax + 0x28] */ 2159 PUSH32(esp, eax); /* 0x2B0772A4: push eax */ 2160 RECOMP_ICALL(edi); /* 0x2B0772A5: call edi */ 2161 RECOMP_FLAGS_IN(); 2162 ecx = eax; /* 0x2B0772A7: mov ecx, eax */ 2163 RECOMP_ICALL(ebx); /* 0x2B0772A9: call ebx */ 2164 RECOMP_FLAGS_IN(); 2165 ecx = MEM32(esi + 0x68); /* 0x2B0772AB: mov ecx, dword ptr [esi + 0x68] */ 2166 /* test ecx, ecx */ /* 0x2B0772AE: test ecx, ecx */ 2167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2168 _cf = 0; 2169 _flag_k = FK_TEST; 2170 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0772B8; /* 0x2B0772B0: je 0x2b0772b8 */ 2171 L_2B0772B2: 2172 edx = MEM32(ecx); /* 0x2B0772B2: mov edx, dword ptr [ecx] */ 2173 PUSH32(esp, 1); /* 0x2B0772B4: push 1 */ 2174 RECOMP_ICALL(MEM32(edx)); /* 0x2B0772B6: call dword ptr [edx] */ 2175 RECOMP_FLAGS_IN(); 2176 L_2B0772B8: 2177 eax = MEM32(esi + 0x6C); /* 0x2B0772B8: mov eax, dword ptr [esi + 0x6c] */ 2178 eax = MEM32(eax + 0x28); /* 0x2B0772BB: mov eax, dword ptr [eax + 0x28] */ 2179 PUSH32(esp, eax); /* 0x2B0772BE: push eax */ 2180 RECOMP_ICALL(edi); /* 0x2B0772BF: call edi */ 2181 RECOMP_FLAGS_IN(); 2182 ecx = eax; /* 0x2B0772C1: mov ecx, eax */ 2183 RECOMP_ICALL(ebx); /* 0x2B0772C3: call ebx */ 2184 RECOMP_FLAGS_IN(); 2185 ecx = MEM32(esi + 0x6C); /* 0x2B0772C5: mov ecx, dword ptr [esi + 0x6c] */ 2186 /* test ecx, ecx */ /* 0x2B0772C8: test ecx, ecx */ 2187 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2188 _cf = 0; 2189 _flag_k = FK_TEST; 2190 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0772D2; /* 0x2B0772CA: je 0x2b0772d2 */ 2191 L_2B0772CC: 2192 edx = MEM32(ecx); /* 0x2B0772CC: mov edx, dword ptr [ecx] */ 2193 PUSH32(esp, 1); /* 0x2B0772CE: push 1 */ 2194 RECOMP_ICALL(MEM32(edx)); /* 0x2B0772D0: call dword ptr [edx] */ 2195 RECOMP_FLAGS_IN(); 2196 L_2B0772D2: 2197 eax = MEM32(esi + 0x70); /* 0x2B0772D2: mov eax, dword ptr [esi + 0x70] */ 2198 eax = MEM32(eax + 0x28); /* 0x2B0772D5: mov eax, dword ptr [eax + 0x28] */ 2199 PUSH32(esp, eax); /* 0x2B0772D8: push eax */ 2200 RECOMP_ICALL(edi); /* 0x2B0772D9: call edi */ 2201 RECOMP_FLAGS_IN(); 2202 ecx = eax; /* 0x2B0772DB: mov ecx, eax */ 2203 RECOMP_ICALL(ebx); /* 0x2B0772DD: call ebx */ 2204 RECOMP_FLAGS_IN(); 2205 ecx = MEM32(esi + 0x70); /* 0x2B0772DF: mov ecx, dword ptr [esi + 0x70] */ 2206 /* test ecx, ecx */ /* 0x2B0772E2: test ecx, ecx */ 2207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2208 _cf = 0; 2209 _flag_k = FK_TEST; 2210 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0772EC; /* 0x2B0772E4: je 0x2b0772ec */ 2211 L_2B0772E6: 2212 edx = MEM32(ecx); /* 0x2B0772E6: mov edx, dword ptr [ecx] */ 2213 PUSH32(esp, 1); /* 0x2B0772E8: push 1 */ 2214 RECOMP_ICALL(MEM32(edx)); /* 0x2B0772EA: call dword ptr [edx] */ 2215 RECOMP_FLAGS_IN(); 2216 L_2B0772EC: 2217 eax = MEM32(esi + 0x74); /* 0x2B0772EC: mov eax, dword ptr [esi + 0x74] */ 2218 eax = MEM32(eax + 0x28); /* 0x2B0772EF: mov eax, dword ptr [eax + 0x28] */ 2219 PUSH32(esp, eax); /* 0x2B0772F2: push eax */ 2220 RECOMP_ICALL(edi); /* 0x2B0772F3: call edi */ 2221 RECOMP_FLAGS_IN(); 2222 ecx = eax; /* 0x2B0772F5: mov ecx, eax */ 2223 RECOMP_ICALL(ebx); /* 0x2B0772F7: call ebx */ 2224 RECOMP_FLAGS_IN(); 2225 ecx = MEM32(esi + 0x74); /* 0x2B0772F9: mov ecx, dword ptr [esi + 0x74] */ 2226 /* test ecx, ecx */ /* 0x2B0772FC: test ecx, ecx */ 2227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2228 _cf = 0; 2229 _flag_k = FK_TEST; 2230 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077306; /* 0x2B0772FE: je 0x2b077306 */ 2231 L_2B077300: 2232 edx = MEM32(ecx); /* 0x2B077300: mov edx, dword ptr [ecx] */ 2233 PUSH32(esp, 1); /* 0x2B077302: push 1 */ 2234 RECOMP_ICALL(MEM32(edx)); /* 0x2B077304: call dword ptr [edx] */ 2235 RECOMP_FLAGS_IN(); 2236 L_2B077306: 2237 eax = MEM32(esi + 0x78); /* 0x2B077306: mov eax, dword ptr [esi + 0x78] */ 2238 eax = MEM32(eax + 0x28); /* 0x2B077309: mov eax, dword ptr [eax + 0x28] */ 2239 PUSH32(esp, eax); /* 0x2B07730C: push eax */ 2240 RECOMP_ICALL(edi); /* 0x2B07730D: call edi */ 2241 RECOMP_FLAGS_IN(); 2242 ecx = eax; /* 0x2B07730F: mov ecx, eax */ 2243 RECOMP_ICALL(ebx); /* 0x2B077311: call ebx */ 2244 RECOMP_FLAGS_IN(); 2245 ecx = MEM32(esi + 0x78); /* 0x2B077313: mov ecx, dword ptr [esi + 0x78] */ 2246 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2247 ebx = 0; /* 0x2B077316: xor ebx, ebx */ 2248 _cf = 0; 2249 _flag_k = FK_TEST; 2250 /* cmp ecx, ebx */ /* 0x2B077318: cmp ecx, ebx */ 2251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2253 _flag_k = FK_CMP; 2254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077322; /* 0x2B07731A: je 0x2b077322 */ 2255 L_2B07731C: 2256 edx = MEM32(ecx); /* 0x2B07731C: mov edx, dword ptr [ecx] */ 2257 PUSH32(esp, 1); /* 0x2B07731E: push 1 */ 2258 RECOMP_ICALL(MEM32(edx)); /* 0x2B077320: call dword ptr [edx] */ 2259 RECOMP_FLAGS_IN(); 2260 L_2B077322: 2261 eax = MEM32(esi + 0x7C); /* 0x2B077322: mov eax, dword ptr [esi + 0x7c] */ 2262 edi = MEM32(eax + 0x28); /* 0x2B077325: mov edi, dword ptr [eax + 0x28] */ 2263 /* cmp edi, ebx */ /* 0x2B077328: cmp edi, ebx */ 2264 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2266 _flag_k = FK_CMP; 2267 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07733D; /* 0x2B07732A: je 0x2b07733d */ 2268 L_2B07732C: 2269 ecx = edi; /* 0x2B07732C: mov ecx, edi */ 2270 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B07732E: call dword ptr [0x2b0b5644] */ 2271 RECOMP_FLAGS_IN(); 2272 PUSH32(esp, edi); /* 0x2B077334: push edi */ 2273 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B077335: call 0x2b0ab1ba */ /* not lifted */ 2274 RECOMP_FLAGS_IN(); 2275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2277 esp = esp + 4; /* 0x2B07733A: add esp, 4 */ 2278 _flag_k = FK_ADD; 2279 L_2B07733D: 2280 esi = MEM32(esi + 0x7C); /* 0x2B07733D: mov esi, dword ptr [esi + 0x7c] */ 2281 /* cmp esi, ebx */ /* 0x2B077340: cmp esi, ebx */ 2282 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2284 _flag_k = FK_CMP; 2285 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07734C; /* 0x2B077342: je 0x2b07734c */ 2286 L_2B077344: 2287 edx = MEM32(esi); /* 0x2B077344: mov edx, dword ptr [esi] */ 2288 PUSH32(esp, 1); /* 0x2B077346: push 1 */ 2289 ecx = esi; /* 0x2B077348: mov ecx, esi */ 2290 RECOMP_ICALL(MEM32(edx)); /* 0x2B07734A: call dword ptr [edx] */ 2291 RECOMP_FLAGS_IN(); 2292 L_2B07734C: 2293 edi = POP32_VAL(esp); /* 0x2B07734C: pop edi */ 2294 esi = POP32_VAL(esp); /* 0x2B07734D: pop esi */ 2295 MEM32(0x2B0EF02C) = ebx; /* 0x2B07734E: mov dword ptr [0x2b0ef02c], ebx */ 2296 ebx = POP32_VAL(esp); /* 0x2B077354: pop ebx */ 2297 esp = ebp; /* 0x2B077355: mov esp, ebp */ 2298 ebp = POP32_VAL(esp); /* 0x2B077357: pop ebp */ 2299 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077358: ret */ 2300 RECOMP_REGS_OUT(); 2301 } 2302 2303 void sub_2B077360(void) { 2304 int _fpu_cmp = 0; 2305 uint32_t _cf = 0; 2306 int _df = 1; 2307 uint32_t _flag_k = FK_NONE; 2308 uint32_t _flag_a = 0, _flag_b = 0; 2309 uint32_t _itail_tgt = 0; 2310 RECOMP_REGS_LOCALS 2311 RECOMP_ENTER(0x2B077360u); 2312 2313 L_2B077360: 2314 PUSH32(esp, ebp); /* 0x2B077360: push ebp */ 2315 ebp = esp; /* 0x2B077361: mov ebp, esp */ 2316 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2318 esp = esp - 8; /* 0x2B077363: sub esp, 8 */ 2319 _flag_k = FK_CMP; 2320 PUSH32(esp, ebx); /* 0x2B077366: push ebx */ 2321 PUSH32(esp, esi); /* 0x2B077367: push esi */ 2322 esi = ecx; /* 0x2B077368: mov esi, ecx */ 2323 ecx = MEM32(esi + 0x10); /* 0x2B07736A: mov ecx, dword ptr [esi + 0x10] */ 2324 /* test ecx, ecx */ /* 0x2B07736D: test ecx, ecx */ 2325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2326 _cf = 0; 2327 _flag_k = FK_TEST; 2328 PUSH32(esp, edi); /* 0x2B07736F: push edi */ 2329 edi = MEM32(esi + 0x4); /* 0x2B077370: mov edi, dword ptr [esi + 4] */ 2330 eax = MEM32(edi); /* 0x2B077373: mov eax, dword ptr [edi] */ 2331 MEM32(ebp + (-0x4)) = eax; /* 0x2B077375: mov dword ptr [ebp - 4], eax */ 2332 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0773D5; /* 0x2B077378: je 0x2b0773d5 */ 2333 L_2B07737A: 2334 ecx = eax; /* 0x2B07737A: mov ecx, eax */ 2335 /* cmp eax, ecx */ /* 0x2B07737C: cmp eax, ecx */ 2336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2338 _flag_k = FK_CMP; 2339 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0773D5; /* 0x2B07737E: jne 0x2b0773d5 */ 2340 L_2B077380: 2341 /* cmp edi, edi */ /* 0x2B077380: cmp edi, edi */ 2342 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2344 _flag_k = FK_CMP; 2345 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0773D5; /* 0x2B077382: jne 0x2b0773d5 */ 2346 L_2B077384: 2347 ebx = MEM32(edi + 0x4); /* 0x2B077384: mov ebx, dword ptr [edi + 4] */ 2348 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B077387: cmp ebx, dword ptr [esi + 8] */ 2349 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2351 _flag_k = FK_CMP; 2352 edi = ebx; /* 0x2B07738A: mov edi, ebx */ 2353 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0773AD; /* 0x2B07738C: je 0x2b0773ad */ 2354 L_2B07738E: 2355 eax = MEM32(edi + 0x8); /* 0x2B07738E: mov eax, dword ptr [edi + 8] */ 2356 PUSH32(esp, eax); /* 0x2B077391: push eax */ 2357 ecx = esi; /* 0x2B077392: mov ecx, esi */ 2358 RECOMP_ICALL(0x2B078BC0u); /* 0x2B077394: call 0x2b078bc0 */ /* not lifted */ 2359 RECOMP_FLAGS_IN(); 2360 edi = MEM32(edi); /* 0x2B077399: mov edi, dword ptr [edi] */ 2361 PUSH32(esp, ebx); /* 0x2B07739B: push ebx */ 2362 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07739C: call 0x2b0ab1ba */ /* not lifted */ 2363 RECOMP_FLAGS_IN(); 2364 eax = MEM32(esi + 0x8); /* 0x2B0773A1: mov eax, dword ptr [esi + 8] */ 2365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2367 esp = esp + 4; /* 0x2B0773A4: add esp, 4 */ 2368 _flag_k = FK_ADD; 2369 /* cmp edi, eax */ /* 0x2B0773A7: cmp edi, eax */ 2370 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2372 _flag_k = FK_CMP; 2373 ebx = edi; /* 0x2B0773A9: mov ebx, edi */ 2374 RECOMP_BACKEDGE(); 2375 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07738E; /* 0x2B0773AB: jne 0x2b07738e */ 2376 L_2B0773AD: 2377 ecx = MEM32(esi + 0x4); /* 0x2B0773AD: mov ecx, dword ptr [esi + 4] */ 2378 edx = MEM32(esi + 0x8); /* 0x2B0773B0: mov edx, dword ptr [esi + 8] */ 2379 MEM32(ecx + 0x4) = edx; /* 0x2B0773B3: mov dword ptr [ecx + 4], edx */ 2380 eax = MEM32(esi + 0x4); /* 0x2B0773B6: mov eax, dword ptr [esi + 4] */ 2381 MEM32(esi + 0x10) = 0; /* 0x2B0773B9: mov dword ptr [esi + 0x10], 0 */ 2382 MEM32(eax) = eax; /* 0x2B0773C0: mov dword ptr [eax], eax */ 2383 eax = MEM32(esi + 0x4); /* 0x2B0773C2: mov eax, dword ptr [esi + 4] */ 2384 MEM32(eax + 0x8) = eax; /* 0x2B0773C5: mov dword ptr [eax + 8], eax */ 2385 eax = ebp + (-0x8); /* 0x2B0773C8: lea eax, [ebp - 8] */ 2386 PUSH32(esp, eax); /* 0x2B0773CB: push eax */ 2387 ecx = esi; /* 0x2B0773CC: mov ecx, esi */ 2388 RECOMP_ICALL(0x2B018B60u); /* 0x2B0773CE: call 0x2b018b60 */ /* not lifted */ 2389 RECOMP_FLAGS_IN(); 2390 goto L_2B0773F6; /* 0x2B0773D3: jmp 0x2b0773f6 */ 2391 L_2B0773D5: 2392 /* cmp eax, edi */ /* 0x2B0773D5: cmp eax, edi */ 2393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2395 _flag_k = FK_CMP; 2396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0773F6; /* 0x2B0773D7: je 0x2b0773f6 */ 2397 L_2B0773D9: 2398 ecx = ebp + (-0x4); /* 0x2B0773D9: lea ecx, [ebp - 4] */ 2399 ebx = eax; /* 0x2B0773DC: mov ebx, eax */ 2400 RECOMP_ICALL(0x2B06A300u); /* 0x2B0773DE: call 0x2b06a300 */ /* not lifted */ 2401 RECOMP_FLAGS_IN(); 2402 PUSH32(esp, ebx); /* 0x2B0773E3: push ebx */ 2403 ecx = ebp + (-0x8); /* 0x2B0773E4: lea ecx, [ebp - 8] */ 2404 PUSH32(esp, ecx); /* 0x2B0773E7: push ecx */ 2405 ecx = esi; /* 0x2B0773E8: mov ecx, esi */ 2406 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0773EA: call 0x2b06d4f0 */ /* not lifted */ 2407 RECOMP_FLAGS_IN(); 2408 eax = MEM32(ebp + (-0x4)); /* 0x2B0773EF: mov eax, dword ptr [ebp - 4] */ 2409 /* cmp eax, edi */ /* 0x2B0773F2: cmp eax, edi */ 2410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2412 _flag_k = FK_CMP; 2413 RECOMP_BACKEDGE(); 2414 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0773D9; /* 0x2B0773F4: jne 0x2b0773d9 */ 2415 L_2B0773F6: 2416 edx = MEM32(esi + 0x4); /* 0x2B0773F6: mov edx, dword ptr [esi + 4] */ 2417 PUSH32(esp, edx); /* 0x2B0773F9: push edx */ 2418 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0773FA: call 0x2b0ab1ba */ /* not lifted */ 2419 RECOMP_FLAGS_IN(); 2420 eax = MEM32(esi + 0x8); /* 0x2B0773FF: mov eax, dword ptr [esi + 8] */ 2421 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2422 edi = 0; /* 0x2B077402: xor edi, edi */ 2423 _cf = 0; 2424 _flag_k = FK_TEST; 2425 PUSH32(esp, eax); /* 0x2B077404: push eax */ 2426 MEM32(esi + 0x4) = edi; /* 0x2B077405: mov dword ptr [esi + 4], edi */ 2427 MEM32(esi + 0x10) = edi; /* 0x2B077408: mov dword ptr [esi + 0x10], edi */ 2428 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07740B: call 0x2b0ab1ba */ /* not lifted */ 2429 RECOMP_FLAGS_IN(); 2430 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2431 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2432 esp = esp + 8; /* 0x2B077410: add esp, 8 */ 2433 _flag_k = FK_ADD; 2434 MEM32(esi + 0x8) = edi; /* 0x2B077413: mov dword ptr [esi + 8], edi */ 2435 edi = POP32_VAL(esp); /* 0x2B077416: pop edi */ 2436 esi = POP32_VAL(esp); /* 0x2B077417: pop esi */ 2437 ebx = POP32_VAL(esp); /* 0x2B077418: pop ebx */ 2438 esp = ebp; /* 0x2B077419: mov esp, ebp */ 2439 ebp = POP32_VAL(esp); /* 0x2B07741B: pop ebp */ 2440 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07741C: ret */ 2441 RECOMP_REGS_OUT(); 2442 } 2443 2444 void sub_2B077420(void) { 2445 int _fpu_cmp = 0; 2446 uint32_t _cf = 0; 2447 int _df = 1; 2448 uint32_t _flag_k = FK_NONE; 2449 uint32_t _flag_a = 0, _flag_b = 0; 2450 uint32_t _itail_tgt = 0; 2451 RECOMP_REGS_LOCALS 2452 RECOMP_ENTER(0x2B077420u); 2453 2454 L_2B077420: 2455 PUSH32(esp, ebp); /* 0x2B077420: push ebp */ 2456 ebp = esp; /* 0x2B077421: mov ebp, esp */ 2457 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2459 esp = esp - 0xCu; /* 0x2B077423: sub esp, 0xc */ 2460 _flag_k = FK_CMP; 2461 eax = MEM32(ebp + 0x8); /* 0x2B077426: mov eax, dword ptr [ebp + 8] */ 2462 PUSH32(esp, esi); /* 0x2B077429: push esi */ 2463 esi = ecx; /* 0x2B07742A: mov esi, ecx */ 2464 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B07742C: cmp dword ptr [esi + 8], eax */ 2465 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 2466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2467 _flag_k = FK_CMP; 2468 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077566; /* 0x2B07742F: je 0x2b077566 */ 2469 L_2B077435: 2470 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2471 ecx = 0; /* 0x2B077435: xor ecx, ecx */ 2472 _cf = 0; 2473 _flag_k = FK_TEST; 2474 /* cmp eax, ecx */ /* 0x2B077437: cmp eax, ecx */ 2475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2477 _flag_k = FK_CMP; 2478 MEM32(esi + 0x8) = eax; /* 0x2B077439: mov dword ptr [esi + 8], eax */ 2479 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07744A; /* 0x2B07743C: jne 0x2b07744a */ 2480 L_2B07743E: 2481 MEM32(esi + 0x28) = 1; /* 0x2B07743E: mov dword ptr [esi + 0x28], 1 */ 2482 MEM32(esi + 0x2C) = ecx; /* 0x2B077445: mov dword ptr [esi + 0x2c], ecx */ 2483 goto L_2B077454; /* 0x2B077448: jmp 0x2b077454 */ 2484 L_2B07744A: 2485 MEM32(esi + 0x28) = ecx; /* 0x2B07744A: mov dword ptr [esi + 0x28], ecx */ 2486 MEM32(esi + 0x2C) = 1; /* 0x2B07744D: mov dword ptr [esi + 0x2c], 1 */ 2487 L_2B077454: 2488 eax = MEM32(esi + 0x2C); /* 0x2B077454: mov eax, dword ptr [esi + 0x2c] */ 2489 ecx = MEM32(0x2B0B6048); /* 0x2B077457: mov ecx, dword ptr [0x2b0b6048] */ 2490 ecx = MEM32(ecx); /* 0x2B07745D: mov ecx, dword ptr [ecx] */ 2491 PUSH32(esp, ebx); /* 0x2B07745F: push ebx */ 2492 PUSH32(esp, edi); /* 0x2B077460: push edi */ 2493 PUSH32(esp, 1); /* 0x2B077461: push 1 */ 2494 PUSH32(esp, 1); /* 0x2B077463: push 1 */ 2495 PUSH32(esp, eax); /* 0x2B077465: push eax */ 2496 PUSH32(esp, 0x2B0EC34Cu); /* 0x2B077466: push 0x2b0ec34c */ 2497 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B07746B: call dword ptr [0x2b0b604c] */ 2498 RECOMP_FLAGS_IN(); 2499 eax = MEM32(esi + 0x28); /* 0x2B077471: mov eax, dword ptr [esi + 0x28] */ 2500 ecx = MEM32(esi + 0x2C); /* 0x2B077474: mov ecx, dword ptr [esi + 0x2c] */ 2501 edx = eax + eax * 8; /* 0x2B077477: lea edx, [eax + eax*8] */ 2502 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B07747A: shl edx, 2 */ 2503 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2504 edx = edx << 2u; /* 0x2B07747A: shl edx, 2 */ 2505 MEM32(esi + 0x14) = edx; /* 0x2B07747D: mov dword ptr [esi + 0x14], edx */ 2506 edx = ecx + ecx * 8; /* 0x2B077480: lea edx, [ecx + ecx*8] */ 2507 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B077483: shl edx, 2 */ 2508 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2509 edx = edx << 2u; /* 0x2B077483: shl edx, 2 */ 2510 MEM32(esi + 0x18) = edx; /* 0x2B077486: mov dword ptr [esi + 0x18], edx */ 2511 edx = MEM32(esi + 0x24); /* 0x2B077489: mov edx, dword ptr [esi + 0x24] */ 2512 edi = edx; /* 0x2B07748C: mov edi, edx */ 2513 edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2B07748E: imul edx, ecx */ 2514 edi = (uint32_t)((int32_t)edi * (int32_t)eax); /* 0x2B077491: imul edi, eax */ 2515 MEM32(esi + 0x20) = edx; /* 0x2B077494: mov dword ptr [esi + 0x20], edx */ 2516 MEM32(esi + 0x1C) = edi; /* 0x2B077497: mov dword ptr [esi + 0x1c], edi */ 2517 edx = eax + eax * 8; /* 0x2B07749A: lea edx, [eax + eax*8] */ 2518 edi = ecx + ecx * 4; /* 0x2B07749D: lea edi, [ecx + ecx*4] */ 2519 edx = edx + edi * 8; /* 0x2B0774A0: lea edx, [edx + edi*8] */ 2520 MEM32(ebp + (-0xC)) = edx; /* 0x2B0774A3: mov dword ptr [ebp - 0xc], edx */ 2521 eax = eax + eax * 4; /* 0x2B0774A6: lea eax, [eax + eax*4] */ 2522 ecx = ecx + ecx * 8; /* 0x2B0774A9: lea ecx, [ecx + ecx*8] */ 2523 edx = ecx + eax * 8; /* 0x2B0774AC: lea edx, [ecx + eax*8] */ 2524 ecx = MEM32(esi + 0x58); /* 0x2B0774AF: mov ecx, dword ptr [esi + 0x58] */ 2525 MEM32(ebp + (-0x8)) = edx; /* 0x2B0774B2: mov dword ptr [ebp - 8], edx */ 2526 eax = MEM32(ecx); /* 0x2B0774B5: mov eax, dword ptr [ecx] */ 2527 edx = ebp + (-0xC); /* 0x2B0774B7: lea edx, [ebp - 0xc] */ 2528 PUSH32(esp, edx); /* 0x2B0774BA: push edx */ 2529 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B0774BB: call dword ptr [eax + 0x18] */ 2530 RECOMP_FLAGS_IN(); 2531 eax = MEM32(esi + 0x24); /* 0x2B0774BE: mov eax, dword ptr [esi + 0x24] */ 2532 edx = MEM32(esi + 0x2C); /* 0x2B0774C1: mov edx, dword ptr [esi + 0x2c] */ 2533 ecx = MEM32(esi + 0x28); /* 0x2B0774C4: mov ecx, dword ptr [esi + 0x28] */ 2534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x168u); 2535 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2536 eax = eax + 0x168u; /* 0x2B0774C7: add eax, 0x168 */ 2537 _flag_k = FK_ADD; 2538 edi = eax; /* 0x2B0774CC: mov edi, eax */ 2539 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x2B0774CE: imul eax, edx */ 2540 edi = (uint32_t)((int32_t)edi * (int32_t)ecx); /* 0x2B0774D1: imul edi, ecx */ 2541 ebx = edx + edx * 4; /* 0x2B0774D4: lea ebx, [edx + edx*4] */ 2542 ecx = ecx + ecx * 4; /* 0x2B0774D7: lea ecx, [ecx + ecx*4] */ 2543 edx = eax + ecx * 8; /* 0x2B0774DA: lea edx, [eax + ecx*8] */ 2544 ecx = MEM32(esi + 0x5C); /* 0x2B0774DD: mov ecx, dword ptr [esi + 0x5c] */ 2545 MEM32(ebp + (-0x8)) = edx; /* 0x2B0774E0: mov dword ptr [ebp - 8], edx */ 2546 edi = edi + ebx * 8; /* 0x2B0774E3: lea edi, [edi + ebx*8] */ 2547 edx = ebp + (-0xC); /* 0x2B0774E6: lea edx, [ebp - 0xc] */ 2548 MEM32(ebp + (-0xC)) = edi; /* 0x2B0774E9: mov dword ptr [ebp - 0xc], edi */ 2549 eax = MEM32(ecx); /* 0x2B0774EC: mov eax, dword ptr [ecx] */ 2550 PUSH32(esp, edx); /* 0x2B0774EE: push edx */ 2551 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B0774EF: call dword ptr [eax + 0x18] */ 2552 RECOMP_FLAGS_IN(); 2553 ecx = MEM32(esi + 0x60); /* 0x2B0774F2: mov ecx, dword ptr [esi + 0x60] */ 2554 eax = MEM32(ecx); /* 0x2B0774F5: mov eax, dword ptr [ecx] */ 2555 edx = ebp + (-0xC); /* 0x2B0774F7: lea edx, [ebp - 0xc] */ 2556 PUSH32(esp, edx); /* 0x2B0774FA: push edx */ 2557 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B0774FB: call dword ptr [eax + 0x18] */ 2558 RECOMP_FLAGS_IN(); 2559 eax = MEM32(esi + 0x2C); /* 0x2B0774FE: mov eax, dword ptr [esi + 0x2c] */ 2560 ecx = MEM32(esi + 0x28); /* 0x2B077501: mov ecx, dword ptr [esi + 0x28] */ 2561 edx = eax + eax * 4; /* 0x2B077504: lea edx, [eax + eax*4] */ 2562 edx = ecx + edx * 2; /* 0x2B077507: lea edx, [ecx + edx*2] */ 2563 edx = edx + edx * 8; /* 0x2B07750A: lea edx, [edx + edx*8] */ 2564 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B07750D: shl edx, 2 */ 2565 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2566 edx = edx << 2u; /* 0x2B07750D: shl edx, 2 */ 2567 MEM32(ebp + 0x8) = edx; /* 0x2B077510: mov dword ptr [ebp + 8], edx */ 2568 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B077513: fild dword ptr [ebp + 8] */ 2569 ecx = ecx + ecx * 4; /* 0x2B077516: lea ecx, [ecx + ecx*4] */ 2570 eax = eax + ecx * 2; /* 0x2B077519: lea eax, [eax + ecx*2] */ 2571 _st[0] *= (double)*(float*)ADDR(0x2B0B6184); /* 0x2B07751C: fmul dword ptr [0x2b0b6184] */ 2572 edx = eax + eax * 8; /* 0x2B077522: lea edx, [eax + eax*8] */ 2573 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B077525: shl edx, 2 */ 2574 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2575 edx = edx << 2u; /* 0x2B077525: shl edx, 2 */ 2576 MEM32(ebp + 0x8) = edx; /* 0x2B077528: mov dword ptr [ebp + 8], edx */ 2577 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B07752B: fstp dword ptr [ebp - 4] */ 2578 eax = ebp + (-0x4); /* 0x2B07752E: lea eax, [ebp - 4] */ 2579 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B077531: fild dword ptr [ebp + 8] */ 2580 PUSH32(esp, eax); /* 0x2B077534: push eax */ 2581 ecx = ebp + 0x8; /* 0x2B077535: lea ecx, [ebp + 8] */ 2582 _st[0] *= (double)*(float*)ADDR(0x2B0B6184); /* 0x2B077538: fmul dword ptr [0x2b0b6184] */ 2583 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2B07753E: fstp dword ptr [ebp + 8] */ 2584 PUSH32(esp, ecx); /* 0x2B077541: push ecx */ 2585 ecx = MEM32(esi + 0x30); /* 0x2B077542: mov ecx, dword ptr [esi + 0x30] */ 2586 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B077545: call dword ptr [0x2b0b5658] */ 2587 RECOMP_FLAGS_IN(); 2588 edx = esi + 0xC; /* 0x2B07754B: lea edx, [esi + 0xc] */ 2589 PUSH32(esp, edx); /* 0x2B07754E: push edx */ 2590 ecx = esi; /* 0x2B07754F: mov ecx, esi */ 2591 RECOMP_ICALL(0x2B077CE0u); /* 0x2B077551: call 0x2b077ce0 */ /* not lifted */ 2592 RECOMP_FLAGS_IN(); 2593 ecx = esi; /* 0x2B077556: mov ecx, esi */ 2594 RECOMP_ICALL(0x2B0775D0u); /* 0x2B077558: call 0x2b0775d0 */ /* not lifted */ 2595 RECOMP_FLAGS_IN(); 2596 ecx = esi; /* 0x2B07755D: mov ecx, esi */ 2597 RECOMP_ICALL(0x2B077720u); /* 0x2B07755F: call 0x2b077720 */ /* not lifted */ 2598 RECOMP_FLAGS_IN(); 2599 edi = POP32_VAL(esp); /* 0x2B077564: pop edi */ 2600 ebx = POP32_VAL(esp); /* 0x2B077565: pop ebx */ 2601 L_2B077566: 2602 esi = POP32_VAL(esp); /* 0x2B077566: pop esi */ 2603 esp = ebp; /* 0x2B077567: mov esp, ebp */ 2604 ebp = POP32_VAL(esp); /* 0x2B077569: pop ebp */ 2605 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07756A: ret 4 */ 2606 RECOMP_REGS_OUT(); 2607 } 2608 2609 void sub_2B077570(void) { 2610 int _fpu_cmp = 0; 2611 uint32_t _cf = 0; 2612 int _df = 1; 2613 uint32_t _flag_k = FK_NONE; 2614 uint32_t _flag_a = 0, _flag_b = 0; 2615 uint32_t _itail_tgt = 0; 2616 RECOMP_REGS_LOCALS 2617 RECOMP_ENTER(0x2B077570u); 2618 2619 L_2B077570: 2620 PUSH32(esp, ebp); /* 0x2B077570: push ebp */ 2621 ebp = esp; /* 0x2B077571: mov ebp, esp */ 2622 ecx = MEM32(ebp + 0x8); /* 0x2B077573: mov ecx, dword ptr [ebp + 8] */ 2623 PUSH32(esp, esi); /* 0x2B077576: push esi */ 2624 esi = MEM32(ebp + 0xC); /* 0x2B077577: mov esi, dword ptr [ebp + 0xc] */ 2625 /* test esi, esi */ /* 0x2B07757A: test esi, esi */ 2626 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2627 _cf = 0; 2628 _flag_k = FK_TEST; 2629 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B07757C: sete al */ 2630 PUSH32(esp, eax); /* 0x2B07757F: push eax */ 2631 RECOMP_ICALL(0x2B0775B0u); /* 0x2B077580: call 0x2b0775b0 */ /* not lifted */ 2632 RECOMP_FLAGS_IN(); 2633 /* test esi, esi */ /* 0x2B077585: test esi, esi */ 2634 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2635 _cf = 0; 2636 _flag_k = FK_TEST; 2637 esi = POP32_VAL(esp); /* 0x2B077587: pop esi */ 2638 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0775A0; /* 0x2B077588: jne 0x2b0775a0 */ 2639 L_2B07758A: 2640 ecx = MEM32(0x2B0EF104); /* 0x2B07758A: mov ecx, dword ptr [0x2b0ef104] */ 2641 /* test ecx, ecx */ /* 0x2B077590: test ecx, ecx */ 2642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2643 _cf = 0; 2644 _flag_k = FK_TEST; 2645 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0775A0; /* 0x2B077592: je 0x2b0775a0 */ 2646 L_2B077594: 2647 PUSH32(esp, 0); /* 0x2B077594: push 0 */ 2648 PUSH32(esp, 0x2B0EC37Cu); /* 0x2B077596: push 0x2b0ec37c */ 2649 RECOMP_ICALL(0x2B08D480u); /* 0x2B07759B: call 0x2b08d480 */ /* not lifted */ 2650 RECOMP_FLAGS_IN(); 2651 L_2B0775A0: 2652 ebp = POP32_VAL(esp); /* 0x2B0775A0: pop ebp */ 2653 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0775A1: ret */ 2654 RECOMP_REGS_OUT(); 2655 } 2656 2657 void sub_2B0775B0(void) { 2658 int _fpu_cmp = 0; 2659 uint32_t _cf = 0; 2660 int _df = 1; 2661 uint32_t _flag_k = FK_NONE; 2662 uint32_t _flag_a = 0, _flag_b = 0; 2663 uint32_t _itail_tgt = 0; 2664 RECOMP_REGS_LOCALS 2665 RECOMP_ENTER(0x2B0775B0u); 2666 2667 L_2B0775B0: 2668 PUSH32(esp, ebp); /* 0x2B0775B0: push ebp */ 2669 ebp = esp; /* 0x2B0775B1: mov ebp, esp */ 2670 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B0775B3: mov al, byte ptr [ebp + 8] */ 2671 /* test LO8(eax), LO8(eax) */ /* 0x2B0775B6: test al, al */ 2672 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2673 _cf = 0; 2674 _flag_k = FK_NARROW(FK_TEST, 24); 2675 MEM8(ecx + 0x4) = (uint8_t)(LO8(eax)); /* 0x2B0775B8: mov byte ptr [ecx + 4], al */ 2676 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0775C6; /* 0x2B0775BB: je 0x2b0775c6 */ 2677 L_2B0775BD: 2678 RECOMP_ICALL(0x2B077680u); /* 0x2B0775BD: call 0x2b077680 */ /* not lifted */ 2679 RECOMP_FLAGS_IN(); 2680 ebp = POP32_VAL(esp); /* 0x2B0775C2: pop ebp */ 2681 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0775C3: ret 4 */ 2682 L_2B0775C6: 2683 RECOMP_ICALL(0x2B0775D0u); /* 0x2B0775C6: call 0x2b0775d0 */ /* not lifted */ 2684 RECOMP_FLAGS_IN(); 2685 ebp = POP32_VAL(esp); /* 0x2B0775CB: pop ebp */ 2686 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0775CC: ret 4 */ 2687 RECOMP_REGS_OUT(); 2688 } 2689 2690 void sub_2B0775D0(void) { 2691 int _fpu_cmp = 0; 2692 uint32_t _cf = 0; 2693 int _df = 1; 2694 uint32_t _flag_k = FK_NONE; 2695 uint32_t _flag_a = 0, _flag_b = 0; 2696 uint32_t _itail_tgt = 0; 2697 RECOMP_REGS_LOCALS 2698 RECOMP_ENTER(0x2B0775D0u); 2699 2700 L_2B0775D0: 2701 PUSH32(esp, esi); /* 0x2B0775D0: push esi */ 2702 esi = ecx; /* 0x2B0775D1: mov esi, ecx */ 2703 SET_LO8(eax, MEM8(esi + 0x4)); /* 0x2B0775D3: mov al, byte ptr [esi + 4] */ 2704 /* test LO8(eax), LO8(eax) */ /* 0x2B0775D6: test al, al */ 2705 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2706 _cf = 0; 2707 _flag_k = FK_NARROW(FK_TEST, 24); 2708 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07767B; /* 0x2B0775D8: jne 0x2b07767b */ 2709 L_2B0775DE: 2710 PUSH32(esp, ebx); /* 0x2B0775DE: push ebx */ 2711 PUSH32(esp, edi); /* 0x2B0775DF: push edi */ 2712 RECOMP_ICALL(0x2B077680u); /* 0x2B0775E0: call 0x2b077680 */ /* not lifted */ 2713 RECOMP_FLAGS_IN(); 2714 eax = MEM32(esi + 0x8); /* 0x2B0775E5: mov eax, dword ptr [esi + 8] */ 2715 /* test eax, eax */ /* 0x2B0775E8: test eax, eax */ 2716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2717 _cf = 0; 2718 _flag_k = FK_TEST; 2719 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077619; /* 0x2B0775EA: jne 0x2b077619 */ 2720 L_2B0775EC: 2721 eax = MEM32(esi + 0x3C); /* 0x2B0775EC: mov eax, dword ptr [esi + 0x3c] */ 2722 edi = MEM32(0x2B0B5B3C); /* 0x2B0775EF: mov edi, dword ptr [0x2b0b5b3c] */ 2723 SET_LO8(ebx, 1); /* 0x2B0775F5: mov bl, 1 */ 2724 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0775F7: mov byte ptr [eax + 8], bl */ 2725 ecx = MEM32(esi + 0x40); /* 0x2B0775FA: mov ecx, dword ptr [esi + 0x40] */ 2726 RECOMP_ICALL(edi); /* 0x2B0775FD: call edi */ 2727 RECOMP_FLAGS_IN(); 2728 ecx = MEM32(esi + 0x44); /* 0x2B0775FF: mov ecx, dword ptr [esi + 0x44] */ 2729 RECOMP_ICALL(edi); /* 0x2B077602: call edi */ 2730 RECOMP_FLAGS_IN(); 2731 ecx = MEM32(esi + 0x64); /* 0x2B077604: mov ecx, dword ptr [esi + 0x64] */ 2732 edx = MEM32(ecx); /* 0x2B077607: mov edx, dword ptr [ecx] */ 2733 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B077609: call dword ptr [edx + 8] */ 2734 RECOMP_FLAGS_IN(); 2735 ecx = MEM32(esi + 0x68); /* 0x2B07760C: mov ecx, dword ptr [esi + 0x68] */ 2736 eax = MEM32(ecx); /* 0x2B07760F: mov eax, dword ptr [ecx] */ 2737 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B077611: call dword ptr [eax + 8] */ 2738 RECOMP_FLAGS_IN(); 2739 ecx = MEM32(esi + 0x74); /* 0x2B077614: mov ecx, dword ptr [esi + 0x74] */ 2740 goto L_2B077644; /* 0x2B077617: jmp 0x2b077644 */ 2741 L_2B077619: 2742 eax = MEM32(esi + 0x48); /* 0x2B077619: mov eax, dword ptr [esi + 0x48] */ 2743 edi = MEM32(0x2B0B5B3C); /* 0x2B07761C: mov edi, dword ptr [0x2b0b5b3c] */ 2744 SET_LO8(ebx, 1); /* 0x2B077622: mov bl, 1 */ 2745 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B077624: mov byte ptr [eax + 8], bl */ 2746 ecx = MEM32(esi + 0x4C); /* 0x2B077627: mov ecx, dword ptr [esi + 0x4c] */ 2747 RECOMP_ICALL(edi); /* 0x2B07762A: call edi */ 2748 RECOMP_FLAGS_IN(); 2749 ecx = MEM32(esi + 0x50); /* 0x2B07762C: mov ecx, dword ptr [esi + 0x50] */ 2750 RECOMP_ICALL(edi); /* 0x2B07762F: call edi */ 2751 RECOMP_FLAGS_IN(); 2752 ecx = MEM32(esi + 0x6C); /* 0x2B077631: mov ecx, dword ptr [esi + 0x6c] */ 2753 edx = MEM32(ecx); /* 0x2B077634: mov edx, dword ptr [ecx] */ 2754 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B077636: call dword ptr [edx + 8] */ 2755 RECOMP_FLAGS_IN(); 2756 ecx = MEM32(esi + 0x70); /* 0x2B077639: mov ecx, dword ptr [esi + 0x70] */ 2757 eax = MEM32(ecx); /* 0x2B07763C: mov eax, dword ptr [ecx] */ 2758 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B07763E: call dword ptr [eax + 8] */ 2759 RECOMP_FLAGS_IN(); 2760 ecx = MEM32(esi + 0x78); /* 0x2B077641: mov ecx, dword ptr [esi + 0x78] */ 2761 L_2B077644: 2762 edx = MEM32(ecx); /* 0x2B077644: mov edx, dword ptr [ecx] */ 2763 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B077646: call dword ptr [edx + 8] */ 2764 RECOMP_FLAGS_IN(); 2765 eax = MEM32(esi + 0x60); /* 0x2B077649: mov eax, dword ptr [esi + 0x60] */ 2766 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B07764C: mov byte ptr [eax + 8], bl */ 2767 ecx = MEM32(esi + 0x5C); /* 0x2B07764F: mov ecx, dword ptr [esi + 0x5c] */ 2768 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B077652: mov byte ptr [ecx + 8], bl */ 2769 edx = MEM32(esi + 0x58); /* 0x2B077655: mov edx, dword ptr [esi + 0x58] */ 2770 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B077658: mov byte ptr [edx + 8], bl */ 2771 eax = MEM32(esi + 0x54); /* 0x2B07765B: mov eax, dword ptr [esi + 0x54] */ 2772 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B07765E: mov byte ptr [eax + 8], bl */ 2773 ecx = MEM32(esi + 0x38); /* 0x2B077661: mov ecx, dword ptr [esi + 0x38] */ 2774 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B077664: call dword ptr [0x2b0b5bb4] */ 2775 RECOMP_FLAGS_IN(); 2776 ecx = MEM32(esi + 0x30); /* 0x2B07766A: mov ecx, dword ptr [esi + 0x30] */ 2777 edx = MEM32(ecx); /* 0x2B07766D: mov edx, dword ptr [ecx] */ 2778 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B07766F: call dword ptr [edx + 8] */ 2779 RECOMP_FLAGS_IN(); 2780 ecx = esi; /* 0x2B077672: mov ecx, esi */ 2781 RECOMP_ICALL(0x2B077B50u); /* 0x2B077674: call 0x2b077b50 */ /* not lifted */ 2782 RECOMP_FLAGS_IN(); 2783 edi = POP32_VAL(esp); /* 0x2B077679: pop edi */ 2784 ebx = POP32_VAL(esp); /* 0x2B07767A: pop ebx */ 2785 L_2B07767B: 2786 esi = POP32_VAL(esp); /* 0x2B07767B: pop esi */ 2787 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07767C: ret */ 2788 RECOMP_REGS_OUT(); 2789 } 2790 2791 void sub_2B077680(void) { 2792 int _fpu_cmp = 0; 2793 uint32_t _cf = 0; 2794 int _df = 1; 2795 uint32_t _flag_k = FK_NONE; 2796 uint32_t _flag_a = 0, _flag_b = 0; 2797 uint32_t _itail_tgt = 0; 2798 RECOMP_REGS_LOCALS 2799 RECOMP_ENTER(0x2B077680u); 2800 2801 L_2B077680: 2802 PUSH32(esp, ebx); /* 0x2B077680: push ebx */ 2803 PUSH32(esp, esi); /* 0x2B077681: push esi */ 2804 esi = ecx; /* 0x2B077682: mov esi, ecx */ 2805 eax = MEM32(esi + 0x3C); /* 0x2B077684: mov eax, dword ptr [esi + 0x3c] */ 2806 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 2807 SET_LO8(ebx, 0); /* 0x2B077687: xor bl, bl */ 2808 _cf = 0; 2809 _flag_k = FK_NARROW(FK_TEST, 24); 2810 PUSH32(esp, edi); /* 0x2B077689: push edi */ 2811 edi = MEM32(0x2B0B5B34); /* 0x2B07768A: mov edi, dword ptr [0x2b0b5b34] */ 2812 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B077690: mov byte ptr [eax + 8], bl */ 2813 ecx = MEM32(esi + 0x40); /* 0x2B077693: mov ecx, dword ptr [esi + 0x40] */ 2814 RECOMP_ICALL(edi); /* 0x2B077696: call edi */ 2815 RECOMP_FLAGS_IN(); 2816 ecx = MEM32(esi + 0x44); /* 0x2B077698: mov ecx, dword ptr [esi + 0x44] */ 2817 RECOMP_ICALL(edi); /* 0x2B07769B: call edi */ 2818 RECOMP_FLAGS_IN(); 2819 ecx = MEM32(esi + 0x48); /* 0x2B07769D: mov ecx, dword ptr [esi + 0x48] */ 2820 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0776A0: mov byte ptr [ecx + 8], bl */ 2821 ecx = MEM32(esi + 0x4C); /* 0x2B0776A3: mov ecx, dword ptr [esi + 0x4c] */ 2822 RECOMP_ICALL(edi); /* 0x2B0776A6: call edi */ 2823 RECOMP_FLAGS_IN(); 2824 ecx = MEM32(esi + 0x50); /* 0x2B0776A8: mov ecx, dword ptr [esi + 0x50] */ 2825 RECOMP_ICALL(edi); /* 0x2B0776AB: call edi */ 2826 RECOMP_FLAGS_IN(); 2827 edx = MEM32(esi + 0x60); /* 0x2B0776AD: mov edx, dword ptr [esi + 0x60] */ 2828 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0776B0: mov byte ptr [edx + 8], bl */ 2829 eax = MEM32(esi + 0x5C); /* 0x2B0776B3: mov eax, dword ptr [esi + 0x5c] */ 2830 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0776B6: mov byte ptr [eax + 8], bl */ 2831 ecx = MEM32(esi + 0x58); /* 0x2B0776B9: mov ecx, dword ptr [esi + 0x58] */ 2832 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0776BC: mov byte ptr [ecx + 8], bl */ 2833 edx = MEM32(esi + 0x54); /* 0x2B0776BF: mov edx, dword ptr [esi + 0x54] */ 2834 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0776C2: mov byte ptr [edx + 8], bl */ 2835 ecx = MEM32(esi + 0x38); /* 0x2B0776C5: mov ecx, dword ptr [esi + 0x38] */ 2836 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B0776C8: call dword ptr [0x2b0b5bac] */ 2837 RECOMP_FLAGS_IN(); 2838 ecx = MEM32(esi + 0x30); /* 0x2B0776CE: mov ecx, dword ptr [esi + 0x30] */ 2839 eax = MEM32(ecx); /* 0x2B0776D1: mov eax, dword ptr [ecx] */ 2840 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B0776D3: call dword ptr [eax + 0xc] */ 2841 RECOMP_FLAGS_IN(); 2842 ecx = esi; /* 0x2B0776D6: mov ecx, esi */ 2843 RECOMP_ICALL(0x2B077A00u); /* 0x2B0776D8: call 0x2b077a00 */ /* not lifted */ 2844 RECOMP_FLAGS_IN(); 2845 ecx = MEM32(esi + 0x64); /* 0x2B0776DD: mov ecx, dword ptr [esi + 0x64] */ 2846 edx = MEM32(ecx); /* 0x2B0776E0: mov edx, dword ptr [ecx] */ 2847 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B0776E2: call dword ptr [edx + 0xc] */ 2848 RECOMP_FLAGS_IN(); 2849 ecx = MEM32(esi + 0x68); /* 0x2B0776E5: mov ecx, dword ptr [esi + 0x68] */ 2850 eax = MEM32(ecx); /* 0x2B0776E8: mov eax, dword ptr [ecx] */ 2851 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B0776EA: call dword ptr [eax + 0xc] */ 2852 RECOMP_FLAGS_IN(); 2853 ecx = MEM32(esi + 0x6C); /* 0x2B0776ED: mov ecx, dword ptr [esi + 0x6c] */ 2854 edx = MEM32(ecx); /* 0x2B0776F0: mov edx, dword ptr [ecx] */ 2855 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B0776F2: call dword ptr [edx + 0xc] */ 2856 RECOMP_FLAGS_IN(); 2857 ecx = MEM32(esi + 0x70); /* 0x2B0776F5: mov ecx, dword ptr [esi + 0x70] */ 2858 eax = MEM32(ecx); /* 0x2B0776F8: mov eax, dword ptr [ecx] */ 2859 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B0776FA: call dword ptr [eax + 0xc] */ 2860 RECOMP_FLAGS_IN(); 2861 ecx = MEM32(esi + 0x74); /* 0x2B0776FD: mov ecx, dword ptr [esi + 0x74] */ 2862 edx = MEM32(ecx); /* 0x2B077700: mov edx, dword ptr [ecx] */ 2863 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B077702: call dword ptr [edx + 0xc] */ 2864 RECOMP_FLAGS_IN(); 2865 ecx = MEM32(esi + 0x78); /* 0x2B077705: mov ecx, dword ptr [esi + 0x78] */ 2866 eax = MEM32(ecx); /* 0x2B077708: mov eax, dword ptr [ecx] */ 2867 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B07770A: call dword ptr [eax + 0xc] */ 2868 RECOMP_FLAGS_IN(); 2869 ecx = MEM32(esi + 0x7C); /* 0x2B07770D: mov ecx, dword ptr [esi + 0x7c] */ 2870 edx = MEM32(ecx); /* 0x2B077710: mov edx, dword ptr [ecx] */ 2871 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B077712: call dword ptr [edx + 0xc] */ 2872 RECOMP_FLAGS_IN(); 2873 edi = POP32_VAL(esp); /* 0x2B077715: pop edi */ 2874 esi = POP32_VAL(esp); /* 0x2B077716: pop esi */ 2875 ebx = POP32_VAL(esp); /* 0x2B077717: pop ebx */ 2876 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077718: ret */ 2877 RECOMP_REGS_OUT(); 2878 } 2879 2880 void sub_2B077720(void) { 2881 int _fpu_cmp = 0; 2882 uint32_t _cf = 0; 2883 int _df = 1; 2884 uint32_t _flag_k = FK_NONE; 2885 uint32_t _flag_a = 0, _flag_b = 0; 2886 uint32_t _itail_tgt = 0; 2887 RECOMP_REGS_LOCALS 2888 RECOMP_ENTER(0x2B077720u); 2889 2890 L_2B077720: 2891 PUSH32(esp, ebp); /* 0x2B077720: push ebp */ 2892 ebp = esp; /* 0x2B077721: mov ebp, esp */ 2893 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 2894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2895 esp = esp - 0x24u; /* 0x2B077723: sub esp, 0x24 */ 2896 _flag_k = FK_CMP; 2897 PUSH32(esp, esi); /* 0x2B077726: push esi */ 2898 PUSH32(esp, edi); /* 0x2B077727: push edi */ 2899 esi = ecx; /* 0x2B077728: mov esi, ecx */ 2900 eax = MEM32(esi + 0x38); /* 0x2B07772A: mov eax, dword ptr [esi + 0x38] */ 2901 ecx = MEM32(eax + 0x28); /* 0x2B07772D: mov ecx, dword ptr [eax + 0x28] */ 2902 PUSH32(esp, 1); /* 0x2B077730: push 1 */ 2903 PUSH32(esp, 0); /* 0x2B077732: push 0 */ 2904 PUSH32(esp, 0); /* 0x2B077734: push 0 */ 2905 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B077736: call dword ptr [0x2b0b564c] */ 2906 RECOMP_FLAGS_IN(); 2907 ecx = MEM32(esi + 0x3C); /* 0x2B07773C: mov ecx, dword ptr [esi + 0x3c] */ 2908 edi = MEM32(0x2B0B5960); /* 0x2B07773F: mov edi, dword ptr [0x2b0b5960] */ 2909 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B077745: mov byte ptr [ecx + 9], 1 */ 2910 ecx = MEM32(esi + 0x40); /* 0x2B077749: mov ecx, dword ptr [esi + 0x40] */ 2911 RECOMP_ICALL(edi); /* 0x2B07774C: call edi */ 2912 RECOMP_FLAGS_IN(); 2913 ecx = MEM32(esi + 0x44); /* 0x2B07774E: mov ecx, dword ptr [esi + 0x44] */ 2914 RECOMP_ICALL(edi); /* 0x2B077751: call edi */ 2915 RECOMP_FLAGS_IN(); 2916 edx = MEM32(esi + 0x48); /* 0x2B077753: mov edx, dword ptr [esi + 0x48] */ 2917 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B077756: mov byte ptr [edx + 9], 1 */ 2918 ecx = MEM32(esi + 0x4C); /* 0x2B07775A: mov ecx, dword ptr [esi + 0x4c] */ 2919 RECOMP_ICALL(edi); /* 0x2B07775D: call edi */ 2920 RECOMP_FLAGS_IN(); 2921 ecx = MEM32(esi + 0x50); /* 0x2B07775F: mov ecx, dword ptr [esi + 0x50] */ 2922 RECOMP_ICALL(edi); /* 0x2B077762: call edi */ 2923 RECOMP_FLAGS_IN(); 2924 eax = MEM32(esi + 0x88); /* 0x2B077764: mov eax, dword ptr [esi + 0x88] */ 2925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2926 eax = eax + 1; /* 0x2B07776A: inc eax */ 2927 _flag_k = FK_INC; 2928 /* cmp eax, 0xAu */ /* 0x2B07776B: cmp eax, 0xa */ 2929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 2930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2931 _flag_k = FK_CMP; 2932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077772; /* 0x2B07776E: jne 0x2b077772 */ 2933 L_2B077770: 2934 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2935 eax = 0; /* 0x2B077770: xor eax, eax */ 2936 _cf = 0; 2937 _flag_k = FK_TEST; 2938 L_2B077772: 2939 PUSH32(esp, 0xAu); /* 0x2B077772: push 0xa */ 2940 ecx = ebp + (-0x24); /* 0x2B077774: lea ecx, [ebp - 0x24] */ 2941 PUSH32(esp, ecx); /* 0x2B077777: push ecx */ 2942 PUSH32(esp, eax); /* 0x2B077778: push eax */ 2943 RECOMP_ICALL(MEM32(0x2B0B51B4)); /* 0x2B077779: call dword ptr [0x2b0b51b4] */ 2944 RECOMP_FLAGS_IN(); 2945 ecx = MEM32(esi + 0x54); /* 0x2B07777F: mov ecx, dword ptr [esi + 0x54] */ 2946 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2947 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2948 esp = esp + 0xCu; /* 0x2B077782: add esp, 0xc */ 2949 _flag_k = FK_ADD; 2950 PUSH32(esp, eax); /* 0x2B077785: push eax */ 2951 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B077786: call dword ptr [0x2b0b5850] */ 2952 RECOMP_FLAGS_IN(); 2953 edx = MEM32(esi + 0x54); /* 0x2B07778C: mov edx, dword ptr [esi + 0x54] */ 2954 edi = POP32_VAL(esp); /* 0x2B07778F: pop edi */ 2955 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B077790: mov byte ptr [edx + 9], 1 */ 2956 esi = POP32_VAL(esp); /* 0x2B077794: pop esi */ 2957 esp = ebp; /* 0x2B077795: mov esp, ebp */ 2958 ebp = POP32_VAL(esp); /* 0x2B077797: pop ebp */ 2959 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077798: ret */ 2960 RECOMP_REGS_OUT(); 2961 } 2962 2963 void sub_2B0777A0(void) { 2964 int _fpu_cmp = 0; 2965 uint32_t _cf = 0; 2966 int _df = 1; 2967 uint32_t _flag_k = FK_NONE; 2968 uint32_t _flag_a = 0, _flag_b = 0; 2969 uint32_t _itail_tgt = 0; 2970 RECOMP_REGS_LOCALS 2971 RECOMP_ENTER(0x2B0777A0u); 2972 2973 L_2B0777A0: 2974 PUSH32(esp, ebp); /* 0x2B0777A0: push ebp */ 2975 ebp = esp; /* 0x2B0777A1: mov ebp, esp */ 2976 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 2977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2978 esp = esp - 0x28u; /* 0x2B0777A3: sub esp, 0x28 */ 2979 _flag_k = FK_CMP; 2980 PUSH32(esp, ebx); /* 0x2B0777A6: push ebx */ 2981 PUSH32(esp, esi); /* 0x2B0777A7: push esi */ 2982 esi = ecx; /* 0x2B0777A8: mov esi, ecx */ 2983 SET_LO8(eax, MEM8(esi + 0x90)); /* 0x2B0777AA: mov al, byte ptr [esi + 0x90] */ 2984 /* test LO8(eax), LO8(eax) */ /* 0x2B0777B0: test al, al */ 2985 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2986 _cf = 0; 2987 _flag_k = FK_NARROW(FK_TEST, 24); 2988 PUSH32(esp, edi); /* 0x2B0777B2: push edi */ 2989 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0777E2; /* 0x2B0777B3: jne 0x2b0777e2 */ 2990 L_2B0777B5: 2991 ebx = MEM32(0x2B0B5798); /* 0x2B0777B5: mov ebx, dword ptr [0x2b0b5798] */ 2992 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2993 edi = 0; /* 0x2B0777BB: xor edi, edi */ 2994 _cf = 0; 2995 _flag_k = FK_TEST; 2996 L_2B0777BD: 2997 ecx = MEM32(esi + 0x8C); /* 0x2B0777BD: mov ecx, dword ptr [esi + 0x8c] */ 2998 PUSH32(esp, edi); /* 0x2B0777C3: push edi */ 2999 RECOMP_ICALL(ebx); /* 0x2B0777C4: call ebx */ 3000 RECOMP_FLAGS_IN(); 3001 /* test eax, eax */ /* 0x2B0777C6: test eax, eax */ 3002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3003 _cf = 0; 3004 _flag_k = FK_TEST; 3005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0777D5; /* 0x2B0777C8: je 0x2b0777d5 */ 3006 L_2B0777CA: 3007 PUSH32(esp, 0); /* 0x2B0777CA: push 0 */ 3008 PUSH32(esp, edi); /* 0x2B0777CC: push edi */ 3009 PUSH32(esp, eax); /* 0x2B0777CD: push eax */ 3010 ecx = esi; /* 0x2B0777CE: mov ecx, esi */ 3011 RECOMP_ICALL(0x2B078320u); /* 0x2B0777D0: call 0x2b078320 */ /* not lifted */ 3012 RECOMP_FLAGS_IN(); 3013 L_2B0777D5: 3014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3015 edi = edi + 1; /* 0x2B0777D5: inc edi */ 3016 _flag_k = FK_INC; 3017 /* cmp edi, 0x64u */ /* 0x2B0777D6: cmp edi, 0x64 */ 3018 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 3019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3020 _flag_k = FK_CMP; 3021 RECOMP_BACKEDGE(); 3022 if (CMP_L(_flag_a, _flag_b)) goto L_2B0777BD; /* 0x2B0777D9: jl 0x2b0777bd */ 3023 L_2B0777DB: 3024 MEM8(esi + 0x90) = (uint8_t)(1); /* 0x2B0777DB: mov byte ptr [esi + 0x90], 1 */ 3025 L_2B0777E2: 3026 eax = MEM32(esi + 0x88); /* 0x2B0777E2: mov eax, dword ptr [esi + 0x88] */ 3027 PUSH32(esp, eax); /* 0x2B0777E8: push eax */ 3028 ecx = esi; /* 0x2B0777E9: mov ecx, esi */ 3029 RECOMP_ICALL(0x2B0779B0u); /* 0x2B0777EB: call 0x2b0779b0 */ /* not lifted */ 3030 RECOMP_FLAGS_IN(); 3031 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3032 ebx = 0; /* 0x2B0777F0: xor ebx, ebx */ 3033 _cf = 0; 3034 _flag_k = FK_TEST; 3035 L_2B0777F2: 3036 ecx = MEM32(esi + 0x84); /* 0x2B0777F2: mov ecx, dword ptr [esi + 0x84] */ 3037 edx = ebp + (-0x18); /* 0x2B0777F8: lea edx, [ebp - 0x18] */ 3038 PUSH32(esp, edx); /* 0x2B0777FB: push edx */ 3039 eax = ebp + (-0x28); /* 0x2B0777FC: lea eax, [ebp - 0x28] */ 3040 PUSH32(esp, eax); /* 0x2B0777FF: push eax */ 3041 MEM32(ebp + (-0x18)) = ebx; /* 0x2B077800: mov dword ptr [ebp - 0x18], ebx */ 3042 MEM32(ebp + (-0x14)) = 0; /* 0x2B077803: mov dword ptr [ebp - 0x14], 0 */ 3043 RECOMP_ICALL(0x2B031EB0u); /* 0x2B07780A: call 0x2b031eb0 */ /* not lifted */ 3044 RECOMP_FLAGS_IN(); 3045 eax = MEM32(eax); /* 0x2B07780F: mov eax, dword ptr [eax] */ 3046 eax = MEM32(eax + 0x10); /* 0x2B077811: mov eax, dword ptr [eax + 0x10] */ 3047 /* test eax, eax */ /* 0x2B077814: test eax, eax */ 3048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3049 _cf = 0; 3050 _flag_k = FK_TEST; 3051 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B077816: je 0x2b07787c */ 3052 L_2B077818: 3053 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B077818: mov cl, byte ptr [eax + 0x70] */ 3054 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07781B: test cl, cl */ 3055 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3056 _cf = 0; 3057 _flag_k = FK_NARROW(FK_TEST, 24); 3058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B07781D: jne 0x2b07787c */ 3059 L_2B07781F: 3060 ecx = MEM32(eax + 0x5C); /* 0x2B07781F: mov ecx, dword ptr [eax + 0x5c] */ 3061 /* test ecx, ecx */ /* 0x2B077822: test ecx, ecx */ 3062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3063 _cf = 0; 3064 _flag_k = FK_TEST; 3065 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B077824: jne 0x2b07787c */ 3066 L_2B077826: 3067 edi = eax + 0x54; /* 0x2B077826: lea edi, [eax + 0x54] */ 3068 ecx = ebp + (-0x8); /* 0x2B077829: lea ecx, [ebp - 8] */ 3069 /* cmp ecx, edi */ /* 0x2B07782C: cmp ecx, edi */ 3070 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3072 _flag_k = FK_CMP; 3073 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07783B; /* 0x2B07782E: je 0x2b07783b */ 3074 L_2B077830: 3075 edx = MEM32(edi); /* 0x2B077830: mov edx, dword ptr [edi] */ 3076 eax = MEM32(edi + 0x4); /* 0x2B077832: mov eax, dword ptr [edi + 4] */ 3077 MEM32(ebp + (-0x8)) = edx; /* 0x2B077835: mov dword ptr [ebp - 8], edx */ 3078 MEM32(ebp + (-0x4)) = eax; /* 0x2B077838: mov dword ptr [ebp - 4], eax */ 3079 L_2B07783B: 3080 ecx = MEM32(ebp + (-0x8)); /* 0x2B07783B: mov ecx, dword ptr [ebp - 8] */ 3081 edx = MEM32(ebp + (-0x4)); /* 0x2B07783E: mov edx, dword ptr [ebp - 4] */ 3082 eax = ebp + (-0x20); /* 0x2B077841: lea eax, [ebp - 0x20] */ 3083 PUSH32(esp, eax); /* 0x2B077844: push eax */ 3084 MEM32(ebp + (-0x20)) = ecx; /* 0x2B077845: mov dword ptr [ebp - 0x20], ecx */ 3085 MEM32(ebp + (-0x1C)) = edx; /* 0x2B077848: mov dword ptr [ebp - 0x1c], edx */ 3086 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07784B: call dword ptr [0x2b0b5d6c] */ 3087 RECOMP_FLAGS_IN(); 3088 ecx = eax; /* 0x2B077851: mov ecx, eax */ 3089 RECOMP_ICALL(MEM32(0x2B0B5F2C)); /* 0x2B077853: call dword ptr [0x2b0b5f2c] */ 3090 RECOMP_FLAGS_IN(); 3091 /* test LO8(eax), LO8(eax) */ /* 0x2B077859: test al, al */ 3092 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3093 _cf = 0; 3094 _flag_k = FK_NARROW(FK_TEST, 24); 3095 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B07785B: jne 0x2b07787c */ 3096 L_2B07785D: 3097 ecx = ebp + (-0x10); /* 0x2B07785D: lea ecx, [ebp - 0x10] */ 3098 /* cmp ecx, edi */ /* 0x2B077860: cmp ecx, edi */ 3099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3101 _flag_k = FK_CMP; 3102 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07786F; /* 0x2B077862: je 0x2b07786f */ 3103 L_2B077864: 3104 edx = MEM32(edi); /* 0x2B077864: mov edx, dword ptr [edi] */ 3105 eax = MEM32(edi + 0x4); /* 0x2B077866: mov eax, dword ptr [edi + 4] */ 3106 MEM32(ebp + (-0x10)) = edx; /* 0x2B077869: mov dword ptr [ebp - 0x10], edx */ 3107 MEM32(ebp + (-0xC)) = eax; /* 0x2B07786C: mov dword ptr [ebp - 0xc], eax */ 3108 L_2B07786F: 3109 PUSH32(esp, 1); /* 0x2B07786F: push 1 */ 3110 ecx = ebp + (-0x10); /* 0x2B077871: lea ecx, [ebp - 0x10] */ 3111 PUSH32(esp, ecx); /* 0x2B077874: push ecx */ 3112 ecx = esi; /* 0x2B077875: mov ecx, esi */ 3113 RECOMP_ICALL(0x2B078600u); /* 0x2B077877: call 0x2b078600 */ /* not lifted */ 3114 RECOMP_FLAGS_IN(); 3115 L_2B07787C: 3116 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 3117 ebx = ebx + 1; /* 0x2B07787C: inc ebx */ 3118 _flag_k = FK_INC; 3119 /* cmp ebx, 0x64u */ /* 0x2B07787D: cmp ebx, 0x64 */ 3120 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 3121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3122 _flag_k = FK_CMP; 3123 RECOMP_BACKEDGE(); 3124 if (CMP_L(_flag_a, _flag_b)) goto L_2B0777F2; /* 0x2B077880: jl 0x2b0777f2 */ 3125 L_2B077886: 3126 ebx = MEM32(0x2B0B5894); /* 0x2B077886: mov ebx, dword ptr [0x2b0b5894] */ 3127 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3128 edi = 0; /* 0x2B07788C: xor edi, edi */ 3129 _cf = 0; 3130 _flag_k = FK_TEST; 3131 L_2B07788E: 3132 ecx = MEM32(esi + 0x84); /* 0x2B07788E: mov ecx, dword ptr [esi + 0x84] */ 3133 edx = ebp + (-0x20); /* 0x2B077894: lea edx, [ebp - 0x20] */ 3134 PUSH32(esp, edx); /* 0x2B077897: push edx */ 3135 eax = ebp + (-0x28); /* 0x2B077898: lea eax, [ebp - 0x28] */ 3136 PUSH32(esp, eax); /* 0x2B07789B: push eax */ 3137 MEM32(ebp + (-0x20)) = edi; /* 0x2B07789C: mov dword ptr [ebp - 0x20], edi */ 3138 MEM32(ebp + (-0x1C)) = 0; /* 0x2B07789F: mov dword ptr [ebp - 0x1c], 0 */ 3139 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0778A6: call 0x2b031eb0 */ /* not lifted */ 3140 RECOMP_FLAGS_IN(); 3141 eax = MEM32(eax); /* 0x2B0778AB: mov eax, dword ptr [eax] */ 3142 ecx = MEM32(eax + 0x10); /* 0x2B0778AD: mov ecx, dword ptr [eax + 0x10] */ 3143 /* test ecx, ecx */ /* 0x2B0778B0: test ecx, ecx */ 3144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3145 _cf = 0; 3146 _flag_k = FK_TEST; 3147 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0778BD; /* 0x2B0778B2: je 0x2b0778bd */ 3148 L_2B0778B4: 3149 SET_LO8(eax, MEM8(ecx + 0x70)); /* 0x2B0778B4: mov al, byte ptr [ecx + 0x70] */ 3150 /* test LO8(eax), LO8(eax) */ /* 0x2B0778B7: test al, al */ 3151 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3152 _cf = 0; 3153 _flag_k = FK_NARROW(FK_TEST, 24); 3154 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0778BD; /* 0x2B0778B9: jne 0x2b0778bd */ 3155 L_2B0778BB: 3156 RECOMP_ICALL(ebx); /* 0x2B0778BB: call ebx */ 3157 RECOMP_FLAGS_IN(); 3158 L_2B0778BD: 3159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3160 edi = edi + 1; /* 0x2B0778BD: inc edi */ 3161 _flag_k = FK_INC; 3162 /* cmp edi, 0x64u */ /* 0x2B0778BE: cmp edi, 0x64 */ 3163 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 3164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3165 _flag_k = FK_CMP; 3166 RECOMP_BACKEDGE(); 3167 if (CMP_L(_flag_a, _flag_b)) goto L_2B07788E; /* 0x2B0778C1: jl 0x2b07788e */ 3168 L_2B0778C3: 3169 ecx = MEM32(0x2B0B6048); /* 0x2B0778C3: mov ecx, dword ptr [0x2b0b6048] */ 3170 ecx = MEM32(ecx); /* 0x2B0778C9: mov ecx, dword ptr [ecx] */ 3171 PUSH32(esp, 2); /* 0x2B0778CB: push 2 */ 3172 PUSH32(esp, 0x2B0EC38Cu); /* 0x2B0778CD: push 0x2b0ec38c */ 3173 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B0778D2: call dword ptr [0x2b0b602c] */ 3174 RECOMP_FLAGS_IN(); 3175 /* test eax, eax */ /* 0x2B0778D8: test eax, eax */ 3176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3177 _cf = 0; 3178 _flag_k = FK_TEST; 3179 PUSH32(esp, 2); /* 0x2B0778DA: push 2 */ 3180 PUSH32(esp, 0x36u); /* 0x2B0778DC: push 0x36 */ 3181 SET_LO8(ebx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0778DE: setne bl */ 3182 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0778E1: call dword ptr [0x2b0b5d6c] */ 3183 RECOMP_FLAGS_IN(); 3184 ecx = eax; /* 0x2B0778E7: mov ecx, eax */ 3185 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B0778E9: call dword ptr [0x2b0b5d70] */ 3186 RECOMP_FLAGS_IN(); 3187 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0778EF: test bl, bl */ 3188 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3189 _cf = 0; 3190 _flag_k = FK_NARROW(FK_TEST, 24); 3191 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07799A; /* 0x2B0778F1: je 0x2b07799a */ 3192 L_2B0778F7: 3193 /* cmp eax, 1 */ /* 0x2B0778F7: cmp eax, 1 */ 3194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3196 _flag_k = FK_CMP; 3197 if (CMP_G(_flag_a, _flag_b)) goto L_2B077971; /* 0x2B0778FA: jg 0x2b077971 */ 3198 L_2B0778FC: 3199 PUSH32(esp, 0); /* 0x2B0778FC: push 0 */ 3200 PUSH32(esp, 0); /* 0x2B0778FE: push 0 */ 3201 edx = ebp + (-0x8); /* 0x2B077900: lea edx, [ebp - 8] */ 3202 PUSH32(esp, edx); /* 0x2B077903: push edx */ 3203 ecx = esi; /* 0x2B077904: mov ecx, esi */ 3204 MEM32(ebp + (-0x8)) = 0xDEB0u; /* 0x2B077906: mov dword ptr [ebp - 8], 0xdeb0 */ 3205 MEM32(ebp + (-0x4)) = 0xC1A5u; /* 0x2B07790D: mov dword ptr [ebp - 4], 0xc1a5 */ 3206 RECOMP_ICALL(0x2B078320u); /* 0x2B077914: call 0x2b078320 */ /* not lifted */ 3207 RECOMP_FLAGS_IN(); 3208 PUSH32(esp, 0); /* 0x2B077919: push 0 */ 3209 PUSH32(esp, 1); /* 0x2B07791B: push 1 */ 3210 eax = ebp + (-0x8); /* 0x2B07791D: lea eax, [ebp - 8] */ 3211 PUSH32(esp, eax); /* 0x2B077920: push eax */ 3212 ecx = esi; /* 0x2B077921: mov ecx, esi */ 3213 MEM32(ebp + (-0x4)) = 0xC1A3u; /* 0x2B077923: mov dword ptr [ebp - 4], 0xc1a3 */ 3214 RECOMP_ICALL(0x2B078320u); /* 0x2B07792A: call 0x2b078320 */ /* not lifted */ 3215 RECOMP_FLAGS_IN(); 3216 PUSH32(esp, 0); /* 0x2B07792F: push 0 */ 3217 PUSH32(esp, 2); /* 0x2B077931: push 2 */ 3218 ecx = ebp + (-0x8); /* 0x2B077933: lea ecx, [ebp - 8] */ 3219 PUSH32(esp, ecx); /* 0x2B077936: push ecx */ 3220 ecx = esi; /* 0x2B077937: mov ecx, esi */ 3221 MEM32(ebp + (-0x4)) = 0xC1A9u; /* 0x2B077939: mov dword ptr [ebp - 4], 0xc1a9 */ 3222 RECOMP_ICALL(0x2B078320u); /* 0x2B077940: call 0x2b078320 */ /* not lifted */ 3223 RECOMP_FLAGS_IN(); 3224 PUSH32(esp, 0); /* 0x2B077945: push 0 */ 3225 PUSH32(esp, 3); /* 0x2B077947: push 3 */ 3226 edx = ebp + (-0x8); /* 0x2B077949: lea edx, [ebp - 8] */ 3227 PUSH32(esp, edx); /* 0x2B07794C: push edx */ 3228 ecx = esi; /* 0x2B07794D: mov ecx, esi */ 3229 MEM32(ebp + (-0x4)) = 0xC1A8u; /* 0x2B07794F: mov dword ptr [ebp - 4], 0xc1a8 */ 3230 RECOMP_ICALL(0x2B078320u); /* 0x2B077956: call 0x2b078320 */ /* not lifted */ 3231 RECOMP_FLAGS_IN(); 3232 PUSH32(esp, 1); /* 0x2B07795B: push 1 */ 3233 PUSH32(esp, 9); /* 0x2B07795D: push 9 */ 3234 eax = ebp + (-0x8); /* 0x2B07795F: lea eax, [ebp - 8] */ 3235 PUSH32(esp, eax); /* 0x2B077962: push eax */ 3236 ecx = esi; /* 0x2B077963: mov ecx, esi */ 3237 MEM32(ebp + (-0x4)) = 0x00014124u; /* 0x2B077965: mov dword ptr [ebp - 4], 0x14124 */ 3238 RECOMP_ICALL(0x2B078320u); /* 0x2B07796C: call 0x2b078320 */ /* not lifted */ 3239 RECOMP_FLAGS_IN(); 3240 L_2B077971: 3241 ecx = MEM32(0x2B0B6048); /* 0x2B077971: mov ecx, dword ptr [0x2b0b6048] */ 3242 ecx = MEM32(ecx); /* 0x2B077977: mov ecx, dword ptr [ecx] */ 3243 PUSH32(esp, 1); /* 0x2B077979: push 1 */ 3244 PUSH32(esp, 2); /* 0x2B07797B: push 2 */ 3245 PUSH32(esp, 0); /* 0x2B07797D: push 0 */ 3246 PUSH32(esp, 0x2B0EC38Cu); /* 0x2B07797F: push 0x2b0ec38c */ 3247 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B077984: call dword ptr [0x2b0b604c] */ 3248 RECOMP_FLAGS_IN(); 3249 edx = MEM32(0x2B0B6048); /* 0x2B07798A: mov edx, dword ptr [0x2b0b6048] */ 3250 ecx = MEM32(edx); /* 0x2B077990: mov ecx, dword ptr [edx] */ 3251 PUSH32(esp, 2); /* 0x2B077992: push 2 */ 3252 RECOMP_ICALL(MEM32(0x2B0B6034)); /* 0x2B077994: call dword ptr [0x2b0b6034] */ 3253 RECOMP_FLAGS_IN(); 3254 L_2B07799A: 3255 edi = POP32_VAL(esp); /* 0x2B07799A: pop edi */ 3256 esi = POP32_VAL(esp); /* 0x2B07799B: pop esi */ 3257 ebx = POP32_VAL(esp); /* 0x2B07799C: pop ebx */ 3258 esp = ebp; /* 0x2B07799D: mov esp, ebp */ 3259 ebp = POP32_VAL(esp); /* 0x2B07799F: pop ebp */ 3260 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0779A0: ret */ 3261 RECOMP_REGS_OUT(); 3262 } 3263 3264 void sub_2B0779B0(void) { 3265 int _fpu_cmp = 0; 3266 uint32_t _cf = 0; 3267 int _df = 1; 3268 uint32_t _flag_k = FK_NONE; 3269 uint32_t _flag_a = 0, _flag_b = 0; 3270 uint32_t _itail_tgt = 0; 3271 RECOMP_REGS_LOCALS 3272 RECOMP_ENTER(0x2B0779B0u); 3273 3274 L_2B0779B0: 3275 PUSH32(esp, ebp); /* 0x2B0779B0: push ebp */ 3276 ebp = esp; /* 0x2B0779B1: mov ebp, esp */ 3277 eax = MEM32(ebp + 0x8); /* 0x2B0779B3: mov eax, dword ptr [ebp + 8] */ 3278 /* test eax, eax */ /* 0x2B0779B6: test eax, eax */ 3279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3280 _cf = 0; 3281 _flag_k = FK_TEST; 3282 PUSH32(esp, esi); /* 0x2B0779B8: push esi */ 3283 esi = ecx; /* 0x2B0779B9: mov esi, ecx */ 3284 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0779C4; /* 0x2B0779BB: jge 0x2b0779c4 */ 3285 L_2B0779BD: 3286 eax = 9; /* 0x2B0779BD: mov eax, 9 */ 3287 goto L_2B0779CB; /* 0x2B0779C2: jmp 0x2b0779cb */ 3288 L_2B0779C4: 3289 /* cmp eax, 9 */ /* 0x2B0779C4: cmp eax, 9 */ 3290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(9); 3291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3292 _flag_k = FK_CMP; 3293 if (CMP_LE(_flag_a, _flag_b)) goto L_2B0779CB; /* 0x2B0779C7: jle 0x2b0779cb */ 3294 L_2B0779C9: 3295 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3296 eax = 0; /* 0x2B0779C9: xor eax, eax */ 3297 _cf = 0; 3298 _flag_k = FK_TEST; 3299 L_2B0779CB: 3300 ecx = esi; /* 0x2B0779CB: mov ecx, esi */ 3301 MEM32(esi + 0x88) = eax; /* 0x2B0779CD: mov dword ptr [esi + 0x88], eax */ 3302 RECOMP_ICALL(0x2B077A00u); /* 0x2B0779D3: call 0x2b077a00 */ /* not lifted */ 3303 RECOMP_FLAGS_IN(); 3304 ecx = esi; /* 0x2B0779D8: mov ecx, esi */ 3305 RECOMP_ICALL(0x2B077B50u); /* 0x2B0779DA: call 0x2b077b50 */ /* not lifted */ 3306 RECOMP_FLAGS_IN(); 3307 ecx = esi; /* 0x2B0779DF: mov ecx, esi */ 3308 RECOMP_ICALL(0x2B077720u); /* 0x2B0779E1: call 0x2b077720 */ /* not lifted */ 3309 RECOMP_FLAGS_IN(); 3310 eax = esi + 0xC; /* 0x2B0779E6: lea eax, [esi + 0xc] */ 3311 PUSH32(esp, eax); /* 0x2B0779E9: push eax */ 3312 ecx = esi; /* 0x2B0779EA: mov ecx, esi */ 3313 RECOMP_ICALL(0x2B077CE0u); /* 0x2B0779EC: call 0x2b077ce0 */ /* not lifted */ 3314 RECOMP_FLAGS_IN(); 3315 esi = POP32_VAL(esp); /* 0x2B0779F1: pop esi */ 3316 ebp = POP32_VAL(esp); /* 0x2B0779F2: pop ebp */ 3317 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0779F3: ret 4 */ 3318 RECOMP_REGS_OUT(); 3319 } 3320 3321 void sub_2B077A00(void) { 3322 int _fpu_cmp = 0; 3323 uint32_t _cf = 0; 3324 int _df = 1; 3325 uint32_t _flag_k = FK_NONE; 3326 uint32_t _flag_a = 0, _flag_b = 0; 3327 uint32_t _itail_tgt = 0; 3328 RECOMP_REGS_LOCALS 3329 RECOMP_ENTER(0x2B077A00u); 3330 3331 L_2B077A00: 3332 PUSH32(esp, ebp); /* 0x2B077A00: push ebp */ 3333 ebp = esp; /* 0x2B077A01: mov ebp, esp */ 3334 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x60u); 3335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3336 esp = esp - 0x60u; /* 0x2B077A03: sub esp, 0x60 */ 3337 _flag_k = FK_CMP; 3338 PUSH32(esp, ebx); /* 0x2B077A06: push ebx */ 3339 PUSH32(esp, esi); /* 0x2B077A07: push esi */ 3340 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3341 edx = 0; /* 0x2B077A08: xor edx, edx */ 3342 _cf = 0; 3343 _flag_k = FK_TEST; 3344 PUSH32(esp, edi); /* 0x2B077A0A: push edi */ 3345 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077A0B: mov dword ptr [ebp - 0x10], ecx */ 3346 MEM32(ebp + (-0xC)) = edx; /* 0x2B077A0E: mov dword ptr [ebp - 0xc], edx */ 3347 goto L_2B077A16; /* 0x2B077A11: jmp 0x2b077a16 */ 3348 L_2B077A13: 3349 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 3350 L_2B077A16: 3351 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 3352 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 3353 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 3354 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 3355 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 3356 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 3357 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 3358 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 3359 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3361 _flag_k = FK_CMP; 3362 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 3363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 3364 L_2B077A38: 3365 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 3366 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 3367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3368 _flag_k = FK_CMP; 3369 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 3370 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 3371 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3372 _cf = 0; 3373 _flag_k = FK_NARROW(FK_TEST, 24); 3374 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 3375 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 3376 L_2B077A44: 3377 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 3378 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 3379 L_2B077A48: 3380 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 3381 L_2B077A4B: 3382 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 3383 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3385 _flag_k = FK_CMP; 3386 RECOMP_BACKEDGE(); 3387 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 3388 L_2B077A4F: 3389 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 3390 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 3391 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3392 _cf = 0; 3393 _flag_k = FK_NARROW(FK_TEST, 24); 3394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 3395 L_2B077A56: 3396 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 3397 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 3398 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 3399 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 3400 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 3401 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 3402 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 3403 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 3404 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 3405 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 3406 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 3407 RECOMP_FLAGS_IN(); 3408 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 3409 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 3410 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 3411 RECOMP_FLAGS_IN(); 3412 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 3413 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 3414 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 3415 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 3416 L_2B077A84: 3417 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 3418 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3419 _cf = 0; 3420 _flag_k = FK_NARROW(FK_TEST, 24); 3421 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 3422 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 3423 L_2B077A8B: 3424 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 3425 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 3426 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 3427 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 3428 RECOMP_FLAGS_IN(); 3429 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 3430 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 3431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 3432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3433 _flag_k = FK_CMP; 3434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 3435 L_2B077A9D: 3436 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 3437 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 3438 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 3439 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 3440 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 3441 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 3442 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 3443 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 3444 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 3445 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 3446 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 3447 RECOMP_FLAGS_IN(); 3448 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 3449 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 3450 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 3451 L_2B077ABC: 3452 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 3453 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 3454 RECOMP_FLAGS_IN(); 3455 L_2B077AC4: 3456 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 3457 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 3458 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 3459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 3460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3461 _flag_k = FK_CMP; 3462 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 3463 L_2B077ACF: 3464 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 3465 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 3466 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 3467 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 3468 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 3469 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 3470 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 3471 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 3472 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 3473 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 3474 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 3475 RECOMP_FLAGS_IN(); 3476 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 3477 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 3478 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 3479 L_2B077AEE: 3480 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 3481 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 3482 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 3483 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 3484 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 3485 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 3486 L_2B077AFD: 3487 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 3488 RECOMP_FLAGS_IN(); 3489 edx = eax; /* 0x2B077B02: mov edx, eax */ 3490 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 3491 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 3492 L_2B077B09: 3493 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 3494 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 3495 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 3496 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 3497 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 3498 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 3499 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 3500 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 3501 RECOMP_FLAGS_IN(); 3502 edx = eax; /* 0x2B077B1F: mov edx, eax */ 3503 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 3504 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 3505 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 3506 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 3507 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 3508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3509 _cf = 0; 3510 _flag_k = FK_TEST; 3511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 3512 L_2B077B30: 3513 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 3514 RECOMP_FLAGS_IN(); 3515 L_2B077B36: 3516 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 3517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3518 eax = eax + 1; /* 0x2B077B39: inc eax */ 3519 _flag_k = FK_INC; 3520 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 3521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 3522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3523 _flag_k = FK_CMP; 3524 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 3525 RECOMP_BACKEDGE(); 3526 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 3527 L_2B077B46: 3528 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 3529 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 3530 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 3531 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 3532 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 3533 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 3534 RECOMP_REGS_OUT(); 3535 } 3536 3537 void sub_2B077A13(void) { 3538 int _fpu_cmp = 0; 3539 uint32_t _cf = 0; 3540 int _df = 1; 3541 uint32_t _flag_k = FK_NONE; 3542 uint32_t _flag_a = 0, _flag_b = 0; 3543 uint32_t _itail_tgt = 0; 3544 RECOMP_REGS_LOCALS 3545 RECOMP_ENTER(0x2B077A13u); 3546 3547 L_2B077A13: 3548 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 3549 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 3550 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 3551 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 3552 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 3553 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 3554 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 3555 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 3556 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 3557 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3559 _flag_k = FK_CMP; 3560 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 3561 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 3562 L_2B077A38: 3563 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 3564 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 3565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3566 _flag_k = FK_CMP; 3567 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 3568 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 3569 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3570 _cf = 0; 3571 _flag_k = FK_NARROW(FK_TEST, 24); 3572 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 3573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 3574 L_2B077A44: 3575 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 3576 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 3577 L_2B077A48: 3578 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 3579 L_2B077A4B: 3580 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 3581 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3583 _flag_k = FK_CMP; 3584 RECOMP_BACKEDGE(); 3585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 3586 L_2B077A4F: 3587 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 3588 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 3589 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3590 _cf = 0; 3591 _flag_k = FK_NARROW(FK_TEST, 24); 3592 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 3593 L_2B077A56: 3594 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 3595 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 3596 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 3597 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 3598 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 3599 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 3600 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 3601 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 3602 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 3603 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 3604 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 3605 RECOMP_FLAGS_IN(); 3606 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 3607 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 3608 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 3609 RECOMP_FLAGS_IN(); 3610 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 3611 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 3612 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 3613 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 3614 L_2B077A84: 3615 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 3616 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3617 _cf = 0; 3618 _flag_k = FK_NARROW(FK_TEST, 24); 3619 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 3620 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 3621 L_2B077A8B: 3622 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 3623 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 3624 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 3625 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 3626 RECOMP_FLAGS_IN(); 3627 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 3628 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 3629 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 3630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3631 _flag_k = FK_CMP; 3632 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 3633 L_2B077A9D: 3634 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 3635 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 3636 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 3637 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 3638 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 3639 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 3640 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 3641 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 3642 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 3643 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 3644 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 3645 RECOMP_FLAGS_IN(); 3646 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 3647 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 3648 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 3649 L_2B077ABC: 3650 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 3651 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 3652 RECOMP_FLAGS_IN(); 3653 L_2B077AC4: 3654 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 3655 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 3656 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 3657 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 3658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3659 _flag_k = FK_CMP; 3660 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 3661 L_2B077ACF: 3662 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 3663 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 3664 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 3665 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 3666 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 3667 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 3668 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 3669 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 3670 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 3671 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 3672 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 3673 RECOMP_FLAGS_IN(); 3674 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 3675 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 3676 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 3677 L_2B077AEE: 3678 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 3679 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 3680 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 3681 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 3682 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 3683 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 3684 L_2B077AFD: 3685 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 3686 RECOMP_FLAGS_IN(); 3687 edx = eax; /* 0x2B077B02: mov edx, eax */ 3688 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 3689 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 3690 L_2B077B09: 3691 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 3692 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 3693 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 3694 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 3695 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 3696 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 3697 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 3698 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 3699 RECOMP_FLAGS_IN(); 3700 edx = eax; /* 0x2B077B1F: mov edx, eax */ 3701 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 3702 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 3703 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 3704 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 3705 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 3706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3707 _cf = 0; 3708 _flag_k = FK_TEST; 3709 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 3710 L_2B077B30: 3711 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 3712 RECOMP_FLAGS_IN(); 3713 L_2B077B36: 3714 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 3715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3716 eax = eax + 1; /* 0x2B077B39: inc eax */ 3717 _flag_k = FK_INC; 3718 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 3719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 3720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3721 _flag_k = FK_CMP; 3722 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 3723 RECOMP_BACKEDGE(); 3724 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 3725 L_2B077B46: 3726 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 3727 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 3728 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 3729 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 3730 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 3731 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 3732 RECOMP_REGS_OUT(); 3733 } 3734 3735 void sub_2B077A38(void) { 3736 int _fpu_cmp = 0; 3737 uint32_t _cf = 0; 3738 int _df = 1; 3739 uint32_t _flag_k = FK_NONE; 3740 uint32_t _flag_a = 0, _flag_b = 0; 3741 uint32_t _itail_tgt = 0; 3742 RECOMP_REGS_LOCALS 3743 RECOMP_ENTER(0x2B077A38u); 3744 3745 goto L_2B077A38; 3746 L_2B077A13: 3747 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 3748 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 3749 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 3750 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 3751 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 3752 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 3753 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 3754 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 3755 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 3756 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3758 _flag_k = FK_CMP; 3759 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 3760 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 3761 L_2B077A38: 3762 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 3763 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 3764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3765 _flag_k = FK_CMP; 3766 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 3767 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 3768 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3769 _cf = 0; 3770 _flag_k = FK_NARROW(FK_TEST, 24); 3771 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 3772 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 3773 L_2B077A44: 3774 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 3775 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 3776 L_2B077A48: 3777 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 3778 L_2B077A4B: 3779 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 3780 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3782 _flag_k = FK_CMP; 3783 RECOMP_BACKEDGE(); 3784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 3785 L_2B077A4F: 3786 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 3787 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 3788 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3789 _cf = 0; 3790 _flag_k = FK_NARROW(FK_TEST, 24); 3791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 3792 L_2B077A56: 3793 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 3794 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 3795 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 3796 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 3797 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 3798 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 3799 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 3800 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 3801 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 3802 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 3803 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 3804 RECOMP_FLAGS_IN(); 3805 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 3806 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 3807 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 3808 RECOMP_FLAGS_IN(); 3809 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 3810 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 3811 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 3812 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 3813 L_2B077A84: 3814 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 3815 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3816 _cf = 0; 3817 _flag_k = FK_NARROW(FK_TEST, 24); 3818 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 3819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 3820 L_2B077A8B: 3821 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 3822 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 3823 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 3824 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 3825 RECOMP_FLAGS_IN(); 3826 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 3827 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 3828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 3829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3830 _flag_k = FK_CMP; 3831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 3832 L_2B077A9D: 3833 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 3834 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 3835 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 3836 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 3837 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 3838 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 3839 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 3840 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 3841 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 3842 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 3843 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 3844 RECOMP_FLAGS_IN(); 3845 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 3846 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 3847 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 3848 L_2B077ABC: 3849 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 3850 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 3851 RECOMP_FLAGS_IN(); 3852 L_2B077AC4: 3853 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 3854 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 3855 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 3856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 3857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3858 _flag_k = FK_CMP; 3859 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 3860 L_2B077ACF: 3861 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 3862 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 3863 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 3864 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 3865 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 3866 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 3867 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 3868 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 3869 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 3870 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 3871 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 3872 RECOMP_FLAGS_IN(); 3873 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 3874 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 3875 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 3876 L_2B077AEE: 3877 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 3878 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 3879 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 3880 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 3881 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 3882 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 3883 L_2B077AFD: 3884 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 3885 RECOMP_FLAGS_IN(); 3886 edx = eax; /* 0x2B077B02: mov edx, eax */ 3887 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 3888 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 3889 L_2B077B09: 3890 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 3891 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 3892 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 3893 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 3894 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 3895 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 3896 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 3897 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 3898 RECOMP_FLAGS_IN(); 3899 edx = eax; /* 0x2B077B1F: mov edx, eax */ 3900 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 3901 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 3902 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 3903 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 3904 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 3905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3906 _cf = 0; 3907 _flag_k = FK_TEST; 3908 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 3909 L_2B077B30: 3910 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 3911 RECOMP_FLAGS_IN(); 3912 L_2B077B36: 3913 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 3914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3915 eax = eax + 1; /* 0x2B077B39: inc eax */ 3916 _flag_k = FK_INC; 3917 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 3918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 3919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3920 _flag_k = FK_CMP; 3921 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 3922 RECOMP_BACKEDGE(); 3923 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 3924 L_2B077B46: 3925 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 3926 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 3927 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 3928 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 3929 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 3930 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 3931 RECOMP_REGS_OUT(); 3932 } 3933 3934 void sub_2B077A4B(void) { 3935 int _fpu_cmp = 0; 3936 uint32_t _cf = 0; 3937 int _df = 1; 3938 uint32_t _flag_k = FK_NONE; 3939 uint32_t _flag_a = 0, _flag_b = 0; 3940 uint32_t _itail_tgt = 0; 3941 RECOMP_REGS_LOCALS 3942 RECOMP_ENTER(0x2B077A4Bu); 3943 3944 goto L_2B077A4B; 3945 L_2B077A13: 3946 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 3947 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 3948 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 3949 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 3950 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 3951 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 3952 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 3953 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 3954 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 3955 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3957 _flag_k = FK_CMP; 3958 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 3959 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 3960 L_2B077A38: 3961 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 3962 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 3963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3964 _flag_k = FK_CMP; 3965 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 3966 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 3967 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3968 _cf = 0; 3969 _flag_k = FK_NARROW(FK_TEST, 24); 3970 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 3971 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 3972 L_2B077A44: 3973 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 3974 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 3975 L_2B077A48: 3976 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 3977 L_2B077A4B: 3978 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 3979 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 3980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3981 _flag_k = FK_CMP; 3982 RECOMP_BACKEDGE(); 3983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 3984 L_2B077A4F: 3985 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 3986 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 3987 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3988 _cf = 0; 3989 _flag_k = FK_NARROW(FK_TEST, 24); 3990 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 3991 L_2B077A56: 3992 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 3993 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 3994 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 3995 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 3996 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 3997 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 3998 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 3999 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 4000 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 4001 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 4002 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 4003 RECOMP_FLAGS_IN(); 4004 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 4005 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 4006 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 4007 RECOMP_FLAGS_IN(); 4008 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 4009 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 4010 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 4011 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 4012 L_2B077A84: 4013 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 4014 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4015 _cf = 0; 4016 _flag_k = FK_NARROW(FK_TEST, 24); 4017 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 4018 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 4019 L_2B077A8B: 4020 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 4021 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 4022 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 4023 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 4024 RECOMP_FLAGS_IN(); 4025 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 4026 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 4027 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 4028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4029 _flag_k = FK_CMP; 4030 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 4031 L_2B077A9D: 4032 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 4033 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 4034 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 4035 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 4036 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 4037 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 4038 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 4039 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 4040 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 4041 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 4042 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 4043 RECOMP_FLAGS_IN(); 4044 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 4045 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 4046 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 4047 L_2B077ABC: 4048 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 4049 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 4050 RECOMP_FLAGS_IN(); 4051 L_2B077AC4: 4052 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 4053 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 4054 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 4055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 4056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4057 _flag_k = FK_CMP; 4058 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 4059 L_2B077ACF: 4060 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 4061 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 4062 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 4063 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 4064 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 4065 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 4066 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 4067 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 4068 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 4069 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 4070 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 4071 RECOMP_FLAGS_IN(); 4072 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 4073 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 4074 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 4075 L_2B077AEE: 4076 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 4077 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 4078 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 4079 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 4080 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 4081 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 4082 L_2B077AFD: 4083 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 4084 RECOMP_FLAGS_IN(); 4085 edx = eax; /* 0x2B077B02: mov edx, eax */ 4086 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 4087 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 4088 L_2B077B09: 4089 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 4090 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 4091 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 4092 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 4093 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 4094 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 4095 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 4096 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 4097 RECOMP_FLAGS_IN(); 4098 edx = eax; /* 0x2B077B1F: mov edx, eax */ 4099 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 4100 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 4101 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 4102 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 4103 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 4104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4105 _cf = 0; 4106 _flag_k = FK_TEST; 4107 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 4108 L_2B077B30: 4109 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 4110 RECOMP_FLAGS_IN(); 4111 L_2B077B36: 4112 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 4113 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4114 eax = eax + 1; /* 0x2B077B39: inc eax */ 4115 _flag_k = FK_INC; 4116 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 4117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 4118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4119 _flag_k = FK_CMP; 4120 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 4121 RECOMP_BACKEDGE(); 4122 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 4123 L_2B077B46: 4124 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 4125 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 4126 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 4127 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 4128 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 4129 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 4130 RECOMP_REGS_OUT(); 4131 } 4132 4133 void sub_2B077A4F(void) { 4134 int _fpu_cmp = 0; 4135 uint32_t _cf = 0; 4136 int _df = 1; 4137 uint32_t _flag_k = FK_NONE; 4138 uint32_t _flag_a = 0, _flag_b = 0; 4139 uint32_t _itail_tgt = 0; 4140 RECOMP_REGS_LOCALS 4141 RECOMP_ENTER(0x2B077A4Fu); 4142 4143 goto L_2B077A4F; 4144 L_2B077A13: 4145 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 4146 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 4147 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 4148 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 4149 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 4150 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 4151 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 4152 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 4153 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 4154 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4156 _flag_k = FK_CMP; 4157 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 4158 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 4159 L_2B077A38: 4160 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 4161 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4163 _flag_k = FK_CMP; 4164 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 4165 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 4166 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4167 _cf = 0; 4168 _flag_k = FK_NARROW(FK_TEST, 24); 4169 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 4170 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 4171 L_2B077A44: 4172 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 4173 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 4174 L_2B077A48: 4175 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 4176 L_2B077A4B: 4177 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 4178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4180 _flag_k = FK_CMP; 4181 RECOMP_BACKEDGE(); 4182 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 4183 L_2B077A4F: 4184 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 4185 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 4186 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4187 _cf = 0; 4188 _flag_k = FK_NARROW(FK_TEST, 24); 4189 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 4190 L_2B077A56: 4191 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 4192 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 4193 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 4194 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 4195 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 4196 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 4197 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 4198 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 4199 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 4200 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 4201 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 4202 RECOMP_FLAGS_IN(); 4203 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 4204 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 4205 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 4206 RECOMP_FLAGS_IN(); 4207 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 4208 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 4209 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 4210 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 4211 L_2B077A84: 4212 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 4213 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4214 _cf = 0; 4215 _flag_k = FK_NARROW(FK_TEST, 24); 4216 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 4217 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 4218 L_2B077A8B: 4219 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 4220 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 4221 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 4222 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 4223 RECOMP_FLAGS_IN(); 4224 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 4225 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 4226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 4227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4228 _flag_k = FK_CMP; 4229 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 4230 L_2B077A9D: 4231 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 4232 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 4233 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 4234 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 4235 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 4236 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 4237 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 4238 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 4239 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 4240 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 4241 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 4242 RECOMP_FLAGS_IN(); 4243 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 4244 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 4245 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 4246 L_2B077ABC: 4247 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 4248 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 4249 RECOMP_FLAGS_IN(); 4250 L_2B077AC4: 4251 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 4252 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 4253 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 4254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 4255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4256 _flag_k = FK_CMP; 4257 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 4258 L_2B077ACF: 4259 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 4260 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 4261 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 4262 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 4263 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 4264 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 4265 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 4266 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 4267 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 4268 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 4269 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 4270 RECOMP_FLAGS_IN(); 4271 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 4272 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 4273 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 4274 L_2B077AEE: 4275 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 4276 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 4277 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 4278 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 4279 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 4280 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 4281 L_2B077AFD: 4282 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 4283 RECOMP_FLAGS_IN(); 4284 edx = eax; /* 0x2B077B02: mov edx, eax */ 4285 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 4286 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 4287 L_2B077B09: 4288 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 4289 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 4290 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 4291 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 4292 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 4293 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 4294 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 4295 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 4296 RECOMP_FLAGS_IN(); 4297 edx = eax; /* 0x2B077B1F: mov edx, eax */ 4298 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 4299 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 4300 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 4301 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 4302 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 4303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4304 _cf = 0; 4305 _flag_k = FK_TEST; 4306 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 4307 L_2B077B30: 4308 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 4309 RECOMP_FLAGS_IN(); 4310 L_2B077B36: 4311 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 4312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4313 eax = eax + 1; /* 0x2B077B39: inc eax */ 4314 _flag_k = FK_INC; 4315 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 4316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 4317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4318 _flag_k = FK_CMP; 4319 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 4320 RECOMP_BACKEDGE(); 4321 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 4322 L_2B077B46: 4323 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 4324 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 4325 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 4326 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 4327 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 4328 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 4329 RECOMP_REGS_OUT(); 4330 } 4331 4332 void sub_2B077AFD(void) { 4333 int _fpu_cmp = 0; 4334 uint32_t _cf = 0; 4335 int _df = 1; 4336 uint32_t _flag_k = FK_NONE; 4337 uint32_t _flag_a = 0, _flag_b = 0; 4338 uint32_t _itail_tgt = 0; 4339 RECOMP_REGS_LOCALS 4340 RECOMP_ENTER(0x2B077AFDu); 4341 4342 goto L_2B077AFD; 4343 L_2B077A13: 4344 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 4345 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 4346 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 4347 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 4348 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 4349 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 4350 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 4351 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 4352 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 4353 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4355 _flag_k = FK_CMP; 4356 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 4357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 4358 L_2B077A38: 4359 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 4360 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4362 _flag_k = FK_CMP; 4363 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 4364 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 4365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4366 _cf = 0; 4367 _flag_k = FK_NARROW(FK_TEST, 24); 4368 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 4369 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 4370 L_2B077A44: 4371 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 4372 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 4373 L_2B077A48: 4374 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 4375 L_2B077A4B: 4376 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 4377 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4379 _flag_k = FK_CMP; 4380 RECOMP_BACKEDGE(); 4381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 4382 L_2B077A4F: 4383 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 4384 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 4385 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4386 _cf = 0; 4387 _flag_k = FK_NARROW(FK_TEST, 24); 4388 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 4389 L_2B077A56: 4390 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 4391 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 4392 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 4393 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 4394 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 4395 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 4396 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 4397 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 4398 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 4399 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 4400 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 4401 RECOMP_FLAGS_IN(); 4402 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 4403 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 4404 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 4405 RECOMP_FLAGS_IN(); 4406 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 4407 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 4408 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 4409 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 4410 L_2B077A84: 4411 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 4412 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4413 _cf = 0; 4414 _flag_k = FK_NARROW(FK_TEST, 24); 4415 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 4416 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 4417 L_2B077A8B: 4418 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 4419 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 4420 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 4421 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 4422 RECOMP_FLAGS_IN(); 4423 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 4424 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 4425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 4426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4427 _flag_k = FK_CMP; 4428 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 4429 L_2B077A9D: 4430 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 4431 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 4432 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 4433 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 4434 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 4435 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 4436 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 4437 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 4438 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 4439 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 4440 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 4441 RECOMP_FLAGS_IN(); 4442 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 4443 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 4444 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 4445 L_2B077ABC: 4446 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 4447 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 4448 RECOMP_FLAGS_IN(); 4449 L_2B077AC4: 4450 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 4451 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 4452 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 4453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 4454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4455 _flag_k = FK_CMP; 4456 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 4457 L_2B077ACF: 4458 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 4459 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 4460 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 4461 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 4462 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 4463 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 4464 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 4465 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 4466 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 4467 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 4468 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 4469 RECOMP_FLAGS_IN(); 4470 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 4471 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 4472 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 4473 L_2B077AEE: 4474 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 4475 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 4476 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 4477 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 4478 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 4479 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 4480 L_2B077AFD: 4481 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 4482 RECOMP_FLAGS_IN(); 4483 edx = eax; /* 0x2B077B02: mov edx, eax */ 4484 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 4485 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 4486 L_2B077B09: 4487 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 4488 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 4489 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 4490 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 4491 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 4492 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 4493 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 4494 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 4495 RECOMP_FLAGS_IN(); 4496 edx = eax; /* 0x2B077B1F: mov edx, eax */ 4497 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 4498 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 4499 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 4500 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 4501 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 4502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4503 _cf = 0; 4504 _flag_k = FK_TEST; 4505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 4506 L_2B077B30: 4507 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 4508 RECOMP_FLAGS_IN(); 4509 L_2B077B36: 4510 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 4511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4512 eax = eax + 1; /* 0x2B077B39: inc eax */ 4513 _flag_k = FK_INC; 4514 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 4515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 4516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4517 _flag_k = FK_CMP; 4518 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 4519 RECOMP_BACKEDGE(); 4520 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 4521 L_2B077B46: 4522 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 4523 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 4524 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 4525 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 4526 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 4527 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 4528 RECOMP_REGS_OUT(); 4529 } 4530 4531 void sub_2B077B09(void) { 4532 int _fpu_cmp = 0; 4533 uint32_t _cf = 0; 4534 int _df = 1; 4535 uint32_t _flag_k = FK_NONE; 4536 uint32_t _flag_a = 0, _flag_b = 0; 4537 uint32_t _itail_tgt = 0; 4538 RECOMP_REGS_LOCALS 4539 RECOMP_ENTER(0x2B077B09u); 4540 4541 goto L_2B077B09; 4542 L_2B077A13: 4543 edx = MEM32(ebp + (-0xC)); /* 0x2B077A13: mov edx, dword ptr [ebp - 0xc] */ 4544 eax = MEM32(ebp + (-0x10)); /* 0x2B077A16: mov eax, dword ptr [ebp - 0x10] */ 4545 edi = MEM32(eax + 0x84); /* 0x2B077A19: mov edi, dword ptr [eax + 0x84] */ 4546 ebx = MEM32(edi + 0x4); /* 0x2B077A1F: mov ebx, dword ptr [edi + 4] */ 4547 ecx = MEM32(edi + 0x8); /* 0x2B077A22: mov ecx, dword ptr [edi + 8] */ 4548 MEM32(ebp + (-0x28)) = edx; /* 0x2B077A25: mov dword ptr [ebp - 0x28], edx */ 4549 MEM32(ebp + (-0x24)) = 0; /* 0x2B077A28: mov dword ptr [ebp - 0x24], 0 */ 4550 esi = MEM32(ebx + 0x4); /* 0x2B077A2F: mov esi, dword ptr [ebx + 4] */ 4551 /* cmp esi, ecx */ /* 0x2B077A32: cmp esi, ecx */ 4552 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4554 _flag_k = FK_CMP; 4555 SET_LO8(eax, 1); /* 0x2B077A34: mov al, 1 */ 4556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077A4F; /* 0x2B077A36: je 0x2b077a4f */ 4557 L_2B077A38: 4558 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077A38: cmp edx, dword ptr [esi + 0xc] */ 4559 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4561 _flag_k = FK_CMP; 4562 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077A3B: setl al */ 4563 /* test LO8(eax), LO8(eax) */ /* 0x2B077A3E: test al, al */ 4564 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4565 _cf = 0; 4566 _flag_k = FK_NARROW(FK_TEST, 24); 4567 ebx = esi; /* 0x2B077A40: mov ebx, esi */ 4568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A48; /* 0x2B077A42: je 0x2b077a48 */ 4569 L_2B077A44: 4570 esi = MEM32(esi); /* 0x2B077A44: mov esi, dword ptr [esi] */ 4571 goto L_2B077A4B; /* 0x2B077A46: jmp 0x2b077a4b */ 4572 L_2B077A48: 4573 esi = MEM32(esi + 0x8); /* 0x2B077A48: mov esi, dword ptr [esi + 8] */ 4574 L_2B077A4B: 4575 /* cmp esi, ecx */ /* 0x2B077A4B: cmp esi, ecx */ 4576 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4578 _flag_k = FK_CMP; 4579 RECOMP_BACKEDGE(); 4580 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077A38; /* 0x2B077A4D: jne 0x2b077a38 */ 4581 L_2B077A4F: 4582 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077A4F: mov cl, byte ptr [edi + 0xc] */ 4583 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077A52: test cl, cl */ 4584 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4585 _cf = 0; 4586 _flag_k = FK_NARROW(FK_TEST, 24); 4587 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077A84; /* 0x2B077A54: je 0x2b077a84 */ 4588 L_2B077A56: 4589 ecx = ebp + (-0x1); /* 0x2B077A56: lea ecx, [ebp - 1] */ 4590 PUSH32(esp, ecx); /* 0x2B077A59: push ecx */ 4591 edx = ebp + (-0x28); /* 0x2B077A5A: lea edx, [ebp - 0x28] */ 4592 PUSH32(esp, edx); /* 0x2B077A5D: push edx */ 4593 PUSH32(esp, ebx); /* 0x2B077A5E: push ebx */ 4594 PUSH32(esp, esi); /* 0x2B077A5F: push esi */ 4595 eax = ebp + (-0x14); /* 0x2B077A60: lea eax, [ebp - 0x14] */ 4596 PUSH32(esp, eax); /* 0x2B077A63: push eax */ 4597 ecx = edi; /* 0x2B077A64: mov ecx, edi */ 4598 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077A66: mov byte ptr [ebp - 1], 1 */ 4599 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077A6A: call 0x2b0325b0 */ /* not lifted */ 4600 RECOMP_FLAGS_IN(); 4601 PUSH32(esp, eax); /* 0x2B077A6F: push eax */ 4602 ecx = ebp + (-0x38); /* 0x2B077A70: lea ecx, [ebp - 0x38] */ 4603 RECOMP_ICALL(0x2B02A020u); /* 0x2B077A73: call 0x2b02a020 */ /* not lifted */ 4604 RECOMP_FLAGS_IN(); 4605 ecx = eax; /* 0x2B077A78: mov ecx, eax */ 4606 eax = MEM32(ecx); /* 0x2B077A7A: mov eax, dword ptr [ecx] */ 4607 ecx = MEM32(ecx + 0x4); /* 0x2B077A7C: mov ecx, dword ptr [ecx + 4] */ 4608 goto L_2B077B09; /* 0x2B077A7F: jmp 0x2b077b09 */ 4609 L_2B077A84: 4610 /* test LO8(eax), LO8(eax) */ /* 0x2B077A84: test al, al */ 4611 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4612 _cf = 0; 4613 _flag_k = FK_NARROW(FK_TEST, 24); 4614 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077A86: mov dword ptr [ebp - 8], ebx */ 4615 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077AC4; /* 0x2B077A89: je 0x2b077ac4 */ 4616 L_2B077A8B: 4617 edx = ebp + (-0x18); /* 0x2B077A8B: lea edx, [ebp - 0x18] */ 4618 PUSH32(esp, edx); /* 0x2B077A8E: push edx */ 4619 ecx = edi; /* 0x2B077A8F: mov ecx, edi */ 4620 RECOMP_ICALL(0x2B018B60u); /* 0x2B077A91: call 0x2b018b60 */ /* not lifted */ 4621 RECOMP_FLAGS_IN(); 4622 ecx = MEM32(ebp + (-0x8)); /* 0x2B077A96: mov ecx, dword ptr [ebp - 8] */ 4623 /* cmp ecx, MEM32(eax) */ /* 0x2B077A99: cmp ecx, dword ptr [eax] */ 4624 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 4625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4626 _flag_k = FK_CMP; 4627 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077ABC; /* 0x2B077A9B: jne 0x2b077abc */ 4628 L_2B077A9D: 4629 edx = ebp + (-0x2); /* 0x2B077A9D: lea edx, [ebp - 2] */ 4630 PUSH32(esp, edx); /* 0x2B077AA0: push edx */ 4631 eax = ebp + (-0x28); /* 0x2B077AA1: lea eax, [ebp - 0x28] */ 4632 PUSH32(esp, eax); /* 0x2B077AA4: push eax */ 4633 PUSH32(esp, ebx); /* 0x2B077AA5: push ebx */ 4634 PUSH32(esp, esi); /* 0x2B077AA6: push esi */ 4635 ecx = ebp + (-0x1C); /* 0x2B077AA7: lea ecx, [ebp - 0x1c] */ 4636 PUSH32(esp, ecx); /* 0x2B077AAA: push ecx */ 4637 ecx = edi; /* 0x2B077AAB: mov ecx, edi */ 4638 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077AAD: mov byte ptr [ebp - 2], 1 */ 4639 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AB1: call 0x2b0325b0 */ /* not lifted */ 4640 RECOMP_FLAGS_IN(); 4641 PUSH32(esp, eax); /* 0x2B077AB6: push eax */ 4642 ecx = ebp + (-0x40); /* 0x2B077AB7: lea ecx, [ebp - 0x40] */ 4643 goto L_2B077AFD; /* 0x2B077ABA: jmp 0x2b077afd */ 4644 L_2B077ABC: 4645 ecx = ebp + (-0x8); /* 0x2B077ABC: lea ecx, [ebp - 8] */ 4646 RECOMP_ICALL(0x2B078C30u); /* 0x2B077ABF: call 0x2b078c30 */ /* not lifted */ 4647 RECOMP_FLAGS_IN(); 4648 L_2B077AC4: 4649 eax = MEM32(ebp + (-0x8)); /* 0x2B077AC4: mov eax, dword ptr [ebp - 8] */ 4650 ecx = MEM32(eax + 0xC); /* 0x2B077AC7: mov ecx, dword ptr [eax + 0xc] */ 4651 /* cmp ecx, MEM32(ebp + (-0x28)) */ /* 0x2B077ACA: cmp ecx, dword ptr [ebp - 0x28] */ 4652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 4653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4654 _flag_k = FK_CMP; 4655 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077AEE; /* 0x2B077ACD: jge 0x2b077aee */ 4656 L_2B077ACF: 4657 edx = ebp + (-0x3); /* 0x2B077ACF: lea edx, [ebp - 3] */ 4658 PUSH32(esp, edx); /* 0x2B077AD2: push edx */ 4659 eax = ebp + (-0x28); /* 0x2B077AD3: lea eax, [ebp - 0x28] */ 4660 PUSH32(esp, eax); /* 0x2B077AD6: push eax */ 4661 PUSH32(esp, ebx); /* 0x2B077AD7: push ebx */ 4662 PUSH32(esp, esi); /* 0x2B077AD8: push esi */ 4663 ecx = ebp + (-0x20); /* 0x2B077AD9: lea ecx, [ebp - 0x20] */ 4664 PUSH32(esp, ecx); /* 0x2B077ADC: push ecx */ 4665 ecx = edi; /* 0x2B077ADD: mov ecx, edi */ 4666 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077ADF: mov byte ptr [ebp - 3], 1 */ 4667 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077AE3: call 0x2b0325b0 */ /* not lifted */ 4668 RECOMP_FLAGS_IN(); 4669 PUSH32(esp, eax); /* 0x2B077AE8: push eax */ 4670 ecx = ebp + (-0x48); /* 0x2B077AE9: lea ecx, [ebp - 0x48] */ 4671 goto L_2B077AFD; /* 0x2B077AEC: jmp 0x2b077afd */ 4672 L_2B077AEE: 4673 eax = ebp + (-0x4); /* 0x2B077AEE: lea eax, [ebp - 4] */ 4674 ecx = ebp + (-0x8); /* 0x2B077AF1: lea ecx, [ebp - 8] */ 4675 PUSH32(esp, eax); /* 0x2B077AF4: push eax */ 4676 PUSH32(esp, ecx); /* 0x2B077AF5: push ecx */ 4677 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077AF6: mov byte ptr [ebp - 4], 0 */ 4678 ecx = ebp + (-0x50); /* 0x2B077AFA: lea ecx, [ebp - 0x50] */ 4679 L_2B077AFD: 4680 RECOMP_ICALL(0x2B02A020u); /* 0x2B077AFD: call 0x2b02a020 */ /* not lifted */ 4681 RECOMP_FLAGS_IN(); 4682 edx = eax; /* 0x2B077B02: mov edx, eax */ 4683 eax = MEM32(edx); /* 0x2B077B04: mov eax, dword ptr [edx] */ 4684 ecx = MEM32(edx + 0x4); /* 0x2B077B06: mov ecx, dword ptr [edx + 4] */ 4685 L_2B077B09: 4686 MEM32(ebp + (-0x30)) = eax; /* 0x2B077B09: mov dword ptr [ebp - 0x30], eax */ 4687 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077B0C: mov dword ptr [ebp - 0x2c], ecx */ 4688 eax = ebp + (-0x2C); /* 0x2B077B0F: lea eax, [ebp - 0x2c] */ 4689 PUSH32(esp, eax); /* 0x2B077B12: push eax */ 4690 ecx = ebp + (-0x30); /* 0x2B077B13: lea ecx, [ebp - 0x30] */ 4691 PUSH32(esp, ecx); /* 0x2B077B16: push ecx */ 4692 ecx = ebp + (-0x58); /* 0x2B077B17: lea ecx, [ebp - 0x58] */ 4693 RECOMP_ICALL(0x2B02A020u); /* 0x2B077B1A: call 0x2b02a020 */ /* not lifted */ 4694 RECOMP_FLAGS_IN(); 4695 edx = eax; /* 0x2B077B1F: mov edx, eax */ 4696 eax = MEM32(edx); /* 0x2B077B21: mov eax, dword ptr [edx] */ 4697 ecx = MEM32(edx + 0x4); /* 0x2B077B23: mov ecx, dword ptr [edx + 4] */ 4698 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B077B26: mov dword ptr [ebp - 0x5c], ecx */ 4699 ecx = MEM32(eax + 0x10); /* 0x2B077B29: mov ecx, dword ptr [eax + 0x10] */ 4700 /* test ecx, ecx */ /* 0x2B077B2C: test ecx, ecx */ 4701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4702 _cf = 0; 4703 _flag_k = FK_TEST; 4704 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077B36; /* 0x2B077B2E: je 0x2b077b36 */ 4705 L_2B077B30: 4706 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B077B30: call dword ptr [0x2b0b58b8] */ 4707 RECOMP_FLAGS_IN(); 4708 L_2B077B36: 4709 eax = MEM32(ebp + (-0xC)); /* 0x2B077B36: mov eax, dword ptr [ebp - 0xc] */ 4710 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4711 eax = eax + 1; /* 0x2B077B39: inc eax */ 4712 _flag_k = FK_INC; 4713 /* cmp eax, 0x64u */ /* 0x2B077B3A: cmp eax, 0x64 */ 4714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 4715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4716 _flag_k = FK_CMP; 4717 MEM32(ebp + (-0xC)) = eax; /* 0x2B077B3D: mov dword ptr [ebp - 0xc], eax */ 4718 RECOMP_BACKEDGE(); 4719 if (CMP_L(_flag_a, _flag_b)) goto L_2B077A13; /* 0x2B077B40: jl 0x2b077a13 */ 4720 L_2B077B46: 4721 edi = POP32_VAL(esp); /* 0x2B077B46: pop edi */ 4722 esi = POP32_VAL(esp); /* 0x2B077B47: pop esi */ 4723 ebx = POP32_VAL(esp); /* 0x2B077B48: pop ebx */ 4724 esp = ebp; /* 0x2B077B49: mov esp, ebp */ 4725 ebp = POP32_VAL(esp); /* 0x2B077B4B: pop ebp */ 4726 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077B4C: ret */ 4727 RECOMP_REGS_OUT(); 4728 } 4729 4730 void sub_2B077B50(void) { 4731 int _fpu_cmp = 0; 4732 uint32_t _cf = 0; 4733 int _df = 1; 4734 uint32_t _flag_k = FK_NONE; 4735 uint32_t _flag_a = 0, _flag_b = 0; 4736 uint32_t _itail_tgt = 0; 4737 RECOMP_REGS_LOCALS 4738 RECOMP_ENTER(0x2B077B50u); 4739 4740 L_2B077B50: 4741 PUSH32(esp, ebp); /* 0x2B077B50: push ebp */ 4742 ebp = esp; /* 0x2B077B51: mov ebp, esp */ 4743 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x64u); 4744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4745 esp = esp - 0x64u; /* 0x2B077B53: sub esp, 0x64 */ 4746 _flag_k = FK_CMP; 4747 SET_LO8(eax, MEM8(ecx + 0x4)); /* 0x2B077B56: mov al, byte ptr [ecx + 4] */ 4748 /* test LO8(eax), LO8(eax) */ /* 0x2B077B59: test al, al */ 4749 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4750 _cf = 0; 4751 _flag_k = FK_NARROW(FK_TEST, 24); 4752 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077B5B: mov dword ptr [ebp - 0x10], ecx */ 4753 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077CC6; /* 0x2B077B5E: jne 0x2b077cc6 */ 4754 L_2B077B64: 4755 eax = MEM32(ecx + 0x88); /* 0x2B077B64: mov eax, dword ptr [ecx + 0x88] */ 4756 PUSH32(esp, ebx); /* 0x2B077B6A: push ebx */ 4757 eax = eax + eax * 4; /* 0x2B077B6B: lea eax, [eax + eax*4] */ 4758 PUSH32(esp, esi); /* 0x2B077B6E: push esi */ 4759 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B077B6F: shl eax, 1 */ 4760 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4761 eax = eax << 1u; /* 0x2B077B6F: shl eax, 1 */ 4762 PUSH32(esp, edi); /* 0x2B077B71: push edi */ 4763 MEM32(ebp + (-0x14)) = eax; /* 0x2B077B72: mov dword ptr [ebp - 0x14], eax */ 4764 MEM32(ebp + (-0xC)) = 0; /* 0x2B077B75: mov dword ptr [ebp - 0xc], 0 */ 4765 goto L_2B077B84; /* 0x2B077B7C: jmp 0x2b077b84 */ 4766 L_2B077B7E: 4767 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 4768 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 4769 L_2B077B84: 4770 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 4771 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 4772 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 4773 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 4774 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 4775 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 4776 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 4777 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 4778 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 4779 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4781 _flag_k = FK_CMP; 4782 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 4783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 4784 L_2B077BA9: 4785 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 4786 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4788 _flag_k = FK_CMP; 4789 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 4790 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 4791 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4792 _cf = 0; 4793 _flag_k = FK_NARROW(FK_TEST, 24); 4794 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 4795 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 4796 L_2B077BB5: 4797 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 4798 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 4799 L_2B077BB9: 4800 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 4801 L_2B077BBC: 4802 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 4803 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4805 _flag_k = FK_CMP; 4806 RECOMP_BACKEDGE(); 4807 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 4808 L_2B077BC0: 4809 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 4810 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 4811 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4812 _cf = 0; 4813 _flag_k = FK_NARROW(FK_TEST, 24); 4814 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 4815 L_2B077BC7: 4816 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 4817 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 4818 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 4819 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 4820 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 4821 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 4822 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 4823 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 4824 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 4825 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 4826 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 4827 RECOMP_FLAGS_IN(); 4828 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 4829 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 4830 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 4831 RECOMP_FLAGS_IN(); 4832 edx = eax; /* 0x2B077BE9: mov edx, eax */ 4833 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 4834 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 4835 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 4836 L_2B077BF5: 4837 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 4838 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4839 _cf = 0; 4840 _flag_k = FK_NARROW(FK_TEST, 24); 4841 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 4842 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 4843 L_2B077BFC: 4844 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 4845 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 4846 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 4847 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 4848 RECOMP_FLAGS_IN(); 4849 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 4850 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 4851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 4852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4853 _flag_k = FK_CMP; 4854 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 4855 L_2B077C0E: 4856 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 4857 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 4858 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 4859 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 4860 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 4861 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 4862 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 4863 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 4864 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 4865 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 4866 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 4867 RECOMP_FLAGS_IN(); 4868 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 4869 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 4870 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 4871 RECOMP_FLAGS_IN(); 4872 edx = eax; /* 0x2B077C30: mov edx, eax */ 4873 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 4874 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 4875 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 4876 L_2B077C39: 4877 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 4878 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 4879 RECOMP_FLAGS_IN(); 4880 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 4881 L_2B077C44: 4882 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 4883 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 4884 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 4885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4886 _flag_k = FK_CMP; 4887 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 4888 L_2B077C4C: 4889 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 4890 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 4891 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 4892 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 4893 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 4894 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 4895 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 4896 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 4897 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 4898 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 4899 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 4900 RECOMP_FLAGS_IN(); 4901 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 4902 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 4903 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 4904 L_2B077C6B: 4905 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 4906 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 4907 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 4908 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 4909 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 4910 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 4911 L_2B077C7A: 4912 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 4913 RECOMP_FLAGS_IN(); 4914 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 4915 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 4916 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 4917 L_2B077C86: 4918 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 4919 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 4920 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 4921 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 4922 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 4923 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 4924 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 4925 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 4926 RECOMP_FLAGS_IN(); 4927 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 4928 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 4929 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 4930 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 4931 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 4932 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4933 _cf = 0; 4934 _flag_k = FK_TEST; 4935 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 4936 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 4937 L_2B077CAD: 4938 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 4939 RECOMP_FLAGS_IN(); 4940 L_2B077CB3: 4941 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 4942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4943 eax = eax + 1; /* 0x2B077CB6: inc eax */ 4944 _flag_k = FK_INC; 4945 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 4946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 4947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4948 _flag_k = FK_CMP; 4949 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 4950 RECOMP_BACKEDGE(); 4951 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 4952 L_2B077CC3: 4953 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 4954 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 4955 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 4956 L_2B077CC6: 4957 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 4958 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 4959 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 4960 RECOMP_REGS_OUT(); 4961 } 4962 4963 void sub_2B077B7E(void) { 4964 int _fpu_cmp = 0; 4965 uint32_t _cf = 0; 4966 int _df = 1; 4967 uint32_t _flag_k = FK_NONE; 4968 uint32_t _flag_a = 0, _flag_b = 0; 4969 uint32_t _itail_tgt = 0; 4970 RECOMP_REGS_LOCALS 4971 RECOMP_ENTER(0x2B077B7Eu); 4972 4973 L_2B077B7E: 4974 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 4975 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 4976 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 4977 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 4978 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 4979 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 4980 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 4981 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 4982 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 4983 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 4984 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 4985 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4987 _flag_k = FK_CMP; 4988 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 4989 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 4990 L_2B077BA9: 4991 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 4992 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4994 _flag_k = FK_CMP; 4995 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 4996 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 4997 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4998 _cf = 0; 4999 _flag_k = FK_NARROW(FK_TEST, 24); 5000 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 5001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 5002 L_2B077BB5: 5003 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 5004 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 5005 L_2B077BB9: 5006 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 5007 L_2B077BBC: 5008 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 5009 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5011 _flag_k = FK_CMP; 5012 RECOMP_BACKEDGE(); 5013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 5014 L_2B077BC0: 5015 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 5016 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 5017 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5018 _cf = 0; 5019 _flag_k = FK_NARROW(FK_TEST, 24); 5020 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 5021 L_2B077BC7: 5022 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 5023 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 5024 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 5025 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 5026 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 5027 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 5028 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 5029 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 5030 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 5031 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 5032 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 5033 RECOMP_FLAGS_IN(); 5034 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 5035 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 5036 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 5037 RECOMP_FLAGS_IN(); 5038 edx = eax; /* 0x2B077BE9: mov edx, eax */ 5039 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 5040 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 5041 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 5042 L_2B077BF5: 5043 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 5044 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5045 _cf = 0; 5046 _flag_k = FK_NARROW(FK_TEST, 24); 5047 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 5048 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 5049 L_2B077BFC: 5050 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 5051 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 5052 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 5053 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 5054 RECOMP_FLAGS_IN(); 5055 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 5056 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 5057 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 5058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5059 _flag_k = FK_CMP; 5060 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 5061 L_2B077C0E: 5062 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 5063 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 5064 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 5065 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 5066 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 5067 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 5068 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 5069 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 5070 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 5071 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 5072 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 5073 RECOMP_FLAGS_IN(); 5074 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 5075 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 5076 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 5077 RECOMP_FLAGS_IN(); 5078 edx = eax; /* 0x2B077C30: mov edx, eax */ 5079 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 5080 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 5081 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 5082 L_2B077C39: 5083 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 5084 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 5085 RECOMP_FLAGS_IN(); 5086 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 5087 L_2B077C44: 5088 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 5089 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 5090 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 5091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5092 _flag_k = FK_CMP; 5093 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 5094 L_2B077C4C: 5095 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 5096 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 5097 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 5098 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 5099 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 5100 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 5101 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 5102 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 5103 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 5104 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 5105 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 5106 RECOMP_FLAGS_IN(); 5107 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 5108 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 5109 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 5110 L_2B077C6B: 5111 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 5112 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 5113 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 5114 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 5115 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 5116 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 5117 L_2B077C7A: 5118 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 5119 RECOMP_FLAGS_IN(); 5120 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 5121 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 5122 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 5123 L_2B077C86: 5124 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 5125 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 5126 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 5127 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 5128 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 5129 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 5130 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 5131 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 5132 RECOMP_FLAGS_IN(); 5133 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 5134 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 5135 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 5136 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 5137 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 5138 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5139 _cf = 0; 5140 _flag_k = FK_TEST; 5141 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 5142 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 5143 L_2B077CAD: 5144 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 5145 RECOMP_FLAGS_IN(); 5146 L_2B077CB3: 5147 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 5148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5149 eax = eax + 1; /* 0x2B077CB6: inc eax */ 5150 _flag_k = FK_INC; 5151 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 5152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 5153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5154 _flag_k = FK_CMP; 5155 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 5156 RECOMP_BACKEDGE(); 5157 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 5158 L_2B077CC3: 5159 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 5160 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 5161 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 5162 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 5163 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 5164 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 5165 RECOMP_REGS_OUT(); 5166 } 5167 5168 void sub_2B077BA9(void) { 5169 int _fpu_cmp = 0; 5170 uint32_t _cf = 0; 5171 int _df = 1; 5172 uint32_t _flag_k = FK_NONE; 5173 uint32_t _flag_a = 0, _flag_b = 0; 5174 uint32_t _itail_tgt = 0; 5175 RECOMP_REGS_LOCALS 5176 RECOMP_ENTER(0x2B077BA9u); 5177 5178 goto L_2B077BA9; 5179 L_2B077B7E: 5180 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 5181 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 5182 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 5183 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 5184 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 5185 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 5186 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 5187 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 5188 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 5189 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 5190 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 5191 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5193 _flag_k = FK_CMP; 5194 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 5195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 5196 L_2B077BA9: 5197 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 5198 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 5199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5200 _flag_k = FK_CMP; 5201 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 5202 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 5203 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5204 _cf = 0; 5205 _flag_k = FK_NARROW(FK_TEST, 24); 5206 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 5207 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 5208 L_2B077BB5: 5209 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 5210 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 5211 L_2B077BB9: 5212 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 5213 L_2B077BBC: 5214 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 5215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5217 _flag_k = FK_CMP; 5218 RECOMP_BACKEDGE(); 5219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 5220 L_2B077BC0: 5221 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 5222 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 5223 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5224 _cf = 0; 5225 _flag_k = FK_NARROW(FK_TEST, 24); 5226 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 5227 L_2B077BC7: 5228 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 5229 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 5230 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 5231 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 5232 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 5233 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 5234 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 5235 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 5236 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 5237 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 5238 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 5239 RECOMP_FLAGS_IN(); 5240 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 5241 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 5242 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 5243 RECOMP_FLAGS_IN(); 5244 edx = eax; /* 0x2B077BE9: mov edx, eax */ 5245 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 5246 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 5247 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 5248 L_2B077BF5: 5249 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 5250 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5251 _cf = 0; 5252 _flag_k = FK_NARROW(FK_TEST, 24); 5253 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 5254 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 5255 L_2B077BFC: 5256 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 5257 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 5258 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 5259 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 5260 RECOMP_FLAGS_IN(); 5261 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 5262 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 5263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 5264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5265 _flag_k = FK_CMP; 5266 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 5267 L_2B077C0E: 5268 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 5269 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 5270 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 5271 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 5272 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 5273 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 5274 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 5275 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 5276 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 5277 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 5278 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 5279 RECOMP_FLAGS_IN(); 5280 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 5281 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 5282 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 5283 RECOMP_FLAGS_IN(); 5284 edx = eax; /* 0x2B077C30: mov edx, eax */ 5285 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 5286 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 5287 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 5288 L_2B077C39: 5289 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 5290 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 5291 RECOMP_FLAGS_IN(); 5292 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 5293 L_2B077C44: 5294 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 5295 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 5296 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 5297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5298 _flag_k = FK_CMP; 5299 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 5300 L_2B077C4C: 5301 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 5302 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 5303 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 5304 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 5305 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 5306 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 5307 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 5308 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 5309 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 5310 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 5311 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 5312 RECOMP_FLAGS_IN(); 5313 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 5314 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 5315 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 5316 L_2B077C6B: 5317 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 5318 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 5319 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 5320 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 5321 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 5322 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 5323 L_2B077C7A: 5324 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 5325 RECOMP_FLAGS_IN(); 5326 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 5327 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 5328 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 5329 L_2B077C86: 5330 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 5331 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 5332 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 5333 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 5334 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 5335 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 5336 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 5337 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 5338 RECOMP_FLAGS_IN(); 5339 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 5340 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 5341 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 5342 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 5343 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 5344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5345 _cf = 0; 5346 _flag_k = FK_TEST; 5347 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 5348 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 5349 L_2B077CAD: 5350 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 5351 RECOMP_FLAGS_IN(); 5352 L_2B077CB3: 5353 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 5354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5355 eax = eax + 1; /* 0x2B077CB6: inc eax */ 5356 _flag_k = FK_INC; 5357 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 5358 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 5359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5360 _flag_k = FK_CMP; 5361 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 5362 RECOMP_BACKEDGE(); 5363 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 5364 L_2B077CC3: 5365 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 5366 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 5367 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 5368 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 5369 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 5370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 5371 RECOMP_REGS_OUT(); 5372 } 5373 5374 void sub_2B077BBC(void) { 5375 int _fpu_cmp = 0; 5376 uint32_t _cf = 0; 5377 int _df = 1; 5378 uint32_t _flag_k = FK_NONE; 5379 uint32_t _flag_a = 0, _flag_b = 0; 5380 uint32_t _itail_tgt = 0; 5381 RECOMP_REGS_LOCALS 5382 RECOMP_ENTER(0x2B077BBCu); 5383 5384 goto L_2B077BBC; 5385 L_2B077B7E: 5386 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 5387 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 5388 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 5389 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 5390 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 5391 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 5392 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 5393 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 5394 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 5395 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 5396 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 5397 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5399 _flag_k = FK_CMP; 5400 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 5401 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 5402 L_2B077BA9: 5403 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 5404 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 5405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5406 _flag_k = FK_CMP; 5407 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 5408 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 5409 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5410 _cf = 0; 5411 _flag_k = FK_NARROW(FK_TEST, 24); 5412 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 5413 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 5414 L_2B077BB5: 5415 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 5416 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 5417 L_2B077BB9: 5418 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 5419 L_2B077BBC: 5420 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 5421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5423 _flag_k = FK_CMP; 5424 RECOMP_BACKEDGE(); 5425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 5426 L_2B077BC0: 5427 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 5428 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 5429 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5430 _cf = 0; 5431 _flag_k = FK_NARROW(FK_TEST, 24); 5432 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 5433 L_2B077BC7: 5434 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 5435 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 5436 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 5437 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 5438 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 5439 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 5440 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 5441 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 5442 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 5443 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 5444 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 5445 RECOMP_FLAGS_IN(); 5446 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 5447 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 5448 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 5449 RECOMP_FLAGS_IN(); 5450 edx = eax; /* 0x2B077BE9: mov edx, eax */ 5451 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 5452 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 5453 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 5454 L_2B077BF5: 5455 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 5456 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5457 _cf = 0; 5458 _flag_k = FK_NARROW(FK_TEST, 24); 5459 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 5460 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 5461 L_2B077BFC: 5462 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 5463 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 5464 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 5465 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 5466 RECOMP_FLAGS_IN(); 5467 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 5468 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 5469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 5470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5471 _flag_k = FK_CMP; 5472 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 5473 L_2B077C0E: 5474 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 5475 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 5476 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 5477 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 5478 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 5479 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 5480 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 5481 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 5482 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 5483 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 5484 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 5485 RECOMP_FLAGS_IN(); 5486 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 5487 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 5488 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 5489 RECOMP_FLAGS_IN(); 5490 edx = eax; /* 0x2B077C30: mov edx, eax */ 5491 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 5492 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 5493 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 5494 L_2B077C39: 5495 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 5496 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 5497 RECOMP_FLAGS_IN(); 5498 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 5499 L_2B077C44: 5500 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 5501 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 5502 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 5503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5504 _flag_k = FK_CMP; 5505 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 5506 L_2B077C4C: 5507 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 5508 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 5509 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 5510 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 5511 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 5512 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 5513 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 5514 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 5515 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 5516 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 5517 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 5518 RECOMP_FLAGS_IN(); 5519 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 5520 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 5521 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 5522 L_2B077C6B: 5523 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 5524 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 5525 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 5526 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 5527 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 5528 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 5529 L_2B077C7A: 5530 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 5531 RECOMP_FLAGS_IN(); 5532 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 5533 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 5534 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 5535 L_2B077C86: 5536 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 5537 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 5538 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 5539 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 5540 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 5541 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 5542 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 5543 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 5544 RECOMP_FLAGS_IN(); 5545 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 5546 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 5547 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 5548 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 5549 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 5550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5551 _cf = 0; 5552 _flag_k = FK_TEST; 5553 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 5554 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 5555 L_2B077CAD: 5556 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 5557 RECOMP_FLAGS_IN(); 5558 L_2B077CB3: 5559 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 5560 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5561 eax = eax + 1; /* 0x2B077CB6: inc eax */ 5562 _flag_k = FK_INC; 5563 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 5564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 5565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5566 _flag_k = FK_CMP; 5567 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 5568 RECOMP_BACKEDGE(); 5569 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 5570 L_2B077CC3: 5571 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 5572 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 5573 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 5574 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 5575 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 5576 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 5577 RECOMP_REGS_OUT(); 5578 } 5579 5580 void sub_2B077BC0(void) { 5581 int _fpu_cmp = 0; 5582 uint32_t _cf = 0; 5583 int _df = 1; 5584 uint32_t _flag_k = FK_NONE; 5585 uint32_t _flag_a = 0, _flag_b = 0; 5586 uint32_t _itail_tgt = 0; 5587 RECOMP_REGS_LOCALS 5588 RECOMP_ENTER(0x2B077BC0u); 5589 5590 goto L_2B077BC0; 5591 L_2B077B7E: 5592 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 5593 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 5594 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 5595 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 5596 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 5597 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 5598 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 5599 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 5600 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 5601 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 5602 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 5603 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5605 _flag_k = FK_CMP; 5606 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 5607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 5608 L_2B077BA9: 5609 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 5610 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 5611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5612 _flag_k = FK_CMP; 5613 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 5614 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 5615 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5616 _cf = 0; 5617 _flag_k = FK_NARROW(FK_TEST, 24); 5618 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 5619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 5620 L_2B077BB5: 5621 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 5622 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 5623 L_2B077BB9: 5624 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 5625 L_2B077BBC: 5626 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 5627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5629 _flag_k = FK_CMP; 5630 RECOMP_BACKEDGE(); 5631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 5632 L_2B077BC0: 5633 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 5634 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 5635 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5636 _cf = 0; 5637 _flag_k = FK_NARROW(FK_TEST, 24); 5638 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 5639 L_2B077BC7: 5640 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 5641 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 5642 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 5643 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 5644 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 5645 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 5646 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 5647 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 5648 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 5649 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 5650 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 5651 RECOMP_FLAGS_IN(); 5652 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 5653 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 5654 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 5655 RECOMP_FLAGS_IN(); 5656 edx = eax; /* 0x2B077BE9: mov edx, eax */ 5657 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 5658 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 5659 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 5660 L_2B077BF5: 5661 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 5662 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5663 _cf = 0; 5664 _flag_k = FK_NARROW(FK_TEST, 24); 5665 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 5666 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 5667 L_2B077BFC: 5668 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 5669 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 5670 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 5671 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 5672 RECOMP_FLAGS_IN(); 5673 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 5674 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 5675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 5676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5677 _flag_k = FK_CMP; 5678 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 5679 L_2B077C0E: 5680 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 5681 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 5682 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 5683 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 5684 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 5685 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 5686 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 5687 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 5688 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 5689 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 5690 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 5691 RECOMP_FLAGS_IN(); 5692 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 5693 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 5694 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 5695 RECOMP_FLAGS_IN(); 5696 edx = eax; /* 0x2B077C30: mov edx, eax */ 5697 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 5698 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 5699 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 5700 L_2B077C39: 5701 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 5702 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 5703 RECOMP_FLAGS_IN(); 5704 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 5705 L_2B077C44: 5706 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 5707 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 5708 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 5709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5710 _flag_k = FK_CMP; 5711 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 5712 L_2B077C4C: 5713 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 5714 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 5715 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 5716 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 5717 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 5718 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 5719 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 5720 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 5721 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 5722 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 5723 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 5724 RECOMP_FLAGS_IN(); 5725 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 5726 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 5727 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 5728 L_2B077C6B: 5729 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 5730 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 5731 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 5732 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 5733 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 5734 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 5735 L_2B077C7A: 5736 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 5737 RECOMP_FLAGS_IN(); 5738 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 5739 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 5740 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 5741 L_2B077C86: 5742 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 5743 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 5744 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 5745 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 5746 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 5747 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 5748 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 5749 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 5750 RECOMP_FLAGS_IN(); 5751 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 5752 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 5753 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 5754 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 5755 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 5756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5757 _cf = 0; 5758 _flag_k = FK_TEST; 5759 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 5760 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 5761 L_2B077CAD: 5762 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 5763 RECOMP_FLAGS_IN(); 5764 L_2B077CB3: 5765 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 5766 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5767 eax = eax + 1; /* 0x2B077CB6: inc eax */ 5768 _flag_k = FK_INC; 5769 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 5770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 5771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5772 _flag_k = FK_CMP; 5773 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 5774 RECOMP_BACKEDGE(); 5775 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 5776 L_2B077CC3: 5777 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 5778 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 5779 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 5780 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 5781 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 5782 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 5783 RECOMP_REGS_OUT(); 5784 } 5785 5786 void sub_2B077C7A(void) { 5787 int _fpu_cmp = 0; 5788 uint32_t _cf = 0; 5789 int _df = 1; 5790 uint32_t _flag_k = FK_NONE; 5791 uint32_t _flag_a = 0, _flag_b = 0; 5792 uint32_t _itail_tgt = 0; 5793 RECOMP_REGS_LOCALS 5794 RECOMP_ENTER(0x2B077C7Au); 5795 5796 goto L_2B077C7A; 5797 L_2B077B7E: 5798 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 5799 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 5800 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 5801 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 5802 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 5803 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 5804 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 5805 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 5806 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 5807 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 5808 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 5809 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5811 _flag_k = FK_CMP; 5812 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 5813 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 5814 L_2B077BA9: 5815 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 5816 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 5817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5818 _flag_k = FK_CMP; 5819 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 5820 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 5821 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5822 _cf = 0; 5823 _flag_k = FK_NARROW(FK_TEST, 24); 5824 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 5825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 5826 L_2B077BB5: 5827 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 5828 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 5829 L_2B077BB9: 5830 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 5831 L_2B077BBC: 5832 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 5833 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5835 _flag_k = FK_CMP; 5836 RECOMP_BACKEDGE(); 5837 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 5838 L_2B077BC0: 5839 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 5840 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 5841 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5842 _cf = 0; 5843 _flag_k = FK_NARROW(FK_TEST, 24); 5844 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 5845 L_2B077BC7: 5846 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 5847 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 5848 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 5849 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 5850 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 5851 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 5852 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 5853 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 5854 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 5855 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 5856 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 5857 RECOMP_FLAGS_IN(); 5858 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 5859 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 5860 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 5861 RECOMP_FLAGS_IN(); 5862 edx = eax; /* 0x2B077BE9: mov edx, eax */ 5863 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 5864 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 5865 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 5866 L_2B077BF5: 5867 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 5868 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5869 _cf = 0; 5870 _flag_k = FK_NARROW(FK_TEST, 24); 5871 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 5872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 5873 L_2B077BFC: 5874 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 5875 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 5876 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 5877 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 5878 RECOMP_FLAGS_IN(); 5879 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 5880 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 5881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 5882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5883 _flag_k = FK_CMP; 5884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 5885 L_2B077C0E: 5886 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 5887 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 5888 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 5889 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 5890 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 5891 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 5892 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 5893 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 5894 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 5895 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 5896 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 5897 RECOMP_FLAGS_IN(); 5898 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 5899 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 5900 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 5901 RECOMP_FLAGS_IN(); 5902 edx = eax; /* 0x2B077C30: mov edx, eax */ 5903 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 5904 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 5905 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 5906 L_2B077C39: 5907 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 5908 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 5909 RECOMP_FLAGS_IN(); 5910 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 5911 L_2B077C44: 5912 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 5913 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 5914 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 5915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5916 _flag_k = FK_CMP; 5917 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 5918 L_2B077C4C: 5919 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 5920 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 5921 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 5922 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 5923 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 5924 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 5925 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 5926 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 5927 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 5928 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 5929 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 5930 RECOMP_FLAGS_IN(); 5931 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 5932 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 5933 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 5934 L_2B077C6B: 5935 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 5936 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 5937 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 5938 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 5939 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 5940 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 5941 L_2B077C7A: 5942 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 5943 RECOMP_FLAGS_IN(); 5944 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 5945 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 5946 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 5947 L_2B077C86: 5948 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 5949 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 5950 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 5951 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 5952 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 5953 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 5954 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 5955 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 5956 RECOMP_FLAGS_IN(); 5957 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 5958 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 5959 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 5960 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 5961 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 5962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5963 _cf = 0; 5964 _flag_k = FK_TEST; 5965 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 5966 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 5967 L_2B077CAD: 5968 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 5969 RECOMP_FLAGS_IN(); 5970 L_2B077CB3: 5971 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 5972 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5973 eax = eax + 1; /* 0x2B077CB6: inc eax */ 5974 _flag_k = FK_INC; 5975 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 5976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 5977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5978 _flag_k = FK_CMP; 5979 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 5980 RECOMP_BACKEDGE(); 5981 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 5982 L_2B077CC3: 5983 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 5984 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 5985 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 5986 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 5987 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 5988 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 5989 RECOMP_REGS_OUT(); 5990 } 5991 5992 void sub_2B077C86(void) { 5993 int _fpu_cmp = 0; 5994 uint32_t _cf = 0; 5995 int _df = 1; 5996 uint32_t _flag_k = FK_NONE; 5997 uint32_t _flag_a = 0, _flag_b = 0; 5998 uint32_t _itail_tgt = 0; 5999 RECOMP_REGS_LOCALS 6000 RECOMP_ENTER(0x2B077C86u); 6001 6002 goto L_2B077C86; 6003 L_2B077B7E: 6004 ecx = MEM32(ebp + (-0x10)); /* 0x2B077B7E: mov ecx, dword ptr [ebp - 0x10] */ 6005 eax = MEM32(ebp + (-0x14)); /* 0x2B077B81: mov eax, dword ptr [ebp - 0x14] */ 6006 edi = MEM32(ecx + 0x84); /* 0x2B077B84: mov edi, dword ptr [ecx + 0x84] */ 6007 ecx = MEM32(ebp + (-0xC)); /* 0x2B077B8A: mov ecx, dword ptr [ebp - 0xc] */ 6008 ebx = MEM32(edi + 0x4); /* 0x2B077B8D: mov ebx, dword ptr [edi + 4] */ 6009 edx = ecx + eax; /* 0x2B077B90: lea edx, [ecx + eax] */ 6010 ecx = MEM32(edi + 0x8); /* 0x2B077B93: mov ecx, dword ptr [edi + 8] */ 6011 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077B96: mov dword ptr [ebp - 0x2c], edx */ 6012 MEM32(ebp + (-0x28)) = 0; /* 0x2B077B99: mov dword ptr [ebp - 0x28], 0 */ 6013 esi = MEM32(ebx + 0x4); /* 0x2B077BA0: mov esi, dword ptr [ebx + 4] */ 6014 /* cmp esi, ecx */ /* 0x2B077BA3: cmp esi, ecx */ 6015 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 6016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6017 _flag_k = FK_CMP; 6018 SET_LO8(eax, 1); /* 0x2B077BA5: mov al, 1 */ 6019 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077BC0; /* 0x2B077BA7: je 0x2b077bc0 */ 6020 L_2B077BA9: 6021 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B077BA9: cmp edx, dword ptr [esi + 0xc] */ 6022 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 6023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6024 _flag_k = FK_CMP; 6025 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077BAC: setl al */ 6026 /* test LO8(eax), LO8(eax) */ /* 0x2B077BAF: test al, al */ 6027 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6028 _cf = 0; 6029 _flag_k = FK_NARROW(FK_TEST, 24); 6030 ebx = esi; /* 0x2B077BB1: mov ebx, esi */ 6031 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BB9; /* 0x2B077BB3: je 0x2b077bb9 */ 6032 L_2B077BB5: 6033 esi = MEM32(esi); /* 0x2B077BB5: mov esi, dword ptr [esi] */ 6034 goto L_2B077BBC; /* 0x2B077BB7: jmp 0x2b077bbc */ 6035 L_2B077BB9: 6036 esi = MEM32(esi + 0x8); /* 0x2B077BB9: mov esi, dword ptr [esi + 8] */ 6037 L_2B077BBC: 6038 /* cmp esi, ecx */ /* 0x2B077BBC: cmp esi, ecx */ 6039 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 6040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6041 _flag_k = FK_CMP; 6042 RECOMP_BACKEDGE(); 6043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077BA9; /* 0x2B077BBE: jne 0x2b077ba9 */ 6044 L_2B077BC0: 6045 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B077BC0: mov cl, byte ptr [edi + 0xc] */ 6046 /* test LO8(ecx), LO8(ecx) */ /* 0x2B077BC3: test cl, cl */ 6047 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6048 _cf = 0; 6049 _flag_k = FK_NARROW(FK_TEST, 24); 6050 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077BF5; /* 0x2B077BC5: je 0x2b077bf5 */ 6051 L_2B077BC7: 6052 edx = ebp + (-0x1); /* 0x2B077BC7: lea edx, [ebp - 1] */ 6053 PUSH32(esp, edx); /* 0x2B077BCA: push edx */ 6054 eax = ebp + (-0x2C); /* 0x2B077BCB: lea eax, [ebp - 0x2c] */ 6055 PUSH32(esp, eax); /* 0x2B077BCE: push eax */ 6056 PUSH32(esp, ebx); /* 0x2B077BCF: push ebx */ 6057 PUSH32(esp, esi); /* 0x2B077BD0: push esi */ 6058 ecx = ebp + (-0x18); /* 0x2B077BD1: lea ecx, [ebp - 0x18] */ 6059 PUSH32(esp, ecx); /* 0x2B077BD4: push ecx */ 6060 ecx = edi; /* 0x2B077BD5: mov ecx, edi */ 6061 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077BD7: mov byte ptr [ebp - 1], 1 */ 6062 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077BDB: call 0x2b0325b0 */ /* not lifted */ 6063 RECOMP_FLAGS_IN(); 6064 PUSH32(esp, eax); /* 0x2B077BE0: push eax */ 6065 ecx = ebp + (-0x3C); /* 0x2B077BE1: lea ecx, [ebp - 0x3c] */ 6066 RECOMP_ICALL(0x2B02A020u); /* 0x2B077BE4: call 0x2b02a020 */ /* not lifted */ 6067 RECOMP_FLAGS_IN(); 6068 edx = eax; /* 0x2B077BE9: mov edx, eax */ 6069 eax = MEM32(edx); /* 0x2B077BEB: mov eax, dword ptr [edx] */ 6070 ecx = MEM32(edx + 0x4); /* 0x2B077BED: mov ecx, dword ptr [edx + 4] */ 6071 goto L_2B077C86; /* 0x2B077BF0: jmp 0x2b077c86 */ 6072 L_2B077BF5: 6073 /* test LO8(eax), LO8(eax) */ /* 0x2B077BF5: test al, al */ 6074 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6075 _cf = 0; 6076 _flag_k = FK_NARROW(FK_TEST, 24); 6077 MEM32(ebp + (-0x8)) = ebx; /* 0x2B077BF7: mov dword ptr [ebp - 8], ebx */ 6078 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077C44; /* 0x2B077BFA: je 0x2b077c44 */ 6079 L_2B077BFC: 6080 eax = ebp + (-0x1C); /* 0x2B077BFC: lea eax, [ebp - 0x1c] */ 6081 PUSH32(esp, eax); /* 0x2B077BFF: push eax */ 6082 ecx = edi; /* 0x2B077C00: mov ecx, edi */ 6083 RECOMP_ICALL(0x2B018B60u); /* 0x2B077C02: call 0x2b018b60 */ /* not lifted */ 6084 RECOMP_FLAGS_IN(); 6085 ecx = MEM32(ebp + (-0x8)); /* 0x2B077C07: mov ecx, dword ptr [ebp - 8] */ 6086 /* cmp ecx, MEM32(eax) */ /* 0x2B077C0A: cmp ecx, dword ptr [eax] */ 6087 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 6088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6089 _flag_k = FK_CMP; 6090 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077C39; /* 0x2B077C0C: jne 0x2b077c39 */ 6091 L_2B077C0E: 6092 edx = ebp + (-0x2); /* 0x2B077C0E: lea edx, [ebp - 2] */ 6093 PUSH32(esp, edx); /* 0x2B077C11: push edx */ 6094 eax = ebp + (-0x2C); /* 0x2B077C12: lea eax, [ebp - 0x2c] */ 6095 PUSH32(esp, eax); /* 0x2B077C15: push eax */ 6096 PUSH32(esp, ebx); /* 0x2B077C16: push ebx */ 6097 PUSH32(esp, esi); /* 0x2B077C17: push esi */ 6098 ecx = ebp + (-0x20); /* 0x2B077C18: lea ecx, [ebp - 0x20] */ 6099 PUSH32(esp, ecx); /* 0x2B077C1B: push ecx */ 6100 ecx = edi; /* 0x2B077C1C: mov ecx, edi */ 6101 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B077C1E: mov byte ptr [ebp - 2], 1 */ 6102 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C22: call 0x2b0325b0 */ /* not lifted */ 6103 RECOMP_FLAGS_IN(); 6104 PUSH32(esp, eax); /* 0x2B077C27: push eax */ 6105 ecx = ebp + (-0x44); /* 0x2B077C28: lea ecx, [ebp - 0x44] */ 6106 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C2B: call 0x2b02a020 */ /* not lifted */ 6107 RECOMP_FLAGS_IN(); 6108 edx = eax; /* 0x2B077C30: mov edx, eax */ 6109 eax = MEM32(edx); /* 0x2B077C32: mov eax, dword ptr [edx] */ 6110 ecx = MEM32(edx + 0x4); /* 0x2B077C34: mov ecx, dword ptr [edx + 4] */ 6111 goto L_2B077C86; /* 0x2B077C37: jmp 0x2b077c86 */ 6112 L_2B077C39: 6113 ecx = ebp + (-0x8); /* 0x2B077C39: lea ecx, [ebp - 8] */ 6114 RECOMP_ICALL(0x2B078C30u); /* 0x2B077C3C: call 0x2b078c30 */ /* not lifted */ 6115 RECOMP_FLAGS_IN(); 6116 edx = MEM32(ebp + (-0x2C)); /* 0x2B077C41: mov edx, dword ptr [ebp - 0x2c] */ 6117 L_2B077C44: 6118 eax = MEM32(ebp + (-0x8)); /* 0x2B077C44: mov eax, dword ptr [ebp - 8] */ 6119 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B077C47: cmp dword ptr [eax + 0xc], edx */ 6120 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 6121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6122 _flag_k = FK_CMP; 6123 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077C6B; /* 0x2B077C4A: jge 0x2b077c6b */ 6124 L_2B077C4C: 6125 ecx = ebp + (-0x3); /* 0x2B077C4C: lea ecx, [ebp - 3] */ 6126 PUSH32(esp, ecx); /* 0x2B077C4F: push ecx */ 6127 edx = ebp + (-0x2C); /* 0x2B077C50: lea edx, [ebp - 0x2c] */ 6128 PUSH32(esp, edx); /* 0x2B077C53: push edx */ 6129 PUSH32(esp, ebx); /* 0x2B077C54: push ebx */ 6130 PUSH32(esp, esi); /* 0x2B077C55: push esi */ 6131 eax = ebp + (-0x24); /* 0x2B077C56: lea eax, [ebp - 0x24] */ 6132 PUSH32(esp, eax); /* 0x2B077C59: push eax */ 6133 ecx = edi; /* 0x2B077C5A: mov ecx, edi */ 6134 MEM8(ebp + (-0x3)) = (uint8_t)(1); /* 0x2B077C5C: mov byte ptr [ebp - 3], 1 */ 6135 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077C60: call 0x2b0325b0 */ /* not lifted */ 6136 RECOMP_FLAGS_IN(); 6137 PUSH32(esp, eax); /* 0x2B077C65: push eax */ 6138 ecx = ebp + (-0x4C); /* 0x2B077C66: lea ecx, [ebp - 0x4c] */ 6139 goto L_2B077C7A; /* 0x2B077C69: jmp 0x2b077c7a */ 6140 L_2B077C6B: 6141 edx = ebp + (-0x4); /* 0x2B077C6B: lea edx, [ebp - 4] */ 6142 PUSH32(esp, edx); /* 0x2B077C6E: push edx */ 6143 eax = ebp + (-0x8); /* 0x2B077C6F: lea eax, [ebp - 8] */ 6144 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B077C72: mov byte ptr [ebp - 4], 0 */ 6145 PUSH32(esp, eax); /* 0x2B077C76: push eax */ 6146 ecx = ebp + (-0x54); /* 0x2B077C77: lea ecx, [ebp - 0x54] */ 6147 L_2B077C7A: 6148 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C7A: call 0x2b02a020 */ /* not lifted */ 6149 RECOMP_FLAGS_IN(); 6150 ecx = eax; /* 0x2B077C7F: mov ecx, eax */ 6151 eax = MEM32(ecx); /* 0x2B077C81: mov eax, dword ptr [ecx] */ 6152 ecx = MEM32(ecx + 0x4); /* 0x2B077C83: mov ecx, dword ptr [ecx + 4] */ 6153 L_2B077C86: 6154 edx = ebp + (-0x30); /* 0x2B077C86: lea edx, [ebp - 0x30] */ 6155 MEM32(ebp + (-0x34)) = eax; /* 0x2B077C89: mov dword ptr [ebp - 0x34], eax */ 6156 PUSH32(esp, edx); /* 0x2B077C8C: push edx */ 6157 eax = ebp + (-0x34); /* 0x2B077C8D: lea eax, [ebp - 0x34] */ 6158 MEM32(ebp + (-0x30)) = ecx; /* 0x2B077C90: mov dword ptr [ebp - 0x30], ecx */ 6159 PUSH32(esp, eax); /* 0x2B077C93: push eax */ 6160 ecx = ebp + (-0x5C); /* 0x2B077C94: lea ecx, [ebp - 0x5c] */ 6161 RECOMP_ICALL(0x2B02A020u); /* 0x2B077C97: call 0x2b02a020 */ /* not lifted */ 6162 RECOMP_FLAGS_IN(); 6163 ecx = eax; /* 0x2B077C9C: mov ecx, eax */ 6164 eax = MEM32(ecx); /* 0x2B077C9E: mov eax, dword ptr [ecx] */ 6165 edx = MEM32(ecx + 0x4); /* 0x2B077CA0: mov edx, dword ptr [ecx + 4] */ 6166 ecx = MEM32(eax + 0x10); /* 0x2B077CA3: mov ecx, dword ptr [eax + 0x10] */ 6167 /* test ecx, ecx */ /* 0x2B077CA6: test ecx, ecx */ 6168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6169 _cf = 0; 6170 _flag_k = FK_TEST; 6171 MEM32(ebp + (-0x60)) = edx; /* 0x2B077CA8: mov dword ptr [ebp - 0x60], edx */ 6172 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077CB3; /* 0x2B077CAB: je 0x2b077cb3 */ 6173 L_2B077CAD: 6174 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B077CAD: call dword ptr [0x2b0b58bc] */ 6175 RECOMP_FLAGS_IN(); 6176 L_2B077CB3: 6177 eax = MEM32(ebp + (-0xC)); /* 0x2B077CB3: mov eax, dword ptr [ebp - 0xc] */ 6178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6179 eax = eax + 1; /* 0x2B077CB6: inc eax */ 6180 _flag_k = FK_INC; 6181 /* cmp eax, 0xAu */ /* 0x2B077CB7: cmp eax, 0xa */ 6182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 6183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6184 _flag_k = FK_CMP; 6185 MEM32(ebp + (-0xC)) = eax; /* 0x2B077CBA: mov dword ptr [ebp - 0xc], eax */ 6186 RECOMP_BACKEDGE(); 6187 if (CMP_L(_flag_a, _flag_b)) goto L_2B077B7E; /* 0x2B077CBD: jl 0x2b077b7e */ 6188 L_2B077CC3: 6189 edi = POP32_VAL(esp); /* 0x2B077CC3: pop edi */ 6190 esi = POP32_VAL(esp); /* 0x2B077CC4: pop esi */ 6191 ebx = POP32_VAL(esp); /* 0x2B077CC5: pop ebx */ 6192 esp = ebp; /* 0x2B077CC6: mov esp, ebp */ 6193 ebp = POP32_VAL(esp); /* 0x2B077CC8: pop ebp */ 6194 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B077CC9: ret */ 6195 RECOMP_REGS_OUT(); 6196 } 6197 6198 void sub_2B077CD0(void) { 6199 int _fpu_cmp = 0; 6200 uint32_t _cf = 0; 6201 int _df = 1; 6202 uint32_t _flag_k = FK_NONE; 6203 uint32_t _flag_a = 0, _flag_b = 0; 6204 uint32_t _itail_tgt = 0; 6205 RECOMP_REGS_LOCALS 6206 RECOMP_ENTER(0x2B077CD0u); 6207 6208 L_2B077CD0: 6209 RECOMP_ICALL(MEM32(0x2B0B5828)); /* 0x2B077CD0: call dword ptr [0x2b0b5828] */ 6210 RECOMP_FLAGS_IN(); 6211 L_2B077CD6: 6212 ecx = eax; /* 0x2B077CD6: mov ecx, eax */ 6213 L_2B077CD8: 6214 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5818)); goto _ljump; } 6215 { RECOMP_REGS_OUT(); return; } /* end of function */ 6216 _ljump: 6217 switch (_itail_tgt) { 6218 case 0x2B077CD0u: goto L_2B077CD0; 6219 case 0x2B077CD6u: goto L_2B077CD6; 6220 case 0x2B077CD8u: goto L_2B077CD8; 6221 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 6222 } 6223 RECOMP_REGS_OUT(); 6224 } 6225 6226 void sub_2B077CE0(void) { 6227 int _fpu_cmp = 0; 6228 uint32_t _cf = 0; 6229 int _df = 1; 6230 uint32_t _flag_k = FK_NONE; 6231 uint32_t _flag_a = 0, _flag_b = 0; 6232 uint32_t _itail_tgt = 0; 6233 RECOMP_REGS_LOCALS 6234 RECOMP_ENTER(0x2B077CE0u); 6235 6236 L_2B077CE0: 6237 PUSH32(esp, ebp); /* 0x2B077CE0: push ebp */ 6238 ebp = esp; /* 0x2B077CE1: mov ebp, esp */ 6239 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x54u); 6240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6241 esp = esp - 0x54u; /* 0x2B077CE3: sub esp, 0x54 */ 6242 _flag_k = FK_CMP; 6243 eax = MEM32(ebp + 0x8); /* 0x2B077CE6: mov eax, dword ptr [ebp + 8] */ 6244 SET_LO8(edx, MEM8(0x2B0EF028)); /* 0x2B077CE9: mov dl, byte ptr [0x2b0ef028] */ 6245 /* test LO8(edx), 1 */ /* 0x2B077CEF: test dl, 1 */ 6246 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(1) << 24; 6247 _cf = 0; 6248 _flag_k = FK_NARROW(FK_TEST, 24); 6249 PUSH32(esp, ebx); /* 0x2B077CF2: push ebx */ 6250 PUSH32(esp, esi); /* 0x2B077CF3: push esi */ 6251 esi = ecx; /* 0x2B077CF4: mov esi, ecx */ 6252 ecx = MEM32(eax); /* 0x2B077CF6: mov ecx, dword ptr [eax] */ 6253 eax = MEM32(eax + 0x4); /* 0x2B077CF8: mov eax, dword ptr [eax + 4] */ 6254 PUSH32(esp, edi); /* 0x2B077CFB: push edi */ 6255 edi = MEM32(0x2B0B5690); /* 0x2B077CFC: mov edi, dword ptr [0x2b0b5690] */ 6256 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077D02: mov dword ptr [ebp - 0x2c], ecx */ 6257 MEM32(ebp + (-0x28)) = eax; /* 0x2B077D05: mov dword ptr [ebp - 0x28], eax */ 6258 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077D28; /* 0x2B077D08: jne 0x2b077d28 */ 6259 L_2B077D0A: 6260 SET_LO8(eax, LO8(edx)); /* 0x2B077D0A: mov al, dl */ 6261 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 6262 SET_LO8(eax, LO8(eax) | 1); /* 0x2B077D0C: or al, 1 */ 6263 _cf = 0; 6264 _flag_k = FK_NARROW(FK_TEST, 24); 6265 MEM8(0x2B0EF028) = (uint8_t)(LO8(eax)); /* 0x2B077D0E: mov byte ptr [0x2b0ef028], al */ 6266 RECOMP_ICALL(edi); /* 0x2B077D13: call edi */ 6267 RECOMP_FLAGS_IN(); 6268 ecx = eax; /* 0x2B077D15: mov ecx, eax */ 6269 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B077D17: call dword ptr [0x2b0b5688] */ 6270 RECOMP_FLAGS_IN(); 6271 ecx = MEM32(ebp + (-0x2C)); /* 0x2B077D1D: mov ecx, dword ptr [ebp - 0x2c] */ 6272 MEM32(0x2B0EF024) = eax; /* 0x2B077D20: mov dword ptr [0x2b0ef024], eax */ 6273 eax = MEM32(ebp + (-0x28)); /* 0x2B077D25: mov eax, dword ptr [ebp - 0x28] */ 6274 L_2B077D28: 6275 SET_LO8(ebx, MEM8(0x2B0EF028)); /* 0x2B077D28: mov bl, byte ptr [0x2b0ef028] */ 6276 SET_LO8(edx, 2); /* 0x2B077D2E: mov dl, 2 */ 6277 /* test LO8(edx), LO8(ebx) */ /* 0x2B077D30: test dl, bl */ 6278 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6279 _cf = 0; 6280 _flag_k = FK_NARROW(FK_TEST, 24); 6281 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B077D52; /* 0x2B077D32: jne 0x2b077d52 */ 6282 L_2B077D34: 6283 SET_LO8(eax, LO8(ebx)); /* 0x2B077D34: mov al, bl */ 6284 _flag_a = (uint32_t)((LO8(eax) | LO8(edx))) << 24; _flag_b = (uint32_t)((LO8(eax) | LO8(edx))) << 24; 6285 SET_LO8(eax, LO8(eax) | LO8(edx)); /* 0x2B077D36: or al, dl */ 6286 _cf = 0; 6287 _flag_k = FK_NARROW(FK_TEST, 24); 6288 MEM8(0x2B0EF028) = (uint8_t)(LO8(eax)); /* 0x2B077D38: mov byte ptr [0x2b0ef028], al */ 6289 RECOMP_ICALL(edi); /* 0x2B077D3D: call edi */ 6290 RECOMP_FLAGS_IN(); 6291 ecx = eax; /* 0x2B077D3F: mov ecx, eax */ 6292 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B077D41: call dword ptr [0x2b0b568c] */ 6293 RECOMP_FLAGS_IN(); 6294 ecx = MEM32(ebp + (-0x2C)); /* 0x2B077D47: mov ecx, dword ptr [ebp - 0x2c] */ 6295 MEM32(0x2B0EF020) = eax; /* 0x2B077D4A: mov dword ptr [0x2b0ef020], eax */ 6296 eax = MEM32(ebp + (-0x28)); /* 0x2B077D4F: mov eax, dword ptr [ebp - 0x28] */ 6297 L_2B077D52: 6298 /* test ecx, ecx */ /* 0x2B077D52: test ecx, ecx */ 6299 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6300 _cf = 0; 6301 _flag_k = FK_TEST; 6302 if (TEST_NS(_flag_a, _flag_b)) goto L_2B077D5A; /* 0x2B077D54: jge 0x2b077d5a */ 6303 L_2B077D56: 6304 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6305 ecx = 0; /* 0x2B077D56: xor ecx, ecx */ 6306 _cf = 0; 6307 _flag_k = FK_TEST; 6308 goto L_2B077D69; /* 0x2B077D58: jmp 0x2b077d69 */ 6309 L_2B077D5A: 6310 edx = MEM32(0x2B0EF024); /* 0x2B077D5A: mov edx, dword ptr [0x2b0ef024] */ 6311 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFC0u); 6312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6313 edx = edx + 0xFFFFFFC0u; /* 0x2B077D60: add edx, -0x40 */ 6314 _flag_k = FK_ADD; 6315 /* cmp ecx, edx */ /* 0x2B077D63: cmp ecx, edx */ 6316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6318 _flag_k = FK_CMP; 6319 if (CMP_LE(_flag_a, _flag_b)) goto L_2B077D6C; /* 0x2B077D65: jle 0x2b077d6c */ 6320 L_2B077D67: 6321 ecx = edx; /* 0x2B077D67: mov ecx, edx */ 6322 L_2B077D69: 6323 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077D69: mov dword ptr [ebp - 0x2c], ecx */ 6324 L_2B077D6C: 6325 /* test eax, eax */ /* 0x2B077D6C: test eax, eax */ 6326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6327 _cf = 0; 6328 _flag_k = FK_TEST; 6329 if (TEST_NS(_flag_a, _flag_b)) goto L_2B077D74; /* 0x2B077D6E: jge 0x2b077d74 */ 6330 L_2B077D70: 6331 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6332 eax = 0; /* 0x2B077D70: xor eax, eax */ 6333 _cf = 0; 6334 _flag_k = FK_TEST; 6335 goto L_2B077D83; /* 0x2B077D72: jmp 0x2b077d83 */ 6336 L_2B077D74: 6337 edx = MEM32(0x2B0EF020); /* 0x2B077D74: mov edx, dword ptr [0x2b0ef020] */ 6338 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFC0u); 6339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6340 edx = edx + 0xFFFFFFC0u; /* 0x2B077D7A: add edx, -0x40 */ 6341 _flag_k = FK_ADD; 6342 /* cmp eax, edx */ /* 0x2B077D7D: cmp eax, edx */ 6343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6345 _flag_k = FK_CMP; 6346 if (CMP_LE(_flag_a, _flag_b)) goto L_2B077D86; /* 0x2B077D7F: jle 0x2b077d86 */ 6347 L_2B077D81: 6348 eax = edx; /* 0x2B077D81: mov eax, edx */ 6349 L_2B077D83: 6350 MEM32(ebp + (-0x28)) = eax; /* 0x2B077D83: mov dword ptr [ebp - 0x28], eax */ 6351 L_2B077D86: 6352 MEM32(esi + 0xC) = ecx; /* 0x2B077D86: mov dword ptr [esi + 0xc], ecx */ 6353 ecx = MEM32(esi + 0x38); /* 0x2B077D89: mov ecx, dword ptr [esi + 0x38] */ 6354 MEM32(esi + 0x10) = eax; /* 0x2B077D8C: mov dword ptr [esi + 0x10], eax */ 6355 eax = ebp + (-0x2C); /* 0x2B077D8F: lea eax, [ebp - 0x2c] */ 6356 PUSH32(esp, eax); /* 0x2B077D92: push eax */ 6357 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B077D93: call dword ptr [0x2b0b5bb8] */ 6358 RECOMP_FLAGS_IN(); 6359 ecx = MEM32(esi + 0x2C); /* 0x2B077D99: mov ecx, dword ptr [esi + 0x2c] */ 6360 edi = MEM32(esi + 0x1C); /* 0x2B077D9C: mov edi, dword ptr [esi + 0x1c] */ 6361 edx = MEM32(ebp + (-0x2C)); /* 0x2B077D9F: mov edx, dword ptr [ebp - 0x2c] */ 6362 eax = MEM32(ebp + (-0x28)); /* 0x2B077DA2: mov eax, dword ptr [ebp - 0x28] */ 6363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6365 ecx = ecx + edi; /* 0x2B077DA5: add ecx, edi */ 6366 _flag_k = FK_ADD; 6367 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 6368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6369 edx = edx + ecx; /* 0x2B077DA7: add edx, ecx */ 6370 _flag_k = FK_ADD; 6371 ecx = MEM32(esi + 0x20); /* 0x2B077DA9: mov ecx, dword ptr [esi + 0x20] */ 6372 MEM32(ebp + (-0x2C)) = edx; /* 0x2B077DAC: mov dword ptr [ebp - 0x2c], edx */ 6373 edx = MEM32(esi + 0x28); /* 0x2B077DAF: mov edx, dword ptr [esi + 0x28] */ 6374 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 6375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6376 edx = edx + ecx; /* 0x2B077DB2: add edx, ecx */ 6377 _flag_k = FK_ADD; 6378 ecx = MEM32(esi + 0x30); /* 0x2B077DB4: mov ecx, dword ptr [esi + 0x30] */ 6379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6380 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6381 eax = eax + edx; /* 0x2B077DB7: add eax, edx */ 6382 _flag_k = FK_ADD; 6383 MEM32(ebp + (-0x28)) = eax; /* 0x2B077DB9: mov dword ptr [ebp - 0x28], eax */ 6384 eax = ebp + (-0x2C); /* 0x2B077DBC: lea eax, [ebp - 0x2c] */ 6385 PUSH32(esp, eax); /* 0x2B077DBF: push eax */ 6386 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077DC0: call dword ptr [0x2b0b5640] */ 6387 RECOMP_FLAGS_IN(); 6388 ecx = MEM32(esi + 0x2C); /* 0x2B077DC6: mov ecx, dword ptr [esi + 0x2c] */ 6389 edi = MEM32(esi + 0xC); /* 0x2B077DC9: mov edi, dword ptr [esi + 0xc] */ 6390 edx = MEM32(esi + 0x1C); /* 0x2B077DCC: mov edx, dword ptr [esi + 0x1c] */ 6391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6392 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6393 ecx = ecx + edi; /* 0x2B077DCF: add ecx, edi */ 6394 _flag_k = FK_ADD; 6395 eax = ecx + edx + 0x2; /* 0x2B077DD1: lea eax, [ecx + edx + 2] */ 6396 edx = MEM32(esi + 0x10); /* 0x2B077DD5: mov edx, dword ptr [esi + 0x10] */ 6397 ecx = MEM32(esi + 0x28); /* 0x2B077DD8: mov ecx, dword ptr [esi + 0x28] */ 6398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6400 ecx = ecx + edx; /* 0x2B077DDB: add ecx, edx */ 6401 _flag_k = FK_ADD; 6402 edx = MEM32(esi + 0x20); /* 0x2B077DDD: mov edx, dword ptr [esi + 0x20] */ 6403 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077DE0: mov dword ptr [ebp - 0x2c], eax */ 6404 eax = ecx + edx + 0x2; /* 0x2B077DE3: lea eax, [ecx + edx + 2] */ 6405 MEM32(ebp + (-0x28)) = eax; /* 0x2B077DE7: mov dword ptr [ebp - 0x28], eax */ 6406 eax = MEM32(esi + 0x88); /* 0x2B077DEA: mov eax, dword ptr [esi + 0x88] */ 6407 eax = eax + eax * 4; /* 0x2B077DF0: lea eax, [eax + eax*4] */ 6408 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B077DF3: shl eax, 1 */ 6409 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6410 eax = eax << 1u; /* 0x2B077DF3: shl eax, 1 */ 6411 MEM32(ebp + (-0x18)) = eax; /* 0x2B077DF5: mov dword ptr [ebp - 0x18], eax */ 6412 MEM32(ebp + (-0x14)) = 0; /* 0x2B077DF8: mov dword ptr [ebp - 0x14], 0 */ 6413 goto L_2B077E04; /* 0x2B077DFF: jmp 0x2b077e04 */ 6414 L_2B077E01: 6415 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 6416 L_2B077E04: 6417 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 6418 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 6419 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 6420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6422 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 6423 _flag_k = FK_ADD; 6424 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 6425 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 6426 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 6427 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 6428 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 6429 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6431 _flag_k = FK_CMP; 6432 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 6433 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 6434 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 6435 L_2B077E2B: 6436 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 6437 L_2B077E2E: 6438 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 6439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 6440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6441 _flag_k = FK_CMP; 6442 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 6443 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 6444 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6445 _cf = 0; 6446 _flag_k = FK_NARROW(FK_TEST, 24); 6447 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 6448 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 6449 L_2B077E3B: 6450 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 6451 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 6452 L_2B077E3F: 6453 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 6454 L_2B077E42: 6455 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 6456 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6458 _flag_k = FK_CMP; 6459 RECOMP_BACKEDGE(); 6460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 6461 L_2B077E46: 6462 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 6463 L_2B077E49: 6464 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 6465 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 6466 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6467 _cf = 0; 6468 _flag_k = FK_NARROW(FK_TEST, 24); 6469 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 6470 L_2B077E50: 6471 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 6472 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 6473 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 6474 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 6475 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 6476 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 6477 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 6478 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 6479 RECOMP_FLAGS_IN(); 6480 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 6481 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 6482 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 6483 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 6484 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 6485 L_2B077E72: 6486 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 6487 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6488 _cf = 0; 6489 _flag_k = FK_NARROW(FK_TEST, 24); 6490 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 6491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 6492 L_2B077E79: 6493 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 6494 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 6495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 6496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6497 _flag_k = FK_CMP; 6498 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 6499 L_2B077E80: 6500 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 6501 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 6502 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 6503 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 6504 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 6505 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 6506 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 6507 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 6508 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 6509 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 6510 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 6511 RECOMP_FLAGS_IN(); 6512 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 6513 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 6514 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 6515 RECOMP_FLAGS_IN(); 6516 edx = eax; /* 0x2B077EA2: mov edx, eax */ 6517 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 6518 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 6519 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 6520 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 6521 L_2B077EAE: 6522 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 6523 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 6524 RECOMP_FLAGS_IN(); 6525 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 6526 L_2B077EB9: 6527 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 6528 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 6529 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 6530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 6531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6532 _flag_k = FK_CMP; 6533 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 6534 L_2B077EC4: 6535 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 6536 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 6537 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 6538 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 6539 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 6540 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 6541 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 6542 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 6543 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 6544 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 6545 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 6546 RECOMP_FLAGS_IN(); 6547 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 6548 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 6549 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 6550 RECOMP_FLAGS_IN(); 6551 edx = eax; /* 0x2B077EE6: mov edx, eax */ 6552 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 6553 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 6554 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 6555 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 6556 L_2B077EF2: 6557 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 6558 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 6559 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 6560 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 6561 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 6562 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 6563 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 6564 RECOMP_FLAGS_IN(); 6565 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 6566 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 6567 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 6568 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 6569 L_2B077F10: 6570 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 6571 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 6572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6573 _cf = 0; 6574 _flag_k = FK_TEST; 6575 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 6576 L_2B077F17: 6577 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 6578 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 6579 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 6580 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 6581 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 6582 RECOMP_FLAGS_IN(); 6583 L_2B077F22: 6584 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 6585 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 6586 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 6587 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 6588 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6590 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 6591 _flag_k = FK_ADD; 6592 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 6593 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 6594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6595 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 6596 _flag_k = FK_ADD; 6597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6598 eax = eax + 1; /* 0x2B077F35: inc eax */ 6599 _flag_k = FK_INC; 6600 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 6601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 6602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6603 _flag_k = FK_CMP; 6604 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 6605 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 6606 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 6607 RECOMP_BACKEDGE(); 6608 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 6609 L_2B077F48: 6610 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 6611 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 6612 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 6613 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 6614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6616 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 6617 _flag_k = FK_ADD; 6618 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 6619 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6621 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 6622 _flag_k = FK_ADD; 6623 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 6624 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6625 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6626 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 6627 _flag_k = FK_ADD; 6628 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6630 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 6631 _flag_k = FK_ADD; 6632 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 6633 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 6634 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 6635 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 6636 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 6637 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 6638 RECOMP_FLAGS_IN(); 6639 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 6640 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 6641 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 6642 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 6643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6644 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 6645 _flag_k = FK_ADD; 6646 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 6647 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 6648 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 6649 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 6650 RECOMP_FLAGS_IN(); 6651 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 6652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 6653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6654 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 6655 _flag_k = FK_ADD; 6656 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 6657 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 6658 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 6659 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 6660 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 6661 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 6662 RECOMP_FLAGS_IN(); 6663 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 6664 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 6665 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 6666 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 6667 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 6668 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 6669 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 6670 RECOMP_FLAGS_IN(); 6671 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 6672 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 6673 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 6674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6675 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 6676 _flag_k = FK_ADD; 6677 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 6678 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 6679 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 6680 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 6681 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 6682 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 6683 RECOMP_FLAGS_IN(); 6684 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 6685 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 6686 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 6687 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 6688 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 6689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6690 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 6691 _flag_k = FK_ADD; 6692 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 6693 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 6694 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 6695 RECOMP_FLAGS_IN(); 6696 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 6697 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 6698 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 6699 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 6700 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 6701 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 6702 RECOMP_REGS_OUT(); 6703 } 6704 6705 void sub_2B077E01(void) { 6706 int _fpu_cmp = 0; 6707 uint32_t _cf = 0; 6708 int _df = 1; 6709 uint32_t _flag_k = FK_NONE; 6710 uint32_t _flag_a = 0, _flag_b = 0; 6711 uint32_t _itail_tgt = 0; 6712 RECOMP_REGS_LOCALS 6713 RECOMP_ENTER(0x2B077E01u); 6714 6715 L_2B077E01: 6716 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 6717 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 6718 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 6719 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 6720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6722 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 6723 _flag_k = FK_ADD; 6724 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 6725 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 6726 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 6727 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 6728 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 6729 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6731 _flag_k = FK_CMP; 6732 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 6733 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 6734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 6735 L_2B077E2B: 6736 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 6737 L_2B077E2E: 6738 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 6739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 6740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6741 _flag_k = FK_CMP; 6742 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 6743 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 6744 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6745 _cf = 0; 6746 _flag_k = FK_NARROW(FK_TEST, 24); 6747 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 6748 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 6749 L_2B077E3B: 6750 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 6751 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 6752 L_2B077E3F: 6753 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 6754 L_2B077E42: 6755 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 6756 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6758 _flag_k = FK_CMP; 6759 RECOMP_BACKEDGE(); 6760 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 6761 L_2B077E46: 6762 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 6763 L_2B077E49: 6764 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 6765 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 6766 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6767 _cf = 0; 6768 _flag_k = FK_NARROW(FK_TEST, 24); 6769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 6770 L_2B077E50: 6771 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 6772 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 6773 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 6774 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 6775 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 6776 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 6777 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 6778 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 6779 RECOMP_FLAGS_IN(); 6780 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 6781 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 6782 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 6783 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 6784 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 6785 L_2B077E72: 6786 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 6787 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6788 _cf = 0; 6789 _flag_k = FK_NARROW(FK_TEST, 24); 6790 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 6791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 6792 L_2B077E79: 6793 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 6794 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 6795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 6796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6797 _flag_k = FK_CMP; 6798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 6799 L_2B077E80: 6800 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 6801 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 6802 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 6803 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 6804 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 6805 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 6806 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 6807 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 6808 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 6809 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 6810 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 6811 RECOMP_FLAGS_IN(); 6812 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 6813 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 6814 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 6815 RECOMP_FLAGS_IN(); 6816 edx = eax; /* 0x2B077EA2: mov edx, eax */ 6817 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 6818 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 6819 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 6820 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 6821 L_2B077EAE: 6822 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 6823 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 6824 RECOMP_FLAGS_IN(); 6825 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 6826 L_2B077EB9: 6827 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 6828 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 6829 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 6830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 6831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6832 _flag_k = FK_CMP; 6833 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 6834 L_2B077EC4: 6835 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 6836 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 6837 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 6838 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 6839 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 6840 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 6841 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 6842 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 6843 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 6844 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 6845 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 6846 RECOMP_FLAGS_IN(); 6847 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 6848 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 6849 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 6850 RECOMP_FLAGS_IN(); 6851 edx = eax; /* 0x2B077EE6: mov edx, eax */ 6852 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 6853 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 6854 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 6855 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 6856 L_2B077EF2: 6857 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 6858 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 6859 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 6860 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 6861 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 6862 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 6863 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 6864 RECOMP_FLAGS_IN(); 6865 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 6866 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 6867 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 6868 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 6869 L_2B077F10: 6870 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 6871 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 6872 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6873 _cf = 0; 6874 _flag_k = FK_TEST; 6875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 6876 L_2B077F17: 6877 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 6878 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 6879 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 6880 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 6881 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 6882 RECOMP_FLAGS_IN(); 6883 L_2B077F22: 6884 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 6885 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 6886 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 6887 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 6888 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6890 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 6891 _flag_k = FK_ADD; 6892 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 6893 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 6894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6895 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 6896 _flag_k = FK_ADD; 6897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6898 eax = eax + 1; /* 0x2B077F35: inc eax */ 6899 _flag_k = FK_INC; 6900 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 6901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 6902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6903 _flag_k = FK_CMP; 6904 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 6905 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 6906 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 6907 RECOMP_BACKEDGE(); 6908 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 6909 L_2B077F48: 6910 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 6911 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 6912 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 6913 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 6914 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6916 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 6917 _flag_k = FK_ADD; 6918 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 6919 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6921 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 6922 _flag_k = FK_ADD; 6923 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 6924 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6926 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 6927 _flag_k = FK_ADD; 6928 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6930 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 6931 _flag_k = FK_ADD; 6932 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 6933 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 6934 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 6935 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 6936 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 6937 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 6938 RECOMP_FLAGS_IN(); 6939 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 6940 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 6941 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 6942 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 6943 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6944 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 6945 _flag_k = FK_ADD; 6946 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 6947 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 6948 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 6949 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 6950 RECOMP_FLAGS_IN(); 6951 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 6952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 6953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6954 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 6955 _flag_k = FK_ADD; 6956 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 6957 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 6958 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 6959 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 6960 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 6961 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 6962 RECOMP_FLAGS_IN(); 6963 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 6964 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 6965 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 6966 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 6967 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 6968 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 6969 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 6970 RECOMP_FLAGS_IN(); 6971 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 6972 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 6973 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 6974 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6975 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 6976 _flag_k = FK_ADD; 6977 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 6978 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 6979 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 6980 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 6981 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 6982 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 6983 RECOMP_FLAGS_IN(); 6984 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 6985 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 6986 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 6987 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 6988 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 6989 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6990 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 6991 _flag_k = FK_ADD; 6992 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 6993 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 6994 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 6995 RECOMP_FLAGS_IN(); 6996 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 6997 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 6998 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 6999 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 7000 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 7001 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 7002 RECOMP_REGS_OUT(); 7003 } 7004 7005 void sub_2B077E2E(void) { 7006 int _fpu_cmp = 0; 7007 uint32_t _cf = 0; 7008 int _df = 1; 7009 uint32_t _flag_k = FK_NONE; 7010 uint32_t _flag_a = 0, _flag_b = 0; 7011 uint32_t _itail_tgt = 0; 7012 RECOMP_REGS_LOCALS 7013 RECOMP_ENTER(0x2B077E2Eu); 7014 7015 goto L_2B077E2E; 7016 L_2B077E01: 7017 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 7018 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 7019 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 7020 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 7021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7023 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 7024 _flag_k = FK_ADD; 7025 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 7026 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 7027 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 7028 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 7029 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 7030 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7032 _flag_k = FK_CMP; 7033 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 7034 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 7035 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 7036 L_2B077E2B: 7037 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 7038 L_2B077E2E: 7039 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 7040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 7041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7042 _flag_k = FK_CMP; 7043 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 7044 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 7045 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7046 _cf = 0; 7047 _flag_k = FK_NARROW(FK_TEST, 24); 7048 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 7049 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 7050 L_2B077E3B: 7051 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 7052 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 7053 L_2B077E3F: 7054 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 7055 L_2B077E42: 7056 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 7057 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7059 _flag_k = FK_CMP; 7060 RECOMP_BACKEDGE(); 7061 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 7062 L_2B077E46: 7063 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 7064 L_2B077E49: 7065 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 7066 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 7067 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7068 _cf = 0; 7069 _flag_k = FK_NARROW(FK_TEST, 24); 7070 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 7071 L_2B077E50: 7072 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 7073 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 7074 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 7075 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 7076 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 7077 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 7078 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 7079 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 7080 RECOMP_FLAGS_IN(); 7081 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 7082 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 7083 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 7084 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 7085 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 7086 L_2B077E72: 7087 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 7088 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7089 _cf = 0; 7090 _flag_k = FK_NARROW(FK_TEST, 24); 7091 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 7092 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 7093 L_2B077E79: 7094 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 7095 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 7096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 7097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7098 _flag_k = FK_CMP; 7099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 7100 L_2B077E80: 7101 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 7102 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 7103 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 7104 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 7105 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 7106 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 7107 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 7108 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 7109 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 7110 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 7111 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 7112 RECOMP_FLAGS_IN(); 7113 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 7114 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 7115 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 7116 RECOMP_FLAGS_IN(); 7117 edx = eax; /* 0x2B077EA2: mov edx, eax */ 7118 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 7119 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 7120 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 7121 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 7122 L_2B077EAE: 7123 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 7124 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 7125 RECOMP_FLAGS_IN(); 7126 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 7127 L_2B077EB9: 7128 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 7129 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 7130 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 7131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 7132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7133 _flag_k = FK_CMP; 7134 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 7135 L_2B077EC4: 7136 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 7137 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 7138 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 7139 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 7140 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 7141 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 7142 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 7143 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 7144 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 7145 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 7146 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 7147 RECOMP_FLAGS_IN(); 7148 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 7149 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 7150 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 7151 RECOMP_FLAGS_IN(); 7152 edx = eax; /* 0x2B077EE6: mov edx, eax */ 7153 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 7154 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 7155 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 7156 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 7157 L_2B077EF2: 7158 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 7159 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 7160 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 7161 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 7162 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 7163 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 7164 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 7165 RECOMP_FLAGS_IN(); 7166 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 7167 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 7168 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 7169 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 7170 L_2B077F10: 7171 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 7172 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 7173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7174 _cf = 0; 7175 _flag_k = FK_TEST; 7176 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 7177 L_2B077F17: 7178 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 7179 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 7180 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 7181 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 7182 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 7183 RECOMP_FLAGS_IN(); 7184 L_2B077F22: 7185 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 7186 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 7187 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 7188 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 7189 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7191 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 7192 _flag_k = FK_ADD; 7193 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 7194 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 7195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7196 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 7197 _flag_k = FK_ADD; 7198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7199 eax = eax + 1; /* 0x2B077F35: inc eax */ 7200 _flag_k = FK_INC; 7201 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 7202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 7203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7204 _flag_k = FK_CMP; 7205 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 7206 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 7207 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 7208 RECOMP_BACKEDGE(); 7209 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 7210 L_2B077F48: 7211 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 7212 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 7213 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 7214 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 7215 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7217 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 7218 _flag_k = FK_ADD; 7219 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 7220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7222 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 7223 _flag_k = FK_ADD; 7224 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 7225 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7226 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7227 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 7228 _flag_k = FK_ADD; 7229 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7231 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 7232 _flag_k = FK_ADD; 7233 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 7234 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 7235 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 7236 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 7237 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 7238 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 7239 RECOMP_FLAGS_IN(); 7240 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 7241 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 7242 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 7243 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 7244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7245 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 7246 _flag_k = FK_ADD; 7247 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 7248 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 7249 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 7250 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 7251 RECOMP_FLAGS_IN(); 7252 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 7253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 7254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7255 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 7256 _flag_k = FK_ADD; 7257 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 7258 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 7259 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 7260 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 7261 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 7262 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 7263 RECOMP_FLAGS_IN(); 7264 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 7265 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 7266 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 7267 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 7268 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 7269 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 7270 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 7271 RECOMP_FLAGS_IN(); 7272 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 7273 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 7274 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 7275 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7276 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 7277 _flag_k = FK_ADD; 7278 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 7279 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 7280 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 7281 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 7282 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 7283 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 7284 RECOMP_FLAGS_IN(); 7285 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 7286 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 7287 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 7288 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 7289 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 7290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7291 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 7292 _flag_k = FK_ADD; 7293 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 7294 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 7295 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 7296 RECOMP_FLAGS_IN(); 7297 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 7298 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 7299 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 7300 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 7301 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 7302 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 7303 RECOMP_REGS_OUT(); 7304 } 7305 7306 void sub_2B077E42(void) { 7307 int _fpu_cmp = 0; 7308 uint32_t _cf = 0; 7309 int _df = 1; 7310 uint32_t _flag_k = FK_NONE; 7311 uint32_t _flag_a = 0, _flag_b = 0; 7312 uint32_t _itail_tgt = 0; 7313 RECOMP_REGS_LOCALS 7314 RECOMP_ENTER(0x2B077E42u); 7315 7316 goto L_2B077E42; 7317 L_2B077E01: 7318 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 7319 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 7320 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 7321 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 7322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7324 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 7325 _flag_k = FK_ADD; 7326 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 7327 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 7328 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 7329 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 7330 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 7331 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7333 _flag_k = FK_CMP; 7334 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 7335 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 7336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 7337 L_2B077E2B: 7338 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 7339 L_2B077E2E: 7340 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 7341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 7342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7343 _flag_k = FK_CMP; 7344 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 7345 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 7346 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7347 _cf = 0; 7348 _flag_k = FK_NARROW(FK_TEST, 24); 7349 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 7350 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 7351 L_2B077E3B: 7352 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 7353 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 7354 L_2B077E3F: 7355 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 7356 L_2B077E42: 7357 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 7358 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7360 _flag_k = FK_CMP; 7361 RECOMP_BACKEDGE(); 7362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 7363 L_2B077E46: 7364 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 7365 L_2B077E49: 7366 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 7367 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 7368 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7369 _cf = 0; 7370 _flag_k = FK_NARROW(FK_TEST, 24); 7371 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 7372 L_2B077E50: 7373 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 7374 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 7375 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 7376 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 7377 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 7378 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 7379 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 7380 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 7381 RECOMP_FLAGS_IN(); 7382 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 7383 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 7384 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 7385 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 7386 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 7387 L_2B077E72: 7388 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 7389 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7390 _cf = 0; 7391 _flag_k = FK_NARROW(FK_TEST, 24); 7392 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 7393 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 7394 L_2B077E79: 7395 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 7396 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 7397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 7398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7399 _flag_k = FK_CMP; 7400 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 7401 L_2B077E80: 7402 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 7403 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 7404 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 7405 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 7406 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 7407 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 7408 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 7409 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 7410 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 7411 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 7412 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 7413 RECOMP_FLAGS_IN(); 7414 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 7415 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 7416 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 7417 RECOMP_FLAGS_IN(); 7418 edx = eax; /* 0x2B077EA2: mov edx, eax */ 7419 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 7420 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 7421 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 7422 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 7423 L_2B077EAE: 7424 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 7425 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 7426 RECOMP_FLAGS_IN(); 7427 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 7428 L_2B077EB9: 7429 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 7430 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 7431 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 7432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 7433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7434 _flag_k = FK_CMP; 7435 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 7436 L_2B077EC4: 7437 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 7438 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 7439 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 7440 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 7441 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 7442 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 7443 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 7444 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 7445 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 7446 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 7447 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 7448 RECOMP_FLAGS_IN(); 7449 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 7450 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 7451 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 7452 RECOMP_FLAGS_IN(); 7453 edx = eax; /* 0x2B077EE6: mov edx, eax */ 7454 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 7455 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 7456 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 7457 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 7458 L_2B077EF2: 7459 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 7460 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 7461 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 7462 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 7463 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 7464 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 7465 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 7466 RECOMP_FLAGS_IN(); 7467 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 7468 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 7469 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 7470 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 7471 L_2B077F10: 7472 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 7473 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 7474 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7475 _cf = 0; 7476 _flag_k = FK_TEST; 7477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 7478 L_2B077F17: 7479 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 7480 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 7481 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 7482 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 7483 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 7484 RECOMP_FLAGS_IN(); 7485 L_2B077F22: 7486 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 7487 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 7488 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 7489 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 7490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7492 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 7493 _flag_k = FK_ADD; 7494 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 7495 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 7496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7497 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 7498 _flag_k = FK_ADD; 7499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7500 eax = eax + 1; /* 0x2B077F35: inc eax */ 7501 _flag_k = FK_INC; 7502 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 7503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 7504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7505 _flag_k = FK_CMP; 7506 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 7507 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 7508 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 7509 RECOMP_BACKEDGE(); 7510 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 7511 L_2B077F48: 7512 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 7513 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 7514 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 7515 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 7516 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7518 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 7519 _flag_k = FK_ADD; 7520 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 7521 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7523 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 7524 _flag_k = FK_ADD; 7525 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 7526 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7527 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7528 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 7529 _flag_k = FK_ADD; 7530 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7531 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7532 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 7533 _flag_k = FK_ADD; 7534 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 7535 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 7536 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 7537 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 7538 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 7539 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 7540 RECOMP_FLAGS_IN(); 7541 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 7542 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 7543 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 7544 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 7545 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7546 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 7547 _flag_k = FK_ADD; 7548 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 7549 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 7550 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 7551 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 7552 RECOMP_FLAGS_IN(); 7553 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 7554 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 7555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7556 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 7557 _flag_k = FK_ADD; 7558 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 7559 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 7560 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 7561 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 7562 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 7563 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 7564 RECOMP_FLAGS_IN(); 7565 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 7566 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 7567 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 7568 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 7569 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 7570 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 7571 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 7572 RECOMP_FLAGS_IN(); 7573 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 7574 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 7575 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 7576 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7577 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 7578 _flag_k = FK_ADD; 7579 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 7580 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 7581 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 7582 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 7583 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 7584 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 7585 RECOMP_FLAGS_IN(); 7586 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 7587 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 7588 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 7589 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 7590 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 7591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7592 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 7593 _flag_k = FK_ADD; 7594 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 7595 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 7596 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 7597 RECOMP_FLAGS_IN(); 7598 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 7599 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 7600 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 7601 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 7602 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 7603 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 7604 RECOMP_REGS_OUT(); 7605 } 7606 7607 void sub_2B077E49(void) { 7608 int _fpu_cmp = 0; 7609 uint32_t _cf = 0; 7610 int _df = 1; 7611 uint32_t _flag_k = FK_NONE; 7612 uint32_t _flag_a = 0, _flag_b = 0; 7613 uint32_t _itail_tgt = 0; 7614 RECOMP_REGS_LOCALS 7615 RECOMP_ENTER(0x2B077E49u); 7616 7617 goto L_2B077E49; 7618 L_2B077E01: 7619 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 7620 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 7621 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 7622 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 7623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7625 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 7626 _flag_k = FK_ADD; 7627 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 7628 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 7629 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 7630 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 7631 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 7632 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7634 _flag_k = FK_CMP; 7635 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 7636 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 7637 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 7638 L_2B077E2B: 7639 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 7640 L_2B077E2E: 7641 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 7642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 7643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7644 _flag_k = FK_CMP; 7645 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 7646 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 7647 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7648 _cf = 0; 7649 _flag_k = FK_NARROW(FK_TEST, 24); 7650 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 7651 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 7652 L_2B077E3B: 7653 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 7654 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 7655 L_2B077E3F: 7656 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 7657 L_2B077E42: 7658 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 7659 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7661 _flag_k = FK_CMP; 7662 RECOMP_BACKEDGE(); 7663 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 7664 L_2B077E46: 7665 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 7666 L_2B077E49: 7667 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 7668 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 7669 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7670 _cf = 0; 7671 _flag_k = FK_NARROW(FK_TEST, 24); 7672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 7673 L_2B077E50: 7674 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 7675 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 7676 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 7677 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 7678 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 7679 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 7680 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 7681 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 7682 RECOMP_FLAGS_IN(); 7683 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 7684 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 7685 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 7686 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 7687 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 7688 L_2B077E72: 7689 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 7690 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7691 _cf = 0; 7692 _flag_k = FK_NARROW(FK_TEST, 24); 7693 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 7694 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 7695 L_2B077E79: 7696 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 7697 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 7698 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 7699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7700 _flag_k = FK_CMP; 7701 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 7702 L_2B077E80: 7703 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 7704 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 7705 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 7706 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 7707 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 7708 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 7709 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 7710 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 7711 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 7712 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 7713 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 7714 RECOMP_FLAGS_IN(); 7715 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 7716 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 7717 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 7718 RECOMP_FLAGS_IN(); 7719 edx = eax; /* 0x2B077EA2: mov edx, eax */ 7720 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 7721 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 7722 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 7723 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 7724 L_2B077EAE: 7725 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 7726 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 7727 RECOMP_FLAGS_IN(); 7728 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 7729 L_2B077EB9: 7730 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 7731 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 7732 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 7733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 7734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7735 _flag_k = FK_CMP; 7736 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 7737 L_2B077EC4: 7738 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 7739 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 7740 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 7741 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 7742 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 7743 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 7744 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 7745 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 7746 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 7747 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 7748 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 7749 RECOMP_FLAGS_IN(); 7750 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 7751 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 7752 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 7753 RECOMP_FLAGS_IN(); 7754 edx = eax; /* 0x2B077EE6: mov edx, eax */ 7755 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 7756 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 7757 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 7758 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 7759 L_2B077EF2: 7760 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 7761 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 7762 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 7763 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 7764 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 7765 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 7766 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 7767 RECOMP_FLAGS_IN(); 7768 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 7769 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 7770 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 7771 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 7772 L_2B077F10: 7773 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 7774 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 7775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7776 _cf = 0; 7777 _flag_k = FK_TEST; 7778 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 7779 L_2B077F17: 7780 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 7781 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 7782 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 7783 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 7784 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 7785 RECOMP_FLAGS_IN(); 7786 L_2B077F22: 7787 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 7788 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 7789 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 7790 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 7791 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7793 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 7794 _flag_k = FK_ADD; 7795 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 7796 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 7797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7798 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 7799 _flag_k = FK_ADD; 7800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7801 eax = eax + 1; /* 0x2B077F35: inc eax */ 7802 _flag_k = FK_INC; 7803 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 7804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 7805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7806 _flag_k = FK_CMP; 7807 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 7808 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 7809 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 7810 RECOMP_BACKEDGE(); 7811 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 7812 L_2B077F48: 7813 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 7814 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 7815 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 7816 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 7817 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7818 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7819 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 7820 _flag_k = FK_ADD; 7821 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 7822 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7824 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 7825 _flag_k = FK_ADD; 7826 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 7827 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7828 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7829 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 7830 _flag_k = FK_ADD; 7831 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7833 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 7834 _flag_k = FK_ADD; 7835 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 7836 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 7837 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 7838 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 7839 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 7840 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 7841 RECOMP_FLAGS_IN(); 7842 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 7843 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 7844 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 7845 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 7846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7847 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 7848 _flag_k = FK_ADD; 7849 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 7850 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 7851 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 7852 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 7853 RECOMP_FLAGS_IN(); 7854 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 7855 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 7856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7857 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 7858 _flag_k = FK_ADD; 7859 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 7860 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 7861 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 7862 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 7863 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 7864 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 7865 RECOMP_FLAGS_IN(); 7866 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 7867 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 7868 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 7869 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 7870 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 7871 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 7872 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 7873 RECOMP_FLAGS_IN(); 7874 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 7875 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 7876 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 7877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7878 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 7879 _flag_k = FK_ADD; 7880 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 7881 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 7882 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 7883 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 7884 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 7885 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 7886 RECOMP_FLAGS_IN(); 7887 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 7888 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 7889 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 7890 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 7891 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 7892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7893 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 7894 _flag_k = FK_ADD; 7895 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 7896 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 7897 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 7898 RECOMP_FLAGS_IN(); 7899 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 7900 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 7901 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 7902 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 7903 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 7904 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 7905 RECOMP_REGS_OUT(); 7906 } 7907 7908 void sub_2B077F10(void) { 7909 int _fpu_cmp = 0; 7910 uint32_t _cf = 0; 7911 int _df = 1; 7912 uint32_t _flag_k = FK_NONE; 7913 uint32_t _flag_a = 0, _flag_b = 0; 7914 uint32_t _itail_tgt = 0; 7915 RECOMP_REGS_LOCALS 7916 RECOMP_ENTER(0x2B077F10u); 7917 7918 goto L_2B077F10; 7919 L_2B077E01: 7920 eax = MEM32(ebp + (-0x18)); /* 0x2B077E01: mov eax, dword ptr [ebp - 0x18] */ 7921 ecx = MEM32(ebp + (-0x14)); /* 0x2B077E04: mov ecx, dword ptr [ebp - 0x14] */ 7922 ebx = MEM32(esi + 0x84); /* 0x2B077E07: mov ebx, dword ptr [esi + 0x84] */ 7923 edx = MEM32(ebx + 0x8); /* 0x2B077E0D: mov edx, dword ptr [ebx + 8] */ 7924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7926 ecx = ecx + eax; /* 0x2B077E10: add ecx, eax */ 7927 _flag_k = FK_ADD; 7928 MEM32(ebp + (-0x34)) = ecx; /* 0x2B077E12: mov dword ptr [ebp - 0x34], ecx */ 7929 ecx = MEM32(ebx + 0x4); /* 0x2B077E15: mov ecx, dword ptr [ebx + 4] */ 7930 MEM32(ebp + (-0x30)) = 0; /* 0x2B077E18: mov dword ptr [ebp - 0x30], 0 */ 7931 edi = MEM32(ecx + 0x4); /* 0x2B077E1F: mov edi, dword ptr [ecx + 4] */ 7932 /* cmp edi, edx */ /* 0x2B077E22: cmp edi, edx */ 7933 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7935 _flag_k = FK_CMP; 7936 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E24: mov dword ptr [ebp - 8], ecx */ 7937 SET_LO8(eax, 1); /* 0x2B077E27: mov al, 1 */ 7938 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B077E49; /* 0x2B077E29: je 0x2b077e49 */ 7939 L_2B077E2B: 7940 ecx = MEM32(ebp + (-0x34)); /* 0x2B077E2B: mov ecx, dword ptr [ebp - 0x34] */ 7941 L_2B077E2E: 7942 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B077E2E: cmp ecx, dword ptr [edi + 0xc] */ 7943 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 7944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7945 _flag_k = FK_CMP; 7946 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B077E31: setl al */ 7947 /* test LO8(eax), LO8(eax) */ /* 0x2B077E34: test al, al */ 7948 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7949 _cf = 0; 7950 _flag_k = FK_NARROW(FK_TEST, 24); 7951 MEM32(ebp + (-0x8)) = edi; /* 0x2B077E36: mov dword ptr [ebp - 8], edi */ 7952 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E3F; /* 0x2B077E39: je 0x2b077e3f */ 7953 L_2B077E3B: 7954 edi = MEM32(edi); /* 0x2B077E3B: mov edi, dword ptr [edi] */ 7955 goto L_2B077E42; /* 0x2B077E3D: jmp 0x2b077e42 */ 7956 L_2B077E3F: 7957 edi = MEM32(edi + 0x8); /* 0x2B077E3F: mov edi, dword ptr [edi + 8] */ 7958 L_2B077E42: 7959 /* cmp edi, edx */ /* 0x2B077E42: cmp edi, edx */ 7960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7962 _flag_k = FK_CMP; 7963 RECOMP_BACKEDGE(); 7964 if (CMP_NE(_flag_a, _flag_b)) goto L_2B077E2E; /* 0x2B077E44: jne 0x2b077e2e */ 7965 L_2B077E46: 7966 ecx = MEM32(ebp + (-0x8)); /* 0x2B077E46: mov ecx, dword ptr [ebp - 8] */ 7967 L_2B077E49: 7968 SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x2B077E49: mov dl, byte ptr [ebx + 0xc] */ 7969 /* test LO8(edx), LO8(edx) */ /* 0x2B077E4C: test dl, dl */ 7970 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7971 _cf = 0; 7972 _flag_k = FK_NARROW(FK_TEST, 24); 7973 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077E72; /* 0x2B077E4E: je 0x2b077e72 */ 7974 L_2B077E50: 7975 edx = ebp + (-0x34); /* 0x2B077E50: lea edx, [ebp - 0x34] */ 7976 PUSH32(esp, edx); /* 0x2B077E53: push edx */ 7977 PUSH32(esp, ecx); /* 0x2B077E54: push ecx */ 7978 PUSH32(esp, edi); /* 0x2B077E55: push edi */ 7979 eax = ebp + (-0x1C); /* 0x2B077E56: lea eax, [ebp - 0x1c] */ 7980 PUSH32(esp, eax); /* 0x2B077E59: push eax */ 7981 ecx = ebx; /* 0x2B077E5A: mov ecx, ebx */ 7982 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E5C: call 0x2b0325b0 */ /* not lifted */ 7983 RECOMP_FLAGS_IN(); 7984 eax = MEM32(eax); /* 0x2B077E61: mov eax, dword ptr [eax] */ 7985 MEM8(ebp + (-0x38)) = (uint8_t)(1); /* 0x2B077E63: mov byte ptr [ebp - 0x38], 1 */ 7986 ecx = MEM32(ebp + (-0x38)); /* 0x2B077E67: mov ecx, dword ptr [ebp - 0x38] */ 7987 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077E6A: mov dword ptr [ebp - 8], ecx */ 7988 goto L_2B077F10; /* 0x2B077E6D: jmp 0x2b077f10 */ 7989 L_2B077E72: 7990 /* test LO8(eax), LO8(eax) */ /* 0x2B077E72: test al, al */ 7991 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7992 _cf = 0; 7993 _flag_k = FK_NARROW(FK_TEST, 24); 7994 MEM32(ebp + (-0x10)) = ecx; /* 0x2B077E74: mov dword ptr [ebp - 0x10], ecx */ 7995 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077EB9; /* 0x2B077E77: je 0x2b077eb9 */ 7996 L_2B077E79: 7997 eax = MEM32(ebx + 0x4); /* 0x2B077E79: mov eax, dword ptr [ebx + 4] */ 7998 /* cmp ecx, MEM32(eax) */ /* 0x2B077E7C: cmp ecx, dword ptr [eax] */ 7999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 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_2B077EAE; /* 0x2B077E7E: jne 0x2b077eae */ 8003 L_2B077E80: 8004 edx = ebp + 0xB; /* 0x2B077E80: lea edx, [ebp + 0xb] */ 8005 PUSH32(esp, edx); /* 0x2B077E83: push edx */ 8006 eax = ebp + (-0x34); /* 0x2B077E84: lea eax, [ebp - 0x34] */ 8007 PUSH32(esp, eax); /* 0x2B077E87: push eax */ 8008 PUSH32(esp, ecx); /* 0x2B077E88: push ecx */ 8009 PUSH32(esp, edi); /* 0x2B077E89: push edi */ 8010 ecx = ebp + (-0x20); /* 0x2B077E8A: lea ecx, [ebp - 0x20] */ 8011 PUSH32(esp, ecx); /* 0x2B077E8D: push ecx */ 8012 ecx = ebx; /* 0x2B077E8E: mov ecx, ebx */ 8013 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B077E90: mov byte ptr [ebp + 0xb], 1 */ 8014 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077E94: call 0x2b0325b0 */ /* not lifted */ 8015 RECOMP_FLAGS_IN(); 8016 PUSH32(esp, eax); /* 0x2B077E99: push eax */ 8017 ecx = ebp + (-0x44); /* 0x2B077E9A: lea ecx, [ebp - 0x44] */ 8018 RECOMP_ICALL(0x2B02A020u); /* 0x2B077E9D: call 0x2b02a020 */ /* not lifted */ 8019 RECOMP_FLAGS_IN(); 8020 edx = eax; /* 0x2B077EA2: mov edx, eax */ 8021 eax = MEM32(edx); /* 0x2B077EA4: mov eax, dword ptr [edx] */ 8022 ecx = MEM32(edx + 0x4); /* 0x2B077EA6: mov ecx, dword ptr [edx + 4] */ 8023 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EA9: mov dword ptr [ebp - 8], ecx */ 8024 goto L_2B077F10; /* 0x2B077EAC: jmp 0x2b077f10 */ 8025 L_2B077EAE: 8026 ecx = ebp + (-0x10); /* 0x2B077EAE: lea ecx, [ebp - 0x10] */ 8027 RECOMP_ICALL(0x2B078C30u); /* 0x2B077EB1: call 0x2b078c30 */ /* not lifted */ 8028 RECOMP_FLAGS_IN(); 8029 ecx = MEM32(ebp + (-0x8)); /* 0x2B077EB6: mov ecx, dword ptr [ebp - 8] */ 8030 L_2B077EB9: 8031 edx = MEM32(ebp + (-0x10)); /* 0x2B077EB9: mov edx, dword ptr [ebp - 0x10] */ 8032 eax = MEM32(edx + 0xC); /* 0x2B077EBC: mov eax, dword ptr [edx + 0xc] */ 8033 /* cmp eax, MEM32(ebp + (-0x34)) */ /* 0x2B077EBF: cmp eax, dword ptr [ebp - 0x34] */ 8034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 8035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8036 _flag_k = FK_CMP; 8037 if (CMP_GE(_flag_a, _flag_b)) goto L_2B077EF2; /* 0x2B077EC2: jge 0x2b077ef2 */ 8038 L_2B077EC4: 8039 edx = ebp + (-0x1); /* 0x2B077EC4: lea edx, [ebp - 1] */ 8040 PUSH32(esp, edx); /* 0x2B077EC7: push edx */ 8041 eax = ebp + (-0x34); /* 0x2B077EC8: lea eax, [ebp - 0x34] */ 8042 PUSH32(esp, eax); /* 0x2B077ECB: push eax */ 8043 PUSH32(esp, ecx); /* 0x2B077ECC: push ecx */ 8044 PUSH32(esp, edi); /* 0x2B077ECD: push edi */ 8045 ecx = ebp + (-0x24); /* 0x2B077ECE: lea ecx, [ebp - 0x24] */ 8046 PUSH32(esp, ecx); /* 0x2B077ED1: push ecx */ 8047 ecx = ebx; /* 0x2B077ED2: mov ecx, ebx */ 8048 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B077ED4: mov byte ptr [ebp - 1], 1 */ 8049 RECOMP_ICALL(0x2B0325B0u); /* 0x2B077ED8: call 0x2b0325b0 */ /* not lifted */ 8050 RECOMP_FLAGS_IN(); 8051 PUSH32(esp, eax); /* 0x2B077EDD: push eax */ 8052 ecx = ebp + (-0x4C); /* 0x2B077EDE: lea ecx, [ebp - 0x4c] */ 8053 RECOMP_ICALL(0x2B02A020u); /* 0x2B077EE1: call 0x2b02a020 */ /* not lifted */ 8054 RECOMP_FLAGS_IN(); 8055 edx = eax; /* 0x2B077EE6: mov edx, eax */ 8056 eax = MEM32(edx); /* 0x2B077EE8: mov eax, dword ptr [edx] */ 8057 ecx = MEM32(edx + 0x4); /* 0x2B077EEA: mov ecx, dword ptr [edx + 4] */ 8058 MEM32(ebp + (-0x8)) = ecx; /* 0x2B077EED: mov dword ptr [ebp - 8], ecx */ 8059 goto L_2B077F10; /* 0x2B077EF0: jmp 0x2b077f10 */ 8060 L_2B077EF2: 8061 edx = ebp + (-0x2); /* 0x2B077EF2: lea edx, [ebp - 2] */ 8062 PUSH32(esp, edx); /* 0x2B077EF5: push edx */ 8063 eax = ebp + (-0x10); /* 0x2B077EF6: lea eax, [ebp - 0x10] */ 8064 PUSH32(esp, eax); /* 0x2B077EF9: push eax */ 8065 ecx = ebp + (-0x54); /* 0x2B077EFA: lea ecx, [ebp - 0x54] */ 8066 MEM8(ebp + (-0x2)) = (uint8_t)(0); /* 0x2B077EFD: mov byte ptr [ebp - 2], 0 */ 8067 RECOMP_ICALL(0x2B02A020u); /* 0x2B077F01: call 0x2b02a020 */ /* not lifted */ 8068 RECOMP_FLAGS_IN(); 8069 ecx = eax; /* 0x2B077F06: mov ecx, eax */ 8070 eax = MEM32(ecx); /* 0x2B077F08: mov eax, dword ptr [ecx] */ 8071 edx = MEM32(ecx + 0x4); /* 0x2B077F0A: mov edx, dword ptr [ecx + 4] */ 8072 MEM32(ebp + (-0x8)) = edx; /* 0x2B077F0D: mov dword ptr [ebp - 8], edx */ 8073 L_2B077F10: 8074 eax = MEM32(eax + 0x10); /* 0x2B077F10: mov eax, dword ptr [eax + 0x10] */ 8075 /* test eax, eax */ /* 0x2B077F13: test eax, eax */ 8076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8077 _cf = 0; 8078 _flag_k = FK_TEST; 8079 if (TEST_Z(_flag_a, _flag_b)) goto L_2B077F22; /* 0x2B077F15: je 0x2b077f22 */ 8080 L_2B077F17: 8081 edx = MEM32(eax); /* 0x2B077F17: mov edx, dword ptr [eax] */ 8082 ecx = ebp + (-0x2C); /* 0x2B077F19: lea ecx, [ebp - 0x2c] */ 8083 PUSH32(esp, ecx); /* 0x2B077F1C: push ecx */ 8084 ecx = eax; /* 0x2B077F1D: mov ecx, eax */ 8085 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B077F1F: call dword ptr [edx + 0x14] */ 8086 RECOMP_FLAGS_IN(); 8087 L_2B077F22: 8088 eax = MEM32(esi + 0x18); /* 0x2B077F22: mov eax, dword ptr [esi + 0x18] */ 8089 edi = MEM32(ebp + (-0x28)); /* 0x2B077F25: mov edi, dword ptr [ebp - 0x28] */ 8090 ebx = MEM32(ebp + (-0x2C)); /* 0x2B077F28: mov ebx, dword ptr [ebp - 0x2c] */ 8091 edx = MEM32(esi + 0x14); /* 0x2B077F2B: mov edx, dword ptr [esi + 0x14] */ 8092 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8094 edi = edi + eax; /* 0x2B077F2E: add edi, eax */ 8095 _flag_k = FK_ADD; 8096 eax = MEM32(ebp + (-0x14)); /* 0x2B077F30: mov eax, dword ptr [ebp - 0x14] */ 8097 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 8098 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8099 ebx = ebx + edx; /* 0x2B077F33: add ebx, edx */ 8100 _flag_k = FK_ADD; 8101 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8102 eax = eax + 1; /* 0x2B077F35: inc eax */ 8103 _flag_k = FK_INC; 8104 /* cmp eax, 0xAu */ /* 0x2B077F36: cmp eax, 0xa */ 8105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 8106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8107 _flag_k = FK_CMP; 8108 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B077F39: mov dword ptr [ebp - 0x2c], ebx */ 8109 MEM32(ebp + (-0x28)) = edi; /* 0x2B077F3C: mov dword ptr [ebp - 0x28], edi */ 8110 MEM32(ebp + (-0x14)) = eax; /* 0x2B077F3F: mov dword ptr [ebp - 0x14], eax */ 8111 RECOMP_BACKEDGE(); 8112 if (CMP_L(_flag_a, _flag_b)) goto L_2B077E01; /* 0x2B077F42: jl 0x2b077e01 */ 8113 L_2B077F48: 8114 eax = MEM32(esi + 0xC); /* 0x2B077F48: mov eax, dword ptr [esi + 0xc] */ 8115 edi = MEM32(esi + 0x2C); /* 0x2B077F4B: mov edi, dword ptr [esi + 0x2c] */ 8116 ebx = MEM32(esi + 0x1C); /* 0x2B077F4E: mov ebx, dword ptr [esi + 0x1c] */ 8117 ecx = MEM32(esi + 0x20); /* 0x2B077F51: mov ecx, dword ptr [esi + 0x20] */ 8118 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8119 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8120 edi = edi + eax; /* 0x2B077F54: add edi, eax */ 8121 _flag_k = FK_ADD; 8122 eax = MEM32(esi + 0x10); /* 0x2B077F56: mov eax, dword ptr [esi + 0x10] */ 8123 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 8124 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8125 edi = edi + ebx; /* 0x2B077F59: add edi, ebx */ 8126 _flag_k = FK_ADD; 8127 ebx = MEM32(esi + 0x28); /* 0x2B077F5B: mov ebx, dword ptr [esi + 0x28] */ 8128 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8129 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8130 ebx = ebx + eax; /* 0x2B077F5E: add ebx, eax */ 8131 _flag_k = FK_ADD; 8132 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8133 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8134 ebx = ebx + ecx; /* 0x2B077F60: add ebx, ecx */ 8135 _flag_k = FK_ADD; 8136 ecx = ebp + (-0x2C); /* 0x2B077F62: lea ecx, [ebp - 0x2c] */ 8137 PUSH32(esp, ecx); /* 0x2B077F65: push ecx */ 8138 ecx = MEM32(esi + 0x64); /* 0x2B077F66: mov ecx, dword ptr [esi + 0x64] */ 8139 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F69: mov dword ptr [ebp - 0x2c], edi */ 8140 MEM32(ebp + (-0x28)) = eax; /* 0x2B077F6C: mov dword ptr [ebp - 0x28], eax */ 8141 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F6F: call dword ptr [0x2b0b5640] */ 8142 RECOMP_FLAGS_IN(); 8143 edx = MEM32(esi + 0x10); /* 0x2B077F75: mov edx, dword ptr [esi + 0x10] */ 8144 ecx = MEM32(esi + 0x68); /* 0x2B077F78: mov ecx, dword ptr [esi + 0x68] */ 8145 eax = ebp + (-0x2C); /* 0x2B077F7B: lea eax, [ebp - 0x2c] */ 8146 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x24u); 8147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8148 edx = edx + 0x24u; /* 0x2B077F7E: add edx, 0x24 */ 8149 _flag_k = FK_ADD; 8150 PUSH32(esp, eax); /* 0x2B077F81: push eax */ 8151 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077F82: mov dword ptr [ebp - 0x2c], edi */ 8152 MEM32(ebp + (-0x28)) = edx; /* 0x2B077F85: mov dword ptr [ebp - 0x28], edx */ 8153 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077F88: call dword ptr [0x2b0b5640] */ 8154 RECOMP_FLAGS_IN(); 8155 ecx = MEM32(esi + 0xC); /* 0x2B077F8E: mov ecx, dword ptr [esi + 0xc] */ 8156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 8157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8158 ecx = ecx + 0x24u; /* 0x2B077F91: add ecx, 0x24 */ 8159 _flag_k = FK_ADD; 8160 edx = ebp + (-0x2C); /* 0x2B077F94: lea edx, [ebp - 0x2c] */ 8161 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077F97: mov dword ptr [ebp - 0x2c], ecx */ 8162 ecx = MEM32(esi + 0x6C); /* 0x2B077F9A: mov ecx, dword ptr [esi + 0x6c] */ 8163 PUSH32(esp, edx); /* 0x2B077F9D: push edx */ 8164 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077F9E: mov dword ptr [ebp - 0x28], ebx */ 8165 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FA1: call dword ptr [0x2b0b5640] */ 8166 RECOMP_FLAGS_IN(); 8167 eax = MEM32(esi + 0xC); /* 0x2B077FA7: mov eax, dword ptr [esi + 0xc] */ 8168 ecx = ebp + (-0x2C); /* 0x2B077FAA: lea ecx, [ebp - 0x2c] */ 8169 PUSH32(esp, ecx); /* 0x2B077FAD: push ecx */ 8170 ecx = MEM32(esi + 0x70); /* 0x2B077FAE: mov ecx, dword ptr [esi + 0x70] */ 8171 MEM32(ebp + (-0x2C)) = eax; /* 0x2B077FB1: mov dword ptr [ebp - 0x2c], eax */ 8172 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FB4: mov dword ptr [ebp - 0x28], ebx */ 8173 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B077FB7: call dword ptr [0x2b0b5640] */ 8174 RECOMP_FLAGS_IN(); 8175 edx = MEM32(esi + 0x10); /* 0x2B077FBD: mov edx, dword ptr [esi + 0x10] */ 8176 ecx = MEM32(esi + 0x74); /* 0x2B077FC0: mov ecx, dword ptr [esi + 0x74] */ 8177 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x168u); 8178 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8179 edi = edi + 0x168u; /* 0x2B077FC3: add edi, 0x168 */ 8180 _flag_k = FK_ADD; 8181 eax = ebp + (-0x2C); /* 0x2B077FC9: lea eax, [ebp - 0x2c] */ 8182 MEM32(ebp + (-0x2C)) = edi; /* 0x2B077FCC: mov dword ptr [ebp - 0x2c], edi */ 8183 edi = MEM32(0x2B0B5640); /* 0x2B077FCF: mov edi, dword ptr [0x2b0b5640] */ 8184 PUSH32(esp, eax); /* 0x2B077FD5: push eax */ 8185 MEM32(ebp + (-0x28)) = edx; /* 0x2B077FD6: mov dword ptr [ebp - 0x28], edx */ 8186 RECOMP_ICALL(edi); /* 0x2B077FD9: call edi */ 8187 RECOMP_FLAGS_IN(); 8188 ecx = MEM32(esi + 0xC); /* 0x2B077FDB: mov ecx, dword ptr [esi + 0xc] */ 8189 edx = ebp + (-0x2C); /* 0x2B077FDE: lea edx, [ebp - 0x2c] */ 8190 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B077FE1: mov dword ptr [ebp - 0x2c], ecx */ 8191 ecx = MEM32(esi + 0x78); /* 0x2B077FE4: mov ecx, dword ptr [esi + 0x78] */ 8192 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x168u); 8193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8194 ebx = ebx + 0x168u; /* 0x2B077FE7: add ebx, 0x168 */ 8195 _flag_k = FK_ADD; 8196 PUSH32(esp, edx); /* 0x2B077FED: push edx */ 8197 MEM32(ebp + (-0x28)) = ebx; /* 0x2B077FEE: mov dword ptr [ebp - 0x28], ebx */ 8198 RECOMP_ICALL(edi); /* 0x2B077FF1: call edi */ 8199 RECOMP_FLAGS_IN(); 8200 edi = POP32_VAL(esp); /* 0x2B077FF3: pop edi */ 8201 esi = POP32_VAL(esp); /* 0x2B077FF4: pop esi */ 8202 ebx = POP32_VAL(esp); /* 0x2B077FF5: pop ebx */ 8203 esp = ebp; /* 0x2B077FF6: mov esp, ebp */ 8204 ebp = POP32_VAL(esp); /* 0x2B077FF8: pop ebp */ 8205 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B077FF9: ret 4 */ 8206 RECOMP_REGS_OUT(); 8207 } 8208 8209 void sub_2B078000(void) { 8210 int _fpu_cmp = 0; 8211 uint32_t _cf = 0; 8212 int _df = 1; 8213 uint32_t _flag_k = FK_NONE; 8214 uint32_t _flag_a = 0, _flag_b = 0; 8215 uint32_t _itail_tgt = 0; 8216 RECOMP_REGS_LOCALS 8217 RECOMP_ENTER(0x2B078000u); 8218 8219 L_2B078000: 8220 PUSH32(esp, ebp); /* 0x2B078000: push ebp */ 8221 ebp = esp; /* 0x2B078001: mov ebp, esp */ 8222 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 8223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8224 esp = esp - 0x18u; /* 0x2B078003: sub esp, 0x18 */ 8225 _flag_k = FK_CMP; 8226 PUSH32(esp, esi); /* 0x2B078006: push esi */ 8227 PUSH32(esp, edi); /* 0x2B078007: push edi */ 8228 edi = MEM32(ebp + 0x8); /* 0x2B078008: mov edi, dword ptr [ebp + 8] */ 8229 esi = ecx; /* 0x2B07800B: mov esi, ecx */ 8230 PUSH32(esp, edi); /* 0x2B07800D: push edi */ 8231 RECOMP_ICALL(0x2B078300u); /* 0x2B07800E: call 0x2b078300 */ /* not lifted */ 8232 RECOMP_FLAGS_IN(); 8233 /* test LO8(eax), LO8(eax) */ /* 0x2B078013: test al, al */ 8234 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8235 _cf = 0; 8236 _flag_k = FK_NARROW(FK_TEST, 24); 8237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07806F; /* 0x2B078015: je 0x2b07806f */ 8238 L_2B078017: 8239 ecx = MEM32(esi + 0x84); /* 0x2B078017: mov ecx, dword ptr [esi + 0x84] */ 8240 eax = ebp + (-0x8); /* 0x2B07801D: lea eax, [ebp - 8] */ 8241 PUSH32(esp, eax); /* 0x2B078020: push eax */ 8242 edx = ebp + (-0x10); /* 0x2B078021: lea edx, [ebp - 0x10] */ 8243 PUSH32(esp, edx); /* 0x2B078024: push edx */ 8244 MEM32(ebp + (-0x8)) = edi; /* 0x2B078025: mov dword ptr [ebp - 8], edi */ 8245 MEM32(ebp + (-0x4)) = 0; /* 0x2B078028: mov dword ptr [ebp - 4], 0 */ 8246 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B07802F: call 0x2b06a0b0 */ /* not lifted */ 8247 RECOMP_FLAGS_IN(); 8248 ecx = eax; /* 0x2B078034: mov ecx, eax */ 8249 eax = MEM32(ecx); /* 0x2B078036: mov eax, dword ptr [ecx] */ 8250 eax = MEM32(eax + 0x10); /* 0x2B078038: mov eax, dword ptr [eax + 0x10] */ 8251 /* test eax, eax */ /* 0x2B07803B: test eax, eax */ 8252 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8253 _cf = 0; 8254 _flag_k = FK_TEST; 8255 edx = MEM32(ecx + 0x4); /* 0x2B07803D: mov edx, dword ptr [ecx + 4] */ 8256 MEM32(ebp + (-0x14)) = edx; /* 0x2B078040: mov dword ptr [ebp - 0x14], edx */ 8257 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07806F; /* 0x2B078043: je 0x2b07806f */ 8258 L_2B078045: 8259 ecx = MEM32(eax + 0x3C); /* 0x2B078045: mov ecx, dword ptr [eax + 0x3c] */ 8260 eax = MEM32(eax + 0x40); /* 0x2B078048: mov eax, dword ptr [eax + 0x40] */ 8261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8262 ecx = ecx - 1; /* 0x2B07804B: dec ecx */ 8263 _flag_k = FK_DEC; 8264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8265 eax = eax - 1; /* 0x2B07804C: dec eax */ 8266 _flag_k = FK_DEC; 8267 MEM32(ebp + (-0x4)) = eax; /* 0x2B07804D: mov dword ptr [ebp - 4], eax */ 8268 eax = ebp + (-0x8); /* 0x2B078050: lea eax, [ebp - 8] */ 8269 MEM32(ebp + (-0x8)) = ecx; /* 0x2B078053: mov dword ptr [ebp - 8], ecx */ 8270 ecx = MEM32(esi + 0x7C); /* 0x2B078056: mov ecx, dword ptr [esi + 0x7c] */ 8271 PUSH32(esp, eax); /* 0x2B078059: push eax */ 8272 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B07805A: call dword ptr [0x2b0b5640] */ 8273 RECOMP_FLAGS_IN(); 8274 ecx = MEM32(esi + 0x7C); /* 0x2B078060: mov ecx, dword ptr [esi + 0x7c] */ 8275 edx = MEM32(ecx); /* 0x2B078063: mov edx, dword ptr [ecx] */ 8276 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B078065: call dword ptr [edx + 8] */ 8277 RECOMP_FLAGS_IN(); 8278 MEM8(esi + 0x80) = (uint8_t)(1); /* 0x2B078068: mov byte ptr [esi + 0x80], 1 */ 8279 L_2B07806F: 8280 edi = POP32_VAL(esp); /* 0x2B07806F: pop edi */ 8281 esi = POP32_VAL(esp); /* 0x2B078070: pop esi */ 8282 esp = ebp; /* 0x2B078071: mov esp, ebp */ 8283 ebp = POP32_VAL(esp); /* 0x2B078073: pop ebp */ 8284 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078074: ret 4 */ 8285 RECOMP_REGS_OUT(); 8286 } 8287 8288 void sub_2B078080(void) { 8289 int _fpu_cmp = 0; 8290 uint32_t _cf = 0; 8291 int _df = 1; 8292 uint32_t _flag_k = FK_NONE; 8293 uint32_t _flag_a = 0, _flag_b = 0; 8294 uint32_t _itail_tgt = 0; 8295 RECOMP_REGS_LOCALS 8296 RECOMP_ENTER(0x2B078080u); 8297 8298 L_2B078080: 8299 SET_LO8(eax, MEM8(ecx + 0x80)); /* 0x2B078080: mov al, byte ptr [ecx + 0x80] */ 8300 L_2B078086: 8301 /* test LO8(eax), LO8(eax) */ /* 0x2B078086: test al, al */ 8302 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8303 _cf = 0; 8304 _flag_k = FK_NARROW(FK_TEST, 24); 8305 L_2B078088: 8306 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B078092; /* 0x2B078088: je 0x2b078092 */ 8307 L_2B07808A: 8308 MEM8(ecx + 0x80) = (uint8_t)(0); /* 0x2B07808A: mov byte ptr [ecx + 0x80], 0 */ 8309 L_2B078091: 8310 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078091: ret */ 8311 L_2B078092: 8312 ecx = MEM32(ecx + 0x7C); /* 0x2B078092: mov ecx, dword ptr [ecx + 0x7c] */ 8313 L_2B078095: 8314 eax = MEM32(ecx); /* 0x2B078095: mov eax, dword ptr [ecx] */ 8315 L_2B078097: 8316 { _itail_tgt = (uint32_t)(MEM32(eax + 0xC)); goto _ljump; } 8317 { RECOMP_REGS_OUT(); return; } /* end of function */ 8318 _ljump: 8319 switch (_itail_tgt) { 8320 case 0x2B078080u: goto L_2B078080; 8321 case 0x2B078086u: goto L_2B078086; 8322 case 0x2B078088u: goto L_2B078088; 8323 case 0x2B07808Au: goto L_2B07808A; 8324 case 0x2B078091u: goto L_2B078091; 8325 case 0x2B078092u: goto L_2B078092; 8326 case 0x2B078095u: goto L_2B078095; 8327 case 0x2B078097u: goto L_2B078097; 8328 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8329 } 8330 RECOMP_REGS_OUT(); 8331 } 8332 8333 void sub_2B0780A0(void) { 8334 int _fpu_cmp = 0; 8335 uint32_t _cf = 0; 8336 int _df = 1; 8337 uint32_t _flag_k = FK_NONE; 8338 uint32_t _flag_a = 0, _flag_b = 0; 8339 uint32_t _itail_tgt = 0; 8340 RECOMP_REGS_LOCALS 8341 RECOMP_ENTER(0x2B0780A0u); 8342 8343 L_2B0780A0: 8344 PUSH32(esp, ebp); /* 0x2B0780A0: push ebp */ 8345 ebp = esp; /* 0x2B0780A1: mov ebp, esp */ 8346 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0780A3: push -1 */ 8347 PUSH32(esp, 0x2B0B154Bu); /* 0x2B0780A5: push 0x2b0b154b */ 8348 eax = MEM32(FS_BASE + (0)); /* 0x2B0780AA: mov eax, dword ptr fs:[0] */ 8349 PUSH32(esp, eax); /* 0x2B0780B0: push eax */ 8350 MEM32(FS_BASE + (0)) = esp; /* 0x2B0780B1: mov dword ptr fs:[0], esp */ 8351 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 8352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8353 esp = esp - 0x5Cu; /* 0x2B0780B8: sub esp, 0x5c */ 8354 _flag_k = FK_CMP; 8355 PUSH32(esp, ebx); /* 0x2B0780BB: push ebx */ 8356 ebx = MEM32(ebp + 0x8); /* 0x2B0780BC: mov ebx, dword ptr [ebp + 8] */ 8357 PUSH32(esp, esi); /* 0x2B0780BF: push esi */ 8358 esi = ecx; /* 0x2B0780C0: mov esi, ecx */ 8359 PUSH32(esp, ebx); /* 0x2B0780C2: push ebx */ 8360 MEM32(ebp + (-0x10)) = esi; /* 0x2B0780C3: mov dword ptr [ebp - 0x10], esi */ 8361 RECOMP_ICALL(0x2B078300u); /* 0x2B0780C6: call 0x2b078300 */ /* not lifted */ 8362 RECOMP_FLAGS_IN(); 8363 /* test LO8(eax), LO8(eax) */ /* 0x2B0780CB: test al, al */ 8364 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8365 _cf = 0; 8366 _flag_k = FK_NARROW(FK_TEST, 24); 8367 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0781C0; /* 0x2B0780CD: je 0x2b0781c0 */ 8368 L_2B0780D3: 8369 ecx = MEM32(esi + 0x84); /* 0x2B0780D3: mov ecx, dword ptr [esi + 0x84] */ 8370 PUSH32(esp, edi); /* 0x2B0780D9: push edi */ 8371 eax = ebp + (-0x20); /* 0x2B0780DA: lea eax, [ebp - 0x20] */ 8372 PUSH32(esp, eax); /* 0x2B0780DD: push eax */ 8373 edx = ebp + (-0x30); /* 0x2B0780DE: lea edx, [ebp - 0x30] */ 8374 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8375 edi = 0; /* 0x2B0780E1: xor edi, edi */ 8376 _cf = 0; 8377 _flag_k = FK_TEST; 8378 PUSH32(esp, edx); /* 0x2B0780E3: push edx */ 8379 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0780E4: mov dword ptr [ebp - 0x20], ebx */ 8380 MEM32(ebp + (-0x1C)) = edi; /* 0x2B0780E7: mov dword ptr [ebp - 0x1c], edi */ 8381 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B0780EA: call 0x2b06a0b0 */ /* not lifted */ 8382 RECOMP_FLAGS_IN(); 8383 ecx = MEM32(eax); /* 0x2B0780EF: mov ecx, dword ptr [eax] */ 8384 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0780F1: mov dword ptr [ebp - 0x18], ecx */ 8385 edx = MEM32(eax + 0x4); /* 0x2B0780F4: mov edx, dword ptr [eax + 4] */ 8386 eax = ebp + (-0x14); /* 0x2B0780F7: lea eax, [ebp - 0x14] */ 8387 PUSH32(esp, eax); /* 0x2B0780FA: push eax */ 8388 ecx = ebp + (-0x18); /* 0x2B0780FB: lea ecx, [ebp - 0x18] */ 8389 PUSH32(esp, ecx); /* 0x2B0780FE: push ecx */ 8390 ecx = ebp + (-0x38); /* 0x2B0780FF: lea ecx, [ebp - 0x38] */ 8391 MEM32(ebp + (-0x14)) = edx; /* 0x2B078102: mov dword ptr [ebp - 0x14], edx */ 8392 RECOMP_ICALL(0x2B02A020u); /* 0x2B078105: call 0x2b02a020 */ /* not lifted */ 8393 RECOMP_FLAGS_IN(); 8394 edx = eax; /* 0x2B07810A: mov edx, eax */ 8395 eax = MEM32(edx); /* 0x2B07810C: mov eax, dword ptr [edx] */ 8396 ecx = MEM32(edx + 0x4); /* 0x2B07810E: mov ecx, dword ptr [edx + 4] */ 8397 MEM32(ebp + (-0x24)) = ecx; /* 0x2B078111: mov dword ptr [ebp - 0x24], ecx */ 8398 ecx = MEM32(eax + 0x10); /* 0x2B078114: mov ecx, dword ptr [eax + 0x10] */ 8399 /* cmp ecx, edi */ /* 0x2B078117: cmp ecx, edi */ 8400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8402 _flag_k = FK_CMP; 8403 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078121; /* 0x2B078119: je 0x2b078121 */ 8404 L_2B07811B: 8405 edx = MEM32(ecx); /* 0x2B07811B: mov edx, dword ptr [ecx] */ 8406 PUSH32(esp, 1); /* 0x2B07811D: push 1 */ 8407 RECOMP_ICALL(MEM32(edx)); /* 0x2B07811F: call dword ptr [edx] */ 8408 RECOMP_FLAGS_IN(); 8409 L_2B078121: 8410 MEM32(ebp + (-0x68)) = edi; /* 0x2B078121: mov dword ptr [ebp - 0x68], edi */ 8411 MEM32(ebp + (-0x64)) = edi; /* 0x2B078124: mov dword ptr [ebp - 0x64], edi */ 8412 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8413 eax = 0; /* 0x2B078127: xor eax, eax */ 8414 _cf = 0; 8415 _flag_k = FK_TEST; 8416 ecx = 0xAu; /* 0x2B078129: mov ecx, 0xa */ 8417 edi = ebp + (-0x68); /* 0x2B07812E: lea edi, [ebp - 0x68] */ 8418 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B078131: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 8419 eax = MEM32(esi); /* 0x2B078133: mov eax, dword ptr [esi] */ 8420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 8421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8422 eax = eax + 2; /* 0x2B078135: add eax, 2 */ 8423 _flag_k = FK_ADD; 8424 PUSH32(esp, 0xB0u); /* 0x2B078138: push 0xb0 */ 8425 MEM32(ebp + (-0x4C)) = 0x20u; /* 0x2B07813D: mov dword ptr [ebp - 0x4c], 0x20 */ 8426 MEM32(ebp + (-0x5C)) = eax; /* 0x2B078144: mov dword ptr [ebp - 0x5c], eax */ 8427 RECOMP_ICALL(0x2B0AB212u); /* 0x2B078147: call 0x2b0ab212 */ /* not lifted */ 8428 RECOMP_FLAGS_IN(); 8429 edi = eax; /* 0x2B07814C: mov edi, eax */ 8430 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8431 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8432 esp = esp + 4; /* 0x2B07814E: add esp, 4 */ 8433 _flag_k = FK_ADD; 8434 MEM32(ebp + 0x8) = edi; /* 0x2B078151: mov dword ptr [ebp + 8], edi */ 8435 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8436 esi = 0; /* 0x2B078154: xor esi, esi */ 8437 _cf = 0; 8438 _flag_k = FK_TEST; 8439 /* cmp edi, esi */ /* 0x2B078156: cmp edi, esi */ 8440 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8442 _flag_k = FK_CMP; 8443 MEM32(ebp + (-0x4)) = esi; /* 0x2B078158: mov dword ptr [ebp - 4], esi */ 8444 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078177; /* 0x2B07815B: je 0x2b078177 */ 8445 L_2B07815D: 8446 PUSH32(esp, esi); /* 0x2B07815D: push esi */ 8447 PUSH32(esp, 1); /* 0x2B07815E: push 1 */ 8448 PUSH32(esp, 1); /* 0x2B078160: push 1 */ 8449 PUSH32(esp, esi); /* 0x2B078162: push esi */ 8450 ecx = ebp + (-0x68); /* 0x2B078163: lea ecx, [ebp - 0x68] */ 8451 PUSH32(esp, ecx); /* 0x2B078166: push ecx */ 8452 ecx = edi; /* 0x2B078167: mov ecx, edi */ 8453 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B078169: call dword ptr [0x2b0b589c] */ 8454 RECOMP_FLAGS_IN(); 8455 MEM32(edi) = 0x2B0B6958u; /* 0x2B07816F: mov dword ptr [edi], 0x2b0b6958 */ 8456 esi = edi; /* 0x2B078175: mov esi, edi */ 8457 L_2B078177: 8458 edx = MEM32(ebp + (-0x10)); /* 0x2B078177: mov edx, dword ptr [ebp - 0x10] */ 8459 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8460 eax = 0; /* 0x2B07817A: xor eax, eax */ 8461 _cf = 0; 8462 _flag_k = FK_TEST; 8463 MEM32(esi + 0x98) = eax; /* 0x2B07817C: mov dword ptr [esi + 0x98], eax */ 8464 MEM32(ebp + (-0x24)) = eax; /* 0x2B078182: mov dword ptr [ebp - 0x24], eax */ 8465 MEM32(esi + 0x1C) = 0x2B078270u; /* 0x2B078185: mov dword ptr [esi + 0x1c], 0x2b078270 */ 8466 MEM32(esi + 0x20) = ebx; /* 0x2B07818C: mov dword ptr [esi + 0x20], ebx */ 8467 MEM32(esi + 0x9C) = ebx; /* 0x2B07818F: mov dword ptr [esi + 0x9c], ebx */ 8468 ecx = MEM32(edx + 0x84); /* 0x2B078195: mov ecx, dword ptr [edx + 0x84] */ 8469 eax = ebp + (-0x28); /* 0x2B07819B: lea eax, [ebp - 0x28] */ 8470 PUSH32(esp, eax); /* 0x2B07819E: push eax */ 8471 edx = ebp + (-0x40); /* 0x2B07819F: lea edx, [ebp - 0x40] */ 8472 PUSH32(esp, edx); /* 0x2B0781A2: push edx */ 8473 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0781A3: mov dword ptr [ebp - 4], 0xffffffff */ 8474 MEM32(ebp + (-0x28)) = ebx; /* 0x2B0781AA: mov dword ptr [ebp - 0x28], ebx */ 8475 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B0781AD: call 0x2b06a0b0 */ /* not lifted */ 8476 RECOMP_FLAGS_IN(); 8477 ecx = eax; /* 0x2B0781B2: mov ecx, eax */ 8478 eax = MEM32(ecx); /* 0x2B0781B4: mov eax, dword ptr [ecx] */ 8479 edx = MEM32(ecx + 0x4); /* 0x2B0781B6: mov edx, dword ptr [ecx + 4] */ 8480 MEM32(ebp + (-0x34)) = edx; /* 0x2B0781B9: mov dword ptr [ebp - 0x34], edx */ 8481 MEM32(eax + 0x10) = esi; /* 0x2B0781BC: mov dword ptr [eax + 0x10], esi */ 8482 edi = POP32_VAL(esp); /* 0x2B0781BF: pop edi */ 8483 L_2B0781C0: 8484 ecx = MEM32(ebp + (-0xC)); /* 0x2B0781C0: mov ecx, dword ptr [ebp - 0xc] */ 8485 esi = POP32_VAL(esp); /* 0x2B0781C3: pop esi */ 8486 ebx = POP32_VAL(esp); /* 0x2B0781C4: pop ebx */ 8487 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0781C5: mov dword ptr fs:[0], ecx */ 8488 esp = ebp; /* 0x2B0781CC: mov esp, ebp */ 8489 ebp = POP32_VAL(esp); /* 0x2B0781CE: pop ebp */ 8490 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0781CF: ret 4 */ 8491 RECOMP_REGS_OUT(); 8492 } 8493 8494 void sub_2B0781E0(void) { 8495 int _fpu_cmp = 0; 8496 uint32_t _cf = 0; 8497 int _df = 1; 8498 uint32_t _flag_k = FK_NONE; 8499 uint32_t _flag_a = 0, _flag_b = 0; 8500 uint32_t _itail_tgt = 0; 8501 RECOMP_REGS_LOCALS 8502 RECOMP_ENTER(0x2B0781E0u); 8503 8504 L_2B0781E0: 8505 PUSH32(esp, ebp); /* 0x2B0781E0: push ebp */ 8506 ebp = esp; /* 0x2B0781E1: mov ebp, esp */ 8507 ecx = MEM32(ebp + 0x8); /* 0x2B0781E3: mov ecx, dword ptr [ebp + 8] */ 8508 eax = MEM32(ecx + 0x88); /* 0x2B0781E6: mov eax, dword ptr [ecx + 0x88] */ 8509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8510 eax = eax - 1; /* 0x2B0781EC: dec eax */ 8511 _flag_k = FK_DEC; 8512 PUSH32(esp, eax); /* 0x2B0781ED: push eax */ 8513 RECOMP_ICALL(0x2B0779B0u); /* 0x2B0781EE: call 0x2b0779b0 */ /* not lifted */ 8514 RECOMP_FLAGS_IN(); 8515 ebp = POP32_VAL(esp); /* 0x2B0781F3: pop ebp */ 8516 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0781F4: ret */ 8517 RECOMP_REGS_OUT(); 8518 } 8519 8520 void sub_2B078200(void) { 8521 int _fpu_cmp = 0; 8522 uint32_t _cf = 0; 8523 int _df = 1; 8524 uint32_t _flag_k = FK_NONE; 8525 uint32_t _flag_a = 0, _flag_b = 0; 8526 uint32_t _itail_tgt = 0; 8527 RECOMP_REGS_LOCALS 8528 RECOMP_ENTER(0x2B078200u); 8529 8530 L_2B078200: 8531 PUSH32(esp, ebp); /* 0x2B078200: push ebp */ 8532 ebp = esp; /* 0x2B078201: mov ebp, esp */ 8533 ecx = MEM32(ebp + 0x8); /* 0x2B078203: mov ecx, dword ptr [ebp + 8] */ 8534 eax = MEM32(ecx + 0x88); /* 0x2B078206: mov eax, dword ptr [ecx + 0x88] */ 8535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8536 eax = eax + 1; /* 0x2B07820C: inc eax */ 8537 _flag_k = FK_INC; 8538 PUSH32(esp, eax); /* 0x2B07820D: push eax */ 8539 RECOMP_ICALL(0x2B0779B0u); /* 0x2B07820E: call 0x2b0779b0 */ /* not lifted */ 8540 RECOMP_FLAGS_IN(); 8541 ebp = POP32_VAL(esp); /* 0x2B078213: pop ebp */ 8542 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078214: ret */ 8543 RECOMP_REGS_OUT(); 8544 } 8545 8546 void sub_2B078220(void) { 8547 int _fpu_cmp = 0; 8548 uint32_t _cf = 0; 8549 int _df = 1; 8550 uint32_t _flag_k = FK_NONE; 8551 uint32_t _flag_a = 0, _flag_b = 0; 8552 uint32_t _itail_tgt = 0; 8553 RECOMP_REGS_LOCALS 8554 RECOMP_ENTER(0x2B078220u); 8555 8556 L_2B078220: 8557 PUSH32(esp, ebp); /* 0x2B078220: push ebp */ 8558 ebp = esp; /* 0x2B078221: mov ebp, esp */ 8559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8561 esp = esp - 8; /* 0x2B078223: sub esp, 8 */ 8562 _flag_k = FK_CMP; 8563 ecx = MEM32(ebp + 0x8); /* 0x2B078226: mov ecx, dword ptr [ebp + 8] */ 8564 /* test ecx, ecx */ /* 0x2B078229: test ecx, ecx */ 8565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8566 _cf = 0; 8567 _flag_k = FK_TEST; 8568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07824C; /* 0x2B07822B: je 0x2b07824c */ 8569 L_2B07822D: 8570 eax = MEM32(ecx + 0xC); /* 0x2B07822D: mov eax, dword ptr [ecx + 0xc] */ 8571 edx = MEM32(ecx + 0x10); /* 0x2B078230: mov edx, dword ptr [ecx + 0x10] */ 8572 PUSH32(esp, esi); /* 0x2B078233: push esi */ 8573 esi = MEM32(ebp + 0xC); /* 0x2B078234: mov esi, dword ptr [ebp + 0xc] */ 8574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 8575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8576 eax = eax + MEM32(esi); /* 0x2B078237: add eax, dword ptr [esi] */ 8577 _flag_k = FK_ADD; 8578 MEM32(ebp + (-0x8)) = eax; /* 0x2B078239: mov dword ptr [ebp - 8], eax */ 8579 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8581 edx = edx + MEM32(esi + 0x4); /* 0x2B07823C: add edx, dword ptr [esi + 4] */ 8582 _flag_k = FK_ADD; 8583 eax = ebp + (-0x8); /* 0x2B07823F: lea eax, [ebp - 8] */ 8584 PUSH32(esp, eax); /* 0x2B078242: push eax */ 8585 MEM32(ebp + (-0x4)) = edx; /* 0x2B078243: mov dword ptr [ebp - 4], edx */ 8586 RECOMP_ICALL(0x2B077CE0u); /* 0x2B078246: call 0x2b077ce0 */ /* not lifted */ 8587 RECOMP_FLAGS_IN(); 8588 esi = POP32_VAL(esp); /* 0x2B07824B: pop esi */ 8589 L_2B07824C: 8590 esp = ebp; /* 0x2B07824C: mov esp, ebp */ 8591 ebp = POP32_VAL(esp); /* 0x2B07824E: pop ebp */ 8592 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07824F: ret */ 8593 RECOMP_REGS_OUT(); 8594 } 8595 8596 void sub_2B078250(void) { 8597 int _fpu_cmp = 0; 8598 uint32_t _cf = 0; 8599 int _df = 1; 8600 uint32_t _flag_k = FK_NONE; 8601 uint32_t _flag_a = 0, _flag_b = 0; 8602 uint32_t _itail_tgt = 0; 8603 RECOMP_REGS_LOCALS 8604 RECOMP_ENTER(0x2B078250u); 8605 8606 L_2B078250: 8607 PUSH32(esp, ebp); /* 0x2B078250: push ebp */ 8608 ebp = esp; /* 0x2B078251: mov ebp, esp */ 8609 ecx = MEM32(ebp + 0x8); /* 0x2B078253: mov ecx, dword ptr [ebp + 8] */ 8610 edx = MEM32(ecx + 0x8); /* 0x2B078256: mov edx, dword ptr [ecx + 8] */ 8611 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8612 eax = 0; /* 0x2B078259: xor eax, eax */ 8613 _cf = 0; 8614 _flag_k = FK_TEST; 8615 /* test edx, edx */ /* 0x2B07825B: test edx, edx */ 8616 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8617 _cf = 0; 8618 _flag_k = FK_TEST; 8619 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B07825D: sete al */ 8620 PUSH32(esp, eax); /* 0x2B078260: push eax */ 8621 RECOMP_ICALL(0x2B077420u); /* 0x2B078261: call 0x2b077420 */ /* not lifted */ 8622 RECOMP_FLAGS_IN(); 8623 ebp = POP32_VAL(esp); /* 0x2B078266: pop ebp */ 8624 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078267: ret */ 8625 RECOMP_REGS_OUT(); 8626 } 8627 8628 void sub_2B078270(void) { 8629 int _fpu_cmp = 0; 8630 uint32_t _cf = 0; 8631 int _df = 1; 8632 uint32_t _flag_k = FK_NONE; 8633 uint32_t _flag_a = 0, _flag_b = 0; 8634 uint32_t _itail_tgt = 0; 8635 RECOMP_REGS_LOCALS 8636 RECOMP_ENTER(0x2B078270u); 8637 8638 L_2B078270: 8639 PUSH32(esp, ebp); /* 0x2B078270: push ebp */ 8640 ebp = esp; /* 0x2B078271: mov ebp, esp */ 8641 ecx = MEM32(0x2B0EF02C); /* 0x2B078273: mov ecx, dword ptr [0x2b0ef02c] */ 8642 /* test ecx, ecx */ /* 0x2B078279: test ecx, ecx */ 8643 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8644 _cf = 0; 8645 _flag_k = FK_TEST; 8646 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078286; /* 0x2B07827B: je 0x2b078286 */ 8647 L_2B07827D: 8648 eax = MEM32(ebp + 0x8); /* 0x2B07827D: mov eax, dword ptr [ebp + 8] */ 8649 PUSH32(esp, eax); /* 0x2B078280: push eax */ 8650 RECOMP_ICALL(0x2B078000u); /* 0x2B078281: call 0x2b078000 */ /* not lifted */ 8651 RECOMP_FLAGS_IN(); 8652 L_2B078286: 8653 ebp = POP32_VAL(esp); /* 0x2B078286: pop ebp */ 8654 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078287: ret */ 8655 RECOMP_REGS_OUT(); 8656 } 8657 8658 void sub_2B078290(void) { 8659 int _fpu_cmp = 0; 8660 uint32_t _cf = 0; 8661 int _df = 1; 8662 uint32_t _flag_k = FK_NONE; 8663 uint32_t _flag_a = 0, _flag_b = 0; 8664 uint32_t _itail_tgt = 0; 8665 RECOMP_REGS_LOCALS 8666 RECOMP_ENTER(0x2B078290u); 8667 8668 L_2B078290: 8669 PUSH32(esp, ebp); /* 0x2B078290: push ebp */ 8670 ebp = esp; /* 0x2B078291: mov ebp, esp */ 8671 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8673 esp = esp - 8; /* 0x2B078293: sub esp, 8 */ 8674 _flag_k = FK_CMP; 8675 ecx = MEM32(0x2B0EF02C); /* 0x2B078296: mov ecx, dword ptr [0x2b0ef02c] */ 8676 /* test ecx, ecx */ /* 0x2B07829C: test ecx, ecx */ 8677 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8678 _cf = 0; 8679 _flag_k = FK_TEST; 8680 PUSH32(esp, esi); /* 0x2B07829E: push esi */ 8681 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0782EC; /* 0x2B07829F: je 0x2b0782ec */ 8682 L_2B0782A1: 8683 eax = MEM32(ebp + 0xC); /* 0x2B0782A1: mov eax, dword ptr [ebp + 0xc] */ 8684 /* test eax, eax */ /* 0x2B0782A4: test eax, eax */ 8685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8686 _cf = 0; 8687 _flag_k = FK_TEST; 8688 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0782C2; /* 0x2B0782A6: je 0x2b0782c2 */ 8689 L_2B0782A8: 8690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x98u); 8691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8692 eax = eax + 0x98u; /* 0x2B0782A8: add eax, 0x98 */ 8693 _flag_k = FK_ADD; 8694 edx = ebp + (-0x8); /* 0x2B0782AD: lea edx, [ebp - 8] */ 8695 /* cmp edx, eax */ /* 0x2B0782B0: cmp edx, eax */ 8696 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8698 _flag_k = FK_CMP; 8699 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0782BB; /* 0x2B0782B2: je 0x2b0782bb */ 8700 L_2B0782B4: 8701 eax = MEM32(eax + 0x4); /* 0x2B0782B4: mov eax, dword ptr [eax + 4] */ 8702 esi = eax; /* 0x2B0782B7: mov esi, eax */ 8703 goto L_2B0782C5; /* 0x2B0782B9: jmp 0x2b0782c5 */ 8704 L_2B0782BB: 8705 eax = MEM32(ebp + (-0x4)); /* 0x2B0782BB: mov eax, dword ptr [ebp - 4] */ 8706 esi = eax; /* 0x2B0782BE: mov esi, eax */ 8707 goto L_2B0782C5; /* 0x2B0782C0: jmp 0x2b0782c5 */ 8708 L_2B0782C2: 8709 esi = MEM32(ebp + 0x8); /* 0x2B0782C2: mov esi, dword ptr [ebp + 8] */ 8710 L_2B0782C5: 8711 PUSH32(esp, esi); /* 0x2B0782C5: push esi */ 8712 RECOMP_ICALL(0x2B078300u); /* 0x2B0782C6: call 0x2b078300 */ /* not lifted */ 8713 RECOMP_FLAGS_IN(); 8714 /* test LO8(eax), LO8(eax) */ /* 0x2B0782CB: test al, al */ 8715 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8716 _cf = 0; 8717 _flag_k = FK_NARROW(FK_TEST, 24); 8718 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0782EC; /* 0x2B0782CD: je 0x2b0782ec */ 8719 L_2B0782CF: 8720 eax = MEM32(0x2B0EF02C); /* 0x2B0782CF: mov eax, dword ptr [0x2b0ef02c] */ 8721 ecx = MEM32(eax + 0x8C); /* 0x2B0782D4: mov ecx, dword ptr [eax + 0x8c] */ 8722 PUSH32(esp, esi); /* 0x2B0782DA: push esi */ 8723 RECOMP_ICALL(MEM32(0x2B0B579C)); /* 0x2B0782DB: call dword ptr [0x2b0b579c] */ 8724 RECOMP_FLAGS_IN(); 8725 ecx = MEM32(0x2B0EF02C); /* 0x2B0782E1: mov ecx, dword ptr [0x2b0ef02c] */ 8726 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0782E7: call 0x2b077cd0 */ /* not lifted */ 8727 RECOMP_FLAGS_IN(); 8728 L_2B0782EC: 8729 esi = POP32_VAL(esp); /* 0x2B0782EC: pop esi */ 8730 esp = ebp; /* 0x2B0782ED: mov esp, ebp */ 8731 ebp = POP32_VAL(esp); /* 0x2B0782EF: pop ebp */ 8732 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0782F0: ret */ 8733 RECOMP_REGS_OUT(); 8734 } 8735 8736 void sub_2B078300(void) { 8737 int _fpu_cmp = 0; 8738 uint32_t _cf = 0; 8739 int _df = 1; 8740 uint32_t _flag_k = FK_NONE; 8741 uint32_t _flag_a = 0, _flag_b = 0; 8742 uint32_t _itail_tgt = 0; 8743 RECOMP_REGS_LOCALS 8744 RECOMP_ENTER(0x2B078300u); 8745 8746 L_2B078300: 8747 PUSH32(esp, ebp); /* 0x2B078300: push ebp */ 8748 ebp = esp; /* 0x2B078301: mov ebp, esp */ 8749 eax = MEM32(ebp + 0x8); /* 0x2B078303: mov eax, dword ptr [ebp + 8] */ 8750 /* test eax, eax */ /* 0x2B078306: test eax, eax */ 8751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8752 _cf = 0; 8753 _flag_k = FK_TEST; 8754 if (TEST_S(_flag_a, _flag_b)) goto L_2B078315; /* 0x2B078308: jl 0x2b078315 */ 8755 L_2B07830A: 8756 /* cmp eax, 0x64u */ /* 0x2B07830A: cmp eax, 0x64 */ 8757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 8758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8759 _flag_k = FK_CMP; 8760 if (CMP_GE(_flag_a, _flag_b)) goto L_2B078315; /* 0x2B07830D: jge 0x2b078315 */ 8761 L_2B07830F: 8762 SET_LO8(eax, 1); /* 0x2B07830F: mov al, 1 */ 8763 ebp = POP32_VAL(esp); /* 0x2B078311: pop ebp */ 8764 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078312: ret 4 */ 8765 L_2B078315: 8766 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 8767 SET_LO8(eax, 0); /* 0x2B078315: xor al, al */ 8768 _cf = 0; 8769 _flag_k = FK_NARROW(FK_TEST, 24); 8770 ebp = POP32_VAL(esp); /* 0x2B078317: pop ebp */ 8771 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078318: ret 4 */ 8772 RECOMP_REGS_OUT(); 8773 } 8774 8775 void sub_2B078320(void) { 8776 int _fpu_cmp = 0; 8777 uint32_t _cf = 0; 8778 int _df = 1; 8779 uint32_t _flag_k = FK_NONE; 8780 uint32_t _flag_a = 0, _flag_b = 0; 8781 uint32_t _itail_tgt = 0; 8782 RECOMP_REGS_LOCALS 8783 RECOMP_ENTER(0x2B078320u); 8784 8785 L_2B078320: 8786 PUSH32(esp, ebp); /* 0x2B078320: push ebp */ 8787 ebp = esp; /* 0x2B078321: mov ebp, esp */ 8788 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B078323: push -1 */ 8789 PUSH32(esp, 0x2B0B1576u); /* 0x2B078325: push 0x2b0b1576 */ 8790 eax = MEM32(FS_BASE + (0)); /* 0x2B07832A: mov eax, dword ptr fs:[0] */ 8791 PUSH32(esp, eax); /* 0x2B078330: push eax */ 8792 MEM32(FS_BASE + (0)) = esp; /* 0x2B078331: mov dword ptr fs:[0], esp */ 8793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x60u); 8794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8795 esp = esp - 0x60u; /* 0x2B078338: sub esp, 0x60 */ 8796 _flag_k = FK_CMP; 8797 PUSH32(esp, ebx); /* 0x2B07833B: push ebx */ 8798 ebx = MEM32(ebp + 0xC); /* 0x2B07833C: mov ebx, dword ptr [ebp + 0xc] */ 8799 PUSH32(esp, esi); /* 0x2B07833F: push esi */ 8800 PUSH32(esp, edi); /* 0x2B078340: push edi */ 8801 esi = ecx; /* 0x2B078341: mov esi, ecx */ 8802 PUSH32(esp, ebx); /* 0x2B078343: push ebx */ 8803 MEM32(ebp + (-0x10)) = esi; /* 0x2B078344: mov dword ptr [ebp - 0x10], esi */ 8804 RECOMP_ICALL(0x2B078300u); /* 0x2B078347: call 0x2b078300 */ /* not lifted */ 8805 RECOMP_FLAGS_IN(); 8806 /* test LO8(eax), LO8(eax) */ /* 0x2B07834C: test al, al */ 8807 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8808 _cf = 0; 8809 _flag_k = FK_NARROW(FK_TEST, 24); 8810 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B07834E: je 0x2b0785e4 */ 8811 L_2B078354: 8812 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8813 eax = 0; /* 0x2B078354: xor eax, eax */ 8814 _cf = 0; 8815 _flag_k = FK_TEST; 8816 ecx = 0xAu; /* 0x2B078356: mov ecx, 0xa */ 8817 edi = ebp + (-0x6C); /* 0x2B07835B: lea edi, [ebp - 0x6c] */ 8818 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07835E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 8819 eax = MEM32(esi); /* 0x2B078360: mov eax, dword ptr [esi] */ 8820 edi = MEM32(ebp + 0x8); /* 0x2B078362: mov edi, dword ptr [ebp + 8] */ 8821 edx = MEM32(edi); /* 0x2B078365: mov edx, dword ptr [edi] */ 8822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 8823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8824 eax = eax + 2; /* 0x2B078367: add eax, 2 */ 8825 _flag_k = FK_ADD; 8826 MEM32(ebp + (-0x60)) = eax; /* 0x2B07836A: mov dword ptr [ebp - 0x60], eax */ 8827 eax = MEM32(edi + 0x4); /* 0x2B07836D: mov eax, dword ptr [edi + 4] */ 8828 MEM32(ebp + (-0x68)) = eax; /* 0x2B078370: mov dword ptr [ebp - 0x68], eax */ 8829 eax = edx; /* 0x2B078373: mov eax, edx */ 8830 /* cmp eax, 0xDAC3u */ /* 0x2B078375: cmp eax, 0xdac3 */ 8831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDAC3u); 8832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8833 _flag_k = FK_CMP; 8834 ecx = 0x20u; /* 0x2B07837A: mov ecx, 0x20 */ 8835 MEM32(ebp + (-0x50)) = 0x30u; /* 0x2B07837F: mov dword ptr [ebp - 0x50], 0x30 */ 8836 MEM32(ebp + (-0x48)) = ecx; /* 0x2B078386: mov dword ptr [ebp - 0x48], ecx */ 8837 MEM32(ebp + (-0x6C)) = edx; /* 0x2B078389: mov dword ptr [ebp - 0x6c], edx */ 8838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07839A; /* 0x2B07838C: jne 0x2b07839a */ 8839 L_2B07838E: 8840 MEM32(ebp + (-0x64)) = 3; /* 0x2B07838E: mov dword ptr [ebp - 0x64], 3 */ 8841 goto L_2B07843C; /* 0x2B078395: jmp 0x2b07843c */ 8842 L_2B07839A: 8843 /* cmp eax, 0xCF1Bu */ /* 0x2B07839A: cmp eax, 0xcf1b */ 8844 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCF1Bu); 8845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8846 _flag_k = FK_CMP; 8847 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0783B0; /* 0x2B07839F: jne 0x2b0783b0 */ 8848 L_2B0783A1: 8849 MEM32(ebp + (-0x50)) = ecx; /* 0x2B0783A1: mov dword ptr [ebp - 0x50], ecx */ 8850 MEM32(ebp + (-0x64)) = 2; /* 0x2B0783A4: mov dword ptr [ebp - 0x64], 2 */ 8851 goto L_2B07843C; /* 0x2B0783AB: jmp 0x2b07843c */ 8852 L_2B0783B0: 8853 /* cmp eax, 0xDEB0u */ /* 0x2B0783B0: cmp eax, 0xdeb0 */ 8854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDEB0u); 8855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8856 _flag_k = FK_CMP; 8857 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0783C0; /* 0x2B0783B5: jne 0x2b0783c0 */ 8858 L_2B0783B7: 8859 MEM32(ebp + (-0x64)) = 7; /* 0x2B0783B7: mov dword ptr [ebp - 0x64], 7 */ 8860 goto L_2B07843C; /* 0x2B0783BE: jmp 0x2b07843c */ 8861 L_2B0783C0: 8862 /* cmp eax, 0xC789u */ /* 0x2B0783C0: cmp eax, 0xc789 */ 8863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC789u); 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_2B078435; /* 0x2B0783C5: jne 0x2b078435 */ 8867 L_2B0783C7: 8868 edx = MEM32(0x2B0B57AC); /* 0x2B0783C7: mov edx, dword ptr [0x2b0b57ac] */ 8869 /* cmp MEM32(edx), 0 */ /* 0x2B0783CD: cmp dword ptr [edx], 0 */ 8870 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(0); 8871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8872 _flag_k = FK_CMP; 8873 ecx = MEM32(edi + 0x4); /* 0x2B0783D0: mov ecx, dword ptr [edi + 4] */ 8874 MEM32(ebp + 0xC) = ecx; /* 0x2B0783D3: mov dword ptr [ebp + 0xc], ecx */ 8875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07840B; /* 0x2B0783D6: jne 0x2b07840b */ 8876 L_2B0783D8: 8877 PUSH32(esp, 8); /* 0x2B0783D8: push 8 */ 8878 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0783DA: call 0x2b0ab212 */ /* not lifted */ 8879 RECOMP_FLAGS_IN(); 8880 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8881 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8882 esp = esp + 4; /* 0x2B0783DF: add esp, 4 */ 8883 _flag_k = FK_ADD; 8884 MEM32(ebp + 0x8) = eax; /* 0x2B0783E2: mov dword ptr [ebp + 8], eax */ 8885 /* test eax, eax */ /* 0x2B0783E5: test eax, eax */ 8886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8887 _cf = 0; 8888 _flag_k = FK_TEST; 8889 MEM32(ebp + (-0x4)) = 0; /* 0x2B0783E7: mov dword ptr [ebp - 4], 0 */ 8890 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0783FA; /* 0x2B0783EE: je 0x2b0783fa */ 8891 L_2B0783F0: 8892 ecx = eax; /* 0x2B0783F0: mov ecx, eax */ 8893 RECOMP_ICALL(MEM32(0x2B0B57A8)); /* 0x2B0783F2: call dword ptr [0x2b0b57a8] */ 8894 RECOMP_FLAGS_IN(); 8895 goto L_2B0783FC; /* 0x2B0783F8: jmp 0x2b0783fc */ 8896 L_2B0783FA: 8897 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8898 eax = 0; /* 0x2B0783FA: xor eax, eax */ 8899 _cf = 0; 8900 _flag_k = FK_TEST; 8901 L_2B0783FC: 8902 ecx = MEM32(0x2B0B57AC); /* 0x2B0783FC: mov ecx, dword ptr [0x2b0b57ac] */ 8903 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B078402: mov dword ptr [ebp - 4], 0xffffffff */ 8904 MEM32(ecx) = eax; /* 0x2B078409: mov dword ptr [ecx], eax */ 8905 L_2B07840B: 8906 edx = MEM32(0x2B0B57AC); /* 0x2B07840B: mov edx, dword ptr [0x2b0b57ac] */ 8907 eax = MEM32(ebp + 0xC); /* 0x2B078411: mov eax, dword ptr [ebp + 0xc] */ 8908 ecx = MEM32(edx); /* 0x2B078414: mov ecx, dword ptr [edx] */ 8909 PUSH32(esp, eax); /* 0x2B078416: push eax */ 8910 RECOMP_ICALL(MEM32(0x2B0B57A4)); /* 0x2B078417: call dword ptr [0x2b0b57a4] */ 8911 RECOMP_FLAGS_IN(); 8912 /* test eax, eax */ /* 0x2B07841D: test eax, eax */ 8913 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8914 _cf = 0; 8915 _flag_k = FK_TEST; 8916 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B07841F: je 0x2b0785e4 */ 8917 L_2B078425: 8918 MEM32(ebp + (-0x64)) = 8; /* 0x2B078425: mov dword ptr [ebp - 0x64], 8 */ 8919 MEM32(ebp + (-0x50)) = 0x20u; /* 0x2B07842C: mov dword ptr [ebp - 0x50], 0x20 */ 8920 goto L_2B07843C; /* 0x2B078433: jmp 0x2b07843c */ 8921 L_2B078435: 8922 MEM32(ebp + (-0x64)) = 0; /* 0x2B078435: mov dword ptr [ebp - 0x64], 0 */ 8923 L_2B07843C: 8924 /* cmp MEM32(edi), 0x6Bu */ /* 0x2B07843C: cmp dword ptr [edi], 0x6b */ 8925 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0x6Bu); 8926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8927 _flag_k = FK_CMP; 8928 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078564; /* 0x2B07843F: je 0x2b078564 */ 8929 L_2B078445: 8930 esi = MEM32(esi + 0x84); /* 0x2B078445: mov esi, dword ptr [esi + 0x84] */ 8931 ecx = ebp + (-0x24); /* 0x2B07844B: lea ecx, [ebp - 0x24] */ 8932 PUSH32(esp, ecx); /* 0x2B07844E: push ecx */ 8933 edx = ebp + (-0x2C); /* 0x2B07844F: lea edx, [ebp - 0x2c] */ 8934 PUSH32(esp, edx); /* 0x2B078452: push edx */ 8935 ecx = esi; /* 0x2B078453: mov ecx, esi */ 8936 MEM32(ebp + (-0x24)) = ebx; /* 0x2B078455: mov dword ptr [ebp - 0x24], ebx */ 8937 MEM32(ebp + (-0x20)) = 0; /* 0x2B078458: mov dword ptr [ebp - 0x20], 0 */ 8938 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B07845F: call 0x2b06a0b0 */ /* not lifted */ 8939 RECOMP_FLAGS_IN(); 8940 ecx = MEM32(eax); /* 0x2B078464: mov ecx, dword ptr [eax] */ 8941 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B078466: mov dword ptr [ebp - 0x1c], ecx */ 8942 edx = MEM32(eax + 0x4); /* 0x2B078469: mov edx, dword ptr [eax + 4] */ 8943 eax = ebp + (-0x18); /* 0x2B07846C: lea eax, [ebp - 0x18] */ 8944 PUSH32(esp, eax); /* 0x2B07846F: push eax */ 8945 ecx = ebp + (-0x1C); /* 0x2B078470: lea ecx, [ebp - 0x1c] */ 8946 PUSH32(esp, ecx); /* 0x2B078473: push ecx */ 8947 ecx = ebp + (-0x34); /* 0x2B078474: lea ecx, [ebp - 0x34] */ 8948 MEM32(ebp + (-0x18)) = edx; /* 0x2B078477: mov dword ptr [ebp - 0x18], edx */ 8949 RECOMP_ICALL(0x2B02A020u); /* 0x2B07847A: call 0x2b02a020 */ /* not lifted */ 8950 RECOMP_FLAGS_IN(); 8951 edx = eax; /* 0x2B07847F: mov edx, eax */ 8952 eax = MEM32(edx); /* 0x2B078481: mov eax, dword ptr [edx] */ 8953 ecx = MEM32(edx + 0x4); /* 0x2B078483: mov ecx, dword ptr [edx + 4] */ 8954 MEM32(ebp + (-0x38)) = ecx; /* 0x2B078486: mov dword ptr [ebp - 0x38], ecx */ 8955 ecx = MEM32(eax + 0x10); /* 0x2B078489: mov ecx, dword ptr [eax + 0x10] */ 8956 /* test ecx, ecx */ /* 0x2B07848C: test ecx, ecx */ 8957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8958 _cf = 0; 8959 _flag_k = FK_TEST; 8960 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078496; /* 0x2B07848E: je 0x2b078496 */ 8961 L_2B078490: 8962 edx = MEM32(ecx); /* 0x2B078490: mov edx, dword ptr [ecx] */ 8963 PUSH32(esp, 1); /* 0x2B078492: push 1 */ 8964 RECOMP_ICALL(MEM32(edx)); /* 0x2B078494: call dword ptr [edx] */ 8965 RECOMP_FLAGS_IN(); 8966 L_2B078496: 8967 PUSH32(esp, 0xB0u); /* 0x2B078496: push 0xb0 */ 8968 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07849B: call 0x2b0ab212 */ /* not lifted */ 8969 RECOMP_FLAGS_IN(); 8970 esi = eax; /* 0x2B0784A0: mov esi, eax */ 8971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8973 esp = esp + 4; /* 0x2B0784A2: add esp, 4 */ 8974 _flag_k = FK_ADD; 8975 MEM32(ebp + 0xC) = esi; /* 0x2B0784A5: mov dword ptr [ebp + 0xc], esi */ 8976 /* test esi, esi */ /* 0x2B0784A8: test esi, esi */ 8977 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8978 _cf = 0; 8979 _flag_k = FK_TEST; 8980 MEM32(ebp + (-0x4)) = 1; /* 0x2B0784AA: mov dword ptr [ebp - 4], 1 */ 8981 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0784CF; /* 0x2B0784B1: je 0x2b0784cf */ 8982 L_2B0784B3: 8983 PUSH32(esp, 0); /* 0x2B0784B3: push 0 */ 8984 PUSH32(esp, 0); /* 0x2B0784B5: push 0 */ 8985 PUSH32(esp, 1); /* 0x2B0784B7: push 1 */ 8986 PUSH32(esp, 0); /* 0x2B0784B9: push 0 */ 8987 eax = ebp + (-0x6C); /* 0x2B0784BB: lea eax, [ebp - 0x6c] */ 8988 PUSH32(esp, eax); /* 0x2B0784BE: push eax */ 8989 ecx = esi; /* 0x2B0784BF: mov ecx, esi */ 8990 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B0784C1: call dword ptr [0x2b0b589c] */ 8991 RECOMP_FLAGS_IN(); 8992 MEM32(esi) = 0x2B0B6958u; /* 0x2B0784C7: mov dword ptr [esi], 0x2b0b6958 */ 8993 goto L_2B0784D1; /* 0x2B0784CD: jmp 0x2b0784d1 */ 8994 L_2B0784CF: 8995 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8996 esi = 0; /* 0x2B0784CF: xor esi, esi */ 8997 _cf = 0; 8998 _flag_k = FK_TEST; 8999 L_2B0784D1: 9000 edi = MEM32(ebp + (-0x10)); /* 0x2B0784D1: mov edi, dword ptr [ebp - 0x10] */ 9001 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9002 eax = 0; /* 0x2B0784D4: xor eax, eax */ 9003 _cf = 0; 9004 _flag_k = FK_TEST; 9005 MEM32(esi + 0x98) = eax; /* 0x2B0784D6: mov dword ptr [esi + 0x98], eax */ 9006 edx = ebp + (-0x24); /* 0x2B0784DC: lea edx, [ebp - 0x24] */ 9007 MEM32(ebp + (-0x20)) = eax; /* 0x2B0784DF: mov dword ptr [ebp - 0x20], eax */ 9008 PUSH32(esp, edx); /* 0x2B0784E2: push edx */ 9009 eax = ebp + (-0x3C); /* 0x2B0784E3: lea eax, [ebp - 0x3c] */ 9010 MEM32(esi + 0x1C) = 0x2B078270u; /* 0x2B0784E6: mov dword ptr [esi + 0x1c], 0x2b078270 */ 9011 MEM32(esi + 0x20) = ebx; /* 0x2B0784ED: mov dword ptr [esi + 0x20], ebx */ 9012 MEM32(esi + 0xA8) = 0x2B078290u; /* 0x2B0784F0: mov dword ptr [esi + 0xa8], 0x2b078290 */ 9013 MEM32(esi + 0xAC) = ebx; /* 0x2B0784FA: mov dword ptr [esi + 0xac], ebx */ 9014 MEM32(esi + 0x9C) = ebx; /* 0x2B078500: mov dword ptr [esi + 0x9c], ebx */ 9015 MEM32(esi + 0x88) = 0x18u; /* 0x2B078506: mov dword ptr [esi + 0x88], 0x18 */ 9016 ecx = MEM32(edi + 0x84); /* 0x2B078510: mov ecx, dword ptr [edi + 0x84] */ 9017 PUSH32(esp, eax); /* 0x2B078516: push eax */ 9018 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B078517: mov dword ptr [ebp - 4], 0xffffffff */ 9019 MEM32(ebp + 0xC) = esi; /* 0x2B07851E: mov dword ptr [ebp + 0xc], esi */ 9020 MEM32(ebp + (-0x24)) = ebx; /* 0x2B078521: mov dword ptr [ebp - 0x24], ebx */ 9021 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078524: call 0x2b06a0b0 */ /* not lifted */ 9022 RECOMP_FLAGS_IN(); 9023 ecx = eax; /* 0x2B078529: mov ecx, eax */ 9024 eax = MEM32(ecx); /* 0x2B07852B: mov eax, dword ptr [ecx] */ 9025 edx = MEM32(ecx + 0x4); /* 0x2B07852D: mov edx, dword ptr [ecx + 4] */ 9026 MEM32(eax + 0x10) = esi; /* 0x2B078530: mov dword ptr [eax + 0x10], esi */ 9027 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x54u); 9028 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9029 esi = esi + 0x54u; /* 0x2B078533: add esi, 0x54 */ 9030 _flag_k = FK_ADD; 9031 eax = ebp + (-0x1C); /* 0x2B078536: lea eax, [ebp - 0x1c] */ 9032 /* cmp eax, esi */ /* 0x2B078539: cmp eax, esi */ 9033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9035 _flag_k = FK_CMP; 9036 MEM32(ebp + (-0x30)) = edx; /* 0x2B07853B: mov dword ptr [ebp - 0x30], edx */ 9037 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07854B; /* 0x2B07853E: je 0x2b07854b */ 9038 L_2B078540: 9039 ecx = MEM32(esi); /* 0x2B078540: mov ecx, dword ptr [esi] */ 9040 edx = MEM32(esi + 0x4); /* 0x2B078542: mov edx, dword ptr [esi + 4] */ 9041 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B078545: mov dword ptr [ebp - 0x1c], ecx */ 9042 MEM32(ebp + (-0x18)) = edx; /* 0x2B078548: mov dword ptr [ebp - 0x18], edx */ 9043 L_2B07854B: 9044 ecx = MEM32(edi + 0x8C); /* 0x2B07854B: mov ecx, dword ptr [edi + 0x8c] */ 9045 eax = ebp + (-0x1C); /* 0x2B078551: lea eax, [ebp - 0x1c] */ 9046 PUSH32(esp, eax); /* 0x2B078554: push eax */ 9047 PUSH32(esp, ebx); /* 0x2B078555: push ebx */ 9048 RECOMP_ICALL(MEM32(0x2B0B57A0)); /* 0x2B078556: call dword ptr [0x2b0b57a0] */ 9049 RECOMP_FLAGS_IN(); 9050 esi = MEM32(ebp + (-0x10)); /* 0x2B07855C: mov esi, dword ptr [ebp - 0x10] */ 9051 edi = MEM32(ebp + 0xC); /* 0x2B07855F: mov edi, dword ptr [ebp + 0xc] */ 9052 goto L_2B0785A3; /* 0x2B078562: jmp 0x2b0785a3 */ 9053 L_2B078564: 9054 PUSH32(esp, ebx); /* 0x2B078564: push ebx */ 9055 ecx = esi; /* 0x2B078565: mov ecx, esi */ 9056 RECOMP_ICALL(0x2B0780A0u); /* 0x2B078567: call 0x2b0780a0 */ /* not lifted */ 9057 RECOMP_FLAGS_IN(); 9058 ecx = MEM32(esi + 0x8C); /* 0x2B07856C: mov ecx, dword ptr [esi + 0x8c] */ 9059 PUSH32(esp, ebx); /* 0x2B078572: push ebx */ 9060 RECOMP_ICALL(MEM32(0x2B0B579C)); /* 0x2B078573: call dword ptr [0x2b0b579c] */ 9061 RECOMP_FLAGS_IN(); 9062 ecx = MEM32(esi + 0x84); /* 0x2B078579: mov ecx, dword ptr [esi + 0x84] */ 9063 edx = ebp + (-0x14); /* 0x2B07857F: lea edx, [ebp - 0x14] */ 9064 PUSH32(esp, edx); /* 0x2B078582: push edx */ 9065 eax = ebp + (-0x44); /* 0x2B078583: lea eax, [ebp - 0x44] */ 9066 PUSH32(esp, eax); /* 0x2B078586: push eax */ 9067 MEM32(ebp + (-0x14)) = ebx; /* 0x2B078587: mov dword ptr [ebp - 0x14], ebx */ 9068 MEM32(ebp + (-0x10)) = 0; /* 0x2B07858A: mov dword ptr [ebp - 0x10], 0 */ 9069 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078591: call 0x2b06a0b0 */ /* not lifted */ 9070 RECOMP_FLAGS_IN(); 9071 ecx = eax; /* 0x2B078596: mov ecx, eax */ 9072 eax = MEM32(ecx); /* 0x2B078598: mov eax, dword ptr [ecx] */ 9073 edx = MEM32(ecx + 0x4); /* 0x2B07859A: mov edx, dword ptr [ecx + 4] */ 9074 edi = MEM32(eax + 0x10); /* 0x2B07859D: mov edi, dword ptr [eax + 0x10] */ 9075 MEM32(ebp + (-0x38)) = edx; /* 0x2B0785A0: mov dword ptr [ebp - 0x38], edx */ 9076 L_2B0785A3: 9077 eax = esi + 0xC; /* 0x2B0785A3: lea eax, [esi + 0xc] */ 9078 PUSH32(esp, eax); /* 0x2B0785A6: push eax */ 9079 ecx = esi; /* 0x2B0785A7: mov ecx, esi */ 9080 RECOMP_ICALL(0x2B077CE0u); /* 0x2B0785A9: call 0x2b077ce0 */ /* not lifted */ 9081 RECOMP_FLAGS_IN(); 9082 SET_LO8(eax, MEM8(esi + 0x4)); /* 0x2B0785AE: mov al, byte ptr [esi + 4] */ 9083 /* test LO8(eax), LO8(eax) */ /* 0x2B0785B1: test al, al */ 9084 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9085 _cf = 0; 9086 _flag_k = FK_NARROW(FK_TEST, 24); 9087 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785B3: jne 0x2b0785ce */ 9088 L_2B0785B5: 9089 eax = MEM32(esi + 0x88); /* 0x2B0785B5: mov eax, dword ptr [esi + 0x88] */ 9090 ecx = eax + eax * 4; /* 0x2B0785BB: lea ecx, [eax + eax*4] */ 9091 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B0785BE: shl ecx, 1 */ 9092 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9093 ecx = ecx << 1u; /* 0x2B0785BE: shl ecx, 1 */ 9094 /* cmp ebx, ecx */ /* 0x2B0785C0: cmp ebx, ecx */ 9095 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9097 _flag_k = FK_CMP; 9098 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785C2: jl 0x2b0785ce */ 9099 L_2B0785C4: 9100 edx = eax + eax * 4 + 0x5; /* 0x2B0785C4: lea edx, [eax + eax*4 + 5] */ 9101 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B0785C8: shl edx, 1 */ 9102 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9103 edx = edx << 1u; /* 0x2B0785C8: shl edx, 1 */ 9104 /* cmp ebx, edx */ /* 0x2B0785CA: cmp ebx, edx */ 9105 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 9106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9107 _flag_k = FK_CMP; 9108 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785D6; /* 0x2B0785CC: jl 0x2b0785d6 */ 9109 L_2B0785CE: 9110 ecx = edi; /* 0x2B0785CE: mov ecx, edi */ 9111 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B0785D0: call dword ptr [0x2b0b58b8] */ 9112 RECOMP_FLAGS_IN(); 9113 L_2B0785D6: 9114 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B0785D6: mov al, byte ptr [ebp + 0x10] */ 9115 /* test LO8(eax), LO8(eax) */ /* 0x2B0785D9: test al, al */ 9116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9117 _cf = 0; 9118 _flag_k = FK_NARROW(FK_TEST, 24); 9119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B0785DB: je 0x2b0785e4 */ 9120 L_2B0785DD: 9121 ecx = esi; /* 0x2B0785DD: mov ecx, esi */ 9122 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0785DF: call 0x2b077cd0 */ /* not lifted */ 9123 RECOMP_FLAGS_IN(); 9124 L_2B0785E4: 9125 ecx = MEM32(ebp + (-0xC)); /* 0x2B0785E4: mov ecx, dword ptr [ebp - 0xc] */ 9126 edi = POP32_VAL(esp); /* 0x2B0785E7: pop edi */ 9127 esi = POP32_VAL(esp); /* 0x2B0785E8: pop esi */ 9128 ebx = POP32_VAL(esp); /* 0x2B0785E9: pop ebx */ 9129 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0785EA: mov dword ptr fs:[0], ecx */ 9130 esp = ebp; /* 0x2B0785F1: mov esp, ebp */ 9131 ebp = POP32_VAL(esp); /* 0x2B0785F3: pop ebp */ 9132 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0785F4: ret 0xc */ 9133 RECOMP_REGS_OUT(); 9134 } 9135 9136 void sub_2B07843C(void) { 9137 int _fpu_cmp = 0; 9138 uint32_t _cf = 0; 9139 int _df = 1; 9140 uint32_t _flag_k = FK_NONE; 9141 uint32_t _flag_a = 0, _flag_b = 0; 9142 uint32_t _itail_tgt = 0; 9143 RECOMP_REGS_LOCALS 9144 RECOMP_ENTER(0x2B07843Cu); 9145 9146 L_2B07843C: 9147 /* cmp MEM32(edi), 0x6Bu */ /* 0x2B07843C: cmp dword ptr [edi], 0x6b */ 9148 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0x6Bu); 9149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9150 _flag_k = FK_CMP; 9151 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078564; /* 0x2B07843F: je 0x2b078564 */ 9152 L_2B078445: 9153 esi = MEM32(esi + 0x84); /* 0x2B078445: mov esi, dword ptr [esi + 0x84] */ 9154 ecx = ebp + (-0x24); /* 0x2B07844B: lea ecx, [ebp - 0x24] */ 9155 PUSH32(esp, ecx); /* 0x2B07844E: push ecx */ 9156 edx = ebp + (-0x2C); /* 0x2B07844F: lea edx, [ebp - 0x2c] */ 9157 PUSH32(esp, edx); /* 0x2B078452: push edx */ 9158 ecx = esi; /* 0x2B078453: mov ecx, esi */ 9159 MEM32(ebp + (-0x24)) = ebx; /* 0x2B078455: mov dword ptr [ebp - 0x24], ebx */ 9160 MEM32(ebp + (-0x20)) = 0; /* 0x2B078458: mov dword ptr [ebp - 0x20], 0 */ 9161 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B07845F: call 0x2b06a0b0 */ /* not lifted */ 9162 RECOMP_FLAGS_IN(); 9163 ecx = MEM32(eax); /* 0x2B078464: mov ecx, dword ptr [eax] */ 9164 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B078466: mov dword ptr [ebp - 0x1c], ecx */ 9165 edx = MEM32(eax + 0x4); /* 0x2B078469: mov edx, dword ptr [eax + 4] */ 9166 eax = ebp + (-0x18); /* 0x2B07846C: lea eax, [ebp - 0x18] */ 9167 PUSH32(esp, eax); /* 0x2B07846F: push eax */ 9168 ecx = ebp + (-0x1C); /* 0x2B078470: lea ecx, [ebp - 0x1c] */ 9169 PUSH32(esp, ecx); /* 0x2B078473: push ecx */ 9170 ecx = ebp + (-0x34); /* 0x2B078474: lea ecx, [ebp - 0x34] */ 9171 MEM32(ebp + (-0x18)) = edx; /* 0x2B078477: mov dword ptr [ebp - 0x18], edx */ 9172 RECOMP_ICALL(0x2B02A020u); /* 0x2B07847A: call 0x2b02a020 */ /* not lifted */ 9173 RECOMP_FLAGS_IN(); 9174 edx = eax; /* 0x2B07847F: mov edx, eax */ 9175 eax = MEM32(edx); /* 0x2B078481: mov eax, dword ptr [edx] */ 9176 ecx = MEM32(edx + 0x4); /* 0x2B078483: mov ecx, dword ptr [edx + 4] */ 9177 MEM32(ebp + (-0x38)) = ecx; /* 0x2B078486: mov dword ptr [ebp - 0x38], ecx */ 9178 ecx = MEM32(eax + 0x10); /* 0x2B078489: mov ecx, dword ptr [eax + 0x10] */ 9179 /* test ecx, ecx */ /* 0x2B07848C: test ecx, ecx */ 9180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9181 _cf = 0; 9182 _flag_k = FK_TEST; 9183 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078496; /* 0x2B07848E: je 0x2b078496 */ 9184 L_2B078490: 9185 edx = MEM32(ecx); /* 0x2B078490: mov edx, dword ptr [ecx] */ 9186 PUSH32(esp, 1); /* 0x2B078492: push 1 */ 9187 RECOMP_ICALL(MEM32(edx)); /* 0x2B078494: call dword ptr [edx] */ 9188 RECOMP_FLAGS_IN(); 9189 L_2B078496: 9190 PUSH32(esp, 0xB0u); /* 0x2B078496: push 0xb0 */ 9191 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07849B: call 0x2b0ab212 */ /* not lifted */ 9192 RECOMP_FLAGS_IN(); 9193 esi = eax; /* 0x2B0784A0: mov esi, eax */ 9194 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9196 esp = esp + 4; /* 0x2B0784A2: add esp, 4 */ 9197 _flag_k = FK_ADD; 9198 MEM32(ebp + 0xC) = esi; /* 0x2B0784A5: mov dword ptr [ebp + 0xc], esi */ 9199 /* test esi, esi */ /* 0x2B0784A8: test esi, esi */ 9200 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9201 _cf = 0; 9202 _flag_k = FK_TEST; 9203 MEM32(ebp + (-0x4)) = 1; /* 0x2B0784AA: mov dword ptr [ebp - 4], 1 */ 9204 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0784CF; /* 0x2B0784B1: je 0x2b0784cf */ 9205 L_2B0784B3: 9206 PUSH32(esp, 0); /* 0x2B0784B3: push 0 */ 9207 PUSH32(esp, 0); /* 0x2B0784B5: push 0 */ 9208 PUSH32(esp, 1); /* 0x2B0784B7: push 1 */ 9209 PUSH32(esp, 0); /* 0x2B0784B9: push 0 */ 9210 eax = ebp + (-0x6C); /* 0x2B0784BB: lea eax, [ebp - 0x6c] */ 9211 PUSH32(esp, eax); /* 0x2B0784BE: push eax */ 9212 ecx = esi; /* 0x2B0784BF: mov ecx, esi */ 9213 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B0784C1: call dword ptr [0x2b0b589c] */ 9214 RECOMP_FLAGS_IN(); 9215 MEM32(esi) = 0x2B0B6958u; /* 0x2B0784C7: mov dword ptr [esi], 0x2b0b6958 */ 9216 goto L_2B0784D1; /* 0x2B0784CD: jmp 0x2b0784d1 */ 9217 L_2B0784CF: 9218 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9219 esi = 0; /* 0x2B0784CF: xor esi, esi */ 9220 _cf = 0; 9221 _flag_k = FK_TEST; 9222 L_2B0784D1: 9223 edi = MEM32(ebp + (-0x10)); /* 0x2B0784D1: mov edi, dword ptr [ebp - 0x10] */ 9224 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9225 eax = 0; /* 0x2B0784D4: xor eax, eax */ 9226 _cf = 0; 9227 _flag_k = FK_TEST; 9228 MEM32(esi + 0x98) = eax; /* 0x2B0784D6: mov dword ptr [esi + 0x98], eax */ 9229 edx = ebp + (-0x24); /* 0x2B0784DC: lea edx, [ebp - 0x24] */ 9230 MEM32(ebp + (-0x20)) = eax; /* 0x2B0784DF: mov dword ptr [ebp - 0x20], eax */ 9231 PUSH32(esp, edx); /* 0x2B0784E2: push edx */ 9232 eax = ebp + (-0x3C); /* 0x2B0784E3: lea eax, [ebp - 0x3c] */ 9233 MEM32(esi + 0x1C) = 0x2B078270u; /* 0x2B0784E6: mov dword ptr [esi + 0x1c], 0x2b078270 */ 9234 MEM32(esi + 0x20) = ebx; /* 0x2B0784ED: mov dword ptr [esi + 0x20], ebx */ 9235 MEM32(esi + 0xA8) = 0x2B078290u; /* 0x2B0784F0: mov dword ptr [esi + 0xa8], 0x2b078290 */ 9236 MEM32(esi + 0xAC) = ebx; /* 0x2B0784FA: mov dword ptr [esi + 0xac], ebx */ 9237 MEM32(esi + 0x9C) = ebx; /* 0x2B078500: mov dword ptr [esi + 0x9c], ebx */ 9238 MEM32(esi + 0x88) = 0x18u; /* 0x2B078506: mov dword ptr [esi + 0x88], 0x18 */ 9239 ecx = MEM32(edi + 0x84); /* 0x2B078510: mov ecx, dword ptr [edi + 0x84] */ 9240 PUSH32(esp, eax); /* 0x2B078516: push eax */ 9241 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B078517: mov dword ptr [ebp - 4], 0xffffffff */ 9242 MEM32(ebp + 0xC) = esi; /* 0x2B07851E: mov dword ptr [ebp + 0xc], esi */ 9243 MEM32(ebp + (-0x24)) = ebx; /* 0x2B078521: mov dword ptr [ebp - 0x24], ebx */ 9244 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078524: call 0x2b06a0b0 */ /* not lifted */ 9245 RECOMP_FLAGS_IN(); 9246 ecx = eax; /* 0x2B078529: mov ecx, eax */ 9247 eax = MEM32(ecx); /* 0x2B07852B: mov eax, dword ptr [ecx] */ 9248 edx = MEM32(ecx + 0x4); /* 0x2B07852D: mov edx, dword ptr [ecx + 4] */ 9249 MEM32(eax + 0x10) = esi; /* 0x2B078530: mov dword ptr [eax + 0x10], esi */ 9250 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x54u); 9251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9252 esi = esi + 0x54u; /* 0x2B078533: add esi, 0x54 */ 9253 _flag_k = FK_ADD; 9254 eax = ebp + (-0x1C); /* 0x2B078536: lea eax, [ebp - 0x1c] */ 9255 /* cmp eax, esi */ /* 0x2B078539: cmp eax, esi */ 9256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9258 _flag_k = FK_CMP; 9259 MEM32(ebp + (-0x30)) = edx; /* 0x2B07853B: mov dword ptr [ebp - 0x30], edx */ 9260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07854B; /* 0x2B07853E: je 0x2b07854b */ 9261 L_2B078540: 9262 ecx = MEM32(esi); /* 0x2B078540: mov ecx, dword ptr [esi] */ 9263 edx = MEM32(esi + 0x4); /* 0x2B078542: mov edx, dword ptr [esi + 4] */ 9264 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B078545: mov dword ptr [ebp - 0x1c], ecx */ 9265 MEM32(ebp + (-0x18)) = edx; /* 0x2B078548: mov dword ptr [ebp - 0x18], edx */ 9266 L_2B07854B: 9267 ecx = MEM32(edi + 0x8C); /* 0x2B07854B: mov ecx, dword ptr [edi + 0x8c] */ 9268 eax = ebp + (-0x1C); /* 0x2B078551: lea eax, [ebp - 0x1c] */ 9269 PUSH32(esp, eax); /* 0x2B078554: push eax */ 9270 PUSH32(esp, ebx); /* 0x2B078555: push ebx */ 9271 RECOMP_ICALL(MEM32(0x2B0B57A0)); /* 0x2B078556: call dword ptr [0x2b0b57a0] */ 9272 RECOMP_FLAGS_IN(); 9273 esi = MEM32(ebp + (-0x10)); /* 0x2B07855C: mov esi, dword ptr [ebp - 0x10] */ 9274 edi = MEM32(ebp + 0xC); /* 0x2B07855F: mov edi, dword ptr [ebp + 0xc] */ 9275 goto L_2B0785A3; /* 0x2B078562: jmp 0x2b0785a3 */ 9276 L_2B078564: 9277 PUSH32(esp, ebx); /* 0x2B078564: push ebx */ 9278 ecx = esi; /* 0x2B078565: mov ecx, esi */ 9279 RECOMP_ICALL(0x2B0780A0u); /* 0x2B078567: call 0x2b0780a0 */ /* not lifted */ 9280 RECOMP_FLAGS_IN(); 9281 ecx = MEM32(esi + 0x8C); /* 0x2B07856C: mov ecx, dword ptr [esi + 0x8c] */ 9282 PUSH32(esp, ebx); /* 0x2B078572: push ebx */ 9283 RECOMP_ICALL(MEM32(0x2B0B579C)); /* 0x2B078573: call dword ptr [0x2b0b579c] */ 9284 RECOMP_FLAGS_IN(); 9285 ecx = MEM32(esi + 0x84); /* 0x2B078579: mov ecx, dword ptr [esi + 0x84] */ 9286 edx = ebp + (-0x14); /* 0x2B07857F: lea edx, [ebp - 0x14] */ 9287 PUSH32(esp, edx); /* 0x2B078582: push edx */ 9288 eax = ebp + (-0x44); /* 0x2B078583: lea eax, [ebp - 0x44] */ 9289 PUSH32(esp, eax); /* 0x2B078586: push eax */ 9290 MEM32(ebp + (-0x14)) = ebx; /* 0x2B078587: mov dword ptr [ebp - 0x14], ebx */ 9291 MEM32(ebp + (-0x10)) = 0; /* 0x2B07858A: mov dword ptr [ebp - 0x10], 0 */ 9292 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078591: call 0x2b06a0b0 */ /* not lifted */ 9293 RECOMP_FLAGS_IN(); 9294 ecx = eax; /* 0x2B078596: mov ecx, eax */ 9295 eax = MEM32(ecx); /* 0x2B078598: mov eax, dword ptr [ecx] */ 9296 edx = MEM32(ecx + 0x4); /* 0x2B07859A: mov edx, dword ptr [ecx + 4] */ 9297 edi = MEM32(eax + 0x10); /* 0x2B07859D: mov edi, dword ptr [eax + 0x10] */ 9298 MEM32(ebp + (-0x38)) = edx; /* 0x2B0785A0: mov dword ptr [ebp - 0x38], edx */ 9299 L_2B0785A3: 9300 eax = esi + 0xC; /* 0x2B0785A3: lea eax, [esi + 0xc] */ 9301 PUSH32(esp, eax); /* 0x2B0785A6: push eax */ 9302 ecx = esi; /* 0x2B0785A7: mov ecx, esi */ 9303 RECOMP_ICALL(0x2B077CE0u); /* 0x2B0785A9: call 0x2b077ce0 */ /* not lifted */ 9304 RECOMP_FLAGS_IN(); 9305 SET_LO8(eax, MEM8(esi + 0x4)); /* 0x2B0785AE: mov al, byte ptr [esi + 4] */ 9306 /* test LO8(eax), LO8(eax) */ /* 0x2B0785B1: test al, al */ 9307 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9308 _cf = 0; 9309 _flag_k = FK_NARROW(FK_TEST, 24); 9310 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785B3: jne 0x2b0785ce */ 9311 L_2B0785B5: 9312 eax = MEM32(esi + 0x88); /* 0x2B0785B5: mov eax, dword ptr [esi + 0x88] */ 9313 ecx = eax + eax * 4; /* 0x2B0785BB: lea ecx, [eax + eax*4] */ 9314 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B0785BE: shl ecx, 1 */ 9315 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9316 ecx = ecx << 1u; /* 0x2B0785BE: shl ecx, 1 */ 9317 /* cmp ebx, ecx */ /* 0x2B0785C0: cmp ebx, ecx */ 9318 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9320 _flag_k = FK_CMP; 9321 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785C2: jl 0x2b0785ce */ 9322 L_2B0785C4: 9323 edx = eax + eax * 4 + 0x5; /* 0x2B0785C4: lea edx, [eax + eax*4 + 5] */ 9324 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B0785C8: shl edx, 1 */ 9325 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9326 edx = edx << 1u; /* 0x2B0785C8: shl edx, 1 */ 9327 /* cmp ebx, edx */ /* 0x2B0785CA: cmp ebx, edx */ 9328 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 9329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9330 _flag_k = FK_CMP; 9331 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785D6; /* 0x2B0785CC: jl 0x2b0785d6 */ 9332 L_2B0785CE: 9333 ecx = edi; /* 0x2B0785CE: mov ecx, edi */ 9334 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B0785D0: call dword ptr [0x2b0b58b8] */ 9335 RECOMP_FLAGS_IN(); 9336 L_2B0785D6: 9337 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B0785D6: mov al, byte ptr [ebp + 0x10] */ 9338 /* test LO8(eax), LO8(eax) */ /* 0x2B0785D9: test al, al */ 9339 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9340 _cf = 0; 9341 _flag_k = FK_NARROW(FK_TEST, 24); 9342 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B0785DB: je 0x2b0785e4 */ 9343 L_2B0785DD: 9344 ecx = esi; /* 0x2B0785DD: mov ecx, esi */ 9345 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0785DF: call 0x2b077cd0 */ /* not lifted */ 9346 RECOMP_FLAGS_IN(); 9347 L_2B0785E4: 9348 ecx = MEM32(ebp + (-0xC)); /* 0x2B0785E4: mov ecx, dword ptr [ebp - 0xc] */ 9349 edi = POP32_VAL(esp); /* 0x2B0785E7: pop edi */ 9350 esi = POP32_VAL(esp); /* 0x2B0785E8: pop esi */ 9351 ebx = POP32_VAL(esp); /* 0x2B0785E9: pop ebx */ 9352 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0785EA: mov dword ptr fs:[0], ecx */ 9353 esp = ebp; /* 0x2B0785F1: mov esp, ebp */ 9354 ebp = POP32_VAL(esp); /* 0x2B0785F3: pop ebp */ 9355 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0785F4: ret 0xc */ 9356 RECOMP_REGS_OUT(); 9357 } 9358 9359 void sub_2B0784D1(void) { 9360 int _fpu_cmp = 0; 9361 uint32_t _cf = 0; 9362 int _df = 1; 9363 uint32_t _flag_k = FK_NONE; 9364 uint32_t _flag_a = 0, _flag_b = 0; 9365 uint32_t _itail_tgt = 0; 9366 RECOMP_REGS_LOCALS 9367 RECOMP_ENTER(0x2B0784D1u); 9368 9369 L_2B0784D1: 9370 edi = MEM32(ebp + (-0x10)); /* 0x2B0784D1: mov edi, dword ptr [ebp - 0x10] */ 9371 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9372 eax = 0; /* 0x2B0784D4: xor eax, eax */ 9373 _cf = 0; 9374 _flag_k = FK_TEST; 9375 MEM32(esi + 0x98) = eax; /* 0x2B0784D6: mov dword ptr [esi + 0x98], eax */ 9376 edx = ebp + (-0x24); /* 0x2B0784DC: lea edx, [ebp - 0x24] */ 9377 MEM32(ebp + (-0x20)) = eax; /* 0x2B0784DF: mov dword ptr [ebp - 0x20], eax */ 9378 PUSH32(esp, edx); /* 0x2B0784E2: push edx */ 9379 eax = ebp + (-0x3C); /* 0x2B0784E3: lea eax, [ebp - 0x3c] */ 9380 MEM32(esi + 0x1C) = 0x2B078270u; /* 0x2B0784E6: mov dword ptr [esi + 0x1c], 0x2b078270 */ 9381 MEM32(esi + 0x20) = ebx; /* 0x2B0784ED: mov dword ptr [esi + 0x20], ebx */ 9382 MEM32(esi + 0xA8) = 0x2B078290u; /* 0x2B0784F0: mov dword ptr [esi + 0xa8], 0x2b078290 */ 9383 MEM32(esi + 0xAC) = ebx; /* 0x2B0784FA: mov dword ptr [esi + 0xac], ebx */ 9384 MEM32(esi + 0x9C) = ebx; /* 0x2B078500: mov dword ptr [esi + 0x9c], ebx */ 9385 MEM32(esi + 0x88) = 0x18u; /* 0x2B078506: mov dword ptr [esi + 0x88], 0x18 */ 9386 ecx = MEM32(edi + 0x84); /* 0x2B078510: mov ecx, dword ptr [edi + 0x84] */ 9387 PUSH32(esp, eax); /* 0x2B078516: push eax */ 9388 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B078517: mov dword ptr [ebp - 4], 0xffffffff */ 9389 MEM32(ebp + 0xC) = esi; /* 0x2B07851E: mov dword ptr [ebp + 0xc], esi */ 9390 MEM32(ebp + (-0x24)) = ebx; /* 0x2B078521: mov dword ptr [ebp - 0x24], ebx */ 9391 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078524: call 0x2b06a0b0 */ /* not lifted */ 9392 RECOMP_FLAGS_IN(); 9393 ecx = eax; /* 0x2B078529: mov ecx, eax */ 9394 eax = MEM32(ecx); /* 0x2B07852B: mov eax, dword ptr [ecx] */ 9395 edx = MEM32(ecx + 0x4); /* 0x2B07852D: mov edx, dword ptr [ecx + 4] */ 9396 MEM32(eax + 0x10) = esi; /* 0x2B078530: mov dword ptr [eax + 0x10], esi */ 9397 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x54u); 9398 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9399 esi = esi + 0x54u; /* 0x2B078533: add esi, 0x54 */ 9400 _flag_k = FK_ADD; 9401 eax = ebp + (-0x1C); /* 0x2B078536: lea eax, [ebp - 0x1c] */ 9402 /* cmp eax, esi */ /* 0x2B078539: cmp eax, esi */ 9403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9405 _flag_k = FK_CMP; 9406 MEM32(ebp + (-0x30)) = edx; /* 0x2B07853B: mov dword ptr [ebp - 0x30], edx */ 9407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07854B; /* 0x2B07853E: je 0x2b07854b */ 9408 L_2B078540: 9409 ecx = MEM32(esi); /* 0x2B078540: mov ecx, dword ptr [esi] */ 9410 edx = MEM32(esi + 0x4); /* 0x2B078542: mov edx, dword ptr [esi + 4] */ 9411 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B078545: mov dword ptr [ebp - 0x1c], ecx */ 9412 MEM32(ebp + (-0x18)) = edx; /* 0x2B078548: mov dword ptr [ebp - 0x18], edx */ 9413 L_2B07854B: 9414 ecx = MEM32(edi + 0x8C); /* 0x2B07854B: mov ecx, dword ptr [edi + 0x8c] */ 9415 eax = ebp + (-0x1C); /* 0x2B078551: lea eax, [ebp - 0x1c] */ 9416 PUSH32(esp, eax); /* 0x2B078554: push eax */ 9417 PUSH32(esp, ebx); /* 0x2B078555: push ebx */ 9418 RECOMP_ICALL(MEM32(0x2B0B57A0)); /* 0x2B078556: call dword ptr [0x2b0b57a0] */ 9419 RECOMP_FLAGS_IN(); 9420 esi = MEM32(ebp + (-0x10)); /* 0x2B07855C: mov esi, dword ptr [ebp - 0x10] */ 9421 edi = MEM32(ebp + 0xC); /* 0x2B07855F: mov edi, dword ptr [ebp + 0xc] */ 9422 goto L_2B0785A3; /* 0x2B078562: jmp 0x2b0785a3 */ 9423 L_2B0785A3: 9424 eax = esi + 0xC; /* 0x2B0785A3: lea eax, [esi + 0xc] */ 9425 PUSH32(esp, eax); /* 0x2B0785A6: push eax */ 9426 ecx = esi; /* 0x2B0785A7: mov ecx, esi */ 9427 RECOMP_ICALL(0x2B077CE0u); /* 0x2B0785A9: call 0x2b077ce0 */ /* not lifted */ 9428 RECOMP_FLAGS_IN(); 9429 SET_LO8(eax, MEM8(esi + 0x4)); /* 0x2B0785AE: mov al, byte ptr [esi + 4] */ 9430 /* test LO8(eax), LO8(eax) */ /* 0x2B0785B1: test al, al */ 9431 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9432 _cf = 0; 9433 _flag_k = FK_NARROW(FK_TEST, 24); 9434 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785B3: jne 0x2b0785ce */ 9435 L_2B0785B5: 9436 eax = MEM32(esi + 0x88); /* 0x2B0785B5: mov eax, dword ptr [esi + 0x88] */ 9437 ecx = eax + eax * 4; /* 0x2B0785BB: lea ecx, [eax + eax*4] */ 9438 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B0785BE: shl ecx, 1 */ 9439 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9440 ecx = ecx << 1u; /* 0x2B0785BE: shl ecx, 1 */ 9441 /* cmp ebx, ecx */ /* 0x2B0785C0: cmp ebx, ecx */ 9442 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9444 _flag_k = FK_CMP; 9445 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785C2: jl 0x2b0785ce */ 9446 L_2B0785C4: 9447 edx = eax + eax * 4 + 0x5; /* 0x2B0785C4: lea edx, [eax + eax*4 + 5] */ 9448 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B0785C8: shl edx, 1 */ 9449 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9450 edx = edx << 1u; /* 0x2B0785C8: shl edx, 1 */ 9451 /* cmp ebx, edx */ /* 0x2B0785CA: cmp ebx, edx */ 9452 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 9453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9454 _flag_k = FK_CMP; 9455 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785D6; /* 0x2B0785CC: jl 0x2b0785d6 */ 9456 L_2B0785CE: 9457 ecx = edi; /* 0x2B0785CE: mov ecx, edi */ 9458 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B0785D0: call dword ptr [0x2b0b58b8] */ 9459 RECOMP_FLAGS_IN(); 9460 L_2B0785D6: 9461 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B0785D6: mov al, byte ptr [ebp + 0x10] */ 9462 /* test LO8(eax), LO8(eax) */ /* 0x2B0785D9: test al, al */ 9463 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9464 _cf = 0; 9465 _flag_k = FK_NARROW(FK_TEST, 24); 9466 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B0785DB: je 0x2b0785e4 */ 9467 L_2B0785DD: 9468 ecx = esi; /* 0x2B0785DD: mov ecx, esi */ 9469 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0785DF: call 0x2b077cd0 */ /* not lifted */ 9470 RECOMP_FLAGS_IN(); 9471 L_2B0785E4: 9472 ecx = MEM32(ebp + (-0xC)); /* 0x2B0785E4: mov ecx, dword ptr [ebp - 0xc] */ 9473 edi = POP32_VAL(esp); /* 0x2B0785E7: pop edi */ 9474 esi = POP32_VAL(esp); /* 0x2B0785E8: pop esi */ 9475 ebx = POP32_VAL(esp); /* 0x2B0785E9: pop ebx */ 9476 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0785EA: mov dword ptr fs:[0], ecx */ 9477 esp = ebp; /* 0x2B0785F1: mov esp, ebp */ 9478 ebp = POP32_VAL(esp); /* 0x2B0785F3: pop ebp */ 9479 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0785F4: ret 0xc */ 9480 RECOMP_REGS_OUT(); 9481 } 9482 9483 void sub_2B0785A3(void) { 9484 int _fpu_cmp = 0; 9485 uint32_t _cf = 0; 9486 int _df = 1; 9487 uint32_t _flag_k = FK_NONE; 9488 uint32_t _flag_a = 0, _flag_b = 0; 9489 uint32_t _itail_tgt = 0; 9490 RECOMP_REGS_LOCALS 9491 RECOMP_ENTER(0x2B0785A3u); 9492 9493 L_2B0785A3: 9494 eax = esi + 0xC; /* 0x2B0785A3: lea eax, [esi + 0xc] */ 9495 PUSH32(esp, eax); /* 0x2B0785A6: push eax */ 9496 ecx = esi; /* 0x2B0785A7: mov ecx, esi */ 9497 RECOMP_ICALL(0x2B077CE0u); /* 0x2B0785A9: call 0x2b077ce0 */ /* not lifted */ 9498 RECOMP_FLAGS_IN(); 9499 SET_LO8(eax, MEM8(esi + 0x4)); /* 0x2B0785AE: mov al, byte ptr [esi + 4] */ 9500 /* test LO8(eax), LO8(eax) */ /* 0x2B0785B1: test al, al */ 9501 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9502 _cf = 0; 9503 _flag_k = FK_NARROW(FK_TEST, 24); 9504 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785B3: jne 0x2b0785ce */ 9505 L_2B0785B5: 9506 eax = MEM32(esi + 0x88); /* 0x2B0785B5: mov eax, dword ptr [esi + 0x88] */ 9507 ecx = eax + eax * 4; /* 0x2B0785BB: lea ecx, [eax + eax*4] */ 9508 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B0785BE: shl ecx, 1 */ 9509 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9510 ecx = ecx << 1u; /* 0x2B0785BE: shl ecx, 1 */ 9511 /* cmp ebx, ecx */ /* 0x2B0785C0: cmp ebx, ecx */ 9512 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9514 _flag_k = FK_CMP; 9515 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785CE; /* 0x2B0785C2: jl 0x2b0785ce */ 9516 L_2B0785C4: 9517 edx = eax + eax * 4 + 0x5; /* 0x2B0785C4: lea edx, [eax + eax*4 + 5] */ 9518 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B0785C8: shl edx, 1 */ 9519 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9520 edx = edx << 1u; /* 0x2B0785C8: shl edx, 1 */ 9521 /* cmp ebx, edx */ /* 0x2B0785CA: cmp ebx, edx */ 9522 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 9523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9524 _flag_k = FK_CMP; 9525 if (CMP_L(_flag_a, _flag_b)) goto L_2B0785D6; /* 0x2B0785CC: jl 0x2b0785d6 */ 9526 L_2B0785CE: 9527 ecx = edi; /* 0x2B0785CE: mov ecx, edi */ 9528 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B0785D0: call dword ptr [0x2b0b58b8] */ 9529 RECOMP_FLAGS_IN(); 9530 L_2B0785D6: 9531 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B0785D6: mov al, byte ptr [ebp + 0x10] */ 9532 /* test LO8(eax), LO8(eax) */ /* 0x2B0785D9: test al, al */ 9533 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9534 _cf = 0; 9535 _flag_k = FK_NARROW(FK_TEST, 24); 9536 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0785E4; /* 0x2B0785DB: je 0x2b0785e4 */ 9537 L_2B0785DD: 9538 ecx = esi; /* 0x2B0785DD: mov ecx, esi */ 9539 RECOMP_ICALL(0x2B077CD0u); /* 0x2B0785DF: call 0x2b077cd0 */ /* not lifted */ 9540 RECOMP_FLAGS_IN(); 9541 L_2B0785E4: 9542 ecx = MEM32(ebp + (-0xC)); /* 0x2B0785E4: mov ecx, dword ptr [ebp - 0xc] */ 9543 edi = POP32_VAL(esp); /* 0x2B0785E7: pop edi */ 9544 esi = POP32_VAL(esp); /* 0x2B0785E8: pop esi */ 9545 ebx = POP32_VAL(esp); /* 0x2B0785E9: pop ebx */ 9546 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0785EA: mov dword ptr fs:[0], ecx */ 9547 esp = ebp; /* 0x2B0785F1: mov esp, ebp */ 9548 ebp = POP32_VAL(esp); /* 0x2B0785F3: pop ebp */ 9549 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0785F4: ret 0xc */ 9550 RECOMP_REGS_OUT(); 9551 } 9552 9553 void sub_2B078600(void) { 9554 int _fpu_cmp = 0; 9555 uint32_t _cf = 0; 9556 int _df = 1; 9557 uint32_t _flag_k = FK_NONE; 9558 uint32_t _flag_a = 0, _flag_b = 0; 9559 uint32_t _itail_tgt = 0; 9560 RECOMP_REGS_LOCALS 9561 RECOMP_ENTER(0x2B078600u); 9562 9563 L_2B078600: 9564 PUSH32(esp, ebp); /* 0x2B078600: push ebp */ 9565 ebp = esp; /* 0x2B078601: mov ebp, esp */ 9566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 9567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9568 esp = esp - 0x20u; /* 0x2B078603: sub esp, 0x20 */ 9569 _flag_k = FK_CMP; 9570 PUSH32(esp, ebx); /* 0x2B078606: push ebx */ 9571 PUSH32(esp, esi); /* 0x2B078607: push esi */ 9572 PUSH32(esp, edi); /* 0x2B078608: push edi */ 9573 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 9574 SET_LO8(ebx, 0); /* 0x2B078609: xor bl, bl */ 9575 _cf = 0; 9576 _flag_k = FK_NARROW(FK_TEST, 24); 9577 edi = ecx; /* 0x2B07860B: mov edi, ecx */ 9578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9579 esi = 0; /* 0x2B07860D: xor esi, esi */ 9580 _cf = 0; 9581 _flag_k = FK_TEST; 9582 L_2B07860F: 9583 ecx = MEM32(edi + 0x84); /* 0x2B07860F: mov ecx, dword ptr [edi + 0x84] */ 9584 eax = ebp + (-0x10); /* 0x2B078615: lea eax, [ebp - 0x10] */ 9585 PUSH32(esp, eax); /* 0x2B078618: push eax */ 9586 edx = ebp + (-0x18); /* 0x2B078619: lea edx, [ebp - 0x18] */ 9587 PUSH32(esp, edx); /* 0x2B07861C: push edx */ 9588 MEM32(ebp + (-0x10)) = esi; /* 0x2B07861D: mov dword ptr [ebp - 0x10], esi */ 9589 MEM32(ebp + (-0xC)) = 0; /* 0x2B078620: mov dword ptr [ebp - 0xc], 0 */ 9590 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078627: call 0x2b06a0b0 */ /* not lifted */ 9591 RECOMP_FLAGS_IN(); 9592 ecx = eax; /* 0x2B07862C: mov ecx, eax */ 9593 eax = MEM32(ecx); /* 0x2B07862E: mov eax, dword ptr [ecx] */ 9594 edx = MEM32(ecx + 0x4); /* 0x2B078630: mov edx, dword ptr [ecx + 4] */ 9595 ecx = MEM32(eax + 0x10); /* 0x2B078633: mov ecx, dword ptr [eax + 0x10] */ 9596 SET_LO8(eax, MEM8(ecx + 0x70)); /* 0x2B078636: mov al, byte ptr [ecx + 0x70] */ 9597 /* test LO8(eax), LO8(eax) */ /* 0x2B078639: test al, al */ 9598 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9599 _cf = 0; 9600 _flag_k = FK_NARROW(FK_TEST, 24); 9601 MEM32(ebp + (-0x1C)) = edx; /* 0x2B07863B: mov dword ptr [ebp - 0x1c], edx */ 9602 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07867E; /* 0x2B07863E: jne 0x2b07867e */ 9603 L_2B078640: 9604 eax = ecx + 0x54; /* 0x2B078640: lea eax, [ecx + 0x54] */ 9605 edx = ebp + (-0x8); /* 0x2B078643: lea edx, [ebp - 8] */ 9606 /* cmp edx, eax */ /* 0x2B078646: cmp edx, eax */ 9607 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9609 _flag_k = FK_CMP; 9610 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078655; /* 0x2B078648: je 0x2b078655 */ 9611 L_2B07864A: 9612 edx = MEM32(eax); /* 0x2B07864A: mov edx, dword ptr [eax] */ 9613 eax = MEM32(eax + 0x4); /* 0x2B07864C: mov eax, dword ptr [eax + 4] */ 9614 MEM32(ebp + (-0x8)) = edx; /* 0x2B07864F: mov dword ptr [ebp - 8], edx */ 9615 MEM32(ebp + (-0x4)) = eax; /* 0x2B078652: mov dword ptr [ebp - 4], eax */ 9616 L_2B078655: 9617 eax = MEM32(ebp + 0x8); /* 0x2B078655: mov eax, dword ptr [ebp + 8] */ 9618 edx = MEM32(ebp + (-0x4)); /* 0x2B078658: mov edx, dword ptr [ebp - 4] */ 9619 /* cmp MEM32(eax + 0x4), edx */ /* 0x2B07865B: cmp dword ptr [eax + 4], edx */ 9620 _flag_a = (uint32_t)(MEM32(eax + 0x4)); _flag_b = (uint32_t)(edx); 9621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9622 _flag_k = FK_CMP; 9623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07867E; /* 0x2B07865E: jne 0x2b07867e */ 9624 L_2B078660: 9625 edx = MEM32(ebp + (-0x8)); /* 0x2B078660: mov edx, dword ptr [ebp - 8] */ 9626 /* cmp MEM32(eax), edx */ /* 0x2B078663: cmp dword ptr [eax], edx */ 9627 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(edx); 9628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9629 _flag_k = FK_CMP; 9630 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07867E; /* 0x2B078665: jne 0x2b07867e */ 9631 L_2B078667: 9632 PUSH32(esp, 1); /* 0x2B078667: push 1 */ 9633 RECOMP_ICALL(MEM32(0x2B0B5838)); /* 0x2B078669: call dword ptr [0x2b0b5838] */ 9634 RECOMP_FLAGS_IN(); 9635 ecx = MEM32(edi + 0x8C); /* 0x2B07866F: mov ecx, dword ptr [edi + 0x8c] */ 9636 PUSH32(esp, esi); /* 0x2B078675: push esi */ 9637 RECOMP_ICALL(MEM32(0x2B0B579C)); /* 0x2B078676: call dword ptr [0x2b0b579c] */ 9638 RECOMP_FLAGS_IN(); 9639 SET_LO8(ebx, 1); /* 0x2B07867C: mov bl, 1 */ 9640 L_2B07867E: 9641 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 9642 esi = esi + 1; /* 0x2B07867E: inc esi */ 9643 _flag_k = FK_INC; 9644 /* cmp esi, 0x64u */ /* 0x2B07867F: cmp esi, 0x64 */ 9645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 9646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9647 _flag_k = FK_CMP; 9648 RECOMP_BACKEDGE(); 9649 if (CMP_L(_flag_a, _flag_b)) goto L_2B07860F; /* 0x2B078682: jl 0x2b07860f */ 9650 L_2B078684: 9651 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078684: test bl, bl */ 9652 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9653 _cf = 0; 9654 _flag_k = FK_NARROW(FK_TEST, 24); 9655 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078696; /* 0x2B078686: je 0x2b078696 */ 9656 L_2B078688: 9657 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B078688: mov al, byte ptr [ebp + 0xc] */ 9658 /* test LO8(eax), LO8(eax) */ /* 0x2B07868B: test al, al */ 9659 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9660 _cf = 0; 9661 _flag_k = FK_NARROW(FK_TEST, 24); 9662 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078696; /* 0x2B07868D: je 0x2b078696 */ 9663 L_2B07868F: 9664 ecx = edi; /* 0x2B07868F: mov ecx, edi */ 9665 RECOMP_ICALL(0x2B077CD0u); /* 0x2B078691: call 0x2b077cd0 */ /* not lifted */ 9666 RECOMP_FLAGS_IN(); 9667 L_2B078696: 9668 edi = POP32_VAL(esp); /* 0x2B078696: pop edi */ 9669 esi = POP32_VAL(esp); /* 0x2B078697: pop esi */ 9670 ebx = POP32_VAL(esp); /* 0x2B078698: pop ebx */ 9671 esp = ebp; /* 0x2B078699: mov esp, ebp */ 9672 ebp = POP32_VAL(esp); /* 0x2B07869B: pop ebp */ 9673 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07869C: ret 8 */ 9674 RECOMP_REGS_OUT(); 9675 } 9676 9677 void sub_2B0786A0(void) { 9678 int _fpu_cmp = 0; 9679 uint32_t _cf = 0; 9680 int _df = 1; 9681 uint32_t _flag_k = FK_NONE; 9682 uint32_t _flag_a = 0, _flag_b = 0; 9683 uint32_t _itail_tgt = 0; 9684 RECOMP_REGS_LOCALS 9685 RECOMP_ENTER(0x2B0786A0u); 9686 9687 L_2B0786A0: 9688 PUSH32(esp, ebp); /* 0x2B0786A0: push ebp */ 9689 ebp = esp; /* 0x2B0786A1: mov ebp, esp */ 9690 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 9691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9692 esp = esp - 0x20u; /* 0x2B0786A3: sub esp, 0x20 */ 9693 _flag_k = FK_CMP; 9694 PUSH32(esp, ebx); /* 0x2B0786A6: push ebx */ 9695 ebx = MEM32(ebp + (-0x8)); /* 0x2B0786A7: mov ebx, dword ptr [ebp - 8] */ 9696 PUSH32(esp, esi); /* 0x2B0786AA: push esi */ 9697 PUSH32(esp, edi); /* 0x2B0786AB: push edi */ 9698 edi = ecx; /* 0x2B0786AC: mov edi, ecx */ 9699 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9700 esi = 0; /* 0x2B0786AE: xor esi, esi */ 9701 _cf = 0; 9702 _flag_k = FK_TEST; 9703 L_2B0786B0: 9704 ecx = MEM32(edi + 0x84); /* 0x2B0786B0: mov ecx, dword ptr [edi + 0x84] */ 9705 eax = ebp + (-0x10); /* 0x2B0786B6: lea eax, [ebp - 0x10] */ 9706 PUSH32(esp, eax); /* 0x2B0786B9: push eax */ 9707 edx = ebp + (-0x18); /* 0x2B0786BA: lea edx, [ebp - 0x18] */ 9708 PUSH32(esp, edx); /* 0x2B0786BD: push edx */ 9709 MEM32(ebp + (-0x10)) = esi; /* 0x2B0786BE: mov dword ptr [ebp - 0x10], esi */ 9710 MEM32(ebp + (-0xC)) = 0; /* 0x2B0786C1: mov dword ptr [ebp - 0xc], 0 */ 9711 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B0786C8: call 0x2b06a0b0 */ /* not lifted */ 9712 RECOMP_FLAGS_IN(); 9713 ecx = eax; /* 0x2B0786CD: mov ecx, eax */ 9714 eax = MEM32(ecx); /* 0x2B0786CF: mov eax, dword ptr [ecx] */ 9715 edx = MEM32(ecx + 0x4); /* 0x2B0786D1: mov edx, dword ptr [ecx + 4] */ 9716 ecx = MEM32(eax + 0x10); /* 0x2B0786D4: mov ecx, dword ptr [eax + 0x10] */ 9717 /* test ecx, ecx */ /* 0x2B0786D7: test ecx, ecx */ 9718 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9719 _cf = 0; 9720 _flag_k = FK_TEST; 9721 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0786D9: mov dword ptr [ebp - 0x1c], edx */ 9722 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07870C; /* 0x2B0786DC: je 0x2b07870c */ 9723 L_2B0786DE: 9724 SET_LO8(eax, MEM8(ecx + 0x70)); /* 0x2B0786DE: mov al, byte ptr [ecx + 0x70] */ 9725 /* test LO8(eax), LO8(eax) */ /* 0x2B0786E1: test al, al */ 9726 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9727 _cf = 0; 9728 _flag_k = FK_NARROW(FK_TEST, 24); 9729 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07870C; /* 0x2B0786E3: jne 0x2b07870c */ 9730 L_2B0786E5: 9731 eax = ecx + 0x54; /* 0x2B0786E5: lea eax, [ecx + 0x54] */ 9732 edx = ebp + (-0x8); /* 0x2B0786E8: lea edx, [ebp - 8] */ 9733 /* cmp edx, eax */ /* 0x2B0786EB: cmp edx, eax */ 9734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9736 _flag_k = FK_CMP; 9737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0786F7; /* 0x2B0786ED: je 0x2b0786f7 */ 9738 L_2B0786EF: 9739 ebx = MEM32(eax); /* 0x2B0786EF: mov ebx, dword ptr [eax] */ 9740 eax = MEM32(eax + 0x4); /* 0x2B0786F1: mov eax, dword ptr [eax + 4] */ 9741 MEM32(ebp + (-0x4)) = eax; /* 0x2B0786F4: mov dword ptr [ebp - 4], eax */ 9742 L_2B0786F7: 9743 eax = MEM32(ebp + 0x8); /* 0x2B0786F7: mov eax, dword ptr [ebp + 8] */ 9744 edx = MEM32(ebp + (-0x4)); /* 0x2B0786FA: mov edx, dword ptr [ebp - 4] */ 9745 /* cmp edx, MEM32(eax + 0x4) */ /* 0x2B0786FD: cmp edx, dword ptr [eax + 4] */ 9746 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 9747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9748 _flag_k = FK_CMP; 9749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07870C; /* 0x2B078700: jne 0x2b07870c */ 9750 L_2B078702: 9751 /* cmp ebx, MEM32(eax) */ /* 0x2B078702: cmp ebx, dword ptr [eax] */ 9752 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax)); 9753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9754 _flag_k = FK_CMP; 9755 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07870C; /* 0x2B078704: jne 0x2b07870c */ 9756 L_2B078706: 9757 RECOMP_ICALL(MEM32(0x2B0B5894)); /* 0x2B078706: call dword ptr [0x2b0b5894] */ 9758 RECOMP_FLAGS_IN(); 9759 L_2B07870C: 9760 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 9761 esi = esi + 1; /* 0x2B07870C: inc esi */ 9762 _flag_k = FK_INC; 9763 /* cmp esi, 0x64u */ /* 0x2B07870D: cmp esi, 0x64 */ 9764 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 9765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9766 _flag_k = FK_CMP; 9767 RECOMP_BACKEDGE(); 9768 if (CMP_L(_flag_a, _flag_b)) goto L_2B0786B0; /* 0x2B078710: jl 0x2b0786b0 */ 9769 L_2B078712: 9770 edi = POP32_VAL(esp); /* 0x2B078712: pop edi */ 9771 esi = POP32_VAL(esp); /* 0x2B078713: pop esi */ 9772 ebx = POP32_VAL(esp); /* 0x2B078714: pop ebx */ 9773 esp = ebp; /* 0x2B078715: mov esp, ebp */ 9774 ebp = POP32_VAL(esp); /* 0x2B078717: pop ebp */ 9775 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078718: ret 4 */ 9776 RECOMP_REGS_OUT(); 9777 } 9778 9779 void sub_2B078720(void) { 9780 int _fpu_cmp = 0; 9781 uint32_t _cf = 0; 9782 int _df = 1; 9783 uint32_t _flag_k = FK_NONE; 9784 uint32_t _flag_a = 0, _flag_b = 0; 9785 uint32_t _itail_tgt = 0; 9786 RECOMP_REGS_LOCALS 9787 RECOMP_ENTER(0x2B078720u); 9788 9789 L_2B078720: 9790 PUSH32(esp, ebp); /* 0x2B078720: push ebp */ 9791 ebp = esp; /* 0x2B078721: mov ebp, esp */ 9792 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 9793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9794 esp = esp - 0x20u; /* 0x2B078723: sub esp, 0x20 */ 9795 _flag_k = FK_CMP; 9796 PUSH32(esp, ebx); /* 0x2B078726: push ebx */ 9797 ebx = MEM32(ebp + (-0x8)); /* 0x2B078727: mov ebx, dword ptr [ebp - 8] */ 9798 PUSH32(esp, esi); /* 0x2B07872A: push esi */ 9799 PUSH32(esp, edi); /* 0x2B07872B: push edi */ 9800 edi = ecx; /* 0x2B07872C: mov edi, ecx */ 9801 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9802 esi = 0; /* 0x2B07872E: xor esi, esi */ 9803 _cf = 0; 9804 _flag_k = FK_TEST; 9805 L_2B078730: 9806 ecx = MEM32(edi + 0x84); /* 0x2B078730: mov ecx, dword ptr [edi + 0x84] */ 9807 eax = ebp + (-0x10); /* 0x2B078736: lea eax, [ebp - 0x10] */ 9808 PUSH32(esp, eax); /* 0x2B078739: push eax */ 9809 edx = ebp + (-0x18); /* 0x2B07873A: lea edx, [ebp - 0x18] */ 9810 PUSH32(esp, edx); /* 0x2B07873D: push edx */ 9811 MEM32(ebp + (-0x10)) = esi; /* 0x2B07873E: mov dword ptr [ebp - 0x10], esi */ 9812 MEM32(ebp + (-0xC)) = 0; /* 0x2B078741: mov dword ptr [ebp - 0xc], 0 */ 9813 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078748: call 0x2b06a0b0 */ /* not lifted */ 9814 RECOMP_FLAGS_IN(); 9815 ecx = eax; /* 0x2B07874D: mov ecx, eax */ 9816 eax = MEM32(ecx); /* 0x2B07874F: mov eax, dword ptr [ecx] */ 9817 eax = MEM32(eax + 0x10); /* 0x2B078751: mov eax, dword ptr [eax + 0x10] */ 9818 /* test eax, eax */ /* 0x2B078754: test eax, eax */ 9819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9820 _cf = 0; 9821 _flag_k = FK_TEST; 9822 edx = MEM32(ecx + 0x4); /* 0x2B078756: mov edx, dword ptr [ecx + 4] */ 9823 MEM32(ebp + (-0x1C)) = edx; /* 0x2B078759: mov dword ptr [ebp - 0x1c], edx */ 9824 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078786; /* 0x2B07875C: je 0x2b078786 */ 9825 L_2B07875E: 9826 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B07875E: mov cl, byte ptr [eax + 0x70] */ 9827 /* test LO8(ecx), LO8(ecx) */ /* 0x2B078761: test cl, cl */ 9828 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 9829 _cf = 0; 9830 _flag_k = FK_NARROW(FK_TEST, 24); 9831 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078786; /* 0x2B078763: jne 0x2b078786 */ 9832 L_2B078765: 9833 ecx = eax + 0x54; /* 0x2B078765: lea ecx, [eax + 0x54] */ 9834 edx = ebp + (-0x8); /* 0x2B078768: lea edx, [ebp - 8] */ 9835 /* cmp edx, ecx */ /* 0x2B07876B: cmp edx, ecx */ 9836 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 9837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9838 _flag_k = FK_CMP; 9839 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078777; /* 0x2B07876D: je 0x2b078777 */ 9840 L_2B07876F: 9841 ebx = MEM32(ecx); /* 0x2B07876F: mov ebx, dword ptr [ecx] */ 9842 ecx = MEM32(ecx + 0x4); /* 0x2B078771: mov ecx, dword ptr [ecx + 4] */ 9843 MEM32(ebp + (-0x4)) = ecx; /* 0x2B078774: mov dword ptr [ebp - 4], ecx */ 9844 L_2B078777: 9845 ecx = MEM32(ebp + 0x8); /* 0x2B078777: mov ecx, dword ptr [ebp + 8] */ 9846 edx = MEM32(ebp + (-0x4)); /* 0x2B07877A: mov edx, dword ptr [ebp - 4] */ 9847 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2B07877D: cmp edx, dword ptr [ecx + 4] */ 9848 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9850 _flag_k = FK_CMP; 9851 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078786; /* 0x2B078780: jne 0x2b078786 */ 9852 L_2B078782: 9853 /* cmp ebx, MEM32(ecx) */ /* 0x2B078782: cmp ebx, dword ptr [ecx] */ 9854 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx)); 9855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9856 _flag_k = FK_CMP; 9857 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07878E; /* 0x2B078784: je 0x2b07878e */ 9858 L_2B078786: 9859 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 9860 esi = esi + 1; /* 0x2B078786: inc esi */ 9861 _flag_k = FK_INC; 9862 /* cmp esi, 0x64u */ /* 0x2B078787: cmp esi, 0x64 */ 9863 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 9864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9865 _flag_k = FK_CMP; 9866 RECOMP_BACKEDGE(); 9867 if (CMP_L(_flag_a, _flag_b)) goto L_2B078730; /* 0x2B07878A: jl 0x2b078730 */ 9868 L_2B07878C: 9869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9870 eax = 0; /* 0x2B07878C: xor eax, eax */ 9871 _cf = 0; 9872 _flag_k = FK_TEST; 9873 L_2B07878E: 9874 edi = POP32_VAL(esp); /* 0x2B07878E: pop edi */ 9875 esi = POP32_VAL(esp); /* 0x2B07878F: pop esi */ 9876 ebx = POP32_VAL(esp); /* 0x2B078790: pop ebx */ 9877 esp = ebp; /* 0x2B078791: mov esp, ebp */ 9878 ebp = POP32_VAL(esp); /* 0x2B078793: pop ebp */ 9879 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078794: ret 4 */ 9880 RECOMP_REGS_OUT(); 9881 } 9882 9883 void sub_2B0787A0(void) { 9884 int _fpu_cmp = 0; 9885 uint32_t _cf = 0; 9886 int _df = 1; 9887 uint32_t _flag_k = FK_NONE; 9888 uint32_t _flag_a = 0, _flag_b = 0; 9889 uint32_t _itail_tgt = 0; 9890 RECOMP_REGS_LOCALS 9891 RECOMP_ENTER(0x2B0787A0u); 9892 9893 L_2B0787A0: 9894 PUSH32(esp, ebp); /* 0x2B0787A0: push ebp */ 9895 ebp = esp; /* 0x2B0787A1: mov ebp, esp */ 9896 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 9897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9898 esp = esp - 0x20u; /* 0x2B0787A3: sub esp, 0x20 */ 9899 _flag_k = FK_CMP; 9900 PUSH32(esp, ebx); /* 0x2B0787A6: push ebx */ 9901 ebx = MEM32(ebp + (-0x8)); /* 0x2B0787A7: mov ebx, dword ptr [ebp - 8] */ 9902 PUSH32(esp, esi); /* 0x2B0787AA: push esi */ 9903 PUSH32(esp, edi); /* 0x2B0787AB: push edi */ 9904 edi = ecx; /* 0x2B0787AC: mov edi, ecx */ 9905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9906 esi = 0; /* 0x2B0787AE: xor esi, esi */ 9907 _cf = 0; 9908 _flag_k = FK_TEST; 9909 L_2B0787B0: 9910 ecx = MEM32(edi + 0x84); /* 0x2B0787B0: mov ecx, dword ptr [edi + 0x84] */ 9911 eax = ebp + (-0x10); /* 0x2B0787B6: lea eax, [ebp - 0x10] */ 9912 PUSH32(esp, eax); /* 0x2B0787B9: push eax */ 9913 edx = ebp + (-0x18); /* 0x2B0787BA: lea edx, [ebp - 0x18] */ 9914 PUSH32(esp, edx); /* 0x2B0787BD: push edx */ 9915 MEM32(ebp + (-0x10)) = esi; /* 0x2B0787BE: mov dword ptr [ebp - 0x10], esi */ 9916 MEM32(ebp + (-0xC)) = 0; /* 0x2B0787C1: mov dword ptr [ebp - 0xc], 0 */ 9917 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B0787C8: call 0x2b06a0b0 */ /* not lifted */ 9918 RECOMP_FLAGS_IN(); 9919 ecx = eax; /* 0x2B0787CD: mov ecx, eax */ 9920 eax = MEM32(ecx); /* 0x2B0787CF: mov eax, dword ptr [ecx] */ 9921 edx = MEM32(ecx + 0x4); /* 0x2B0787D1: mov edx, dword ptr [ecx + 4] */ 9922 ecx = MEM32(eax + 0x10); /* 0x2B0787D4: mov ecx, dword ptr [eax + 0x10] */ 9923 /* test ecx, ecx */ /* 0x2B0787D7: test ecx, ecx */ 9924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9925 _cf = 0; 9926 _flag_k = FK_TEST; 9927 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0787D9: mov dword ptr [ebp - 0x1c], edx */ 9928 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078810; /* 0x2B0787DC: je 0x2b078810 */ 9929 L_2B0787DE: 9930 SET_LO8(eax, MEM8(ecx + 0x70)); /* 0x2B0787DE: mov al, byte ptr [ecx + 0x70] */ 9931 /* test LO8(eax), LO8(eax) */ /* 0x2B0787E1: test al, al */ 9932 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9933 _cf = 0; 9934 _flag_k = FK_NARROW(FK_TEST, 24); 9935 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078810; /* 0x2B0787E3: jne 0x2b078810 */ 9936 L_2B0787E5: 9937 eax = ecx + 0x54; /* 0x2B0787E5: lea eax, [ecx + 0x54] */ 9938 edx = ebp + (-0x8); /* 0x2B0787E8: lea edx, [ebp - 8] */ 9939 /* cmp edx, eax */ /* 0x2B0787EB: cmp edx, eax */ 9940 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9942 _flag_k = FK_CMP; 9943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0787F7; /* 0x2B0787ED: je 0x2b0787f7 */ 9944 L_2B0787EF: 9945 ebx = MEM32(eax); /* 0x2B0787EF: mov ebx, dword ptr [eax] */ 9946 eax = MEM32(eax + 0x4); /* 0x2B0787F1: mov eax, dword ptr [eax + 4] */ 9947 MEM32(ebp + (-0x4)) = eax; /* 0x2B0787F4: mov dword ptr [ebp - 4], eax */ 9948 L_2B0787F7: 9949 eax = MEM32(ebp + 0x8); /* 0x2B0787F7: mov eax, dword ptr [ebp + 8] */ 9950 edx = MEM32(ebp + (-0x4)); /* 0x2B0787FA: mov edx, dword ptr [ebp - 4] */ 9951 /* cmp edx, MEM32(eax + 0x4) */ /* 0x2B0787FD: cmp edx, dword ptr [eax + 4] */ 9952 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 9953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9954 _flag_k = FK_CMP; 9955 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078810; /* 0x2B078800: jne 0x2b078810 */ 9956 L_2B078802: 9957 /* cmp ebx, MEM32(eax) */ /* 0x2B078802: cmp ebx, dword ptr [eax] */ 9958 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax)); 9959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9960 _flag_k = FK_CMP; 9961 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078810; /* 0x2B078804: jne 0x2b078810 */ 9962 L_2B078806: 9963 eax = MEM32(ebp + 0xC); /* 0x2B078806: mov eax, dword ptr [ebp + 0xc] */ 9964 PUSH32(esp, eax); /* 0x2B078809: push eax */ 9965 RECOMP_ICALL(MEM32(0x2B0B587C)); /* 0x2B07880A: call dword ptr [0x2b0b587c] */ 9966 RECOMP_FLAGS_IN(); 9967 L_2B078810: 9968 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 9969 esi = esi + 1; /* 0x2B078810: inc esi */ 9970 _flag_k = FK_INC; 9971 /* cmp esi, 0x64u */ /* 0x2B078811: cmp esi, 0x64 */ 9972 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 9973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9974 _flag_k = FK_CMP; 9975 RECOMP_BACKEDGE(); 9976 if (CMP_L(_flag_a, _flag_b)) goto L_2B0787B0; /* 0x2B078814: jl 0x2b0787b0 */ 9977 L_2B078816: 9978 edi = POP32_VAL(esp); /* 0x2B078816: pop edi */ 9979 esi = POP32_VAL(esp); /* 0x2B078817: pop esi */ 9980 ebx = POP32_VAL(esp); /* 0x2B078818: pop ebx */ 9981 esp = ebp; /* 0x2B078819: mov esp, ebp */ 9982 ebp = POP32_VAL(esp); /* 0x2B07881B: pop ebp */ 9983 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07881C: ret 8 */ 9984 RECOMP_REGS_OUT(); 9985 } 9986 9987 void sub_2B078820(void) { 9988 int _fpu_cmp = 0; 9989 uint32_t _cf = 0; 9990 int _df = 1; 9991 uint32_t _flag_k = FK_NONE; 9992 uint32_t _flag_a = 0, _flag_b = 0; 9993 uint32_t _itail_tgt = 0; 9994 RECOMP_REGS_LOCALS 9995 RECOMP_ENTER(0x2B078820u); 9996 9997 L_2B078820: 9998 PUSH32(esp, ebp); /* 0x2B078820: push ebp */ 9999 ebp = esp; /* 0x2B078821: mov ebp, esp */ 10000 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 10001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10002 esp = esp - 0x30u; /* 0x2B078823: sub esp, 0x30 */ 10003 _flag_k = FK_CMP; 10004 PUSH32(esp, esi); /* 0x2B078826: push esi */ 10005 PUSH32(esp, edi); /* 0x2B078827: push edi */ 10006 edi = MEM32(ebp + 0x8); /* 0x2B078828: mov edi, dword ptr [ebp + 8] */ 10007 esi = ecx; /* 0x2B07882B: mov esi, ecx */ 10008 PUSH32(esp, edi); /* 0x2B07882D: push edi */ 10009 RECOMP_ICALL(0x2B078300u); /* 0x2B07882E: call 0x2b078300 */ /* not lifted */ 10010 RECOMP_FLAGS_IN(); 10011 /* test LO8(eax), LO8(eax) */ /* 0x2B078833: test al, al */ 10012 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10013 _cf = 0; 10014 _flag_k = FK_NARROW(FK_TEST, 24); 10015 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B078835: je 0x2b0788bb */ 10016 L_2B07883B: 10017 ecx = MEM32(esi + 0x84); /* 0x2B07883B: mov ecx, dword ptr [esi + 0x84] */ 10018 eax = ebp + (-0x10); /* 0x2B078841: lea eax, [ebp - 0x10] */ 10019 PUSH32(esp, eax); /* 0x2B078844: push eax */ 10020 edx = ebp + (-0x18); /* 0x2B078845: lea edx, [ebp - 0x18] */ 10021 PUSH32(esp, edx); /* 0x2B078848: push edx */ 10022 MEM32(ebp + (-0x10)) = edi; /* 0x2B078849: mov dword ptr [ebp - 0x10], edi */ 10023 MEM32(ebp + (-0xC)) = 0; /* 0x2B07884C: mov dword ptr [ebp - 0xc], 0 */ 10024 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078853: call 0x2b06a0b0 */ /* not lifted */ 10025 RECOMP_FLAGS_IN(); 10026 ecx = MEM32(eax); /* 0x2B078858: mov ecx, dword ptr [eax] */ 10027 MEM32(ebp + (-0x8)) = ecx; /* 0x2B07885A: mov dword ptr [ebp - 8], ecx */ 10028 edx = MEM32(eax + 0x4); /* 0x2B07885D: mov edx, dword ptr [eax + 4] */ 10029 eax = ebp + (-0x4); /* 0x2B078860: lea eax, [ebp - 4] */ 10030 PUSH32(esp, eax); /* 0x2B078863: push eax */ 10031 ecx = ebp + (-0x8); /* 0x2B078864: lea ecx, [ebp - 8] */ 10032 PUSH32(esp, ecx); /* 0x2B078867: push ecx */ 10033 ecx = ebp + (-0x20); /* 0x2B078868: lea ecx, [ebp - 0x20] */ 10034 MEM32(ebp + (-0x4)) = edx; /* 0x2B07886B: mov dword ptr [ebp - 4], edx */ 10035 RECOMP_ICALL(0x2B02A020u); /* 0x2B07886E: call 0x2b02a020 */ /* not lifted */ 10036 RECOMP_FLAGS_IN(); 10037 edx = eax; /* 0x2B078873: mov edx, eax */ 10038 eax = MEM32(edx); /* 0x2B078875: mov eax, dword ptr [edx] */ 10039 esi = MEM32(eax + 0x10); /* 0x2B078877: mov esi, dword ptr [eax + 0x10] */ 10040 /* test esi, esi */ /* 0x2B07887A: test esi, esi */ 10041 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10042 _cf = 0; 10043 _flag_k = FK_TEST; 10044 ecx = MEM32(edx + 0x4); /* 0x2B07887C: mov ecx, dword ptr [edx + 4] */ 10045 MEM32(ebp + (-0x24)) = ecx; /* 0x2B07887F: mov dword ptr [ebp - 0x24], ecx */ 10046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B078882: je 0x2b0788bb */ 10047 L_2B078884: 10048 SET_LO8(eax, MEM8(esi + 0x70)); /* 0x2B078884: mov al, byte ptr [esi + 0x70] */ 10049 /* test LO8(eax), LO8(eax) */ /* 0x2B078887: test al, al */ 10050 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10051 _cf = 0; 10052 _flag_k = FK_NARROW(FK_TEST, 24); 10053 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B078889: jne 0x2b0788bb */ 10054 L_2B07888B: 10055 eax = MEM32(esi + 0x5C); /* 0x2B07888B: mov eax, dword ptr [esi + 0x5c] */ 10056 /* test eax, eax */ /* 0x2B07888E: test eax, eax */ 10057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10058 _cf = 0; 10059 _flag_k = FK_TEST; 10060 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0788C3; /* 0x2B078890: jne 0x2b0788c3 */ 10061 L_2B078892: 10062 eax = 0x26u; /* 0x2B078892: mov eax, 0x26 */ 10063 L_2B078897: 10064 PUSH32(esp, eax); /* 0x2B078897: push eax */ 10065 RECOMP_ICALL(MEM32(0x2B0B5AAC)); /* 0x2B078898: call dword ptr [0x2b0b5aac] */ 10066 RECOMP_FLAGS_IN(); 10067 ecx = eax; /* 0x2B07889E: mov ecx, eax */ 10068 RECOMP_ICALL(MEM32(0x2B0B5AA8)); /* 0x2B0788A0: call dword ptr [0x2b0b5aa8] */ 10069 RECOMP_FLAGS_IN(); 10070 /* test eax, eax */ /* 0x2B0788A6: test eax, eax */ 10071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10072 _cf = 0; 10073 _flag_k = FK_TEST; 10074 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B0788A8: je 0x2b0788bb */ 10075 L_2B0788AA: 10076 PUSH32(esp, 0); /* 0x2B0788AA: push 0 */ 10077 PUSH32(esp, esi); /* 0x2B0788AC: push esi */ 10078 PUSH32(esp, 0); /* 0x2B0788AD: push 0 */ 10079 ecx = ebp + (-0x30); /* 0x2B0788AF: lea ecx, [ebp - 0x30] */ 10080 PUSH32(esp, ecx); /* 0x2B0788B2: push ecx */ 10081 ecx = eax; /* 0x2B0788B3: mov ecx, eax */ 10082 RECOMP_ICALL(MEM32(0x2B0B57B0)); /* 0x2B0788B5: call dword ptr [0x2b0b57b0] */ 10083 RECOMP_FLAGS_IN(); 10084 L_2B0788BB: 10085 edi = POP32_VAL(esp); /* 0x2B0788BB: pop edi */ 10086 esi = POP32_VAL(esp); /* 0x2B0788BC: pop esi */ 10087 esp = ebp; /* 0x2B0788BD: mov esp, ebp */ 10088 ebp = POP32_VAL(esp); /* 0x2B0788BF: pop ebp */ 10089 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0788C0: ret 4 */ 10090 L_2B0788C3: 10091 /* cmp eax, 2 */ /* 0x2B0788C3: cmp eax, 2 */ 10092 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10094 _flag_k = FK_CMP; 10095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0788CF; /* 0x2B0788C6: jne 0x2b0788cf */ 10096 L_2B0788C8: 10097 eax = 0x27u; /* 0x2B0788C8: mov eax, 0x27 */ 10098 RECOMP_BACKEDGE(); 10099 goto L_2B078897; /* 0x2B0788CD: jmp 0x2b078897 */ 10100 L_2B0788CF: 10101 /* cmp eax, 7 */ /* 0x2B0788CF: cmp eax, 7 */ 10102 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 10103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10104 _flag_k = FK_CMP; 10105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0788DB; /* 0x2B0788D2: jne 0x2b0788db */ 10106 L_2B0788D4: 10107 eax = 0x28u; /* 0x2B0788D4: mov eax, 0x28 */ 10108 RECOMP_BACKEDGE(); 10109 goto L_2B078897; /* 0x2B0788D9: jmp 0x2b078897 */ 10110 L_2B0788DB: 10111 /* cmp eax, 8 */ /* 0x2B0788DB: cmp eax, 8 */ 10112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10114 _flag_k = FK_CMP; 10115 RECOMP_BACKEDGE(); 10116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B0788DE: jne 0x2b0788bb */ 10117 L_2B0788E0: 10118 eax = esi + 0x54; /* 0x2B0788E0: lea eax, [esi + 0x54] */ 10119 edx = ebp + (-0x10); /* 0x2B0788E3: lea edx, [ebp - 0x10] */ 10120 /* cmp edx, eax */ /* 0x2B0788E6: cmp edx, eax */ 10121 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10123 _flag_k = FK_CMP; 10124 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0788EF; /* 0x2B0788E8: je 0x2b0788ef */ 10125 L_2B0788EA: 10126 eax = MEM32(eax + 0x4); /* 0x2B0788EA: mov eax, dword ptr [eax + 4] */ 10127 goto L_2B0788F2; /* 0x2B0788ED: jmp 0x2b0788f2 */ 10128 L_2B0788EF: 10129 eax = MEM32(ebp + (-0xC)); /* 0x2B0788EF: mov eax, dword ptr [ebp - 0xc] */ 10130 L_2B0788F2: 10131 PUSH32(esp, eax); /* 0x2B0788F2: push eax */ 10132 RECOMP_ICALL(MEM32(0x2B0B5794)); /* 0x2B0788F3: call dword ptr [0x2b0b5794] */ 10133 RECOMP_FLAGS_IN(); 10134 ecx = eax; /* 0x2B0788F9: mov ecx, eax */ 10135 RECOMP_ICALL(MEM32(0x2B0B57A4)); /* 0x2B0788FB: call dword ptr [0x2b0b57a4] */ 10136 RECOMP_FLAGS_IN(); 10137 /* test eax, eax */ /* 0x2B078901: test eax, eax */ 10138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10139 _cf = 0; 10140 _flag_k = FK_TEST; 10141 RECOMP_BACKEDGE(); 10142 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0788BB; /* 0x2B078903: je 0x2b0788bb */ 10143 L_2B078905: 10144 ecx = MEM32(eax + 0x20); /* 0x2B078905: mov ecx, dword ptr [eax + 0x20] */ 10145 eax = MEM32(eax + 0x1C); /* 0x2B078908: mov eax, dword ptr [eax + 0x1c] */ 10146 /* test eax, eax */ /* 0x2B07890B: test eax, eax */ 10147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10148 _cf = 0; 10149 _flag_k = FK_TEST; 10150 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078914; /* 0x2B07890D: jne 0x2b078914 */ 10151 L_2B07890F: 10152 eax = MEM32(0x2B0B513C); /* 0x2B07890F: mov eax, dword ptr [0x2b0b513c] */ 10153 L_2B078914: 10154 PUSH32(esp, ecx); /* 0x2B078914: push ecx */ 10155 PUSH32(esp, eax); /* 0x2B078915: push eax */ 10156 PUSH32(esp, 0x8Du); /* 0x2B078916: push 0x8d */ 10157 PUSH32(esp, 3); /* 0x2B07891B: push 3 */ 10158 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07891D: call dword ptr [0x2b0b53cc] */ 10159 RECOMP_FLAGS_IN(); 10160 ecx = eax; /* 0x2B078923: mov ecx, eax */ 10161 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B078925: call dword ptr [0x2b0b53c4] */ 10162 RECOMP_FLAGS_IN(); 10163 edi = POP32_VAL(esp); /* 0x2B07892B: pop edi */ 10164 esi = POP32_VAL(esp); /* 0x2B07892C: pop esi */ 10165 esp = ebp; /* 0x2B07892D: mov esp, ebp */ 10166 ebp = POP32_VAL(esp); /* 0x2B07892F: pop ebp */ 10167 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078930: ret 4 */ 10168 RECOMP_REGS_OUT(); 10169 } 10170 10171 void sub_2B078940(void) { 10172 int _fpu_cmp = 0; 10173 uint32_t _cf = 0; 10174 int _df = 1; 10175 uint32_t _flag_k = FK_NONE; 10176 uint32_t _flag_a = 0, _flag_b = 0; 10177 uint32_t _itail_tgt = 0; 10178 RECOMP_REGS_LOCALS 10179 RECOMP_ENTER(0x2B078940u); 10180 10181 L_2B078940: 10182 PUSH32(esp, ebp); /* 0x2B078940: push ebp */ 10183 ebp = esp; /* 0x2B078941: mov ebp, esp */ 10184 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 10185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10186 esp = esp - 0x24u; /* 0x2B078943: sub esp, 0x24 */ 10187 _flag_k = FK_CMP; 10188 PUSH32(esp, ebx); /* 0x2B078946: push ebx */ 10189 PUSH32(esp, esi); /* 0x2B078947: push esi */ 10190 esi = MEM32(0x2B0B5D6C); /* 0x2B078948: mov esi, dword ptr [0x2b0b5d6c] */ 10191 PUSH32(esp, edi); /* 0x2B07894E: push edi */ 10192 PUSH32(esp, 2); /* 0x2B07894F: push 2 */ 10193 MEM32(ebp + (-0x4)) = ecx; /* 0x2B078951: mov dword ptr [ebp - 4], ecx */ 10194 RECOMP_ICALL(esi); /* 0x2B078954: call esi */ 10195 RECOMP_FLAGS_IN(); 10196 edi = MEM32(0x2B0B5E90); /* 0x2B078956: mov edi, dword ptr [0x2b0b5e90] */ 10197 ecx = eax; /* 0x2B07895C: mov ecx, eax */ 10198 RECOMP_ICALL(edi); /* 0x2B07895E: call edi */ 10199 RECOMP_FLAGS_IN(); 10200 ebx = eax; /* 0x2B078960: mov ebx, eax */ 10201 PUSH32(esp, 1); /* 0x2B078962: push 1 */ 10202 MEM32(ebp + (-0x8)) = ebx; /* 0x2B078964: mov dword ptr [ebp - 8], ebx */ 10203 RECOMP_ICALL(esi); /* 0x2B078967: call esi */ 10204 RECOMP_FLAGS_IN(); 10205 ecx = eax; /* 0x2B078969: mov ecx, eax */ 10206 RECOMP_ICALL(edi); /* 0x2B07896B: call edi */ 10207 RECOMP_FLAGS_IN(); 10208 /* test ebx, ebx */ /* 0x2B07896D: test ebx, ebx */ 10209 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10210 _cf = 0; 10211 _flag_k = FK_TEST; 10212 MEM32(ebp + (-0xC)) = eax; /* 0x2B07896F: mov dword ptr [ebp - 0xc], eax */ 10213 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A2F; /* 0x2B078972: je 0x2b078a2f */ 10214 L_2B078978: 10215 /* test eax, eax */ /* 0x2B078978: test eax, eax */ 10216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10217 _cf = 0; 10218 _flag_k = FK_TEST; 10219 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A2F; /* 0x2B07897A: je 0x2b078a2f */ 10220 L_2B078980: 10221 edi = MEM32(ebp + (-0x18)); /* 0x2B078980: mov edi, dword ptr [ebp - 0x18] */ 10222 esi = MEM32(ebp + (-0x1C)); /* 0x2B078983: mov esi, dword ptr [ebp - 0x1c] */ 10223 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10224 ebx = 0; /* 0x2B078986: xor ebx, ebx */ 10225 _cf = 0; 10226 _flag_k = FK_TEST; 10227 L_2B078988: 10228 eax = MEM32(ebp + (-0x4)); /* 0x2B078988: mov eax, dword ptr [ebp - 4] */ 10229 ecx = MEM32(eax + 0x84); /* 0x2B07898B: mov ecx, dword ptr [eax + 0x84] */ 10230 edx = ebp + (-0x1C); /* 0x2B078991: lea edx, [ebp - 0x1c] */ 10231 PUSH32(esp, edx); /* 0x2B078994: push edx */ 10232 eax = ebp + (-0x24); /* 0x2B078995: lea eax, [ebp - 0x24] */ 10233 PUSH32(esp, eax); /* 0x2B078998: push eax */ 10234 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B078999: mov dword ptr [ebp - 0x1c], ebx */ 10235 MEM32(ebp + (-0x18)) = 0; /* 0x2B07899C: mov dword ptr [ebp - 0x18], 0 */ 10236 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0789A3: call 0x2b031eb0 */ /* not lifted */ 10237 RECOMP_FLAGS_IN(); 10238 eax = MEM32(eax); /* 0x2B0789A8: mov eax, dword ptr [eax] */ 10239 eax = MEM32(eax + 0x10); /* 0x2B0789AA: mov eax, dword ptr [eax + 0x10] */ 10240 /* test eax, eax */ /* 0x2B0789AD: test eax, eax */ 10241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10242 _cf = 0; 10243 _flag_k = FK_TEST; 10244 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789AF: je 0x2b078a25 */ 10245 L_2B0789B1: 10246 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B0789B1: mov cl, byte ptr [eax + 0x70] */ 10247 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0789B4: test cl, cl */ 10248 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10249 _cf = 0; 10250 _flag_k = FK_NARROW(FK_TEST, 24); 10251 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789B6: jne 0x2b078a25 */ 10252 L_2B0789B8: 10253 /* cmp MEM32(eax + 0x5C), 3 */ /* 0x2B0789B8: cmp dword ptr [eax + 0x5c], 3 */ 10254 _flag_a = (uint32_t)(MEM32(eax + 0x5C)); _flag_b = (uint32_t)(3); 10255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10256 _flag_k = FK_CMP; 10257 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789BC: jne 0x2b078a25 */ 10258 L_2B0789BE: 10259 edx = eax + 0x54; /* 0x2B0789BE: lea edx, [eax + 0x54] */ 10260 ecx = ebp + (-0x1C); /* 0x2B0789C1: lea ecx, [ebp - 0x1c] */ 10261 /* cmp ecx, edx */ /* 0x2B0789C4: cmp ecx, edx */ 10262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10264 _flag_k = FK_CMP; 10265 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789CD; /* 0x2B0789C6: je 0x2b0789cd */ 10266 L_2B0789C8: 10267 esi = MEM32(edx); /* 0x2B0789C8: mov esi, dword ptr [edx] */ 10268 edi = MEM32(edx + 0x4); /* 0x2B0789CA: mov edi, dword ptr [edx + 4] */ 10269 L_2B0789CD: 10270 eax = MEM32(ebp + (-0x8)); /* 0x2B0789CD: mov eax, dword ptr [ebp - 8] */ 10271 ecx = MEM32(eax + 0x4); /* 0x2B0789D0: mov ecx, dword ptr [eax + 4] */ 10272 eax = MEM32(ecx); /* 0x2B0789D3: mov eax, dword ptr [ecx] */ 10273 /* cmp eax, ecx */ /* 0x2B0789D5: cmp eax, ecx */ 10274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10276 _flag_k = FK_CMP; 10277 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789E9; /* 0x2B0789D7: je 0x2b0789e9 */ 10278 L_2B0789D9: 10279 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789D9: cmp edi, dword ptr [eax + 0xc] */ 10280 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10282 _flag_k = FK_CMP; 10283 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789E3; /* 0x2B0789DC: jne 0x2b0789e3 */ 10284 L_2B0789DE: 10285 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789DE: cmp esi, dword ptr [eax + 8] */ 10286 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10288 _flag_k = FK_CMP; 10289 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789E1: je 0x2b078a25 */ 10290 L_2B0789E3: 10291 eax = MEM32(eax); /* 0x2B0789E3: mov eax, dword ptr [eax] */ 10292 /* cmp eax, ecx */ /* 0x2B0789E5: cmp eax, ecx */ 10293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10295 _flag_k = FK_CMP; 10296 RECOMP_BACKEDGE(); 10297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789D9; /* 0x2B0789E7: jne 0x2b0789d9 */ 10298 L_2B0789E9: 10299 ecx = MEM32(ebp + (-0xC)); /* 0x2B0789E9: mov ecx, dword ptr [ebp - 0xc] */ 10300 ecx = MEM32(ecx + 0x4); /* 0x2B0789EC: mov ecx, dword ptr [ecx + 4] */ 10301 eax = MEM32(ecx); /* 0x2B0789EF: mov eax, dword ptr [ecx] */ 10302 /* cmp eax, ecx */ /* 0x2B0789F1: cmp eax, ecx */ 10303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10305 _flag_k = FK_CMP; 10306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A05; /* 0x2B0789F3: je 0x2b078a05 */ 10307 L_2B0789F5: 10308 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789F5: cmp edi, dword ptr [eax + 0xc] */ 10309 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10311 _flag_k = FK_CMP; 10312 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789FF; /* 0x2B0789F8: jne 0x2b0789ff */ 10313 L_2B0789FA: 10314 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789FA: cmp esi, dword ptr [eax + 8] */ 10315 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10317 _flag_k = FK_CMP; 10318 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789FD: je 0x2b078a25 */ 10319 L_2B0789FF: 10320 eax = MEM32(eax); /* 0x2B0789FF: mov eax, dword ptr [eax] */ 10321 /* cmp eax, ecx */ /* 0x2B078A01: cmp eax, ecx */ 10322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10324 _flag_k = FK_CMP; 10325 RECOMP_BACKEDGE(); 10326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789F5; /* 0x2B078A03: jne 0x2b0789f5 */ 10327 L_2B078A05: 10328 eax = ebp + (-0x14); /* 0x2B078A05: lea eax, [ebp - 0x14] */ 10329 /* cmp eax, edx */ /* 0x2B078A08: cmp eax, edx */ 10330 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10332 _flag_k = FK_CMP; 10333 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A17; /* 0x2B078A0A: je 0x2b078a17 */ 10334 L_2B078A0C: 10335 ecx = MEM32(edx); /* 0x2B078A0C: mov ecx, dword ptr [edx] */ 10336 edx = MEM32(edx + 0x4); /* 0x2B078A0E: mov edx, dword ptr [edx + 4] */ 10337 MEM32(ebp + (-0x14)) = ecx; /* 0x2B078A11: mov dword ptr [ebp - 0x14], ecx */ 10338 MEM32(ebp + (-0x10)) = edx; /* 0x2B078A14: mov dword ptr [ebp - 0x10], edx */ 10339 L_2B078A17: 10340 ecx = MEM32(ebp + (-0x4)); /* 0x2B078A17: mov ecx, dword ptr [ebp - 4] */ 10341 PUSH32(esp, 1); /* 0x2B078A1A: push 1 */ 10342 eax = ebp + (-0x14); /* 0x2B078A1C: lea eax, [ebp - 0x14] */ 10343 PUSH32(esp, eax); /* 0x2B078A1F: push eax */ 10344 RECOMP_ICALL(0x2B078600u); /* 0x2B078A20: call 0x2b078600 */ /* not lifted */ 10345 RECOMP_FLAGS_IN(); 10346 L_2B078A25: 10347 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 10348 ebx = ebx + 1; /* 0x2B078A25: inc ebx */ 10349 _flag_k = FK_INC; 10350 /* cmp ebx, 0x64u */ /* 0x2B078A26: cmp ebx, 0x64 */ 10351 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 10352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10353 _flag_k = FK_CMP; 10354 RECOMP_BACKEDGE(); 10355 if (CMP_L(_flag_a, _flag_b)) goto L_2B078988; /* 0x2B078A29: jl 0x2b078988 */ 10356 L_2B078A2F: 10357 edi = POP32_VAL(esp); /* 0x2B078A2F: pop edi */ 10358 esi = POP32_VAL(esp); /* 0x2B078A30: pop esi */ 10359 ebx = POP32_VAL(esp); /* 0x2B078A31: pop ebx */ 10360 esp = ebp; /* 0x2B078A32: mov esp, ebp */ 10361 ebp = POP32_VAL(esp); /* 0x2B078A34: pop ebp */ 10362 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078A35: ret */ 10363 RECOMP_REGS_OUT(); 10364 } 10365 10366 void sub_2B078988(void) { 10367 int _fpu_cmp = 0; 10368 uint32_t _cf = 0; 10369 int _df = 1; 10370 uint32_t _flag_k = FK_NONE; 10371 uint32_t _flag_a = 0, _flag_b = 0; 10372 uint32_t _itail_tgt = 0; 10373 RECOMP_REGS_LOCALS 10374 RECOMP_ENTER(0x2B078988u); 10375 10376 L_2B078988: 10377 eax = MEM32(ebp + (-0x4)); /* 0x2B078988: mov eax, dword ptr [ebp - 4] */ 10378 ecx = MEM32(eax + 0x84); /* 0x2B07898B: mov ecx, dword ptr [eax + 0x84] */ 10379 edx = ebp + (-0x1C); /* 0x2B078991: lea edx, [ebp - 0x1c] */ 10380 PUSH32(esp, edx); /* 0x2B078994: push edx */ 10381 eax = ebp + (-0x24); /* 0x2B078995: lea eax, [ebp - 0x24] */ 10382 PUSH32(esp, eax); /* 0x2B078998: push eax */ 10383 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B078999: mov dword ptr [ebp - 0x1c], ebx */ 10384 MEM32(ebp + (-0x18)) = 0; /* 0x2B07899C: mov dword ptr [ebp - 0x18], 0 */ 10385 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0789A3: call 0x2b031eb0 */ /* not lifted */ 10386 RECOMP_FLAGS_IN(); 10387 eax = MEM32(eax); /* 0x2B0789A8: mov eax, dword ptr [eax] */ 10388 eax = MEM32(eax + 0x10); /* 0x2B0789AA: mov eax, dword ptr [eax + 0x10] */ 10389 /* test eax, eax */ /* 0x2B0789AD: test eax, eax */ 10390 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10391 _cf = 0; 10392 _flag_k = FK_TEST; 10393 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789AF: je 0x2b078a25 */ 10394 L_2B0789B1: 10395 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B0789B1: mov cl, byte ptr [eax + 0x70] */ 10396 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0789B4: test cl, cl */ 10397 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10398 _cf = 0; 10399 _flag_k = FK_NARROW(FK_TEST, 24); 10400 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789B6: jne 0x2b078a25 */ 10401 L_2B0789B8: 10402 /* cmp MEM32(eax + 0x5C), 3 */ /* 0x2B0789B8: cmp dword ptr [eax + 0x5c], 3 */ 10403 _flag_a = (uint32_t)(MEM32(eax + 0x5C)); _flag_b = (uint32_t)(3); 10404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10405 _flag_k = FK_CMP; 10406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789BC: jne 0x2b078a25 */ 10407 L_2B0789BE: 10408 edx = eax + 0x54; /* 0x2B0789BE: lea edx, [eax + 0x54] */ 10409 ecx = ebp + (-0x1C); /* 0x2B0789C1: lea ecx, [ebp - 0x1c] */ 10410 /* cmp ecx, edx */ /* 0x2B0789C4: cmp ecx, edx */ 10411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10413 _flag_k = FK_CMP; 10414 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789CD; /* 0x2B0789C6: je 0x2b0789cd */ 10415 L_2B0789C8: 10416 esi = MEM32(edx); /* 0x2B0789C8: mov esi, dword ptr [edx] */ 10417 edi = MEM32(edx + 0x4); /* 0x2B0789CA: mov edi, dword ptr [edx + 4] */ 10418 L_2B0789CD: 10419 eax = MEM32(ebp + (-0x8)); /* 0x2B0789CD: mov eax, dword ptr [ebp - 8] */ 10420 ecx = MEM32(eax + 0x4); /* 0x2B0789D0: mov ecx, dword ptr [eax + 4] */ 10421 eax = MEM32(ecx); /* 0x2B0789D3: mov eax, dword ptr [ecx] */ 10422 /* cmp eax, ecx */ /* 0x2B0789D5: cmp eax, ecx */ 10423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10425 _flag_k = FK_CMP; 10426 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789E9; /* 0x2B0789D7: je 0x2b0789e9 */ 10427 L_2B0789D9: 10428 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789D9: cmp edi, dword ptr [eax + 0xc] */ 10429 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10431 _flag_k = FK_CMP; 10432 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789E3; /* 0x2B0789DC: jne 0x2b0789e3 */ 10433 L_2B0789DE: 10434 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789DE: cmp esi, dword ptr [eax + 8] */ 10435 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10437 _flag_k = FK_CMP; 10438 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789E1: je 0x2b078a25 */ 10439 L_2B0789E3: 10440 eax = MEM32(eax); /* 0x2B0789E3: mov eax, dword ptr [eax] */ 10441 /* cmp eax, ecx */ /* 0x2B0789E5: cmp eax, ecx */ 10442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10444 _flag_k = FK_CMP; 10445 RECOMP_BACKEDGE(); 10446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789D9; /* 0x2B0789E7: jne 0x2b0789d9 */ 10447 L_2B0789E9: 10448 ecx = MEM32(ebp + (-0xC)); /* 0x2B0789E9: mov ecx, dword ptr [ebp - 0xc] */ 10449 ecx = MEM32(ecx + 0x4); /* 0x2B0789EC: mov ecx, dword ptr [ecx + 4] */ 10450 eax = MEM32(ecx); /* 0x2B0789EF: mov eax, dword ptr [ecx] */ 10451 /* cmp eax, ecx */ /* 0x2B0789F1: cmp eax, ecx */ 10452 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10454 _flag_k = FK_CMP; 10455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A05; /* 0x2B0789F3: je 0x2b078a05 */ 10456 L_2B0789F5: 10457 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789F5: cmp edi, dword ptr [eax + 0xc] */ 10458 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10460 _flag_k = FK_CMP; 10461 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789FF; /* 0x2B0789F8: jne 0x2b0789ff */ 10462 L_2B0789FA: 10463 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789FA: cmp esi, dword ptr [eax + 8] */ 10464 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10466 _flag_k = FK_CMP; 10467 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789FD: je 0x2b078a25 */ 10468 L_2B0789FF: 10469 eax = MEM32(eax); /* 0x2B0789FF: mov eax, dword ptr [eax] */ 10470 /* cmp eax, ecx */ /* 0x2B078A01: cmp eax, ecx */ 10471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10473 _flag_k = FK_CMP; 10474 RECOMP_BACKEDGE(); 10475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789F5; /* 0x2B078A03: jne 0x2b0789f5 */ 10476 L_2B078A05: 10477 eax = ebp + (-0x14); /* 0x2B078A05: lea eax, [ebp - 0x14] */ 10478 /* cmp eax, edx */ /* 0x2B078A08: cmp eax, edx */ 10479 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10481 _flag_k = FK_CMP; 10482 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A17; /* 0x2B078A0A: je 0x2b078a17 */ 10483 L_2B078A0C: 10484 ecx = MEM32(edx); /* 0x2B078A0C: mov ecx, dword ptr [edx] */ 10485 edx = MEM32(edx + 0x4); /* 0x2B078A0E: mov edx, dword ptr [edx + 4] */ 10486 MEM32(ebp + (-0x14)) = ecx; /* 0x2B078A11: mov dword ptr [ebp - 0x14], ecx */ 10487 MEM32(ebp + (-0x10)) = edx; /* 0x2B078A14: mov dword ptr [ebp - 0x10], edx */ 10488 L_2B078A17: 10489 ecx = MEM32(ebp + (-0x4)); /* 0x2B078A17: mov ecx, dword ptr [ebp - 4] */ 10490 PUSH32(esp, 1); /* 0x2B078A1A: push 1 */ 10491 eax = ebp + (-0x14); /* 0x2B078A1C: lea eax, [ebp - 0x14] */ 10492 PUSH32(esp, eax); /* 0x2B078A1F: push eax */ 10493 RECOMP_ICALL(0x2B078600u); /* 0x2B078A20: call 0x2b078600 */ /* not lifted */ 10494 RECOMP_FLAGS_IN(); 10495 L_2B078A25: 10496 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 10497 ebx = ebx + 1; /* 0x2B078A25: inc ebx */ 10498 _flag_k = FK_INC; 10499 /* cmp ebx, 0x64u */ /* 0x2B078A26: cmp ebx, 0x64 */ 10500 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 10501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10502 _flag_k = FK_CMP; 10503 RECOMP_BACKEDGE(); 10504 if (CMP_L(_flag_a, _flag_b)) goto L_2B078988; /* 0x2B078A29: jl 0x2b078988 */ 10505 L_2B078A2F: 10506 edi = POP32_VAL(esp); /* 0x2B078A2F: pop edi */ 10507 esi = POP32_VAL(esp); /* 0x2B078A30: pop esi */ 10508 ebx = POP32_VAL(esp); /* 0x2B078A31: pop ebx */ 10509 esp = ebp; /* 0x2B078A32: mov esp, ebp */ 10510 ebp = POP32_VAL(esp); /* 0x2B078A34: pop ebp */ 10511 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078A35: ret */ 10512 RECOMP_REGS_OUT(); 10513 } 10514 10515 void sub_2B0789A3(void) { 10516 int _fpu_cmp = 0; 10517 uint32_t _cf = 0; 10518 int _df = 1; 10519 uint32_t _flag_k = FK_NONE; 10520 uint32_t _flag_a = 0, _flag_b = 0; 10521 uint32_t _itail_tgt = 0; 10522 RECOMP_REGS_LOCALS 10523 RECOMP_ENTER(0x2B0789A3u); 10524 10525 goto L_2B0789A3; 10526 L_2B078988: 10527 eax = MEM32(ebp + (-0x4)); /* 0x2B078988: mov eax, dword ptr [ebp - 4] */ 10528 ecx = MEM32(eax + 0x84); /* 0x2B07898B: mov ecx, dword ptr [eax + 0x84] */ 10529 edx = ebp + (-0x1C); /* 0x2B078991: lea edx, [ebp - 0x1c] */ 10530 PUSH32(esp, edx); /* 0x2B078994: push edx */ 10531 eax = ebp + (-0x24); /* 0x2B078995: lea eax, [ebp - 0x24] */ 10532 PUSH32(esp, eax); /* 0x2B078998: push eax */ 10533 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B078999: mov dword ptr [ebp - 0x1c], ebx */ 10534 MEM32(ebp + (-0x18)) = 0; /* 0x2B07899C: mov dword ptr [ebp - 0x18], 0 */ 10535 L_2B0789A3: 10536 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0789A3: call 0x2b031eb0 */ /* not lifted */ 10537 RECOMP_FLAGS_IN(); 10538 eax = MEM32(eax); /* 0x2B0789A8: mov eax, dword ptr [eax] */ 10539 eax = MEM32(eax + 0x10); /* 0x2B0789AA: mov eax, dword ptr [eax + 0x10] */ 10540 /* test eax, eax */ /* 0x2B0789AD: test eax, eax */ 10541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10542 _cf = 0; 10543 _flag_k = FK_TEST; 10544 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789AF: je 0x2b078a25 */ 10545 L_2B0789B1: 10546 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B0789B1: mov cl, byte ptr [eax + 0x70] */ 10547 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0789B4: test cl, cl */ 10548 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10549 _cf = 0; 10550 _flag_k = FK_NARROW(FK_TEST, 24); 10551 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789B6: jne 0x2b078a25 */ 10552 L_2B0789B8: 10553 /* cmp MEM32(eax + 0x5C), 3 */ /* 0x2B0789B8: cmp dword ptr [eax + 0x5c], 3 */ 10554 _flag_a = (uint32_t)(MEM32(eax + 0x5C)); _flag_b = (uint32_t)(3); 10555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10556 _flag_k = FK_CMP; 10557 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789BC: jne 0x2b078a25 */ 10558 L_2B0789BE: 10559 edx = eax + 0x54; /* 0x2B0789BE: lea edx, [eax + 0x54] */ 10560 ecx = ebp + (-0x1C); /* 0x2B0789C1: lea ecx, [ebp - 0x1c] */ 10561 /* cmp ecx, edx */ /* 0x2B0789C4: cmp ecx, edx */ 10562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10564 _flag_k = FK_CMP; 10565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789CD; /* 0x2B0789C6: je 0x2b0789cd */ 10566 L_2B0789C8: 10567 esi = MEM32(edx); /* 0x2B0789C8: mov esi, dword ptr [edx] */ 10568 edi = MEM32(edx + 0x4); /* 0x2B0789CA: mov edi, dword ptr [edx + 4] */ 10569 L_2B0789CD: 10570 eax = MEM32(ebp + (-0x8)); /* 0x2B0789CD: mov eax, dword ptr [ebp - 8] */ 10571 ecx = MEM32(eax + 0x4); /* 0x2B0789D0: mov ecx, dword ptr [eax + 4] */ 10572 eax = MEM32(ecx); /* 0x2B0789D3: mov eax, dword ptr [ecx] */ 10573 /* cmp eax, ecx */ /* 0x2B0789D5: cmp eax, ecx */ 10574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10576 _flag_k = FK_CMP; 10577 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789E9; /* 0x2B0789D7: je 0x2b0789e9 */ 10578 L_2B0789D9: 10579 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789D9: cmp edi, dword ptr [eax + 0xc] */ 10580 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10582 _flag_k = FK_CMP; 10583 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789E3; /* 0x2B0789DC: jne 0x2b0789e3 */ 10584 L_2B0789DE: 10585 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789DE: cmp esi, dword ptr [eax + 8] */ 10586 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10588 _flag_k = FK_CMP; 10589 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789E1: je 0x2b078a25 */ 10590 L_2B0789E3: 10591 eax = MEM32(eax); /* 0x2B0789E3: mov eax, dword ptr [eax] */ 10592 /* cmp eax, ecx */ /* 0x2B0789E5: cmp eax, ecx */ 10593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10595 _flag_k = FK_CMP; 10596 RECOMP_BACKEDGE(); 10597 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789D9; /* 0x2B0789E7: jne 0x2b0789d9 */ 10598 L_2B0789E9: 10599 ecx = MEM32(ebp + (-0xC)); /* 0x2B0789E9: mov ecx, dword ptr [ebp - 0xc] */ 10600 ecx = MEM32(ecx + 0x4); /* 0x2B0789EC: mov ecx, dword ptr [ecx + 4] */ 10601 eax = MEM32(ecx); /* 0x2B0789EF: mov eax, dword ptr [ecx] */ 10602 /* cmp eax, ecx */ /* 0x2B0789F1: cmp eax, ecx */ 10603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10605 _flag_k = FK_CMP; 10606 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A05; /* 0x2B0789F3: je 0x2b078a05 */ 10607 L_2B0789F5: 10608 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789F5: cmp edi, dword ptr [eax + 0xc] */ 10609 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 10610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10611 _flag_k = FK_CMP; 10612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789FF; /* 0x2B0789F8: jne 0x2b0789ff */ 10613 L_2B0789FA: 10614 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789FA: cmp esi, dword ptr [eax + 8] */ 10615 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10617 _flag_k = FK_CMP; 10618 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789FD: je 0x2b078a25 */ 10619 L_2B0789FF: 10620 eax = MEM32(eax); /* 0x2B0789FF: mov eax, dword ptr [eax] */ 10621 /* cmp eax, ecx */ /* 0x2B078A01: cmp eax, ecx */ 10622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10624 _flag_k = FK_CMP; 10625 RECOMP_BACKEDGE(); 10626 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789F5; /* 0x2B078A03: jne 0x2b0789f5 */ 10627 L_2B078A05: 10628 eax = ebp + (-0x14); /* 0x2B078A05: lea eax, [ebp - 0x14] */ 10629 /* cmp eax, edx */ /* 0x2B078A08: cmp eax, edx */ 10630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 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_2B078A17; /* 0x2B078A0A: je 0x2b078a17 */ 10634 L_2B078A0C: 10635 ecx = MEM32(edx); /* 0x2B078A0C: mov ecx, dword ptr [edx] */ 10636 edx = MEM32(edx + 0x4); /* 0x2B078A0E: mov edx, dword ptr [edx + 4] */ 10637 MEM32(ebp + (-0x14)) = ecx; /* 0x2B078A11: mov dword ptr [ebp - 0x14], ecx */ 10638 MEM32(ebp + (-0x10)) = edx; /* 0x2B078A14: mov dword ptr [ebp - 0x10], edx */ 10639 L_2B078A17: 10640 ecx = MEM32(ebp + (-0x4)); /* 0x2B078A17: mov ecx, dword ptr [ebp - 4] */ 10641 PUSH32(esp, 1); /* 0x2B078A1A: push 1 */ 10642 eax = ebp + (-0x14); /* 0x2B078A1C: lea eax, [ebp - 0x14] */ 10643 PUSH32(esp, eax); /* 0x2B078A1F: push eax */ 10644 RECOMP_ICALL(0x2B078600u); /* 0x2B078A20: call 0x2b078600 */ /* not lifted */ 10645 RECOMP_FLAGS_IN(); 10646 L_2B078A25: 10647 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 10648 ebx = ebx + 1; /* 0x2B078A25: inc ebx */ 10649 _flag_k = FK_INC; 10650 /* cmp ebx, 0x64u */ /* 0x2B078A26: cmp ebx, 0x64 */ 10651 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 10652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10653 _flag_k = FK_CMP; 10654 RECOMP_BACKEDGE(); 10655 if (CMP_L(_flag_a, _flag_b)) goto L_2B078988; /* 0x2B078A29: jl 0x2b078988 */ 10656 L_2B078A2F: 10657 edi = POP32_VAL(esp); /* 0x2B078A2F: pop edi */ 10658 esi = POP32_VAL(esp); /* 0x2B078A30: pop esi */ 10659 ebx = POP32_VAL(esp); /* 0x2B078A31: pop ebx */ 10660 esp = ebp; /* 0x2B078A32: mov esp, ebp */ 10661 ebp = POP32_VAL(esp); /* 0x2B078A34: pop ebp */ 10662 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078A35: ret */ 10663 RECOMP_REGS_OUT(); 10664 } 10665 10666 void sub_2B078A40(void) { 10667 int _fpu_cmp = 0; 10668 uint32_t _cf = 0; 10669 int _df = 1; 10670 uint32_t _flag_k = FK_NONE; 10671 uint32_t _flag_a = 0, _flag_b = 0; 10672 uint32_t _itail_tgt = 0; 10673 RECOMP_REGS_LOCALS 10674 RECOMP_ENTER(0x2B078A40u); 10675 10676 L_2B078A40: 10677 PUSH32(esp, ebp); /* 0x2B078A40: push ebp */ 10678 ebp = esp; /* 0x2B078A41: mov ebp, esp */ 10679 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 10680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10681 esp = esp - 0x20u; /* 0x2B078A43: sub esp, 0x20 */ 10682 _flag_k = FK_CMP; 10683 PUSH32(esp, ebx); /* 0x2B078A46: push ebx */ 10684 PUSH32(esp, esi); /* 0x2B078A47: push esi */ 10685 PUSH32(esp, edi); /* 0x2B078A48: push edi */ 10686 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 10687 SET_LO8(ebx, 0); /* 0x2B078A49: xor bl, bl */ 10688 _cf = 0; 10689 _flag_k = FK_NARROW(FK_TEST, 24); 10690 edi = ecx; /* 0x2B078A4B: mov edi, ecx */ 10691 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10692 esi = 0; /* 0x2B078A4D: xor esi, esi */ 10693 _cf = 0; 10694 _flag_k = FK_TEST; 10695 L_2B078A4F: 10696 ecx = MEM32(edi + 0x84); /* 0x2B078A4F: mov ecx, dword ptr [edi + 0x84] */ 10697 eax = ebp + (-0x10); /* 0x2B078A55: lea eax, [ebp - 0x10] */ 10698 PUSH32(esp, eax); /* 0x2B078A58: push eax */ 10699 edx = ebp + (-0x18); /* 0x2B078A59: lea edx, [ebp - 0x18] */ 10700 PUSH32(esp, edx); /* 0x2B078A5C: push edx */ 10701 MEM32(ebp + (-0x10)) = esi; /* 0x2B078A5D: mov dword ptr [ebp - 0x10], esi */ 10702 MEM32(ebp + (-0xC)) = 0; /* 0x2B078A60: mov dword ptr [ebp - 0xc], 0 */ 10703 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078A67: call 0x2b06a0b0 */ /* not lifted */ 10704 RECOMP_FLAGS_IN(); 10705 ecx = eax; /* 0x2B078A6C: mov ecx, eax */ 10706 eax = MEM32(ecx); /* 0x2B078A6E: mov eax, dword ptr [ecx] */ 10707 eax = MEM32(eax + 0x10); /* 0x2B078A70: mov eax, dword ptr [eax + 0x10] */ 10708 /* test eax, eax */ /* 0x2B078A73: test eax, eax */ 10709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10710 _cf = 0; 10711 _flag_k = FK_TEST; 10712 edx = MEM32(ecx + 0x4); /* 0x2B078A75: mov edx, dword ptr [ecx + 4] */ 10713 MEM32(ebp + (-0x1C)) = edx; /* 0x2B078A78: mov dword ptr [ebp - 0x1c], edx */ 10714 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078ABB; /* 0x2B078A7B: je 0x2b078abb */ 10715 L_2B078A7D: 10716 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B078A7D: mov cl, byte ptr [eax + 0x70] */ 10717 /* test LO8(ecx), LO8(ecx) */ /* 0x2B078A80: test cl, cl */ 10718 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10719 _cf = 0; 10720 _flag_k = FK_NARROW(FK_TEST, 24); 10721 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078ABB; /* 0x2B078A82: jne 0x2b078abb */ 10722 L_2B078A84: 10723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 10724 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10725 eax = eax + 0x54u; /* 0x2B078A84: add eax, 0x54 */ 10726 _flag_k = FK_ADD; 10727 ecx = ebp + (-0x8); /* 0x2B078A87: lea ecx, [ebp - 8] */ 10728 /* cmp ecx, eax */ /* 0x2B078A8A: cmp ecx, eax */ 10729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 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_2B078A99; /* 0x2B078A8C: je 0x2b078a99 */ 10733 L_2B078A8E: 10734 edx = MEM32(eax); /* 0x2B078A8E: mov edx, dword ptr [eax] */ 10735 eax = MEM32(eax + 0x4); /* 0x2B078A90: mov eax, dword ptr [eax + 4] */ 10736 MEM32(ebp + (-0x8)) = edx; /* 0x2B078A93: mov dword ptr [ebp - 8], edx */ 10737 MEM32(ebp + (-0x4)) = eax; /* 0x2B078A96: mov dword ptr [ebp - 4], eax */ 10738 L_2B078A99: 10739 eax = MEM32(ebp + 0x8); /* 0x2B078A99: mov eax, dword ptr [ebp + 8] */ 10740 ecx = MEM32(ebp + (-0x4)); /* 0x2B078A9C: mov ecx, dword ptr [ebp - 4] */ 10741 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B078A9F: cmp ecx, dword ptr [eax + 4] */ 10742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 10743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10744 _flag_k = FK_CMP; 10745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078ABB; /* 0x2B078AA2: jne 0x2b078abb */ 10746 L_2B078AA4: 10747 edx = MEM32(ebp + (-0x8)); /* 0x2B078AA4: mov edx, dword ptr [ebp - 8] */ 10748 /* cmp edx, MEM32(eax) */ /* 0x2B078AA7: cmp edx, dword ptr [eax] */ 10749 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 10750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10751 _flag_k = FK_CMP; 10752 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078ABB; /* 0x2B078AA9: jne 0x2b078abb */ 10753 L_2B078AAB: 10754 eax = MEM32(ebp + 0xC); /* 0x2B078AAB: mov eax, dword ptr [ebp + 0xc] */ 10755 PUSH32(esp, 0); /* 0x2B078AAE: push 0 */ 10756 PUSH32(esp, esi); /* 0x2B078AB0: push esi */ 10757 PUSH32(esp, eax); /* 0x2B078AB1: push eax */ 10758 ecx = edi; /* 0x2B078AB2: mov ecx, edi */ 10759 RECOMP_ICALL(0x2B078320u); /* 0x2B078AB4: call 0x2b078320 */ /* not lifted */ 10760 RECOMP_FLAGS_IN(); 10761 SET_LO8(ebx, 1); /* 0x2B078AB9: mov bl, 1 */ 10762 L_2B078ABB: 10763 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10764 esi = esi + 1; /* 0x2B078ABB: inc esi */ 10765 _flag_k = FK_INC; 10766 /* cmp esi, 0x64u */ /* 0x2B078ABC: cmp esi, 0x64 */ 10767 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 10768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10769 _flag_k = FK_CMP; 10770 RECOMP_BACKEDGE(); 10771 if (CMP_L(_flag_a, _flag_b)) goto L_2B078A4F; /* 0x2B078ABF: jl 0x2b078a4f */ 10772 L_2B078AC1: 10773 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078AC1: test bl, bl */ 10774 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10775 _cf = 0; 10776 _flag_k = FK_NARROW(FK_TEST, 24); 10777 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078ACC; /* 0x2B078AC3: je 0x2b078acc */ 10778 L_2B078AC5: 10779 ecx = edi; /* 0x2B078AC5: mov ecx, edi */ 10780 RECOMP_ICALL(0x2B077CD0u); /* 0x2B078AC7: call 0x2b077cd0 */ /* not lifted */ 10781 RECOMP_FLAGS_IN(); 10782 L_2B078ACC: 10783 edi = POP32_VAL(esp); /* 0x2B078ACC: pop edi */ 10784 esi = POP32_VAL(esp); /* 0x2B078ACD: pop esi */ 10785 ebx = POP32_VAL(esp); /* 0x2B078ACE: pop ebx */ 10786 esp = ebp; /* 0x2B078ACF: mov esp, ebp */ 10787 ebp = POP32_VAL(esp); /* 0x2B078AD1: pop ebp */ 10788 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B078AD2: ret 8 */ 10789 RECOMP_REGS_OUT(); 10790 } 10791 10792 void sub_2B078AE0(void) { 10793 int _fpu_cmp = 0; 10794 uint32_t _cf = 0; 10795 int _df = 1; 10796 uint32_t _flag_k = FK_NONE; 10797 uint32_t _flag_a = 0, _flag_b = 0; 10798 uint32_t _itail_tgt = 0; 10799 RECOMP_REGS_LOCALS 10800 RECOMP_ENTER(0x2B078AE0u); 10801 10802 L_2B078AE0: 10803 PUSH32(esp, ebp); /* 0x2B078AE0: push ebp */ 10804 ebp = esp; /* 0x2B078AE1: mov ebp, esp */ 10805 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 10806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10807 esp = esp - 0x38u; /* 0x2B078AE3: sub esp, 0x38 */ 10808 _flag_k = FK_CMP; 10809 PUSH32(esp, ebx); /* 0x2B078AE6: push ebx */ 10810 PUSH32(esp, esi); /* 0x2B078AE7: push esi */ 10811 PUSH32(esp, edi); /* 0x2B078AE8: push edi */ 10812 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 10813 SET_LO8(ebx, 0); /* 0x2B078AE9: xor bl, bl */ 10814 _cf = 0; 10815 _flag_k = FK_NARROW(FK_TEST, 24); 10816 edi = ecx; /* 0x2B078AEB: mov edi, ecx */ 10817 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10818 esi = 0; /* 0x2B078AED: xor esi, esi */ 10819 _cf = 0; 10820 _flag_k = FK_TEST; 10821 L_2B078AEF: 10822 ecx = MEM32(edi + 0x84); /* 0x2B078AEF: mov ecx, dword ptr [edi + 0x84] */ 10823 eax = ebp + (-0x20); /* 0x2B078AF5: lea eax, [ebp - 0x20] */ 10824 PUSH32(esp, eax); /* 0x2B078AF8: push eax */ 10825 edx = ebp + (-0x28); /* 0x2B078AF9: lea edx, [ebp - 0x28] */ 10826 PUSH32(esp, edx); /* 0x2B078AFC: push edx */ 10827 MEM32(ebp + (-0x20)) = esi; /* 0x2B078AFD: mov dword ptr [ebp - 0x20], esi */ 10828 MEM32(ebp + (-0x1C)) = 0; /* 0x2B078B00: mov dword ptr [ebp - 0x1c], 0 */ 10829 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B078B07: call 0x2b06a0b0 */ /* not lifted */ 10830 RECOMP_FLAGS_IN(); 10831 ecx = MEM32(eax); /* 0x2B078B0C: mov ecx, dword ptr [eax] */ 10832 MEM32(ebp + (-0x18)) = ecx; /* 0x2B078B0E: mov dword ptr [ebp - 0x18], ecx */ 10833 edx = MEM32(eax + 0x4); /* 0x2B078B11: mov edx, dword ptr [eax + 4] */ 10834 eax = ebp + (-0x14); /* 0x2B078B14: lea eax, [ebp - 0x14] */ 10835 PUSH32(esp, eax); /* 0x2B078B17: push eax */ 10836 ecx = ebp + (-0x18); /* 0x2B078B18: lea ecx, [ebp - 0x18] */ 10837 PUSH32(esp, ecx); /* 0x2B078B1B: push ecx */ 10838 ecx = ebp + (-0x30); /* 0x2B078B1C: lea ecx, [ebp - 0x30] */ 10839 MEM32(ebp + (-0x14)) = edx; /* 0x2B078B1F: mov dword ptr [ebp - 0x14], edx */ 10840 RECOMP_ICALL(0x2B02A020u); /* 0x2B078B22: call 0x2b02a020 */ /* not lifted */ 10841 RECOMP_FLAGS_IN(); 10842 edx = eax; /* 0x2B078B27: mov edx, eax */ 10843 eax = MEM32(edx); /* 0x2B078B29: mov eax, dword ptr [edx] */ 10844 eax = MEM32(eax + 0x10); /* 0x2B078B2B: mov eax, dword ptr [eax + 0x10] */ 10845 /* test eax, eax */ /* 0x2B078B2E: test eax, eax */ 10846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10847 _cf = 0; 10848 _flag_k = FK_TEST; 10849 ecx = MEM32(edx + 0x4); /* 0x2B078B30: mov ecx, dword ptr [edx + 4] */ 10850 MEM32(ebp + (-0x34)) = ecx; /* 0x2B078B33: mov dword ptr [ebp - 0x34], ecx */ 10851 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078BA0; /* 0x2B078B36: je 0x2b078ba0 */ 10852 L_2B078B38: 10853 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B078B38: mov cl, byte ptr [eax + 0x70] */ 10854 /* test LO8(ecx), LO8(ecx) */ /* 0x2B078B3B: test cl, cl */ 10855 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10856 _cf = 0; 10857 _flag_k = FK_NARROW(FK_TEST, 24); 10858 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078BA0; /* 0x2B078B3D: jne 0x2b078ba0 */ 10859 L_2B078B3F: 10860 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 10861 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10862 eax = eax + 0x54u; /* 0x2B078B3F: add eax, 0x54 */ 10863 _flag_k = FK_ADD; 10864 edx = ebp + (-0x8); /* 0x2B078B42: lea edx, [ebp - 8] */ 10865 /* cmp edx, eax */ /* 0x2B078B45: cmp edx, eax */ 10866 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10868 _flag_k = FK_CMP; 10869 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078B54; /* 0x2B078B47: je 0x2b078b54 */ 10870 L_2B078B49: 10871 ecx = MEM32(eax); /* 0x2B078B49: mov ecx, dword ptr [eax] */ 10872 edx = MEM32(eax + 0x4); /* 0x2B078B4B: mov edx, dword ptr [eax + 4] */ 10873 MEM32(ebp + (-0x8)) = ecx; /* 0x2B078B4E: mov dword ptr [ebp - 8], ecx */ 10874 MEM32(ebp + (-0x4)) = edx; /* 0x2B078B51: mov dword ptr [ebp - 4], edx */ 10875 L_2B078B54: 10876 ecx = MEM32(ebp + 0x8); /* 0x2B078B54: mov ecx, dword ptr [ebp + 8] */ 10877 edx = MEM32(ebp + (-0x4)); /* 0x2B078B57: mov edx, dword ptr [ebp - 4] */ 10878 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2B078B5A: cmp edx, dword ptr [ecx + 4] */ 10879 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 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_2B078B6F; /* 0x2B078B5D: jne 0x2b078b6f */ 10883 L_2B078B5F: 10884 edx = MEM32(ebp + (-0x8)); /* 0x2B078B5F: mov edx, dword ptr [ebp - 8] */ 10885 /* cmp edx, MEM32(ecx) */ /* 0x2B078B62: cmp edx, dword ptr [ecx] */ 10886 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx)); 10887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10888 _flag_k = FK_CMP; 10889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078B6F; /* 0x2B078B64: jne 0x2b078b6f */ 10890 L_2B078B66: 10891 eax = MEM32(ebp + 0xC); /* 0x2B078B66: mov eax, dword ptr [ebp + 0xc] */ 10892 PUSH32(esp, 0); /* 0x2B078B69: push 0 */ 10893 PUSH32(esp, esi); /* 0x2B078B6B: push esi */ 10894 PUSH32(esp, eax); /* 0x2B078B6C: push eax */ 10895 goto L_2B078B97; /* 0x2B078B6D: jmp 0x2b078b97 */ 10896 L_2B078B6F: 10897 edx = ebp + (-0x10); /* 0x2B078B6F: lea edx, [ebp - 0x10] */ 10898 /* cmp edx, eax */ /* 0x2B078B72: cmp edx, eax */ 10899 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10901 _flag_k = FK_CMP; 10902 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078B81; /* 0x2B078B74: je 0x2b078b81 */ 10903 L_2B078B76: 10904 edx = MEM32(eax); /* 0x2B078B76: mov edx, dword ptr [eax] */ 10905 eax = MEM32(eax + 0x4); /* 0x2B078B78: mov eax, dword ptr [eax + 4] */ 10906 MEM32(ebp + (-0x10)) = edx; /* 0x2B078B7B: mov dword ptr [ebp - 0x10], edx */ 10907 MEM32(ebp + (-0xC)) = eax; /* 0x2B078B7E: mov dword ptr [ebp - 0xc], eax */ 10908 L_2B078B81: 10909 eax = MEM32(ebp + 0xC); /* 0x2B078B81: mov eax, dword ptr [ebp + 0xc] */ 10910 edx = MEM32(ebp + (-0xC)); /* 0x2B078B84: mov edx, dword ptr [ebp - 0xc] */ 10911 /* cmp edx, MEM32(eax + 0x4) */ /* 0x2B078B87: cmp edx, dword ptr [eax + 4] */ 10912 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 10913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10914 _flag_k = FK_CMP; 10915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078BA0; /* 0x2B078B8A: jne 0x2b078ba0 */ 10916 L_2B078B8C: 10917 edx = MEM32(ebp + (-0x10)); /* 0x2B078B8C: mov edx, dword ptr [ebp - 0x10] */ 10918 /* cmp edx, MEM32(eax) */ /* 0x2B078B8F: cmp edx, dword ptr [eax] */ 10919 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 10920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10921 _flag_k = FK_CMP; 10922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078BA0; /* 0x2B078B91: jne 0x2b078ba0 */ 10923 L_2B078B93: 10924 PUSH32(esp, 0); /* 0x2B078B93: push 0 */ 10925 PUSH32(esp, esi); /* 0x2B078B95: push esi */ 10926 PUSH32(esp, ecx); /* 0x2B078B96: push ecx */ 10927 L_2B078B97: 10928 ecx = edi; /* 0x2B078B97: mov ecx, edi */ 10929 RECOMP_ICALL(0x2B078320u); /* 0x2B078B99: call 0x2b078320 */ /* not lifted */ 10930 RECOMP_FLAGS_IN(); 10931 SET_LO8(ebx, 1); /* 0x2B078B9E: mov bl, 1 */ 10932 L_2B078BA0: 10933 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10934 esi = esi + 1; /* 0x2B078BA0: inc esi */ 10935 _flag_k = FK_INC; 10936 /* cmp esi, 0x64u */ /* 0x2B078BA1: cmp esi, 0x64 */ 10937 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x64u); 10938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10939 _flag_k = FK_CMP; 10940 RECOMP_BACKEDGE(); 10941 if (CMP_L(_flag_a, _flag_b)) goto L_2B078AEF; /* 0x2B078BA4: jl 0x2b078aef */ 10942 L_2B078BAA: 10943 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078BAA: test bl, bl */ 10944 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10945 _cf = 0; 10946 _flag_k = FK_NARROW(FK_TEST, 24); 10947 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078BB5; /* 0x2B078BAC: je 0x2b078bb5 */ 10948 L_2B078BAE: 10949 ecx = edi; /* 0x2B078BAE: mov ecx, edi */ 10950 RECOMP_ICALL(0x2B077CD0u); /* 0x2B078BB0: call 0x2b077cd0 */ /* not lifted */ 10951 RECOMP_FLAGS_IN(); 10952 L_2B078BB5: 10953 edi = POP32_VAL(esp); /* 0x2B078BB5: pop edi */ 10954 esi = POP32_VAL(esp); /* 0x2B078BB6: pop esi */ 10955 ebx = POP32_VAL(esp); /* 0x2B078BB7: pop ebx */ 10956 esp = ebp; /* 0x2B078BB8: mov esp, ebp */ 10957 ebp = POP32_VAL(esp); /* 0x2B078BBA: pop ebp */ 10958 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B078BBB: ret 8 */ 10959 RECOMP_REGS_OUT(); 10960 } 10961 10962 void sub_2B078BC0(void) { 10963 int _fpu_cmp = 0; 10964 uint32_t _cf = 0; 10965 int _df = 1; 10966 uint32_t _flag_k = FK_NONE; 10967 uint32_t _flag_a = 0, _flag_b = 0; 10968 uint32_t _itail_tgt = 0; 10969 RECOMP_REGS_LOCALS 10970 RECOMP_ENTER(0x2B078BC0u); 10971 10972 L_2B078BC0: 10973 PUSH32(esp, ebp); /* 0x2B078BC0: push ebp */ 10974 ebp = esp; /* 0x2B078BC1: mov ebp, esp */ 10975 PUSH32(esp, ebx); /* 0x2B078BC3: push ebx */ 10976 PUSH32(esp, esi); /* 0x2B078BC4: push esi */ 10977 ebx = ecx; /* 0x2B078BC5: mov ebx, ecx */ 10978 eax = MEM32(ebx + 0x8); /* 0x2B078BC7: mov eax, dword ptr [ebx + 8] */ 10979 PUSH32(esp, edi); /* 0x2B078BCA: push edi */ 10980 edi = MEM32(ebp + 0x8); /* 0x2B078BCB: mov edi, dword ptr [ebp + 8] */ 10981 /* cmp edi, eax */ /* 0x2B078BCE: cmp edi, eax */ 10982 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10984 _flag_k = FK_CMP; 10985 esi = edi; /* 0x2B078BD0: mov esi, edi */ 10986 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078BF3; /* 0x2B078BD2: je 0x2b078bf3 */ 10987 L_2B078BD4: 10988 eax = MEM32(esi + 0x8); /* 0x2B078BD4: mov eax, dword ptr [esi + 8] */ 10989 PUSH32(esp, eax); /* 0x2B078BD7: push eax */ 10990 ecx = ebx; /* 0x2B078BD8: mov ecx, ebx */ 10991 RECOMP_ICALL(0x2B078BC0u); /* 0x2B078BDA: call 0x2b078bc0 */ /* not lifted */ 10992 RECOMP_FLAGS_IN(); 10993 esi = MEM32(esi); /* 0x2B078BDF: mov esi, dword ptr [esi] */ 10994 PUSH32(esp, edi); /* 0x2B078BE1: push edi */ 10995 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B078BE2: call 0x2b0ab1ba */ /* not lifted */ 10996 RECOMP_FLAGS_IN(); 10997 eax = MEM32(ebx + 0x8); /* 0x2B078BE7: mov eax, dword ptr [ebx + 8] */ 10998 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11000 esp = esp + 4; /* 0x2B078BEA: add esp, 4 */ 11001 _flag_k = FK_ADD; 11002 /* cmp esi, eax */ /* 0x2B078BED: cmp esi, eax */ 11003 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11005 _flag_k = FK_CMP; 11006 edi = esi; /* 0x2B078BEF: mov edi, esi */ 11007 RECOMP_BACKEDGE(); 11008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078BD4; /* 0x2B078BF1: jne 0x2b078bd4 */ 11009 L_2B078BF3: 11010 edi = POP32_VAL(esp); /* 0x2B078BF3: pop edi */ 11011 esi = POP32_VAL(esp); /* 0x2B078BF4: pop esi */ 11012 ebx = POP32_VAL(esp); /* 0x2B078BF5: pop ebx */ 11013 ebp = POP32_VAL(esp); /* 0x2B078BF6: pop ebp */ 11014 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B078BF7: ret 4 */ 11015 RECOMP_REGS_OUT(); 11016 } 11017 11018 void sub_2B078C00(void) { 11019 int _fpu_cmp = 0; 11020 uint32_t _cf = 0; 11021 int _df = 1; 11022 uint32_t _flag_k = FK_NONE; 11023 uint32_t _flag_a = 0, _flag_b = 0; 11024 uint32_t _itail_tgt = 0; 11025 RECOMP_REGS_LOCALS 11026 RECOMP_ENTER(0x2B078C00u); 11027 11028 L_2B078C00: 11029 PUSH32(esp, ebp); /* 0x2B078C00: push ebp */ 11030 ebp = esp; /* 0x2B078C01: mov ebp, esp */ 11031 PUSH32(esp, 0x18u); /* 0x2B078C03: push 0x18 */ 11032 RECOMP_ICALL(0x2B0AB212u); /* 0x2B078C05: call 0x2b0ab212 */ /* not lifted */ 11033 RECOMP_FLAGS_IN(); 11034 ecx = MEM32(ebp + 0x8); /* 0x2B078C0A: mov ecx, dword ptr [ebp + 8] */ 11035 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2B078C0D: mov dl, byte ptr [ebp + 0xc] */ 11036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11038 esp = esp + 4; /* 0x2B078C10: add esp, 4 */ 11039 _flag_k = FK_ADD; 11040 MEM32(eax + 0x4) = ecx; /* 0x2B078C13: mov dword ptr [eax + 4], ecx */ 11041 MEM8(eax + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B078C16: mov byte ptr [eax + 0x14], dl */ 11042 MEM8(eax + 0x15) = (uint8_t)(0); /* 0x2B078C19: mov byte ptr [eax + 0x15], 0 */ 11043 ebp = POP32_VAL(esp); /* 0x2B078C1D: pop ebp */ 11044 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B078C1E: ret 8 */ 11045 RECOMP_REGS_OUT(); 11046 } 11047 11048 void sub_2B078C30(void) { 11049 int _fpu_cmp = 0; 11050 uint32_t _cf = 0; 11051 int _df = 1; 11052 uint32_t _flag_k = FK_NONE; 11053 uint32_t _flag_a = 0, _flag_b = 0; 11054 uint32_t _itail_tgt = 0; 11055 RECOMP_REGS_LOCALS 11056 RECOMP_ENTER(0x2B078C30u); 11057 11058 L_2B078C30: 11059 eax = MEM32(ecx); /* 0x2B078C30: mov eax, dword ptr [ecx] */ 11060 SET_LO8(edx, MEM8(eax + 0x14)); /* 0x2B078C32: mov dl, byte ptr [eax + 0x14] */ 11061 /* test LO8(edx), LO8(edx) */ /* 0x2B078C35: test dl, dl */ 11062 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11063 _cf = 0; 11064 _flag_k = FK_NARROW(FK_TEST, 24); 11065 PUSH32(esp, ebx); /* 0x2B078C37: push ebx */ 11066 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078C49; /* 0x2B078C38: jne 0x2b078c49 */ 11067 L_2B078C3A: 11068 edx = MEM32(eax + 0x4); /* 0x2B078C3A: mov edx, dword ptr [eax + 4] */ 11069 /* cmp MEM32(edx + 0x4), eax */ /* 0x2B078C3D: cmp dword ptr [edx + 4], eax */ 11070 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 11071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11072 _flag_k = FK_CMP; 11073 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078C49; /* 0x2B078C40: jne 0x2b078c49 */ 11074 L_2B078C42: 11075 eax = MEM32(eax + 0x8); /* 0x2B078C42: mov eax, dword ptr [eax + 8] */ 11076 MEM32(ecx) = eax; /* 0x2B078C45: mov dword ptr [ecx], eax */ 11077 ebx = POP32_VAL(esp); /* 0x2B078C47: pop ebx */ 11078 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078C48: ret */ 11079 L_2B078C49: 11080 edx = MEM32(eax); /* 0x2B078C49: mov edx, dword ptr [eax] */ 11081 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2B078C4B: mov bl, byte ptr [edx + 0x15] */ 11082 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078C4E: test bl, bl */ 11083 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11084 _cf = 0; 11085 _flag_k = FK_NARROW(FK_TEST, 24); 11086 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078C6C; /* 0x2B078C50: jne 0x2b078c6c */ 11087 L_2B078C52: 11088 eax = MEM32(edx + 0x8); /* 0x2B078C52: mov eax, dword ptr [edx + 8] */ 11089 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B078C55: mov bl, byte ptr [eax + 0x15] */ 11090 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078C58: test bl, bl */ 11091 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11092 _cf = 0; 11093 _flag_k = FK_NARROW(FK_TEST, 24); 11094 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078C68; /* 0x2B078C5A: jne 0x2b078c68 */ 11095 L_2B078C5C: 11096 edx = eax; /* 0x2B078C5C: mov edx, eax */ 11097 eax = MEM32(edx + 0x8); /* 0x2B078C5E: mov eax, dword ptr [edx + 8] */ 11098 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B078C61: mov bl, byte ptr [eax + 0x15] */ 11099 /* test LO8(ebx), LO8(ebx) */ /* 0x2B078C64: test bl, bl */ 11100 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11101 _cf = 0; 11102 _flag_k = FK_NARROW(FK_TEST, 24); 11103 RECOMP_BACKEDGE(); 11104 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078C5C; /* 0x2B078C66: je 0x2b078c5c */ 11105 L_2B078C68: 11106 MEM32(ecx) = edx; /* 0x2B078C68: mov dword ptr [ecx], edx */ 11107 ebx = POP32_VAL(esp); /* 0x2B078C6A: pop ebx */ 11108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078C6B: ret */ 11109 L_2B078C6C: 11110 eax = MEM32(eax + 0x4); /* 0x2B078C6C: mov eax, dword ptr [eax + 4] */ 11111 edx = MEM32(ecx); /* 0x2B078C6F: mov edx, dword ptr [ecx] */ 11112 /* cmp edx, MEM32(eax) */ /* 0x2B078C71: cmp edx, dword ptr [eax] */ 11113 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 11114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11115 _flag_k = FK_CMP; 11116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078C80; /* 0x2B078C73: jne 0x2b078c80 */ 11117 L_2B078C75: 11118 MEM32(ecx) = eax; /* 0x2B078C75: mov dword ptr [ecx], eax */ 11119 eax = MEM32(eax + 0x4); /* 0x2B078C77: mov eax, dword ptr [eax + 4] */ 11120 edx = MEM32(ecx); /* 0x2B078C7A: mov edx, dword ptr [ecx] */ 11121 /* cmp edx, MEM32(eax) */ /* 0x2B078C7C: cmp edx, dword ptr [eax] */ 11122 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 11123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11124 _flag_k = FK_CMP; 11125 RECOMP_BACKEDGE(); 11126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078C75; /* 0x2B078C7E: je 0x2b078c75 */ 11127 L_2B078C80: 11128 MEM32(ecx) = eax; /* 0x2B078C80: mov dword ptr [ecx], eax */ 11129 ebx = POP32_VAL(esp); /* 0x2B078C82: pop ebx */ 11130 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078C83: ret */ 11131 RECOMP_REGS_OUT(); 11132 } 11133 11134 void sub_2B078C90(void) { 11135 int _fpu_cmp = 0; 11136 uint32_t _cf = 0; 11137 int _df = 1; 11138 uint32_t _flag_k = FK_NONE; 11139 uint32_t _flag_a = 0, _flag_b = 0; 11140 uint32_t _itail_tgt = 0; 11141 RECOMP_REGS_LOCALS 11142 RECOMP_ENTER(0x2B078C90u); 11143 11144 L_2B078C90: 11145 PUSH32(esp, ebx); /* 0x2B078C90: push ebx */ 11146 PUSH32(esp, esi); /* 0x2B078C91: push esi */ 11147 esi = MEM32(0x2B0B53CC); /* 0x2B078C92: mov esi, dword ptr [0x2b0b53cc] */ 11148 PUSH32(esp, edi); /* 0x2B078C98: push edi */ 11149 ebx = ecx; /* 0x2B078C99: mov ebx, ecx */ 11150 RECOMP_ICALL(esi); /* 0x2B078C9B: call esi */ 11151 RECOMP_FLAGS_IN(); 11152 ecx = eax; /* 0x2B078C9D: mov ecx, eax */ 11153 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B078C9F: call dword ptr [0x2b0b5374] */ 11154 RECOMP_FLAGS_IN(); 11155 PUSH32(esp, 0x7D0u); /* 0x2B078CA5: push 0x7d0 */ 11156 PUSH32(esp, 0x18u); /* 0x2B078CAA: push 0x18 */ 11157 PUSH32(esp, 1); /* 0x2B078CAC: push 1 */ 11158 RECOMP_ICALL(esi); /* 0x2B078CAE: call esi */ 11159 RECOMP_FLAGS_IN(); 11160 ecx = eax; /* 0x2B078CB0: mov ecx, eax */ 11161 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B078CB2: call dword ptr [0x2b0b5378] */ 11162 RECOMP_FLAGS_IN(); 11163 PUSH32(esp, 0x2B078E10u); /* 0x2B078CB8: push 0x2b078e10 */ 11164 RECOMP_ICALL(esi); /* 0x2B078CBD: call esi */ 11165 RECOMP_FLAGS_IN(); 11166 ecx = eax; /* 0x2B078CBF: mov ecx, eax */ 11167 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B078CC1: call dword ptr [0x2b0b537c] */ 11168 RECOMP_FLAGS_IN(); 11169 PUSH32(esp, 0x2B078EB0u); /* 0x2B078CC7: push 0x2b078eb0 */ 11170 PUSH32(esp, 5); /* 0x2B078CCC: push 5 */ 11171 RECOMP_ICALL(esi); /* 0x2B078CCE: call esi */ 11172 RECOMP_FLAGS_IN(); 11173 edi = MEM32(0x2B0B5324); /* 0x2B078CD0: mov edi, dword ptr [0x2b0b5324] */ 11174 ecx = eax; /* 0x2B078CD6: mov ecx, eax */ 11175 RECOMP_ICALL(edi); /* 0x2B078CD8: call edi */ 11176 RECOMP_FLAGS_IN(); 11177 PUSH32(esp, 0x2B078F30u); /* 0x2B078CDA: push 0x2b078f30 */ 11178 PUSH32(esp, 6); /* 0x2B078CDF: push 6 */ 11179 RECOMP_ICALL(esi); /* 0x2B078CE1: call esi */ 11180 RECOMP_FLAGS_IN(); 11181 ecx = eax; /* 0x2B078CE3: mov ecx, eax */ 11182 RECOMP_ICALL(edi); /* 0x2B078CE5: call edi */ 11183 RECOMP_FLAGS_IN(); 11184 PUSH32(esp, 0x2B078F80u); /* 0x2B078CE7: push 0x2b078f80 */ 11185 PUSH32(esp, 8); /* 0x2B078CEC: push 8 */ 11186 RECOMP_ICALL(esi); /* 0x2B078CEE: call esi */ 11187 RECOMP_FLAGS_IN(); 11188 ecx = eax; /* 0x2B078CF0: mov ecx, eax */ 11189 RECOMP_ICALL(edi); /* 0x2B078CF2: call edi */ 11190 RECOMP_FLAGS_IN(); 11191 PUSH32(esp, 0x2B078F90u); /* 0x2B078CF4: push 0x2b078f90 */ 11192 PUSH32(esp, 0xF7u); /* 0x2B078CF9: push 0xf7 */ 11193 RECOMP_ICALL(esi); /* 0x2B078CFE: call esi */ 11194 RECOMP_FLAGS_IN(); 11195 ecx = eax; /* 0x2B078D00: mov ecx, eax */ 11196 RECOMP_ICALL(edi); /* 0x2B078D02: call edi */ 11197 RECOMP_FLAGS_IN(); 11198 PUSH32(esp, 0x2B079110u); /* 0x2B078D04: push 0x2b079110 */ 11199 PUSH32(esp, 0xF8u); /* 0x2B078D09: push 0xf8 */ 11200 RECOMP_ICALL(esi); /* 0x2B078D0E: call esi */ 11201 RECOMP_FLAGS_IN(); 11202 ecx = eax; /* 0x2B078D10: mov ecx, eax */ 11203 RECOMP_ICALL(edi); /* 0x2B078D12: call edi */ 11204 RECOMP_FLAGS_IN(); 11205 PUSH32(esp, 0x2B079110u); /* 0x2B078D14: push 0x2b079110 */ 11206 PUSH32(esp, 0xF9u); /* 0x2B078D19: push 0xf9 */ 11207 RECOMP_ICALL(esi); /* 0x2B078D1E: call esi */ 11208 RECOMP_FLAGS_IN(); 11209 ecx = eax; /* 0x2B078D20: mov ecx, eax */ 11210 RECOMP_ICALL(edi); /* 0x2B078D22: call edi */ 11211 RECOMP_FLAGS_IN(); 11212 PUSH32(esp, 0x2B0790C0u); /* 0x2B078D24: push 0x2b0790c0 */ 11213 PUSH32(esp, 0xFAu); /* 0x2B078D29: push 0xfa */ 11214 RECOMP_ICALL(esi); /* 0x2B078D2E: call esi */ 11215 RECOMP_FLAGS_IN(); 11216 ecx = eax; /* 0x2B078D30: mov ecx, eax */ 11217 RECOMP_ICALL(edi); /* 0x2B078D32: call edi */ 11218 RECOMP_FLAGS_IN(); 11219 PUSH32(esp, 0x2B079110u); /* 0x2B078D34: push 0x2b079110 */ 11220 PUSH32(esp, 0xFBu); /* 0x2B078D39: push 0xfb */ 11221 RECOMP_ICALL(esi); /* 0x2B078D3E: call esi */ 11222 RECOMP_FLAGS_IN(); 11223 ecx = eax; /* 0x2B078D40: mov ecx, eax */ 11224 RECOMP_ICALL(edi); /* 0x2B078D42: call edi */ 11225 RECOMP_FLAGS_IN(); 11226 PUSH32(esp, 0x2B079110u); /* 0x2B078D44: push 0x2b079110 */ 11227 PUSH32(esp, 0xFCu); /* 0x2B078D49: push 0xfc */ 11228 RECOMP_ICALL(esi); /* 0x2B078D4E: call esi */ 11229 RECOMP_FLAGS_IN(); 11230 ecx = eax; /* 0x2B078D50: mov ecx, eax */ 11231 RECOMP_ICALL(edi); /* 0x2B078D52: call edi */ 11232 RECOMP_FLAGS_IN(); 11233 PUSH32(esp, 0x2B079110u); /* 0x2B078D54: push 0x2b079110 */ 11234 PUSH32(esp, 0xFDu); /* 0x2B078D59: push 0xfd */ 11235 RECOMP_ICALL(esi); /* 0x2B078D5E: call esi */ 11236 RECOMP_FLAGS_IN(); 11237 ecx = eax; /* 0x2B078D60: mov ecx, eax */ 11238 RECOMP_ICALL(edi); /* 0x2B078D62: call edi */ 11239 RECOMP_FLAGS_IN(); 11240 PUSH32(esp, 0x2B079150u); /* 0x2B078D64: push 0x2b079150 */ 11241 PUSH32(esp, 0xFEu); /* 0x2B078D69: push 0xfe */ 11242 RECOMP_ICALL(esi); /* 0x2B078D6E: call esi */ 11243 RECOMP_FLAGS_IN(); 11244 ecx = eax; /* 0x2B078D70: mov ecx, eax */ 11245 RECOMP_ICALL(edi); /* 0x2B078D72: call edi */ 11246 RECOMP_FLAGS_IN(); 11247 PUSH32(esp, 0x2B079190u); /* 0x2B078D74: push 0x2b079190 */ 11248 PUSH32(esp, 0xFFu); /* 0x2B078D79: push 0xff */ 11249 RECOMP_ICALL(esi); /* 0x2B078D7E: call esi */ 11250 RECOMP_FLAGS_IN(); 11251 ecx = eax; /* 0x2B078D80: mov ecx, eax */ 11252 RECOMP_ICALL(edi); /* 0x2B078D82: call edi */ 11253 RECOMP_FLAGS_IN(); 11254 PUSH32(esp, 0x2B0791F0u); /* 0x2B078D84: push 0x2b0791f0 */ 11255 PUSH32(esp, 0x74u); /* 0x2B078D89: push 0x74 */ 11256 RECOMP_ICALL(esi); /* 0x2B078D8B: call esi */ 11257 RECOMP_FLAGS_IN(); 11258 ecx = eax; /* 0x2B078D8D: mov ecx, eax */ 11259 RECOMP_ICALL(edi); /* 0x2B078D8F: call edi */ 11260 RECOMP_FLAGS_IN(); 11261 PUSH32(esp, 0x2B079460u); /* 0x2B078D91: push 0x2b079460 */ 11262 PUSH32(esp, 0x100u); /* 0x2B078D96: push 0x100 */ 11263 RECOMP_ICALL(esi); /* 0x2B078D9B: call esi */ 11264 RECOMP_FLAGS_IN(); 11265 ecx = eax; /* 0x2B078D9D: mov ecx, eax */ 11266 RECOMP_ICALL(edi); /* 0x2B078D9F: call edi */ 11267 RECOMP_FLAGS_IN(); 11268 PUSH32(esp, 0x2B079110u); /* 0x2B078DA1: push 0x2b079110 */ 11269 PUSH32(esp, 0x101u); /* 0x2B078DA6: push 0x101 */ 11270 RECOMP_ICALL(esi); /* 0x2B078DAB: call esi */ 11271 RECOMP_FLAGS_IN(); 11272 ecx = eax; /* 0x2B078DAD: mov ecx, eax */ 11273 RECOMP_ICALL(edi); /* 0x2B078DAF: call edi */ 11274 RECOMP_FLAGS_IN(); 11275 PUSH32(esp, 0x2B079110u); /* 0x2B078DB1: push 0x2b079110 */ 11276 PUSH32(esp, 0x102u); /* 0x2B078DB6: push 0x102 */ 11277 RECOMP_ICALL(esi); /* 0x2B078DBB: call esi */ 11278 RECOMP_FLAGS_IN(); 11279 ecx = eax; /* 0x2B078DBD: mov ecx, eax */ 11280 RECOMP_ICALL(edi); /* 0x2B078DBF: call edi */ 11281 RECOMP_FLAGS_IN(); 11282 PUSH32(esp, 0x2B0794B0u); /* 0x2B078DC1: push 0x2b0794b0 */ 11283 PUSH32(esp, 0x103u); /* 0x2B078DC6: push 0x103 */ 11284 RECOMP_ICALL(esi); /* 0x2B078DCB: call esi */ 11285 RECOMP_FLAGS_IN(); 11286 ecx = eax; /* 0x2B078DCD: mov ecx, eax */ 11287 RECOMP_ICALL(edi); /* 0x2B078DCF: call edi */ 11288 RECOMP_FLAGS_IN(); 11289 PUSH32(esp, 0x2B0794C0u); /* 0x2B078DD1: push 0x2b0794c0 */ 11290 PUSH32(esp, 0xA7u); /* 0x2B078DD6: push 0xa7 */ 11291 RECOMP_ICALL(esi); /* 0x2B078DDB: call esi */ 11292 RECOMP_FLAGS_IN(); 11293 ecx = eax; /* 0x2B078DDD: mov ecx, eax */ 11294 RECOMP_ICALL(edi); /* 0x2B078DDF: call edi */ 11295 RECOMP_FLAGS_IN(); 11296 PUSH32(esp, 0x2B079510u); /* 0x2B078DE1: push 0x2b079510 */ 11297 PUSH32(esp, 0x104u); /* 0x2B078DE6: push 0x104 */ 11298 RECOMP_ICALL(esi); /* 0x2B078DEB: call esi */ 11299 RECOMP_FLAGS_IN(); 11300 ecx = eax; /* 0x2B078DED: mov ecx, eax */ 11301 RECOMP_ICALL(edi); /* 0x2B078DEF: call edi */ 11302 RECOMP_FLAGS_IN(); 11303 edi = POP32_VAL(esp); /* 0x2B078DF1: pop edi */ 11304 esi = POP32_VAL(esp); /* 0x2B078DF2: pop esi */ 11305 eax = ebx; /* 0x2B078DF3: mov eax, ebx */ 11306 MEM32(0x2B0EF034) = 0; /* 0x2B078DF5: mov dword ptr [0x2b0ef034], 0 */ 11307 ebx = POP32_VAL(esp); /* 0x2B078DFF: pop ebx */ 11308 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078E00: ret */ 11309 RECOMP_REGS_OUT(); 11310 } 11311 11312 void sub_2B078E10(void) { 11313 int _fpu_cmp = 0; 11314 uint32_t _cf = 0; 11315 int _df = 1; 11316 uint32_t _flag_k = FK_NONE; 11317 uint32_t _flag_a = 0, _flag_b = 0; 11318 uint32_t _itail_tgt = 0; 11319 RECOMP_REGS_LOCALS 11320 RECOMP_ENTER(0x2B078E10u); 11321 11322 goto L_2B078E10; 11323 L_2B078080: 11324 SET_LO8(eax, MEM8(ecx + 0x80)); /* 0x2B078080: mov al, byte ptr [ecx + 0x80] */ 11325 L_2B078086: 11326 /* test LO8(eax), LO8(eax) */ /* 0x2B078086: test al, al */ 11327 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11328 _cf = 0; 11329 _flag_k = FK_NARROW(FK_TEST, 24); 11330 L_2B078088: 11331 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B078092; /* 0x2B078088: je 0x2b078092 */ 11332 L_2B07808A: 11333 MEM8(ecx + 0x80) = (uint8_t)(0); /* 0x2B07808A: mov byte ptr [ecx + 0x80], 0 */ 11334 L_2B078091: 11335 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078091: ret */ 11336 L_2B078092: 11337 ecx = MEM32(ecx + 0x7C); /* 0x2B078092: mov ecx, dword ptr [ecx + 0x7c] */ 11338 L_2B078095: 11339 eax = MEM32(ecx); /* 0x2B078095: mov eax, dword ptr [ecx] */ 11340 L_2B078097: 11341 { _itail_tgt = (uint32_t)(MEM32(eax + 0xC)); goto _ljump; } 11342 L_2B078E10: 11343 ecx = MEM32(0x2B0EF034); /* 0x2B078E10: mov ecx, dword ptr [0x2b0ef034] */ 11344 L_2B078E16: 11345 /* test ecx, ecx */ /* 0x2B078E16: test ecx, ecx */ 11346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11347 _cf = 0; 11348 _flag_k = FK_TEST; 11349 L_2B078E18: 11350 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B078E1F; /* 0x2B078E18: je 0x2b078e1f */ 11351 L_2B078E1A: 11352 RECOMP_BACKEDGE(); 11353 goto L_2B078080; /* 0x2B078E1A: jmp 0x2b078080 */ 11354 L_2B078E1F: 11355 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078E1F: ret */ 11356 _ljump: 11357 switch (_itail_tgt) { 11358 case 0x2B078080u: goto L_2B078080; 11359 case 0x2B078086u: goto L_2B078086; 11360 case 0x2B078088u: goto L_2B078088; 11361 case 0x2B07808Au: goto L_2B07808A; 11362 case 0x2B078091u: goto L_2B078091; 11363 case 0x2B078092u: goto L_2B078092; 11364 case 0x2B078095u: goto L_2B078095; 11365 case 0x2B078097u: goto L_2B078097; 11366 case 0x2B078E10u: goto L_2B078E10; 11367 case 0x2B078E16u: goto L_2B078E16; 11368 case 0x2B078E18u: goto L_2B078E18; 11369 case 0x2B078E1Au: goto L_2B078E1A; 11370 case 0x2B078E1Fu: goto L_2B078E1F; 11371 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 11372 } 11373 RECOMP_REGS_OUT(); 11374 } 11375 11376 void sub_2B078E20(void) { 11377 int _fpu_cmp = 0; 11378 uint32_t _cf = 0; 11379 int _df = 1; 11380 uint32_t _flag_k = FK_NONE; 11381 uint32_t _flag_a = 0, _flag_b = 0; 11382 uint32_t _itail_tgt = 0; 11383 RECOMP_REGS_LOCALS 11384 RECOMP_ENTER(0x2B078E20u); 11385 11386 L_2B078E20: 11387 RECOMP_ICALL(0x2B078F30u); /* 0x2B078E20: call 0x2b078f30 */ /* not lifted */ 11388 RECOMP_FLAGS_IN(); 11389 MEM32(0x2B0EF034) = 0; /* 0x2B078E25: mov dword ptr [0x2b0ef034], 0 */ 11390 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078E2F: ret */ 11391 RECOMP_REGS_OUT(); 11392 } 11393 11394 void sub_2B078E30(void) { 11395 int _fpu_cmp = 0; 11396 uint32_t _cf = 0; 11397 int _df = 1; 11398 uint32_t _flag_k = FK_NONE; 11399 uint32_t _flag_a = 0, _flag_b = 0; 11400 uint32_t _itail_tgt = 0; 11401 RECOMP_REGS_LOCALS 11402 RECOMP_ENTER(0x2B078E30u); 11403 11404 L_2B078E30: 11405 PUSH32(esp, ebp); /* 0x2B078E30: push ebp */ 11406 ebp = esp; /* 0x2B078E31: mov ebp, esp */ 11407 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B078E33: push -1 */ 11408 PUSH32(esp, 0x2B0B158Bu); /* 0x2B078E35: push 0x2b0b158b */ 11409 eax = MEM32(FS_BASE + (0)); /* 0x2B078E3A: mov eax, dword ptr fs:[0] */ 11410 PUSH32(esp, eax); /* 0x2B078E40: push eax */ 11411 MEM32(FS_BASE + (0)) = esp; /* 0x2B078E41: mov dword ptr fs:[0], esp */ 11412 PUSH32(esp, ecx); /* 0x2B078E48: push ecx */ 11413 eax = MEM32(0x2B0EF030); /* 0x2B078E49: mov eax, dword ptr [0x2b0ef030] */ 11414 /* test eax, eax */ /* 0x2B078E4E: test eax, eax */ 11415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11416 _cf = 0; 11417 _flag_k = FK_TEST; 11418 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078E8B; /* 0x2B078E50: jne 0x2b078e8b */ 11419 L_2B078E52: 11420 PUSH32(esp, 1); /* 0x2B078E52: push 1 */ 11421 RECOMP_ICALL(0x2B0AB212u); /* 0x2B078E54: call 0x2b0ab212 */ /* not lifted */ 11422 RECOMP_FLAGS_IN(); 11423 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11425 esp = esp + 4; /* 0x2B078E59: add esp, 4 */ 11426 _flag_k = FK_ADD; 11427 MEM32(ebp + (-0x10)) = eax; /* 0x2B078E5C: mov dword ptr [ebp - 0x10], eax */ 11428 /* test eax, eax */ /* 0x2B078E5F: test eax, eax */ 11429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11430 _cf = 0; 11431 _flag_k = FK_TEST; 11432 MEM32(ebp + (-0x4)) = 0; /* 0x2B078E61: mov dword ptr [ebp - 4], 0 */ 11433 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078E84; /* 0x2B078E68: je 0x2b078e84 */ 11434 L_2B078E6A: 11435 ecx = eax; /* 0x2B078E6A: mov ecx, eax */ 11436 RECOMP_ICALL(0x2B078C90u); /* 0x2B078E6C: call 0x2b078c90 */ /* not lifted */ 11437 RECOMP_FLAGS_IN(); 11438 MEM32(0x2B0EF030) = eax; /* 0x2B078E71: mov dword ptr [0x2b0ef030], eax */ 11439 ecx = MEM32(ebp + (-0xC)); /* 0x2B078E76: mov ecx, dword ptr [ebp - 0xc] */ 11440 MEM32(FS_BASE + (0)) = ecx; /* 0x2B078E79: mov dword ptr fs:[0], ecx */ 11441 esp = ebp; /* 0x2B078E80: mov esp, ebp */ 11442 ebp = POP32_VAL(esp); /* 0x2B078E82: pop ebp */ 11443 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078E83: ret */ 11444 L_2B078E84: 11445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11446 eax = 0; /* 0x2B078E84: xor eax, eax */ 11447 _cf = 0; 11448 _flag_k = FK_TEST; 11449 MEM32(0x2B0EF030) = eax; /* 0x2B078E86: mov dword ptr [0x2b0ef030], eax */ 11450 L_2B078E8B: 11451 ecx = MEM32(ebp + (-0xC)); /* 0x2B078E8B: mov ecx, dword ptr [ebp - 0xc] */ 11452 MEM32(FS_BASE + (0)) = ecx; /* 0x2B078E8E: mov dword ptr fs:[0], ecx */ 11453 esp = ebp; /* 0x2B078E95: mov esp, ebp */ 11454 ebp = POP32_VAL(esp); /* 0x2B078E97: pop ebp */ 11455 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078E98: ret */ 11456 RECOMP_REGS_OUT(); 11457 } 11458 11459 void sub_2B078EA0(void) { 11460 int _fpu_cmp = 0; 11461 uint32_t _cf = 0; 11462 int _df = 1; 11463 uint32_t _flag_k = FK_NONE; 11464 uint32_t _flag_a = 0, _flag_b = 0; 11465 uint32_t _itail_tgt = 0; 11466 RECOMP_REGS_LOCALS 11467 RECOMP_ENTER(0x2B078EA0u); 11468 11469 L_2B078EA0: 11470 eax = MEM32(0x2B0EF030); /* 0x2B078EA0: mov eax, dword ptr [0x2b0ef030] */ 11471 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078EA5: ret */ 11472 RECOMP_REGS_OUT(); 11473 } 11474 11475 void sub_2B078EB0(void) { 11476 int _fpu_cmp = 0; 11477 uint32_t _cf = 0; 11478 int _df = 1; 11479 uint32_t _flag_k = FK_NONE; 11480 uint32_t _flag_a = 0, _flag_b = 0; 11481 uint32_t _itail_tgt = 0; 11482 RECOMP_REGS_LOCALS 11483 RECOMP_ENTER(0x2B078EB0u); 11484 11485 L_2B078EB0: 11486 PUSH32(esp, ebp); /* 0x2B078EB0: push ebp */ 11487 ebp = esp; /* 0x2B078EB1: mov ebp, esp */ 11488 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B078EB3: push -1 */ 11489 PUSH32(esp, 0x2B0B15ABu); /* 0x2B078EB5: push 0x2b0b15ab */ 11490 eax = MEM32(FS_BASE + (0)); /* 0x2B078EBA: mov eax, dword ptr fs:[0] */ 11491 PUSH32(esp, eax); /* 0x2B078EC0: push eax */ 11492 MEM32(FS_BASE + (0)) = esp; /* 0x2B078EC1: mov dword ptr fs:[0], esp */ 11493 PUSH32(esp, ecx); /* 0x2B078EC8: push ecx */ 11494 eax = MEM32(0x2B0EF034); /* 0x2B078EC9: mov eax, dword ptr [0x2b0ef034] */ 11495 /* test eax, eax */ /* 0x2B078ECE: test eax, eax */ 11496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11497 _cf = 0; 11498 _flag_k = FK_TEST; 11499 MEM32(0x2B0EF038) = 0; /* 0x2B078ED0: mov dword ptr [0x2b0ef038], 0 */ 11500 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078F18; /* 0x2B078EDA: jne 0x2b078f18 */ 11501 L_2B078EDC: 11502 PUSH32(esp, 0x94u); /* 0x2B078EDC: push 0x94 */ 11503 RECOMP_ICALL(0x2B0AB212u); /* 0x2B078EE1: call 0x2b0ab212 */ /* not lifted */ 11504 RECOMP_FLAGS_IN(); 11505 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11506 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11507 esp = esp + 4; /* 0x2B078EE6: add esp, 4 */ 11508 _flag_k = FK_ADD; 11509 MEM32(ebp + (-0x10)) = eax; /* 0x2B078EE9: mov dword ptr [ebp - 0x10], eax */ 11510 /* test eax, eax */ /* 0x2B078EEC: test eax, eax */ 11511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11512 _cf = 0; 11513 _flag_k = FK_TEST; 11514 MEM32(ebp + (-0x4)) = 0; /* 0x2B078EEE: mov dword ptr [ebp - 4], 0 */ 11515 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078F11; /* 0x2B078EF5: je 0x2b078f11 */ 11516 L_2B078EF7: 11517 ecx = eax; /* 0x2B078EF7: mov ecx, eax */ 11518 RECOMP_ICALL(0x2B076550u); /* 0x2B078EF9: call 0x2b076550 */ /* not lifted */ 11519 RECOMP_FLAGS_IN(); 11520 MEM32(0x2B0EF034) = eax; /* 0x2B078EFE: mov dword ptr [0x2b0ef034], eax */ 11521 ecx = MEM32(ebp + (-0xC)); /* 0x2B078F03: mov ecx, dword ptr [ebp - 0xc] */ 11522 MEM32(FS_BASE + (0)) = ecx; /* 0x2B078F06: mov dword ptr fs:[0], ecx */ 11523 esp = ebp; /* 0x2B078F0D: mov esp, ebp */ 11524 ebp = POP32_VAL(esp); /* 0x2B078F0F: pop ebp */ 11525 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078F10: ret */ 11526 L_2B078F11: 11527 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11528 eax = 0; /* 0x2B078F11: xor eax, eax */ 11529 _cf = 0; 11530 _flag_k = FK_TEST; 11531 MEM32(0x2B0EF034) = eax; /* 0x2B078F13: mov dword ptr [0x2b0ef034], eax */ 11532 L_2B078F18: 11533 ecx = MEM32(ebp + (-0xC)); /* 0x2B078F18: mov ecx, dword ptr [ebp - 0xc] */ 11534 MEM32(FS_BASE + (0)) = ecx; /* 0x2B078F1B: mov dword ptr fs:[0], ecx */ 11535 esp = ebp; /* 0x2B078F22: mov esp, ebp */ 11536 ebp = POP32_VAL(esp); /* 0x2B078F24: pop ebp */ 11537 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078F25: ret */ 11538 RECOMP_REGS_OUT(); 11539 } 11540 11541 void sub_2B078F30(void) { 11542 int _fpu_cmp = 0; 11543 uint32_t _cf = 0; 11544 int _df = 1; 11545 uint32_t _flag_k = FK_NONE; 11546 uint32_t _flag_a = 0, _flag_b = 0; 11547 uint32_t _itail_tgt = 0; 11548 RECOMP_REGS_LOCALS 11549 RECOMP_ENTER(0x2B078F30u); 11550 11551 L_2B078F30: 11552 ecx = MEM32(0x2B0EF038); /* 0x2B078F30: mov ecx, dword ptr [0x2b0ef038] */ 11553 /* test ecx, ecx */ /* 0x2B078F36: test ecx, ecx */ 11554 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11555 _cf = 0; 11556 _flag_k = FK_TEST; 11557 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078F40; /* 0x2B078F38: je 0x2b078f40 */ 11558 L_2B078F3A: 11559 eax = MEM32(ecx); /* 0x2B078F3A: mov eax, dword ptr [ecx] */ 11560 PUSH32(esp, 1); /* 0x2B078F3C: push 1 */ 11561 RECOMP_ICALL(MEM32(eax)); /* 0x2B078F3E: call dword ptr [eax] */ 11562 RECOMP_FLAGS_IN(); 11563 L_2B078F40: 11564 PUSH32(esp, esi); /* 0x2B078F40: push esi */ 11565 esi = MEM32(0x2B0EF034); /* 0x2B078F41: mov esi, dword ptr [0x2b0ef034] */ 11566 /* test esi, esi */ /* 0x2B078F47: test esi, esi */ 11567 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11568 _cf = 0; 11569 _flag_k = FK_TEST; 11570 MEM32(0x2B0EF038) = 0; /* 0x2B078F49: mov dword ptr [0x2b0ef038], 0 */ 11571 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078F65; /* 0x2B078F53: je 0x2b078f65 */ 11572 L_2B078F55: 11573 ecx = esi; /* 0x2B078F55: mov ecx, esi */ 11574 RECOMP_ICALL(0x2B077080u); /* 0x2B078F57: call 0x2b077080 */ /* not lifted */ 11575 RECOMP_FLAGS_IN(); 11576 PUSH32(esp, esi); /* 0x2B078F5C: push esi */ 11577 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B078F5D: call 0x2b0ab1ba */ /* not lifted */ 11578 RECOMP_FLAGS_IN(); 11579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11581 esp = esp + 4; /* 0x2B078F62: add esp, 4 */ 11582 _flag_k = FK_ADD; 11583 L_2B078F65: 11584 MEM32(0x2B0EF034) = 0; /* 0x2B078F65: mov dword ptr [0x2b0ef034], 0 */ 11585 esi = POP32_VAL(esp); /* 0x2B078F6F: pop esi */ 11586 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078F70: ret */ 11587 RECOMP_REGS_OUT(); 11588 } 11589 11590 void sub_2B078F80(void) { 11591 int _fpu_cmp = 0; 11592 uint32_t _cf = 0; 11593 int _df = 1; 11594 uint32_t _flag_k = FK_NONE; 11595 uint32_t _flag_a = 0, _flag_b = 0; 11596 uint32_t _itail_tgt = 0; 11597 RECOMP_REGS_LOCALS 11598 RECOMP_ENTER(0x2B078F80u); 11599 11600 goto L_2B078F80; 11601 L_2B0777A0: 11602 PUSH32(esp, ebp); /* 0x2B0777A0: push ebp */ 11603 ebp = esp; /* 0x2B0777A1: mov ebp, esp */ 11604 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 11605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11606 esp = esp - 0x28u; /* 0x2B0777A3: sub esp, 0x28 */ 11607 _flag_k = FK_CMP; 11608 PUSH32(esp, ebx); /* 0x2B0777A6: push ebx */ 11609 PUSH32(esp, esi); /* 0x2B0777A7: push esi */ 11610 esi = ecx; /* 0x2B0777A8: mov esi, ecx */ 11611 SET_LO8(eax, MEM8(esi + 0x90)); /* 0x2B0777AA: mov al, byte ptr [esi + 0x90] */ 11612 /* test LO8(eax), LO8(eax) */ /* 0x2B0777B0: test al, al */ 11613 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11614 _cf = 0; 11615 _flag_k = FK_NARROW(FK_TEST, 24); 11616 PUSH32(esp, edi); /* 0x2B0777B2: push edi */ 11617 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0777E2; /* 0x2B0777B3: jne 0x2b0777e2 */ 11618 L_2B0777B5: 11619 ebx = MEM32(0x2B0B5798); /* 0x2B0777B5: mov ebx, dword ptr [0x2b0b5798] */ 11620 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11621 edi = 0; /* 0x2B0777BB: xor edi, edi */ 11622 _cf = 0; 11623 _flag_k = FK_TEST; 11624 L_2B0777BD: 11625 ecx = MEM32(esi + 0x8C); /* 0x2B0777BD: mov ecx, dword ptr [esi + 0x8c] */ 11626 PUSH32(esp, edi); /* 0x2B0777C3: push edi */ 11627 RECOMP_ICALL(ebx); /* 0x2B0777C4: call ebx */ 11628 RECOMP_FLAGS_IN(); 11629 /* test eax, eax */ /* 0x2B0777C6: test eax, eax */ 11630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11631 _cf = 0; 11632 _flag_k = FK_TEST; 11633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0777D5; /* 0x2B0777C8: je 0x2b0777d5 */ 11634 L_2B0777CA: 11635 PUSH32(esp, 0); /* 0x2B0777CA: push 0 */ 11636 PUSH32(esp, edi); /* 0x2B0777CC: push edi */ 11637 PUSH32(esp, eax); /* 0x2B0777CD: push eax */ 11638 ecx = esi; /* 0x2B0777CE: mov ecx, esi */ 11639 RECOMP_ICALL(0x2B078320u); /* 0x2B0777D0: call 0x2b078320 */ /* not lifted */ 11640 RECOMP_FLAGS_IN(); 11641 L_2B0777D5: 11642 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11643 edi = edi + 1; /* 0x2B0777D5: inc edi */ 11644 _flag_k = FK_INC; 11645 /* cmp edi, 0x64u */ /* 0x2B0777D6: cmp edi, 0x64 */ 11646 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 11647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11648 _flag_k = FK_CMP; 11649 RECOMP_BACKEDGE(); 11650 if (CMP_L(_flag_a, _flag_b)) goto L_2B0777BD; /* 0x2B0777D9: jl 0x2b0777bd */ 11651 L_2B0777DB: 11652 MEM8(esi + 0x90) = (uint8_t)(1); /* 0x2B0777DB: mov byte ptr [esi + 0x90], 1 */ 11653 L_2B0777E2: 11654 eax = MEM32(esi + 0x88); /* 0x2B0777E2: mov eax, dword ptr [esi + 0x88] */ 11655 PUSH32(esp, eax); /* 0x2B0777E8: push eax */ 11656 ecx = esi; /* 0x2B0777E9: mov ecx, esi */ 11657 RECOMP_ICALL(0x2B0779B0u); /* 0x2B0777EB: call 0x2b0779b0 */ /* not lifted */ 11658 RECOMP_FLAGS_IN(); 11659 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11660 ebx = 0; /* 0x2B0777F0: xor ebx, ebx */ 11661 _cf = 0; 11662 _flag_k = FK_TEST; 11663 L_2B0777F2: 11664 ecx = MEM32(esi + 0x84); /* 0x2B0777F2: mov ecx, dword ptr [esi + 0x84] */ 11665 edx = ebp + (-0x18); /* 0x2B0777F8: lea edx, [ebp - 0x18] */ 11666 PUSH32(esp, edx); /* 0x2B0777FB: push edx */ 11667 eax = ebp + (-0x28); /* 0x2B0777FC: lea eax, [ebp - 0x28] */ 11668 PUSH32(esp, eax); /* 0x2B0777FF: push eax */ 11669 MEM32(ebp + (-0x18)) = ebx; /* 0x2B077800: mov dword ptr [ebp - 0x18], ebx */ 11670 MEM32(ebp + (-0x14)) = 0; /* 0x2B077803: mov dword ptr [ebp - 0x14], 0 */ 11671 RECOMP_ICALL(0x2B031EB0u); /* 0x2B07780A: call 0x2b031eb0 */ /* not lifted */ 11672 RECOMP_FLAGS_IN(); 11673 eax = MEM32(eax); /* 0x2B07780F: mov eax, dword ptr [eax] */ 11674 eax = MEM32(eax + 0x10); /* 0x2B077811: mov eax, dword ptr [eax + 0x10] */ 11675 /* test eax, eax */ /* 0x2B077814: test eax, eax */ 11676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11677 _cf = 0; 11678 _flag_k = FK_TEST; 11679 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B077816: je 0x2b07787c */ 11680 L_2B077818: 11681 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B077818: mov cl, byte ptr [eax + 0x70] */ 11682 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07781B: test cl, cl */ 11683 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11684 _cf = 0; 11685 _flag_k = FK_NARROW(FK_TEST, 24); 11686 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B07781D: jne 0x2b07787c */ 11687 L_2B07781F: 11688 ecx = MEM32(eax + 0x5C); /* 0x2B07781F: mov ecx, dword ptr [eax + 0x5c] */ 11689 /* test ecx, ecx */ /* 0x2B077822: test ecx, ecx */ 11690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11691 _cf = 0; 11692 _flag_k = FK_TEST; 11693 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B077824: jne 0x2b07787c */ 11694 L_2B077826: 11695 edi = eax + 0x54; /* 0x2B077826: lea edi, [eax + 0x54] */ 11696 ecx = ebp + (-0x8); /* 0x2B077829: lea ecx, [ebp - 8] */ 11697 /* cmp ecx, edi */ /* 0x2B07782C: cmp ecx, edi */ 11698 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 11699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11700 _flag_k = FK_CMP; 11701 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07783B; /* 0x2B07782E: je 0x2b07783b */ 11702 L_2B077830: 11703 edx = MEM32(edi); /* 0x2B077830: mov edx, dword ptr [edi] */ 11704 eax = MEM32(edi + 0x4); /* 0x2B077832: mov eax, dword ptr [edi + 4] */ 11705 MEM32(ebp + (-0x8)) = edx; /* 0x2B077835: mov dword ptr [ebp - 8], edx */ 11706 MEM32(ebp + (-0x4)) = eax; /* 0x2B077838: mov dword ptr [ebp - 4], eax */ 11707 L_2B07783B: 11708 ecx = MEM32(ebp + (-0x8)); /* 0x2B07783B: mov ecx, dword ptr [ebp - 8] */ 11709 edx = MEM32(ebp + (-0x4)); /* 0x2B07783E: mov edx, dword ptr [ebp - 4] */ 11710 eax = ebp + (-0x20); /* 0x2B077841: lea eax, [ebp - 0x20] */ 11711 PUSH32(esp, eax); /* 0x2B077844: push eax */ 11712 MEM32(ebp + (-0x20)) = ecx; /* 0x2B077845: mov dword ptr [ebp - 0x20], ecx */ 11713 MEM32(ebp + (-0x1C)) = edx; /* 0x2B077848: mov dword ptr [ebp - 0x1c], edx */ 11714 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07784B: call dword ptr [0x2b0b5d6c] */ 11715 RECOMP_FLAGS_IN(); 11716 ecx = eax; /* 0x2B077851: mov ecx, eax */ 11717 RECOMP_ICALL(MEM32(0x2B0B5F2C)); /* 0x2B077853: call dword ptr [0x2b0b5f2c] */ 11718 RECOMP_FLAGS_IN(); 11719 /* test LO8(eax), LO8(eax) */ /* 0x2B077859: test al, al */ 11720 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11721 _cf = 0; 11722 _flag_k = FK_NARROW(FK_TEST, 24); 11723 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07787C; /* 0x2B07785B: jne 0x2b07787c */ 11724 L_2B07785D: 11725 ecx = ebp + (-0x10); /* 0x2B07785D: lea ecx, [ebp - 0x10] */ 11726 /* cmp ecx, edi */ /* 0x2B077860: cmp ecx, edi */ 11727 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 11728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11729 _flag_k = FK_CMP; 11730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07786F; /* 0x2B077862: je 0x2b07786f */ 11731 L_2B077864: 11732 edx = MEM32(edi); /* 0x2B077864: mov edx, dword ptr [edi] */ 11733 eax = MEM32(edi + 0x4); /* 0x2B077866: mov eax, dword ptr [edi + 4] */ 11734 MEM32(ebp + (-0x10)) = edx; /* 0x2B077869: mov dword ptr [ebp - 0x10], edx */ 11735 MEM32(ebp + (-0xC)) = eax; /* 0x2B07786C: mov dword ptr [ebp - 0xc], eax */ 11736 L_2B07786F: 11737 PUSH32(esp, 1); /* 0x2B07786F: push 1 */ 11738 ecx = ebp + (-0x10); /* 0x2B077871: lea ecx, [ebp - 0x10] */ 11739 PUSH32(esp, ecx); /* 0x2B077874: push ecx */ 11740 ecx = esi; /* 0x2B077875: mov ecx, esi */ 11741 RECOMP_ICALL(0x2B078600u); /* 0x2B077877: call 0x2b078600 */ /* not lifted */ 11742 RECOMP_FLAGS_IN(); 11743 L_2B07787C: 11744 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 11745 ebx = ebx + 1; /* 0x2B07787C: inc ebx */ 11746 _flag_k = FK_INC; 11747 /* cmp ebx, 0x64u */ /* 0x2B07787D: cmp ebx, 0x64 */ 11748 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 11749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11750 _flag_k = FK_CMP; 11751 RECOMP_BACKEDGE(); 11752 if (CMP_L(_flag_a, _flag_b)) goto L_2B0777F2; /* 0x2B077880: jl 0x2b0777f2 */ 11753 L_2B077886: 11754 ebx = MEM32(0x2B0B5894); /* 0x2B077886: mov ebx, dword ptr [0x2b0b5894] */ 11755 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11756 edi = 0; /* 0x2B07788C: xor edi, edi */ 11757 _cf = 0; 11758 _flag_k = FK_TEST; 11759 L_2B07788E: 11760 ecx = MEM32(esi + 0x84); /* 0x2B07788E: mov ecx, dword ptr [esi + 0x84] */ 11761 edx = ebp + (-0x20); /* 0x2B077894: lea edx, [ebp - 0x20] */ 11762 PUSH32(esp, edx); /* 0x2B077897: push edx */ 11763 eax = ebp + (-0x28); /* 0x2B077898: lea eax, [ebp - 0x28] */ 11764 PUSH32(esp, eax); /* 0x2B07789B: push eax */ 11765 MEM32(ebp + (-0x20)) = edi; /* 0x2B07789C: mov dword ptr [ebp - 0x20], edi */ 11766 MEM32(ebp + (-0x1C)) = 0; /* 0x2B07789F: mov dword ptr [ebp - 0x1c], 0 */ 11767 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0778A6: call 0x2b031eb0 */ /* not lifted */ 11768 RECOMP_FLAGS_IN(); 11769 eax = MEM32(eax); /* 0x2B0778AB: mov eax, dword ptr [eax] */ 11770 ecx = MEM32(eax + 0x10); /* 0x2B0778AD: mov ecx, dword ptr [eax + 0x10] */ 11771 /* test ecx, ecx */ /* 0x2B0778B0: test ecx, ecx */ 11772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11773 _cf = 0; 11774 _flag_k = FK_TEST; 11775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0778BD; /* 0x2B0778B2: je 0x2b0778bd */ 11776 L_2B0778B4: 11777 SET_LO8(eax, MEM8(ecx + 0x70)); /* 0x2B0778B4: mov al, byte ptr [ecx + 0x70] */ 11778 /* test LO8(eax), LO8(eax) */ /* 0x2B0778B7: test al, al */ 11779 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11780 _cf = 0; 11781 _flag_k = FK_NARROW(FK_TEST, 24); 11782 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0778BD; /* 0x2B0778B9: jne 0x2b0778bd */ 11783 L_2B0778BB: 11784 RECOMP_ICALL(ebx); /* 0x2B0778BB: call ebx */ 11785 RECOMP_FLAGS_IN(); 11786 L_2B0778BD: 11787 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11788 edi = edi + 1; /* 0x2B0778BD: inc edi */ 11789 _flag_k = FK_INC; 11790 /* cmp edi, 0x64u */ /* 0x2B0778BE: cmp edi, 0x64 */ 11791 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x64u); 11792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11793 _flag_k = FK_CMP; 11794 RECOMP_BACKEDGE(); 11795 if (CMP_L(_flag_a, _flag_b)) goto L_2B07788E; /* 0x2B0778C1: jl 0x2b07788e */ 11796 L_2B0778C3: 11797 ecx = MEM32(0x2B0B6048); /* 0x2B0778C3: mov ecx, dword ptr [0x2b0b6048] */ 11798 ecx = MEM32(ecx); /* 0x2B0778C9: mov ecx, dword ptr [ecx] */ 11799 PUSH32(esp, 2); /* 0x2B0778CB: push 2 */ 11800 PUSH32(esp, 0x2B0EC38Cu); /* 0x2B0778CD: push 0x2b0ec38c */ 11801 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B0778D2: call dword ptr [0x2b0b602c] */ 11802 RECOMP_FLAGS_IN(); 11803 /* test eax, eax */ /* 0x2B0778D8: test eax, eax */ 11804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11805 _cf = 0; 11806 _flag_k = FK_TEST; 11807 PUSH32(esp, 2); /* 0x2B0778DA: push 2 */ 11808 PUSH32(esp, 0x36u); /* 0x2B0778DC: push 0x36 */ 11809 SET_LO8(ebx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0778DE: setne bl */ 11810 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0778E1: call dword ptr [0x2b0b5d6c] */ 11811 RECOMP_FLAGS_IN(); 11812 ecx = eax; /* 0x2B0778E7: mov ecx, eax */ 11813 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B0778E9: call dword ptr [0x2b0b5d70] */ 11814 RECOMP_FLAGS_IN(); 11815 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0778EF: test bl, bl */ 11816 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11817 _cf = 0; 11818 _flag_k = FK_NARROW(FK_TEST, 24); 11819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07799A; /* 0x2B0778F1: je 0x2b07799a */ 11820 L_2B0778F7: 11821 /* cmp eax, 1 */ /* 0x2B0778F7: cmp eax, 1 */ 11822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11824 _flag_k = FK_CMP; 11825 if (CMP_G(_flag_a, _flag_b)) goto L_2B077971; /* 0x2B0778FA: jg 0x2b077971 */ 11826 L_2B0778FC: 11827 PUSH32(esp, 0); /* 0x2B0778FC: push 0 */ 11828 PUSH32(esp, 0); /* 0x2B0778FE: push 0 */ 11829 edx = ebp + (-0x8); /* 0x2B077900: lea edx, [ebp - 8] */ 11830 PUSH32(esp, edx); /* 0x2B077903: push edx */ 11831 ecx = esi; /* 0x2B077904: mov ecx, esi */ 11832 MEM32(ebp + (-0x8)) = 0xDEB0u; /* 0x2B077906: mov dword ptr [ebp - 8], 0xdeb0 */ 11833 MEM32(ebp + (-0x4)) = 0xC1A5u; /* 0x2B07790D: mov dword ptr [ebp - 4], 0xc1a5 */ 11834 RECOMP_ICALL(0x2B078320u); /* 0x2B077914: call 0x2b078320 */ /* not lifted */ 11835 RECOMP_FLAGS_IN(); 11836 PUSH32(esp, 0); /* 0x2B077919: push 0 */ 11837 PUSH32(esp, 1); /* 0x2B07791B: push 1 */ 11838 eax = ebp + (-0x8); /* 0x2B07791D: lea eax, [ebp - 8] */ 11839 PUSH32(esp, eax); /* 0x2B077920: push eax */ 11840 ecx = esi; /* 0x2B077921: mov ecx, esi */ 11841 MEM32(ebp + (-0x4)) = 0xC1A3u; /* 0x2B077923: mov dword ptr [ebp - 4], 0xc1a3 */ 11842 RECOMP_ICALL(0x2B078320u); /* 0x2B07792A: call 0x2b078320 */ /* not lifted */ 11843 RECOMP_FLAGS_IN(); 11844 PUSH32(esp, 0); /* 0x2B07792F: push 0 */ 11845 PUSH32(esp, 2); /* 0x2B077931: push 2 */ 11846 ecx = ebp + (-0x8); /* 0x2B077933: lea ecx, [ebp - 8] */ 11847 PUSH32(esp, ecx); /* 0x2B077936: push ecx */ 11848 ecx = esi; /* 0x2B077937: mov ecx, esi */ 11849 MEM32(ebp + (-0x4)) = 0xC1A9u; /* 0x2B077939: mov dword ptr [ebp - 4], 0xc1a9 */ 11850 RECOMP_ICALL(0x2B078320u); /* 0x2B077940: call 0x2b078320 */ /* not lifted */ 11851 RECOMP_FLAGS_IN(); 11852 PUSH32(esp, 0); /* 0x2B077945: push 0 */ 11853 PUSH32(esp, 3); /* 0x2B077947: push 3 */ 11854 edx = ebp + (-0x8); /* 0x2B077949: lea edx, [ebp - 8] */ 11855 PUSH32(esp, edx); /* 0x2B07794C: push edx */ 11856 ecx = esi; /* 0x2B07794D: mov ecx, esi */ 11857 MEM32(ebp + (-0x4)) = 0xC1A8u; /* 0x2B07794F: mov dword ptr [ebp - 4], 0xc1a8 */ 11858 RECOMP_ICALL(0x2B078320u); /* 0x2B077956: call 0x2b078320 */ /* not lifted */ 11859 RECOMP_FLAGS_IN(); 11860 PUSH32(esp, 1); /* 0x2B07795B: push 1 */ 11861 PUSH32(esp, 9); /* 0x2B07795D: push 9 */ 11862 eax = ebp + (-0x8); /* 0x2B07795F: lea eax, [ebp - 8] */ 11863 PUSH32(esp, eax); /* 0x2B077962: push eax */ 11864 ecx = esi; /* 0x2B077963: mov ecx, esi */ 11865 MEM32(ebp + (-0x4)) = 0x00014124u; /* 0x2B077965: mov dword ptr [ebp - 4], 0x14124 */ 11866 RECOMP_ICALL(0x2B078320u); /* 0x2B07796C: call 0x2b078320 */ /* not lifted */ 11867 RECOMP_FLAGS_IN(); 11868 L_2B077971: 11869 ecx = MEM32(0x2B0B6048); /* 0x2B077971: mov ecx, dword ptr [0x2b0b6048] */ 11870 ecx = MEM32(ecx); /* 0x2B077977: mov ecx, dword ptr [ecx] */ 11871 PUSH32(esp, 1); /* 0x2B077979: push 1 */ 11872 PUSH32(esp, 2); /* 0x2B07797B: push 2 */ 11873 PUSH32(esp, 0); /* 0x2B07797D: push 0 */ 11874 PUSH32(esp, 0x2B0EC38Cu); /* 0x2B07797F: push 0x2b0ec38c */ 11875 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B077984: call dword ptr [0x2b0b604c] */ 11876 RECOMP_FLAGS_IN(); 11877 edx = MEM32(0x2B0B6048); /* 0x2B07798A: mov edx, dword ptr [0x2b0b6048] */ 11878 ecx = MEM32(edx); /* 0x2B077990: mov ecx, dword ptr [edx] */ 11879 PUSH32(esp, 2); /* 0x2B077992: push 2 */ 11880 RECOMP_ICALL(MEM32(0x2B0B6034)); /* 0x2B077994: call dword ptr [0x2b0b6034] */ 11881 RECOMP_FLAGS_IN(); 11882 L_2B07799A: 11883 edi = POP32_VAL(esp); /* 0x2B07799A: pop edi */ 11884 esi = POP32_VAL(esp); /* 0x2B07799B: pop esi */ 11885 ebx = POP32_VAL(esp); /* 0x2B07799C: pop ebx */ 11886 esp = ebp; /* 0x2B07799D: mov esp, ebp */ 11887 ebp = POP32_VAL(esp); /* 0x2B07799F: pop ebp */ 11888 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0779A0: ret */ 11889 L_2B078F80: 11890 ecx = MEM32(0x2B0EF034); /* 0x2B078F80: mov ecx, dword ptr [0x2b0ef034] */ 11891 /* test ecx, ecx */ /* 0x2B078F86: test ecx, ecx */ 11892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11893 _cf = 0; 11894 _flag_k = FK_TEST; 11895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078F8F; /* 0x2B078F88: je 0x2b078f8f */ 11896 L_2B078F8A: 11897 RECOMP_BACKEDGE(); 11898 goto L_2B0777A0; /* 0x2B078F8A: jmp 0x2b0777a0 */ 11899 L_2B078F8F: 11900 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078F8F: ret */ 11901 RECOMP_REGS_OUT(); 11902 } 11903 11904 void sub_2B078F90(void) { 11905 int _fpu_cmp = 0; 11906 uint32_t _cf = 0; 11907 int _df = 1; 11908 uint32_t _flag_k = FK_NONE; 11909 uint32_t _flag_a = 0, _flag_b = 0; 11910 uint32_t _itail_tgt = 0; 11911 RECOMP_REGS_LOCALS 11912 RECOMP_ENTER(0x2B078F90u); 11913 11914 L_2B078F90: 11915 PUSH32(esp, ebp); /* 0x2B078F90: push ebp */ 11916 ebp = esp; /* 0x2B078F91: mov ebp, esp */ 11917 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 11918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11919 esp = esp - 0x18u; /* 0x2B078F93: sub esp, 0x18 */ 11920 _flag_k = FK_CMP; 11921 eax = MEM32(0x2B0EF034); /* 0x2B078F96: mov eax, dword ptr [0x2b0ef034] */ 11922 /* test eax, eax */ /* 0x2B078F9B: test eax, eax */ 11923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11924 _cf = 0; 11925 _flag_k = FK_TEST; 11926 PUSH32(esp, ebx); /* 0x2B078F9D: push ebx */ 11927 PUSH32(esp, esi); /* 0x2B078F9E: push esi */ 11928 PUSH32(esp, edi); /* 0x2B078F9F: push edi */ 11929 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0790B7; /* 0x2B078FA0: je 0x2b0790b7 */ 11930 L_2B078FA6: 11931 ebx = MEM32(0x2B0B53CC); /* 0x2B078FA6: mov ebx, dword ptr [0x2b0b53cc] */ 11932 RECOMP_ICALL(ebx); /* 0x2B078FAC: call ebx */ 11933 RECOMP_FLAGS_IN(); 11934 ecx = eax; /* 0x2B078FAE: mov ecx, eax */ 11935 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B078FB0: call dword ptr [0x2b0b53a4] */ 11936 RECOMP_FLAGS_IN(); 11937 edi = eax; /* 0x2B078FB6: mov edi, eax */ 11938 /* test edi, edi */ /* 0x2B078FB8: test edi, edi */ 11939 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11940 _cf = 0; 11941 _flag_k = FK_TEST; 11942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0790B7; /* 0x2B078FBA: je 0x2b0790b7 */ 11943 L_2B078FC0: 11944 esi = edi + 0x98; /* 0x2B078FC0: lea esi, [edi + 0x98] */ 11945 eax = ebp + (-0x18); /* 0x2B078FC6: lea eax, [ebp - 0x18] */ 11946 /* cmp eax, esi */ /* 0x2B078FC9: cmp eax, esi */ 11947 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11949 _flag_k = FK_CMP; 11950 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078FD3; /* 0x2B078FCB: je 0x2b078fd3 */ 11951 L_2B078FCD: 11952 ecx = MEM32(esi + 0x4); /* 0x2B078FCD: mov ecx, dword ptr [esi + 4] */ 11953 MEM32(ebp + (-0x14)) = ecx; /* 0x2B078FD0: mov dword ptr [ebp - 0x14], ecx */ 11954 L_2B078FD3: 11955 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11956 eax = 0; /* 0x2B078FD3: xor eax, eax */ 11957 _cf = 0; 11958 _flag_k = FK_TEST; 11959 edx = ebp + (-0x8); /* 0x2B078FD5: lea edx, [ebp - 8] */ 11960 PUSH32(esp, edx); /* 0x2B078FD8: push edx */ 11961 MEM32(ebp + (-0x8)) = eax; /* 0x2B078FD9: mov dword ptr [ebp - 8], eax */ 11962 MEM32(ebp + (-0x4)) = eax; /* 0x2B078FDC: mov dword ptr [ebp - 4], eax */ 11963 RECOMP_ICALL(ebx); /* 0x2B078FDF: call ebx */ 11964 RECOMP_FLAGS_IN(); 11965 ecx = eax; /* 0x2B078FE1: mov ecx, eax */ 11966 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B078FE3: call dword ptr [0x2b0b53ac] */ 11967 RECOMP_FLAGS_IN(); 11968 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B078FE9: call dword ptr [0x2b0b596c] */ 11969 RECOMP_FLAGS_IN(); 11970 ecx = eax; /* 0x2B078FEF: mov ecx, eax */ 11971 RECOMP_ICALL(MEM32(0x2B0B5914)); /* 0x2B078FF1: call dword ptr [0x2b0b5914] */ 11972 RECOMP_FLAGS_IN(); 11973 /* test eax, eax */ /* 0x2B078FF7: test eax, eax */ 11974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11975 _cf = 0; 11976 _flag_k = FK_TEST; 11977 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0790B7; /* 0x2B078FF9: je 0x2b0790b7 */ 11978 L_2B078FFF: 11979 ecx = eax + 0x98; /* 0x2B078FFF: lea ecx, [eax + 0x98] */ 11980 edx = ebp + (-0x10); /* 0x2B079005: lea edx, [ebp - 0x10] */ 11981 /* cmp edx, ecx */ /* 0x2B079008: cmp edx, ecx */ 11982 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11984 _flag_k = FK_CMP; 11985 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079012; /* 0x2B07900A: je 0x2b079012 */ 11986 L_2B07900C: 11987 ecx = MEM32(ecx + 0x4); /* 0x2B07900C: mov ecx, dword ptr [ecx + 4] */ 11988 MEM32(ebp + (-0xC)) = ecx; /* 0x2B07900F: mov dword ptr [ebp - 0xc], ecx */ 11989 L_2B079012: 11990 ebx = MEM32(eax + 0x88); /* 0x2B079012: mov ebx, dword ptr [eax + 0x88] */ 11991 /* cmp MEM32(ebp + (-0x8)), 0xDEB0u */ /* 0x2B079018: cmp dword ptr [ebp - 8], 0xdeb0 */ 11992 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(0xDEB0u); 11993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11994 _flag_k = FK_CMP; 11995 if (CMP_NE(_flag_a, _flag_b)) goto L_2B079033; /* 0x2B07901F: jne 0x2b079033 */ 11996 L_2B079021: 11997 edx = ebp + (-0x8); /* 0x2B079021: lea edx, [ebp - 8] */ 11998 PUSH32(esp, edx); /* 0x2B079024: push edx */ 11999 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B079025: call dword ptr [0x2b0b5d6c] */ 12000 RECOMP_FLAGS_IN(); 12001 ecx = eax; /* 0x2B07902B: mov ecx, eax */ 12002 RECOMP_ICALL(MEM32(0x2B0B5C84)); /* 0x2B07902D: call dword ptr [0x2b0b5c84] */ 12003 RECOMP_FLAGS_IN(); 12004 L_2B079033: 12005 /* cmp ebx, 0x18u */ /* 0x2B079033: cmp ebx, 0x18 */ 12006 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x18u); 12007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12008 _flag_k = FK_CMP; 12009 if (CMP_NE(_flag_a, _flag_b)) goto L_2B079058; /* 0x2B079036: jne 0x2b079058 */ 12010 L_2B079038: 12011 PUSH32(esp, 0); /* 0x2B079038: push 0 */ 12012 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B07903A: call dword ptr [0x2b0b596c] */ 12013 RECOMP_FLAGS_IN(); 12014 ecx = eax; /* 0x2B079040: mov ecx, eax */ 12015 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B079042: call dword ptr [0x2b0b591c] */ 12016 RECOMP_FLAGS_IN(); 12017 eax = MEM32(ebp + (-0xC)); /* 0x2B079048: mov eax, dword ptr [ebp - 0xc] */ 12018 PUSH32(esp, 0); /* 0x2B07904B: push 0 */ 12019 PUSH32(esp, eax); /* 0x2B07904D: push eax */ 12020 RECOMP_ICALL(0x2B078290u); /* 0x2B07904E: call 0x2b078290 */ /* not lifted */ 12021 RECOMP_FLAGS_IN(); 12022 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12023 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12024 esp = esp + 8; /* 0x2B079053: add esp, 8 */ 12025 _flag_k = FK_ADD; 12026 goto L_2B079068; /* 0x2B079056: jmp 0x2b079068 */ 12027 L_2B079058: 12028 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B079058: call dword ptr [0x2b0b596c] */ 12029 RECOMP_FLAGS_IN(); 12030 PUSH32(esp, 1); /* 0x2B07905E: push 1 */ 12031 ecx = eax; /* 0x2B079060: mov ecx, eax */ 12032 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B079062: call dword ptr [0x2b0b591c] */ 12033 RECOMP_FLAGS_IN(); 12034 L_2B079068: 12035 SET_LO8(eax, MEM8(edi + 0x70)); /* 0x2B079068: mov al, byte ptr [edi + 0x70] */ 12036 /* test LO8(eax), LO8(eax) */ /* 0x2B07906B: test al, al */ 12037 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12038 _cf = 0; 12039 _flag_k = FK_NARROW(FK_TEST, 24); 12040 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B079088; /* 0x2B07906D: jne 0x2b079088 */ 12041 L_2B07906F: 12042 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12043 eax = 0; /* 0x2B07906F: xor eax, eax */ 12044 _cf = 0; 12045 _flag_k = FK_TEST; 12046 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12047 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079071: or ecx, 0xffffffff */ 12048 _cf = 0; 12049 _flag_k = FK_TEST; 12050 MEM32(esi) = eax; /* 0x2B079074: mov dword ptr [esi], eax */ 12051 PUSH32(esp, edi); /* 0x2B079076: push edi */ 12052 MEM32(esi + 0x4) = ecx; /* 0x2B079077: mov dword ptr [esi + 4], ecx */ 12053 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B07907A: call dword ptr [0x2b0b596c] */ 12054 RECOMP_FLAGS_IN(); 12055 ecx = eax; /* 0x2B079080: mov ecx, eax */ 12056 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B079082: call dword ptr [0x2b0b5920] */ 12057 RECOMP_FLAGS_IN(); 12058 L_2B079088: 12059 ecx = MEM32(ebp + (-0x14)); /* 0x2B079088: mov ecx, dword ptr [ebp - 0x14] */ 12060 PUSH32(esp, 1); /* 0x2B07908B: push 1 */ 12061 PUSH32(esp, ecx); /* 0x2B07908D: push ecx */ 12062 ecx = MEM32(0x2B0EF034); /* 0x2B07908E: mov ecx, dword ptr [0x2b0ef034] */ 12063 edx = ebp + (-0x8); /* 0x2B079094: lea edx, [ebp - 8] */ 12064 PUSH32(esp, edx); /* 0x2B079097: push edx */ 12065 RECOMP_ICALL(0x2B078320u); /* 0x2B079098: call 0x2b078320 */ /* not lifted */ 12066 RECOMP_FLAGS_IN(); 12067 ecx = MEM32(0x2B0EF038); /* 0x2B07909D: mov ecx, dword ptr [0x2b0ef038] */ 12068 /* test ecx, ecx */ /* 0x2B0790A3: 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_Z(_flag_a, _flag_b)) goto L_2B0790AD; /* 0x2B0790A5: je 0x2b0790ad */ 12073 L_2B0790A7: 12074 eax = MEM32(ecx); /* 0x2B0790A7: mov eax, dword ptr [ecx] */ 12075 PUSH32(esp, 1); /* 0x2B0790A9: push 1 */ 12076 RECOMP_ICALL(MEM32(eax)); /* 0x2B0790AB: call dword ptr [eax] */ 12077 RECOMP_FLAGS_IN(); 12078 L_2B0790AD: 12079 MEM32(0x2B0EF038) = 0; /* 0x2B0790AD: mov dword ptr [0x2b0ef038], 0 */ 12080 L_2B0790B7: 12081 edi = POP32_VAL(esp); /* 0x2B0790B7: pop edi */ 12082 esi = POP32_VAL(esp); /* 0x2B0790B8: pop esi */ 12083 ebx = POP32_VAL(esp); /* 0x2B0790B9: pop ebx */ 12084 esp = ebp; /* 0x2B0790BA: mov esp, ebp */ 12085 ebp = POP32_VAL(esp); /* 0x2B0790BC: pop ebp */ 12086 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0790BD: ret */ 12087 RECOMP_REGS_OUT(); 12088 } 12089 12090 void sub_2B0790C0(void) { 12091 int _fpu_cmp = 0; 12092 uint32_t _cf = 0; 12093 int _df = 1; 12094 uint32_t _flag_k = FK_NONE; 12095 uint32_t _flag_a = 0, _flag_b = 0; 12096 uint32_t _itail_tgt = 0; 12097 RECOMP_REGS_LOCALS 12098 RECOMP_ENTER(0x2B0790C0u); 12099 12100 L_2B0790C0: 12101 PUSH32(esp, ebp); /* 0x2B0790C0: push ebp */ 12102 ebp = esp; /* 0x2B0790C1: mov ebp, esp */ 12103 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12105 esp = esp - 0x10u; /* 0x2B0790C3: sub esp, 0x10 */ 12106 _flag_k = FK_CMP; 12107 ecx = MEM32(0x2B0EF034); /* 0x2B0790C6: mov ecx, dword ptr [0x2b0ef034] */ 12108 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12109 eax = 0; /* 0x2B0790CC: xor eax, eax */ 12110 _cf = 0; 12111 _flag_k = FK_TEST; 12112 /* cmp ecx, eax */ /* 0x2B0790CE: cmp ecx, eax */ 12113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12115 _flag_k = FK_CMP; 12116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079107; /* 0x2B0790D0: je 0x2b079107 */ 12117 L_2B0790D2: 12118 MEM32(ebp + (-0x10)) = eax; /* 0x2B0790D2: mov dword ptr [ebp - 0x10], eax */ 12119 MEM32(ebp + (-0xC)) = eax; /* 0x2B0790D5: mov dword ptr [ebp - 0xc], eax */ 12120 MEM32(ebp + (-0x8)) = eax; /* 0x2B0790D8: mov dword ptr [ebp - 8], eax */ 12121 MEM32(ebp + (-0x4)) = eax; /* 0x2B0790DB: mov dword ptr [ebp - 4], eax */ 12122 eax = ebp + (-0x8); /* 0x2B0790DE: lea eax, [ebp - 8] */ 12123 PUSH32(esp, eax); /* 0x2B0790E1: push eax */ 12124 ecx = ebp + (-0x10); /* 0x2B0790E2: lea ecx, [ebp - 0x10] */ 12125 PUSH32(esp, ecx); /* 0x2B0790E5: push ecx */ 12126 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0790E6: call dword ptr [0x2b0b53cc] */ 12127 RECOMP_FLAGS_IN(); 12128 ecx = eax; /* 0x2B0790EC: mov ecx, eax */ 12129 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B0790EE: call dword ptr [0x2b0b5364] */ 12130 RECOMP_FLAGS_IN(); 12131 ecx = MEM32(0x2B0EF034); /* 0x2B0790F4: mov ecx, dword ptr [0x2b0ef034] */ 12132 edx = ebp + (-0x8); /* 0x2B0790FA: lea edx, [ebp - 8] */ 12133 PUSH32(esp, edx); /* 0x2B0790FD: push edx */ 12134 eax = ebp + (-0x10); /* 0x2B0790FE: lea eax, [ebp - 0x10] */ 12135 PUSH32(esp, eax); /* 0x2B079101: push eax */ 12136 RECOMP_ICALL(0x2B0787A0u); /* 0x2B079102: call 0x2b0787a0 */ /* not lifted */ 12137 RECOMP_FLAGS_IN(); 12138 L_2B079107: 12139 esp = ebp; /* 0x2B079107: mov esp, ebp */ 12140 ebp = POP32_VAL(esp); /* 0x2B079109: pop ebp */ 12141 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07910A: ret */ 12142 RECOMP_REGS_OUT(); 12143 } 12144 12145 void sub_2B079110(void) { 12146 int _fpu_cmp = 0; 12147 uint32_t _cf = 0; 12148 int _df = 1; 12149 uint32_t _flag_k = FK_NONE; 12150 uint32_t _flag_a = 0, _flag_b = 0; 12151 uint32_t _itail_tgt = 0; 12152 RECOMP_REGS_LOCALS 12153 RECOMP_ENTER(0x2B079110u); 12154 12155 L_2B079110: 12156 PUSH32(esp, ebp); /* 0x2B079110: push ebp */ 12157 ebp = esp; /* 0x2B079111: mov ebp, esp */ 12158 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12160 esp = esp - 8; /* 0x2B079113: sub esp, 8 */ 12161 _flag_k = FK_CMP; 12162 ecx = MEM32(0x2B0EF034); /* 0x2B079116: mov ecx, dword ptr [0x2b0ef034] */ 12163 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12164 eax = 0; /* 0x2B07911C: xor eax, eax */ 12165 _cf = 0; 12166 _flag_k = FK_TEST; 12167 /* cmp ecx, eax */ /* 0x2B07911E: cmp ecx, eax */ 12168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12170 _flag_k = FK_CMP; 12171 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079149; /* 0x2B079120: je 0x2b079149 */ 12172 L_2B079122: 12173 MEM32(ebp + (-0x8)) = eax; /* 0x2B079122: mov dword ptr [ebp - 8], eax */ 12174 MEM32(ebp + (-0x4)) = eax; /* 0x2B079125: mov dword ptr [ebp - 4], eax */ 12175 eax = ebp + (-0x8); /* 0x2B079128: lea eax, [ebp - 8] */ 12176 PUSH32(esp, eax); /* 0x2B07912B: push eax */ 12177 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07912C: call dword ptr [0x2b0b53cc] */ 12178 RECOMP_FLAGS_IN(); 12179 ecx = eax; /* 0x2B079132: mov ecx, eax */ 12180 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B079134: call dword ptr [0x2b0b53ac] */ 12181 RECOMP_FLAGS_IN(); 12182 ecx = ebp + (-0x8); /* 0x2B07913A: lea ecx, [ebp - 8] */ 12183 PUSH32(esp, ecx); /* 0x2B07913D: push ecx */ 12184 ecx = MEM32(0x2B0EF034); /* 0x2B07913E: mov ecx, dword ptr [0x2b0ef034] */ 12185 RECOMP_ICALL(0x2B0786A0u); /* 0x2B079144: call 0x2b0786a0 */ /* not lifted */ 12186 RECOMP_FLAGS_IN(); 12187 L_2B079149: 12188 esp = ebp; /* 0x2B079149: mov esp, ebp */ 12189 ebp = POP32_VAL(esp); /* 0x2B07914B: pop ebp */ 12190 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07914C: ret */ 12191 RECOMP_REGS_OUT(); 12192 } 12193 12194 void sub_2B079150(void) { 12195 int _fpu_cmp = 0; 12196 uint32_t _cf = 0; 12197 int _df = 1; 12198 uint32_t _flag_k = FK_NONE; 12199 uint32_t _flag_a = 0, _flag_b = 0; 12200 uint32_t _itail_tgt = 0; 12201 RECOMP_REGS_LOCALS 12202 RECOMP_ENTER(0x2B079150u); 12203 12204 L_2B079150: 12205 PUSH32(esp, ebp); /* 0x2B079150: push ebp */ 12206 ebp = esp; /* 0x2B079151: mov ebp, esp */ 12207 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12209 esp = esp - 8; /* 0x2B079153: sub esp, 8 */ 12210 _flag_k = FK_CMP; 12211 ecx = MEM32(0x2B0EF034); /* 0x2B079156: mov ecx, dword ptr [0x2b0ef034] */ 12212 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12213 eax = 0; /* 0x2B07915C: xor eax, eax */ 12214 _cf = 0; 12215 _flag_k = FK_TEST; 12216 /* cmp ecx, eax */ /* 0x2B07915E: cmp ecx, eax */ 12217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12219 _flag_k = FK_CMP; 12220 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07918B; /* 0x2B079160: je 0x2b07918b */ 12221 L_2B079162: 12222 MEM32(ebp + (-0x8)) = eax; /* 0x2B079162: mov dword ptr [ebp - 8], eax */ 12223 MEM32(ebp + (-0x4)) = eax; /* 0x2B079165: mov dword ptr [ebp - 4], eax */ 12224 eax = ebp + (-0x8); /* 0x2B079168: lea eax, [ebp - 8] */ 12225 PUSH32(esp, eax); /* 0x2B07916B: push eax */ 12226 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07916C: call dword ptr [0x2b0b53cc] */ 12227 RECOMP_FLAGS_IN(); 12228 ecx = eax; /* 0x2B079172: mov ecx, eax */ 12229 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B079174: call dword ptr [0x2b0b53ac] */ 12230 RECOMP_FLAGS_IN(); 12231 PUSH32(esp, 1); /* 0x2B07917A: push 1 */ 12232 ecx = ebp + (-0x8); /* 0x2B07917C: lea ecx, [ebp - 8] */ 12233 PUSH32(esp, ecx); /* 0x2B07917F: push ecx */ 12234 ecx = MEM32(0x2B0EF034); /* 0x2B079180: mov ecx, dword ptr [0x2b0ef034] */ 12235 RECOMP_ICALL(0x2B078600u); /* 0x2B079186: call 0x2b078600 */ /* not lifted */ 12236 RECOMP_FLAGS_IN(); 12237 L_2B07918B: 12238 esp = ebp; /* 0x2B07918B: mov esp, ebp */ 12239 ebp = POP32_VAL(esp); /* 0x2B07918D: pop ebp */ 12240 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07918E: ret */ 12241 RECOMP_REGS_OUT(); 12242 } 12243 12244 void sub_2B079190(void) { 12245 int _fpu_cmp = 0; 12246 uint32_t _cf = 0; 12247 int _df = 1; 12248 uint32_t _flag_k = FK_NONE; 12249 uint32_t _flag_a = 0, _flag_b = 0; 12250 uint32_t _itail_tgt = 0; 12251 RECOMP_REGS_LOCALS 12252 RECOMP_ENTER(0x2B079190u); 12253 12254 L_2B079190: 12255 eax = MEM32(0x2B0EF034); /* 0x2B079190: mov eax, dword ptr [0x2b0ef034] */ 12256 /* test eax, eax */ /* 0x2B079195: test eax, eax */ 12257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12258 _cf = 0; 12259 _flag_k = FK_TEST; 12260 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0791EC; /* 0x2B079197: je 0x2b0791ec */ 12261 L_2B079199: 12262 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B079199: call dword ptr [0x2b0b53cc] */ 12263 RECOMP_FLAGS_IN(); 12264 ecx = eax; /* 0x2B07919F: mov ecx, eax */ 12265 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B0791A1: call dword ptr [0x2b0b53a4] */ 12266 RECOMP_FLAGS_IN(); 12267 /* test eax, eax */ /* 0x2B0791A7: test eax, eax */ 12268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12269 _cf = 0; 12270 _flag_k = FK_TEST; 12271 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0791EC; /* 0x2B0791A9: je 0x2b0791ec */ 12272 L_2B0791AB: 12273 ecx = MEM32(eax + 0x8); /* 0x2B0791AB: mov ecx, dword ptr [eax + 8] */ 12274 eax = ecx; /* 0x2B0791AE: mov eax, ecx */ 12275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFu); 12276 eax = eax & 0xFFFFu; /* 0x2B0791B0: and eax, 0xffff */ 12277 _cf = 0; 12278 _flag_k = FK_TEST; 12279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x6Cu); 12280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12281 eax = eax - 0x6Cu; /* 0x2B0791B5: sub eax, 0x6c */ 12282 _flag_k = FK_CMP; 12283 if (/* sub result */ CMP_S(_flag_a, _flag_b)) goto L_2B0791EC; /* 0x2B0791B8: js 0x2b0791ec */ 12284 L_2B0791BA: 12285 /* cmp eax, 9 */ /* 0x2B0791BA: cmp eax, 9 */ 12286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(9); 12287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12288 _flag_k = FK_CMP; 12289 if (CMP_G(_flag_a, _flag_b)) goto L_2B0791EC; /* 0x2B0791BD: jg 0x2b0791ec */ 12290 L_2B0791BF: 12291 /* test ecx, 0x00020000u */ /* 0x2B0791BF: test ecx, 0x20000 */ 12292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x00020000u); 12293 _cf = 0; 12294 _flag_k = FK_TEST; 12295 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0791D4; /* 0x2B0791C5: je 0x2b0791d4 */ 12296 L_2B0791C7: 12297 ecx = MEM32(0x2B0EF034); /* 0x2B0791C7: mov ecx, dword ptr [0x2b0ef034] */ 12298 PUSH32(esp, eax); /* 0x2B0791CD: push eax */ 12299 RECOMP_ICALL(0x2B0779B0u); /* 0x2B0791CE: call 0x2b0779b0 */ /* not lifted */ 12300 RECOMP_FLAGS_IN(); 12301 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0791D3: ret */ 12302 L_2B0791D4: 12303 ecx = MEM32(0x2B0EF034); /* 0x2B0791D4: mov ecx, dword ptr [0x2b0ef034] */ 12304 edx = MEM32(ecx + 0x88); /* 0x2B0791DA: mov edx, dword ptr [ecx + 0x88] */ 12305 edx = edx + edx * 4; /* 0x2B0791E0: lea edx, [edx + edx*4] */ 12306 eax = eax + edx * 2; /* 0x2B0791E3: lea eax, [eax + edx*2] */ 12307 PUSH32(esp, eax); /* 0x2B0791E6: push eax */ 12308 RECOMP_ICALL(0x2B078820u); /* 0x2B0791E7: call 0x2b078820 */ /* not lifted */ 12309 RECOMP_FLAGS_IN(); 12310 L_2B0791EC: 12311 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0791EC: ret */ 12312 RECOMP_REGS_OUT(); 12313 } 12314 12315 void sub_2B0791F0(void) { 12316 int _fpu_cmp = 0; 12317 uint32_t _cf = 0; 12318 int _df = 1; 12319 uint32_t _flag_k = FK_NONE; 12320 uint32_t _flag_a = 0, _flag_b = 0; 12321 uint32_t _itail_tgt = 0; 12322 RECOMP_REGS_LOCALS 12323 RECOMP_ENTER(0x2B0791F0u); 12324 12325 L_2B0791F0: 12326 PUSH32(esp, ebp); /* 0x2B0791F0: push ebp */ 12327 ebp = esp; /* 0x2B0791F1: mov ebp, esp */ 12328 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0791F3: push -1 */ 12329 PUSH32(esp, 0x2B0B15E1u); /* 0x2B0791F5: push 0x2b0b15e1 */ 12330 eax = MEM32(FS_BASE + (0)); /* 0x2B0791FA: mov eax, dword ptr fs:[0] */ 12331 PUSH32(esp, eax); /* 0x2B079200: push eax */ 12332 MEM32(FS_BASE + (0)) = esp; /* 0x2B079201: mov dword ptr fs:[0], esp */ 12333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xACu); 12334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12335 esp = esp - 0xACu; /* 0x2B079208: sub esp, 0xac */ 12336 _flag_k = FK_CMP; 12337 eax = MEM32(0x2B0EF034); /* 0x2B07920E: mov eax, dword ptr [0x2b0ef034] */ 12338 /* test eax, eax */ /* 0x2B079213: test eax, eax */ 12339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12340 _cf = 0; 12341 _flag_k = FK_TEST; 12342 PUSH32(esp, ebx); /* 0x2B079215: push ebx */ 12343 PUSH32(esp, esi); /* 0x2B079216: push esi */ 12344 PUSH32(esp, edi); /* 0x2B079217: push edi */ 12345 if (TEST_Z(_flag_a, _flag_b)) goto L_2B079440; /* 0x2B079218: je 0x2b079440 */ 12346 L_2B07921E: 12347 ebx = MEM32(0x2B0B53CC); /* 0x2B07921E: mov ebx, dword ptr [0x2b0b53cc] */ 12348 RECOMP_ICALL(ebx); /* 0x2B079224: call ebx */ 12349 RECOMP_FLAGS_IN(); 12350 ecx = eax; /* 0x2B079226: mov ecx, eax */ 12351 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B079228: call dword ptr [0x2b0b53a4] */ 12352 RECOMP_FLAGS_IN(); 12353 esi = eax; /* 0x2B07922E: mov esi, eax */ 12354 eax = ebp + (-0xB8); /* 0x2B079230: lea eax, [ebp - 0xb8] */ 12355 PUSH32(esp, eax); /* 0x2B079236: push eax */ 12356 PUSH32(esp, 0x2B0EC3B4u); /* 0x2B079237: push 0x2b0ec3b4 */ 12357 PUSH32(esp, esi); /* 0x2B07923C: push esi */ 12358 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07923D: call dword ptr [0x2b0b5220] */ 12359 RECOMP_FLAGS_IN(); 12360 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12361 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079243: or ecx, 0xffffffff */ 12362 _cf = 0; 12363 _flag_k = FK_TEST; 12364 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12365 eax = 0; /* 0x2B079246: xor eax, eax */ 12366 _cf = 0; 12367 _flag_k = FK_TEST; 12368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12370 esp = esp + 0xCu; /* 0x2B079248: add esp, 0xc */ 12371 _flag_k = FK_ADD; 12372 edi = ebp + (-0xB8); /* 0x2B07924B: lea edi, [ebp - 0xb8] */ 12373 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; } /* 0x2B079251: repne scasb al, byte ptr es:[edi] */ 12374 ecx = ~ecx; /* 0x2B079253: not ecx */ 12375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12376 ecx = ecx - 1; /* 0x2B079255: dec ecx */ 12377 _flag_k = FK_DEC; 12378 edx = ecx; /* 0x2B079256: mov edx, ecx */ 12379 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12380 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079258: or ecx, 0xffffffff */ 12381 _cf = 0; 12382 _flag_k = FK_TEST; 12383 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12384 edx = edx + 1; /* 0x2B07925B: inc edx */ 12385 _flag_k = FK_INC; 12386 edi = esi; /* 0x2B07925C: mov edi, esi */ 12387 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; } /* 0x2B07925E: repne scasb al, byte ptr es:[edi] */ 12388 ecx = ~ecx; /* 0x2B079260: not ecx */ 12389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12390 ecx = ecx - 1; /* 0x2B079262: dec ecx */ 12391 _flag_k = FK_DEC; 12392 /* cmp edx, ecx */ /* 0x2B079263: cmp edx, ecx */ 12393 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 12394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12395 _flag_k = FK_CMP; 12396 if (CMP_B(_flag_a, _flag_b)) goto L_2B0792A7; /* 0x2B079265: jb 0x2b0792a7 */ 12397 L_2B079267: 12398 ecx = 6; /* 0x2B079267: mov ecx, 6 */ 12399 esi = 0x2B0EC398u; /* 0x2B07926C: mov esi, 0x2b0ec398 */ 12400 edi = ebp + (-0x54); /* 0x2B079271: lea edi, [ebp - 0x54] */ 12401 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B079274: 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; } 12402 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B079276: movsw word ptr es:[edi], word ptr [esi] */ 12403 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12404 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079278: or ecx, 0xffffffff */ 12405 _cf = 0; 12406 _flag_k = FK_TEST; 12407 edi = ebp + (-0x54); /* 0x2B07927B: lea edi, [ebp - 0x54] */ 12408 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; } /* 0x2B07927E: repne scasb al, byte ptr es:[edi] */ 12409 ecx = ~ecx; /* 0x2B079280: not ecx */ 12410 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12411 ecx = ecx - 1; /* 0x2B079282: dec ecx */ 12412 _flag_k = FK_DEC; 12413 PUSH32(esp, ecx); /* 0x2B079283: push ecx */ 12414 eax = ebp + (-0x54); /* 0x2B079284: lea eax, [ebp - 0x54] */ 12415 PUSH32(esp, eax); /* 0x2B079287: push eax */ 12416 PUSH32(esp, 0x3Fu); /* 0x2B079288: push 0x3f */ 12417 PUSH32(esp, 3); /* 0x2B07928A: push 3 */ 12418 RECOMP_ICALL(ebx); /* 0x2B07928C: call ebx */ 12419 RECOMP_FLAGS_IN(); 12420 ecx = eax; /* 0x2B07928E: mov ecx, eax */ 12421 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B079290: call dword ptr [0x2b0b53c4] */ 12422 RECOMP_FLAGS_IN(); 12423 edi = POP32_VAL(esp); /* 0x2B079296: pop edi */ 12424 esi = POP32_VAL(esp); /* 0x2B079297: pop esi */ 12425 ebx = POP32_VAL(esp); /* 0x2B079298: pop ebx */ 12426 ecx = MEM32(ebp + (-0xC)); /* 0x2B079299: mov ecx, dword ptr [ebp - 0xc] */ 12427 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07929C: mov dword ptr fs:[0], ecx */ 12428 esp = ebp; /* 0x2B0792A3: mov esp, ebp */ 12429 ebp = POP32_VAL(esp); /* 0x2B0792A5: pop ebp */ 12430 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0792A6: ret */ 12431 L_2B0792A7: 12432 ecx = MEM32(0x2B0B57AC); /* 0x2B0792A7: mov ecx, dword ptr [0x2b0b57ac] */ 12433 eax = MEM32(ecx); /* 0x2B0792AD: mov eax, dword ptr [ecx] */ 12434 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12435 ebx = 0; /* 0x2B0792AF: xor ebx, ebx */ 12436 _cf = 0; 12437 _flag_k = FK_TEST; 12438 /* cmp eax, ebx */ /* 0x2B0792B1: cmp eax, ebx */ 12439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12441 _flag_k = FK_CMP; 12442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0792E4; /* 0x2B0792B3: jne 0x2b0792e4 */ 12443 L_2B0792B5: 12444 PUSH32(esp, 8); /* 0x2B0792B5: push 8 */ 12445 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0792B7: call 0x2b0ab212 */ /* not lifted */ 12446 RECOMP_FLAGS_IN(); 12447 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12449 esp = esp + 4; /* 0x2B0792BC: add esp, 4 */ 12450 _flag_k = FK_ADD; 12451 MEM32(ebp + (-0x10)) = eax; /* 0x2B0792BF: mov dword ptr [ebp - 0x10], eax */ 12452 /* cmp eax, ebx */ /* 0x2B0792C2: cmp eax, ebx */ 12453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12455 _flag_k = FK_CMP; 12456 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0792C4: mov dword ptr [ebp - 4], ebx */ 12457 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0792D3; /* 0x2B0792C7: je 0x2b0792d3 */ 12458 L_2B0792C9: 12459 ecx = eax; /* 0x2B0792C9: mov ecx, eax */ 12460 RECOMP_ICALL(MEM32(0x2B0B57A8)); /* 0x2B0792CB: call dword ptr [0x2b0b57a8] */ 12461 RECOMP_FLAGS_IN(); 12462 goto L_2B0792D5; /* 0x2B0792D1: jmp 0x2b0792d5 */ 12463 L_2B0792D3: 12464 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12465 eax = 0; /* 0x2B0792D3: xor eax, eax */ 12466 _cf = 0; 12467 _flag_k = FK_TEST; 12468 L_2B0792D5: 12469 edx = MEM32(0x2B0B57AC); /* 0x2B0792D5: mov edx, dword ptr [0x2b0b57ac] */ 12470 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0792DB: mov dword ptr [ebp - 4], 0xffffffff */ 12471 MEM32(edx) = eax; /* 0x2B0792E2: mov dword ptr [edx], eax */ 12472 L_2B0792E4: 12473 eax = MEM32(0x2B0B57AC); /* 0x2B0792E4: mov eax, dword ptr [0x2b0b57ac] */ 12474 edx = MEM32(eax); /* 0x2B0792E9: mov edx, dword ptr [eax] */ 12475 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12476 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0792EB: or ecx, 0xffffffff */ 12477 _cf = 0; 12478 _flag_k = FK_TEST; 12479 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12480 eax = 0; /* 0x2B0792EE: xor eax, eax */ 12481 _cf = 0; 12482 _flag_k = FK_TEST; 12483 edi = ebp + (-0xB8); /* 0x2B0792F0: lea edi, [ebp - 0xb8] */ 12484 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; } /* 0x2B0792F6: repne scasb al, byte ptr es:[edi] */ 12485 ecx = ~ecx; /* 0x2B0792F8: not ecx */ 12486 PUSH32(esp, 1); /* 0x2B0792FA: push 1 */ 12487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12488 ecx = ecx - 1; /* 0x2B0792FC: dec ecx */ 12489 _flag_k = FK_DEC; 12490 PUSH32(esp, ebx); /* 0x2B0792FD: push ebx */ 12491 ecx = ecx + esi + 0x1; /* 0x2B0792FE: lea ecx, [ecx + esi + 1] */ 12492 PUSH32(esp, ecx); /* 0x2B079302: push ecx */ 12493 eax = ebp + (-0xB8); /* 0x2B079303: lea eax, [ebp - 0xb8] */ 12494 PUSH32(esp, eax); /* 0x2B079309: push eax */ 12495 ecx = edx; /* 0x2B07930A: mov ecx, edx */ 12496 RECOMP_ICALL(MEM32(0x2B0B57B4)); /* 0x2B07930C: call dword ptr [0x2b0b57b4] */ 12497 RECOMP_FLAGS_IN(); 12498 esi = eax; /* 0x2B079312: mov esi, eax */ 12499 /* cmp esi, ebx */ /* 0x2B079314: cmp esi, ebx */ 12500 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12502 _flag_k = FK_CMP; 12503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079440; /* 0x2B079316: je 0x2b079440 */ 12504 L_2B07931C: 12505 ecx = MEM32(0x2B0EF038); /* 0x2B07931C: mov ecx, dword ptr [0x2b0ef038] */ 12506 /* cmp ecx, ebx */ /* 0x2B079322: cmp ecx, ebx */ 12507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 12508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12509 _flag_k = FK_CMP; 12510 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07932C; /* 0x2B079324: je 0x2b07932c */ 12511 L_2B079326: 12512 edx = MEM32(ecx); /* 0x2B079326: mov edx, dword ptr [ecx] */ 12513 PUSH32(esp, 1); /* 0x2B079328: push 1 */ 12514 RECOMP_ICALL(MEM32(edx)); /* 0x2B07932A: call dword ptr [edx] */ 12515 RECOMP_FLAGS_IN(); 12516 L_2B07932C: 12517 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12518 eax = 0; /* 0x2B07932C: xor eax, eax */ 12519 _cf = 0; 12520 _flag_k = FK_TEST; 12521 ecx = 0xAu; /* 0x2B07932E: mov ecx, 0xa */ 12522 edi = ebp + (-0x38); /* 0x2B079333: lea edi, [ebp - 0x38] */ 12523 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B079336: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 12524 eax = 0xFFFFFFC0u; /* 0x2B079338: mov eax, 0xffffffc0 */ 12525 MEM32(ebp + (-0x28)) = eax; /* 0x2B07933D: mov dword ptr [ebp - 0x28], eax */ 12526 MEM32(ebp + (-0x24)) = eax; /* 0x2B079340: mov dword ptr [ebp - 0x24], eax */ 12527 eax = 0x20u; /* 0x2B079343: mov eax, 0x20 */ 12528 MEM32(ebp + (-0x1C)) = eax; /* 0x2B079348: mov dword ptr [ebp - 0x1c], eax */ 12529 MEM32(ebp + (-0x14)) = eax; /* 0x2B07934B: mov dword ptr [ebp - 0x14], eax */ 12530 eax = 0xC789u; /* 0x2B07934E: mov eax, 0xc789 */ 12531 PUSH32(esp, 0xB0u); /* 0x2B079353: push 0xb0 */ 12532 MEM32(ebp + (-0x2C)) = 0x4E20u; /* 0x2B079358: mov dword ptr [ebp - 0x2c], 0x4e20 */ 12533 MEM32(ebp + (-0x30)) = 8; /* 0x2B07935F: mov dword ptr [ebp - 0x30], 8 */ 12534 MEM32(ebp + (-0x20)) = 0x18u; /* 0x2B079366: mov dword ptr [ebp - 0x20], 0x18 */ 12535 MEM32(ebp + (-0x38)) = eax; /* 0x2B07936D: mov dword ptr [ebp - 0x38], eax */ 12536 MEM32(ebp + (-0x34)) = esi; /* 0x2B079370: mov dword ptr [ebp - 0x34], esi */ 12537 RECOMP_ICALL(0x2B0AB212u); /* 0x2B079373: call 0x2b0ab212 */ /* not lifted */ 12538 RECOMP_FLAGS_IN(); 12539 esi = eax; /* 0x2B079378: mov esi, eax */ 12540 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12541 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12542 esp = esp + 4; /* 0x2B07937A: add esp, 4 */ 12543 _flag_k = FK_ADD; 12544 MEM32(ebp + (-0x10)) = esi; /* 0x2B07937D: mov dword ptr [ebp - 0x10], esi */ 12545 /* cmp esi, ebx */ /* 0x2B079380: cmp esi, ebx */ 12546 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12548 _flag_k = FK_CMP; 12549 MEM32(ebp + (-0x4)) = 1; /* 0x2B079382: mov dword ptr [ebp - 4], 1 */ 12550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0793A4; /* 0x2B079389: je 0x2b0793a4 */ 12551 L_2B07938B: 12552 PUSH32(esp, ebx); /* 0x2B07938B: push ebx */ 12553 PUSH32(esp, ebx); /* 0x2B07938C: push ebx */ 12554 PUSH32(esp, 1); /* 0x2B07938D: push 1 */ 12555 PUSH32(esp, ebx); /* 0x2B07938F: push ebx */ 12556 eax = ebp + (-0x38); /* 0x2B079390: lea eax, [ebp - 0x38] */ 12557 PUSH32(esp, eax); /* 0x2B079393: push eax */ 12558 ecx = esi; /* 0x2B079394: mov ecx, esi */ 12559 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B079396: call dword ptr [0x2b0b589c] */ 12560 RECOMP_FLAGS_IN(); 12561 MEM32(esi) = 0x2B0B6958u; /* 0x2B07939C: mov dword ptr [esi], 0x2b0b6958 */ 12562 goto L_2B0793A6; /* 0x2B0793A2: jmp 0x2b0793a6 */ 12563 L_2B0793A4: 12564 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12565 esi = 0; /* 0x2B0793A4: xor esi, esi */ 12566 _cf = 0; 12567 _flag_k = FK_TEST; 12568 L_2B0793A6: 12569 MEM32(0x2B0EF038) = esi; /* 0x2B0793A6: mov dword ptr [0x2b0ef038], esi */ 12570 MEM32(esi + 0xA8) = 0x2B001520u; /* 0x2B0793AC: mov dword ptr [esi + 0xa8], 0x2b001520 */ 12571 MEM32(esi + 0xAC) = ebx; /* 0x2B0793B6: mov dword ptr [esi + 0xac], ebx */ 12572 edx = MEM32(0x2B0EF038); /* 0x2B0793BC: mov edx, dword ptr [0x2b0ef038] */ 12573 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12574 eax = 0; /* 0x2B0793C2: xor eax, eax */ 12575 _cf = 0; 12576 _flag_k = FK_TEST; 12577 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 12578 edi = edi | 0xFFFFFFFFu; /* 0x2B0793C4: or edi, 0xffffffff */ 12579 _cf = 0; 12580 _flag_k = FK_TEST; 12581 MEM32(edx + 0x98) = eax; /* 0x2B0793C7: mov dword ptr [edx + 0x98], eax */ 12582 eax = MEM32(0x2B0EF038); /* 0x2B0793CD: mov eax, dword ptr [0x2b0ef038] */ 12583 ecx = edi; /* 0x2B0793D2: mov ecx, edi */ 12584 MEM32(eax + 0x9C) = ecx; /* 0x2B0793D4: mov dword ptr [eax + 0x9c], ecx */ 12585 ecx = MEM32(0x2B0B5938); /* 0x2B0793DA: mov ecx, dword ptr [0x2b0b5938] */ 12586 /* cmp MEM32(ecx), ebx */ /* 0x2B0793E0: cmp dword ptr [ecx], ebx */ 12587 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 12588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12589 _flag_k = FK_CMP; 12590 MEM32(ebp + (-0x4)) = edi; /* 0x2B0793E2: mov dword ptr [ebp - 4], edi */ 12591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B079416; /* 0x2B0793E5: jne 0x2b079416 */ 12592 L_2B0793E7: 12593 PUSH32(esp, 0x2Cu); /* 0x2B0793E7: push 0x2c */ 12594 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0793E9: call 0x2b0ab212 */ /* not lifted */ 12595 RECOMP_FLAGS_IN(); 12596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12598 esp = esp + 4; /* 0x2B0793EE: add esp, 4 */ 12599 _flag_k = FK_ADD; 12600 MEM32(ebp + (-0x10)) = eax; /* 0x2B0793F1: mov dword ptr [ebp - 0x10], eax */ 12601 /* cmp eax, ebx */ /* 0x2B0793F4: cmp eax, ebx */ 12602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12604 _flag_k = FK_CMP; 12605 MEM32(ebp + (-0x4)) = 2; /* 0x2B0793F6: mov dword ptr [ebp - 4], 2 */ 12606 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079409; /* 0x2B0793FD: je 0x2b079409 */ 12607 L_2B0793FF: 12608 ecx = eax; /* 0x2B0793FF: mov ecx, eax */ 12609 RECOMP_ICALL(MEM32(0x2B0B593C)); /* 0x2B079401: call dword ptr [0x2b0b593c] */ 12610 RECOMP_FLAGS_IN(); 12611 goto L_2B07940B; /* 0x2B079407: jmp 0x2b07940b */ 12612 L_2B079409: 12613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12614 eax = 0; /* 0x2B079409: xor eax, eax */ 12615 _cf = 0; 12616 _flag_k = FK_TEST; 12617 L_2B07940B: 12618 edx = MEM32(0x2B0B5938); /* 0x2B07940B: mov edx, dword ptr [0x2b0b5938] */ 12619 MEM32(ebp + (-0x4)) = edi; /* 0x2B079411: mov dword ptr [ebp - 4], edi */ 12620 MEM32(edx) = eax; /* 0x2B079414: mov dword ptr [edx], eax */ 12621 L_2B079416: 12622 eax = MEM32(0x2B0EF038); /* 0x2B079416: mov eax, dword ptr [0x2b0ef038] */ 12623 ecx = MEM32(0x2B0B5938); /* 0x2B07941B: mov ecx, dword ptr [0x2b0b5938] */ 12624 ecx = MEM32(ecx); /* 0x2B079421: mov ecx, dword ptr [ecx] */ 12625 PUSH32(esp, eax); /* 0x2B079423: push eax */ 12626 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B079424: call dword ptr [0x2b0b5920] */ 12627 RECOMP_FLAGS_IN(); 12628 ecx = MEM32(0x2B0EF038); /* 0x2B07942A: mov ecx, dword ptr [0x2b0ef038] */ 12629 /* cmp ecx, ebx */ /* 0x2B079430: cmp ecx, ebx */ 12630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 12631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12632 _flag_k = FK_CMP; 12633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07943A; /* 0x2B079432: je 0x2b07943a */ 12634 L_2B079434: 12635 edx = MEM32(ecx); /* 0x2B079434: mov edx, dword ptr [ecx] */ 12636 PUSH32(esp, 1); /* 0x2B079436: push 1 */ 12637 RECOMP_ICALL(MEM32(edx)); /* 0x2B079438: call dword ptr [edx] */ 12638 RECOMP_FLAGS_IN(); 12639 L_2B07943A: 12640 MEM32(0x2B0EF038) = ebx; /* 0x2B07943A: mov dword ptr [0x2b0ef038], ebx */ 12641 L_2B079440: 12642 ecx = MEM32(ebp + (-0xC)); /* 0x2B079440: mov ecx, dword ptr [ebp - 0xc] */ 12643 edi = POP32_VAL(esp); /* 0x2B079443: pop edi */ 12644 esi = POP32_VAL(esp); /* 0x2B079444: pop esi */ 12645 ebx = POP32_VAL(esp); /* 0x2B079445: pop ebx */ 12646 MEM32(FS_BASE + (0)) = ecx; /* 0x2B079446: mov dword ptr fs:[0], ecx */ 12647 esp = ebp; /* 0x2B07944D: mov esp, ebp */ 12648 ebp = POP32_VAL(esp); /* 0x2B07944F: pop ebp */ 12649 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B079450: ret */ 12650 RECOMP_REGS_OUT(); 12651 } 12652 12653 void sub_2B079460(void) { 12654 int _fpu_cmp = 0; 12655 uint32_t _cf = 0; 12656 int _df = 1; 12657 uint32_t _flag_k = FK_NONE; 12658 uint32_t _flag_a = 0, _flag_b = 0; 12659 uint32_t _itail_tgt = 0; 12660 RECOMP_REGS_LOCALS 12661 RECOMP_ENTER(0x2B079460u); 12662 12663 L_2B079460: 12664 PUSH32(esp, ebp); /* 0x2B079460: push ebp */ 12665 ebp = esp; /* 0x2B079461: mov ebp, esp */ 12666 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12668 esp = esp - 8; /* 0x2B079463: sub esp, 8 */ 12669 _flag_k = FK_CMP; 12670 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B079466: call dword ptr [0x2b0b53cc] */ 12671 RECOMP_FLAGS_IN(); 12672 ecx = eax; /* 0x2B07946C: mov ecx, eax */ 12673 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B07946E: call dword ptr [0x2b0b53a4] */ 12674 RECOMP_FLAGS_IN(); 12675 /* test eax, eax */ /* 0x2B079474: test eax, eax */ 12676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12677 _cf = 0; 12678 _flag_k = FK_TEST; 12679 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0794AB; /* 0x2B079476: je 0x2b0794ab */ 12680 L_2B079478: 12681 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B079478: mov cl, byte ptr [eax + 0x70] */ 12682 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07947B: test cl, cl */ 12683 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12684 _cf = 0; 12685 _flag_k = FK_NARROW(FK_TEST, 24); 12686 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0794AB; /* 0x2B07947D: jne 0x2b0794ab */ 12687 L_2B07947F: 12688 ecx = MEM32(0x2B0EF034); /* 0x2B07947F: mov ecx, dword ptr [0x2b0ef034] */ 12689 /* test ecx, ecx */ /* 0x2B079485: test ecx, ecx */ 12690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12691 _cf = 0; 12692 _flag_k = FK_TEST; 12693 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0794AB; /* 0x2B079487: je 0x2b0794ab */ 12694 L_2B079489: 12695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x98u); 12696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12697 eax = eax + 0x98u; /* 0x2B079489: add eax, 0x98 */ 12698 _flag_k = FK_ADD; 12699 edx = ebp + (-0x8); /* 0x2B07948E: lea edx, [ebp - 8] */ 12700 /* cmp edx, eax */ /* 0x2B079491: cmp edx, eax */ 12701 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12703 _flag_k = FK_CMP; 12704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0794A2; /* 0x2B079493: je 0x2b0794a2 */ 12705 L_2B079495: 12706 eax = MEM32(eax + 0x4); /* 0x2B079495: mov eax, dword ptr [eax + 4] */ 12707 PUSH32(esp, eax); /* 0x2B079498: push eax */ 12708 RECOMP_ICALL(0x2B078820u); /* 0x2B079499: call 0x2b078820 */ /* not lifted */ 12709 RECOMP_FLAGS_IN(); 12710 esp = ebp; /* 0x2B07949E: mov esp, ebp */ 12711 ebp = POP32_VAL(esp); /* 0x2B0794A0: pop ebp */ 12712 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0794A1: ret */ 12713 L_2B0794A2: 12714 eax = MEM32(ebp + (-0x4)); /* 0x2B0794A2: mov eax, dword ptr [ebp - 4] */ 12715 PUSH32(esp, eax); /* 0x2B0794A5: push eax */ 12716 RECOMP_ICALL(0x2B078820u); /* 0x2B0794A6: call 0x2b078820 */ /* not lifted */ 12717 RECOMP_FLAGS_IN(); 12718 L_2B0794AB: 12719 esp = ebp; /* 0x2B0794AB: mov esp, ebp */ 12720 ebp = POP32_VAL(esp); /* 0x2B0794AD: pop ebp */ 12721 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0794AE: ret */ 12722 RECOMP_REGS_OUT(); 12723 } 12724 12725 void sub_2B0794B0(void) { 12726 int _fpu_cmp = 0; 12727 uint32_t _cf = 0; 12728 int _df = 1; 12729 uint32_t _flag_k = FK_NONE; 12730 uint32_t _flag_a = 0, _flag_b = 0; 12731 uint32_t _itail_tgt = 0; 12732 RECOMP_REGS_LOCALS 12733 RECOMP_ENTER(0x2B0794B0u); 12734 12735 goto L_2B0794B0; 12736 L_2B078940: 12737 PUSH32(esp, ebp); /* 0x2B078940: push ebp */ 12738 ebp = esp; /* 0x2B078941: mov ebp, esp */ 12739 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 12740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12741 esp = esp - 0x24u; /* 0x2B078943: sub esp, 0x24 */ 12742 _flag_k = FK_CMP; 12743 PUSH32(esp, ebx); /* 0x2B078946: push ebx */ 12744 PUSH32(esp, esi); /* 0x2B078947: push esi */ 12745 esi = MEM32(0x2B0B5D6C); /* 0x2B078948: mov esi, dword ptr [0x2b0b5d6c] */ 12746 PUSH32(esp, edi); /* 0x2B07894E: push edi */ 12747 PUSH32(esp, 2); /* 0x2B07894F: push 2 */ 12748 MEM32(ebp + (-0x4)) = ecx; /* 0x2B078951: mov dword ptr [ebp - 4], ecx */ 12749 RECOMP_ICALL(esi); /* 0x2B078954: call esi */ 12750 RECOMP_FLAGS_IN(); 12751 edi = MEM32(0x2B0B5E90); /* 0x2B078956: mov edi, dword ptr [0x2b0b5e90] */ 12752 ecx = eax; /* 0x2B07895C: mov ecx, eax */ 12753 RECOMP_ICALL(edi); /* 0x2B07895E: call edi */ 12754 RECOMP_FLAGS_IN(); 12755 ebx = eax; /* 0x2B078960: mov ebx, eax */ 12756 PUSH32(esp, 1); /* 0x2B078962: push 1 */ 12757 MEM32(ebp + (-0x8)) = ebx; /* 0x2B078964: mov dword ptr [ebp - 8], ebx */ 12758 RECOMP_ICALL(esi); /* 0x2B078967: call esi */ 12759 RECOMP_FLAGS_IN(); 12760 ecx = eax; /* 0x2B078969: mov ecx, eax */ 12761 RECOMP_ICALL(edi); /* 0x2B07896B: call edi */ 12762 RECOMP_FLAGS_IN(); 12763 /* test ebx, ebx */ /* 0x2B07896D: test ebx, ebx */ 12764 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 12765 _cf = 0; 12766 _flag_k = FK_TEST; 12767 MEM32(ebp + (-0xC)) = eax; /* 0x2B07896F: mov dword ptr [ebp - 0xc], eax */ 12768 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A2F; /* 0x2B078972: je 0x2b078a2f */ 12769 L_2B078978: 12770 /* test eax, eax */ /* 0x2B078978: test eax, eax */ 12771 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12772 _cf = 0; 12773 _flag_k = FK_TEST; 12774 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A2F; /* 0x2B07897A: je 0x2b078a2f */ 12775 L_2B078980: 12776 edi = MEM32(ebp + (-0x18)); /* 0x2B078980: mov edi, dword ptr [ebp - 0x18] */ 12777 esi = MEM32(ebp + (-0x1C)); /* 0x2B078983: mov esi, dword ptr [ebp - 0x1c] */ 12778 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12779 ebx = 0; /* 0x2B078986: xor ebx, ebx */ 12780 _cf = 0; 12781 _flag_k = FK_TEST; 12782 L_2B078988: 12783 eax = MEM32(ebp + (-0x4)); /* 0x2B078988: mov eax, dword ptr [ebp - 4] */ 12784 ecx = MEM32(eax + 0x84); /* 0x2B07898B: mov ecx, dword ptr [eax + 0x84] */ 12785 edx = ebp + (-0x1C); /* 0x2B078991: lea edx, [ebp - 0x1c] */ 12786 PUSH32(esp, edx); /* 0x2B078994: push edx */ 12787 eax = ebp + (-0x24); /* 0x2B078995: lea eax, [ebp - 0x24] */ 12788 PUSH32(esp, eax); /* 0x2B078998: push eax */ 12789 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B078999: mov dword ptr [ebp - 0x1c], ebx */ 12790 MEM32(ebp + (-0x18)) = 0; /* 0x2B07899C: mov dword ptr [ebp - 0x18], 0 */ 12791 RECOMP_ICALL(0x2B031EB0u); /* 0x2B0789A3: call 0x2b031eb0 */ /* not lifted */ 12792 RECOMP_FLAGS_IN(); 12793 eax = MEM32(eax); /* 0x2B0789A8: mov eax, dword ptr [eax] */ 12794 eax = MEM32(eax + 0x10); /* 0x2B0789AA: mov eax, dword ptr [eax + 0x10] */ 12795 /* test eax, eax */ /* 0x2B0789AD: test eax, eax */ 12796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12797 _cf = 0; 12798 _flag_k = FK_TEST; 12799 if (TEST_Z(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789AF: je 0x2b078a25 */ 12800 L_2B0789B1: 12801 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B0789B1: mov cl, byte ptr [eax + 0x70] */ 12802 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0789B4: test cl, cl */ 12803 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12804 _cf = 0; 12805 _flag_k = FK_NARROW(FK_TEST, 24); 12806 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789B6: jne 0x2b078a25 */ 12807 L_2B0789B8: 12808 /* cmp MEM32(eax + 0x5C), 3 */ /* 0x2B0789B8: cmp dword ptr [eax + 0x5c], 3 */ 12809 _flag_a = (uint32_t)(MEM32(eax + 0x5C)); _flag_b = (uint32_t)(3); 12810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12811 _flag_k = FK_CMP; 12812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789BC: jne 0x2b078a25 */ 12813 L_2B0789BE: 12814 edx = eax + 0x54; /* 0x2B0789BE: lea edx, [eax + 0x54] */ 12815 ecx = ebp + (-0x1C); /* 0x2B0789C1: lea ecx, [ebp - 0x1c] */ 12816 /* cmp ecx, edx */ /* 0x2B0789C4: cmp ecx, edx */ 12817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12819 _flag_k = FK_CMP; 12820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789CD; /* 0x2B0789C6: je 0x2b0789cd */ 12821 L_2B0789C8: 12822 esi = MEM32(edx); /* 0x2B0789C8: mov esi, dword ptr [edx] */ 12823 edi = MEM32(edx + 0x4); /* 0x2B0789CA: mov edi, dword ptr [edx + 4] */ 12824 L_2B0789CD: 12825 eax = MEM32(ebp + (-0x8)); /* 0x2B0789CD: mov eax, dword ptr [ebp - 8] */ 12826 ecx = MEM32(eax + 0x4); /* 0x2B0789D0: mov ecx, dword ptr [eax + 4] */ 12827 eax = MEM32(ecx); /* 0x2B0789D3: mov eax, dword ptr [ecx] */ 12828 /* cmp eax, ecx */ /* 0x2B0789D5: cmp eax, ecx */ 12829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12831 _flag_k = FK_CMP; 12832 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0789E9; /* 0x2B0789D7: je 0x2b0789e9 */ 12833 L_2B0789D9: 12834 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789D9: cmp edi, dword ptr [eax + 0xc] */ 12835 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 12836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12837 _flag_k = FK_CMP; 12838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789E3; /* 0x2B0789DC: jne 0x2b0789e3 */ 12839 L_2B0789DE: 12840 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789DE: cmp esi, dword ptr [eax + 8] */ 12841 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12843 _flag_k = FK_CMP; 12844 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789E1: je 0x2b078a25 */ 12845 L_2B0789E3: 12846 eax = MEM32(eax); /* 0x2B0789E3: mov eax, dword ptr [eax] */ 12847 /* cmp eax, ecx */ /* 0x2B0789E5: cmp eax, ecx */ 12848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12850 _flag_k = FK_CMP; 12851 RECOMP_BACKEDGE(); 12852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789D9; /* 0x2B0789E7: jne 0x2b0789d9 */ 12853 L_2B0789E9: 12854 ecx = MEM32(ebp + (-0xC)); /* 0x2B0789E9: mov ecx, dword ptr [ebp - 0xc] */ 12855 ecx = MEM32(ecx + 0x4); /* 0x2B0789EC: mov ecx, dword ptr [ecx + 4] */ 12856 eax = MEM32(ecx); /* 0x2B0789EF: mov eax, dword ptr [ecx] */ 12857 /* cmp eax, ecx */ /* 0x2B0789F1: cmp eax, ecx */ 12858 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12860 _flag_k = FK_CMP; 12861 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A05; /* 0x2B0789F3: je 0x2b078a05 */ 12862 L_2B0789F5: 12863 /* cmp edi, MEM32(eax + 0xC) */ /* 0x2B0789F5: cmp edi, dword ptr [eax + 0xc] */ 12864 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 12865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12866 _flag_k = FK_CMP; 12867 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789FF; /* 0x2B0789F8: jne 0x2b0789ff */ 12868 L_2B0789FA: 12869 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0789FA: cmp esi, dword ptr [eax + 8] */ 12870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12872 _flag_k = FK_CMP; 12873 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A25; /* 0x2B0789FD: je 0x2b078a25 */ 12874 L_2B0789FF: 12875 eax = MEM32(eax); /* 0x2B0789FF: mov eax, dword ptr [eax] */ 12876 /* cmp eax, ecx */ /* 0x2B078A01: cmp eax, ecx */ 12877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12879 _flag_k = FK_CMP; 12880 RECOMP_BACKEDGE(); 12881 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0789F5; /* 0x2B078A03: jne 0x2b0789f5 */ 12882 L_2B078A05: 12883 eax = ebp + (-0x14); /* 0x2B078A05: lea eax, [ebp - 0x14] */ 12884 /* cmp eax, edx */ /* 0x2B078A08: cmp eax, edx */ 12885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12887 _flag_k = FK_CMP; 12888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B078A17; /* 0x2B078A0A: je 0x2b078a17 */ 12889 L_2B078A0C: 12890 ecx = MEM32(edx); /* 0x2B078A0C: mov ecx, dword ptr [edx] */ 12891 edx = MEM32(edx + 0x4); /* 0x2B078A0E: mov edx, dword ptr [edx + 4] */ 12892 MEM32(ebp + (-0x14)) = ecx; /* 0x2B078A11: mov dword ptr [ebp - 0x14], ecx */ 12893 MEM32(ebp + (-0x10)) = edx; /* 0x2B078A14: mov dword ptr [ebp - 0x10], edx */ 12894 L_2B078A17: 12895 ecx = MEM32(ebp + (-0x4)); /* 0x2B078A17: mov ecx, dword ptr [ebp - 4] */ 12896 PUSH32(esp, 1); /* 0x2B078A1A: push 1 */ 12897 eax = ebp + (-0x14); /* 0x2B078A1C: lea eax, [ebp - 0x14] */ 12898 PUSH32(esp, eax); /* 0x2B078A1F: push eax */ 12899 RECOMP_ICALL(0x2B078600u); /* 0x2B078A20: call 0x2b078600 */ /* not lifted */ 12900 RECOMP_FLAGS_IN(); 12901 L_2B078A25: 12902 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 12903 ebx = ebx + 1; /* 0x2B078A25: inc ebx */ 12904 _flag_k = FK_INC; 12905 /* cmp ebx, 0x64u */ /* 0x2B078A26: cmp ebx, 0x64 */ 12906 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u); 12907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12908 _flag_k = FK_CMP; 12909 RECOMP_BACKEDGE(); 12910 if (CMP_L(_flag_a, _flag_b)) goto L_2B078988; /* 0x2B078A29: jl 0x2b078988 */ 12911 L_2B078A2F: 12912 edi = POP32_VAL(esp); /* 0x2B078A2F: pop edi */ 12913 esi = POP32_VAL(esp); /* 0x2B078A30: pop esi */ 12914 ebx = POP32_VAL(esp); /* 0x2B078A31: pop ebx */ 12915 esp = ebp; /* 0x2B078A32: mov esp, ebp */ 12916 ebp = POP32_VAL(esp); /* 0x2B078A34: pop ebp */ 12917 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B078A35: ret */ 12918 L_2B0794B0: 12919 ecx = MEM32(0x2B0EF034); /* 0x2B0794B0: mov ecx, dword ptr [0x2b0ef034] */ 12920 /* test ecx, ecx */ /* 0x2B0794B6: test ecx, ecx */ 12921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12922 _cf = 0; 12923 _flag_k = FK_TEST; 12924 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0794BF; /* 0x2B0794B8: je 0x2b0794bf */ 12925 L_2B0794BA: 12926 RECOMP_BACKEDGE(); 12927 goto L_2B078940; /* 0x2B0794BA: jmp 0x2b078940 */ 12928 L_2B0794BF: 12929 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0794BF: ret */ 12930 RECOMP_REGS_OUT(); 12931 } 12932 12933 void sub_2B0794C0(void) { 12934 int _fpu_cmp = 0; 12935 uint32_t _cf = 0; 12936 int _df = 1; 12937 uint32_t _flag_k = FK_NONE; 12938 uint32_t _flag_a = 0, _flag_b = 0; 12939 uint32_t _itail_tgt = 0; 12940 RECOMP_REGS_LOCALS 12941 RECOMP_ENTER(0x2B0794C0u); 12942 12943 L_2B0794C0: 12944 PUSH32(esp, ebp); /* 0x2B0794C0: push ebp */ 12945 ebp = esp; /* 0x2B0794C1: mov ebp, esp */ 12946 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12948 esp = esp - 0x10u; /* 0x2B0794C3: sub esp, 0x10 */ 12949 _flag_k = FK_CMP; 12950 ecx = MEM32(0x2B0EF034); /* 0x2B0794C6: mov ecx, dword ptr [0x2b0ef034] */ 12951 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12952 eax = 0; /* 0x2B0794CC: xor eax, eax */ 12953 _cf = 0; 12954 _flag_k = FK_TEST; 12955 /* cmp ecx, eax */ /* 0x2B0794CE: cmp ecx, eax */ 12956 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12958 _flag_k = FK_CMP; 12959 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079507; /* 0x2B0794D0: je 0x2b079507 */ 12960 L_2B0794D2: 12961 MEM32(ebp + (-0x10)) = eax; /* 0x2B0794D2: mov dword ptr [ebp - 0x10], eax */ 12962 MEM32(ebp + (-0xC)) = eax; /* 0x2B0794D5: mov dword ptr [ebp - 0xc], eax */ 12963 MEM32(ebp + (-0x8)) = eax; /* 0x2B0794D8: mov dword ptr [ebp - 8], eax */ 12964 MEM32(ebp + (-0x4)) = eax; /* 0x2B0794DB: mov dword ptr [ebp - 4], eax */ 12965 eax = ebp + (-0x8); /* 0x2B0794DE: lea eax, [ebp - 8] */ 12966 PUSH32(esp, eax); /* 0x2B0794E1: push eax */ 12967 ecx = ebp + (-0x10); /* 0x2B0794E2: lea ecx, [ebp - 0x10] */ 12968 PUSH32(esp, ecx); /* 0x2B0794E5: push ecx */ 12969 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0794E6: call dword ptr [0x2b0b53cc] */ 12970 RECOMP_FLAGS_IN(); 12971 ecx = eax; /* 0x2B0794EC: mov ecx, eax */ 12972 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B0794EE: call dword ptr [0x2b0b5364] */ 12973 RECOMP_FLAGS_IN(); 12974 ecx = MEM32(0x2B0EF034); /* 0x2B0794F4: mov ecx, dword ptr [0x2b0ef034] */ 12975 edx = ebp + (-0x8); /* 0x2B0794FA: lea edx, [ebp - 8] */ 12976 PUSH32(esp, edx); /* 0x2B0794FD: push edx */ 12977 eax = ebp + (-0x10); /* 0x2B0794FE: lea eax, [ebp - 0x10] */ 12978 PUSH32(esp, eax); /* 0x2B079501: push eax */ 12979 RECOMP_ICALL(0x2B078A40u); /* 0x2B079502: call 0x2b078a40 */ /* not lifted */ 12980 RECOMP_FLAGS_IN(); 12981 L_2B079507: 12982 esp = ebp; /* 0x2B079507: mov esp, ebp */ 12983 ebp = POP32_VAL(esp); /* 0x2B079509: pop ebp */ 12984 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07950A: ret */ 12985 RECOMP_REGS_OUT(); 12986 } 12987 12988 void sub_2B079510(void) { 12989 int _fpu_cmp = 0; 12990 uint32_t _cf = 0; 12991 int _df = 1; 12992 uint32_t _flag_k = FK_NONE; 12993 uint32_t _flag_a = 0, _flag_b = 0; 12994 uint32_t _itail_tgt = 0; 12995 RECOMP_REGS_LOCALS 12996 RECOMP_ENTER(0x2B079510u); 12997 12998 L_2B079510: 12999 PUSH32(esp, ebp); /* 0x2B079510: push ebp */ 13000 ebp = esp; /* 0x2B079511: mov ebp, esp */ 13001 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 13002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13003 esp = esp - 0x10u; /* 0x2B079513: sub esp, 0x10 */ 13004 _flag_k = FK_CMP; 13005 ecx = MEM32(0x2B0EF034); /* 0x2B079516: mov ecx, dword ptr [0x2b0ef034] */ 13006 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13007 eax = 0; /* 0x2B07951C: xor eax, eax */ 13008 _cf = 0; 13009 _flag_k = FK_TEST; 13010 /* cmp ecx, eax */ /* 0x2B07951E: cmp ecx, eax */ 13011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13013 _flag_k = FK_CMP; 13014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079557; /* 0x2B079520: je 0x2b079557 */ 13015 L_2B079522: 13016 MEM32(ebp + (-0x10)) = eax; /* 0x2B079522: mov dword ptr [ebp - 0x10], eax */ 13017 MEM32(ebp + (-0xC)) = eax; /* 0x2B079525: mov dword ptr [ebp - 0xc], eax */ 13018 MEM32(ebp + (-0x8)) = eax; /* 0x2B079528: mov dword ptr [ebp - 8], eax */ 13019 MEM32(ebp + (-0x4)) = eax; /* 0x2B07952B: mov dword ptr [ebp - 4], eax */ 13020 eax = ebp + (-0x8); /* 0x2B07952E: lea eax, [ebp - 8] */ 13021 PUSH32(esp, eax); /* 0x2B079531: push eax */ 13022 ecx = ebp + (-0x10); /* 0x2B079532: lea ecx, [ebp - 0x10] */ 13023 PUSH32(esp, ecx); /* 0x2B079535: push ecx */ 13024 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B079536: call dword ptr [0x2b0b53cc] */ 13025 RECOMP_FLAGS_IN(); 13026 ecx = eax; /* 0x2B07953C: mov ecx, eax */ 13027 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B07953E: call dword ptr [0x2b0b5364] */ 13028 RECOMP_FLAGS_IN(); 13029 ecx = MEM32(0x2B0EF034); /* 0x2B079544: mov ecx, dword ptr [0x2b0ef034] */ 13030 edx = ebp + (-0x8); /* 0x2B07954A: lea edx, [ebp - 8] */ 13031 PUSH32(esp, edx); /* 0x2B07954D: push edx */ 13032 eax = ebp + (-0x10); /* 0x2B07954E: lea eax, [ebp - 0x10] */ 13033 PUSH32(esp, eax); /* 0x2B079551: push eax */ 13034 RECOMP_ICALL(0x2B078AE0u); /* 0x2B079552: call 0x2b078ae0 */ /* not lifted */ 13035 RECOMP_FLAGS_IN(); 13036 L_2B079557: 13037 esp = ebp; /* 0x2B079557: mov esp, ebp */ 13038 ebp = POP32_VAL(esp); /* 0x2B079559: pop ebp */ 13039 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07955A: ret */ 13040 RECOMP_REGS_OUT(); 13041 } 13042 13043 void sub_2B079560(void) { 13044 int _fpu_cmp = 0; 13045 uint32_t _cf = 0; 13046 int _df = 1; 13047 uint32_t _flag_k = FK_NONE; 13048 uint32_t _flag_a = 0, _flag_b = 0; 13049 uint32_t _itail_tgt = 0; 13050 RECOMP_REGS_LOCALS 13051 RECOMP_ENTER(0x2B079560u); 13052 13053 L_2B079560: 13054 goto L_2B079570; /* 0x2B079560: jmp 0x2b079570 */ 13055 L_2B079570: 13056 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13057 eax = 0; /* 0x2B079570: xor eax, eax */ 13058 _cf = 0; 13059 _flag_k = FK_TEST; 13060 MEM32(0x2B0EF070) = eax; /* 0x2B079572: mov dword ptr [0x2b0ef070], eax */ 13061 MEM32(0x2B0EF074) = eax; /* 0x2B079577: mov dword ptr [0x2b0ef074], eax */ 13062 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07957C: ret */ 13063 RECOMP_REGS_OUT(); 13064 } 13065 13066 void sub_2B079570(void) { 13067 int _fpu_cmp = 0; 13068 uint32_t _cf = 0; 13069 int _df = 1; 13070 uint32_t _flag_k = FK_NONE; 13071 uint32_t _flag_a = 0, _flag_b = 0; 13072 uint32_t _itail_tgt = 0; 13073 RECOMP_REGS_LOCALS 13074 RECOMP_ENTER(0x2B079570u); 13075 13076 L_2B079570: 13077 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13078 eax = 0; /* 0x2B079570: xor eax, eax */ 13079 _cf = 0; 13080 _flag_k = FK_TEST; 13081 MEM32(0x2B0EF070) = eax; /* 0x2B079572: mov dword ptr [0x2b0ef070], eax */ 13082 MEM32(0x2B0EF074) = eax; /* 0x2B079577: mov dword ptr [0x2b0ef074], eax */ 13083 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07957C: ret */ 13084 RECOMP_REGS_OUT(); 13085 } 13086 13087 void sub_2B079580(void) { 13088 int _fpu_cmp = 0; 13089 uint32_t _cf = 0; 13090 int _df = 1; 13091 uint32_t _flag_k = FK_NONE; 13092 uint32_t _flag_a = 0, _flag_b = 0; 13093 uint32_t _itail_tgt = 0; 13094 RECOMP_REGS_LOCALS 13095 RECOMP_ENTER(0x2B079580u); 13096 13097 L_2B079580: 13098 RECOMP_ICALL(0x2B079590u); /* 0x2B079580: call 0x2b079590 */ /* not lifted */ 13099 RECOMP_FLAGS_IN(); 13100 goto L_2B0795B0; /* 0x2B079585: jmp 0x2b0795b0 */ 13101 L_2B0795B0: 13102 PUSH32(esp, 0x2B0795C0u); /* 0x2B0795B0: push 0x2b0795c0 */ 13103 RECOMP_ICALL(0x2B0AB39Fu); /* 0x2B0795B5: call 0x2b0ab39f */ /* not lifted */ 13104 RECOMP_FLAGS_IN(); 13105 ecx = POP32_VAL(esp); /* 0x2B0795BA: pop ecx */ 13106 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0795BB: ret */ 13107 RECOMP_REGS_OUT(); 13108 } 13109 13110 void sub_2B079590(void) { 13111 int _fpu_cmp = 0; 13112 uint32_t _cf = 0; 13113 int _df = 1; 13114 uint32_t _flag_k = FK_NONE; 13115 uint32_t _flag_a = 0, _flag_b = 0; 13116 uint32_t _itail_tgt = 0; 13117 RECOMP_REGS_LOCALS 13118 RECOMP_ENTER(0x2B079590u); 13119 13120 L_2B079590: 13121 PUSH32(esp, ebp); /* 0x2B079590: push ebp */ 13122 ebp = esp; /* 0x2B079591: mov ebp, esp */ 13123 PUSH32(esp, ecx); /* 0x2B079593: push ecx */ 13124 eax = ebp + (-0x1); /* 0x2B079594: lea eax, [ebp - 1] */ 13125 PUSH32(esp, eax); /* 0x2B079597: push eax */ 13126 ecx = ebp + (-0x2); /* 0x2B079598: lea ecx, [ebp - 2] */ 13127 PUSH32(esp, ecx); /* 0x2B07959B: push ecx */ 13128 ecx = 0x2B0EF058u; /* 0x2B07959C: mov ecx, 0x2b0ef058 */ 13129 RECOMP_ICALL(0x2B07ED30u); /* 0x2B0795A1: call 0x2b07ed30 */ /* not lifted */ 13130 RECOMP_FLAGS_IN(); 13131 esp = ebp; /* 0x2B0795A6: mov esp, ebp */ 13132 ebp = POP32_VAL(esp); /* 0x2B0795A8: pop ebp */ 13133 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0795A9: ret */ 13134 RECOMP_REGS_OUT(); 13135 } 13136 13137 void sub_2B0795B0(void) { 13138 int _fpu_cmp = 0; 13139 uint32_t _cf = 0; 13140 int _df = 1; 13141 uint32_t _flag_k = FK_NONE; 13142 uint32_t _flag_a = 0, _flag_b = 0; 13143 uint32_t _itail_tgt = 0; 13144 RECOMP_REGS_LOCALS 13145 RECOMP_ENTER(0x2B0795B0u); 13146 13147 L_2B0795B0: 13148 PUSH32(esp, 0x2B0795C0u); /* 0x2B0795B0: push 0x2b0795c0 */ 13149 RECOMP_ICALL(0x2B0AB39Fu); /* 0x2B0795B5: call 0x2b0ab39f */ /* not lifted */ 13150 RECOMP_FLAGS_IN(); 13151 ecx = POP32_VAL(esp); /* 0x2B0795BA: pop ecx */ 13152 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0795BB: ret */ 13153 RECOMP_REGS_OUT(); 13154 } 13155 13156 void sub_2B0795C0(void) { 13157 int _fpu_cmp = 0; 13158 uint32_t _cf = 0; 13159 int _df = 1; 13160 uint32_t _flag_k = FK_NONE; 13161 uint32_t _flag_a = 0, _flag_b = 0; 13162 uint32_t _itail_tgt = 0; 13163 RECOMP_REGS_LOCALS 13164 RECOMP_ENTER(0x2B0795C0u); 13165 13166 L_2B0795C0: 13167 SET_LO8(ecx, MEM8(0x2B0EF055)); /* 0x2B0795C0: mov cl, byte ptr [0x2b0ef055] */ 13168 SET_LO8(eax, 1); /* 0x2B0795C6: mov al, 1 */ 13169 /* test LO8(eax), LO8(ecx) */ /* 0x2B0795C8: test al, cl */ 13170 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13171 _cf = 0; 13172 _flag_k = FK_NARROW(FK_TEST, 24); 13173 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0795DE; /* 0x2B0795CA: jne 0x2b0795de */ 13174 L_2B0795CC: 13175 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 13176 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B0795CC: or cl, al */ 13177 _cf = 0; 13178 _flag_k = FK_NARROW(FK_TEST, 24); 13179 MEM8(0x2B0EF055) = (uint8_t)(LO8(ecx)); /* 0x2B0795CE: mov byte ptr [0x2b0ef055], cl */ 13180 ecx = 0x2B0EF058u; /* 0x2B0795D4: mov ecx, 0x2b0ef058 */ 13181 goto L_2B0795E0; /* 0x2B0795D9: jmp 0x2b0795e0 */ 13182 L_2B0795DE: 13183 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0795DE: ret */ 13184 L_2B0795E0: 13185 PUSH32(esp, ebp); /* 0x2B0795E0: push ebp */ 13186 ebp = esp; /* 0x2B0795E1: mov ebp, esp */ 13187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13189 esp = esp - 8; /* 0x2B0795E3: sub esp, 8 */ 13190 _flag_k = FK_CMP; 13191 PUSH32(esp, ebx); /* 0x2B0795E6: push ebx */ 13192 PUSH32(esp, esi); /* 0x2B0795E7: push esi */ 13193 esi = ecx; /* 0x2B0795E8: mov esi, ecx */ 13194 ecx = MEM32(esi + 0x10); /* 0x2B0795EA: mov ecx, dword ptr [esi + 0x10] */ 13195 /* test ecx, ecx */ /* 0x2B0795ED: test ecx, ecx */ 13196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13197 _cf = 0; 13198 _flag_k = FK_TEST; 13199 PUSH32(esp, edi); /* 0x2B0795EF: push edi */ 13200 edi = MEM32(esi + 0x4); /* 0x2B0795F0: mov edi, dword ptr [esi + 4] */ 13201 eax = MEM32(edi); /* 0x2B0795F3: mov eax, dword ptr [edi] */ 13202 MEM32(ebp + (-0x4)) = eax; /* 0x2B0795F5: mov dword ptr [ebp - 4], eax */ 13203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B0795F8: je 0x2b07965f */ 13204 L_2B0795FA: 13205 ecx = eax; /* 0x2B0795FA: mov ecx, eax */ 13206 /* cmp eax, ecx */ /* 0x2B0795FC: cmp eax, ecx */ 13207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13209 _flag_k = FK_CMP; 13210 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B0795FE: jne 0x2b07965f */ 13211 L_2B079600: 13212 /* cmp edi, edi */ /* 0x2B079600: cmp edi, edi */ 13213 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13215 _flag_k = FK_CMP; 13216 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B079602: jne 0x2b07965f */ 13217 L_2B079604: 13218 ebx = MEM32(edi + 0x4); /* 0x2B079604: mov ebx, dword ptr [edi + 4] */ 13219 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B079607: cmp ebx, dword ptr [esi + 8] */ 13220 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13222 _flag_k = FK_CMP; 13223 edi = ebx; /* 0x2B07960A: mov edi, ebx */ 13224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079637; /* 0x2B07960C: je 0x2b079637 */ 13225 L_2B07960E: 13226 eax = MEM32(edi + 0x8); /* 0x2B07960E: mov eax, dword ptr [edi + 8] */ 13227 PUSH32(esp, eax); /* 0x2B079611: push eax */ 13228 ecx = esi; /* 0x2B079612: mov ecx, esi */ 13229 RECOMP_ICALL(0x2B081040u); /* 0x2B079614: call 0x2b081040 */ /* not lifted */ 13230 RECOMP_FLAGS_IN(); 13231 edi = MEM32(edi); /* 0x2B079619: mov edi, dword ptr [edi] */ 13232 PUSH32(esp, 0); /* 0x2B07961B: push 0 */ 13233 ecx = ebx + 0xC; /* 0x2B07961D: lea ecx, [ebx + 0xc] */ 13234 RECOMP_ICALL(0x2B0818C0u); /* 0x2B079620: call 0x2b0818c0 */ /* not lifted */ 13235 RECOMP_FLAGS_IN(); 13236 PUSH32(esp, ebx); /* 0x2B079625: push ebx */ 13237 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079626: call 0x2b0ab1ba */ /* not lifted */ 13238 RECOMP_FLAGS_IN(); 13239 eax = MEM32(esi + 0x8); /* 0x2B07962B: mov eax, dword ptr [esi + 8] */ 13240 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13242 esp = esp + 4; /* 0x2B07962E: add esp, 4 */ 13243 _flag_k = FK_ADD; 13244 /* cmp edi, eax */ /* 0x2B079631: cmp edi, eax */ 13245 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13247 _flag_k = FK_CMP; 13248 ebx = edi; /* 0x2B079633: mov ebx, edi */ 13249 RECOMP_BACKEDGE(); 13250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07960E; /* 0x2B079635: jne 0x2b07960e */ 13251 L_2B079637: 13252 ecx = MEM32(esi + 0x4); /* 0x2B079637: mov ecx, dword ptr [esi + 4] */ 13253 edx = MEM32(esi + 0x8); /* 0x2B07963A: mov edx, dword ptr [esi + 8] */ 13254 MEM32(ecx + 0x4) = edx; /* 0x2B07963D: mov dword ptr [ecx + 4], edx */ 13255 eax = MEM32(esi + 0x4); /* 0x2B079640: mov eax, dword ptr [esi + 4] */ 13256 MEM32(esi + 0x10) = 0; /* 0x2B079643: mov dword ptr [esi + 0x10], 0 */ 13257 MEM32(eax) = eax; /* 0x2B07964A: mov dword ptr [eax], eax */ 13258 eax = MEM32(esi + 0x4); /* 0x2B07964C: mov eax, dword ptr [esi + 4] */ 13259 MEM32(eax + 0x8) = eax; /* 0x2B07964F: mov dword ptr [eax + 8], eax */ 13260 eax = ebp + (-0x8); /* 0x2B079652: lea eax, [ebp - 8] */ 13261 PUSH32(esp, eax); /* 0x2B079655: push eax */ 13262 ecx = esi; /* 0x2B079656: mov ecx, esi */ 13263 RECOMP_ICALL(0x2B018B60u); /* 0x2B079658: call 0x2b018b60 */ /* not lifted */ 13264 RECOMP_FLAGS_IN(); 13265 goto L_2B079680; /* 0x2B07965D: jmp 0x2b079680 */ 13266 L_2B07965F: 13267 /* cmp eax, edi */ /* 0x2B07965F: cmp eax, edi */ 13268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13270 _flag_k = FK_CMP; 13271 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079680; /* 0x2B079661: je 0x2b079680 */ 13272 L_2B079663: 13273 ecx = ebp + (-0x4); /* 0x2B079663: lea ecx, [ebp - 4] */ 13274 ebx = eax; /* 0x2B079666: mov ebx, eax */ 13275 RECOMP_ICALL(0x2B02A660u); /* 0x2B079668: call 0x2b02a660 */ /* not lifted */ 13276 RECOMP_FLAGS_IN(); 13277 PUSH32(esp, ebx); /* 0x2B07966D: push ebx */ 13278 ecx = ebp + (-0x8); /* 0x2B07966E: lea ecx, [ebp - 8] */ 13279 PUSH32(esp, ecx); /* 0x2B079671: push ecx */ 13280 ecx = esi; /* 0x2B079672: mov ecx, esi */ 13281 RECOMP_ICALL(0x2B080C70u); /* 0x2B079674: call 0x2b080c70 */ /* not lifted */ 13282 RECOMP_FLAGS_IN(); 13283 eax = MEM32(ebp + (-0x4)); /* 0x2B079679: mov eax, dword ptr [ebp - 4] */ 13284 /* cmp eax, edi */ /* 0x2B07967C: cmp eax, edi */ 13285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13287 _flag_k = FK_CMP; 13288 RECOMP_BACKEDGE(); 13289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B079663; /* 0x2B07967E: jne 0x2b079663 */ 13290 L_2B079680: 13291 edx = MEM32(esi + 0x4); /* 0x2B079680: mov edx, dword ptr [esi + 4] */ 13292 PUSH32(esp, edx); /* 0x2B079683: push edx */ 13293 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079684: call 0x2b0ab1ba */ /* not lifted */ 13294 RECOMP_FLAGS_IN(); 13295 eax = MEM32(esi + 0x8); /* 0x2B079689: mov eax, dword ptr [esi + 8] */ 13296 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13297 edi = 0; /* 0x2B07968C: xor edi, edi */ 13298 _cf = 0; 13299 _flag_k = FK_TEST; 13300 PUSH32(esp, eax); /* 0x2B07968E: push eax */ 13301 MEM32(esi + 0x4) = edi; /* 0x2B07968F: mov dword ptr [esi + 4], edi */ 13302 MEM32(esi + 0x10) = edi; /* 0x2B079692: mov dword ptr [esi + 0x10], edi */ 13303 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079695: call 0x2b0ab1ba */ /* not lifted */ 13304 RECOMP_FLAGS_IN(); 13305 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13306 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13307 esp = esp + 8; /* 0x2B07969A: add esp, 8 */ 13308 _flag_k = FK_ADD; 13309 MEM32(esi + 0x8) = edi; /* 0x2B07969D: mov dword ptr [esi + 8], edi */ 13310 edi = POP32_VAL(esp); /* 0x2B0796A0: pop edi */ 13311 esi = POP32_VAL(esp); /* 0x2B0796A1: pop esi */ 13312 ebx = POP32_VAL(esp); /* 0x2B0796A2: pop ebx */ 13313 esp = ebp; /* 0x2B0796A3: mov esp, ebp */ 13314 ebp = POP32_VAL(esp); /* 0x2B0796A5: pop ebp */ 13315 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0796A6: ret */ 13316 RECOMP_REGS_OUT(); 13317 } 13318 13319 void sub_2B0795E0(void) { 13320 int _fpu_cmp = 0; 13321 uint32_t _cf = 0; 13322 int _df = 1; 13323 uint32_t _flag_k = FK_NONE; 13324 uint32_t _flag_a = 0, _flag_b = 0; 13325 uint32_t _itail_tgt = 0; 13326 RECOMP_REGS_LOCALS 13327 RECOMP_ENTER(0x2B0795E0u); 13328 13329 L_2B0795E0: 13330 PUSH32(esp, ebp); /* 0x2B0795E0: push ebp */ 13331 ebp = esp; /* 0x2B0795E1: mov ebp, esp */ 13332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13334 esp = esp - 8; /* 0x2B0795E3: sub esp, 8 */ 13335 _flag_k = FK_CMP; 13336 PUSH32(esp, ebx); /* 0x2B0795E6: push ebx */ 13337 PUSH32(esp, esi); /* 0x2B0795E7: push esi */ 13338 esi = ecx; /* 0x2B0795E8: mov esi, ecx */ 13339 ecx = MEM32(esi + 0x10); /* 0x2B0795EA: mov ecx, dword ptr [esi + 0x10] */ 13340 /* test ecx, ecx */ /* 0x2B0795ED: test ecx, ecx */ 13341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13342 _cf = 0; 13343 _flag_k = FK_TEST; 13344 PUSH32(esp, edi); /* 0x2B0795EF: push edi */ 13345 edi = MEM32(esi + 0x4); /* 0x2B0795F0: mov edi, dword ptr [esi + 4] */ 13346 eax = MEM32(edi); /* 0x2B0795F3: mov eax, dword ptr [edi] */ 13347 MEM32(ebp + (-0x4)) = eax; /* 0x2B0795F5: mov dword ptr [ebp - 4], eax */ 13348 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B0795F8: je 0x2b07965f */ 13349 L_2B0795FA: 13350 ecx = eax; /* 0x2B0795FA: mov ecx, eax */ 13351 /* cmp eax, ecx */ /* 0x2B0795FC: cmp eax, ecx */ 13352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13354 _flag_k = FK_CMP; 13355 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B0795FE: jne 0x2b07965f */ 13356 L_2B079600: 13357 /* cmp edi, edi */ /* 0x2B079600: cmp edi, edi */ 13358 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13360 _flag_k = FK_CMP; 13361 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07965F; /* 0x2B079602: jne 0x2b07965f */ 13362 L_2B079604: 13363 ebx = MEM32(edi + 0x4); /* 0x2B079604: mov ebx, dword ptr [edi + 4] */ 13364 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B079607: cmp ebx, dword ptr [esi + 8] */ 13365 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13367 _flag_k = FK_CMP; 13368 edi = ebx; /* 0x2B07960A: mov edi, ebx */ 13369 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079637; /* 0x2B07960C: je 0x2b079637 */ 13370 L_2B07960E: 13371 eax = MEM32(edi + 0x8); /* 0x2B07960E: mov eax, dword ptr [edi + 8] */ 13372 PUSH32(esp, eax); /* 0x2B079611: push eax */ 13373 ecx = esi; /* 0x2B079612: mov ecx, esi */ 13374 RECOMP_ICALL(0x2B081040u); /* 0x2B079614: call 0x2b081040 */ /* not lifted */ 13375 RECOMP_FLAGS_IN(); 13376 edi = MEM32(edi); /* 0x2B079619: mov edi, dword ptr [edi] */ 13377 PUSH32(esp, 0); /* 0x2B07961B: push 0 */ 13378 ecx = ebx + 0xC; /* 0x2B07961D: lea ecx, [ebx + 0xc] */ 13379 RECOMP_ICALL(0x2B0818C0u); /* 0x2B079620: call 0x2b0818c0 */ /* not lifted */ 13380 RECOMP_FLAGS_IN(); 13381 PUSH32(esp, ebx); /* 0x2B079625: push ebx */ 13382 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079626: call 0x2b0ab1ba */ /* not lifted */ 13383 RECOMP_FLAGS_IN(); 13384 eax = MEM32(esi + 0x8); /* 0x2B07962B: mov eax, dword ptr [esi + 8] */ 13385 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13387 esp = esp + 4; /* 0x2B07962E: add esp, 4 */ 13388 _flag_k = FK_ADD; 13389 /* cmp edi, eax */ /* 0x2B079631: cmp edi, eax */ 13390 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13392 _flag_k = FK_CMP; 13393 ebx = edi; /* 0x2B079633: mov ebx, edi */ 13394 RECOMP_BACKEDGE(); 13395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07960E; /* 0x2B079635: jne 0x2b07960e */ 13396 L_2B079637: 13397 ecx = MEM32(esi + 0x4); /* 0x2B079637: mov ecx, dword ptr [esi + 4] */ 13398 edx = MEM32(esi + 0x8); /* 0x2B07963A: mov edx, dword ptr [esi + 8] */ 13399 MEM32(ecx + 0x4) = edx; /* 0x2B07963D: mov dword ptr [ecx + 4], edx */ 13400 eax = MEM32(esi + 0x4); /* 0x2B079640: mov eax, dword ptr [esi + 4] */ 13401 MEM32(esi + 0x10) = 0; /* 0x2B079643: mov dword ptr [esi + 0x10], 0 */ 13402 MEM32(eax) = eax; /* 0x2B07964A: mov dword ptr [eax], eax */ 13403 eax = MEM32(esi + 0x4); /* 0x2B07964C: mov eax, dword ptr [esi + 4] */ 13404 MEM32(eax + 0x8) = eax; /* 0x2B07964F: mov dword ptr [eax + 8], eax */ 13405 eax = ebp + (-0x8); /* 0x2B079652: lea eax, [ebp - 8] */ 13406 PUSH32(esp, eax); /* 0x2B079655: push eax */ 13407 ecx = esi; /* 0x2B079656: mov ecx, esi */ 13408 RECOMP_ICALL(0x2B018B60u); /* 0x2B079658: call 0x2b018b60 */ /* not lifted */ 13409 RECOMP_FLAGS_IN(); 13410 goto L_2B079680; /* 0x2B07965D: jmp 0x2b079680 */ 13411 L_2B07965F: 13412 /* cmp eax, edi */ /* 0x2B07965F: cmp eax, edi */ 13413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13415 _flag_k = FK_CMP; 13416 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B079680; /* 0x2B079661: je 0x2b079680 */ 13417 L_2B079663: 13418 ecx = ebp + (-0x4); /* 0x2B079663: lea ecx, [ebp - 4] */ 13419 ebx = eax; /* 0x2B079666: mov ebx, eax */ 13420 RECOMP_ICALL(0x2B02A660u); /* 0x2B079668: call 0x2b02a660 */ /* not lifted */ 13421 RECOMP_FLAGS_IN(); 13422 PUSH32(esp, ebx); /* 0x2B07966D: push ebx */ 13423 ecx = ebp + (-0x8); /* 0x2B07966E: lea ecx, [ebp - 8] */ 13424 PUSH32(esp, ecx); /* 0x2B079671: push ecx */ 13425 ecx = esi; /* 0x2B079672: mov ecx, esi */ 13426 RECOMP_ICALL(0x2B080C70u); /* 0x2B079674: call 0x2b080c70 */ /* not lifted */ 13427 RECOMP_FLAGS_IN(); 13428 eax = MEM32(ebp + (-0x4)); /* 0x2B079679: mov eax, dword ptr [ebp - 4] */ 13429 /* cmp eax, edi */ /* 0x2B07967C: cmp eax, edi */ 13430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13432 _flag_k = FK_CMP; 13433 RECOMP_BACKEDGE(); 13434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B079663; /* 0x2B07967E: jne 0x2b079663 */ 13435 L_2B079680: 13436 edx = MEM32(esi + 0x4); /* 0x2B079680: mov edx, dword ptr [esi + 4] */ 13437 PUSH32(esp, edx); /* 0x2B079683: push edx */ 13438 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079684: call 0x2b0ab1ba */ /* not lifted */ 13439 RECOMP_FLAGS_IN(); 13440 eax = MEM32(esi + 0x8); /* 0x2B079689: mov eax, dword ptr [esi + 8] */ 13441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13442 edi = 0; /* 0x2B07968C: xor edi, edi */ 13443 _cf = 0; 13444 _flag_k = FK_TEST; 13445 PUSH32(esp, eax); /* 0x2B07968E: push eax */ 13446 MEM32(esi + 0x4) = edi; /* 0x2B07968F: mov dword ptr [esi + 4], edi */ 13447 MEM32(esi + 0x10) = edi; /* 0x2B079692: mov dword ptr [esi + 0x10], edi */ 13448 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079695: call 0x2b0ab1ba */ /* not lifted */ 13449 RECOMP_FLAGS_IN(); 13450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13452 esp = esp + 8; /* 0x2B07969A: add esp, 8 */ 13453 _flag_k = FK_ADD; 13454 MEM32(esi + 0x8) = edi; /* 0x2B07969D: mov dword ptr [esi + 8], edi */ 13455 edi = POP32_VAL(esp); /* 0x2B0796A0: pop edi */ 13456 esi = POP32_VAL(esp); /* 0x2B0796A1: pop esi */ 13457 ebx = POP32_VAL(esp); /* 0x2B0796A2: pop ebx */ 13458 esp = ebp; /* 0x2B0796A3: mov esp, ebp */ 13459 ebp = POP32_VAL(esp); /* 0x2B0796A5: pop ebp */ 13460 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0796A6: ret */ 13461 RECOMP_REGS_OUT(); 13462 } 13463 13464 void sub_2B079680(void) { 13465 int _fpu_cmp = 0; 13466 uint32_t _cf = 0; 13467 int _df = 1; 13468 uint32_t _flag_k = FK_NONE; 13469 uint32_t _flag_a = 0, _flag_b = 0; 13470 uint32_t _itail_tgt = 0; 13471 RECOMP_REGS_LOCALS 13472 RECOMP_ENTER(0x2B079680u); 13473 13474 L_2B079680: 13475 edx = MEM32(esi + 0x4); /* 0x2B079680: mov edx, dword ptr [esi + 4] */ 13476 PUSH32(esp, edx); /* 0x2B079683: push edx */ 13477 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079684: call 0x2b0ab1ba */ /* not lifted */ 13478 RECOMP_FLAGS_IN(); 13479 eax = MEM32(esi + 0x8); /* 0x2B079689: mov eax, dword ptr [esi + 8] */ 13480 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13481 edi = 0; /* 0x2B07968C: xor edi, edi */ 13482 _cf = 0; 13483 _flag_k = FK_TEST; 13484 PUSH32(esp, eax); /* 0x2B07968E: push eax */ 13485 MEM32(esi + 0x4) = edi; /* 0x2B07968F: mov dword ptr [esi + 4], edi */ 13486 MEM32(esi + 0x10) = edi; /* 0x2B079692: mov dword ptr [esi + 0x10], edi */ 13487 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B079695: call 0x2b0ab1ba */ /* not lifted */ 13488 RECOMP_FLAGS_IN(); 13489 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13490 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13491 esp = esp + 8; /* 0x2B07969A: add esp, 8 */ 13492 _flag_k = FK_ADD; 13493 MEM32(esi + 0x8) = edi; /* 0x2B07969D: mov dword ptr [esi + 8], edi */ 13494 edi = POP32_VAL(esp); /* 0x2B0796A0: pop edi */ 13495 esi = POP32_VAL(esp); /* 0x2B0796A1: pop esi */ 13496 ebx = POP32_VAL(esp); /* 0x2B0796A2: pop ebx */ 13497 esp = ebp; /* 0x2B0796A3: mov esp, ebp */ 13498 ebp = POP32_VAL(esp); /* 0x2B0796A5: pop ebp */ 13499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0796A6: ret */ 13500 RECOMP_REGS_OUT(); 13501 } 13502 13503 void sub_2B0796B0(void) { 13504 int _fpu_cmp = 0; 13505 uint32_t _cf = 0; 13506 int _df = 1; 13507 uint32_t _flag_k = FK_NONE; 13508 uint32_t _flag_a = 0, _flag_b = 0; 13509 uint32_t _itail_tgt = 0; 13510 RECOMP_REGS_LOCALS 13511 RECOMP_ENTER(0x2B0796B0u); 13512 13513 L_2B0796B0: 13514 PUSH32(esp, ebp); /* 0x2B0796B0: push ebp */ 13515 ebp = esp; /* 0x2B0796B1: mov ebp, esp */ 13516 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0796B3: push -1 */ 13517 PUSH32(esp, 0x2B0B1B5Du); /* 0x2B0796B5: push 0x2b0b1b5d */ 13518 eax = MEM32(FS_BASE + (0)); /* 0x2B0796BA: mov eax, dword ptr fs:[0] */ 13519 PUSH32(esp, eax); /* 0x2B0796C0: push eax */ 13520 MEM32(FS_BASE + (0)) = esp; /* 0x2B0796C1: mov dword ptr fs:[0], esp */ 13521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x21Cu); 13522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13523 esp = esp - 0x21Cu; /* 0x2B0796C8: sub esp, 0x21c */ 13524 _flag_k = FK_CMP; 13525 SET_LO8(eax, MEM8(ebp + (-0x7D))); /* 0x2B0796CE: mov al, byte ptr [ebp - 0x7d] */ 13526 PUSH32(esp, ebx); /* 0x2B0796D1: push ebx */ 13527 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13528 ebx = 0; /* 0x2B0796D2: xor ebx, ebx */ 13529 _cf = 0; 13530 _flag_k = FK_TEST; 13531 PUSH32(esp, esi); /* 0x2B0796D4: push esi */ 13532 esi = ecx; /* 0x2B0796D5: mov esi, ecx */ 13533 MEM32(esi + 0x8) = ebx; /* 0x2B0796D7: mov dword ptr [esi + 8], ebx */ 13534 MEM32(esi + 0xC) = ebx; /* 0x2B0796DA: mov dword ptr [esi + 0xc], ebx */ 13535 MEM32(esi + 0x48) = ebx; /* 0x2B0796DD: mov dword ptr [esi + 0x48], ebx */ 13536 MEM32(esi + 0x4C) = ebx; /* 0x2B0796E0: mov dword ptr [esi + 0x4c], ebx */ 13537 PUSH32(esp, edi); /* 0x2B0796E3: push edi */ 13538 MEM32(ebp + (-0x128)) = esi; /* 0x2B0796E4: mov dword ptr [ebp - 0x128], esi */ 13539 MEM8(esi + 0x50) = (uint8_t)(LO8(eax)); /* 0x2B0796EA: mov byte ptr [esi + 0x50], al */ 13540 MEM32(esi + 0x54) = ebx; /* 0x2B0796ED: mov dword ptr [esi + 0x54], ebx */ 13541 MEM32(esi + 0x58) = ebx; /* 0x2B0796F0: mov dword ptr [esi + 0x58], ebx */ 13542 MEM32(esi + 0x5C) = ebx; /* 0x2B0796F3: mov dword ptr [esi + 0x5c], ebx */ 13543 edx = ebp + (-0x7D); /* 0x2B0796F6: lea edx, [ebp - 0x7d] */ 13544 PUSH32(esp, edx); /* 0x2B0796F9: push edx */ 13545 PUSH32(esp, 1); /* 0x2B0796FA: push 1 */ 13546 eax = ebp + (-0xB1); /* 0x2B0796FC: lea eax, [ebp - 0xb1] */ 13547 ecx = esi + 0x60; /* 0x2B079702: lea ecx, [esi + 0x60] */ 13548 PUSH32(esp, eax); /* 0x2B079705: push eax */ 13549 MEM32(ebp + (-0x4)) = ebx; /* 0x2B079706: mov dword ptr [ebp - 4], ebx */ 13550 RECOMP_ICALL(0x2B07F2D0u); /* 0x2B079709: call 0x2b07f2d0 */ /* not lifted */ 13551 RECOMP_FLAGS_IN(); 13552 ecx = ebp + (-0xD); /* 0x2B07970E: lea ecx, [ebp - 0xd] */ 13553 PUSH32(esp, ecx); /* 0x2B079711: push ecx */ 13554 MEM32(esi + 0x7C) = ebx; /* 0x2B079712: mov dword ptr [esi + 0x7c], ebx */ 13555 MEM32(esi + 0x80) = ebx; /* 0x2B079715: mov dword ptr [esi + 0x80], ebx */ 13556 MEM32(esi + 0x84) = ebx; /* 0x2B07971B: mov dword ptr [esi + 0x84], ebx */ 13557 ecx = ebp + (-0x38); /* 0x2B079721: lea ecx, [ebp - 0x38] */ 13558 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079724: mov byte ptr [ebp - 4], 1 */ 13559 MEM8(0x2B0EF07D) = (uint8_t)(LO8(ebx)); /* 0x2B079728: mov byte ptr [0x2b0ef07d], bl */ 13560 MEM32(ebp + (-0x14)) = 0x1F9u; /* 0x2B07972E: mov dword ptr [ebp - 0x14], 0x1f9 */ 13561 MEM32(ebp + (-0x40)) = 0x898Eu; /* 0x2B079735: mov dword ptr [ebp - 0x40], 0x898e */ 13562 MEM32(ebp + (-0x3C)) = 0xAE16u; /* 0x2B07973C: mov dword ptr [ebp - 0x3c], 0xae16 */ 13563 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079743: call dword ptr [0x2b0b5190] */ 13564 RECOMP_FLAGS_IN(); 13565 ecx = ebp + (-0x28); /* 0x2B079749: lea ecx, [ebp - 0x28] */ 13566 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07974C: mov byte ptr [ebp - 4], 2 */ 13567 RECOMP_ICALL(0x2B07F070u); /* 0x2B079750: call 0x2b07f070 */ /* not lifted */ 13568 RECOMP_FLAGS_IN(); 13569 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13570 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079755: or ecx, 0xffffffff */ 13571 _cf = 0; 13572 _flag_k = FK_TEST; 13573 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13574 eax = 0; /* 0x2B079758: xor eax, eax */ 13575 _cf = 0; 13576 _flag_k = FK_TEST; 13577 edi = 0x2B0EC80Cu; /* 0x2B07975A: mov edi, 0x2b0ec80c */ 13578 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; } /* 0x2B07975F: repne scasb al, byte ptr es:[edi] */ 13579 ecx = ~ecx; /* 0x2B079761: not ecx */ 13580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13581 ecx = ecx - 1; /* 0x2B079763: dec ecx */ 13582 _flag_k = FK_DEC; 13583 PUSH32(esp, ecx); /* 0x2B079764: push ecx */ 13584 PUSH32(esp, 0x2B0EC80Cu); /* 0x2B079765: push 0x2b0ec80c */ 13585 ecx = ebp + (-0x38); /* 0x2B07976A: lea ecx, [ebp - 0x38] */ 13586 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07976D: mov dword ptr [ebp - 0x18], ebx */ 13587 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079770: call dword ptr [0x2b0b5148] */ 13588 RECOMP_FLAGS_IN(); 13589 ecx = ebp + (-0x74); /* 0x2B079776: lea ecx, [ebp - 0x74] */ 13590 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B079779: mov byte ptr [ebp - 4], 3 */ 13591 RECOMP_ICALL(0x2B07C070u); /* 0x2B07977D: call 0x2b07c070 */ /* not lifted */ 13592 RECOMP_FLAGS_IN(); 13593 PUSH32(esp, eax); /* 0x2B079782: push eax */ 13594 edx = ebp + (-0x14); /* 0x2B079783: lea edx, [ebp - 0x14] */ 13595 PUSH32(esp, edx); /* 0x2B079786: push edx */ 13596 ecx = ebp + (-0xB0); /* 0x2B079787: lea ecx, [ebp - 0xb0] */ 13597 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07978D: mov byte ptr [ebp - 4], 4 */ 13598 RECOMP_ICALL(0x2B07F720u); /* 0x2B079791: call 0x2b07f720 */ /* not lifted */ 13599 RECOMP_FLAGS_IN(); 13600 PUSH32(esp, eax); /* 0x2B079796: push eax */ 13601 eax = ebp + (-0x48); /* 0x2B079797: lea eax, [ebp - 0x48] */ 13602 PUSH32(esp, eax); /* 0x2B07979A: push eax */ 13603 ecx = 0x2B0EF058u; /* 0x2B07979B: mov ecx, 0x2b0ef058 */ 13604 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0797A0: mov byte ptr [ebp - 4], 5 */ 13605 RECOMP_ICALL(0x2B07F640u); /* 0x2B0797A4: call 0x2b07f640 */ /* not lifted */ 13606 RECOMP_FLAGS_IN(); 13607 edi = MEM32(eax); /* 0x2B0797A9: mov edi, dword ptr [eax] */ 13608 PUSH32(esp, 1); /* 0x2B0797AB: push 1 */ 13609 ecx = ebp + (-0xA4); /* 0x2B0797AD: lea ecx, [ebp - 0xa4] */ 13610 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B0797B3: mov byte ptr [ebp - 4], 4 */ 13611 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0797B7: call dword ptr [0x2b0b514c] */ 13612 RECOMP_FLAGS_IN(); 13613 PUSH32(esp, 1); /* 0x2B0797BD: push 1 */ 13614 ecx = ebp + (-0x6C); /* 0x2B0797BF: lea ecx, [ebp - 0x6c] */ 13615 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0797C2: mov byte ptr [ebp - 4], 3 */ 13616 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0797C6: call dword ptr [0x2b0b514c] */ 13617 RECOMP_FLAGS_IN(); 13618 ecx = MEM32(ebp + (-0x40)); /* 0x2B0797CC: mov ecx, dword ptr [ebp - 0x40] */ 13619 MEM32(edi + 0x10) = ecx; /* 0x2B0797CF: mov dword ptr [edi + 0x10], ecx */ 13620 edx = MEM32(ebp + (-0x3C)); /* 0x2B0797D2: mov edx, dword ptr [ebp - 0x3c] */ 13621 MEM32(edi + 0x14) = edx; /* 0x2B0797D5: mov dword ptr [edi + 0x14], edx */ 13622 eax = MEM32(0x2B0B515C); /* 0x2B0797D8: mov eax, dword ptr [0x2b0b515c] */ 13623 ecx = MEM32(eax); /* 0x2B0797DD: mov ecx, dword ptr [eax] */ 13624 PUSH32(esp, ecx); /* 0x2B0797DF: push ecx */ 13625 PUSH32(esp, ebx); /* 0x2B0797E0: push ebx */ 13626 edx = ebp + (-0x38); /* 0x2B0797E1: lea edx, [ebp - 0x38] */ 13627 PUSH32(esp, edx); /* 0x2B0797E4: push edx */ 13628 ecx = edi + 0x18; /* 0x2B0797E5: lea ecx, [edi + 0x18] */ 13629 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B0797E8: call dword ptr [0x2b0b5158] */ 13630 RECOMP_FLAGS_IN(); 13631 ecx = MEM32(ebp + (-0x28)); /* 0x2B0797EE: mov ecx, dword ptr [ebp - 0x28] */ 13632 eax = edi + 0x28; /* 0x2B0797F1: lea eax, [edi + 0x28] */ 13633 MEM32(eax) = ecx; /* 0x2B0797F4: mov dword ptr [eax], ecx */ 13634 edx = MEM32(ebp + (-0x24)); /* 0x2B0797F6: mov edx, dword ptr [ebp - 0x24] */ 13635 MEM32(eax + 0x4) = edx; /* 0x2B0797F9: mov dword ptr [eax + 4], edx */ 13636 ecx = MEM32(ebp + (-0x20)); /* 0x2B0797FC: mov ecx, dword ptr [ebp - 0x20] */ 13637 MEM32(eax + 0x8) = ecx; /* 0x2B0797FF: mov dword ptr [eax + 8], ecx */ 13638 edx = MEM32(ebp + (-0x1C)); /* 0x2B079802: mov edx, dword ptr [ebp - 0x1c] */ 13639 MEM32(eax + 0xC) = edx; /* 0x2B079805: mov dword ptr [eax + 0xc], edx */ 13640 eax = MEM32(ebp + (-0x18)); /* 0x2B079808: mov eax, dword ptr [ebp - 0x18] */ 13641 PUSH32(esp, 1); /* 0x2B07980B: push 1 */ 13642 ecx = ebp + (-0x38); /* 0x2B07980D: lea ecx, [ebp - 0x38] */ 13643 MEM32(edi + 0x38) = eax; /* 0x2B079810: mov dword ptr [edi + 0x38], eax */ 13644 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079813: mov byte ptr [ebp - 4], 1 */ 13645 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079817: call dword ptr [0x2b0b514c] */ 13646 RECOMP_FLAGS_IN(); 13647 ecx = ebp + (-0xD); /* 0x2B07981D: lea ecx, [ebp - 0xd] */ 13648 PUSH32(esp, ecx); /* 0x2B079820: push ecx */ 13649 ecx = ebp + (-0x38); /* 0x2B079821: lea ecx, [ebp - 0x38] */ 13650 MEM32(ebp + (-0x14)) = 0x21Cu; /* 0x2B079824: mov dword ptr [ebp - 0x14], 0x21c */ 13651 MEM32(ebp + (-0x40)) = 0x9AC5u; /* 0x2B07982B: mov dword ptr [ebp - 0x40], 0x9ac5 */ 13652 MEM32(ebp + (-0x3C)) = 0x9EDEu; /* 0x2B079832: mov dword ptr [ebp - 0x3c], 0x9ede */ 13653 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079839: call dword ptr [0x2b0b5190] */ 13654 RECOMP_FLAGS_IN(); 13655 ecx = ebp + (-0x28); /* 0x2B07983F: lea ecx, [ebp - 0x28] */ 13656 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B079842: mov byte ptr [ebp - 4], 6 */ 13657 RECOMP_ICALL(0x2B07F070u); /* 0x2B079846: call 0x2b07f070 */ /* not lifted */ 13658 RECOMP_FLAGS_IN(); 13659 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13660 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07984B: or ecx, 0xffffffff */ 13661 _cf = 0; 13662 _flag_k = FK_TEST; 13663 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13664 eax = 0; /* 0x2B07984E: xor eax, eax */ 13665 _cf = 0; 13666 _flag_k = FK_TEST; 13667 edi = 0x2B0EC800u; /* 0x2B079850: mov edi, 0x2b0ec800 */ 13668 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; } /* 0x2B079855: repne scasb al, byte ptr es:[edi] */ 13669 ecx = ~ecx; /* 0x2B079857: not ecx */ 13670 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13671 ecx = ecx - 1; /* 0x2B079859: dec ecx */ 13672 _flag_k = FK_DEC; 13673 PUSH32(esp, ecx); /* 0x2B07985A: push ecx */ 13674 PUSH32(esp, 0x2B0EC800u); /* 0x2B07985B: push 0x2b0ec800 */ 13675 ecx = ebp + (-0x38); /* 0x2B079860: lea ecx, [ebp - 0x38] */ 13676 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079863: mov dword ptr [ebp - 0x18], ebx */ 13677 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079866: call dword ptr [0x2b0b5148] */ 13678 RECOMP_FLAGS_IN(); 13679 ecx = ebp + (-0x74); /* 0x2B07986C: lea ecx, [ebp - 0x74] */ 13680 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07986F: mov byte ptr [ebp - 4], 7 */ 13681 RECOMP_ICALL(0x2B07C070u); /* 0x2B079873: call 0x2b07c070 */ /* not lifted */ 13682 RECOMP_FLAGS_IN(); 13683 PUSH32(esp, eax); /* 0x2B079878: push eax */ 13684 edx = ebp + (-0x14); /* 0x2B079879: lea edx, [ebp - 0x14] */ 13685 PUSH32(esp, edx); /* 0x2B07987C: push edx */ 13686 ecx = ebp + (-0xB0); /* 0x2B07987D: lea ecx, [ebp - 0xb0] */ 13687 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B079883: mov byte ptr [ebp - 4], 8 */ 13688 RECOMP_ICALL(0x2B07F720u); /* 0x2B079887: call 0x2b07f720 */ /* not lifted */ 13689 RECOMP_FLAGS_IN(); 13690 PUSH32(esp, eax); /* 0x2B07988C: push eax */ 13691 eax = ebp + (-0x48); /* 0x2B07988D: lea eax, [ebp - 0x48] */ 13692 PUSH32(esp, eax); /* 0x2B079890: push eax */ 13693 ecx = 0x2B0EF058u; /* 0x2B079891: mov ecx, 0x2b0ef058 */ 13694 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B079896: mov byte ptr [ebp - 4], 9 */ 13695 RECOMP_ICALL(0x2B07F640u); /* 0x2B07989A: call 0x2b07f640 */ /* not lifted */ 13696 RECOMP_FLAGS_IN(); 13697 edi = MEM32(eax); /* 0x2B07989F: mov edi, dword ptr [eax] */ 13698 PUSH32(esp, 1); /* 0x2B0798A1: push 1 */ 13699 ecx = ebp + (-0xA4); /* 0x2B0798A3: lea ecx, [ebp - 0xa4] */ 13700 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B0798A9: mov byte ptr [ebp - 4], 8 */ 13701 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0798AD: call dword ptr [0x2b0b514c] */ 13702 RECOMP_FLAGS_IN(); 13703 PUSH32(esp, 1); /* 0x2B0798B3: push 1 */ 13704 ecx = ebp + (-0x6C); /* 0x2B0798B5: lea ecx, [ebp - 0x6c] */ 13705 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0798B8: mov byte ptr [ebp - 4], 7 */ 13706 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0798BC: call dword ptr [0x2b0b514c] */ 13707 RECOMP_FLAGS_IN(); 13708 ecx = MEM32(ebp + (-0x40)); /* 0x2B0798C2: mov ecx, dword ptr [ebp - 0x40] */ 13709 MEM32(edi + 0x10) = ecx; /* 0x2B0798C5: mov dword ptr [edi + 0x10], ecx */ 13710 edx = MEM32(ebp + (-0x3C)); /* 0x2B0798C8: mov edx, dword ptr [ebp - 0x3c] */ 13711 MEM32(edi + 0x14) = edx; /* 0x2B0798CB: mov dword ptr [edi + 0x14], edx */ 13712 eax = MEM32(0x2B0B515C); /* 0x2B0798CE: mov eax, dword ptr [0x2b0b515c] */ 13713 ecx = MEM32(eax); /* 0x2B0798D3: mov ecx, dword ptr [eax] */ 13714 PUSH32(esp, ecx); /* 0x2B0798D5: push ecx */ 13715 PUSH32(esp, ebx); /* 0x2B0798D6: push ebx */ 13716 edx = ebp + (-0x38); /* 0x2B0798D7: lea edx, [ebp - 0x38] */ 13717 PUSH32(esp, edx); /* 0x2B0798DA: push edx */ 13718 ecx = edi + 0x18; /* 0x2B0798DB: lea ecx, [edi + 0x18] */ 13719 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B0798DE: call dword ptr [0x2b0b5158] */ 13720 RECOMP_FLAGS_IN(); 13721 ecx = MEM32(ebp + (-0x28)); /* 0x2B0798E4: mov ecx, dword ptr [ebp - 0x28] */ 13722 eax = edi + 0x28; /* 0x2B0798E7: lea eax, [edi + 0x28] */ 13723 MEM32(eax) = ecx; /* 0x2B0798EA: mov dword ptr [eax], ecx */ 13724 edx = MEM32(ebp + (-0x24)); /* 0x2B0798EC: mov edx, dword ptr [ebp - 0x24] */ 13725 MEM32(eax + 0x4) = edx; /* 0x2B0798EF: mov dword ptr [eax + 4], edx */ 13726 ecx = MEM32(ebp + (-0x20)); /* 0x2B0798F2: mov ecx, dword ptr [ebp - 0x20] */ 13727 MEM32(eax + 0x8) = ecx; /* 0x2B0798F5: mov dword ptr [eax + 8], ecx */ 13728 edx = MEM32(ebp + (-0x1C)); /* 0x2B0798F8: mov edx, dword ptr [ebp - 0x1c] */ 13729 MEM32(eax + 0xC) = edx; /* 0x2B0798FB: mov dword ptr [eax + 0xc], edx */ 13730 eax = MEM32(ebp + (-0x18)); /* 0x2B0798FE: mov eax, dword ptr [ebp - 0x18] */ 13731 PUSH32(esp, 1); /* 0x2B079901: push 1 */ 13732 ecx = ebp + (-0x38); /* 0x2B079903: lea ecx, [ebp - 0x38] */ 13733 MEM32(edi + 0x38) = eax; /* 0x2B079906: mov dword ptr [edi + 0x38], eax */ 13734 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079909: mov byte ptr [ebp - 4], 1 */ 13735 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07990D: call dword ptr [0x2b0b514c] */ 13736 RECOMP_FLAGS_IN(); 13737 ecx = ebp + (-0xD); /* 0x2B079913: lea ecx, [ebp - 0xd] */ 13738 PUSH32(esp, ecx); /* 0x2B079916: push ecx */ 13739 ecx = ebp + (-0x38); /* 0x2B079917: lea ecx, [ebp - 0x38] */ 13740 MEM32(ebp + (-0x14)) = 0x221u; /* 0x2B07991A: mov dword ptr [ebp - 0x14], 0x221 */ 13741 MEM32(ebp + (-0x40)) = 0x98D2u; /* 0x2B079921: mov dword ptr [ebp - 0x40], 0x98d2 */ 13742 MEM32(ebp + (-0x3C)) = 0x9EC6u; /* 0x2B079928: mov dword ptr [ebp - 0x3c], 0x9ec6 */ 13743 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07992F: call dword ptr [0x2b0b5190] */ 13744 RECOMP_FLAGS_IN(); 13745 ecx = ebp + (-0x28); /* 0x2B079935: lea ecx, [ebp - 0x28] */ 13746 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B079938: mov byte ptr [ebp - 4], 0xa */ 13747 RECOMP_ICALL(0x2B07F070u); /* 0x2B07993C: call 0x2b07f070 */ /* not lifted */ 13748 RECOMP_FLAGS_IN(); 13749 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13750 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079941: or ecx, 0xffffffff */ 13751 _cf = 0; 13752 _flag_k = FK_TEST; 13753 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13754 eax = 0; /* 0x2B079944: xor eax, eax */ 13755 _cf = 0; 13756 _flag_k = FK_TEST; 13757 edi = 0x2B0EC7F4u; /* 0x2B079946: mov edi, 0x2b0ec7f4 */ 13758 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; } /* 0x2B07994B: repne scasb al, byte ptr es:[edi] */ 13759 ecx = ~ecx; /* 0x2B07994D: not ecx */ 13760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13761 ecx = ecx - 1; /* 0x2B07994F: dec ecx */ 13762 _flag_k = FK_DEC; 13763 PUSH32(esp, ecx); /* 0x2B079950: push ecx */ 13764 PUSH32(esp, 0x2B0EC7F4u); /* 0x2B079951: push 0x2b0ec7f4 */ 13765 ecx = ebp + (-0x38); /* 0x2B079956: lea ecx, [ebp - 0x38] */ 13766 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079959: mov dword ptr [ebp - 0x18], ebx */ 13767 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07995C: call dword ptr [0x2b0b5148] */ 13768 RECOMP_FLAGS_IN(); 13769 ecx = ebp + (-0x74); /* 0x2B079962: lea ecx, [ebp - 0x74] */ 13770 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B079965: mov byte ptr [ebp - 4], 0xb */ 13771 RECOMP_ICALL(0x2B07C070u); /* 0x2B079969: call 0x2b07c070 */ /* not lifted */ 13772 RECOMP_FLAGS_IN(); 13773 PUSH32(esp, eax); /* 0x2B07996E: push eax */ 13774 edx = ebp + (-0x14); /* 0x2B07996F: lea edx, [ebp - 0x14] */ 13775 PUSH32(esp, edx); /* 0x2B079972: push edx */ 13776 ecx = ebp + (-0xB0); /* 0x2B079973: lea ecx, [ebp - 0xb0] */ 13777 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B079979: mov byte ptr [ebp - 4], 0xc */ 13778 RECOMP_ICALL(0x2B07F720u); /* 0x2B07997D: call 0x2b07f720 */ /* not lifted */ 13779 RECOMP_FLAGS_IN(); 13780 PUSH32(esp, eax); /* 0x2B079982: push eax */ 13781 eax = ebp + (-0x48); /* 0x2B079983: lea eax, [ebp - 0x48] */ 13782 PUSH32(esp, eax); /* 0x2B079986: push eax */ 13783 ecx = 0x2B0EF058u; /* 0x2B079987: mov ecx, 0x2b0ef058 */ 13784 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B07998C: mov byte ptr [ebp - 4], 0xd */ 13785 RECOMP_ICALL(0x2B07F640u); /* 0x2B079990: call 0x2b07f640 */ /* not lifted */ 13786 RECOMP_FLAGS_IN(); 13787 edi = MEM32(eax); /* 0x2B079995: mov edi, dword ptr [eax] */ 13788 PUSH32(esp, 1); /* 0x2B079997: push 1 */ 13789 ecx = ebp + (-0xA4); /* 0x2B079999: lea ecx, [ebp - 0xa4] */ 13790 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07999F: mov byte ptr [ebp - 4], 0xc */ 13791 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0799A3: call dword ptr [0x2b0b514c] */ 13792 RECOMP_FLAGS_IN(); 13793 PUSH32(esp, 1); /* 0x2B0799A9: push 1 */ 13794 ecx = ebp + (-0x6C); /* 0x2B0799AB: lea ecx, [ebp - 0x6c] */ 13795 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B0799AE: mov byte ptr [ebp - 4], 0xb */ 13796 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0799B2: call dword ptr [0x2b0b514c] */ 13797 RECOMP_FLAGS_IN(); 13798 ecx = MEM32(ebp + (-0x40)); /* 0x2B0799B8: mov ecx, dword ptr [ebp - 0x40] */ 13799 MEM32(edi + 0x10) = ecx; /* 0x2B0799BB: mov dword ptr [edi + 0x10], ecx */ 13800 edx = MEM32(ebp + (-0x3C)); /* 0x2B0799BE: mov edx, dword ptr [ebp - 0x3c] */ 13801 MEM32(edi + 0x14) = edx; /* 0x2B0799C1: mov dword ptr [edi + 0x14], edx */ 13802 eax = MEM32(0x2B0B515C); /* 0x2B0799C4: mov eax, dword ptr [0x2b0b515c] */ 13803 ecx = MEM32(eax); /* 0x2B0799C9: mov ecx, dword ptr [eax] */ 13804 PUSH32(esp, ecx); /* 0x2B0799CB: push ecx */ 13805 PUSH32(esp, ebx); /* 0x2B0799CC: push ebx */ 13806 edx = ebp + (-0x38); /* 0x2B0799CD: lea edx, [ebp - 0x38] */ 13807 PUSH32(esp, edx); /* 0x2B0799D0: push edx */ 13808 ecx = edi + 0x18; /* 0x2B0799D1: lea ecx, [edi + 0x18] */ 13809 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B0799D4: call dword ptr [0x2b0b5158] */ 13810 RECOMP_FLAGS_IN(); 13811 ecx = MEM32(ebp + (-0x28)); /* 0x2B0799DA: mov ecx, dword ptr [ebp - 0x28] */ 13812 eax = edi + 0x28; /* 0x2B0799DD: lea eax, [edi + 0x28] */ 13813 MEM32(eax) = ecx; /* 0x2B0799E0: mov dword ptr [eax], ecx */ 13814 edx = MEM32(ebp + (-0x24)); /* 0x2B0799E2: mov edx, dword ptr [ebp - 0x24] */ 13815 MEM32(eax + 0x4) = edx; /* 0x2B0799E5: mov dword ptr [eax + 4], edx */ 13816 ecx = MEM32(ebp + (-0x20)); /* 0x2B0799E8: mov ecx, dword ptr [ebp - 0x20] */ 13817 MEM32(eax + 0x8) = ecx; /* 0x2B0799EB: mov dword ptr [eax + 8], ecx */ 13818 edx = MEM32(ebp + (-0x1C)); /* 0x2B0799EE: mov edx, dword ptr [ebp - 0x1c] */ 13819 MEM32(eax + 0xC) = edx; /* 0x2B0799F1: mov dword ptr [eax + 0xc], edx */ 13820 eax = MEM32(ebp + (-0x18)); /* 0x2B0799F4: mov eax, dword ptr [ebp - 0x18] */ 13821 PUSH32(esp, 1); /* 0x2B0799F7: push 1 */ 13822 ecx = ebp + (-0x38); /* 0x2B0799F9: lea ecx, [ebp - 0x38] */ 13823 MEM32(edi + 0x38) = eax; /* 0x2B0799FC: mov dword ptr [edi + 0x38], eax */ 13824 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B0799FF: mov byte ptr [ebp - 4], 1 */ 13825 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079A03: call dword ptr [0x2b0b514c] */ 13826 RECOMP_FLAGS_IN(); 13827 ecx = ebp + (-0xD); /* 0x2B079A09: lea ecx, [ebp - 0xd] */ 13828 PUSH32(esp, ecx); /* 0x2B079A0C: push ecx */ 13829 ecx = ebp + (-0x38); /* 0x2B079A0D: lea ecx, [ebp - 0x38] */ 13830 MEM32(ebp + (-0x14)) = 0x226u; /* 0x2B079A10: mov dword ptr [ebp - 0x14], 0x226 */ 13831 MEM32(ebp + (-0x40)) = 0x90DDu; /* 0x2B079A17: mov dword ptr [ebp - 0x40], 0x90dd */ 13832 MEM32(ebp + (-0x3C)) = 0x9B8Fu; /* 0x2B079A1E: mov dword ptr [ebp - 0x3c], 0x9b8f */ 13833 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079A25: call dword ptr [0x2b0b5190] */ 13834 RECOMP_FLAGS_IN(); 13835 ecx = ebp + (-0x28); /* 0x2B079A2B: lea ecx, [ebp - 0x28] */ 13836 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B079A2E: mov byte ptr [ebp - 4], 0xe */ 13837 RECOMP_ICALL(0x2B07F070u); /* 0x2B079A32: call 0x2b07f070 */ /* not lifted */ 13838 RECOMP_FLAGS_IN(); 13839 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13840 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079A37: or ecx, 0xffffffff */ 13841 _cf = 0; 13842 _flag_k = FK_TEST; 13843 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13844 eax = 0; /* 0x2B079A3A: xor eax, eax */ 13845 _cf = 0; 13846 _flag_k = FK_TEST; 13847 edi = 0x2B0EC7E8u; /* 0x2B079A3C: mov edi, 0x2b0ec7e8 */ 13848 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; } /* 0x2B079A41: repne scasb al, byte ptr es:[edi] */ 13849 ecx = ~ecx; /* 0x2B079A43: not ecx */ 13850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13851 ecx = ecx - 1; /* 0x2B079A45: dec ecx */ 13852 _flag_k = FK_DEC; 13853 PUSH32(esp, ecx); /* 0x2B079A46: push ecx */ 13854 PUSH32(esp, 0x2B0EC7E8u); /* 0x2B079A47: push 0x2b0ec7e8 */ 13855 ecx = ebp + (-0x38); /* 0x2B079A4C: lea ecx, [ebp - 0x38] */ 13856 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079A4F: mov dword ptr [ebp - 0x18], ebx */ 13857 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079A52: call dword ptr [0x2b0b5148] */ 13858 RECOMP_FLAGS_IN(); 13859 ecx = ebp + (-0x74); /* 0x2B079A58: lea ecx, [ebp - 0x74] */ 13860 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B079A5B: mov byte ptr [ebp - 4], 0xf */ 13861 RECOMP_ICALL(0x2B07C070u); /* 0x2B079A5F: call 0x2b07c070 */ /* not lifted */ 13862 RECOMP_FLAGS_IN(); 13863 PUSH32(esp, eax); /* 0x2B079A64: push eax */ 13864 edx = ebp + (-0x14); /* 0x2B079A65: lea edx, [ebp - 0x14] */ 13865 PUSH32(esp, edx); /* 0x2B079A68: push edx */ 13866 ecx = ebp + (-0xB0); /* 0x2B079A69: lea ecx, [ebp - 0xb0] */ 13867 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B079A6F: mov byte ptr [ebp - 4], 0x10 */ 13868 RECOMP_ICALL(0x2B07F720u); /* 0x2B079A73: call 0x2b07f720 */ /* not lifted */ 13869 RECOMP_FLAGS_IN(); 13870 PUSH32(esp, eax); /* 0x2B079A78: push eax */ 13871 eax = ebp + (-0x48); /* 0x2B079A79: lea eax, [ebp - 0x48] */ 13872 PUSH32(esp, eax); /* 0x2B079A7C: push eax */ 13873 ecx = 0x2B0EF058u; /* 0x2B079A7D: mov ecx, 0x2b0ef058 */ 13874 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B079A82: mov byte ptr [ebp - 4], 0x11 */ 13875 RECOMP_ICALL(0x2B07F640u); /* 0x2B079A86: call 0x2b07f640 */ /* not lifted */ 13876 RECOMP_FLAGS_IN(); 13877 edi = MEM32(eax); /* 0x2B079A8B: mov edi, dword ptr [eax] */ 13878 PUSH32(esp, 1); /* 0x2B079A8D: push 1 */ 13879 ecx = ebp + (-0xA4); /* 0x2B079A8F: lea ecx, [ebp - 0xa4] */ 13880 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B079A95: mov byte ptr [ebp - 4], 0x10 */ 13881 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079A99: call dword ptr [0x2b0b514c] */ 13882 RECOMP_FLAGS_IN(); 13883 PUSH32(esp, 1); /* 0x2B079A9F: push 1 */ 13884 ecx = ebp + (-0x6C); /* 0x2B079AA1: lea ecx, [ebp - 0x6c] */ 13885 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B079AA4: mov byte ptr [ebp - 4], 0xf */ 13886 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079AA8: call dword ptr [0x2b0b514c] */ 13887 RECOMP_FLAGS_IN(); 13888 ecx = MEM32(ebp + (-0x40)); /* 0x2B079AAE: mov ecx, dword ptr [ebp - 0x40] */ 13889 MEM32(edi + 0x10) = ecx; /* 0x2B079AB1: mov dword ptr [edi + 0x10], ecx */ 13890 edx = MEM32(ebp + (-0x3C)); /* 0x2B079AB4: mov edx, dword ptr [ebp - 0x3c] */ 13891 MEM32(edi + 0x14) = edx; /* 0x2B079AB7: mov dword ptr [edi + 0x14], edx */ 13892 eax = MEM32(0x2B0B515C); /* 0x2B079ABA: mov eax, dword ptr [0x2b0b515c] */ 13893 ecx = MEM32(eax); /* 0x2B079ABF: mov ecx, dword ptr [eax] */ 13894 PUSH32(esp, ecx); /* 0x2B079AC1: push ecx */ 13895 PUSH32(esp, ebx); /* 0x2B079AC2: push ebx */ 13896 edx = ebp + (-0x38); /* 0x2B079AC3: lea edx, [ebp - 0x38] */ 13897 PUSH32(esp, edx); /* 0x2B079AC6: push edx */ 13898 ecx = edi + 0x18; /* 0x2B079AC7: lea ecx, [edi + 0x18] */ 13899 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079ACA: call dword ptr [0x2b0b5158] */ 13900 RECOMP_FLAGS_IN(); 13901 ecx = MEM32(ebp + (-0x28)); /* 0x2B079AD0: mov ecx, dword ptr [ebp - 0x28] */ 13902 eax = edi + 0x28; /* 0x2B079AD3: lea eax, [edi + 0x28] */ 13903 MEM32(eax) = ecx; /* 0x2B079AD6: mov dword ptr [eax], ecx */ 13904 edx = MEM32(ebp + (-0x24)); /* 0x2B079AD8: mov edx, dword ptr [ebp - 0x24] */ 13905 MEM32(eax + 0x4) = edx; /* 0x2B079ADB: mov dword ptr [eax + 4], edx */ 13906 ecx = MEM32(ebp + (-0x20)); /* 0x2B079ADE: mov ecx, dword ptr [ebp - 0x20] */ 13907 MEM32(eax + 0x8) = ecx; /* 0x2B079AE1: mov dword ptr [eax + 8], ecx */ 13908 edx = MEM32(ebp + (-0x1C)); /* 0x2B079AE4: mov edx, dword ptr [ebp - 0x1c] */ 13909 MEM32(eax + 0xC) = edx; /* 0x2B079AE7: mov dword ptr [eax + 0xc], edx */ 13910 eax = MEM32(ebp + (-0x18)); /* 0x2B079AEA: mov eax, dword ptr [ebp - 0x18] */ 13911 PUSH32(esp, 1); /* 0x2B079AED: push 1 */ 13912 ecx = ebp + (-0x38); /* 0x2B079AEF: lea ecx, [ebp - 0x38] */ 13913 MEM32(edi + 0x38) = eax; /* 0x2B079AF2: mov dword ptr [edi + 0x38], eax */ 13914 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079AF5: mov byte ptr [ebp - 4], 1 */ 13915 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079AF9: call dword ptr [0x2b0b514c] */ 13916 RECOMP_FLAGS_IN(); 13917 ecx = ebp + (-0xD); /* 0x2B079AFF: lea ecx, [ebp - 0xd] */ 13918 PUSH32(esp, ecx); /* 0x2B079B02: push ecx */ 13919 ecx = ebp + (-0x38); /* 0x2B079B03: lea ecx, [ebp - 0x38] */ 13920 MEM32(ebp + (-0x14)) = 0x227u; /* 0x2B079B06: mov dword ptr [ebp - 0x14], 0x227 */ 13921 MEM32(ebp + (-0x40)) = 0x90D6u; /* 0x2B079B0D: mov dword ptr [ebp - 0x40], 0x90d6 */ 13922 MEM32(ebp + (-0x3C)) = 0xA02Cu; /* 0x2B079B14: mov dword ptr [ebp - 0x3c], 0xa02c */ 13923 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079B1B: call dword ptr [0x2b0b5190] */ 13924 RECOMP_FLAGS_IN(); 13925 ecx = ebp + (-0x28); /* 0x2B079B21: lea ecx, [ebp - 0x28] */ 13926 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B079B24: mov byte ptr [ebp - 4], 0x12 */ 13927 RECOMP_ICALL(0x2B07F070u); /* 0x2B079B28: call 0x2b07f070 */ /* not lifted */ 13928 RECOMP_FLAGS_IN(); 13929 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13930 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079B2D: or ecx, 0xffffffff */ 13931 _cf = 0; 13932 _flag_k = FK_TEST; 13933 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13934 eax = 0; /* 0x2B079B30: xor eax, eax */ 13935 _cf = 0; 13936 _flag_k = FK_TEST; 13937 edi = 0x2B0EC7D8u; /* 0x2B079B32: mov edi, 0x2b0ec7d8 */ 13938 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; } /* 0x2B079B37: repne scasb al, byte ptr es:[edi] */ 13939 ecx = ~ecx; /* 0x2B079B39: not ecx */ 13940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13941 ecx = ecx - 1; /* 0x2B079B3B: dec ecx */ 13942 _flag_k = FK_DEC; 13943 PUSH32(esp, ecx); /* 0x2B079B3C: push ecx */ 13944 PUSH32(esp, 0x2B0EC7D8u); /* 0x2B079B3D: push 0x2b0ec7d8 */ 13945 ecx = ebp + (-0x38); /* 0x2B079B42: lea ecx, [ebp - 0x38] */ 13946 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079B45: mov dword ptr [ebp - 0x18], ebx */ 13947 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079B48: call dword ptr [0x2b0b5148] */ 13948 RECOMP_FLAGS_IN(); 13949 ecx = ebp + (-0x74); /* 0x2B079B4E: lea ecx, [ebp - 0x74] */ 13950 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B079B51: mov byte ptr [ebp - 4], 0x13 */ 13951 RECOMP_ICALL(0x2B07C070u); /* 0x2B079B55: call 0x2b07c070 */ /* not lifted */ 13952 RECOMP_FLAGS_IN(); 13953 PUSH32(esp, eax); /* 0x2B079B5A: push eax */ 13954 edx = ebp + (-0x14); /* 0x2B079B5B: lea edx, [ebp - 0x14] */ 13955 PUSH32(esp, edx); /* 0x2B079B5E: push edx */ 13956 ecx = ebp + (-0xB0); /* 0x2B079B5F: lea ecx, [ebp - 0xb0] */ 13957 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B079B65: mov byte ptr [ebp - 4], 0x14 */ 13958 RECOMP_ICALL(0x2B07F720u); /* 0x2B079B69: call 0x2b07f720 */ /* not lifted */ 13959 RECOMP_FLAGS_IN(); 13960 PUSH32(esp, eax); /* 0x2B079B6E: push eax */ 13961 eax = ebp + (-0x48); /* 0x2B079B6F: lea eax, [ebp - 0x48] */ 13962 PUSH32(esp, eax); /* 0x2B079B72: push eax */ 13963 ecx = 0x2B0EF058u; /* 0x2B079B73: mov ecx, 0x2b0ef058 */ 13964 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B079B78: mov byte ptr [ebp - 4], 0x15 */ 13965 RECOMP_ICALL(0x2B07F640u); /* 0x2B079B7C: call 0x2b07f640 */ /* not lifted */ 13966 RECOMP_FLAGS_IN(); 13967 edi = MEM32(eax); /* 0x2B079B81: mov edi, dword ptr [eax] */ 13968 PUSH32(esp, 1); /* 0x2B079B83: push 1 */ 13969 ecx = ebp + (-0xA4); /* 0x2B079B85: lea ecx, [ebp - 0xa4] */ 13970 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B079B8B: mov byte ptr [ebp - 4], 0x14 */ 13971 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079B8F: call dword ptr [0x2b0b514c] */ 13972 RECOMP_FLAGS_IN(); 13973 PUSH32(esp, 1); /* 0x2B079B95: push 1 */ 13974 ecx = ebp + (-0x6C); /* 0x2B079B97: lea ecx, [ebp - 0x6c] */ 13975 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B079B9A: mov byte ptr [ebp - 4], 0x13 */ 13976 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079B9E: call dword ptr [0x2b0b514c] */ 13977 RECOMP_FLAGS_IN(); 13978 ecx = MEM32(ebp + (-0x40)); /* 0x2B079BA4: mov ecx, dword ptr [ebp - 0x40] */ 13979 MEM32(edi + 0x10) = ecx; /* 0x2B079BA7: mov dword ptr [edi + 0x10], ecx */ 13980 edx = MEM32(ebp + (-0x3C)); /* 0x2B079BAA: mov edx, dword ptr [ebp - 0x3c] */ 13981 MEM32(edi + 0x14) = edx; /* 0x2B079BAD: mov dword ptr [edi + 0x14], edx */ 13982 eax = MEM32(0x2B0B515C); /* 0x2B079BB0: mov eax, dword ptr [0x2b0b515c] */ 13983 ecx = MEM32(eax); /* 0x2B079BB5: mov ecx, dword ptr [eax] */ 13984 PUSH32(esp, ecx); /* 0x2B079BB7: push ecx */ 13985 PUSH32(esp, ebx); /* 0x2B079BB8: push ebx */ 13986 edx = ebp + (-0x38); /* 0x2B079BB9: lea edx, [ebp - 0x38] */ 13987 PUSH32(esp, edx); /* 0x2B079BBC: push edx */ 13988 ecx = edi + 0x18; /* 0x2B079BBD: lea ecx, [edi + 0x18] */ 13989 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079BC0: call dword ptr [0x2b0b5158] */ 13990 RECOMP_FLAGS_IN(); 13991 ecx = MEM32(ebp + (-0x28)); /* 0x2B079BC6: mov ecx, dword ptr [ebp - 0x28] */ 13992 eax = edi + 0x28; /* 0x2B079BC9: lea eax, [edi + 0x28] */ 13993 MEM32(eax) = ecx; /* 0x2B079BCC: mov dword ptr [eax], ecx */ 13994 edx = MEM32(ebp + (-0x24)); /* 0x2B079BCE: mov edx, dword ptr [ebp - 0x24] */ 13995 MEM32(eax + 0x4) = edx; /* 0x2B079BD1: mov dword ptr [eax + 4], edx */ 13996 ecx = MEM32(ebp + (-0x20)); /* 0x2B079BD4: mov ecx, dword ptr [ebp - 0x20] */ 13997 MEM32(eax + 0x8) = ecx; /* 0x2B079BD7: mov dword ptr [eax + 8], ecx */ 13998 edx = MEM32(ebp + (-0x1C)); /* 0x2B079BDA: mov edx, dword ptr [ebp - 0x1c] */ 13999 MEM32(eax + 0xC) = edx; /* 0x2B079BDD: mov dword ptr [eax + 0xc], edx */ 14000 eax = MEM32(ebp + (-0x18)); /* 0x2B079BE0: mov eax, dword ptr [ebp - 0x18] */ 14001 PUSH32(esp, 1); /* 0x2B079BE3: push 1 */ 14002 ecx = ebp + (-0x38); /* 0x2B079BE5: lea ecx, [ebp - 0x38] */ 14003 MEM32(edi + 0x38) = eax; /* 0x2B079BE8: mov dword ptr [edi + 0x38], eax */ 14004 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079BEB: mov byte ptr [ebp - 4], 1 */ 14005 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079BEF: call dword ptr [0x2b0b514c] */ 14006 RECOMP_FLAGS_IN(); 14007 ecx = ebp + (-0xD); /* 0x2B079BF5: lea ecx, [ebp - 0xd] */ 14008 PUSH32(esp, ecx); /* 0x2B079BF8: push ecx */ 14009 ecx = ebp + (-0x38); /* 0x2B079BF9: lea ecx, [ebp - 0x38] */ 14010 MEM32(ebp + (-0x14)) = 0x230u; /* 0x2B079BFC: mov dword ptr [ebp - 0x14], 0x230 */ 14011 MEM32(ebp + (-0x40)) = 0xA3F7u; /* 0x2B079C03: mov dword ptr [ebp - 0x40], 0xa3f7 */ 14012 MEM32(ebp + (-0x3C)) = 0xAFE6u; /* 0x2B079C0A: mov dword ptr [ebp - 0x3c], 0xafe6 */ 14013 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079C11: call dword ptr [0x2b0b5190] */ 14014 RECOMP_FLAGS_IN(); 14015 ecx = ebp + (-0x28); /* 0x2B079C17: lea ecx, [ebp - 0x28] */ 14016 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B079C1A: mov byte ptr [ebp - 4], 0x16 */ 14017 RECOMP_ICALL(0x2B07F070u); /* 0x2B079C1E: call 0x2b07f070 */ /* not lifted */ 14018 RECOMP_FLAGS_IN(); 14019 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14020 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079C23: or ecx, 0xffffffff */ 14021 _cf = 0; 14022 _flag_k = FK_TEST; 14023 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14024 eax = 0; /* 0x2B079C26: xor eax, eax */ 14025 _cf = 0; 14026 _flag_k = FK_TEST; 14027 edi = 0x2B0EC7D0u; /* 0x2B079C28: mov edi, 0x2b0ec7d0 */ 14028 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; } /* 0x2B079C2D: repne scasb al, byte ptr es:[edi] */ 14029 ecx = ~ecx; /* 0x2B079C2F: not ecx */ 14030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14031 ecx = ecx - 1; /* 0x2B079C31: dec ecx */ 14032 _flag_k = FK_DEC; 14033 PUSH32(esp, ecx); /* 0x2B079C32: push ecx */ 14034 PUSH32(esp, 0x2B0EC7D0u); /* 0x2B079C33: push 0x2b0ec7d0 */ 14035 ecx = ebp + (-0x38); /* 0x2B079C38: lea ecx, [ebp - 0x38] */ 14036 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079C3B: mov dword ptr [ebp - 0x18], ebx */ 14037 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079C3E: call dword ptr [0x2b0b5148] */ 14038 RECOMP_FLAGS_IN(); 14039 ecx = ebp + (-0x74); /* 0x2B079C44: lea ecx, [ebp - 0x74] */ 14040 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B079C47: mov byte ptr [ebp - 4], 0x17 */ 14041 RECOMP_ICALL(0x2B07C070u); /* 0x2B079C4B: call 0x2b07c070 */ /* not lifted */ 14042 RECOMP_FLAGS_IN(); 14043 PUSH32(esp, eax); /* 0x2B079C50: push eax */ 14044 edx = ebp + (-0x14); /* 0x2B079C51: lea edx, [ebp - 0x14] */ 14045 PUSH32(esp, edx); /* 0x2B079C54: push edx */ 14046 ecx = ebp + (-0xB0); /* 0x2B079C55: lea ecx, [ebp - 0xb0] */ 14047 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B079C5B: mov byte ptr [ebp - 4], 0x18 */ 14048 RECOMP_ICALL(0x2B07F720u); /* 0x2B079C5F: call 0x2b07f720 */ /* not lifted */ 14049 RECOMP_FLAGS_IN(); 14050 PUSH32(esp, eax); /* 0x2B079C64: push eax */ 14051 eax = ebp + (-0x48); /* 0x2B079C65: lea eax, [ebp - 0x48] */ 14052 PUSH32(esp, eax); /* 0x2B079C68: push eax */ 14053 ecx = 0x2B0EF058u; /* 0x2B079C69: mov ecx, 0x2b0ef058 */ 14054 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B079C6E: mov byte ptr [ebp - 4], 0x19 */ 14055 RECOMP_ICALL(0x2B07F640u); /* 0x2B079C72: call 0x2b07f640 */ /* not lifted */ 14056 RECOMP_FLAGS_IN(); 14057 edi = MEM32(eax); /* 0x2B079C77: mov edi, dword ptr [eax] */ 14058 PUSH32(esp, 1); /* 0x2B079C79: push 1 */ 14059 ecx = ebp + (-0xA4); /* 0x2B079C7B: lea ecx, [ebp - 0xa4] */ 14060 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B079C81: mov byte ptr [ebp - 4], 0x18 */ 14061 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079C85: call dword ptr [0x2b0b514c] */ 14062 RECOMP_FLAGS_IN(); 14063 PUSH32(esp, 1); /* 0x2B079C8B: push 1 */ 14064 ecx = ebp + (-0x6C); /* 0x2B079C8D: lea ecx, [ebp - 0x6c] */ 14065 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B079C90: mov byte ptr [ebp - 4], 0x17 */ 14066 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079C94: call dword ptr [0x2b0b514c] */ 14067 RECOMP_FLAGS_IN(); 14068 ecx = MEM32(ebp + (-0x40)); /* 0x2B079C9A: mov ecx, dword ptr [ebp - 0x40] */ 14069 MEM32(edi + 0x10) = ecx; /* 0x2B079C9D: mov dword ptr [edi + 0x10], ecx */ 14070 edx = MEM32(ebp + (-0x3C)); /* 0x2B079CA0: mov edx, dword ptr [ebp - 0x3c] */ 14071 MEM32(edi + 0x14) = edx; /* 0x2B079CA3: mov dword ptr [edi + 0x14], edx */ 14072 eax = MEM32(0x2B0B515C); /* 0x2B079CA6: mov eax, dword ptr [0x2b0b515c] */ 14073 ecx = MEM32(eax); /* 0x2B079CAB: mov ecx, dword ptr [eax] */ 14074 PUSH32(esp, ecx); /* 0x2B079CAD: push ecx */ 14075 PUSH32(esp, ebx); /* 0x2B079CAE: push ebx */ 14076 edx = ebp + (-0x38); /* 0x2B079CAF: lea edx, [ebp - 0x38] */ 14077 PUSH32(esp, edx); /* 0x2B079CB2: push edx */ 14078 ecx = edi + 0x18; /* 0x2B079CB3: lea ecx, [edi + 0x18] */ 14079 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079CB6: call dword ptr [0x2b0b5158] */ 14080 RECOMP_FLAGS_IN(); 14081 ecx = MEM32(ebp + (-0x28)); /* 0x2B079CBC: mov ecx, dword ptr [ebp - 0x28] */ 14082 eax = edi + 0x28; /* 0x2B079CBF: lea eax, [edi + 0x28] */ 14083 MEM32(eax) = ecx; /* 0x2B079CC2: mov dword ptr [eax], ecx */ 14084 edx = MEM32(ebp + (-0x24)); /* 0x2B079CC4: mov edx, dword ptr [ebp - 0x24] */ 14085 MEM32(eax + 0x4) = edx; /* 0x2B079CC7: mov dword ptr [eax + 4], edx */ 14086 ecx = MEM32(ebp + (-0x20)); /* 0x2B079CCA: mov ecx, dword ptr [ebp - 0x20] */ 14087 MEM32(eax + 0x8) = ecx; /* 0x2B079CCD: mov dword ptr [eax + 8], ecx */ 14088 edx = MEM32(ebp + (-0x1C)); /* 0x2B079CD0: mov edx, dword ptr [ebp - 0x1c] */ 14089 MEM32(eax + 0xC) = edx; /* 0x2B079CD3: mov dword ptr [eax + 0xc], edx */ 14090 eax = MEM32(ebp + (-0x18)); /* 0x2B079CD6: mov eax, dword ptr [ebp - 0x18] */ 14091 PUSH32(esp, 1); /* 0x2B079CD9: push 1 */ 14092 ecx = ebp + (-0x38); /* 0x2B079CDB: lea ecx, [ebp - 0x38] */ 14093 MEM32(edi + 0x38) = eax; /* 0x2B079CDE: mov dword ptr [edi + 0x38], eax */ 14094 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079CE1: mov byte ptr [ebp - 4], 1 */ 14095 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079CE5: call dword ptr [0x2b0b514c] */ 14096 RECOMP_FLAGS_IN(); 14097 ecx = ebp + (-0xD); /* 0x2B079CEB: lea ecx, [ebp - 0xd] */ 14098 PUSH32(esp, ecx); /* 0x2B079CEE: push ecx */ 14099 ecx = ebp + (-0x38); /* 0x2B079CEF: lea ecx, [ebp - 0x38] */ 14100 MEM32(ebp + (-0x14)) = 0x235u; /* 0x2B079CF2: mov dword ptr [ebp - 0x14], 0x235 */ 14101 MEM32(ebp + (-0x40)) = 0xA3E7u; /* 0x2B079CF9: mov dword ptr [ebp - 0x40], 0xa3e7 */ 14102 MEM32(ebp + (-0x3C)) = 0xA4A8u; /* 0x2B079D00: mov dword ptr [ebp - 0x3c], 0xa4a8 */ 14103 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079D07: call dword ptr [0x2b0b5190] */ 14104 RECOMP_FLAGS_IN(); 14105 ecx = ebp + (-0x28); /* 0x2B079D0D: lea ecx, [ebp - 0x28] */ 14106 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B079D10: mov byte ptr [ebp - 4], 0x1a */ 14107 RECOMP_ICALL(0x2B07F070u); /* 0x2B079D14: call 0x2b07f070 */ /* not lifted */ 14108 RECOMP_FLAGS_IN(); 14109 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14110 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079D19: or ecx, 0xffffffff */ 14111 _cf = 0; 14112 _flag_k = FK_TEST; 14113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14114 eax = 0; /* 0x2B079D1C: xor eax, eax */ 14115 _cf = 0; 14116 _flag_k = FK_TEST; 14117 edi = 0x2B0EC7C0u; /* 0x2B079D1E: mov edi, 0x2b0ec7c0 */ 14118 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; } /* 0x2B079D23: repne scasb al, byte ptr es:[edi] */ 14119 ecx = ~ecx; /* 0x2B079D25: not ecx */ 14120 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14121 ecx = ecx - 1; /* 0x2B079D27: dec ecx */ 14122 _flag_k = FK_DEC; 14123 PUSH32(esp, ecx); /* 0x2B079D28: push ecx */ 14124 PUSH32(esp, 0x2B0EC7C0u); /* 0x2B079D29: push 0x2b0ec7c0 */ 14125 ecx = ebp + (-0x38); /* 0x2B079D2E: lea ecx, [ebp - 0x38] */ 14126 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079D31: mov dword ptr [ebp - 0x18], ebx */ 14127 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079D34: call dword ptr [0x2b0b5148] */ 14128 RECOMP_FLAGS_IN(); 14129 ecx = ebp + (-0x74); /* 0x2B079D3A: lea ecx, [ebp - 0x74] */ 14130 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B079D3D: mov byte ptr [ebp - 4], 0x1b */ 14131 RECOMP_ICALL(0x2B07C070u); /* 0x2B079D41: call 0x2b07c070 */ /* not lifted */ 14132 RECOMP_FLAGS_IN(); 14133 PUSH32(esp, eax); /* 0x2B079D46: push eax */ 14134 edx = ebp + (-0x14); /* 0x2B079D47: lea edx, [ebp - 0x14] */ 14135 PUSH32(esp, edx); /* 0x2B079D4A: push edx */ 14136 ecx = ebp + (-0xB0); /* 0x2B079D4B: lea ecx, [ebp - 0xb0] */ 14137 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B079D51: mov byte ptr [ebp - 4], 0x1c */ 14138 RECOMP_ICALL(0x2B07F720u); /* 0x2B079D55: call 0x2b07f720 */ /* not lifted */ 14139 RECOMP_FLAGS_IN(); 14140 PUSH32(esp, eax); /* 0x2B079D5A: push eax */ 14141 eax = ebp + (-0x48); /* 0x2B079D5B: lea eax, [ebp - 0x48] */ 14142 PUSH32(esp, eax); /* 0x2B079D5E: push eax */ 14143 ecx = 0x2B0EF058u; /* 0x2B079D5F: mov ecx, 0x2b0ef058 */ 14144 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B079D64: mov byte ptr [ebp - 4], 0x1d */ 14145 RECOMP_ICALL(0x2B07F640u); /* 0x2B079D68: call 0x2b07f640 */ /* not lifted */ 14146 RECOMP_FLAGS_IN(); 14147 edi = MEM32(eax); /* 0x2B079D6D: mov edi, dword ptr [eax] */ 14148 PUSH32(esp, 1); /* 0x2B079D6F: push 1 */ 14149 ecx = ebp + (-0xA4); /* 0x2B079D71: lea ecx, [ebp - 0xa4] */ 14150 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B079D77: mov byte ptr [ebp - 4], 0x1c */ 14151 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079D7B: call dword ptr [0x2b0b514c] */ 14152 RECOMP_FLAGS_IN(); 14153 PUSH32(esp, 1); /* 0x2B079D81: push 1 */ 14154 ecx = ebp + (-0x6C); /* 0x2B079D83: lea ecx, [ebp - 0x6c] */ 14155 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B079D86: mov byte ptr [ebp - 4], 0x1b */ 14156 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079D8A: call dword ptr [0x2b0b514c] */ 14157 RECOMP_FLAGS_IN(); 14158 ecx = MEM32(ebp + (-0x40)); /* 0x2B079D90: mov ecx, dword ptr [ebp - 0x40] */ 14159 MEM32(edi + 0x10) = ecx; /* 0x2B079D93: mov dword ptr [edi + 0x10], ecx */ 14160 edx = MEM32(ebp + (-0x3C)); /* 0x2B079D96: mov edx, dword ptr [ebp - 0x3c] */ 14161 MEM32(edi + 0x14) = edx; /* 0x2B079D99: mov dword ptr [edi + 0x14], edx */ 14162 eax = MEM32(0x2B0B515C); /* 0x2B079D9C: mov eax, dword ptr [0x2b0b515c] */ 14163 ecx = MEM32(eax); /* 0x2B079DA1: mov ecx, dword ptr [eax] */ 14164 PUSH32(esp, ecx); /* 0x2B079DA3: push ecx */ 14165 PUSH32(esp, ebx); /* 0x2B079DA4: push ebx */ 14166 edx = ebp + (-0x38); /* 0x2B079DA5: lea edx, [ebp - 0x38] */ 14167 PUSH32(esp, edx); /* 0x2B079DA8: push edx */ 14168 ecx = edi + 0x18; /* 0x2B079DA9: lea ecx, [edi + 0x18] */ 14169 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079DAC: call dword ptr [0x2b0b5158] */ 14170 RECOMP_FLAGS_IN(); 14171 ecx = MEM32(ebp + (-0x28)); /* 0x2B079DB2: mov ecx, dword ptr [ebp - 0x28] */ 14172 eax = edi + 0x28; /* 0x2B079DB5: lea eax, [edi + 0x28] */ 14173 MEM32(eax) = ecx; /* 0x2B079DB8: mov dword ptr [eax], ecx */ 14174 edx = MEM32(ebp + (-0x24)); /* 0x2B079DBA: mov edx, dword ptr [ebp - 0x24] */ 14175 MEM32(eax + 0x4) = edx; /* 0x2B079DBD: mov dword ptr [eax + 4], edx */ 14176 ecx = MEM32(ebp + (-0x20)); /* 0x2B079DC0: mov ecx, dword ptr [ebp - 0x20] */ 14177 MEM32(eax + 0x8) = ecx; /* 0x2B079DC3: mov dword ptr [eax + 8], ecx */ 14178 edx = MEM32(ebp + (-0x1C)); /* 0x2B079DC6: mov edx, dword ptr [ebp - 0x1c] */ 14179 MEM32(eax + 0xC) = edx; /* 0x2B079DC9: mov dword ptr [eax + 0xc], edx */ 14180 eax = MEM32(ebp + (-0x18)); /* 0x2B079DCC: mov eax, dword ptr [ebp - 0x18] */ 14181 PUSH32(esp, 1); /* 0x2B079DCF: push 1 */ 14182 ecx = ebp + (-0x38); /* 0x2B079DD1: lea ecx, [ebp - 0x38] */ 14183 MEM32(edi + 0x38) = eax; /* 0x2B079DD4: mov dword ptr [edi + 0x38], eax */ 14184 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079DD7: mov byte ptr [ebp - 4], 1 */ 14185 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079DDB: call dword ptr [0x2b0b514c] */ 14186 RECOMP_FLAGS_IN(); 14187 ecx = ebp + (-0xD); /* 0x2B079DE1: lea ecx, [ebp - 0xd] */ 14188 MEM32(ebp + (-0x14)) = 0x236u; /* 0x2B079DE4: mov dword ptr [ebp - 0x14], 0x236 */ 14189 MEM32(ebp + (-0x40)) = 0xA76Eu; /* 0x2B079DEB: mov dword ptr [ebp - 0x40], 0xa76e */ 14190 MEM32(ebp + (-0x3C)) = 0xA595u; /* 0x2B079DF2: mov dword ptr [ebp - 0x3c], 0xa595 */ 14191 PUSH32(esp, ecx); /* 0x2B079DF9: push ecx */ 14192 ecx = ebp + (-0x38); /* 0x2B079DFA: lea ecx, [ebp - 0x38] */ 14193 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079DFD: call dword ptr [0x2b0b5190] */ 14194 RECOMP_FLAGS_IN(); 14195 ecx = ebp + (-0x28); /* 0x2B079E03: lea ecx, [ebp - 0x28] */ 14196 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B079E06: mov byte ptr [ebp - 4], 0x1e */ 14197 RECOMP_ICALL(0x2B07F070u); /* 0x2B079E0A: call 0x2b07f070 */ /* not lifted */ 14198 RECOMP_FLAGS_IN(); 14199 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14200 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079E0F: or ecx, 0xffffffff */ 14201 _cf = 0; 14202 _flag_k = FK_TEST; 14203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14204 eax = 0; /* 0x2B079E12: xor eax, eax */ 14205 _cf = 0; 14206 _flag_k = FK_TEST; 14207 edi = 0x2B0EC7B0u; /* 0x2B079E14: mov edi, 0x2b0ec7b0 */ 14208 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; } /* 0x2B079E19: repne scasb al, byte ptr es:[edi] */ 14209 ecx = ~ecx; /* 0x2B079E1B: not ecx */ 14210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14211 ecx = ecx - 1; /* 0x2B079E1D: dec ecx */ 14212 _flag_k = FK_DEC; 14213 PUSH32(esp, ecx); /* 0x2B079E1E: push ecx */ 14214 PUSH32(esp, 0x2B0EC7B0u); /* 0x2B079E1F: push 0x2b0ec7b0 */ 14215 ecx = ebp + (-0x38); /* 0x2B079E24: lea ecx, [ebp - 0x38] */ 14216 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079E27: mov dword ptr [ebp - 0x18], ebx */ 14217 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079E2A: call dword ptr [0x2b0b5148] */ 14218 RECOMP_FLAGS_IN(); 14219 ecx = ebp + (-0x74); /* 0x2B079E30: lea ecx, [ebp - 0x74] */ 14220 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B079E33: mov byte ptr [ebp - 4], 0x1f */ 14221 RECOMP_ICALL(0x2B07C070u); /* 0x2B079E37: call 0x2b07c070 */ /* not lifted */ 14222 RECOMP_FLAGS_IN(); 14223 PUSH32(esp, eax); /* 0x2B079E3C: push eax */ 14224 edx = ebp + (-0x14); /* 0x2B079E3D: lea edx, [ebp - 0x14] */ 14225 PUSH32(esp, edx); /* 0x2B079E40: push edx */ 14226 ecx = ebp + (-0xB0); /* 0x2B079E41: lea ecx, [ebp - 0xb0] */ 14227 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B079E47: mov byte ptr [ebp - 4], 0x20 */ 14228 RECOMP_ICALL(0x2B07F720u); /* 0x2B079E4B: call 0x2b07f720 */ /* not lifted */ 14229 RECOMP_FLAGS_IN(); 14230 PUSH32(esp, eax); /* 0x2B079E50: push eax */ 14231 eax = ebp + (-0x48); /* 0x2B079E51: lea eax, [ebp - 0x48] */ 14232 PUSH32(esp, eax); /* 0x2B079E54: push eax */ 14233 ecx = 0x2B0EF058u; /* 0x2B079E55: mov ecx, 0x2b0ef058 */ 14234 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x2B079E5A: mov byte ptr [ebp - 4], 0x21 */ 14235 RECOMP_ICALL(0x2B07F640u); /* 0x2B079E5E: call 0x2b07f640 */ /* not lifted */ 14236 RECOMP_FLAGS_IN(); 14237 edi = MEM32(eax); /* 0x2B079E63: mov edi, dword ptr [eax] */ 14238 PUSH32(esp, 1); /* 0x2B079E65: push 1 */ 14239 ecx = ebp + (-0xA4); /* 0x2B079E67: lea ecx, [ebp - 0xa4] */ 14240 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B079E6D: mov byte ptr [ebp - 4], 0x20 */ 14241 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079E71: call dword ptr [0x2b0b514c] */ 14242 RECOMP_FLAGS_IN(); 14243 PUSH32(esp, 1); /* 0x2B079E77: push 1 */ 14244 ecx = ebp + (-0x6C); /* 0x2B079E79: lea ecx, [ebp - 0x6c] */ 14245 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B079E7C: mov byte ptr [ebp - 4], 0x1f */ 14246 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079E80: call dword ptr [0x2b0b514c] */ 14247 RECOMP_FLAGS_IN(); 14248 ecx = MEM32(ebp + (-0x40)); /* 0x2B079E86: mov ecx, dword ptr [ebp - 0x40] */ 14249 MEM32(edi + 0x10) = ecx; /* 0x2B079E89: mov dword ptr [edi + 0x10], ecx */ 14250 edx = MEM32(ebp + (-0x3C)); /* 0x2B079E8C: mov edx, dword ptr [ebp - 0x3c] */ 14251 MEM32(edi + 0x14) = edx; /* 0x2B079E8F: mov dword ptr [edi + 0x14], edx */ 14252 eax = MEM32(0x2B0B515C); /* 0x2B079E92: mov eax, dword ptr [0x2b0b515c] */ 14253 ecx = MEM32(eax); /* 0x2B079E97: mov ecx, dword ptr [eax] */ 14254 PUSH32(esp, ecx); /* 0x2B079E99: push ecx */ 14255 PUSH32(esp, ebx); /* 0x2B079E9A: push ebx */ 14256 edx = ebp + (-0x38); /* 0x2B079E9B: lea edx, [ebp - 0x38] */ 14257 PUSH32(esp, edx); /* 0x2B079E9E: push edx */ 14258 ecx = edi + 0x18; /* 0x2B079E9F: lea ecx, [edi + 0x18] */ 14259 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079EA2: call dword ptr [0x2b0b5158] */ 14260 RECOMP_FLAGS_IN(); 14261 ecx = MEM32(ebp + (-0x28)); /* 0x2B079EA8: mov ecx, dword ptr [ebp - 0x28] */ 14262 eax = edi + 0x28; /* 0x2B079EAB: lea eax, [edi + 0x28] */ 14263 MEM32(eax) = ecx; /* 0x2B079EAE: mov dword ptr [eax], ecx */ 14264 edx = MEM32(ebp + (-0x24)); /* 0x2B079EB0: mov edx, dword ptr [ebp - 0x24] */ 14265 MEM32(eax + 0x4) = edx; /* 0x2B079EB3: mov dword ptr [eax + 4], edx */ 14266 ecx = MEM32(ebp + (-0x20)); /* 0x2B079EB6: mov ecx, dword ptr [ebp - 0x20] */ 14267 MEM32(eax + 0x8) = ecx; /* 0x2B079EB9: mov dword ptr [eax + 8], ecx */ 14268 edx = MEM32(ebp + (-0x1C)); /* 0x2B079EBC: mov edx, dword ptr [ebp - 0x1c] */ 14269 MEM32(eax + 0xC) = edx; /* 0x2B079EBF: mov dword ptr [eax + 0xc], edx */ 14270 eax = MEM32(ebp + (-0x18)); /* 0x2B079EC2: mov eax, dword ptr [ebp - 0x18] */ 14271 PUSH32(esp, 1); /* 0x2B079EC5: push 1 */ 14272 ecx = ebp + (-0x38); /* 0x2B079EC7: lea ecx, [ebp - 0x38] */ 14273 MEM32(edi + 0x38) = eax; /* 0x2B079ECA: mov dword ptr [edi + 0x38], eax */ 14274 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079ECD: mov byte ptr [ebp - 4], 1 */ 14275 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079ED1: call dword ptr [0x2b0b514c] */ 14276 RECOMP_FLAGS_IN(); 14277 ecx = ebp + (-0xD); /* 0x2B079ED7: lea ecx, [ebp - 0xd] */ 14278 PUSH32(esp, ecx); /* 0x2B079EDA: push ecx */ 14279 ecx = ebp + (-0x38); /* 0x2B079EDB: lea ecx, [ebp - 0x38] */ 14280 MEM32(ebp + (-0x14)) = 0x237u; /* 0x2B079EDE: mov dword ptr [ebp - 0x14], 0x237 */ 14281 MEM32(ebp + (-0x40)) = 0xA3DEu; /* 0x2B079EE5: mov dword ptr [ebp - 0x40], 0xa3de */ 14282 MEM32(ebp + (-0x3C)) = 0xA4B6u; /* 0x2B079EEC: mov dword ptr [ebp - 0x3c], 0xa4b6 */ 14283 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079EF3: call dword ptr [0x2b0b5190] */ 14284 RECOMP_FLAGS_IN(); 14285 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x2B079EF9: mov byte ptr [ebp - 4], 0x22 */ 14286 ecx = ebp + (-0x28); /* 0x2B079EFD: lea ecx, [ebp - 0x28] */ 14287 RECOMP_ICALL(0x2B07F070u); /* 0x2B079F00: call 0x2b07f070 */ /* not lifted */ 14288 RECOMP_FLAGS_IN(); 14289 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14290 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079F05: or ecx, 0xffffffff */ 14291 _cf = 0; 14292 _flag_k = FK_TEST; 14293 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14294 eax = 0; /* 0x2B079F08: xor eax, eax */ 14295 _cf = 0; 14296 _flag_k = FK_TEST; 14297 edi = 0x2B0EC7A8u; /* 0x2B079F0A: mov edi, 0x2b0ec7a8 */ 14298 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; } /* 0x2B079F0F: repne scasb al, byte ptr es:[edi] */ 14299 ecx = ~ecx; /* 0x2B079F11: not ecx */ 14300 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14301 ecx = ecx - 1; /* 0x2B079F13: dec ecx */ 14302 _flag_k = FK_DEC; 14303 PUSH32(esp, ecx); /* 0x2B079F14: push ecx */ 14304 PUSH32(esp, 0x2B0EC7A8u); /* 0x2B079F15: push 0x2b0ec7a8 */ 14305 ecx = ebp + (-0x38); /* 0x2B079F1A: lea ecx, [ebp - 0x38] */ 14306 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079F1D: mov dword ptr [ebp - 0x18], ebx */ 14307 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B079F20: call dword ptr [0x2b0b5148] */ 14308 RECOMP_FLAGS_IN(); 14309 ecx = ebp + (-0x74); /* 0x2B079F26: lea ecx, [ebp - 0x74] */ 14310 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x2B079F29: mov byte ptr [ebp - 4], 0x23 */ 14311 RECOMP_ICALL(0x2B07C070u); /* 0x2B079F2D: call 0x2b07c070 */ /* not lifted */ 14312 RECOMP_FLAGS_IN(); 14313 PUSH32(esp, eax); /* 0x2B079F32: push eax */ 14314 edx = ebp + (-0x14); /* 0x2B079F33: lea edx, [ebp - 0x14] */ 14315 PUSH32(esp, edx); /* 0x2B079F36: push edx */ 14316 ecx = ebp + (-0xB0); /* 0x2B079F37: lea ecx, [ebp - 0xb0] */ 14317 MEM8(ebp + (-0x4)) = (uint8_t)(0x24u); /* 0x2B079F3D: mov byte ptr [ebp - 4], 0x24 */ 14318 RECOMP_ICALL(0x2B07F720u); /* 0x2B079F41: call 0x2b07f720 */ /* not lifted */ 14319 RECOMP_FLAGS_IN(); 14320 PUSH32(esp, eax); /* 0x2B079F46: push eax */ 14321 eax = ebp + (-0x48); /* 0x2B079F47: lea eax, [ebp - 0x48] */ 14322 PUSH32(esp, eax); /* 0x2B079F4A: push eax */ 14323 ecx = 0x2B0EF058u; /* 0x2B079F4B: mov ecx, 0x2b0ef058 */ 14324 MEM8(ebp + (-0x4)) = (uint8_t)(0x25u); /* 0x2B079F50: mov byte ptr [ebp - 4], 0x25 */ 14325 RECOMP_ICALL(0x2B07F640u); /* 0x2B079F54: call 0x2b07f640 */ /* not lifted */ 14326 RECOMP_FLAGS_IN(); 14327 edi = MEM32(eax); /* 0x2B079F59: mov edi, dword ptr [eax] */ 14328 PUSH32(esp, 1); /* 0x2B079F5B: push 1 */ 14329 ecx = ebp + (-0xA4); /* 0x2B079F5D: lea ecx, [ebp - 0xa4] */ 14330 MEM8(ebp + (-0x4)) = (uint8_t)(0x24u); /* 0x2B079F63: mov byte ptr [ebp - 4], 0x24 */ 14331 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079F67: call dword ptr [0x2b0b514c] */ 14332 RECOMP_FLAGS_IN(); 14333 PUSH32(esp, 1); /* 0x2B079F6D: push 1 */ 14334 ecx = ebp + (-0x6C); /* 0x2B079F6F: lea ecx, [ebp - 0x6c] */ 14335 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x2B079F72: mov byte ptr [ebp - 4], 0x23 */ 14336 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079F76: call dword ptr [0x2b0b514c] */ 14337 RECOMP_FLAGS_IN(); 14338 ecx = MEM32(ebp + (-0x40)); /* 0x2B079F7C: mov ecx, dword ptr [ebp - 0x40] */ 14339 MEM32(edi + 0x10) = ecx; /* 0x2B079F7F: mov dword ptr [edi + 0x10], ecx */ 14340 edx = MEM32(ebp + (-0x3C)); /* 0x2B079F82: mov edx, dword ptr [ebp - 0x3c] */ 14341 MEM32(edi + 0x14) = edx; /* 0x2B079F85: mov dword ptr [edi + 0x14], edx */ 14342 eax = MEM32(0x2B0B515C); /* 0x2B079F88: mov eax, dword ptr [0x2b0b515c] */ 14343 ecx = MEM32(eax); /* 0x2B079F8D: mov ecx, dword ptr [eax] */ 14344 PUSH32(esp, ecx); /* 0x2B079F8F: push ecx */ 14345 PUSH32(esp, ebx); /* 0x2B079F90: push ebx */ 14346 edx = ebp + (-0x38); /* 0x2B079F91: lea edx, [ebp - 0x38] */ 14347 PUSH32(esp, edx); /* 0x2B079F94: push edx */ 14348 ecx = edi + 0x18; /* 0x2B079F95: lea ecx, [edi + 0x18] */ 14349 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B079F98: call dword ptr [0x2b0b5158] */ 14350 RECOMP_FLAGS_IN(); 14351 ecx = MEM32(ebp + (-0x28)); /* 0x2B079F9E: mov ecx, dword ptr [ebp - 0x28] */ 14352 eax = edi + 0x28; /* 0x2B079FA1: lea eax, [edi + 0x28] */ 14353 MEM32(eax) = ecx; /* 0x2B079FA4: mov dword ptr [eax], ecx */ 14354 edx = MEM32(ebp + (-0x24)); /* 0x2B079FA6: mov edx, dword ptr [ebp - 0x24] */ 14355 MEM32(eax + 0x4) = edx; /* 0x2B079FA9: mov dword ptr [eax + 4], edx */ 14356 ecx = MEM32(ebp + (-0x20)); /* 0x2B079FAC: mov ecx, dword ptr [ebp - 0x20] */ 14357 MEM32(eax + 0x8) = ecx; /* 0x2B079FAF: mov dword ptr [eax + 8], ecx */ 14358 edx = MEM32(ebp + (-0x1C)); /* 0x2B079FB2: mov edx, dword ptr [ebp - 0x1c] */ 14359 MEM32(eax + 0xC) = edx; /* 0x2B079FB5: mov dword ptr [eax + 0xc], edx */ 14360 eax = MEM32(ebp + (-0x18)); /* 0x2B079FB8: mov eax, dword ptr [ebp - 0x18] */ 14361 PUSH32(esp, 1); /* 0x2B079FBB: push 1 */ 14362 ecx = ebp + (-0x38); /* 0x2B079FBD: lea ecx, [ebp - 0x38] */ 14363 MEM32(edi + 0x38) = eax; /* 0x2B079FC0: mov dword ptr [edi + 0x38], eax */ 14364 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B079FC3: mov byte ptr [ebp - 4], 1 */ 14365 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B079FC7: call dword ptr [0x2b0b514c] */ 14366 RECOMP_FLAGS_IN(); 14367 ecx = ebp + (-0xD); /* 0x2B079FCD: lea ecx, [ebp - 0xd] */ 14368 PUSH32(esp, ecx); /* 0x2B079FD0: push ecx */ 14369 ecx = ebp + (-0x38); /* 0x2B079FD1: lea ecx, [ebp - 0x38] */ 14370 MEM32(ebp + (-0x14)) = 0x23Au; /* 0x2B079FD4: mov dword ptr [ebp - 0x14], 0x23a */ 14371 MEM32(ebp + (-0x40)) = 0xB1AEu; /* 0x2B079FDB: mov dword ptr [ebp - 0x40], 0xb1ae */ 14372 MEM32(ebp + (-0x3C)) = 0xB134u; /* 0x2B079FE2: mov dword ptr [ebp - 0x3c], 0xb134 */ 14373 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B079FE9: call dword ptr [0x2b0b5190] */ 14374 RECOMP_FLAGS_IN(); 14375 ecx = ebp + (-0x28); /* 0x2B079FEF: lea ecx, [ebp - 0x28] */ 14376 MEM8(ebp + (-0x4)) = (uint8_t)(0x26u); /* 0x2B079FF2: mov byte ptr [ebp - 4], 0x26 */ 14377 RECOMP_ICALL(0x2B07F070u); /* 0x2B079FF6: call 0x2b07f070 */ /* not lifted */ 14378 RECOMP_FLAGS_IN(); 14379 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14380 ecx = ecx | 0xFFFFFFFFu; /* 0x2B079FFB: or ecx, 0xffffffff */ 14381 _cf = 0; 14382 _flag_k = FK_TEST; 14383 MEM32(ebp + (-0x18)) = ebx; /* 0x2B079FFE: mov dword ptr [ebp - 0x18], ebx */ 14384 edi = 0x2B0EC790u; /* 0x2B07A001: mov edi, 0x2b0ec790 */ 14385 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14386 eax = 0; /* 0x2B07A006: xor eax, eax */ 14387 _cf = 0; 14388 _flag_k = FK_TEST; 14389 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; } /* 0x2B07A008: repne scasb al, byte ptr es:[edi] */ 14390 ecx = ~ecx; /* 0x2B07A00A: not ecx */ 14391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14392 ecx = ecx - 1; /* 0x2B07A00C: dec ecx */ 14393 _flag_k = FK_DEC; 14394 PUSH32(esp, ecx); /* 0x2B07A00D: push ecx */ 14395 PUSH32(esp, 0x2B0EC790u); /* 0x2B07A00E: push 0x2b0ec790 */ 14396 ecx = ebp + (-0x38); /* 0x2B07A013: lea ecx, [ebp - 0x38] */ 14397 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A016: call dword ptr [0x2b0b5148] */ 14398 RECOMP_FLAGS_IN(); 14399 ecx = ebp + (-0x74); /* 0x2B07A01C: lea ecx, [ebp - 0x74] */ 14400 MEM8(ebp + (-0x4)) = (uint8_t)(0x27u); /* 0x2B07A01F: mov byte ptr [ebp - 4], 0x27 */ 14401 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A023: call 0x2b07c070 */ /* not lifted */ 14402 RECOMP_FLAGS_IN(); 14403 PUSH32(esp, eax); /* 0x2B07A028: push eax */ 14404 edx = ebp + (-0x14); /* 0x2B07A029: lea edx, [ebp - 0x14] */ 14405 PUSH32(esp, edx); /* 0x2B07A02C: push edx */ 14406 ecx = ebp + (-0xB0); /* 0x2B07A02D: lea ecx, [ebp - 0xb0] */ 14407 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x2B07A033: mov byte ptr [ebp - 4], 0x28 */ 14408 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A037: call 0x2b07f720 */ /* not lifted */ 14409 RECOMP_FLAGS_IN(); 14410 PUSH32(esp, eax); /* 0x2B07A03C: push eax */ 14411 eax = ebp + (-0x48); /* 0x2B07A03D: lea eax, [ebp - 0x48] */ 14412 PUSH32(esp, eax); /* 0x2B07A040: push eax */ 14413 ecx = 0x2B0EF058u; /* 0x2B07A041: mov ecx, 0x2b0ef058 */ 14414 MEM8(ebp + (-0x4)) = (uint8_t)(0x29u); /* 0x2B07A046: mov byte ptr [ebp - 4], 0x29 */ 14415 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A04A: call 0x2b07f640 */ /* not lifted */ 14416 RECOMP_FLAGS_IN(); 14417 edi = MEM32(eax); /* 0x2B07A04F: mov edi, dword ptr [eax] */ 14418 PUSH32(esp, 1); /* 0x2B07A051: push 1 */ 14419 ecx = ebp + (-0xA4); /* 0x2B07A053: lea ecx, [ebp - 0xa4] */ 14420 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x2B07A059: mov byte ptr [ebp - 4], 0x28 */ 14421 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A05D: call dword ptr [0x2b0b514c] */ 14422 RECOMP_FLAGS_IN(); 14423 PUSH32(esp, 1); /* 0x2B07A063: push 1 */ 14424 ecx = ebp + (-0x6C); /* 0x2B07A065: lea ecx, [ebp - 0x6c] */ 14425 MEM8(ebp + (-0x4)) = (uint8_t)(0x27u); /* 0x2B07A068: mov byte ptr [ebp - 4], 0x27 */ 14426 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A06C: call dword ptr [0x2b0b514c] */ 14427 RECOMP_FLAGS_IN(); 14428 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A072: mov ecx, dword ptr [ebp - 0x40] */ 14429 MEM32(edi + 0x10) = ecx; /* 0x2B07A075: mov dword ptr [edi + 0x10], ecx */ 14430 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A078: mov edx, dword ptr [ebp - 0x3c] */ 14431 MEM32(edi + 0x14) = edx; /* 0x2B07A07B: mov dword ptr [edi + 0x14], edx */ 14432 eax = MEM32(0x2B0B515C); /* 0x2B07A07E: mov eax, dword ptr [0x2b0b515c] */ 14433 ecx = MEM32(eax); /* 0x2B07A083: mov ecx, dword ptr [eax] */ 14434 PUSH32(esp, ecx); /* 0x2B07A085: push ecx */ 14435 PUSH32(esp, ebx); /* 0x2B07A086: push ebx */ 14436 edx = ebp + (-0x38); /* 0x2B07A087: lea edx, [ebp - 0x38] */ 14437 PUSH32(esp, edx); /* 0x2B07A08A: push edx */ 14438 ecx = edi + 0x18; /* 0x2B07A08B: lea ecx, [edi + 0x18] */ 14439 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A08E: call dword ptr [0x2b0b5158] */ 14440 RECOMP_FLAGS_IN(); 14441 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A094: mov ecx, dword ptr [ebp - 0x28] */ 14442 eax = edi + 0x28; /* 0x2B07A097: lea eax, [edi + 0x28] */ 14443 MEM32(eax) = ecx; /* 0x2B07A09A: mov dword ptr [eax], ecx */ 14444 edx = MEM32(ebp + (-0x24)); /* 0x2B07A09C: mov edx, dword ptr [ebp - 0x24] */ 14445 MEM32(eax + 0x4) = edx; /* 0x2B07A09F: mov dword ptr [eax + 4], edx */ 14446 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A0A2: mov ecx, dword ptr [ebp - 0x20] */ 14447 MEM32(eax + 0x8) = ecx; /* 0x2B07A0A5: mov dword ptr [eax + 8], ecx */ 14448 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A0A8: mov edx, dword ptr [ebp - 0x1c] */ 14449 MEM32(eax + 0xC) = edx; /* 0x2B07A0AB: mov dword ptr [eax + 0xc], edx */ 14450 eax = MEM32(ebp + (-0x18)); /* 0x2B07A0AE: mov eax, dword ptr [ebp - 0x18] */ 14451 PUSH32(esp, 1); /* 0x2B07A0B1: push 1 */ 14452 ecx = ebp + (-0x38); /* 0x2B07A0B3: lea ecx, [ebp - 0x38] */ 14453 MEM32(edi + 0x38) = eax; /* 0x2B07A0B6: mov dword ptr [edi + 0x38], eax */ 14454 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A0B9: mov byte ptr [ebp - 4], 1 */ 14455 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A0BD: call dword ptr [0x2b0b514c] */ 14456 RECOMP_FLAGS_IN(); 14457 ecx = ebp + (-0xD); /* 0x2B07A0C3: lea ecx, [ebp - 0xd] */ 14458 PUSH32(esp, ecx); /* 0x2B07A0C6: push ecx */ 14459 ecx = ebp + (-0x38); /* 0x2B07A0C7: lea ecx, [ebp - 0x38] */ 14460 MEM32(ebp + (-0x14)) = 0x249u; /* 0x2B07A0CA: mov dword ptr [ebp - 0x14], 0x249 */ 14461 MEM32(ebp + (-0x40)) = 0x9B29u; /* 0x2B07A0D1: mov dword ptr [ebp - 0x40], 0x9b29 */ 14462 MEM32(ebp + (-0x3C)) = 0x99FAu; /* 0x2B07A0D8: mov dword ptr [ebp - 0x3c], 0x99fa */ 14463 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A0DF: call dword ptr [0x2b0b5190] */ 14464 RECOMP_FLAGS_IN(); 14465 ecx = ebp + (-0x28); /* 0x2B07A0E5: lea ecx, [ebp - 0x28] */ 14466 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Au); /* 0x2B07A0E8: mov byte ptr [ebp - 4], 0x2a */ 14467 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A0EC: call 0x2b07f070 */ /* not lifted */ 14468 RECOMP_FLAGS_IN(); 14469 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14470 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A0F1: or ecx, 0xffffffff */ 14471 _cf = 0; 14472 _flag_k = FK_TEST; 14473 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14474 eax = 0; /* 0x2B07A0F4: xor eax, eax */ 14475 _cf = 0; 14476 _flag_k = FK_TEST; 14477 edi = 0x2B0EC788u; /* 0x2B07A0F6: mov edi, 0x2b0ec788 */ 14478 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; } /* 0x2B07A0FB: repne scasb al, byte ptr es:[edi] */ 14479 ecx = ~ecx; /* 0x2B07A0FD: not ecx */ 14480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14481 ecx = ecx - 1; /* 0x2B07A0FF: dec ecx */ 14482 _flag_k = FK_DEC; 14483 PUSH32(esp, ecx); /* 0x2B07A100: push ecx */ 14484 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A101: mov dword ptr [ebp - 0x18], ebx */ 14485 PUSH32(esp, 0x2B0EC788u); /* 0x2B07A104: push 0x2b0ec788 */ 14486 ecx = ebp + (-0x38); /* 0x2B07A109: lea ecx, [ebp - 0x38] */ 14487 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A10C: call dword ptr [0x2b0b5148] */ 14488 RECOMP_FLAGS_IN(); 14489 ecx = ebp + (-0x74); /* 0x2B07A112: lea ecx, [ebp - 0x74] */ 14490 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x2B07A115: mov byte ptr [ebp - 4], 0x2b */ 14491 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A119: call 0x2b07c070 */ /* not lifted */ 14492 RECOMP_FLAGS_IN(); 14493 PUSH32(esp, eax); /* 0x2B07A11E: push eax */ 14494 edx = ebp + (-0x14); /* 0x2B07A11F: lea edx, [ebp - 0x14] */ 14495 PUSH32(esp, edx); /* 0x2B07A122: push edx */ 14496 ecx = ebp + (-0xB0); /* 0x2B07A123: lea ecx, [ebp - 0xb0] */ 14497 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Cu); /* 0x2B07A129: mov byte ptr [ebp - 4], 0x2c */ 14498 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A12D: call 0x2b07f720 */ /* not lifted */ 14499 RECOMP_FLAGS_IN(); 14500 PUSH32(esp, eax); /* 0x2B07A132: push eax */ 14501 eax = ebp + (-0x48); /* 0x2B07A133: lea eax, [ebp - 0x48] */ 14502 PUSH32(esp, eax); /* 0x2B07A136: push eax */ 14503 ecx = 0x2B0EF058u; /* 0x2B07A137: mov ecx, 0x2b0ef058 */ 14504 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x2B07A13C: mov byte ptr [ebp - 4], 0x2d */ 14505 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A140: call 0x2b07f640 */ /* not lifted */ 14506 RECOMP_FLAGS_IN(); 14507 edi = MEM32(eax); /* 0x2B07A145: mov edi, dword ptr [eax] */ 14508 PUSH32(esp, 1); /* 0x2B07A147: push 1 */ 14509 ecx = ebp + (-0xA4); /* 0x2B07A149: lea ecx, [ebp - 0xa4] */ 14510 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Cu); /* 0x2B07A14F: mov byte ptr [ebp - 4], 0x2c */ 14511 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A153: call dword ptr [0x2b0b514c] */ 14512 RECOMP_FLAGS_IN(); 14513 PUSH32(esp, 1); /* 0x2B07A159: push 1 */ 14514 ecx = ebp + (-0x6C); /* 0x2B07A15B: lea ecx, [ebp - 0x6c] */ 14515 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x2B07A15E: mov byte ptr [ebp - 4], 0x2b */ 14516 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A162: call dword ptr [0x2b0b514c] */ 14517 RECOMP_FLAGS_IN(); 14518 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A168: mov ecx, dword ptr [ebp - 0x40] */ 14519 MEM32(edi + 0x10) = ecx; /* 0x2B07A16B: mov dword ptr [edi + 0x10], ecx */ 14520 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A16E: mov edx, dword ptr [ebp - 0x3c] */ 14521 MEM32(edi + 0x14) = edx; /* 0x2B07A171: mov dword ptr [edi + 0x14], edx */ 14522 eax = MEM32(0x2B0B515C); /* 0x2B07A174: mov eax, dword ptr [0x2b0b515c] */ 14523 ecx = MEM32(eax); /* 0x2B07A179: mov ecx, dword ptr [eax] */ 14524 PUSH32(esp, ecx); /* 0x2B07A17B: push ecx */ 14525 PUSH32(esp, ebx); /* 0x2B07A17C: push ebx */ 14526 edx = ebp + (-0x38); /* 0x2B07A17D: lea edx, [ebp - 0x38] */ 14527 PUSH32(esp, edx); /* 0x2B07A180: push edx */ 14528 ecx = edi + 0x18; /* 0x2B07A181: lea ecx, [edi + 0x18] */ 14529 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A184: call dword ptr [0x2b0b5158] */ 14530 RECOMP_FLAGS_IN(); 14531 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A18A: mov ecx, dword ptr [ebp - 0x28] */ 14532 eax = edi + 0x28; /* 0x2B07A18D: lea eax, [edi + 0x28] */ 14533 MEM32(eax) = ecx; /* 0x2B07A190: mov dword ptr [eax], ecx */ 14534 edx = MEM32(ebp + (-0x24)); /* 0x2B07A192: mov edx, dword ptr [ebp - 0x24] */ 14535 MEM32(eax + 0x4) = edx; /* 0x2B07A195: mov dword ptr [eax + 4], edx */ 14536 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A198: mov ecx, dword ptr [ebp - 0x20] */ 14537 MEM32(eax + 0x8) = ecx; /* 0x2B07A19B: mov dword ptr [eax + 8], ecx */ 14538 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A19E: mov edx, dword ptr [ebp - 0x1c] */ 14539 MEM32(eax + 0xC) = edx; /* 0x2B07A1A1: mov dword ptr [eax + 0xc], edx */ 14540 eax = MEM32(ebp + (-0x18)); /* 0x2B07A1A4: mov eax, dword ptr [ebp - 0x18] */ 14541 PUSH32(esp, 1); /* 0x2B07A1A7: push 1 */ 14542 ecx = ebp + (-0x38); /* 0x2B07A1A9: lea ecx, [ebp - 0x38] */ 14543 MEM32(edi + 0x38) = eax; /* 0x2B07A1AC: mov dword ptr [edi + 0x38], eax */ 14544 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A1AF: mov byte ptr [ebp - 4], 1 */ 14545 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A1B3: call dword ptr [0x2b0b514c] */ 14546 RECOMP_FLAGS_IN(); 14547 ecx = ebp + (-0xD); /* 0x2B07A1B9: lea ecx, [ebp - 0xd] */ 14548 PUSH32(esp, ecx); /* 0x2B07A1BC: push ecx */ 14549 ecx = ebp + (-0x38); /* 0x2B07A1BD: lea ecx, [ebp - 0x38] */ 14550 MEM32(ebp + (-0x14)) = 0x24Au; /* 0x2B07A1C0: mov dword ptr [ebp - 0x14], 0x24a */ 14551 MEM32(ebp + (-0x40)) = 0x9B3Fu; /* 0x2B07A1C7: mov dword ptr [ebp - 0x40], 0x9b3f */ 14552 MEM32(ebp + (-0x3C)) = 0x9D96u; /* 0x2B07A1CE: mov dword ptr [ebp - 0x3c], 0x9d96 */ 14553 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A1D5: call dword ptr [0x2b0b5190] */ 14554 RECOMP_FLAGS_IN(); 14555 ecx = ebp + (-0x28); /* 0x2B07A1DB: lea ecx, [ebp - 0x28] */ 14556 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x2B07A1DE: mov byte ptr [ebp - 4], 0x2e */ 14557 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A1E2: call 0x2b07f070 */ /* not lifted */ 14558 RECOMP_FLAGS_IN(); 14559 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14560 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A1E7: or ecx, 0xffffffff */ 14561 _cf = 0; 14562 _flag_k = FK_TEST; 14563 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14564 eax = 0; /* 0x2B07A1EA: xor eax, eax */ 14565 _cf = 0; 14566 _flag_k = FK_TEST; 14567 edi = 0x2B0EC778u; /* 0x2B07A1EC: mov edi, 0x2b0ec778 */ 14568 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; } /* 0x2B07A1F1: repne scasb al, byte ptr es:[edi] */ 14569 ecx = ~ecx; /* 0x2B07A1F3: not ecx */ 14570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14571 ecx = ecx - 1; /* 0x2B07A1F5: dec ecx */ 14572 _flag_k = FK_DEC; 14573 PUSH32(esp, ecx); /* 0x2B07A1F6: push ecx */ 14574 PUSH32(esp, 0x2B0EC778u); /* 0x2B07A1F7: push 0x2b0ec778 */ 14575 ecx = ebp + (-0x38); /* 0x2B07A1FC: lea ecx, [ebp - 0x38] */ 14576 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A1FF: mov dword ptr [ebp - 0x18], ebx */ 14577 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A202: call dword ptr [0x2b0b5148] */ 14578 RECOMP_FLAGS_IN(); 14579 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x2B07A208: mov byte ptr [ebp - 4], 0x2f */ 14580 ecx = ebp + (-0x74); /* 0x2B07A20C: lea ecx, [ebp - 0x74] */ 14581 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A20F: call 0x2b07c070 */ /* not lifted */ 14582 RECOMP_FLAGS_IN(); 14583 PUSH32(esp, eax); /* 0x2B07A214: push eax */ 14584 edx = ebp + (-0x14); /* 0x2B07A215: lea edx, [ebp - 0x14] */ 14585 PUSH32(esp, edx); /* 0x2B07A218: push edx */ 14586 ecx = ebp + (-0xB0); /* 0x2B07A219: lea ecx, [ebp - 0xb0] */ 14587 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x2B07A21F: mov byte ptr [ebp - 4], 0x30 */ 14588 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A223: call 0x2b07f720 */ /* not lifted */ 14589 RECOMP_FLAGS_IN(); 14590 PUSH32(esp, eax); /* 0x2B07A228: push eax */ 14591 eax = ebp + (-0x48); /* 0x2B07A229: lea eax, [ebp - 0x48] */ 14592 PUSH32(esp, eax); /* 0x2B07A22C: push eax */ 14593 ecx = 0x2B0EF058u; /* 0x2B07A22D: mov ecx, 0x2b0ef058 */ 14594 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x2B07A232: mov byte ptr [ebp - 4], 0x31 */ 14595 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A236: call 0x2b07f640 */ /* not lifted */ 14596 RECOMP_FLAGS_IN(); 14597 edi = MEM32(eax); /* 0x2B07A23B: mov edi, dword ptr [eax] */ 14598 PUSH32(esp, 1); /* 0x2B07A23D: push 1 */ 14599 ecx = ebp + (-0xA4); /* 0x2B07A23F: lea ecx, [ebp - 0xa4] */ 14600 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x2B07A245: mov byte ptr [ebp - 4], 0x30 */ 14601 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A249: call dword ptr [0x2b0b514c] */ 14602 RECOMP_FLAGS_IN(); 14603 PUSH32(esp, 1); /* 0x2B07A24F: push 1 */ 14604 ecx = ebp + (-0x6C); /* 0x2B07A251: lea ecx, [ebp - 0x6c] */ 14605 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x2B07A254: mov byte ptr [ebp - 4], 0x2f */ 14606 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A258: call dword ptr [0x2b0b514c] */ 14607 RECOMP_FLAGS_IN(); 14608 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A25E: mov ecx, dword ptr [ebp - 0x40] */ 14609 MEM32(edi + 0x10) = ecx; /* 0x2B07A261: mov dword ptr [edi + 0x10], ecx */ 14610 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A264: mov edx, dword ptr [ebp - 0x3c] */ 14611 MEM32(edi + 0x14) = edx; /* 0x2B07A267: mov dword ptr [edi + 0x14], edx */ 14612 eax = MEM32(0x2B0B515C); /* 0x2B07A26A: mov eax, dword ptr [0x2b0b515c] */ 14613 ecx = MEM32(eax); /* 0x2B07A26F: mov ecx, dword ptr [eax] */ 14614 PUSH32(esp, ecx); /* 0x2B07A271: push ecx */ 14615 PUSH32(esp, ebx); /* 0x2B07A272: push ebx */ 14616 edx = ebp + (-0x38); /* 0x2B07A273: lea edx, [ebp - 0x38] */ 14617 PUSH32(esp, edx); /* 0x2B07A276: push edx */ 14618 ecx = edi + 0x18; /* 0x2B07A277: lea ecx, [edi + 0x18] */ 14619 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A27A: call dword ptr [0x2b0b5158] */ 14620 RECOMP_FLAGS_IN(); 14621 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A280: mov ecx, dword ptr [ebp - 0x28] */ 14622 eax = edi + 0x28; /* 0x2B07A283: lea eax, [edi + 0x28] */ 14623 MEM32(eax) = ecx; /* 0x2B07A286: mov dword ptr [eax], ecx */ 14624 edx = MEM32(ebp + (-0x24)); /* 0x2B07A288: mov edx, dword ptr [ebp - 0x24] */ 14625 MEM32(eax + 0x4) = edx; /* 0x2B07A28B: mov dword ptr [eax + 4], edx */ 14626 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A28E: mov ecx, dword ptr [ebp - 0x20] */ 14627 MEM32(eax + 0x8) = ecx; /* 0x2B07A291: mov dword ptr [eax + 8], ecx */ 14628 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A294: mov edx, dword ptr [ebp - 0x1c] */ 14629 MEM32(eax + 0xC) = edx; /* 0x2B07A297: mov dword ptr [eax + 0xc], edx */ 14630 eax = MEM32(ebp + (-0x18)); /* 0x2B07A29A: mov eax, dword ptr [ebp - 0x18] */ 14631 PUSH32(esp, 1); /* 0x2B07A29D: push 1 */ 14632 ecx = ebp + (-0x38); /* 0x2B07A29F: lea ecx, [ebp - 0x38] */ 14633 MEM32(edi + 0x38) = eax; /* 0x2B07A2A2: mov dword ptr [edi + 0x38], eax */ 14634 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A2A5: mov byte ptr [ebp - 4], 1 */ 14635 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A2A9: call dword ptr [0x2b0b514c] */ 14636 RECOMP_FLAGS_IN(); 14637 ecx = ebp + (-0xD); /* 0x2B07A2AF: lea ecx, [ebp - 0xd] */ 14638 PUSH32(esp, ecx); /* 0x2B07A2B2: push ecx */ 14639 ecx = ebp + (-0x38); /* 0x2B07A2B3: lea ecx, [ebp - 0x38] */ 14640 MEM32(ebp + (-0x14)) = 0x24Eu; /* 0x2B07A2B6: mov dword ptr [ebp - 0x14], 0x24e */ 14641 MEM32(ebp + (-0x40)) = 0xA754u; /* 0x2B07A2BD: mov dword ptr [ebp - 0x40], 0xa754 */ 14642 MEM32(ebp + (-0x3C)) = 0x8CD5u; /* 0x2B07A2C4: mov dword ptr [ebp - 0x3c], 0x8cd5 */ 14643 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A2CB: call dword ptr [0x2b0b5190] */ 14644 RECOMP_FLAGS_IN(); 14645 ecx = ebp + (-0x28); /* 0x2B07A2D1: lea ecx, [ebp - 0x28] */ 14646 MEM8(ebp + (-0x4)) = (uint8_t)(0x32u); /* 0x2B07A2D4: mov byte ptr [ebp - 4], 0x32 */ 14647 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A2D8: call 0x2b07f070 */ /* not lifted */ 14648 RECOMP_FLAGS_IN(); 14649 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14650 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A2DD: or ecx, 0xffffffff */ 14651 _cf = 0; 14652 _flag_k = FK_TEST; 14653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14654 eax = 0; /* 0x2B07A2E0: xor eax, eax */ 14655 _cf = 0; 14656 _flag_k = FK_TEST; 14657 edi = 0x2B0EC760u; /* 0x2B07A2E2: mov edi, 0x2b0ec760 */ 14658 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; } /* 0x2B07A2E7: repne scasb al, byte ptr es:[edi] */ 14659 ecx = ~ecx; /* 0x2B07A2E9: not ecx */ 14660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14661 ecx = ecx - 1; /* 0x2B07A2EB: dec ecx */ 14662 _flag_k = FK_DEC; 14663 PUSH32(esp, ecx); /* 0x2B07A2EC: push ecx */ 14664 PUSH32(esp, 0x2B0EC760u); /* 0x2B07A2ED: push 0x2b0ec760 */ 14665 ecx = ebp + (-0x38); /* 0x2B07A2F2: lea ecx, [ebp - 0x38] */ 14666 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A2F5: mov dword ptr [ebp - 0x18], ebx */ 14667 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A2F8: call dword ptr [0x2b0b5148] */ 14668 RECOMP_FLAGS_IN(); 14669 ecx = ebp + (-0x74); /* 0x2B07A2FE: lea ecx, [ebp - 0x74] */ 14670 MEM8(ebp + (-0x4)) = (uint8_t)(0x33u); /* 0x2B07A301: mov byte ptr [ebp - 4], 0x33 */ 14671 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A305: call 0x2b07c070 */ /* not lifted */ 14672 RECOMP_FLAGS_IN(); 14673 MEM8(ebp + (-0x4)) = (uint8_t)(0x34u); /* 0x2B07A30A: mov byte ptr [ebp - 4], 0x34 */ 14674 PUSH32(esp, eax); /* 0x2B07A30E: push eax */ 14675 edx = ebp + (-0x14); /* 0x2B07A30F: lea edx, [ebp - 0x14] */ 14676 PUSH32(esp, edx); /* 0x2B07A312: push edx */ 14677 ecx = ebp + (-0xB0); /* 0x2B07A313: lea ecx, [ebp - 0xb0] */ 14678 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A319: call 0x2b07f720 */ /* not lifted */ 14679 RECOMP_FLAGS_IN(); 14680 PUSH32(esp, eax); /* 0x2B07A31E: push eax */ 14681 eax = ebp + (-0x48); /* 0x2B07A31F: lea eax, [ebp - 0x48] */ 14682 PUSH32(esp, eax); /* 0x2B07A322: push eax */ 14683 ecx = 0x2B0EF058u; /* 0x2B07A323: mov ecx, 0x2b0ef058 */ 14684 MEM8(ebp + (-0x4)) = (uint8_t)(0x35u); /* 0x2B07A328: mov byte ptr [ebp - 4], 0x35 */ 14685 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A32C: call 0x2b07f640 */ /* not lifted */ 14686 RECOMP_FLAGS_IN(); 14687 edi = MEM32(eax); /* 0x2B07A331: mov edi, dword ptr [eax] */ 14688 PUSH32(esp, 1); /* 0x2B07A333: push 1 */ 14689 ecx = ebp + (-0xA4); /* 0x2B07A335: lea ecx, [ebp - 0xa4] */ 14690 MEM8(ebp + (-0x4)) = (uint8_t)(0x34u); /* 0x2B07A33B: mov byte ptr [ebp - 4], 0x34 */ 14691 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A33F: call dword ptr [0x2b0b514c] */ 14692 RECOMP_FLAGS_IN(); 14693 PUSH32(esp, 1); /* 0x2B07A345: push 1 */ 14694 ecx = ebp + (-0x6C); /* 0x2B07A347: lea ecx, [ebp - 0x6c] */ 14695 MEM8(ebp + (-0x4)) = (uint8_t)(0x33u); /* 0x2B07A34A: mov byte ptr [ebp - 4], 0x33 */ 14696 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A34E: call dword ptr [0x2b0b514c] */ 14697 RECOMP_FLAGS_IN(); 14698 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A354: mov ecx, dword ptr [ebp - 0x40] */ 14699 MEM32(edi + 0x10) = ecx; /* 0x2B07A357: mov dword ptr [edi + 0x10], ecx */ 14700 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A35A: mov edx, dword ptr [ebp - 0x3c] */ 14701 MEM32(edi + 0x14) = edx; /* 0x2B07A35D: mov dword ptr [edi + 0x14], edx */ 14702 eax = MEM32(0x2B0B515C); /* 0x2B07A360: mov eax, dword ptr [0x2b0b515c] */ 14703 ecx = MEM32(eax); /* 0x2B07A365: mov ecx, dword ptr [eax] */ 14704 PUSH32(esp, ecx); /* 0x2B07A367: push ecx */ 14705 PUSH32(esp, ebx); /* 0x2B07A368: push ebx */ 14706 edx = ebp + (-0x38); /* 0x2B07A369: lea edx, [ebp - 0x38] */ 14707 PUSH32(esp, edx); /* 0x2B07A36C: push edx */ 14708 ecx = edi + 0x18; /* 0x2B07A36D: lea ecx, [edi + 0x18] */ 14709 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A370: call dword ptr [0x2b0b5158] */ 14710 RECOMP_FLAGS_IN(); 14711 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A376: mov ecx, dword ptr [ebp - 0x28] */ 14712 eax = edi + 0x28; /* 0x2B07A379: lea eax, [edi + 0x28] */ 14713 MEM32(eax) = ecx; /* 0x2B07A37C: mov dword ptr [eax], ecx */ 14714 edx = MEM32(ebp + (-0x24)); /* 0x2B07A37E: mov edx, dword ptr [ebp - 0x24] */ 14715 MEM32(eax + 0x4) = edx; /* 0x2B07A381: mov dword ptr [eax + 4], edx */ 14716 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A384: mov ecx, dword ptr [ebp - 0x20] */ 14717 MEM32(eax + 0x8) = ecx; /* 0x2B07A387: mov dword ptr [eax + 8], ecx */ 14718 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A38A: mov edx, dword ptr [ebp - 0x1c] */ 14719 MEM32(eax + 0xC) = edx; /* 0x2B07A38D: mov dword ptr [eax + 0xc], edx */ 14720 eax = MEM32(ebp + (-0x18)); /* 0x2B07A390: mov eax, dword ptr [ebp - 0x18] */ 14721 PUSH32(esp, 1); /* 0x2B07A393: push 1 */ 14722 ecx = ebp + (-0x38); /* 0x2B07A395: lea ecx, [ebp - 0x38] */ 14723 MEM32(edi + 0x38) = eax; /* 0x2B07A398: mov dword ptr [edi + 0x38], eax */ 14724 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A39B: mov byte ptr [ebp - 4], 1 */ 14725 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A39F: call dword ptr [0x2b0b514c] */ 14726 RECOMP_FLAGS_IN(); 14727 ecx = ebp + (-0xD); /* 0x2B07A3A5: lea ecx, [ebp - 0xd] */ 14728 PUSH32(esp, ecx); /* 0x2B07A3A8: push ecx */ 14729 ecx = ebp + (-0x38); /* 0x2B07A3A9: lea ecx, [ebp - 0x38] */ 14730 MEM32(ebp + (-0x14)) = 0x253u; /* 0x2B07A3AC: mov dword ptr [ebp - 0x14], 0x253 */ 14731 MEM32(ebp + (-0x40)) = 0xB48Bu; /* 0x2B07A3B3: mov dword ptr [ebp - 0x40], 0xb48b */ 14732 MEM32(ebp + (-0x3C)) = 0x8964u; /* 0x2B07A3BA: mov dword ptr [ebp - 0x3c], 0x8964 */ 14733 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A3C1: call dword ptr [0x2b0b5190] */ 14734 RECOMP_FLAGS_IN(); 14735 ecx = ebp + (-0x28); /* 0x2B07A3C7: lea ecx, [ebp - 0x28] */ 14736 MEM8(ebp + (-0x4)) = (uint8_t)(0x36u); /* 0x2B07A3CA: mov byte ptr [ebp - 4], 0x36 */ 14737 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A3CE: call 0x2b07f070 */ /* not lifted */ 14738 RECOMP_FLAGS_IN(); 14739 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14740 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A3D3: or ecx, 0xffffffff */ 14741 _cf = 0; 14742 _flag_k = FK_TEST; 14743 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14744 eax = 0; /* 0x2B07A3D6: xor eax, eax */ 14745 _cf = 0; 14746 _flag_k = FK_TEST; 14747 edi = 0x2B0EC74Cu; /* 0x2B07A3D8: mov edi, 0x2b0ec74c */ 14748 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; } /* 0x2B07A3DD: repne scasb al, byte ptr es:[edi] */ 14749 ecx = ~ecx; /* 0x2B07A3DF: not ecx */ 14750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14751 ecx = ecx - 1; /* 0x2B07A3E1: dec ecx */ 14752 _flag_k = FK_DEC; 14753 PUSH32(esp, ecx); /* 0x2B07A3E2: push ecx */ 14754 PUSH32(esp, 0x2B0EC74Cu); /* 0x2B07A3E3: push 0x2b0ec74c */ 14755 ecx = ebp + (-0x38); /* 0x2B07A3E8: lea ecx, [ebp - 0x38] */ 14756 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A3EB: mov dword ptr [ebp - 0x18], ebx */ 14757 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A3EE: call dword ptr [0x2b0b5148] */ 14758 RECOMP_FLAGS_IN(); 14759 ecx = ebp + (-0x74); /* 0x2B07A3F4: lea ecx, [ebp - 0x74] */ 14760 MEM8(ebp + (-0x4)) = (uint8_t)(0x37u); /* 0x2B07A3F7: mov byte ptr [ebp - 4], 0x37 */ 14761 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A3FB: call 0x2b07c070 */ /* not lifted */ 14762 RECOMP_FLAGS_IN(); 14763 PUSH32(esp, eax); /* 0x2B07A400: push eax */ 14764 edx = ebp + (-0x14); /* 0x2B07A401: lea edx, [ebp - 0x14] */ 14765 PUSH32(esp, edx); /* 0x2B07A404: push edx */ 14766 ecx = ebp + (-0xB0); /* 0x2B07A405: lea ecx, [ebp - 0xb0] */ 14767 MEM8(ebp + (-0x4)) = (uint8_t)(0x38u); /* 0x2B07A40B: mov byte ptr [ebp - 4], 0x38 */ 14768 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A40F: call 0x2b07f720 */ /* not lifted */ 14769 RECOMP_FLAGS_IN(); 14770 MEM8(ebp + (-0x4)) = (uint8_t)(0x39u); /* 0x2B07A414: mov byte ptr [ebp - 4], 0x39 */ 14771 PUSH32(esp, eax); /* 0x2B07A418: push eax */ 14772 eax = ebp + (-0x48); /* 0x2B07A419: lea eax, [ebp - 0x48] */ 14773 PUSH32(esp, eax); /* 0x2B07A41C: push eax */ 14774 ecx = 0x2B0EF058u; /* 0x2B07A41D: mov ecx, 0x2b0ef058 */ 14775 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A422: call 0x2b07f640 */ /* not lifted */ 14776 RECOMP_FLAGS_IN(); 14777 edi = MEM32(eax); /* 0x2B07A427: mov edi, dword ptr [eax] */ 14778 PUSH32(esp, 1); /* 0x2B07A429: push 1 */ 14779 ecx = ebp + (-0xA4); /* 0x2B07A42B: lea ecx, [ebp - 0xa4] */ 14780 MEM8(ebp + (-0x4)) = (uint8_t)(0x38u); /* 0x2B07A431: mov byte ptr [ebp - 4], 0x38 */ 14781 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A435: call dword ptr [0x2b0b514c] */ 14782 RECOMP_FLAGS_IN(); 14783 PUSH32(esp, 1); /* 0x2B07A43B: push 1 */ 14784 ecx = ebp + (-0x6C); /* 0x2B07A43D: lea ecx, [ebp - 0x6c] */ 14785 MEM8(ebp + (-0x4)) = (uint8_t)(0x37u); /* 0x2B07A440: mov byte ptr [ebp - 4], 0x37 */ 14786 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A444: call dword ptr [0x2b0b514c] */ 14787 RECOMP_FLAGS_IN(); 14788 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A44A: mov ecx, dword ptr [ebp - 0x40] */ 14789 MEM32(edi + 0x10) = ecx; /* 0x2B07A44D: mov dword ptr [edi + 0x10], ecx */ 14790 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A450: mov edx, dword ptr [ebp - 0x3c] */ 14791 MEM32(edi + 0x14) = edx; /* 0x2B07A453: mov dword ptr [edi + 0x14], edx */ 14792 eax = MEM32(0x2B0B515C); /* 0x2B07A456: mov eax, dword ptr [0x2b0b515c] */ 14793 ecx = MEM32(eax); /* 0x2B07A45B: mov ecx, dword ptr [eax] */ 14794 PUSH32(esp, ecx); /* 0x2B07A45D: push ecx */ 14795 PUSH32(esp, ebx); /* 0x2B07A45E: push ebx */ 14796 edx = ebp + (-0x38); /* 0x2B07A45F: lea edx, [ebp - 0x38] */ 14797 PUSH32(esp, edx); /* 0x2B07A462: push edx */ 14798 ecx = edi + 0x18; /* 0x2B07A463: lea ecx, [edi + 0x18] */ 14799 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A466: call dword ptr [0x2b0b5158] */ 14800 RECOMP_FLAGS_IN(); 14801 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A46C: mov ecx, dword ptr [ebp - 0x28] */ 14802 eax = edi + 0x28; /* 0x2B07A46F: lea eax, [edi + 0x28] */ 14803 MEM32(eax) = ecx; /* 0x2B07A472: mov dword ptr [eax], ecx */ 14804 edx = MEM32(ebp + (-0x24)); /* 0x2B07A474: mov edx, dword ptr [ebp - 0x24] */ 14805 MEM32(eax + 0x4) = edx; /* 0x2B07A477: mov dword ptr [eax + 4], edx */ 14806 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A47A: mov ecx, dword ptr [ebp - 0x20] */ 14807 MEM32(eax + 0x8) = ecx; /* 0x2B07A47D: mov dword ptr [eax + 8], ecx */ 14808 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A480: mov edx, dword ptr [ebp - 0x1c] */ 14809 MEM32(eax + 0xC) = edx; /* 0x2B07A483: mov dword ptr [eax + 0xc], edx */ 14810 eax = MEM32(ebp + (-0x18)); /* 0x2B07A486: mov eax, dword ptr [ebp - 0x18] */ 14811 PUSH32(esp, 1); /* 0x2B07A489: push 1 */ 14812 ecx = ebp + (-0x38); /* 0x2B07A48B: lea ecx, [ebp - 0x38] */ 14813 MEM32(edi + 0x38) = eax; /* 0x2B07A48E: mov dword ptr [edi + 0x38], eax */ 14814 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A491: mov byte ptr [ebp - 4], 1 */ 14815 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A495: call dword ptr [0x2b0b514c] */ 14816 RECOMP_FLAGS_IN(); 14817 ecx = ebp + (-0xD); /* 0x2B07A49B: lea ecx, [ebp - 0xd] */ 14818 PUSH32(esp, ecx); /* 0x2B07A49E: push ecx */ 14819 ecx = ebp + (-0x38); /* 0x2B07A49F: lea ecx, [ebp - 0x38] */ 14820 MEM32(ebp + (-0x14)) = 0x258u; /* 0x2B07A4A2: mov dword ptr [ebp - 0x14], 0x258 */ 14821 MEM32(ebp + (-0x40)) = 0xA3F7u; /* 0x2B07A4A9: mov dword ptr [ebp - 0x40], 0xa3f7 */ 14822 MEM32(ebp + (-0x3C)) = 0x98ECu; /* 0x2B07A4B0: mov dword ptr [ebp - 0x3c], 0x98ec */ 14823 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A4B7: call dword ptr [0x2b0b5190] */ 14824 RECOMP_FLAGS_IN(); 14825 ecx = ebp + (-0x28); /* 0x2B07A4BD: lea ecx, [ebp - 0x28] */ 14826 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Au); /* 0x2B07A4C0: mov byte ptr [ebp - 4], 0x3a */ 14827 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A4C4: call 0x2b07f070 */ /* not lifted */ 14828 RECOMP_FLAGS_IN(); 14829 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14830 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A4C9: or ecx, 0xffffffff */ 14831 _cf = 0; 14832 _flag_k = FK_TEST; 14833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14834 eax = 0; /* 0x2B07A4CC: xor eax, eax */ 14835 _cf = 0; 14836 _flag_k = FK_TEST; 14837 edi = 0x2B0EC73Cu; /* 0x2B07A4CE: mov edi, 0x2b0ec73c */ 14838 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; } /* 0x2B07A4D3: repne scasb al, byte ptr es:[edi] */ 14839 ecx = ~ecx; /* 0x2B07A4D5: not ecx */ 14840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14841 ecx = ecx - 1; /* 0x2B07A4D7: dec ecx */ 14842 _flag_k = FK_DEC; 14843 PUSH32(esp, ecx); /* 0x2B07A4D8: push ecx */ 14844 PUSH32(esp, 0x2B0EC73Cu); /* 0x2B07A4D9: push 0x2b0ec73c */ 14845 ecx = ebp + (-0x38); /* 0x2B07A4DE: lea ecx, [ebp - 0x38] */ 14846 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A4E1: mov dword ptr [ebp - 0x18], ebx */ 14847 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A4E4: call dword ptr [0x2b0b5148] */ 14848 RECOMP_FLAGS_IN(); 14849 ecx = ebp + (-0x74); /* 0x2B07A4EA: lea ecx, [ebp - 0x74] */ 14850 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Bu); /* 0x2B07A4ED: mov byte ptr [ebp - 4], 0x3b */ 14851 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A4F1: call 0x2b07c070 */ /* not lifted */ 14852 RECOMP_FLAGS_IN(); 14853 PUSH32(esp, eax); /* 0x2B07A4F6: push eax */ 14854 edx = ebp + (-0x14); /* 0x2B07A4F7: lea edx, [ebp - 0x14] */ 14855 PUSH32(esp, edx); /* 0x2B07A4FA: push edx */ 14856 ecx = ebp + (-0xB0); /* 0x2B07A4FB: lea ecx, [ebp - 0xb0] */ 14857 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Cu); /* 0x2B07A501: mov byte ptr [ebp - 4], 0x3c */ 14858 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A505: call 0x2b07f720 */ /* not lifted */ 14859 RECOMP_FLAGS_IN(); 14860 PUSH32(esp, eax); /* 0x2B07A50A: push eax */ 14861 eax = ebp + (-0x48); /* 0x2B07A50B: lea eax, [ebp - 0x48] */ 14862 PUSH32(esp, eax); /* 0x2B07A50E: push eax */ 14863 ecx = 0x2B0EF058u; /* 0x2B07A50F: mov ecx, 0x2b0ef058 */ 14864 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Du); /* 0x2B07A514: mov byte ptr [ebp - 4], 0x3d */ 14865 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A518: call 0x2b07f640 */ /* not lifted */ 14866 RECOMP_FLAGS_IN(); 14867 edi = MEM32(eax); /* 0x2B07A51D: mov edi, dword ptr [eax] */ 14868 PUSH32(esp, 1); /* 0x2B07A51F: push 1 */ 14869 ecx = ebp + (-0xA4); /* 0x2B07A521: lea ecx, [ebp - 0xa4] */ 14870 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Cu); /* 0x2B07A527: mov byte ptr [ebp - 4], 0x3c */ 14871 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A52B: call dword ptr [0x2b0b514c] */ 14872 RECOMP_FLAGS_IN(); 14873 PUSH32(esp, 1); /* 0x2B07A531: push 1 */ 14874 ecx = ebp + (-0x6C); /* 0x2B07A533: lea ecx, [ebp - 0x6c] */ 14875 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Bu); /* 0x2B07A536: mov byte ptr [ebp - 4], 0x3b */ 14876 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A53A: call dword ptr [0x2b0b514c] */ 14877 RECOMP_FLAGS_IN(); 14878 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A540: mov ecx, dword ptr [ebp - 0x40] */ 14879 MEM32(edi + 0x10) = ecx; /* 0x2B07A543: mov dword ptr [edi + 0x10], ecx */ 14880 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A546: mov edx, dword ptr [ebp - 0x3c] */ 14881 MEM32(edi + 0x14) = edx; /* 0x2B07A549: mov dword ptr [edi + 0x14], edx */ 14882 eax = MEM32(0x2B0B515C); /* 0x2B07A54C: mov eax, dword ptr [0x2b0b515c] */ 14883 ecx = MEM32(eax); /* 0x2B07A551: mov ecx, dword ptr [eax] */ 14884 PUSH32(esp, ecx); /* 0x2B07A553: push ecx */ 14885 PUSH32(esp, ebx); /* 0x2B07A554: push ebx */ 14886 edx = ebp + (-0x38); /* 0x2B07A555: lea edx, [ebp - 0x38] */ 14887 PUSH32(esp, edx); /* 0x2B07A558: push edx */ 14888 ecx = edi + 0x18; /* 0x2B07A559: lea ecx, [edi + 0x18] */ 14889 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A55C: call dword ptr [0x2b0b5158] */ 14890 RECOMP_FLAGS_IN(); 14891 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A562: mov ecx, dword ptr [ebp - 0x28] */ 14892 eax = edi + 0x28; /* 0x2B07A565: lea eax, [edi + 0x28] */ 14893 MEM32(eax) = ecx; /* 0x2B07A568: mov dword ptr [eax], ecx */ 14894 edx = MEM32(ebp + (-0x24)); /* 0x2B07A56A: mov edx, dword ptr [ebp - 0x24] */ 14895 MEM32(eax + 0x4) = edx; /* 0x2B07A56D: mov dword ptr [eax + 4], edx */ 14896 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A570: mov ecx, dword ptr [ebp - 0x20] */ 14897 MEM32(eax + 0x8) = ecx; /* 0x2B07A573: mov dword ptr [eax + 8], ecx */ 14898 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A576: mov edx, dword ptr [ebp - 0x1c] */ 14899 MEM32(eax + 0xC) = edx; /* 0x2B07A579: mov dword ptr [eax + 0xc], edx */ 14900 eax = MEM32(ebp + (-0x18)); /* 0x2B07A57C: mov eax, dword ptr [ebp - 0x18] */ 14901 PUSH32(esp, 1); /* 0x2B07A57F: push 1 */ 14902 ecx = ebp + (-0x38); /* 0x2B07A581: lea ecx, [ebp - 0x38] */ 14903 MEM32(edi + 0x38) = eax; /* 0x2B07A584: mov dword ptr [edi + 0x38], eax */ 14904 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A587: mov byte ptr [ebp - 4], 1 */ 14905 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A58B: call dword ptr [0x2b0b514c] */ 14906 RECOMP_FLAGS_IN(); 14907 ecx = ebp + (-0xD); /* 0x2B07A591: lea ecx, [ebp - 0xd] */ 14908 PUSH32(esp, ecx); /* 0x2B07A594: push ecx */ 14909 ecx = ebp + (-0x38); /* 0x2B07A595: lea ecx, [ebp - 0x38] */ 14910 MEM32(ebp + (-0x14)) = 0x25Du; /* 0x2B07A598: mov dword ptr [ebp - 0x14], 0x25d */ 14911 MEM32(ebp + (-0x40)) = 0xB4A8u; /* 0x2B07A59F: mov dword ptr [ebp - 0x40], 0xb4a8 */ 14912 MEM32(ebp + (-0x3C)) = 0x7DA5u; /* 0x2B07A5A6: mov dword ptr [ebp - 0x3c], 0x7da5 */ 14913 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A5AD: call dword ptr [0x2b0b5190] */ 14914 RECOMP_FLAGS_IN(); 14915 ecx = ebp + (-0x28); /* 0x2B07A5B3: lea ecx, [ebp - 0x28] */ 14916 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Eu); /* 0x2B07A5B6: mov byte ptr [ebp - 4], 0x3e */ 14917 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A5BA: call 0x2b07f070 */ /* not lifted */ 14918 RECOMP_FLAGS_IN(); 14919 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14920 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A5BF: or ecx, 0xffffffff */ 14921 _cf = 0; 14922 _flag_k = FK_TEST; 14923 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14924 eax = 0; /* 0x2B07A5C2: xor eax, eax */ 14925 _cf = 0; 14926 _flag_k = FK_TEST; 14927 edi = 0x2B0EC72Cu; /* 0x2B07A5C4: mov edi, 0x2b0ec72c */ 14928 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; } /* 0x2B07A5C9: repne scasb al, byte ptr es:[edi] */ 14929 ecx = ~ecx; /* 0x2B07A5CB: not ecx */ 14930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14931 ecx = ecx - 1; /* 0x2B07A5CD: dec ecx */ 14932 _flag_k = FK_DEC; 14933 PUSH32(esp, ecx); /* 0x2B07A5CE: push ecx */ 14934 PUSH32(esp, 0x2B0EC72Cu); /* 0x2B07A5CF: push 0x2b0ec72c */ 14935 ecx = ebp + (-0x38); /* 0x2B07A5D4: lea ecx, [ebp - 0x38] */ 14936 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A5D7: mov dword ptr [ebp - 0x18], ebx */ 14937 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A5DA: call dword ptr [0x2b0b5148] */ 14938 RECOMP_FLAGS_IN(); 14939 ecx = ebp + (-0x74); /* 0x2B07A5E0: lea ecx, [ebp - 0x74] */ 14940 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Fu); /* 0x2B07A5E3: mov byte ptr [ebp - 4], 0x3f */ 14941 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A5E7: call 0x2b07c070 */ /* not lifted */ 14942 RECOMP_FLAGS_IN(); 14943 PUSH32(esp, eax); /* 0x2B07A5EC: push eax */ 14944 edx = ebp + (-0x14); /* 0x2B07A5ED: lea edx, [ebp - 0x14] */ 14945 PUSH32(esp, edx); /* 0x2B07A5F0: push edx */ 14946 ecx = ebp + (-0xB0); /* 0x2B07A5F1: lea ecx, [ebp - 0xb0] */ 14947 MEM8(ebp + (-0x4)) = (uint8_t)(0x40u); /* 0x2B07A5F7: mov byte ptr [ebp - 4], 0x40 */ 14948 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A5FB: call 0x2b07f720 */ /* not lifted */ 14949 RECOMP_FLAGS_IN(); 14950 PUSH32(esp, eax); /* 0x2B07A600: push eax */ 14951 eax = ebp + (-0x48); /* 0x2B07A601: lea eax, [ebp - 0x48] */ 14952 PUSH32(esp, eax); /* 0x2B07A604: push eax */ 14953 ecx = 0x2B0EF058u; /* 0x2B07A605: mov ecx, 0x2b0ef058 */ 14954 MEM8(ebp + (-0x4)) = (uint8_t)(0x41u); /* 0x2B07A60A: mov byte ptr [ebp - 4], 0x41 */ 14955 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A60E: call 0x2b07f640 */ /* not lifted */ 14956 RECOMP_FLAGS_IN(); 14957 edi = MEM32(eax); /* 0x2B07A613: mov edi, dword ptr [eax] */ 14958 PUSH32(esp, 1); /* 0x2B07A615: push 1 */ 14959 ecx = ebp + (-0xA4); /* 0x2B07A617: lea ecx, [ebp - 0xa4] */ 14960 MEM8(ebp + (-0x4)) = (uint8_t)(0x40u); /* 0x2B07A61D: mov byte ptr [ebp - 4], 0x40 */ 14961 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A621: call dword ptr [0x2b0b514c] */ 14962 RECOMP_FLAGS_IN(); 14963 PUSH32(esp, 1); /* 0x2B07A627: push 1 */ 14964 ecx = ebp + (-0x6C); /* 0x2B07A629: lea ecx, [ebp - 0x6c] */ 14965 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Fu); /* 0x2B07A62C: mov byte ptr [ebp - 4], 0x3f */ 14966 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A630: call dword ptr [0x2b0b514c] */ 14967 RECOMP_FLAGS_IN(); 14968 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A636: mov ecx, dword ptr [ebp - 0x40] */ 14969 MEM32(edi + 0x10) = ecx; /* 0x2B07A639: mov dword ptr [edi + 0x10], ecx */ 14970 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A63C: mov edx, dword ptr [ebp - 0x3c] */ 14971 MEM32(edi + 0x14) = edx; /* 0x2B07A63F: mov dword ptr [edi + 0x14], edx */ 14972 eax = MEM32(0x2B0B515C); /* 0x2B07A642: mov eax, dword ptr [0x2b0b515c] */ 14973 ecx = MEM32(eax); /* 0x2B07A647: mov ecx, dword ptr [eax] */ 14974 PUSH32(esp, ecx); /* 0x2B07A649: push ecx */ 14975 PUSH32(esp, ebx); /* 0x2B07A64A: push ebx */ 14976 edx = ebp + (-0x38); /* 0x2B07A64B: lea edx, [ebp - 0x38] */ 14977 PUSH32(esp, edx); /* 0x2B07A64E: push edx */ 14978 ecx = edi + 0x18; /* 0x2B07A64F: lea ecx, [edi + 0x18] */ 14979 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A652: call dword ptr [0x2b0b5158] */ 14980 RECOMP_FLAGS_IN(); 14981 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A658: mov ecx, dword ptr [ebp - 0x28] */ 14982 eax = edi + 0x28; /* 0x2B07A65B: lea eax, [edi + 0x28] */ 14983 MEM32(eax) = ecx; /* 0x2B07A65E: mov dword ptr [eax], ecx */ 14984 edx = MEM32(ebp + (-0x24)); /* 0x2B07A660: mov edx, dword ptr [ebp - 0x24] */ 14985 MEM32(eax + 0x4) = edx; /* 0x2B07A663: mov dword ptr [eax + 4], edx */ 14986 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A666: mov ecx, dword ptr [ebp - 0x20] */ 14987 MEM32(eax + 0x8) = ecx; /* 0x2B07A669: mov dword ptr [eax + 8], ecx */ 14988 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A66C: mov edx, dword ptr [ebp - 0x1c] */ 14989 MEM32(eax + 0xC) = edx; /* 0x2B07A66F: mov dword ptr [eax + 0xc], edx */ 14990 eax = MEM32(ebp + (-0x18)); /* 0x2B07A672: mov eax, dword ptr [ebp - 0x18] */ 14991 PUSH32(esp, 1); /* 0x2B07A675: push 1 */ 14992 ecx = ebp + (-0x38); /* 0x2B07A677: lea ecx, [ebp - 0x38] */ 14993 MEM32(edi + 0x38) = eax; /* 0x2B07A67A: mov dword ptr [edi + 0x38], eax */ 14994 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A67D: mov byte ptr [ebp - 4], 1 */ 14995 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A681: call dword ptr [0x2b0b514c] */ 14996 RECOMP_FLAGS_IN(); 14997 ecx = ebp + (-0xD); /* 0x2B07A687: lea ecx, [ebp - 0xd] */ 14998 PUSH32(esp, ecx); /* 0x2B07A68A: push ecx */ 14999 ecx = ebp + (-0x38); /* 0x2B07A68B: lea ecx, [ebp - 0x38] */ 15000 MEM32(ebp + (-0x14)) = 0x262u; /* 0x2B07A68E: mov dword ptr [ebp - 0x14], 0x262 */ 15001 MEM32(ebp + (-0x40)) = 0xA757u; /* 0x2B07A695: mov dword ptr [ebp - 0x40], 0xa757 */ 15002 MEM32(ebp + (-0x3C)) = 0x8203u; /* 0x2B07A69C: mov dword ptr [ebp - 0x3c], 0x8203 */ 15003 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A6A3: call dword ptr [0x2b0b5190] */ 15004 RECOMP_FLAGS_IN(); 15005 ecx = ebp + (-0x28); /* 0x2B07A6A9: lea ecx, [ebp - 0x28] */ 15006 MEM8(ebp + (-0x4)) = (uint8_t)(0x42u); /* 0x2B07A6AC: mov byte ptr [ebp - 4], 0x42 */ 15007 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A6B0: call 0x2b07f070 */ /* not lifted */ 15008 RECOMP_FLAGS_IN(); 15009 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15010 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A6B5: or ecx, 0xffffffff */ 15011 _cf = 0; 15012 _flag_k = FK_TEST; 15013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15014 eax = 0; /* 0x2B07A6B8: xor eax, eax */ 15015 _cf = 0; 15016 _flag_k = FK_TEST; 15017 edi = 0x2B0EC714u; /* 0x2B07A6BA: mov edi, 0x2b0ec714 */ 15018 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; } /* 0x2B07A6BF: repne scasb al, byte ptr es:[edi] */ 15019 ecx = ~ecx; /* 0x2B07A6C1: not ecx */ 15020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15021 ecx = ecx - 1; /* 0x2B07A6C3: dec ecx */ 15022 _flag_k = FK_DEC; 15023 PUSH32(esp, ecx); /* 0x2B07A6C4: push ecx */ 15024 PUSH32(esp, 0x2B0EC714u); /* 0x2B07A6C5: push 0x2b0ec714 */ 15025 ecx = ebp + (-0x38); /* 0x2B07A6CA: lea ecx, [ebp - 0x38] */ 15026 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A6CD: mov dword ptr [ebp - 0x18], ebx */ 15027 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A6D0: call dword ptr [0x2b0b5148] */ 15028 RECOMP_FLAGS_IN(); 15029 ecx = ebp + (-0x74); /* 0x2B07A6D6: lea ecx, [ebp - 0x74] */ 15030 MEM8(ebp + (-0x4)) = (uint8_t)(0x43u); /* 0x2B07A6D9: mov byte ptr [ebp - 4], 0x43 */ 15031 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A6DD: call 0x2b07c070 */ /* not lifted */ 15032 RECOMP_FLAGS_IN(); 15033 PUSH32(esp, eax); /* 0x2B07A6E2: push eax */ 15034 edx = ebp + (-0x14); /* 0x2B07A6E3: lea edx, [ebp - 0x14] */ 15035 PUSH32(esp, edx); /* 0x2B07A6E6: push edx */ 15036 ecx = ebp + (-0xB0); /* 0x2B07A6E7: lea ecx, [ebp - 0xb0] */ 15037 MEM8(ebp + (-0x4)) = (uint8_t)(0x44u); /* 0x2B07A6ED: mov byte ptr [ebp - 4], 0x44 */ 15038 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A6F1: call 0x2b07f720 */ /* not lifted */ 15039 RECOMP_FLAGS_IN(); 15040 PUSH32(esp, eax); /* 0x2B07A6F6: push eax */ 15041 eax = ebp + (-0x48); /* 0x2B07A6F7: lea eax, [ebp - 0x48] */ 15042 PUSH32(esp, eax); /* 0x2B07A6FA: push eax */ 15043 ecx = 0x2B0EF058u; /* 0x2B07A6FB: mov ecx, 0x2b0ef058 */ 15044 MEM8(ebp + (-0x4)) = (uint8_t)(0x45u); /* 0x2B07A700: mov byte ptr [ebp - 4], 0x45 */ 15045 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A704: call 0x2b07f640 */ /* not lifted */ 15046 RECOMP_FLAGS_IN(); 15047 edi = MEM32(eax); /* 0x2B07A709: mov edi, dword ptr [eax] */ 15048 PUSH32(esp, 1); /* 0x2B07A70B: push 1 */ 15049 ecx = ebp + (-0xA4); /* 0x2B07A70D: lea ecx, [ebp - 0xa4] */ 15050 MEM8(ebp + (-0x4)) = (uint8_t)(0x44u); /* 0x2B07A713: mov byte ptr [ebp - 4], 0x44 */ 15051 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A717: call dword ptr [0x2b0b514c] */ 15052 RECOMP_FLAGS_IN(); 15053 PUSH32(esp, 1); /* 0x2B07A71D: push 1 */ 15054 ecx = ebp + (-0x6C); /* 0x2B07A71F: lea ecx, [ebp - 0x6c] */ 15055 MEM8(ebp + (-0x4)) = (uint8_t)(0x43u); /* 0x2B07A722: mov byte ptr [ebp - 4], 0x43 */ 15056 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A726: call dword ptr [0x2b0b514c] */ 15057 RECOMP_FLAGS_IN(); 15058 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A72C: mov ecx, dword ptr [ebp - 0x40] */ 15059 MEM32(edi + 0x10) = ecx; /* 0x2B07A72F: mov dword ptr [edi + 0x10], ecx */ 15060 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A732: mov edx, dword ptr [ebp - 0x3c] */ 15061 MEM32(edi + 0x14) = edx; /* 0x2B07A735: mov dword ptr [edi + 0x14], edx */ 15062 eax = MEM32(0x2B0B515C); /* 0x2B07A738: mov eax, dword ptr [0x2b0b515c] */ 15063 ecx = MEM32(eax); /* 0x2B07A73D: mov ecx, dword ptr [eax] */ 15064 PUSH32(esp, ecx); /* 0x2B07A73F: push ecx */ 15065 PUSH32(esp, ebx); /* 0x2B07A740: push ebx */ 15066 edx = ebp + (-0x38); /* 0x2B07A741: lea edx, [ebp - 0x38] */ 15067 PUSH32(esp, edx); /* 0x2B07A744: push edx */ 15068 ecx = edi + 0x18; /* 0x2B07A745: lea ecx, [edi + 0x18] */ 15069 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A748: call dword ptr [0x2b0b5158] */ 15070 RECOMP_FLAGS_IN(); 15071 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A74E: mov ecx, dword ptr [ebp - 0x28] */ 15072 eax = edi + 0x28; /* 0x2B07A751: lea eax, [edi + 0x28] */ 15073 MEM32(eax) = ecx; /* 0x2B07A754: mov dword ptr [eax], ecx */ 15074 edx = MEM32(ebp + (-0x24)); /* 0x2B07A756: mov edx, dword ptr [ebp - 0x24] */ 15075 MEM32(eax + 0x4) = edx; /* 0x2B07A759: mov dword ptr [eax + 4], edx */ 15076 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A75C: mov ecx, dword ptr [ebp - 0x20] */ 15077 MEM32(eax + 0x8) = ecx; /* 0x2B07A75F: mov dword ptr [eax + 8], ecx */ 15078 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A762: mov edx, dword ptr [ebp - 0x1c] */ 15079 MEM32(eax + 0xC) = edx; /* 0x2B07A765: mov dword ptr [eax + 0xc], edx */ 15080 eax = MEM32(ebp + (-0x18)); /* 0x2B07A768: mov eax, dword ptr [ebp - 0x18] */ 15081 PUSH32(esp, 1); /* 0x2B07A76B: push 1 */ 15082 ecx = ebp + (-0x38); /* 0x2B07A76D: lea ecx, [ebp - 0x38] */ 15083 MEM32(edi + 0x38) = eax; /* 0x2B07A770: mov dword ptr [edi + 0x38], eax */ 15084 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A773: mov byte ptr [ebp - 4], 1 */ 15085 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A777: call dword ptr [0x2b0b514c] */ 15086 RECOMP_FLAGS_IN(); 15087 ecx = ebp + (-0xD); /* 0x2B07A77D: lea ecx, [ebp - 0xd] */ 15088 PUSH32(esp, ecx); /* 0x2B07A780: push ecx */ 15089 ecx = ebp + (-0x38); /* 0x2B07A781: lea ecx, [ebp - 0x38] */ 15090 MEM32(ebp + (-0x14)) = 0x267u; /* 0x2B07A784: mov dword ptr [ebp - 0x14], 0x267 */ 15091 MEM32(ebp + (-0x40)) = 0xB658u; /* 0x2B07A78B: mov dword ptr [ebp - 0x40], 0xb658 */ 15092 MEM32(ebp + (-0x3C)) = 0x6099u; /* 0x2B07A792: mov dword ptr [ebp - 0x3c], 0x6099 */ 15093 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A799: call dword ptr [0x2b0b5190] */ 15094 RECOMP_FLAGS_IN(); 15095 ecx = ebp + (-0x28); /* 0x2B07A79F: lea ecx, [ebp - 0x28] */ 15096 MEM8(ebp + (-0x4)) = (uint8_t)(0x46u); /* 0x2B07A7A2: mov byte ptr [ebp - 4], 0x46 */ 15097 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A7A6: call 0x2b07f070 */ /* not lifted */ 15098 RECOMP_FLAGS_IN(); 15099 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15100 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A7AB: or ecx, 0xffffffff */ 15101 _cf = 0; 15102 _flag_k = FK_TEST; 15103 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15104 eax = 0; /* 0x2B07A7AE: xor eax, eax */ 15105 _cf = 0; 15106 _flag_k = FK_TEST; 15107 edi = 0x2B0EC6FCu; /* 0x2B07A7B0: mov edi, 0x2b0ec6fc */ 15108 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; } /* 0x2B07A7B5: repne scasb al, byte ptr es:[edi] */ 15109 ecx = ~ecx; /* 0x2B07A7B7: not ecx */ 15110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15111 ecx = ecx - 1; /* 0x2B07A7B9: dec ecx */ 15112 _flag_k = FK_DEC; 15113 PUSH32(esp, ecx); /* 0x2B07A7BA: push ecx */ 15114 PUSH32(esp, 0x2B0EC6FCu); /* 0x2B07A7BB: push 0x2b0ec6fc */ 15115 ecx = ebp + (-0x38); /* 0x2B07A7C0: lea ecx, [ebp - 0x38] */ 15116 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A7C3: mov dword ptr [ebp - 0x18], ebx */ 15117 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A7C6: call dword ptr [0x2b0b5148] */ 15118 RECOMP_FLAGS_IN(); 15119 ecx = ebp + (-0x74); /* 0x2B07A7CC: lea ecx, [ebp - 0x74] */ 15120 MEM8(ebp + (-0x4)) = (uint8_t)(0x47u); /* 0x2B07A7CF: mov byte ptr [ebp - 4], 0x47 */ 15121 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A7D3: call 0x2b07c070 */ /* not lifted */ 15122 RECOMP_FLAGS_IN(); 15123 PUSH32(esp, eax); /* 0x2B07A7D8: push eax */ 15124 edx = ebp + (-0x14); /* 0x2B07A7D9: lea edx, [ebp - 0x14] */ 15125 PUSH32(esp, edx); /* 0x2B07A7DC: push edx */ 15126 ecx = ebp + (-0xB0); /* 0x2B07A7DD: lea ecx, [ebp - 0xb0] */ 15127 MEM8(ebp + (-0x4)) = (uint8_t)(0x48u); /* 0x2B07A7E3: mov byte ptr [ebp - 4], 0x48 */ 15128 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A7E7: call 0x2b07f720 */ /* not lifted */ 15129 RECOMP_FLAGS_IN(); 15130 PUSH32(esp, eax); /* 0x2B07A7EC: push eax */ 15131 eax = ebp + (-0x48); /* 0x2B07A7ED: lea eax, [ebp - 0x48] */ 15132 PUSH32(esp, eax); /* 0x2B07A7F0: push eax */ 15133 ecx = 0x2B0EF058u; /* 0x2B07A7F1: mov ecx, 0x2b0ef058 */ 15134 MEM8(ebp + (-0x4)) = (uint8_t)(0x49u); /* 0x2B07A7F6: mov byte ptr [ebp - 4], 0x49 */ 15135 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A7FA: call 0x2b07f640 */ /* not lifted */ 15136 RECOMP_FLAGS_IN(); 15137 edi = MEM32(eax); /* 0x2B07A7FF: mov edi, dword ptr [eax] */ 15138 PUSH32(esp, 1); /* 0x2B07A801: push 1 */ 15139 ecx = ebp + (-0xA4); /* 0x2B07A803: lea ecx, [ebp - 0xa4] */ 15140 MEM8(ebp + (-0x4)) = (uint8_t)(0x48u); /* 0x2B07A809: mov byte ptr [ebp - 4], 0x48 */ 15141 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A80D: call dword ptr [0x2b0b514c] */ 15142 RECOMP_FLAGS_IN(); 15143 PUSH32(esp, 1); /* 0x2B07A813: push 1 */ 15144 ecx = ebp + (-0x6C); /* 0x2B07A815: lea ecx, [ebp - 0x6c] */ 15145 MEM8(ebp + (-0x4)) = (uint8_t)(0x47u); /* 0x2B07A818: mov byte ptr [ebp - 4], 0x47 */ 15146 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A81C: call dword ptr [0x2b0b514c] */ 15147 RECOMP_FLAGS_IN(); 15148 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A822: mov ecx, dword ptr [ebp - 0x40] */ 15149 MEM32(edi + 0x10) = ecx; /* 0x2B07A825: mov dword ptr [edi + 0x10], ecx */ 15150 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A828: mov edx, dword ptr [ebp - 0x3c] */ 15151 MEM32(edi + 0x14) = edx; /* 0x2B07A82B: mov dword ptr [edi + 0x14], edx */ 15152 eax = MEM32(0x2B0B515C); /* 0x2B07A82E: mov eax, dword ptr [0x2b0b515c] */ 15153 ecx = MEM32(eax); /* 0x2B07A833: mov ecx, dword ptr [eax] */ 15154 PUSH32(esp, ecx); /* 0x2B07A835: push ecx */ 15155 PUSH32(esp, ebx); /* 0x2B07A836: push ebx */ 15156 edx = ebp + (-0x38); /* 0x2B07A837: lea edx, [ebp - 0x38] */ 15157 PUSH32(esp, edx); /* 0x2B07A83A: push edx */ 15158 ecx = edi + 0x18; /* 0x2B07A83B: lea ecx, [edi + 0x18] */ 15159 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A83E: call dword ptr [0x2b0b5158] */ 15160 RECOMP_FLAGS_IN(); 15161 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A844: mov ecx, dword ptr [ebp - 0x28] */ 15162 eax = edi + 0x28; /* 0x2B07A847: lea eax, [edi + 0x28] */ 15163 MEM32(eax) = ecx; /* 0x2B07A84A: mov dword ptr [eax], ecx */ 15164 edx = MEM32(ebp + (-0x24)); /* 0x2B07A84C: mov edx, dword ptr [ebp - 0x24] */ 15165 MEM32(eax + 0x4) = edx; /* 0x2B07A84F: mov dword ptr [eax + 4], edx */ 15166 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A852: mov ecx, dword ptr [ebp - 0x20] */ 15167 MEM32(eax + 0x8) = ecx; /* 0x2B07A855: mov dword ptr [eax + 8], ecx */ 15168 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A858: mov edx, dword ptr [ebp - 0x1c] */ 15169 MEM32(eax + 0xC) = edx; /* 0x2B07A85B: mov dword ptr [eax + 0xc], edx */ 15170 eax = MEM32(ebp + (-0x18)); /* 0x2B07A85E: mov eax, dword ptr [ebp - 0x18] */ 15171 PUSH32(esp, 1); /* 0x2B07A861: push 1 */ 15172 ecx = ebp + (-0x38); /* 0x2B07A863: lea ecx, [ebp - 0x38] */ 15173 MEM32(edi + 0x38) = eax; /* 0x2B07A866: mov dword ptr [edi + 0x38], eax */ 15174 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A869: mov byte ptr [ebp - 4], 1 */ 15175 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A86D: call dword ptr [0x2b0b514c] */ 15176 RECOMP_FLAGS_IN(); 15177 ecx = ebp + (-0xD); /* 0x2B07A873: lea ecx, [ebp - 0xd] */ 15178 PUSH32(esp, ecx); /* 0x2B07A876: push ecx */ 15179 ecx = ebp + (-0x38); /* 0x2B07A877: lea ecx, [ebp - 0x38] */ 15180 MEM32(ebp + (-0x14)) = 0x26Cu; /* 0x2B07A87A: mov dword ptr [ebp - 0x14], 0x26c */ 15181 MEM32(ebp + (-0x40)) = 0xB661u; /* 0x2B07A881: mov dword ptr [ebp - 0x40], 0xb661 */ 15182 MEM32(ebp + (-0x3C)) = 0x6CF4u; /* 0x2B07A888: mov dword ptr [ebp - 0x3c], 0x6cf4 */ 15183 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A88F: call dword ptr [0x2b0b5190] */ 15184 RECOMP_FLAGS_IN(); 15185 ecx = ebp + (-0x28); /* 0x2B07A895: lea ecx, [ebp - 0x28] */ 15186 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Au); /* 0x2B07A898: mov byte ptr [ebp - 4], 0x4a */ 15187 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A89C: call 0x2b07f070 */ /* not lifted */ 15188 RECOMP_FLAGS_IN(); 15189 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15190 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A8A1: or ecx, 0xffffffff */ 15191 _cf = 0; 15192 _flag_k = FK_TEST; 15193 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15194 eax = 0; /* 0x2B07A8A4: xor eax, eax */ 15195 _cf = 0; 15196 _flag_k = FK_TEST; 15197 edi = 0x2B0EC6E8u; /* 0x2B07A8A6: mov edi, 0x2b0ec6e8 */ 15198 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; } /* 0x2B07A8AB: repne scasb al, byte ptr es:[edi] */ 15199 ecx = ~ecx; /* 0x2B07A8AD: not ecx */ 15200 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15201 ecx = ecx - 1; /* 0x2B07A8AF: dec ecx */ 15202 _flag_k = FK_DEC; 15203 PUSH32(esp, ecx); /* 0x2B07A8B0: push ecx */ 15204 PUSH32(esp, 0x2B0EC6E8u); /* 0x2B07A8B1: push 0x2b0ec6e8 */ 15205 ecx = ebp + (-0x38); /* 0x2B07A8B6: lea ecx, [ebp - 0x38] */ 15206 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A8B9: mov dword ptr [ebp - 0x18], ebx */ 15207 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A8BC: call dword ptr [0x2b0b5148] */ 15208 RECOMP_FLAGS_IN(); 15209 ecx = ebp + (-0x74); /* 0x2B07A8C2: lea ecx, [ebp - 0x74] */ 15210 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Bu); /* 0x2B07A8C5: mov byte ptr [ebp - 4], 0x4b */ 15211 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A8C9: call 0x2b07c070 */ /* not lifted */ 15212 RECOMP_FLAGS_IN(); 15213 PUSH32(esp, eax); /* 0x2B07A8CE: push eax */ 15214 edx = ebp + (-0x14); /* 0x2B07A8CF: lea edx, [ebp - 0x14] */ 15215 PUSH32(esp, edx); /* 0x2B07A8D2: push edx */ 15216 ecx = ebp + (-0xB0); /* 0x2B07A8D3: lea ecx, [ebp - 0xb0] */ 15217 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Cu); /* 0x2B07A8D9: mov byte ptr [ebp - 4], 0x4c */ 15218 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A8DD: call 0x2b07f720 */ /* not lifted */ 15219 RECOMP_FLAGS_IN(); 15220 PUSH32(esp, eax); /* 0x2B07A8E2: push eax */ 15221 eax = ebp + (-0x48); /* 0x2B07A8E3: lea eax, [ebp - 0x48] */ 15222 PUSH32(esp, eax); /* 0x2B07A8E6: push eax */ 15223 ecx = 0x2B0EF058u; /* 0x2B07A8E7: mov ecx, 0x2b0ef058 */ 15224 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Du); /* 0x2B07A8EC: mov byte ptr [ebp - 4], 0x4d */ 15225 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A8F0: call 0x2b07f640 */ /* not lifted */ 15226 RECOMP_FLAGS_IN(); 15227 edi = MEM32(eax); /* 0x2B07A8F5: mov edi, dword ptr [eax] */ 15228 PUSH32(esp, 1); /* 0x2B07A8F7: push 1 */ 15229 ecx = ebp + (-0xA4); /* 0x2B07A8F9: lea ecx, [ebp - 0xa4] */ 15230 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Cu); /* 0x2B07A8FF: mov byte ptr [ebp - 4], 0x4c */ 15231 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A903: call dword ptr [0x2b0b514c] */ 15232 RECOMP_FLAGS_IN(); 15233 PUSH32(esp, 1); /* 0x2B07A909: push 1 */ 15234 ecx = ebp + (-0x6C); /* 0x2B07A90B: lea ecx, [ebp - 0x6c] */ 15235 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Bu); /* 0x2B07A90E: mov byte ptr [ebp - 4], 0x4b */ 15236 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A912: call dword ptr [0x2b0b514c] */ 15237 RECOMP_FLAGS_IN(); 15238 ecx = MEM32(ebp + (-0x40)); /* 0x2B07A918: mov ecx, dword ptr [ebp - 0x40] */ 15239 MEM32(edi + 0x10) = ecx; /* 0x2B07A91B: mov dword ptr [edi + 0x10], ecx */ 15240 edx = MEM32(ebp + (-0x3C)); /* 0x2B07A91E: mov edx, dword ptr [ebp - 0x3c] */ 15241 MEM32(edi + 0x14) = edx; /* 0x2B07A921: mov dword ptr [edi + 0x14], edx */ 15242 eax = MEM32(0x2B0B515C); /* 0x2B07A924: mov eax, dword ptr [0x2b0b515c] */ 15243 ecx = MEM32(eax); /* 0x2B07A929: mov ecx, dword ptr [eax] */ 15244 PUSH32(esp, ecx); /* 0x2B07A92B: push ecx */ 15245 PUSH32(esp, ebx); /* 0x2B07A92C: push ebx */ 15246 edx = ebp + (-0x38); /* 0x2B07A92D: lea edx, [ebp - 0x38] */ 15247 PUSH32(esp, edx); /* 0x2B07A930: push edx */ 15248 ecx = edi + 0x18; /* 0x2B07A931: lea ecx, [edi + 0x18] */ 15249 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07A934: call dword ptr [0x2b0b5158] */ 15250 RECOMP_FLAGS_IN(); 15251 ecx = MEM32(ebp + (-0x28)); /* 0x2B07A93A: mov ecx, dword ptr [ebp - 0x28] */ 15252 eax = edi + 0x28; /* 0x2B07A93D: lea eax, [edi + 0x28] */ 15253 MEM32(eax) = ecx; /* 0x2B07A940: mov dword ptr [eax], ecx */ 15254 edx = MEM32(ebp + (-0x24)); /* 0x2B07A942: mov edx, dword ptr [ebp - 0x24] */ 15255 MEM32(eax + 0x4) = edx; /* 0x2B07A945: mov dword ptr [eax + 4], edx */ 15256 ecx = MEM32(ebp + (-0x20)); /* 0x2B07A948: mov ecx, dword ptr [ebp - 0x20] */ 15257 MEM32(eax + 0x8) = ecx; /* 0x2B07A94B: mov dword ptr [eax + 8], ecx */ 15258 edx = MEM32(ebp + (-0x1C)); /* 0x2B07A94E: mov edx, dword ptr [ebp - 0x1c] */ 15259 MEM32(eax + 0xC) = edx; /* 0x2B07A951: mov dword ptr [eax + 0xc], edx */ 15260 eax = MEM32(ebp + (-0x18)); /* 0x2B07A954: mov eax, dword ptr [ebp - 0x18] */ 15261 PUSH32(esp, 1); /* 0x2B07A957: push 1 */ 15262 ecx = ebp + (-0x38); /* 0x2B07A959: lea ecx, [ebp - 0x38] */ 15263 MEM32(edi + 0x38) = eax; /* 0x2B07A95C: mov dword ptr [edi + 0x38], eax */ 15264 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07A95F: mov byte ptr [ebp - 4], 1 */ 15265 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A963: call dword ptr [0x2b0b514c] */ 15266 RECOMP_FLAGS_IN(); 15267 ecx = ebp + (-0xD); /* 0x2B07A969: lea ecx, [ebp - 0xd] */ 15268 PUSH32(esp, ecx); /* 0x2B07A96C: push ecx */ 15269 ecx = ebp + (-0x38); /* 0x2B07A96D: lea ecx, [ebp - 0x38] */ 15270 MEM32(ebp + (-0x14)) = 0x271u; /* 0x2B07A970: mov dword ptr [ebp - 0x14], 0x271 */ 15271 MEM32(ebp + (-0x40)) = 0xA3A3u; /* 0x2B07A977: mov dword ptr [ebp - 0x40], 0xa3a3 */ 15272 MEM32(ebp + (-0x3C)) = 0x7796u; /* 0x2B07A97E: mov dword ptr [ebp - 0x3c], 0x7796 */ 15273 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07A985: call dword ptr [0x2b0b5190] */ 15274 RECOMP_FLAGS_IN(); 15275 ecx = ebp + (-0x28); /* 0x2B07A98B: lea ecx, [ebp - 0x28] */ 15276 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Eu); /* 0x2B07A98E: mov byte ptr [ebp - 4], 0x4e */ 15277 RECOMP_ICALL(0x2B07F070u); /* 0x2B07A992: call 0x2b07f070 */ /* not lifted */ 15278 RECOMP_FLAGS_IN(); 15279 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15280 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07A997: or ecx, 0xffffffff */ 15281 _cf = 0; 15282 _flag_k = FK_TEST; 15283 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15284 eax = 0; /* 0x2B07A99A: xor eax, eax */ 15285 _cf = 0; 15286 _flag_k = FK_TEST; 15287 edi = 0x2B0EC6DCu; /* 0x2B07A99C: mov edi, 0x2b0ec6dc */ 15288 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; } /* 0x2B07A9A1: repne scasb al, byte ptr es:[edi] */ 15289 ecx = ~ecx; /* 0x2B07A9A3: not ecx */ 15290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15291 ecx = ecx - 1; /* 0x2B07A9A5: dec ecx */ 15292 _flag_k = FK_DEC; 15293 PUSH32(esp, ecx); /* 0x2B07A9A6: push ecx */ 15294 PUSH32(esp, 0x2B0EC6DCu); /* 0x2B07A9A7: push 0x2b0ec6dc */ 15295 ecx = ebp + (-0x38); /* 0x2B07A9AC: lea ecx, [ebp - 0x38] */ 15296 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07A9AF: mov dword ptr [ebp - 0x18], ebx */ 15297 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07A9B2: call dword ptr [0x2b0b5148] */ 15298 RECOMP_FLAGS_IN(); 15299 ecx = ebp + (-0x74); /* 0x2B07A9B8: lea ecx, [ebp - 0x74] */ 15300 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Fu); /* 0x2B07A9BB: mov byte ptr [ebp - 4], 0x4f */ 15301 RECOMP_ICALL(0x2B07C070u); /* 0x2B07A9BF: call 0x2b07c070 */ /* not lifted */ 15302 RECOMP_FLAGS_IN(); 15303 PUSH32(esp, eax); /* 0x2B07A9C4: push eax */ 15304 edx = ebp + (-0x14); /* 0x2B07A9C5: lea edx, [ebp - 0x14] */ 15305 PUSH32(esp, edx); /* 0x2B07A9C8: push edx */ 15306 ecx = ebp + (-0xB0); /* 0x2B07A9C9: lea ecx, [ebp - 0xb0] */ 15307 MEM8(ebp + (-0x4)) = (uint8_t)(0x50u); /* 0x2B07A9CF: mov byte ptr [ebp - 4], 0x50 */ 15308 RECOMP_ICALL(0x2B07F720u); /* 0x2B07A9D3: call 0x2b07f720 */ /* not lifted */ 15309 RECOMP_FLAGS_IN(); 15310 PUSH32(esp, eax); /* 0x2B07A9D8: push eax */ 15311 eax = ebp + (-0x48); /* 0x2B07A9D9: lea eax, [ebp - 0x48] */ 15312 PUSH32(esp, eax); /* 0x2B07A9DC: push eax */ 15313 ecx = 0x2B0EF058u; /* 0x2B07A9DD: mov ecx, 0x2b0ef058 */ 15314 MEM8(ebp + (-0x4)) = (uint8_t)(0x51u); /* 0x2B07A9E2: mov byte ptr [ebp - 4], 0x51 */ 15315 RECOMP_ICALL(0x2B07F640u); /* 0x2B07A9E6: call 0x2b07f640 */ /* not lifted */ 15316 RECOMP_FLAGS_IN(); 15317 edi = MEM32(eax); /* 0x2B07A9EB: mov edi, dword ptr [eax] */ 15318 PUSH32(esp, 1); /* 0x2B07A9ED: push 1 */ 15319 ecx = ebp + (-0xA4); /* 0x2B07A9EF: lea ecx, [ebp - 0xa4] */ 15320 MEM8(ebp + (-0x4)) = (uint8_t)(0x50u); /* 0x2B07A9F5: mov byte ptr [ebp - 4], 0x50 */ 15321 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07A9F9: call dword ptr [0x2b0b514c] */ 15322 RECOMP_FLAGS_IN(); 15323 PUSH32(esp, 1); /* 0x2B07A9FF: push 1 */ 15324 ecx = ebp + (-0x6C); /* 0x2B07AA01: lea ecx, [ebp - 0x6c] */ 15325 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Fu); /* 0x2B07AA04: mov byte ptr [ebp - 4], 0x4f */ 15326 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AA08: call dword ptr [0x2b0b514c] */ 15327 RECOMP_FLAGS_IN(); 15328 ecx = MEM32(ebp + (-0x40)); /* 0x2B07AA0E: mov ecx, dword ptr [ebp - 0x40] */ 15329 MEM32(edi + 0x10) = ecx; /* 0x2B07AA11: mov dword ptr [edi + 0x10], ecx */ 15330 edx = MEM32(ebp + (-0x3C)); /* 0x2B07AA14: mov edx, dword ptr [ebp - 0x3c] */ 15331 MEM32(edi + 0x14) = edx; /* 0x2B07AA17: mov dword ptr [edi + 0x14], edx */ 15332 eax = MEM32(0x2B0B515C); /* 0x2B07AA1A: mov eax, dword ptr [0x2b0b515c] */ 15333 ecx = MEM32(eax); /* 0x2B07AA1F: mov ecx, dword ptr [eax] */ 15334 PUSH32(esp, ecx); /* 0x2B07AA21: push ecx */ 15335 PUSH32(esp, ebx); /* 0x2B07AA22: push ebx */ 15336 edx = ebp + (-0x38); /* 0x2B07AA23: lea edx, [ebp - 0x38] */ 15337 PUSH32(esp, edx); /* 0x2B07AA26: push edx */ 15338 ecx = edi + 0x18; /* 0x2B07AA27: lea ecx, [edi + 0x18] */ 15339 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AA2A: call dword ptr [0x2b0b5158] */ 15340 RECOMP_FLAGS_IN(); 15341 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AA30: mov ecx, dword ptr [ebp - 0x28] */ 15342 eax = edi + 0x28; /* 0x2B07AA33: lea eax, [edi + 0x28] */ 15343 MEM32(eax) = ecx; /* 0x2B07AA36: mov dword ptr [eax], ecx */ 15344 edx = MEM32(ebp + (-0x24)); /* 0x2B07AA38: mov edx, dword ptr [ebp - 0x24] */ 15345 MEM32(eax + 0x4) = edx; /* 0x2B07AA3B: mov dword ptr [eax + 4], edx */ 15346 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AA3E: mov ecx, dword ptr [ebp - 0x20] */ 15347 MEM32(eax + 0x8) = ecx; /* 0x2B07AA41: mov dword ptr [eax + 8], ecx */ 15348 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AA44: mov edx, dword ptr [ebp - 0x1c] */ 15349 MEM32(eax + 0xC) = edx; /* 0x2B07AA47: mov dword ptr [eax + 0xc], edx */ 15350 eax = MEM32(ebp + (-0x18)); /* 0x2B07AA4A: mov eax, dword ptr [ebp - 0x18] */ 15351 PUSH32(esp, 1); /* 0x2B07AA4D: push 1 */ 15352 ecx = ebp + (-0x38); /* 0x2B07AA4F: lea ecx, [ebp - 0x38] */ 15353 MEM32(edi + 0x38) = eax; /* 0x2B07AA52: mov dword ptr [edi + 0x38], eax */ 15354 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AA55: mov byte ptr [ebp - 4], 1 */ 15355 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AA59: call dword ptr [0x2b0b514c] */ 15356 RECOMP_FLAGS_IN(); 15357 ecx = ebp + (-0xD); /* 0x2B07AA5F: lea ecx, [ebp - 0xd] */ 15358 PUSH32(esp, ecx); /* 0x2B07AA62: push ecx */ 15359 ecx = ebp + (-0x38); /* 0x2B07AA63: lea ecx, [ebp - 0x38] */ 15360 MEM32(ebp + (-0x14)) = 0x276u; /* 0x2B07AA66: mov dword ptr [ebp - 0x14], 0x276 */ 15361 MEM32(ebp + (-0x40)) = 0xA9EBu; /* 0x2B07AA6D: mov dword ptr [ebp - 0x40], 0xa9eb */ 15362 MEM32(ebp + (-0x3C)) = 0x6D0Eu; /* 0x2B07AA74: mov dword ptr [ebp - 0x3c], 0x6d0e */ 15363 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AA7B: call dword ptr [0x2b0b5190] */ 15364 RECOMP_FLAGS_IN(); 15365 ecx = ebp + (-0x28); /* 0x2B07AA81: lea ecx, [ebp - 0x28] */ 15366 MEM8(ebp + (-0x4)) = (uint8_t)(0x52u); /* 0x2B07AA84: mov byte ptr [ebp - 4], 0x52 */ 15367 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AA88: call 0x2b07f070 */ /* not lifted */ 15368 RECOMP_FLAGS_IN(); 15369 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15370 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AA8D: or ecx, 0xffffffff */ 15371 _cf = 0; 15372 _flag_k = FK_TEST; 15373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15374 eax = 0; /* 0x2B07AA90: xor eax, eax */ 15375 _cf = 0; 15376 _flag_k = FK_TEST; 15377 edi = 0x2B0EC6C8u; /* 0x2B07AA92: mov edi, 0x2b0ec6c8 */ 15378 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; } /* 0x2B07AA97: repne scasb al, byte ptr es:[edi] */ 15379 ecx = ~ecx; /* 0x2B07AA99: not ecx */ 15380 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15381 ecx = ecx - 1; /* 0x2B07AA9B: dec ecx */ 15382 _flag_k = FK_DEC; 15383 PUSH32(esp, ecx); /* 0x2B07AA9C: push ecx */ 15384 PUSH32(esp, 0x2B0EC6C8u); /* 0x2B07AA9D: push 0x2b0ec6c8 */ 15385 ecx = ebp + (-0x38); /* 0x2B07AAA2: lea ecx, [ebp - 0x38] */ 15386 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AAA5: mov dword ptr [ebp - 0x18], ebx */ 15387 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AAA8: call dword ptr [0x2b0b5148] */ 15388 RECOMP_FLAGS_IN(); 15389 ecx = ebp + (-0x74); /* 0x2B07AAAE: lea ecx, [ebp - 0x74] */ 15390 MEM8(ebp + (-0x4)) = (uint8_t)(0x53u); /* 0x2B07AAB1: mov byte ptr [ebp - 4], 0x53 */ 15391 RECOMP_ICALL(0x2B07C070u); /* 0x2B07AAB5: call 0x2b07c070 */ /* not lifted */ 15392 RECOMP_FLAGS_IN(); 15393 PUSH32(esp, eax); /* 0x2B07AABA: push eax */ 15394 edx = ebp + (-0x14); /* 0x2B07AABB: lea edx, [ebp - 0x14] */ 15395 PUSH32(esp, edx); /* 0x2B07AABE: push edx */ 15396 ecx = ebp + (-0xB0); /* 0x2B07AABF: lea ecx, [ebp - 0xb0] */ 15397 MEM8(ebp + (-0x4)) = (uint8_t)(0x54u); /* 0x2B07AAC5: mov byte ptr [ebp - 4], 0x54 */ 15398 RECOMP_ICALL(0x2B07F720u); /* 0x2B07AAC9: call 0x2b07f720 */ /* not lifted */ 15399 RECOMP_FLAGS_IN(); 15400 PUSH32(esp, eax); /* 0x2B07AACE: push eax */ 15401 eax = ebp + (-0x48); /* 0x2B07AACF: lea eax, [ebp - 0x48] */ 15402 PUSH32(esp, eax); /* 0x2B07AAD2: push eax */ 15403 ecx = 0x2B0EF058u; /* 0x2B07AAD3: mov ecx, 0x2b0ef058 */ 15404 MEM8(ebp + (-0x4)) = (uint8_t)(0x55u); /* 0x2B07AAD8: mov byte ptr [ebp - 4], 0x55 */ 15405 RECOMP_ICALL(0x2B07F640u); /* 0x2B07AADC: call 0x2b07f640 */ /* not lifted */ 15406 RECOMP_FLAGS_IN(); 15407 edi = MEM32(eax); /* 0x2B07AAE1: mov edi, dword ptr [eax] */ 15408 PUSH32(esp, 1); /* 0x2B07AAE3: push 1 */ 15409 ecx = ebp + (-0xA4); /* 0x2B07AAE5: lea ecx, [ebp - 0xa4] */ 15410 MEM8(ebp + (-0x4)) = (uint8_t)(0x54u); /* 0x2B07AAEB: mov byte ptr [ebp - 4], 0x54 */ 15411 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AAEF: call dword ptr [0x2b0b514c] */ 15412 RECOMP_FLAGS_IN(); 15413 PUSH32(esp, 1); /* 0x2B07AAF5: push 1 */ 15414 ecx = ebp + (-0x6C); /* 0x2B07AAF7: lea ecx, [ebp - 0x6c] */ 15415 MEM8(ebp + (-0x4)) = (uint8_t)(0x53u); /* 0x2B07AAFA: mov byte ptr [ebp - 4], 0x53 */ 15416 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AAFE: call dword ptr [0x2b0b514c] */ 15417 RECOMP_FLAGS_IN(); 15418 ecx = MEM32(ebp + (-0x40)); /* 0x2B07AB04: mov ecx, dword ptr [ebp - 0x40] */ 15419 MEM32(edi + 0x10) = ecx; /* 0x2B07AB07: mov dword ptr [edi + 0x10], ecx */ 15420 edx = MEM32(ebp + (-0x3C)); /* 0x2B07AB0A: mov edx, dword ptr [ebp - 0x3c] */ 15421 MEM32(edi + 0x14) = edx; /* 0x2B07AB0D: mov dword ptr [edi + 0x14], edx */ 15422 eax = MEM32(0x2B0B515C); /* 0x2B07AB10: mov eax, dword ptr [0x2b0b515c] */ 15423 ecx = MEM32(eax); /* 0x2B07AB15: mov ecx, dword ptr [eax] */ 15424 PUSH32(esp, ecx); /* 0x2B07AB17: push ecx */ 15425 PUSH32(esp, ebx); /* 0x2B07AB18: push ebx */ 15426 edx = ebp + (-0x38); /* 0x2B07AB19: lea edx, [ebp - 0x38] */ 15427 PUSH32(esp, edx); /* 0x2B07AB1C: push edx */ 15428 ecx = edi + 0x18; /* 0x2B07AB1D: lea ecx, [edi + 0x18] */ 15429 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AB20: call dword ptr [0x2b0b5158] */ 15430 RECOMP_FLAGS_IN(); 15431 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AB26: mov ecx, dword ptr [ebp - 0x28] */ 15432 eax = edi + 0x28; /* 0x2B07AB29: lea eax, [edi + 0x28] */ 15433 MEM32(eax) = ecx; /* 0x2B07AB2C: mov dword ptr [eax], ecx */ 15434 edx = MEM32(ebp + (-0x24)); /* 0x2B07AB2E: mov edx, dword ptr [ebp - 0x24] */ 15435 MEM32(eax + 0x4) = edx; /* 0x2B07AB31: mov dword ptr [eax + 4], edx */ 15436 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AB34: mov ecx, dword ptr [ebp - 0x20] */ 15437 MEM32(eax + 0x8) = ecx; /* 0x2B07AB37: mov dword ptr [eax + 8], ecx */ 15438 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AB3A: mov edx, dword ptr [ebp - 0x1c] */ 15439 MEM32(eax + 0xC) = edx; /* 0x2B07AB3D: mov dword ptr [eax + 0xc], edx */ 15440 eax = MEM32(ebp + (-0x18)); /* 0x2B07AB40: mov eax, dword ptr [ebp - 0x18] */ 15441 PUSH32(esp, 1); /* 0x2B07AB43: push 1 */ 15442 ecx = ebp + (-0x38); /* 0x2B07AB45: lea ecx, [ebp - 0x38] */ 15443 MEM32(edi + 0x38) = eax; /* 0x2B07AB48: mov dword ptr [edi + 0x38], eax */ 15444 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AB4B: mov byte ptr [ebp - 4], 1 */ 15445 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AB4F: call dword ptr [0x2b0b514c] */ 15446 RECOMP_FLAGS_IN(); 15447 ecx = ebp + (-0xD); /* 0x2B07AB55: lea ecx, [ebp - 0xd] */ 15448 PUSH32(esp, ecx); /* 0x2B07AB58: push ecx */ 15449 ecx = ebp + (-0x38); /* 0x2B07AB59: lea ecx, [ebp - 0x38] */ 15450 MEM32(ebp + (-0x14)) = 0x27Bu; /* 0x2B07AB5C: mov dword ptr [ebp - 0x14], 0x27b */ 15451 MEM32(ebp + (-0x40)) = 0x9FB9u; /* 0x2B07AB63: mov dword ptr [ebp - 0x40], 0x9fb9 */ 15452 MEM32(ebp + (-0x3C)) = 0x8111u; /* 0x2B07AB6A: mov dword ptr [ebp - 0x3c], 0x8111 */ 15453 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AB71: call dword ptr [0x2b0b5190] */ 15454 RECOMP_FLAGS_IN(); 15455 ecx = ebp + (-0x28); /* 0x2B07AB77: lea ecx, [ebp - 0x28] */ 15456 MEM8(ebp + (-0x4)) = (uint8_t)(0x56u); /* 0x2B07AB7A: mov byte ptr [ebp - 4], 0x56 */ 15457 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AB7E: call 0x2b07f070 */ /* not lifted */ 15458 RECOMP_FLAGS_IN(); 15459 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15460 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AB83: or ecx, 0xffffffff */ 15461 _cf = 0; 15462 _flag_k = FK_TEST; 15463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15464 eax = 0; /* 0x2B07AB86: xor eax, eax */ 15465 _cf = 0; 15466 _flag_k = FK_TEST; 15467 edi = 0x2B0EC6B8u; /* 0x2B07AB88: mov edi, 0x2b0ec6b8 */ 15468 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; } /* 0x2B07AB8D: repne scasb al, byte ptr es:[edi] */ 15469 ecx = ~ecx; /* 0x2B07AB8F: not ecx */ 15470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15471 ecx = ecx - 1; /* 0x2B07AB91: dec ecx */ 15472 _flag_k = FK_DEC; 15473 PUSH32(esp, ecx); /* 0x2B07AB92: push ecx */ 15474 PUSH32(esp, 0x2B0EC6B8u); /* 0x2B07AB93: push 0x2b0ec6b8 */ 15475 ecx = ebp + (-0x38); /* 0x2B07AB98: lea ecx, [ebp - 0x38] */ 15476 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AB9B: mov dword ptr [ebp - 0x18], ebx */ 15477 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AB9E: call dword ptr [0x2b0b5148] */ 15478 RECOMP_FLAGS_IN(); 15479 ecx = ebp + (-0x74); /* 0x2B07ABA4: lea ecx, [ebp - 0x74] */ 15480 MEM8(ebp + (-0x4)) = (uint8_t)(0x57u); /* 0x2B07ABA7: mov byte ptr [ebp - 4], 0x57 */ 15481 RECOMP_ICALL(0x2B07C070u); /* 0x2B07ABAB: call 0x2b07c070 */ /* not lifted */ 15482 RECOMP_FLAGS_IN(); 15483 PUSH32(esp, eax); /* 0x2B07ABB0: push eax */ 15484 edx = ebp + (-0x14); /* 0x2B07ABB1: lea edx, [ebp - 0x14] */ 15485 PUSH32(esp, edx); /* 0x2B07ABB4: push edx */ 15486 ecx = ebp + (-0xB0); /* 0x2B07ABB5: lea ecx, [ebp - 0xb0] */ 15487 MEM8(ebp + (-0x4)) = (uint8_t)(0x58u); /* 0x2B07ABBB: mov byte ptr [ebp - 4], 0x58 */ 15488 RECOMP_ICALL(0x2B07F720u); /* 0x2B07ABBF: call 0x2b07f720 */ /* not lifted */ 15489 RECOMP_FLAGS_IN(); 15490 PUSH32(esp, eax); /* 0x2B07ABC4: push eax */ 15491 eax = ebp + (-0x48); /* 0x2B07ABC5: lea eax, [ebp - 0x48] */ 15492 PUSH32(esp, eax); /* 0x2B07ABC8: push eax */ 15493 ecx = 0x2B0EF058u; /* 0x2B07ABC9: mov ecx, 0x2b0ef058 */ 15494 MEM8(ebp + (-0x4)) = (uint8_t)(0x59u); /* 0x2B07ABCE: mov byte ptr [ebp - 4], 0x59 */ 15495 RECOMP_ICALL(0x2B07F640u); /* 0x2B07ABD2: call 0x2b07f640 */ /* not lifted */ 15496 RECOMP_FLAGS_IN(); 15497 edi = MEM32(eax); /* 0x2B07ABD7: mov edi, dword ptr [eax] */ 15498 PUSH32(esp, 1); /* 0x2B07ABD9: push 1 */ 15499 ecx = ebp + (-0xA4); /* 0x2B07ABDB: lea ecx, [ebp - 0xa4] */ 15500 MEM8(ebp + (-0x4)) = (uint8_t)(0x58u); /* 0x2B07ABE1: mov byte ptr [ebp - 4], 0x58 */ 15501 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ABE5: call dword ptr [0x2b0b514c] */ 15502 RECOMP_FLAGS_IN(); 15503 PUSH32(esp, 1); /* 0x2B07ABEB: push 1 */ 15504 ecx = ebp + (-0x6C); /* 0x2B07ABED: lea ecx, [ebp - 0x6c] */ 15505 MEM8(ebp + (-0x4)) = (uint8_t)(0x57u); /* 0x2B07ABF0: mov byte ptr [ebp - 4], 0x57 */ 15506 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ABF4: call dword ptr [0x2b0b514c] */ 15507 RECOMP_FLAGS_IN(); 15508 ecx = MEM32(ebp + (-0x40)); /* 0x2B07ABFA: mov ecx, dword ptr [ebp - 0x40] */ 15509 MEM32(edi + 0x10) = ecx; /* 0x2B07ABFD: mov dword ptr [edi + 0x10], ecx */ 15510 edx = MEM32(ebp + (-0x3C)); /* 0x2B07AC00: mov edx, dword ptr [ebp - 0x3c] */ 15511 MEM32(edi + 0x14) = edx; /* 0x2B07AC03: mov dword ptr [edi + 0x14], edx */ 15512 eax = MEM32(0x2B0B515C); /* 0x2B07AC06: mov eax, dword ptr [0x2b0b515c] */ 15513 ecx = MEM32(eax); /* 0x2B07AC0B: mov ecx, dword ptr [eax] */ 15514 PUSH32(esp, ecx); /* 0x2B07AC0D: push ecx */ 15515 PUSH32(esp, ebx); /* 0x2B07AC0E: push ebx */ 15516 edx = ebp + (-0x38); /* 0x2B07AC0F: lea edx, [ebp - 0x38] */ 15517 PUSH32(esp, edx); /* 0x2B07AC12: push edx */ 15518 ecx = edi + 0x18; /* 0x2B07AC13: lea ecx, [edi + 0x18] */ 15519 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AC16: call dword ptr [0x2b0b5158] */ 15520 RECOMP_FLAGS_IN(); 15521 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AC1C: mov ecx, dword ptr [ebp - 0x28] */ 15522 eax = edi + 0x28; /* 0x2B07AC1F: lea eax, [edi + 0x28] */ 15523 MEM32(eax) = ecx; /* 0x2B07AC22: mov dword ptr [eax], ecx */ 15524 edx = MEM32(ebp + (-0x24)); /* 0x2B07AC24: mov edx, dword ptr [ebp - 0x24] */ 15525 MEM32(eax + 0x4) = edx; /* 0x2B07AC27: mov dword ptr [eax + 4], edx */ 15526 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AC2A: mov ecx, dword ptr [ebp - 0x20] */ 15527 MEM32(eax + 0x8) = ecx; /* 0x2B07AC2D: mov dword ptr [eax + 8], ecx */ 15528 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AC30: mov edx, dword ptr [ebp - 0x1c] */ 15529 MEM32(eax + 0xC) = edx; /* 0x2B07AC33: mov dword ptr [eax + 0xc], edx */ 15530 eax = MEM32(ebp + (-0x18)); /* 0x2B07AC36: mov eax, dword ptr [ebp - 0x18] */ 15531 MEM32(edi + 0x38) = eax; /* 0x2B07AC39: mov dword ptr [edi + 0x38], eax */ 15532 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AC3C: mov byte ptr [ebp - 4], 1 */ 15533 PUSH32(esp, 1); /* 0x2B07AC40: push 1 */ 15534 ecx = ebp + (-0x38); /* 0x2B07AC42: lea ecx, [ebp - 0x38] */ 15535 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AC45: call dword ptr [0x2b0b514c] */ 15536 RECOMP_FLAGS_IN(); 15537 ecx = ebp + (-0xD); /* 0x2B07AC4B: lea ecx, [ebp - 0xd] */ 15538 PUSH32(esp, ecx); /* 0x2B07AC4E: push ecx */ 15539 ecx = ebp + (-0x38); /* 0x2B07AC4F: lea ecx, [ebp - 0x38] */ 15540 MEM32(ebp + (-0x14)) = 0x280u; /* 0x2B07AC52: mov dword ptr [ebp - 0x14], 0x280 */ 15541 MEM32(ebp + (-0x40)) = 0xBB31u; /* 0x2B07AC59: mov dword ptr [ebp - 0x40], 0xbb31 */ 15542 MEM32(ebp + (-0x3C)) = 0x9B24u; /* 0x2B07AC60: mov dword ptr [ebp - 0x3c], 0x9b24 */ 15543 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AC67: call dword ptr [0x2b0b5190] */ 15544 RECOMP_FLAGS_IN(); 15545 ecx = ebp + (-0x28); /* 0x2B07AC6D: lea ecx, [ebp - 0x28] */ 15546 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Au); /* 0x2B07AC70: mov byte ptr [ebp - 4], 0x5a */ 15547 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AC74: call 0x2b07f070 */ /* not lifted */ 15548 RECOMP_FLAGS_IN(); 15549 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15550 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AC79: or ecx, 0xffffffff */ 15551 _cf = 0; 15552 _flag_k = FK_TEST; 15553 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15554 eax = 0; /* 0x2B07AC7C: xor eax, eax */ 15555 _cf = 0; 15556 _flag_k = FK_TEST; 15557 edi = 0x2B0EC6B4u; /* 0x2B07AC7E: mov edi, 0x2b0ec6b4 */ 15558 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; } /* 0x2B07AC83: repne scasb al, byte ptr es:[edi] */ 15559 ecx = ~ecx; /* 0x2B07AC85: not ecx */ 15560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15561 ecx = ecx - 1; /* 0x2B07AC87: dec ecx */ 15562 _flag_k = FK_DEC; 15563 PUSH32(esp, ecx); /* 0x2B07AC88: push ecx */ 15564 PUSH32(esp, 0x2B0EC6B4u); /* 0x2B07AC89: push 0x2b0ec6b4 */ 15565 ecx = ebp + (-0x38); /* 0x2B07AC8E: lea ecx, [ebp - 0x38] */ 15566 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AC91: mov dword ptr [ebp - 0x18], ebx */ 15567 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AC94: call dword ptr [0x2b0b5148] */ 15568 RECOMP_FLAGS_IN(); 15569 ecx = ebp + (-0x74); /* 0x2B07AC9A: lea ecx, [ebp - 0x74] */ 15570 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Bu); /* 0x2B07AC9D: mov byte ptr [ebp - 4], 0x5b */ 15571 RECOMP_ICALL(0x2B07C070u); /* 0x2B07ACA1: call 0x2b07c070 */ /* not lifted */ 15572 RECOMP_FLAGS_IN(); 15573 PUSH32(esp, eax); /* 0x2B07ACA6: push eax */ 15574 edx = ebp + (-0x14); /* 0x2B07ACA7: lea edx, [ebp - 0x14] */ 15575 PUSH32(esp, edx); /* 0x2B07ACAA: push edx */ 15576 ecx = ebp + (-0xB0); /* 0x2B07ACAB: lea ecx, [ebp - 0xb0] */ 15577 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Cu); /* 0x2B07ACB1: mov byte ptr [ebp - 4], 0x5c */ 15578 RECOMP_ICALL(0x2B07F720u); /* 0x2B07ACB5: call 0x2b07f720 */ /* not lifted */ 15579 RECOMP_FLAGS_IN(); 15580 PUSH32(esp, eax); /* 0x2B07ACBA: push eax */ 15581 eax = ebp + (-0x48); /* 0x2B07ACBB: lea eax, [ebp - 0x48] */ 15582 PUSH32(esp, eax); /* 0x2B07ACBE: push eax */ 15583 ecx = 0x2B0EF058u; /* 0x2B07ACBF: mov ecx, 0x2b0ef058 */ 15584 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Du); /* 0x2B07ACC4: mov byte ptr [ebp - 4], 0x5d */ 15585 RECOMP_ICALL(0x2B07F640u); /* 0x2B07ACC8: call 0x2b07f640 */ /* not lifted */ 15586 RECOMP_FLAGS_IN(); 15587 edi = MEM32(eax); /* 0x2B07ACCD: mov edi, dword ptr [eax] */ 15588 PUSH32(esp, 1); /* 0x2B07ACCF: push 1 */ 15589 ecx = ebp + (-0xA4); /* 0x2B07ACD1: lea ecx, [ebp - 0xa4] */ 15590 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Cu); /* 0x2B07ACD7: mov byte ptr [ebp - 4], 0x5c */ 15591 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ACDB: call dword ptr [0x2b0b514c] */ 15592 RECOMP_FLAGS_IN(); 15593 PUSH32(esp, 1); /* 0x2B07ACE1: push 1 */ 15594 ecx = ebp + (-0x6C); /* 0x2B07ACE3: lea ecx, [ebp - 0x6c] */ 15595 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Bu); /* 0x2B07ACE6: mov byte ptr [ebp - 4], 0x5b */ 15596 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ACEA: call dword ptr [0x2b0b514c] */ 15597 RECOMP_FLAGS_IN(); 15598 ecx = MEM32(ebp + (-0x40)); /* 0x2B07ACF0: mov ecx, dword ptr [ebp - 0x40] */ 15599 MEM32(edi + 0x10) = ecx; /* 0x2B07ACF3: mov dword ptr [edi + 0x10], ecx */ 15600 edx = MEM32(ebp + (-0x3C)); /* 0x2B07ACF6: mov edx, dword ptr [ebp - 0x3c] */ 15601 MEM32(edi + 0x14) = edx; /* 0x2B07ACF9: mov dword ptr [edi + 0x14], edx */ 15602 eax = MEM32(0x2B0B515C); /* 0x2B07ACFC: mov eax, dword ptr [0x2b0b515c] */ 15603 ecx = MEM32(eax); /* 0x2B07AD01: mov ecx, dword ptr [eax] */ 15604 PUSH32(esp, ecx); /* 0x2B07AD03: push ecx */ 15605 PUSH32(esp, ebx); /* 0x2B07AD04: push ebx */ 15606 edx = ebp + (-0x38); /* 0x2B07AD05: lea edx, [ebp - 0x38] */ 15607 PUSH32(esp, edx); /* 0x2B07AD08: push edx */ 15608 ecx = edi + 0x18; /* 0x2B07AD09: lea ecx, [edi + 0x18] */ 15609 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AD0C: call dword ptr [0x2b0b5158] */ 15610 RECOMP_FLAGS_IN(); 15611 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AD12: mov ecx, dword ptr [ebp - 0x28] */ 15612 eax = edi + 0x28; /* 0x2B07AD15: lea eax, [edi + 0x28] */ 15613 MEM32(eax) = ecx; /* 0x2B07AD18: mov dword ptr [eax], ecx */ 15614 edx = MEM32(ebp + (-0x24)); /* 0x2B07AD1A: mov edx, dword ptr [ebp - 0x24] */ 15615 MEM32(eax + 0x4) = edx; /* 0x2B07AD1D: mov dword ptr [eax + 4], edx */ 15616 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AD20: mov ecx, dword ptr [ebp - 0x20] */ 15617 MEM32(eax + 0x8) = ecx; /* 0x2B07AD23: mov dword ptr [eax + 8], ecx */ 15618 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AD26: mov edx, dword ptr [ebp - 0x1c] */ 15619 MEM32(eax + 0xC) = edx; /* 0x2B07AD29: mov dword ptr [eax + 0xc], edx */ 15620 eax = MEM32(ebp + (-0x18)); /* 0x2B07AD2C: mov eax, dword ptr [ebp - 0x18] */ 15621 PUSH32(esp, 1); /* 0x2B07AD2F: push 1 */ 15622 ecx = ebp + (-0x38); /* 0x2B07AD31: lea ecx, [ebp - 0x38] */ 15623 MEM32(edi + 0x38) = eax; /* 0x2B07AD34: mov dword ptr [edi + 0x38], eax */ 15624 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AD37: mov byte ptr [ebp - 4], 1 */ 15625 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AD3B: call dword ptr [0x2b0b514c] */ 15626 RECOMP_FLAGS_IN(); 15627 MEM32(ebp + (-0x14)) = 0x286u; /* 0x2B07AD41: mov dword ptr [ebp - 0x14], 0x286 */ 15628 MEM32(ebp + (-0x40)) = 0xB462u; /* 0x2B07AD48: mov dword ptr [ebp - 0x40], 0xb462 */ 15629 MEM32(ebp + (-0x3C)) = 0x989Fu; /* 0x2B07AD4F: mov dword ptr [ebp - 0x3c], 0x989f */ 15630 ecx = ebp + (-0xD); /* 0x2B07AD56: lea ecx, [ebp - 0xd] */ 15631 PUSH32(esp, ecx); /* 0x2B07AD59: push ecx */ 15632 ecx = ebp + (-0x38); /* 0x2B07AD5A: lea ecx, [ebp - 0x38] */ 15633 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AD5D: call dword ptr [0x2b0b5190] */ 15634 RECOMP_FLAGS_IN(); 15635 ecx = ebp + (-0x28); /* 0x2B07AD63: lea ecx, [ebp - 0x28] */ 15636 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Eu); /* 0x2B07AD66: mov byte ptr [ebp - 4], 0x5e */ 15637 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AD6A: call 0x2b07f070 */ /* not lifted */ 15638 RECOMP_FLAGS_IN(); 15639 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15640 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AD6F: or ecx, 0xffffffff */ 15641 _cf = 0; 15642 _flag_k = FK_TEST; 15643 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15644 eax = 0; /* 0x2B07AD72: xor eax, eax */ 15645 _cf = 0; 15646 _flag_k = FK_TEST; 15647 edi = 0x2B0EC6A8u; /* 0x2B07AD74: mov edi, 0x2b0ec6a8 */ 15648 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; } /* 0x2B07AD79: repne scasb al, byte ptr es:[edi] */ 15649 ecx = ~ecx; /* 0x2B07AD7B: not ecx */ 15650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15651 ecx = ecx - 1; /* 0x2B07AD7D: dec ecx */ 15652 _flag_k = FK_DEC; 15653 PUSH32(esp, ecx); /* 0x2B07AD7E: push ecx */ 15654 PUSH32(esp, 0x2B0EC6A8u); /* 0x2B07AD7F: push 0x2b0ec6a8 */ 15655 ecx = ebp + (-0x38); /* 0x2B07AD84: lea ecx, [ebp - 0x38] */ 15656 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AD87: mov dword ptr [ebp - 0x18], ebx */ 15657 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AD8A: call dword ptr [0x2b0b5148] */ 15658 RECOMP_FLAGS_IN(); 15659 ecx = ebp + (-0x74); /* 0x2B07AD90: lea ecx, [ebp - 0x74] */ 15660 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Fu); /* 0x2B07AD93: mov byte ptr [ebp - 4], 0x5f */ 15661 RECOMP_ICALL(0x2B07C070u); /* 0x2B07AD97: call 0x2b07c070 */ /* not lifted */ 15662 RECOMP_FLAGS_IN(); 15663 PUSH32(esp, eax); /* 0x2B07AD9C: push eax */ 15664 edx = ebp + (-0x14); /* 0x2B07AD9D: lea edx, [ebp - 0x14] */ 15665 PUSH32(esp, edx); /* 0x2B07ADA0: push edx */ 15666 ecx = ebp + (-0xB0); /* 0x2B07ADA1: lea ecx, [ebp - 0xb0] */ 15667 MEM8(ebp + (-0x4)) = (uint8_t)(0x60u); /* 0x2B07ADA7: mov byte ptr [ebp - 4], 0x60 */ 15668 RECOMP_ICALL(0x2B07F720u); /* 0x2B07ADAB: call 0x2b07f720 */ /* not lifted */ 15669 RECOMP_FLAGS_IN(); 15670 PUSH32(esp, eax); /* 0x2B07ADB0: push eax */ 15671 eax = ebp + (-0x48); /* 0x2B07ADB1: lea eax, [ebp - 0x48] */ 15672 PUSH32(esp, eax); /* 0x2B07ADB4: push eax */ 15673 ecx = 0x2B0EF058u; /* 0x2B07ADB5: mov ecx, 0x2b0ef058 */ 15674 MEM8(ebp + (-0x4)) = (uint8_t)(0x61u); /* 0x2B07ADBA: mov byte ptr [ebp - 4], 0x61 */ 15675 RECOMP_ICALL(0x2B07F640u); /* 0x2B07ADBE: call 0x2b07f640 */ /* not lifted */ 15676 RECOMP_FLAGS_IN(); 15677 edi = MEM32(eax); /* 0x2B07ADC3: mov edi, dword ptr [eax] */ 15678 PUSH32(esp, 1); /* 0x2B07ADC5: push 1 */ 15679 ecx = ebp + (-0xA4); /* 0x2B07ADC7: lea ecx, [ebp - 0xa4] */ 15680 MEM8(ebp + (-0x4)) = (uint8_t)(0x60u); /* 0x2B07ADCD: mov byte ptr [ebp - 4], 0x60 */ 15681 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ADD1: call dword ptr [0x2b0b514c] */ 15682 RECOMP_FLAGS_IN(); 15683 PUSH32(esp, 1); /* 0x2B07ADD7: push 1 */ 15684 ecx = ebp + (-0x6C); /* 0x2B07ADD9: lea ecx, [ebp - 0x6c] */ 15685 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Fu); /* 0x2B07ADDC: mov byte ptr [ebp - 4], 0x5f */ 15686 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07ADE0: call dword ptr [0x2b0b514c] */ 15687 RECOMP_FLAGS_IN(); 15688 ecx = MEM32(ebp + (-0x40)); /* 0x2B07ADE6: mov ecx, dword ptr [ebp - 0x40] */ 15689 MEM32(edi + 0x10) = ecx; /* 0x2B07ADE9: mov dword ptr [edi + 0x10], ecx */ 15690 edx = MEM32(ebp + (-0x3C)); /* 0x2B07ADEC: mov edx, dword ptr [ebp - 0x3c] */ 15691 MEM32(edi + 0x14) = edx; /* 0x2B07ADEF: mov dword ptr [edi + 0x14], edx */ 15692 eax = MEM32(0x2B0B515C); /* 0x2B07ADF2: mov eax, dword ptr [0x2b0b515c] */ 15693 ecx = MEM32(eax); /* 0x2B07ADF7: mov ecx, dword ptr [eax] */ 15694 PUSH32(esp, ecx); /* 0x2B07ADF9: push ecx */ 15695 PUSH32(esp, ebx); /* 0x2B07ADFA: push ebx */ 15696 edx = ebp + (-0x38); /* 0x2B07ADFB: lea edx, [ebp - 0x38] */ 15697 PUSH32(esp, edx); /* 0x2B07ADFE: push edx */ 15698 ecx = edi + 0x18; /* 0x2B07ADFF: lea ecx, [edi + 0x18] */ 15699 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AE02: call dword ptr [0x2b0b5158] */ 15700 RECOMP_FLAGS_IN(); 15701 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AE08: mov ecx, dword ptr [ebp - 0x28] */ 15702 eax = edi + 0x28; /* 0x2B07AE0B: lea eax, [edi + 0x28] */ 15703 MEM32(eax) = ecx; /* 0x2B07AE0E: mov dword ptr [eax], ecx */ 15704 edx = MEM32(ebp + (-0x24)); /* 0x2B07AE10: mov edx, dword ptr [ebp - 0x24] */ 15705 MEM32(eax + 0x4) = edx; /* 0x2B07AE13: mov dword ptr [eax + 4], edx */ 15706 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AE16: mov ecx, dword ptr [ebp - 0x20] */ 15707 MEM32(eax + 0x8) = ecx; /* 0x2B07AE19: mov dword ptr [eax + 8], ecx */ 15708 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AE1C: mov edx, dword ptr [ebp - 0x1c] */ 15709 MEM32(eax + 0xC) = edx; /* 0x2B07AE1F: mov dword ptr [eax + 0xc], edx */ 15710 eax = MEM32(ebp + (-0x18)); /* 0x2B07AE22: mov eax, dword ptr [ebp - 0x18] */ 15711 PUSH32(esp, 1); /* 0x2B07AE25: push 1 */ 15712 ecx = ebp + (-0x38); /* 0x2B07AE27: lea ecx, [ebp - 0x38] */ 15713 MEM32(edi + 0x38) = eax; /* 0x2B07AE2A: mov dword ptr [edi + 0x38], eax */ 15714 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AE2D: mov byte ptr [ebp - 4], 1 */ 15715 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AE31: call dword ptr [0x2b0b514c] */ 15716 RECOMP_FLAGS_IN(); 15717 ecx = ebp + (-0xD); /* 0x2B07AE37: lea ecx, [ebp - 0xd] */ 15718 PUSH32(esp, ecx); /* 0x2B07AE3A: push ecx */ 15719 ecx = ebp + (-0x38); /* 0x2B07AE3B: lea ecx, [ebp - 0x38] */ 15720 MEM32(ebp + (-0x14)) = 0x287u; /* 0x2B07AE3E: mov dword ptr [ebp - 0x14], 0x287 */ 15721 MEM32(ebp + (-0x40)) = 0xB45Fu; /* 0x2B07AE45: mov dword ptr [ebp - 0x40], 0xb45f */ 15722 MEM32(ebp + (-0x3C)) = 0x98A1u; /* 0x2B07AE4C: mov dword ptr [ebp - 0x3c], 0x98a1 */ 15723 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AE53: call dword ptr [0x2b0b5190] */ 15724 RECOMP_FLAGS_IN(); 15725 MEM8(ebp + (-0x4)) = (uint8_t)(0x62u); /* 0x2B07AE59: mov byte ptr [ebp - 4], 0x62 */ 15726 ecx = ebp + (-0x28); /* 0x2B07AE5D: lea ecx, [ebp - 0x28] */ 15727 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AE60: call 0x2b07f070 */ /* not lifted */ 15728 RECOMP_FLAGS_IN(); 15729 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15730 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AE65: or ecx, 0xffffffff */ 15731 _cf = 0; 15732 _flag_k = FK_TEST; 15733 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15734 eax = 0; /* 0x2B07AE68: xor eax, eax */ 15735 _cf = 0; 15736 _flag_k = FK_TEST; 15737 edi = 0x2B0EC694u; /* 0x2B07AE6A: mov edi, 0x2b0ec694 */ 15738 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; } /* 0x2B07AE6F: repne scasb al, byte ptr es:[edi] */ 15739 ecx = ~ecx; /* 0x2B07AE71: not ecx */ 15740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15741 ecx = ecx - 1; /* 0x2B07AE73: dec ecx */ 15742 _flag_k = FK_DEC; 15743 PUSH32(esp, ecx); /* 0x2B07AE74: push ecx */ 15744 PUSH32(esp, 0x2B0EC694u); /* 0x2B07AE75: push 0x2b0ec694 */ 15745 ecx = ebp + (-0x38); /* 0x2B07AE7A: lea ecx, [ebp - 0x38] */ 15746 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AE7D: mov dword ptr [ebp - 0x18], ebx */ 15747 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AE80: call dword ptr [0x2b0b5148] */ 15748 RECOMP_FLAGS_IN(); 15749 ecx = ebp + (-0x74); /* 0x2B07AE86: lea ecx, [ebp - 0x74] */ 15750 MEM8(ebp + (-0x4)) = (uint8_t)(0x63u); /* 0x2B07AE89: mov byte ptr [ebp - 4], 0x63 */ 15751 RECOMP_ICALL(0x2B07C070u); /* 0x2B07AE8D: call 0x2b07c070 */ /* not lifted */ 15752 RECOMP_FLAGS_IN(); 15753 PUSH32(esp, eax); /* 0x2B07AE92: push eax */ 15754 edx = ebp + (-0x14); /* 0x2B07AE93: lea edx, [ebp - 0x14] */ 15755 PUSH32(esp, edx); /* 0x2B07AE96: push edx */ 15756 ecx = ebp + (-0xB0); /* 0x2B07AE97: lea ecx, [ebp - 0xb0] */ 15757 MEM8(ebp + (-0x4)) = (uint8_t)(0x64u); /* 0x2B07AE9D: mov byte ptr [ebp - 4], 0x64 */ 15758 RECOMP_ICALL(0x2B07F720u); /* 0x2B07AEA1: call 0x2b07f720 */ /* not lifted */ 15759 RECOMP_FLAGS_IN(); 15760 PUSH32(esp, eax); /* 0x2B07AEA6: push eax */ 15761 eax = ebp + (-0x48); /* 0x2B07AEA7: lea eax, [ebp - 0x48] */ 15762 PUSH32(esp, eax); /* 0x2B07AEAA: push eax */ 15763 ecx = 0x2B0EF058u; /* 0x2B07AEAB: mov ecx, 0x2b0ef058 */ 15764 MEM8(ebp + (-0x4)) = (uint8_t)(0x65u); /* 0x2B07AEB0: mov byte ptr [ebp - 4], 0x65 */ 15765 RECOMP_ICALL(0x2B07F640u); /* 0x2B07AEB4: call 0x2b07f640 */ /* not lifted */ 15766 RECOMP_FLAGS_IN(); 15767 edi = MEM32(eax); /* 0x2B07AEB9: mov edi, dword ptr [eax] */ 15768 PUSH32(esp, 1); /* 0x2B07AEBB: push 1 */ 15769 ecx = ebp + (-0xA4); /* 0x2B07AEBD: lea ecx, [ebp - 0xa4] */ 15770 MEM8(ebp + (-0x4)) = (uint8_t)(0x64u); /* 0x2B07AEC3: mov byte ptr [ebp - 4], 0x64 */ 15771 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AEC7: call dword ptr [0x2b0b514c] */ 15772 RECOMP_FLAGS_IN(); 15773 PUSH32(esp, 1); /* 0x2B07AECD: push 1 */ 15774 ecx = ebp + (-0x6C); /* 0x2B07AECF: lea ecx, [ebp - 0x6c] */ 15775 MEM8(ebp + (-0x4)) = (uint8_t)(0x63u); /* 0x2B07AED2: mov byte ptr [ebp - 4], 0x63 */ 15776 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AED6: call dword ptr [0x2b0b514c] */ 15777 RECOMP_FLAGS_IN(); 15778 ecx = MEM32(ebp + (-0x40)); /* 0x2B07AEDC: mov ecx, dword ptr [ebp - 0x40] */ 15779 MEM32(edi + 0x10) = ecx; /* 0x2B07AEDF: mov dword ptr [edi + 0x10], ecx */ 15780 edx = MEM32(ebp + (-0x3C)); /* 0x2B07AEE2: mov edx, dword ptr [ebp - 0x3c] */ 15781 MEM32(edi + 0x14) = edx; /* 0x2B07AEE5: mov dword ptr [edi + 0x14], edx */ 15782 eax = MEM32(0x2B0B515C); /* 0x2B07AEE8: mov eax, dword ptr [0x2b0b515c] */ 15783 ecx = MEM32(eax); /* 0x2B07AEED: mov ecx, dword ptr [eax] */ 15784 PUSH32(esp, ecx); /* 0x2B07AEEF: push ecx */ 15785 PUSH32(esp, ebx); /* 0x2B07AEF0: push ebx */ 15786 edx = ebp + (-0x38); /* 0x2B07AEF1: lea edx, [ebp - 0x38] */ 15787 PUSH32(esp, edx); /* 0x2B07AEF4: push edx */ 15788 ecx = edi + 0x18; /* 0x2B07AEF5: lea ecx, [edi + 0x18] */ 15789 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AEF8: call dword ptr [0x2b0b5158] */ 15790 RECOMP_FLAGS_IN(); 15791 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AEFE: mov ecx, dword ptr [ebp - 0x28] */ 15792 eax = edi + 0x28; /* 0x2B07AF01: lea eax, [edi + 0x28] */ 15793 MEM32(eax) = ecx; /* 0x2B07AF04: mov dword ptr [eax], ecx */ 15794 edx = MEM32(ebp + (-0x24)); /* 0x2B07AF06: mov edx, dword ptr [ebp - 0x24] */ 15795 MEM32(eax + 0x4) = edx; /* 0x2B07AF09: mov dword ptr [eax + 4], edx */ 15796 ecx = MEM32(ebp + (-0x20)); /* 0x2B07AF0C: mov ecx, dword ptr [ebp - 0x20] */ 15797 MEM32(eax + 0x8) = ecx; /* 0x2B07AF0F: mov dword ptr [eax + 8], ecx */ 15798 edx = MEM32(ebp + (-0x1C)); /* 0x2B07AF12: mov edx, dword ptr [ebp - 0x1c] */ 15799 MEM32(eax + 0xC) = edx; /* 0x2B07AF15: mov dword ptr [eax + 0xc], edx */ 15800 eax = MEM32(ebp + (-0x18)); /* 0x2B07AF18: mov eax, dword ptr [ebp - 0x18] */ 15801 PUSH32(esp, 1); /* 0x2B07AF1B: push 1 */ 15802 ecx = ebp + (-0x38); /* 0x2B07AF1D: lea ecx, [ebp - 0x38] */ 15803 MEM32(edi + 0x38) = eax; /* 0x2B07AF20: mov dword ptr [edi + 0x38], eax */ 15804 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07AF23: mov byte ptr [ebp - 4], 1 */ 15805 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AF27: call dword ptr [0x2b0b514c] */ 15806 RECOMP_FLAGS_IN(); 15807 ecx = ebp + (-0xD); /* 0x2B07AF2D: lea ecx, [ebp - 0xd] */ 15808 PUSH32(esp, ecx); /* 0x2B07AF30: push ecx */ 15809 ecx = ebp + (-0x38); /* 0x2B07AF31: lea ecx, [ebp - 0x38] */ 15810 MEM32(ebp + (-0x14)) = 0x28Au; /* 0x2B07AF34: mov dword ptr [ebp - 0x14], 0x28a */ 15811 MEM32(ebp + (-0x40)) = 0x9FA2u; /* 0x2B07AF3B: mov dword ptr [ebp - 0x40], 0x9fa2 */ 15812 MEM32(ebp + (-0x3C)) = 0x8CCCu; /* 0x2B07AF42: mov dword ptr [ebp - 0x3c], 0x8ccc */ 15813 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07AF49: call dword ptr [0x2b0b5190] */ 15814 RECOMP_FLAGS_IN(); 15815 ecx = ebp + (-0x28); /* 0x2B07AF4F: lea ecx, [ebp - 0x28] */ 15816 MEM8(ebp + (-0x4)) = (uint8_t)(0x66u); /* 0x2B07AF52: mov byte ptr [ebp - 4], 0x66 */ 15817 RECOMP_ICALL(0x2B07F070u); /* 0x2B07AF56: call 0x2b07f070 */ /* not lifted */ 15818 RECOMP_FLAGS_IN(); 15819 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07AF5B: mov dword ptr [ebp - 0x18], ebx */ 15820 edi = 0x2B0EC67Cu; /* 0x2B07AF5E: mov edi, 0x2b0ec67c */ 15821 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15822 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07AF63: or ecx, 0xffffffff */ 15823 _cf = 0; 15824 _flag_k = FK_TEST; 15825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15826 eax = 0; /* 0x2B07AF66: xor eax, eax */ 15827 _cf = 0; 15828 _flag_k = FK_TEST; 15829 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; } /* 0x2B07AF68: repne scasb al, byte ptr es:[edi] */ 15830 ecx = ~ecx; /* 0x2B07AF6A: not ecx */ 15831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15832 ecx = ecx - 1; /* 0x2B07AF6C: dec ecx */ 15833 _flag_k = FK_DEC; 15834 PUSH32(esp, ecx); /* 0x2B07AF6D: push ecx */ 15835 PUSH32(esp, 0x2B0EC67Cu); /* 0x2B07AF6E: push 0x2b0ec67c */ 15836 ecx = ebp + (-0x38); /* 0x2B07AF73: lea ecx, [ebp - 0x38] */ 15837 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07AF76: call dword ptr [0x2b0b5148] */ 15838 RECOMP_FLAGS_IN(); 15839 ecx = ebp + (-0x74); /* 0x2B07AF7C: lea ecx, [ebp - 0x74] */ 15840 MEM8(ebp + (-0x4)) = (uint8_t)(0x67u); /* 0x2B07AF7F: mov byte ptr [ebp - 4], 0x67 */ 15841 RECOMP_ICALL(0x2B07C070u); /* 0x2B07AF83: call 0x2b07c070 */ /* not lifted */ 15842 RECOMP_FLAGS_IN(); 15843 PUSH32(esp, eax); /* 0x2B07AF88: push eax */ 15844 edx = ebp + (-0x14); /* 0x2B07AF89: lea edx, [ebp - 0x14] */ 15845 PUSH32(esp, edx); /* 0x2B07AF8C: push edx */ 15846 ecx = ebp + (-0xB0); /* 0x2B07AF8D: lea ecx, [ebp - 0xb0] */ 15847 MEM8(ebp + (-0x4)) = (uint8_t)(0x68u); /* 0x2B07AF93: mov byte ptr [ebp - 4], 0x68 */ 15848 RECOMP_ICALL(0x2B07F720u); /* 0x2B07AF97: call 0x2b07f720 */ /* not lifted */ 15849 RECOMP_FLAGS_IN(); 15850 PUSH32(esp, eax); /* 0x2B07AF9C: push eax */ 15851 eax = ebp + (-0x48); /* 0x2B07AF9D: lea eax, [ebp - 0x48] */ 15852 PUSH32(esp, eax); /* 0x2B07AFA0: push eax */ 15853 ecx = 0x2B0EF058u; /* 0x2B07AFA1: mov ecx, 0x2b0ef058 */ 15854 MEM8(ebp + (-0x4)) = (uint8_t)(0x69u); /* 0x2B07AFA6: mov byte ptr [ebp - 4], 0x69 */ 15855 RECOMP_ICALL(0x2B07F640u); /* 0x2B07AFAA: call 0x2b07f640 */ /* not lifted */ 15856 RECOMP_FLAGS_IN(); 15857 edi = MEM32(eax); /* 0x2B07AFAF: mov edi, dword ptr [eax] */ 15858 PUSH32(esp, 1); /* 0x2B07AFB1: push 1 */ 15859 ecx = ebp + (-0xA4); /* 0x2B07AFB3: lea ecx, [ebp - 0xa4] */ 15860 MEM8(ebp + (-0x4)) = (uint8_t)(0x68u); /* 0x2B07AFB9: mov byte ptr [ebp - 4], 0x68 */ 15861 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AFBD: call dword ptr [0x2b0b514c] */ 15862 RECOMP_FLAGS_IN(); 15863 PUSH32(esp, 1); /* 0x2B07AFC3: push 1 */ 15864 ecx = ebp + (-0x6C); /* 0x2B07AFC5: lea ecx, [ebp - 0x6c] */ 15865 MEM8(ebp + (-0x4)) = (uint8_t)(0x67u); /* 0x2B07AFC8: mov byte ptr [ebp - 4], 0x67 */ 15866 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07AFCC: call dword ptr [0x2b0b514c] */ 15867 RECOMP_FLAGS_IN(); 15868 ecx = MEM32(ebp + (-0x40)); /* 0x2B07AFD2: mov ecx, dword ptr [ebp - 0x40] */ 15869 MEM32(edi + 0x10) = ecx; /* 0x2B07AFD5: mov dword ptr [edi + 0x10], ecx */ 15870 edx = MEM32(ebp + (-0x3C)); /* 0x2B07AFD8: mov edx, dword ptr [ebp - 0x3c] */ 15871 MEM32(edi + 0x14) = edx; /* 0x2B07AFDB: mov dword ptr [edi + 0x14], edx */ 15872 eax = MEM32(0x2B0B515C); /* 0x2B07AFDE: mov eax, dword ptr [0x2b0b515c] */ 15873 ecx = MEM32(eax); /* 0x2B07AFE3: mov ecx, dword ptr [eax] */ 15874 PUSH32(esp, ecx); /* 0x2B07AFE5: push ecx */ 15875 PUSH32(esp, ebx); /* 0x2B07AFE6: push ebx */ 15876 edx = ebp + (-0x38); /* 0x2B07AFE7: lea edx, [ebp - 0x38] */ 15877 PUSH32(esp, edx); /* 0x2B07AFEA: push edx */ 15878 ecx = edi + 0x18; /* 0x2B07AFEB: lea ecx, [edi + 0x18] */ 15879 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07AFEE: call dword ptr [0x2b0b5158] */ 15880 RECOMP_FLAGS_IN(); 15881 ecx = MEM32(ebp + (-0x28)); /* 0x2B07AFF4: mov ecx, dword ptr [ebp - 0x28] */ 15882 eax = edi + 0x28; /* 0x2B07AFF7: lea eax, [edi + 0x28] */ 15883 MEM32(eax) = ecx; /* 0x2B07AFFA: mov dword ptr [eax], ecx */ 15884 edx = MEM32(ebp + (-0x24)); /* 0x2B07AFFC: mov edx, dword ptr [ebp - 0x24] */ 15885 MEM32(eax + 0x4) = edx; /* 0x2B07AFFF: mov dword ptr [eax + 4], edx */ 15886 ecx = MEM32(ebp + (-0x20)); /* 0x2B07B002: mov ecx, dword ptr [ebp - 0x20] */ 15887 MEM32(eax + 0x8) = ecx; /* 0x2B07B005: mov dword ptr [eax + 8], ecx */ 15888 edx = MEM32(ebp + (-0x1C)); /* 0x2B07B008: mov edx, dword ptr [ebp - 0x1c] */ 15889 MEM32(eax + 0xC) = edx; /* 0x2B07B00B: mov dword ptr [eax + 0xc], edx */ 15890 eax = MEM32(ebp + (-0x18)); /* 0x2B07B00E: mov eax, dword ptr [ebp - 0x18] */ 15891 PUSH32(esp, 1); /* 0x2B07B011: push 1 */ 15892 ecx = ebp + (-0x38); /* 0x2B07B013: lea ecx, [ebp - 0x38] */ 15893 MEM32(edi + 0x38) = eax; /* 0x2B07B016: mov dword ptr [edi + 0x38], eax */ 15894 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B019: mov byte ptr [ebp - 4], 1 */ 15895 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B01D: call dword ptr [0x2b0b514c] */ 15896 RECOMP_FLAGS_IN(); 15897 ecx = ebp + (-0xD); /* 0x2B07B023: lea ecx, [ebp - 0xd] */ 15898 PUSH32(esp, ecx); /* 0x2B07B026: push ecx */ 15899 ecx = ebp + (-0x38); /* 0x2B07B027: lea ecx, [ebp - 0x38] */ 15900 MEM32(ebp + (-0x14)) = 0x28Fu; /* 0x2B07B02A: mov dword ptr [ebp - 0x14], 0x28f */ 15901 MEM32(ebp + (-0x40)) = 0x913Eu; /* 0x2B07B031: mov dword ptr [ebp - 0x40], 0x913e */ 15902 MEM32(ebp + (-0x3C)) = 0x7A4Fu; /* 0x2B07B038: mov dword ptr [ebp - 0x3c], 0x7a4f */ 15903 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07B03F: call dword ptr [0x2b0b5190] */ 15904 RECOMP_FLAGS_IN(); 15905 ecx = ebp + (-0x28); /* 0x2B07B045: lea ecx, [ebp - 0x28] */ 15906 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Au); /* 0x2B07B048: mov byte ptr [ebp - 4], 0x6a */ 15907 RECOMP_ICALL(0x2B07F070u); /* 0x2B07B04C: call 0x2b07f070 */ /* not lifted */ 15908 RECOMP_FLAGS_IN(); 15909 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15910 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07B051: or ecx, 0xffffffff */ 15911 _cf = 0; 15912 _flag_k = FK_TEST; 15913 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15914 eax = 0; /* 0x2B07B054: xor eax, eax */ 15915 _cf = 0; 15916 _flag_k = FK_TEST; 15917 edi = 0x2B0EC670u; /* 0x2B07B056: mov edi, 0x2b0ec670 */ 15918 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; } /* 0x2B07B05B: repne scasb al, byte ptr es:[edi] */ 15919 ecx = ~ecx; /* 0x2B07B05D: not ecx */ 15920 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15921 ecx = ecx - 1; /* 0x2B07B05F: dec ecx */ 15922 _flag_k = FK_DEC; 15923 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07B060: mov dword ptr [ebp - 0x18], ebx */ 15924 PUSH32(esp, ecx); /* 0x2B07B063: push ecx */ 15925 PUSH32(esp, 0x2B0EC670u); /* 0x2B07B064: push 0x2b0ec670 */ 15926 ecx = ebp + (-0x38); /* 0x2B07B069: lea ecx, [ebp - 0x38] */ 15927 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07B06C: call dword ptr [0x2b0b5148] */ 15928 RECOMP_FLAGS_IN(); 15929 ecx = ebp + (-0x74); /* 0x2B07B072: lea ecx, [ebp - 0x74] */ 15930 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Bu); /* 0x2B07B075: mov byte ptr [ebp - 4], 0x6b */ 15931 RECOMP_ICALL(0x2B07C070u); /* 0x2B07B079: call 0x2b07c070 */ /* not lifted */ 15932 RECOMP_FLAGS_IN(); 15933 PUSH32(esp, eax); /* 0x2B07B07E: push eax */ 15934 edx = ebp + (-0x14); /* 0x2B07B07F: lea edx, [ebp - 0x14] */ 15935 PUSH32(esp, edx); /* 0x2B07B082: push edx */ 15936 ecx = ebp + (-0xB0); /* 0x2B07B083: lea ecx, [ebp - 0xb0] */ 15937 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Cu); /* 0x2B07B089: mov byte ptr [ebp - 4], 0x6c */ 15938 RECOMP_ICALL(0x2B07F720u); /* 0x2B07B08D: call 0x2b07f720 */ /* not lifted */ 15939 RECOMP_FLAGS_IN(); 15940 PUSH32(esp, eax); /* 0x2B07B092: push eax */ 15941 eax = ebp + (-0x48); /* 0x2B07B093: lea eax, [ebp - 0x48] */ 15942 PUSH32(esp, eax); /* 0x2B07B096: push eax */ 15943 ecx = 0x2B0EF058u; /* 0x2B07B097: mov ecx, 0x2b0ef058 */ 15944 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Du); /* 0x2B07B09C: mov byte ptr [ebp - 4], 0x6d */ 15945 RECOMP_ICALL(0x2B07F640u); /* 0x2B07B0A0: call 0x2b07f640 */ /* not lifted */ 15946 RECOMP_FLAGS_IN(); 15947 edi = MEM32(eax); /* 0x2B07B0A5: mov edi, dword ptr [eax] */ 15948 PUSH32(esp, 1); /* 0x2B07B0A7: push 1 */ 15949 ecx = ebp + (-0xA4); /* 0x2B07B0A9: lea ecx, [ebp - 0xa4] */ 15950 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Cu); /* 0x2B07B0AF: mov byte ptr [ebp - 4], 0x6c */ 15951 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B0B3: call dword ptr [0x2b0b514c] */ 15952 RECOMP_FLAGS_IN(); 15953 PUSH32(esp, 1); /* 0x2B07B0B9: push 1 */ 15954 ecx = ebp + (-0x6C); /* 0x2B07B0BB: lea ecx, [ebp - 0x6c] */ 15955 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Bu); /* 0x2B07B0BE: mov byte ptr [ebp - 4], 0x6b */ 15956 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B0C2: call dword ptr [0x2b0b514c] */ 15957 RECOMP_FLAGS_IN(); 15958 ecx = MEM32(ebp + (-0x40)); /* 0x2B07B0C8: mov ecx, dword ptr [ebp - 0x40] */ 15959 MEM32(edi + 0x10) = ecx; /* 0x2B07B0CB: mov dword ptr [edi + 0x10], ecx */ 15960 edx = MEM32(ebp + (-0x3C)); /* 0x2B07B0CE: mov edx, dword ptr [ebp - 0x3c] */ 15961 MEM32(edi + 0x14) = edx; /* 0x2B07B0D1: mov dword ptr [edi + 0x14], edx */ 15962 eax = MEM32(0x2B0B515C); /* 0x2B07B0D4: mov eax, dword ptr [0x2b0b515c] */ 15963 ecx = MEM32(eax); /* 0x2B07B0D9: mov ecx, dword ptr [eax] */ 15964 PUSH32(esp, ecx); /* 0x2B07B0DB: push ecx */ 15965 PUSH32(esp, ebx); /* 0x2B07B0DC: push ebx */ 15966 edx = ebp + (-0x38); /* 0x2B07B0DD: lea edx, [ebp - 0x38] */ 15967 PUSH32(esp, edx); /* 0x2B07B0E0: push edx */ 15968 ecx = edi + 0x18; /* 0x2B07B0E1: lea ecx, [edi + 0x18] */ 15969 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07B0E4: call dword ptr [0x2b0b5158] */ 15970 RECOMP_FLAGS_IN(); 15971 ecx = MEM32(ebp + (-0x28)); /* 0x2B07B0EA: mov ecx, dword ptr [ebp - 0x28] */ 15972 eax = edi + 0x28; /* 0x2B07B0ED: lea eax, [edi + 0x28] */ 15973 MEM32(eax) = ecx; /* 0x2B07B0F0: mov dword ptr [eax], ecx */ 15974 edx = MEM32(ebp + (-0x24)); /* 0x2B07B0F2: mov edx, dword ptr [ebp - 0x24] */ 15975 MEM32(eax + 0x4) = edx; /* 0x2B07B0F5: mov dword ptr [eax + 4], edx */ 15976 ecx = MEM32(ebp + (-0x20)); /* 0x2B07B0F8: mov ecx, dword ptr [ebp - 0x20] */ 15977 MEM32(eax + 0x8) = ecx; /* 0x2B07B0FB: mov dword ptr [eax + 8], ecx */ 15978 edx = MEM32(ebp + (-0x1C)); /* 0x2B07B0FE: mov edx, dword ptr [ebp - 0x1c] */ 15979 MEM32(eax + 0xC) = edx; /* 0x2B07B101: mov dword ptr [eax + 0xc], edx */ 15980 eax = MEM32(ebp + (-0x18)); /* 0x2B07B104: mov eax, dword ptr [ebp - 0x18] */ 15981 PUSH32(esp, 1); /* 0x2B07B107: push 1 */ 15982 ecx = ebp + (-0x38); /* 0x2B07B109: lea ecx, [ebp - 0x38] */ 15983 MEM32(edi + 0x38) = eax; /* 0x2B07B10C: mov dword ptr [edi + 0x38], eax */ 15984 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B10F: mov byte ptr [ebp - 4], 1 */ 15985 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B113: call dword ptr [0x2b0b514c] */ 15986 RECOMP_FLAGS_IN(); 15987 ecx = ebp + (-0xD); /* 0x2B07B119: lea ecx, [ebp - 0xd] */ 15988 PUSH32(esp, ecx); /* 0x2B07B11C: push ecx */ 15989 ecx = ebp + (-0x38); /* 0x2B07B11D: lea ecx, [ebp - 0x38] */ 15990 MEM32(ebp + (-0x14)) = 0x299u; /* 0x2B07B120: mov dword ptr [ebp - 0x14], 0x299 */ 15991 MEM32(ebp + (-0x40)) = 0x791Au; /* 0x2B07B127: mov dword ptr [ebp - 0x40], 0x791a */ 15992 MEM32(ebp + (-0x3C)) = 0x72C8u; /* 0x2B07B12E: mov dword ptr [ebp - 0x3c], 0x72c8 */ 15993 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07B135: call dword ptr [0x2b0b5190] */ 15994 RECOMP_FLAGS_IN(); 15995 ecx = ebp + (-0x28); /* 0x2B07B13B: lea ecx, [ebp - 0x28] */ 15996 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Eu); /* 0x2B07B13E: mov byte ptr [ebp - 4], 0x6e */ 15997 RECOMP_ICALL(0x2B07F070u); /* 0x2B07B142: call 0x2b07f070 */ /* not lifted */ 15998 RECOMP_FLAGS_IN(); 15999 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16000 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07B147: or ecx, 0xffffffff */ 16001 _cf = 0; 16002 _flag_k = FK_TEST; 16003 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16004 eax = 0; /* 0x2B07B14A: xor eax, eax */ 16005 _cf = 0; 16006 _flag_k = FK_TEST; 16007 edi = 0x2B0EC660u; /* 0x2B07B14C: mov edi, 0x2b0ec660 */ 16008 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; } /* 0x2B07B151: repne scasb al, byte ptr es:[edi] */ 16009 ecx = ~ecx; /* 0x2B07B153: not ecx */ 16010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16011 ecx = ecx - 1; /* 0x2B07B155: dec ecx */ 16012 _flag_k = FK_DEC; 16013 PUSH32(esp, ecx); /* 0x2B07B156: push ecx */ 16014 PUSH32(esp, 0x2B0EC660u); /* 0x2B07B157: push 0x2b0ec660 */ 16015 ecx = ebp + (-0x38); /* 0x2B07B15C: lea ecx, [ebp - 0x38] */ 16016 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07B15F: mov dword ptr [ebp - 0x18], ebx */ 16017 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07B162: call dword ptr [0x2b0b5148] */ 16018 RECOMP_FLAGS_IN(); 16019 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Fu); /* 0x2B07B168: mov byte ptr [ebp - 4], 0x6f */ 16020 ecx = ebp + (-0x74); /* 0x2B07B16C: lea ecx, [ebp - 0x74] */ 16021 RECOMP_ICALL(0x2B07C070u); /* 0x2B07B16F: call 0x2b07c070 */ /* not lifted */ 16022 RECOMP_FLAGS_IN(); 16023 PUSH32(esp, eax); /* 0x2B07B174: push eax */ 16024 edx = ebp + (-0x14); /* 0x2B07B175: lea edx, [ebp - 0x14] */ 16025 PUSH32(esp, edx); /* 0x2B07B178: push edx */ 16026 ecx = ebp + (-0xB0); /* 0x2B07B179: lea ecx, [ebp - 0xb0] */ 16027 MEM8(ebp + (-0x4)) = (uint8_t)(0x70u); /* 0x2B07B17F: mov byte ptr [ebp - 4], 0x70 */ 16028 RECOMP_ICALL(0x2B07F720u); /* 0x2B07B183: call 0x2b07f720 */ /* not lifted */ 16029 RECOMP_FLAGS_IN(); 16030 PUSH32(esp, eax); /* 0x2B07B188: push eax */ 16031 eax = ebp + (-0x48); /* 0x2B07B189: lea eax, [ebp - 0x48] */ 16032 PUSH32(esp, eax); /* 0x2B07B18C: push eax */ 16033 ecx = 0x2B0EF058u; /* 0x2B07B18D: mov ecx, 0x2b0ef058 */ 16034 MEM8(ebp + (-0x4)) = (uint8_t)(0x71u); /* 0x2B07B192: mov byte ptr [ebp - 4], 0x71 */ 16035 RECOMP_ICALL(0x2B07F640u); /* 0x2B07B196: call 0x2b07f640 */ /* not lifted */ 16036 RECOMP_FLAGS_IN(); 16037 edi = MEM32(eax); /* 0x2B07B19B: mov edi, dword ptr [eax] */ 16038 PUSH32(esp, 1); /* 0x2B07B19D: push 1 */ 16039 ecx = ebp + (-0xA4); /* 0x2B07B19F: lea ecx, [ebp - 0xa4] */ 16040 MEM8(ebp + (-0x4)) = (uint8_t)(0x70u); /* 0x2B07B1A5: mov byte ptr [ebp - 4], 0x70 */ 16041 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B1A9: call dword ptr [0x2b0b514c] */ 16042 RECOMP_FLAGS_IN(); 16043 PUSH32(esp, 1); /* 0x2B07B1AF: push 1 */ 16044 ecx = ebp + (-0x6C); /* 0x2B07B1B1: lea ecx, [ebp - 0x6c] */ 16045 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Fu); /* 0x2B07B1B4: mov byte ptr [ebp - 4], 0x6f */ 16046 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B1B8: call dword ptr [0x2b0b514c] */ 16047 RECOMP_FLAGS_IN(); 16048 ecx = MEM32(ebp + (-0x40)); /* 0x2B07B1BE: mov ecx, dword ptr [ebp - 0x40] */ 16049 MEM32(edi + 0x10) = ecx; /* 0x2B07B1C1: mov dword ptr [edi + 0x10], ecx */ 16050 edx = MEM32(ebp + (-0x3C)); /* 0x2B07B1C4: mov edx, dword ptr [ebp - 0x3c] */ 16051 MEM32(edi + 0x14) = edx; /* 0x2B07B1C7: mov dword ptr [edi + 0x14], edx */ 16052 eax = MEM32(0x2B0B515C); /* 0x2B07B1CA: mov eax, dword ptr [0x2b0b515c] */ 16053 ecx = MEM32(eax); /* 0x2B07B1CF: mov ecx, dword ptr [eax] */ 16054 PUSH32(esp, ecx); /* 0x2B07B1D1: push ecx */ 16055 PUSH32(esp, ebx); /* 0x2B07B1D2: push ebx */ 16056 edx = ebp + (-0x38); /* 0x2B07B1D3: lea edx, [ebp - 0x38] */ 16057 PUSH32(esp, edx); /* 0x2B07B1D6: push edx */ 16058 ecx = edi + 0x18; /* 0x2B07B1D7: lea ecx, [edi + 0x18] */ 16059 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07B1DA: call dword ptr [0x2b0b5158] */ 16060 RECOMP_FLAGS_IN(); 16061 ecx = MEM32(ebp + (-0x28)); /* 0x2B07B1E0: mov ecx, dword ptr [ebp - 0x28] */ 16062 eax = edi + 0x28; /* 0x2B07B1E3: lea eax, [edi + 0x28] */ 16063 MEM32(eax) = ecx; /* 0x2B07B1E6: mov dword ptr [eax], ecx */ 16064 edx = MEM32(ebp + (-0x24)); /* 0x2B07B1E8: mov edx, dword ptr [ebp - 0x24] */ 16065 MEM32(eax + 0x4) = edx; /* 0x2B07B1EB: mov dword ptr [eax + 4], edx */ 16066 ecx = MEM32(ebp + (-0x20)); /* 0x2B07B1EE: mov ecx, dword ptr [ebp - 0x20] */ 16067 MEM32(eax + 0x8) = ecx; /* 0x2B07B1F1: mov dword ptr [eax + 8], ecx */ 16068 edx = MEM32(ebp + (-0x1C)); /* 0x2B07B1F4: mov edx, dword ptr [ebp - 0x1c] */ 16069 MEM32(eax + 0xC) = edx; /* 0x2B07B1F7: mov dword ptr [eax + 0xc], edx */ 16070 eax = MEM32(ebp + (-0x18)); /* 0x2B07B1FA: mov eax, dword ptr [ebp - 0x18] */ 16071 PUSH32(esp, 1); /* 0x2B07B1FD: push 1 */ 16072 ecx = ebp + (-0x38); /* 0x2B07B1FF: lea ecx, [ebp - 0x38] */ 16073 MEM32(edi + 0x38) = eax; /* 0x2B07B202: mov dword ptr [edi + 0x38], eax */ 16074 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B205: mov byte ptr [ebp - 4], 1 */ 16075 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B209: call dword ptr [0x2b0b514c] */ 16076 RECOMP_FLAGS_IN(); 16077 ecx = ebp + (-0xD); /* 0x2B07B20F: lea ecx, [ebp - 0xd] */ 16078 PUSH32(esp, ecx); /* 0x2B07B212: push ecx */ 16079 ecx = ebp + (-0x38); /* 0x2B07B213: lea ecx, [ebp - 0x38] */ 16080 MEM32(ebp + (-0x14)) = 0x29Eu; /* 0x2B07B216: mov dword ptr [ebp - 0x14], 0x29e */ 16081 MEM32(ebp + (-0x40)) = 0x9131u; /* 0x2B07B21D: mov dword ptr [ebp - 0x40], 0x9131 */ 16082 MEM32(ebp + (-0x3C)) = 0x6997u; /* 0x2B07B224: mov dword ptr [ebp - 0x3c], 0x6997 */ 16083 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07B22B: call dword ptr [0x2b0b5190] */ 16084 RECOMP_FLAGS_IN(); 16085 ecx = ebp + (-0x28); /* 0x2B07B231: lea ecx, [ebp - 0x28] */ 16086 MEM8(ebp + (-0x4)) = (uint8_t)(0x72u); /* 0x2B07B234: mov byte ptr [ebp - 4], 0x72 */ 16087 RECOMP_ICALL(0x2B07F070u); /* 0x2B07B238: call 0x2b07f070 */ /* not lifted */ 16088 RECOMP_FLAGS_IN(); 16089 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16090 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07B23D: or ecx, 0xffffffff */ 16091 _cf = 0; 16092 _flag_k = FK_TEST; 16093 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16094 eax = 0; /* 0x2B07B240: xor eax, eax */ 16095 _cf = 0; 16096 _flag_k = FK_TEST; 16097 edi = 0x2B0EC654u; /* 0x2B07B242: mov edi, 0x2b0ec654 */ 16098 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; } /* 0x2B07B247: repne scasb al, byte ptr es:[edi] */ 16099 ecx = ~ecx; /* 0x2B07B249: not ecx */ 16100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16101 ecx = ecx - 1; /* 0x2B07B24B: dec ecx */ 16102 _flag_k = FK_DEC; 16103 PUSH32(esp, ecx); /* 0x2B07B24C: push ecx */ 16104 PUSH32(esp, 0x2B0EC654u); /* 0x2B07B24D: push 0x2b0ec654 */ 16105 ecx = ebp + (-0x38); /* 0x2B07B252: lea ecx, [ebp - 0x38] */ 16106 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07B255: mov dword ptr [ebp - 0x18], ebx */ 16107 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07B258: call dword ptr [0x2b0b5148] */ 16108 RECOMP_FLAGS_IN(); 16109 ecx = ebp + (-0x74); /* 0x2B07B25E: lea ecx, [ebp - 0x74] */ 16110 MEM8(ebp + (-0x4)) = (uint8_t)(0x73u); /* 0x2B07B261: mov byte ptr [ebp - 4], 0x73 */ 16111 RECOMP_ICALL(0x2B07C070u); /* 0x2B07B265: call 0x2b07c070 */ /* not lifted */ 16112 RECOMP_FLAGS_IN(); 16113 MEM8(ebp + (-0x4)) = (uint8_t)(0x74u); /* 0x2B07B26A: mov byte ptr [ebp - 4], 0x74 */ 16114 PUSH32(esp, eax); /* 0x2B07B26E: push eax */ 16115 edx = ebp + (-0x14); /* 0x2B07B26F: lea edx, [ebp - 0x14] */ 16116 PUSH32(esp, edx); /* 0x2B07B272: push edx */ 16117 ecx = ebp + (-0xB0); /* 0x2B07B273: lea ecx, [ebp - 0xb0] */ 16118 RECOMP_ICALL(0x2B07F720u); /* 0x2B07B279: call 0x2b07f720 */ /* not lifted */ 16119 RECOMP_FLAGS_IN(); 16120 PUSH32(esp, eax); /* 0x2B07B27E: push eax */ 16121 eax = ebp + (-0x48); /* 0x2B07B27F: lea eax, [ebp - 0x48] */ 16122 PUSH32(esp, eax); /* 0x2B07B282: push eax */ 16123 ecx = 0x2B0EF058u; /* 0x2B07B283: mov ecx, 0x2b0ef058 */ 16124 MEM8(ebp + (-0x4)) = (uint8_t)(0x75u); /* 0x2B07B288: mov byte ptr [ebp - 4], 0x75 */ 16125 RECOMP_ICALL(0x2B07F640u); /* 0x2B07B28C: call 0x2b07f640 */ /* not lifted */ 16126 RECOMP_FLAGS_IN(); 16127 edi = MEM32(eax); /* 0x2B07B291: mov edi, dword ptr [eax] */ 16128 PUSH32(esp, 1); /* 0x2B07B293: push 1 */ 16129 ecx = ebp + (-0xA4); /* 0x2B07B295: lea ecx, [ebp - 0xa4] */ 16130 MEM8(ebp + (-0x4)) = (uint8_t)(0x74u); /* 0x2B07B29B: mov byte ptr [ebp - 4], 0x74 */ 16131 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B29F: call dword ptr [0x2b0b514c] */ 16132 RECOMP_FLAGS_IN(); 16133 PUSH32(esp, 1); /* 0x2B07B2A5: push 1 */ 16134 ecx = ebp + (-0x6C); /* 0x2B07B2A7: lea ecx, [ebp - 0x6c] */ 16135 MEM8(ebp + (-0x4)) = (uint8_t)(0x73u); /* 0x2B07B2AA: mov byte ptr [ebp - 4], 0x73 */ 16136 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B2AE: call dword ptr [0x2b0b514c] */ 16137 RECOMP_FLAGS_IN(); 16138 ecx = MEM32(ebp + (-0x40)); /* 0x2B07B2B4: mov ecx, dword ptr [ebp - 0x40] */ 16139 MEM32(edi + 0x10) = ecx; /* 0x2B07B2B7: mov dword ptr [edi + 0x10], ecx */ 16140 edx = MEM32(ebp + (-0x3C)); /* 0x2B07B2BA: mov edx, dword ptr [ebp - 0x3c] */ 16141 MEM32(edi + 0x14) = edx; /* 0x2B07B2BD: mov dword ptr [edi + 0x14], edx */ 16142 eax = MEM32(0x2B0B515C); /* 0x2B07B2C0: mov eax, dword ptr [0x2b0b515c] */ 16143 ecx = MEM32(eax); /* 0x2B07B2C5: mov ecx, dword ptr [eax] */ 16144 PUSH32(esp, ecx); /* 0x2B07B2C7: push ecx */ 16145 PUSH32(esp, ebx); /* 0x2B07B2C8: push ebx */ 16146 edx = ebp + (-0x38); /* 0x2B07B2C9: lea edx, [ebp - 0x38] */ 16147 PUSH32(esp, edx); /* 0x2B07B2CC: push edx */ 16148 ecx = edi + 0x18; /* 0x2B07B2CD: lea ecx, [edi + 0x18] */ 16149 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07B2D0: call dword ptr [0x2b0b5158] */ 16150 RECOMP_FLAGS_IN(); 16151 ecx = MEM32(ebp + (-0x28)); /* 0x2B07B2D6: mov ecx, dword ptr [ebp - 0x28] */ 16152 eax = edi + 0x28; /* 0x2B07B2D9: lea eax, [edi + 0x28] */ 16153 MEM32(eax) = ecx; /* 0x2B07B2DC: mov dword ptr [eax], ecx */ 16154 edx = MEM32(ebp + (-0x24)); /* 0x2B07B2DE: mov edx, dword ptr [ebp - 0x24] */ 16155 MEM32(eax + 0x4) = edx; /* 0x2B07B2E1: mov dword ptr [eax + 4], edx */ 16156 ecx = MEM32(ebp + (-0x20)); /* 0x2B07B2E4: mov ecx, dword ptr [ebp - 0x20] */ 16157 MEM32(eax + 0x8) = ecx; /* 0x2B07B2E7: mov dword ptr [eax + 8], ecx */ 16158 edx = MEM32(ebp + (-0x1C)); /* 0x2B07B2EA: mov edx, dword ptr [ebp - 0x1c] */ 16159 MEM32(eax + 0xC) = edx; /* 0x2B07B2ED: mov dword ptr [eax + 0xc], edx */ 16160 eax = MEM32(ebp + (-0x18)); /* 0x2B07B2F0: mov eax, dword ptr [ebp - 0x18] */ 16161 PUSH32(esp, 1); /* 0x2B07B2F3: push 1 */ 16162 ecx = ebp + (-0x38); /* 0x2B07B2F5: lea ecx, [ebp - 0x38] */ 16163 MEM32(edi + 0x38) = eax; /* 0x2B07B2F8: mov dword ptr [edi + 0x38], eax */ 16164 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B2FB: mov byte ptr [ebp - 4], 1 */ 16165 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B2FF: call dword ptr [0x2b0b514c] */ 16166 RECOMP_FLAGS_IN(); 16167 ecx = ebp + (-0xD); /* 0x2B07B305: lea ecx, [ebp - 0xd] */ 16168 PUSH32(esp, ecx); /* 0x2B07B308: push ecx */ 16169 ecx = ebp + (-0x38); /* 0x2B07B309: lea ecx, [ebp - 0x38] */ 16170 MEM32(ebp + (-0x14)) = 0x2ADu; /* 0x2B07B30C: mov dword ptr [ebp - 0x14], 0x2ad */ 16171 MEM32(ebp + (-0x40)) = 0x86BFu; /* 0x2B07B313: mov dword ptr [ebp - 0x40], 0x86bf */ 16172 MEM32(ebp + (-0x3C)) = 0x7476u; /* 0x2B07B31A: mov dword ptr [ebp - 0x3c], 0x7476 */ 16173 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07B321: call dword ptr [0x2b0b5190] */ 16174 RECOMP_FLAGS_IN(); 16175 ecx = ebp + (-0x28); /* 0x2B07B327: lea ecx, [ebp - 0x28] */ 16176 MEM8(ebp + (-0x4)) = (uint8_t)(0x76u); /* 0x2B07B32A: mov byte ptr [ebp - 4], 0x76 */ 16177 RECOMP_ICALL(0x2B07F070u); /* 0x2B07B32E: call 0x2b07f070 */ /* not lifted */ 16178 RECOMP_FLAGS_IN(); 16179 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16180 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07B333: or ecx, 0xffffffff */ 16181 _cf = 0; 16182 _flag_k = FK_TEST; 16183 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16184 eax = 0; /* 0x2B07B336: xor eax, eax */ 16185 _cf = 0; 16186 _flag_k = FK_TEST; 16187 edi = 0x2B0EC644u; /* 0x2B07B338: mov edi, 0x2b0ec644 */ 16188 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; } /* 0x2B07B33D: repne scasb al, byte ptr es:[edi] */ 16189 ecx = ~ecx; /* 0x2B07B33F: not ecx */ 16190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16191 ecx = ecx - 1; /* 0x2B07B341: dec ecx */ 16192 _flag_k = FK_DEC; 16193 PUSH32(esp, ecx); /* 0x2B07B342: push ecx */ 16194 PUSH32(esp, 0x2B0EC644u); /* 0x2B07B343: push 0x2b0ec644 */ 16195 ecx = ebp + (-0x38); /* 0x2B07B348: lea ecx, [ebp - 0x38] */ 16196 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07B34B: mov dword ptr [ebp - 0x18], ebx */ 16197 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07B34E: call dword ptr [0x2b0b5148] */ 16198 RECOMP_FLAGS_IN(); 16199 ecx = ebp + (-0x74); /* 0x2B07B354: lea ecx, [ebp - 0x74] */ 16200 MEM8(ebp + (-0x4)) = (uint8_t)(0x77u); /* 0x2B07B357: mov byte ptr [ebp - 4], 0x77 */ 16201 RECOMP_ICALL(0x2B07C070u); /* 0x2B07B35B: call 0x2b07c070 */ /* not lifted */ 16202 RECOMP_FLAGS_IN(); 16203 PUSH32(esp, eax); /* 0x2B07B360: push eax */ 16204 edx = ebp + (-0x14); /* 0x2B07B361: lea edx, [ebp - 0x14] */ 16205 PUSH32(esp, edx); /* 0x2B07B364: push edx */ 16206 ecx = ebp + (-0xB0); /* 0x2B07B365: lea ecx, [ebp - 0xb0] */ 16207 MEM8(ebp + (-0x4)) = (uint8_t)(0x78u); /* 0x2B07B36B: mov byte ptr [ebp - 4], 0x78 */ 16208 RECOMP_ICALL(0x2B07F720u); /* 0x2B07B36F: call 0x2b07f720 */ /* not lifted */ 16209 RECOMP_FLAGS_IN(); 16210 PUSH32(esp, eax); /* 0x2B07B374: push eax */ 16211 eax = ebp + (-0x48); /* 0x2B07B375: lea eax, [ebp - 0x48] */ 16212 PUSH32(esp, eax); /* 0x2B07B378: push eax */ 16213 ecx = 0x2B0EF058u; /* 0x2B07B379: mov ecx, 0x2b0ef058 */ 16214 MEM8(ebp + (-0x4)) = (uint8_t)(0x79u); /* 0x2B07B37E: mov byte ptr [ebp - 4], 0x79 */ 16215 RECOMP_ICALL(0x2B07F640u); /* 0x2B07B382: call 0x2b07f640 */ /* not lifted */ 16216 RECOMP_FLAGS_IN(); 16217 edi = MEM32(eax); /* 0x2B07B387: mov edi, dword ptr [eax] */ 16218 PUSH32(esp, 1); /* 0x2B07B389: push 1 */ 16219 ecx = ebp + (-0xA4); /* 0x2B07B38B: lea ecx, [ebp - 0xa4] */ 16220 MEM8(ebp + (-0x4)) = (uint8_t)(0x78u); /* 0x2B07B391: mov byte ptr [ebp - 4], 0x78 */ 16221 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B395: call dword ptr [0x2b0b514c] */ 16222 RECOMP_FLAGS_IN(); 16223 PUSH32(esp, 1); /* 0x2B07B39B: push 1 */ 16224 ecx = ebp + (-0x6C); /* 0x2B07B39D: lea ecx, [ebp - 0x6c] */ 16225 MEM8(ebp + (-0x4)) = (uint8_t)(0x77u); /* 0x2B07B3A0: mov byte ptr [ebp - 4], 0x77 */ 16226 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B3A4: call dword ptr [0x2b0b514c] */ 16227 RECOMP_FLAGS_IN(); 16228 ecx = MEM32(ebp + (-0x40)); /* 0x2B07B3AA: mov ecx, dword ptr [ebp - 0x40] */ 16229 MEM32(edi + 0x10) = ecx; /* 0x2B07B3AD: mov dword ptr [edi + 0x10], ecx */ 16230 edx = MEM32(ebp + (-0x3C)); /* 0x2B07B3B0: mov edx, dword ptr [ebp - 0x3c] */ 16231 MEM32(edi + 0x14) = edx; /* 0x2B07B3B3: mov dword ptr [edi + 0x14], edx */ 16232 eax = MEM32(0x2B0B515C); /* 0x2B07B3B6: mov eax, dword ptr [0x2b0b515c] */ 16233 ecx = MEM32(eax); /* 0x2B07B3BB: mov ecx, dword ptr [eax] */ 16234 PUSH32(esp, ecx); /* 0x2B07B3BD: push ecx */ 16235 PUSH32(esp, ebx); /* 0x2B07B3BE: push ebx */ 16236 edx = ebp + (-0x38); /* 0x2B07B3BF: lea edx, [ebp - 0x38] */ 16237 PUSH32(esp, edx); /* 0x2B07B3C2: push edx */ 16238 ecx = edi + 0x18; /* 0x2B07B3C3: lea ecx, [edi + 0x18] */ 16239 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07B3C6: call dword ptr [0x2b0b5158] */ 16240 RECOMP_FLAGS_IN(); 16241 ecx = MEM32(ebp + (-0x28)); /* 0x2B07B3CC: mov ecx, dword ptr [ebp - 0x28] */ 16242 eax = edi + 0x28; /* 0x2B07B3CF: lea eax, [edi + 0x28] */ 16243 MEM32(eax) = ecx; /* 0x2B07B3D2: mov dword ptr [eax], ecx */ 16244 edx = MEM32(ebp + (-0x24)); /* 0x2B07B3D4: mov edx, dword ptr [ebp - 0x24] */ 16245 MEM32(eax + 0x4) = edx; /* 0x2B07B3D7: mov dword ptr [eax + 4], edx */ 16246 ecx = MEM32(ebp + (-0x20)); /* 0x2B07B3DA: mov ecx, dword ptr [ebp - 0x20] */ 16247 MEM32(eax + 0x8) = ecx; /* 0x2B07B3DD: mov dword ptr [eax + 8], ecx */ 16248 edx = MEM32(ebp + (-0x1C)); /* 0x2B07B3E0: mov edx, dword ptr [ebp - 0x1c] */ 16249 MEM32(eax + 0xC) = edx; /* 0x2B07B3E3: mov dword ptr [eax + 0xc], edx */ 16250 eax = MEM32(ebp + (-0x18)); /* 0x2B07B3E6: mov eax, dword ptr [ebp - 0x18] */ 16251 PUSH32(esp, 1); /* 0x2B07B3E9: push 1 */ 16252 ecx = ebp + (-0x38); /* 0x2B07B3EB: lea ecx, [ebp - 0x38] */ 16253 MEM32(edi + 0x38) = eax; /* 0x2B07B3EE: mov dword ptr [edi + 0x38], eax */ 16254 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B3F1: mov byte ptr [ebp - 4], 1 */ 16255 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B3F5: call dword ptr [0x2b0b514c] */ 16256 RECOMP_FLAGS_IN(); 16257 ecx = ebp + (-0xD); /* 0x2B07B3FB: lea ecx, [ebp - 0xd] */ 16258 PUSH32(esp, ecx); /* 0x2B07B3FE: push ecx */ 16259 ecx = ebp + (-0x38); /* 0x2B07B3FF: lea ecx, [ebp - 0x38] */ 16260 MEM32(ebp + (-0x14)) = 0x2AFu; /* 0x2B07B402: mov dword ptr [ebp - 0x14], 0x2af */ 16261 MEM32(ebp + (-0x40)) = 0x86D6u; /* 0x2B07B409: mov dword ptr [ebp - 0x40], 0x86d6 */ 16262 MEM32(ebp + (-0x3C)) = 0x7476u; /* 0x2B07B410: mov dword ptr [ebp - 0x3c], 0x7476 */ 16263 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B07B417: call dword ptr [0x2b0b5190] */ 16264 RECOMP_FLAGS_IN(); 16265 ecx = ebp + (-0x28); /* 0x2B07B41D: lea ecx, [ebp - 0x28] */ 16266 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Au); /* 0x2B07B420: mov byte ptr [ebp - 4], 0x7a */ 16267 RECOMP_ICALL(0x2B07F070u); /* 0x2B07B424: call 0x2b07f070 */ /* not lifted */ 16268 RECOMP_FLAGS_IN(); 16269 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16270 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07B429: or ecx, 0xffffffff */ 16271 _cf = 0; 16272 _flag_k = FK_TEST; 16273 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16274 eax = 0; /* 0x2B07B42C: xor eax, eax */ 16275 _cf = 0; 16276 _flag_k = FK_TEST; 16277 edi = 0x2B0EC634u; /* 0x2B07B42E: mov edi, 0x2b0ec634 */ 16278 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; } /* 0x2B07B433: repne scasb al, byte ptr es:[edi] */ 16279 ecx = ~ecx; /* 0x2B07B435: not ecx */ 16280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16281 ecx = ecx - 1; /* 0x2B07B437: dec ecx */ 16282 _flag_k = FK_DEC; 16283 PUSH32(esp, ecx); /* 0x2B07B438: push ecx */ 16284 PUSH32(esp, 0x2B0EC634u); /* 0x2B07B439: push 0x2b0ec634 */ 16285 ecx = ebp + (-0x38); /* 0x2B07B43E: lea ecx, [ebp - 0x38] */ 16286 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07B441: mov dword ptr [ebp - 0x18], ebx */ 16287 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07B444: call dword ptr [0x2b0b5148] */ 16288 RECOMP_FLAGS_IN(); 16289 edx = ebp + (-0x40); /* 0x2B07B44A: lea edx, [ebp - 0x40] */ 16290 PUSH32(esp, edx); /* 0x2B07B44D: push edx */ 16291 eax = ebp + (-0x14); /* 0x2B07B44E: lea eax, [ebp - 0x14] */ 16292 PUSH32(esp, eax); /* 0x2B07B451: push eax */ 16293 ecx = 0x2B0EF058u; /* 0x2B07B452: mov ecx, 0x2b0ef058 */ 16294 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Bu); /* 0x2B07B457: mov byte ptr [ebp - 4], 0x7b */ 16295 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B45B: call 0x2b07eda0 */ /* not lifted */ 16296 RECOMP_FLAGS_IN(); 16297 ecx = eax; /* 0x2B07B460: mov ecx, eax */ 16298 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B462: call 0x2b07c2a0 */ /* not lifted */ 16299 RECOMP_FLAGS_IN(); 16300 PUSH32(esp, 1); /* 0x2B07B467: push 1 */ 16301 ecx = ebp + (-0x38); /* 0x2B07B469: lea ecx, [ebp - 0x38] */ 16302 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B46C: mov byte ptr [ebp - 4], 1 */ 16303 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B470: call dword ptr [0x2b0b514c] */ 16304 RECOMP_FLAGS_IN(); 16305 PUSH32(esp, 0x2B0EC628u); /* 0x2B07B476: push 0x2b0ec628 */ 16306 MEM32(ebp + (-0x14)) = 0x2B7u; /* 0x2B07B47B: mov dword ptr [ebp - 0x14], 0x2b7 */ 16307 PUSH32(esp, 0x6994u); /* 0x2B07B482: push 0x6994 */ 16308 PUSH32(esp, 0x9C1Au); /* 0x2B07B487: push 0x9c1a */ 16309 ecx = ebp + (-0x74); /* 0x2B07B48C: lea ecx, [ebp - 0x74] */ 16310 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B48F: call 0x2b07c0a0 */ /* not lifted */ 16311 RECOMP_FLAGS_IN(); 16312 PUSH32(esp, eax); /* 0x2B07B494: push eax */ 16313 ecx = ebp + (-0x14); /* 0x2B07B495: lea ecx, [ebp - 0x14] */ 16314 PUSH32(esp, ecx); /* 0x2B07B498: push ecx */ 16315 ecx = 0x2B0EF058u; /* 0x2B07B499: mov ecx, 0x2b0ef058 */ 16316 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Cu); /* 0x2B07B49E: mov byte ptr [ebp - 4], 0x7c */ 16317 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B4A2: call 0x2b07eda0 */ /* not lifted */ 16318 RECOMP_FLAGS_IN(); 16319 ecx = eax; /* 0x2B07B4A7: mov ecx, eax */ 16320 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B4A9: call 0x2b07c2a0 */ /* not lifted */ 16321 RECOMP_FLAGS_IN(); 16322 PUSH32(esp, 1); /* 0x2B07B4AE: push 1 */ 16323 ecx = ebp + (-0x6C); /* 0x2B07B4B0: lea ecx, [ebp - 0x6c] */ 16324 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B4B3: mov byte ptr [ebp - 4], 1 */ 16325 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B4B7: call dword ptr [0x2b0b514c] */ 16326 RECOMP_FLAGS_IN(); 16327 PUSH32(esp, 0x2B0EC618u); /* 0x2B07B4BD: push 0x2b0ec618 */ 16328 PUSH32(esp, 0x6C39u); /* 0x2B07B4C2: push 0x6c39 */ 16329 PUSH32(esp, 0xA3DEu); /* 0x2B07B4C7: push 0xa3de */ 16330 ecx = ebp + (-0x74); /* 0x2B07B4CC: lea ecx, [ebp - 0x74] */ 16331 MEM32(ebp + (-0x14)) = 0x2B8u; /* 0x2B07B4CF: mov dword ptr [ebp - 0x14], 0x2b8 */ 16332 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B4D6: call 0x2b07c0a0 */ /* not lifted */ 16333 RECOMP_FLAGS_IN(); 16334 PUSH32(esp, eax); /* 0x2B07B4DB: push eax */ 16335 edx = ebp + (-0x14); /* 0x2B07B4DC: lea edx, [ebp - 0x14] */ 16336 PUSH32(esp, edx); /* 0x2B07B4DF: push edx */ 16337 ecx = 0x2B0EF058u; /* 0x2B07B4E0: mov ecx, 0x2b0ef058 */ 16338 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Du); /* 0x2B07B4E5: mov byte ptr [ebp - 4], 0x7d */ 16339 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B4E9: call 0x2b07eda0 */ /* not lifted */ 16340 RECOMP_FLAGS_IN(); 16341 ecx = eax; /* 0x2B07B4EE: mov ecx, eax */ 16342 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B4F0: call 0x2b07c2a0 */ /* not lifted */ 16343 RECOMP_FLAGS_IN(); 16344 PUSH32(esp, 1); /* 0x2B07B4F5: push 1 */ 16345 ecx = ebp + (-0x6C); /* 0x2B07B4F7: lea ecx, [ebp - 0x6c] */ 16346 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B4FA: mov byte ptr [ebp - 4], 1 */ 16347 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B4FE: call dword ptr [0x2b0b514c] */ 16348 RECOMP_FLAGS_IN(); 16349 PUSH32(esp, 0x2B0EC60Cu); /* 0x2B07B504: push 0x2b0ec60c */ 16350 PUSH32(esp, 0x69DEu); /* 0x2B07B509: push 0x69de */ 16351 PUSH32(esp, 0xA8C4u); /* 0x2B07B50E: push 0xa8c4 */ 16352 ecx = ebp + (-0x74); /* 0x2B07B513: lea ecx, [ebp - 0x74] */ 16353 MEM32(ebp + (-0x14)) = 0x2BCu; /* 0x2B07B516: mov dword ptr [ebp - 0x14], 0x2bc */ 16354 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B51D: call 0x2b07c0a0 */ /* not lifted */ 16355 RECOMP_FLAGS_IN(); 16356 PUSH32(esp, eax); /* 0x2B07B522: push eax */ 16357 eax = ebp + (-0x14); /* 0x2B07B523: lea eax, [ebp - 0x14] */ 16358 PUSH32(esp, eax); /* 0x2B07B526: push eax */ 16359 ecx = 0x2B0EF058u; /* 0x2B07B527: mov ecx, 0x2b0ef058 */ 16360 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Eu); /* 0x2B07B52C: mov byte ptr [ebp - 4], 0x7e */ 16361 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B530: call 0x2b07eda0 */ /* not lifted */ 16362 RECOMP_FLAGS_IN(); 16363 ecx = eax; /* 0x2B07B535: mov ecx, eax */ 16364 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B537: call 0x2b07c2a0 */ /* not lifted */ 16365 RECOMP_FLAGS_IN(); 16366 PUSH32(esp, 1); /* 0x2B07B53C: push 1 */ 16367 ecx = ebp + (-0x6C); /* 0x2B07B53E: lea ecx, [ebp - 0x6c] */ 16368 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B541: mov byte ptr [ebp - 4], 1 */ 16369 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B545: call dword ptr [0x2b0b514c] */ 16370 RECOMP_FLAGS_IN(); 16371 PUSH32(esp, 0x2B0EC5F4u); /* 0x2B07B54B: push 0x2b0ec5f4 */ 16372 PUSH32(esp, 0x679Eu); /* 0x2B07B550: push 0x679e */ 16373 PUSH32(esp, 0xAAECu); /* 0x2B07B555: push 0xaaec */ 16374 ecx = ebp + (-0x74); /* 0x2B07B55A: lea ecx, [ebp - 0x74] */ 16375 MEM32(ebp + (-0x14)) = 0x2C1u; /* 0x2B07B55D: mov dword ptr [ebp - 0x14], 0x2c1 */ 16376 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B564: call 0x2b07c0a0 */ /* not lifted */ 16377 RECOMP_FLAGS_IN(); 16378 PUSH32(esp, eax); /* 0x2B07B569: push eax */ 16379 ecx = ebp + (-0x14); /* 0x2B07B56A: lea ecx, [ebp - 0x14] */ 16380 PUSH32(esp, ecx); /* 0x2B07B56D: push ecx */ 16381 ecx = 0x2B0EF058u; /* 0x2B07B56E: mov ecx, 0x2b0ef058 */ 16382 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Fu); /* 0x2B07B573: mov byte ptr [ebp - 4], 0x7f */ 16383 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B577: call 0x2b07eda0 */ /* not lifted */ 16384 RECOMP_FLAGS_IN(); 16385 ecx = eax; /* 0x2B07B57C: mov ecx, eax */ 16386 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B57E: call 0x2b07c2a0 */ /* not lifted */ 16387 RECOMP_FLAGS_IN(); 16388 PUSH32(esp, 1); /* 0x2B07B583: push 1 */ 16389 ecx = ebp + (-0x6C); /* 0x2B07B585: lea ecx, [ebp - 0x6c] */ 16390 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B588: mov byte ptr [ebp - 4], 1 */ 16391 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B58C: call dword ptr [0x2b0b514c] */ 16392 RECOMP_FLAGS_IN(); 16393 PUSH32(esp, 0x2B0EC5E4u); /* 0x2B07B592: push 0x2b0ec5e4 */ 16394 PUSH32(esp, 0x6BCBu); /* 0x2B07B597: push 0x6bcb */ 16395 PUSH32(esp, 0xA92Cu); /* 0x2B07B59C: push 0xa92c */ 16396 ecx = ebp + (-0x74); /* 0x2B07B5A1: lea ecx, [ebp - 0x74] */ 16397 MEM32(ebp + (-0x14)) = 0x2C6u; /* 0x2B07B5A4: mov dword ptr [ebp - 0x14], 0x2c6 */ 16398 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B5AB: call 0x2b07c0a0 */ /* not lifted */ 16399 RECOMP_FLAGS_IN(); 16400 MEM8(ebp + (-0x4)) = (uint8_t)(0x80u); /* 0x2B07B5B0: mov byte ptr [ebp - 4], 0x80 */ 16401 PUSH32(esp, eax); /* 0x2B07B5B4: push eax */ 16402 edx = ebp + (-0x14); /* 0x2B07B5B5: lea edx, [ebp - 0x14] */ 16403 PUSH32(esp, edx); /* 0x2B07B5B8: push edx */ 16404 ecx = 0x2B0EF058u; /* 0x2B07B5B9: mov ecx, 0x2b0ef058 */ 16405 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B5BE: call 0x2b07eda0 */ /* not lifted */ 16406 RECOMP_FLAGS_IN(); 16407 ecx = eax; /* 0x2B07B5C3: mov ecx, eax */ 16408 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B5C5: call 0x2b07c2a0 */ /* not lifted */ 16409 RECOMP_FLAGS_IN(); 16410 PUSH32(esp, 1); /* 0x2B07B5CA: push 1 */ 16411 ecx = ebp + (-0x6C); /* 0x2B07B5CC: lea ecx, [ebp - 0x6c] */ 16412 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B5CF: mov byte ptr [ebp - 4], 1 */ 16413 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B5D3: call dword ptr [0x2b0b514c] */ 16414 RECOMP_FLAGS_IN(); 16415 PUSH32(esp, 0x2B0EC5D8u); /* 0x2B07B5D9: push 0x2b0ec5d8 */ 16416 PUSH32(esp, 0x6099u); /* 0x2B07B5DE: push 0x6099 */ 16417 PUSH32(esp, 0xADEEu); /* 0x2B07B5E3: push 0xadee */ 16418 ecx = ebp + (-0x74); /* 0x2B07B5E8: lea ecx, [ebp - 0x74] */ 16419 MEM32(ebp + (-0x14)) = 0x2CCu; /* 0x2B07B5EB: mov dword ptr [ebp - 0x14], 0x2cc */ 16420 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B5F2: call 0x2b07c0a0 */ /* not lifted */ 16421 RECOMP_FLAGS_IN(); 16422 PUSH32(esp, eax); /* 0x2B07B5F7: push eax */ 16423 eax = ebp + (-0x14); /* 0x2B07B5F8: lea eax, [ebp - 0x14] */ 16424 PUSH32(esp, eax); /* 0x2B07B5FB: push eax */ 16425 ecx = 0x2B0EF058u; /* 0x2B07B5FC: mov ecx, 0x2b0ef058 */ 16426 MEM8(ebp + (-0x4)) = (uint8_t)(0x81u); /* 0x2B07B601: mov byte ptr [ebp - 4], 0x81 */ 16427 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B605: call 0x2b07eda0 */ /* not lifted */ 16428 RECOMP_FLAGS_IN(); 16429 ecx = eax; /* 0x2B07B60A: mov ecx, eax */ 16430 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B60C: call 0x2b07c2a0 */ /* not lifted */ 16431 RECOMP_FLAGS_IN(); 16432 PUSH32(esp, 1); /* 0x2B07B611: push 1 */ 16433 ecx = ebp + (-0x6C); /* 0x2B07B613: lea ecx, [ebp - 0x6c] */ 16434 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B616: mov byte ptr [ebp - 4], 1 */ 16435 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B61A: call dword ptr [0x2b0b514c] */ 16436 RECOMP_FLAGS_IN(); 16437 PUSH32(esp, 0x2B0EC5C4u); /* 0x2B07B620: push 0x2b0ec5c4 */ 16438 PUSH32(esp, 0x6099u); /* 0x2B07B625: push 0x6099 */ 16439 PUSH32(esp, 0xADEEu); /* 0x2B07B62A: push 0xadee */ 16440 ecx = ebp + (-0x74); /* 0x2B07B62F: lea ecx, [ebp - 0x74] */ 16441 MEM32(ebp + (-0x14)) = 0x2CDu; /* 0x2B07B632: mov dword ptr [ebp - 0x14], 0x2cd */ 16442 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B639: call 0x2b07c0a0 */ /* not lifted */ 16443 RECOMP_FLAGS_IN(); 16444 PUSH32(esp, eax); /* 0x2B07B63E: push eax */ 16445 ecx = ebp + (-0x14); /* 0x2B07B63F: lea ecx, [ebp - 0x14] */ 16446 PUSH32(esp, ecx); /* 0x2B07B642: push ecx */ 16447 ecx = 0x2B0EF058u; /* 0x2B07B643: mov ecx, 0x2b0ef058 */ 16448 MEM8(ebp + (-0x4)) = (uint8_t)(0x82u); /* 0x2B07B648: mov byte ptr [ebp - 4], 0x82 */ 16449 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B64C: call 0x2b07eda0 */ /* not lifted */ 16450 RECOMP_FLAGS_IN(); 16451 ecx = eax; /* 0x2B07B651: mov ecx, eax */ 16452 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B653: call 0x2b07c2a0 */ /* not lifted */ 16453 RECOMP_FLAGS_IN(); 16454 PUSH32(esp, 1); /* 0x2B07B658: push 1 */ 16455 ecx = ebp + (-0x6C); /* 0x2B07B65A: lea ecx, [ebp - 0x6c] */ 16456 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B65D: mov byte ptr [ebp - 4], 1 */ 16457 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B661: call dword ptr [0x2b0b514c] */ 16458 RECOMP_FLAGS_IN(); 16459 PUSH32(esp, 0x2B0EC5B0u); /* 0x2B07B667: push 0x2b0ec5b0 */ 16460 PUSH32(esp, 0x769Bu); /* 0x2B07B66C: push 0x769b */ 16461 PUSH32(esp, 0x8501u); /* 0x2B07B671: push 0x8501 */ 16462 ecx = ebp + (-0x74); /* 0x2B07B676: lea ecx, [ebp - 0x74] */ 16463 MEM32(ebp + (-0x14)) = 0x2DAu; /* 0x2B07B679: mov dword ptr [ebp - 0x14], 0x2da */ 16464 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B680: call 0x2b07c0a0 */ /* not lifted */ 16465 RECOMP_FLAGS_IN(); 16466 PUSH32(esp, eax); /* 0x2B07B685: push eax */ 16467 edx = ebp + (-0x14); /* 0x2B07B686: lea edx, [ebp - 0x14] */ 16468 PUSH32(esp, edx); /* 0x2B07B689: push edx */ 16469 ecx = 0x2B0EF058u; /* 0x2B07B68A: mov ecx, 0x2b0ef058 */ 16470 MEM8(ebp + (-0x4)) = (uint8_t)(0x83u); /* 0x2B07B68F: mov byte ptr [ebp - 4], 0x83 */ 16471 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B693: call 0x2b07eda0 */ /* not lifted */ 16472 RECOMP_FLAGS_IN(); 16473 ecx = eax; /* 0x2B07B698: mov ecx, eax */ 16474 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B69A: call 0x2b07c2a0 */ /* not lifted */ 16475 RECOMP_FLAGS_IN(); 16476 PUSH32(esp, 1); /* 0x2B07B69F: push 1 */ 16477 ecx = ebp + (-0x6C); /* 0x2B07B6A1: lea ecx, [ebp - 0x6c] */ 16478 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B6A4: mov byte ptr [ebp - 4], 1 */ 16479 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B6A8: call dword ptr [0x2b0b514c] */ 16480 RECOMP_FLAGS_IN(); 16481 L_2B07B6AE: 16482 PUSH32(esp, 0x2B0EC59Cu); /* 0x2B07B6AE: push 0x2b0ec59c */ 16483 PUSH32(esp, 0x76A2u); /* 0x2B07B6B3: push 0x76a2 */ 16484 PUSH32(esp, 0x847Du); /* 0x2B07B6B8: push 0x847d */ 16485 ecx = ebp + (-0x74); /* 0x2B07B6BD: lea ecx, [ebp - 0x74] */ 16486 MEM32(ebp + (-0x14)) = 0x2DFu; /* 0x2B07B6C0: mov dword ptr [ebp - 0x14], 0x2df */ 16487 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B6C7: call 0x2b07c0a0 */ /* not lifted */ 16488 RECOMP_FLAGS_IN(); 16489 PUSH32(esp, eax); /* 0x2B07B6CC: push eax */ 16490 eax = ebp + (-0x14); /* 0x2B07B6CD: lea eax, [ebp - 0x14] */ 16491 PUSH32(esp, eax); /* 0x2B07B6D0: push eax */ 16492 ecx = 0x2B0EF058u; /* 0x2B07B6D1: mov ecx, 0x2b0ef058 */ 16493 MEM8(ebp + (-0x4)) = (uint8_t)(0x84u); /* 0x2B07B6D6: mov byte ptr [ebp - 4], 0x84 */ 16494 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B6DA: call 0x2b07eda0 */ /* not lifted */ 16495 RECOMP_FLAGS_IN(); 16496 ecx = eax; /* 0x2B07B6DF: mov ecx, eax */ 16497 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B6E1: call 0x2b07c2a0 */ /* not lifted */ 16498 RECOMP_FLAGS_IN(); 16499 PUSH32(esp, 1); /* 0x2B07B6E6: push 1 */ 16500 ecx = ebp + (-0x6C); /* 0x2B07B6E8: lea ecx, [ebp - 0x6c] */ 16501 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B6EB: mov byte ptr [ebp - 4], 1 */ 16502 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B6EF: call dword ptr [0x2b0b514c] */ 16503 RECOMP_FLAGS_IN(); 16504 PUSH32(esp, 0x2B0EC588u); /* 0x2B07B6F5: push 0x2b0ec588 */ 16505 PUSH32(esp, 0x7696u); /* 0x2B07B6FA: push 0x7696 */ 16506 PUSH32(esp, 0x842Du); /* 0x2B07B6FF: push 0x842d */ 16507 ecx = ebp + (-0x74); /* 0x2B07B704: lea ecx, [ebp - 0x74] */ 16508 MEM32(ebp + (-0x14)) = 0x2E4u; /* 0x2B07B707: mov dword ptr [ebp - 0x14], 0x2e4 */ 16509 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B70E: call 0x2b07c0a0 */ /* not lifted */ 16510 RECOMP_FLAGS_IN(); 16511 PUSH32(esp, eax); /* 0x2B07B713: push eax */ 16512 ecx = ebp + (-0x14); /* 0x2B07B714: lea ecx, [ebp - 0x14] */ 16513 PUSH32(esp, ecx); /* 0x2B07B717: push ecx */ 16514 ecx = 0x2B0EF058u; /* 0x2B07B718: mov ecx, 0x2b0ef058 */ 16515 MEM8(ebp + (-0x4)) = (uint8_t)(0x85u); /* 0x2B07B71D: mov byte ptr [ebp - 4], 0x85 */ 16516 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B721: call 0x2b07eda0 */ /* not lifted */ 16517 RECOMP_FLAGS_IN(); 16518 ecx = eax; /* 0x2B07B726: mov ecx, eax */ 16519 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B728: call 0x2b07c2a0 */ /* not lifted */ 16520 RECOMP_FLAGS_IN(); 16521 PUSH32(esp, 1); /* 0x2B07B72D: push 1 */ 16522 ecx = ebp + (-0x6C); /* 0x2B07B72F: lea ecx, [ebp - 0x6c] */ 16523 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B732: mov byte ptr [ebp - 4], 1 */ 16524 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B736: call dword ptr [0x2b0b514c] */ 16525 RECOMP_FLAGS_IN(); 16526 PUSH32(esp, 0x2B0EC580u); /* 0x2B07B73C: push 0x2b0ec580 */ 16527 PUSH32(esp, 0x8497u); /* 0x2B07B741: push 0x8497 */ 16528 PUSH32(esp, 0x9656u); /* 0x2B07B746: push 0x9656 */ 16529 ecx = ebp + (-0x74); /* 0x2B07B74B: lea ecx, [ebp - 0x74] */ 16530 MEM32(ebp + (-0x14)) = 0x2F8u; /* 0x2B07B74E: mov dword ptr [ebp - 0x14], 0x2f8 */ 16531 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B755: call 0x2b07c0a0 */ /* not lifted */ 16532 RECOMP_FLAGS_IN(); 16533 PUSH32(esp, eax); /* 0x2B07B75A: push eax */ 16534 edx = ebp + (-0x14); /* 0x2B07B75B: lea edx, [ebp - 0x14] */ 16535 PUSH32(esp, edx); /* 0x2B07B75E: push edx */ 16536 ecx = 0x2B0EF058u; /* 0x2B07B75F: mov ecx, 0x2b0ef058 */ 16537 MEM8(ebp + (-0x4)) = (uint8_t)(0x86u); /* 0x2B07B764: mov byte ptr [ebp - 4], 0x86 */ 16538 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B768: call 0x2b07eda0 */ /* not lifted */ 16539 RECOMP_FLAGS_IN(); 16540 ecx = eax; /* 0x2B07B76D: mov ecx, eax */ 16541 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B76F: call 0x2b07c2a0 */ /* not lifted */ 16542 RECOMP_FLAGS_IN(); 16543 PUSH32(esp, 1); /* 0x2B07B774: push 1 */ 16544 ecx = ebp + (-0x6C); /* 0x2B07B776: lea ecx, [ebp - 0x6c] */ 16545 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B779: mov byte ptr [ebp - 4], 1 */ 16546 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B77D: call dword ptr [0x2b0b514c] */ 16547 RECOMP_FLAGS_IN(); 16548 PUSH32(esp, 0x2B0EC570u); /* 0x2B07B783: push 0x2b0ec570 */ 16549 PUSH32(esp, 0x8E00u); /* 0x2B07B788: push 0x8e00 */ 16550 PUSH32(esp, 0x94AEu); /* 0x2B07B78D: push 0x94ae */ 16551 ecx = ebp + (-0x74); /* 0x2B07B792: lea ecx, [ebp - 0x74] */ 16552 MEM32(ebp + (-0x14)) = 0x316u; /* 0x2B07B795: mov dword ptr [ebp - 0x14], 0x316 */ 16553 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B79C: call 0x2b07c0a0 */ /* not lifted */ 16554 RECOMP_FLAGS_IN(); 16555 PUSH32(esp, eax); /* 0x2B07B7A1: push eax */ 16556 eax = ebp + (-0x14); /* 0x2B07B7A2: lea eax, [ebp - 0x14] */ 16557 PUSH32(esp, eax); /* 0x2B07B7A5: push eax */ 16558 ecx = 0x2B0EF058u; /* 0x2B07B7A6: mov ecx, 0x2b0ef058 */ 16559 MEM8(ebp + (-0x4)) = (uint8_t)(0x87u); /* 0x2B07B7AB: mov byte ptr [ebp - 4], 0x87 */ 16560 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B7AF: call 0x2b07eda0 */ /* not lifted */ 16561 RECOMP_FLAGS_IN(); 16562 ecx = eax; /* 0x2B07B7B4: mov ecx, eax */ 16563 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B7B6: call 0x2b07c2a0 */ /* not lifted */ 16564 RECOMP_FLAGS_IN(); 16565 PUSH32(esp, 1); /* 0x2B07B7BB: push 1 */ 16566 ecx = ebp + (-0x6C); /* 0x2B07B7BD: lea ecx, [ebp - 0x6c] */ 16567 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B7C0: mov byte ptr [ebp - 4], 1 */ 16568 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B7C4: call dword ptr [0x2b0b514c] */ 16569 RECOMP_FLAGS_IN(); 16570 PUSH32(esp, 0x2B0EC55Cu); /* 0x2B07B7CA: push 0x2b0ec55c */ 16571 PUSH32(esp, 0x931Cu); /* 0x2B07B7CF: push 0x931c */ 16572 PUSH32(esp, 0x94C1u); /* 0x2B07B7D4: push 0x94c1 */ 16573 ecx = ebp + (-0x74); /* 0x2B07B7D9: lea ecx, [ebp - 0x74] */ 16574 MEM32(ebp + (-0x14)) = 0x317u; /* 0x2B07B7DC: mov dword ptr [ebp - 0x14], 0x317 */ 16575 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B7E3: call 0x2b07c0a0 */ /* not lifted */ 16576 RECOMP_FLAGS_IN(); 16577 PUSH32(esp, eax); /* 0x2B07B7E8: push eax */ 16578 ecx = ebp + (-0x14); /* 0x2B07B7E9: lea ecx, [ebp - 0x14] */ 16579 PUSH32(esp, ecx); /* 0x2B07B7EC: push ecx */ 16580 ecx = 0x2B0EF058u; /* 0x2B07B7ED: mov ecx, 0x2b0ef058 */ 16581 MEM8(ebp + (-0x4)) = (uint8_t)(0x88u); /* 0x2B07B7F2: mov byte ptr [ebp - 4], 0x88 */ 16582 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B7F6: call 0x2b07eda0 */ /* not lifted */ 16583 RECOMP_FLAGS_IN(); 16584 ecx = eax; /* 0x2B07B7FB: mov ecx, eax */ 16585 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B7FD: call 0x2b07c2a0 */ /* not lifted */ 16586 RECOMP_FLAGS_IN(); 16587 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B802: mov byte ptr [ebp - 4], 1 */ 16588 PUSH32(esp, 1); /* 0x2B07B806: push 1 */ 16589 ecx = ebp + (-0x6C); /* 0x2B07B808: lea ecx, [ebp - 0x6c] */ 16590 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B80B: call dword ptr [0x2b0b514c] */ 16591 RECOMP_FLAGS_IN(); 16592 PUSH32(esp, 0x2B0EC548u); /* 0x2B07B811: push 0x2b0ec548 */ 16593 PUSH32(esp, 0x993Bu); /* 0x2B07B816: push 0x993b */ 16594 PUSH32(esp, 0x8444u); /* 0x2B07B81B: push 0x8444 */ 16595 ecx = ebp + (-0x74); /* 0x2B07B820: lea ecx, [ebp - 0x74] */ 16596 MEM32(ebp + (-0x14)) = 0x31Bu; /* 0x2B07B823: mov dword ptr [ebp - 0x14], 0x31b */ 16597 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B82A: call 0x2b07c0a0 */ /* not lifted */ 16598 RECOMP_FLAGS_IN(); 16599 PUSH32(esp, eax); /* 0x2B07B82F: push eax */ 16600 edx = ebp + (-0x14); /* 0x2B07B830: lea edx, [ebp - 0x14] */ 16601 PUSH32(esp, edx); /* 0x2B07B833: push edx */ 16602 ecx = 0x2B0EF058u; /* 0x2B07B834: mov ecx, 0x2b0ef058 */ 16603 MEM8(ebp + (-0x4)) = (uint8_t)(0x89u); /* 0x2B07B839: mov byte ptr [ebp - 4], 0x89 */ 16604 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B83D: call 0x2b07eda0 */ /* not lifted */ 16605 RECOMP_FLAGS_IN(); 16606 ecx = eax; /* 0x2B07B842: mov ecx, eax */ 16607 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B844: call 0x2b07c2a0 */ /* not lifted */ 16608 RECOMP_FLAGS_IN(); 16609 PUSH32(esp, 1); /* 0x2B07B849: push 1 */ 16610 ecx = ebp + (-0x6C); /* 0x2B07B84B: lea ecx, [ebp - 0x6c] */ 16611 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B84E: mov byte ptr [ebp - 4], 1 */ 16612 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B852: call dword ptr [0x2b0b514c] */ 16613 RECOMP_FLAGS_IN(); 16614 PUSH32(esp, 0x2B0EC53Cu); /* 0x2B07B858: push 0x2b0ec53c */ 16615 PUSH32(esp, 0x95D8u); /* 0x2B07B85D: push 0x95d8 */ 16616 PUSH32(esp, 0x90F3u); /* 0x2B07B862: push 0x90f3 */ 16617 ecx = ebp + (-0x74); /* 0x2B07B867: lea ecx, [ebp - 0x74] */ 16618 MEM32(ebp + (-0x14)) = 0x320u; /* 0x2B07B86A: mov dword ptr [ebp - 0x14], 0x320 */ 16619 RECOMP_ICALL(0x2B07C0A0u); /* 0x2B07B871: call 0x2b07c0a0 */ /* not lifted */ 16620 RECOMP_FLAGS_IN(); 16621 PUSH32(esp, eax); /* 0x2B07B876: push eax */ 16622 eax = ebp + (-0x14); /* 0x2B07B877: lea eax, [ebp - 0x14] */ 16623 PUSH32(esp, eax); /* 0x2B07B87A: push eax */ 16624 ecx = 0x2B0EF058u; /* 0x2B07B87B: mov ecx, 0x2b0ef058 */ 16625 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Au); /* 0x2B07B880: mov byte ptr [ebp - 4], 0x8a */ 16626 RECOMP_ICALL(0x2B07EDA0u); /* 0x2B07B884: call 0x2b07eda0 */ /* not lifted */ 16627 RECOMP_FLAGS_IN(); 16628 ecx = eax; /* 0x2B07B889: mov ecx, eax */ 16629 RECOMP_ICALL(0x2B07C2A0u); /* 0x2B07B88B: call 0x2b07c2a0 */ /* not lifted */ 16630 RECOMP_FLAGS_IN(); 16631 PUSH32(esp, 1); /* 0x2B07B890: push 1 */ 16632 ecx = ebp + (-0x6C); /* 0x2B07B892: lea ecx, [ebp - 0x6c] */ 16633 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B895: mov byte ptr [ebp - 4], 1 */ 16634 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07B899: call dword ptr [0x2b0b514c] */ 16635 RECOMP_FLAGS_IN(); 16636 MEM32(0x2B0EF078) = esi; /* 0x2B07B89F: mov dword ptr [0x2b0ef078], esi */ 16637 MEM32(esi + 0x10) = 0x53FCu; /* 0x2B07B8A5: mov dword ptr [esi + 0x10], 0x53fc */ 16638 MEM32(esi) = ebx; /* 0x2B07B8AC: mov dword ptr [esi], ebx */ 16639 MEM32(esi + 0x4) = ebx; /* 0x2B07B8AE: mov dword ptr [esi + 4], ebx */ 16640 MEM32(esi + 0x74) = ebx; /* 0x2B07B8B1: mov dword ptr [esi + 0x74], ebx */ 16641 MEM32(esi + 0x78) = ebx; /* 0x2B07B8B4: mov dword ptr [esi + 0x78], ebx */ 16642 PUSH32(esp, 0x40u); /* 0x2B07B8B7: push 0x40 */ 16643 MEM32(0x2B0EF080) = ebx; /* 0x2B07B8B9: mov dword ptr [0x2b0ef080], ebx */ 16644 MEM32(0x2B0EF084) = ebx; /* 0x2B07B8BF: mov dword ptr [0x2b0ef084], ebx */ 16645 MEM32(0x2B0EF088) = ebx; /* 0x2B07B8C5: mov dword ptr [0x2b0ef088], ebx */ 16646 MEM32(0x2B0EF08C) = ebx; /* 0x2B07B8CB: mov dword ptr [0x2b0ef08c], ebx */ 16647 MEM32(ebp + (-0x10C)) = 0x6Bu; /* 0x2B07B8D1: mov dword ptr [ebp - 0x10c], 0x6b */ 16648 MEM32(ebp + (-0x108)) = 0x6Cu; /* 0x2B07B8DB: mov dword ptr [ebp - 0x108], 0x6c */ 16649 MEM32(ebp + (-0x110)) = 0x6Du; /* 0x2B07B8E5: mov dword ptr [ebp - 0x110], 0x6d */ 16650 MEM32(ebp + (-0x114)) = 0x6Eu; /* 0x2B07B8EF: mov dword ptr [ebp - 0x114], 0x6e */ 16651 MEM32(ebp + (-0x118)) = 0x6Fu; /* 0x2B07B8F9: mov dword ptr [ebp - 0x118], 0x6f */ 16652 MEM32(ebp + (-0x11C)) = 0x70u; /* 0x2B07B903: mov dword ptr [ebp - 0x11c], 0x70 */ 16653 MEM32(ebp + (-0x124)) = 0x71u; /* 0x2B07B90D: mov dword ptr [ebp - 0x124], 0x71 */ 16654 MEM32(ebp + (-0x120)) = 0x72u; /* 0x2B07B917: mov dword ptr [ebp - 0x120], 0x72 */ 16655 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07B921: call 0x2b0ab212 */ /* not lifted */ 16656 RECOMP_FLAGS_IN(); 16657 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16658 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16659 esp = esp + 4; /* 0x2B07B926: add esp, 4 */ 16660 _flag_k = FK_ADD; 16661 MEM32(ebp + (-0x14)) = eax; /* 0x2B07B929: mov dword ptr [ebp - 0x14], eax */ 16662 /* cmp eax, ebx */ /* 0x2B07B92C: cmp eax, ebx */ 16663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16665 _flag_k = FK_CMP; 16666 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Bu); /* 0x2B07B92E: mov byte ptr [ebp - 4], 0x8b */ 16667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07B950; /* 0x2B07B932: je 0x2b07b950 */ 16668 L_2B07B934: 16669 ecx = MEM32(esi + 0x10); /* 0x2B07B934: mov ecx, dword ptr [esi + 0x10] */ 16670 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16671 ecx = ecx + 1; /* 0x2B07B937: inc ecx */ 16672 _flag_k = FK_INC; 16673 PUSH32(esp, ecx); /* 0x2B07B938: push ecx */ 16674 PUSH32(esp, esi); /* 0x2B07B939: push esi */ 16675 PUSH32(esp, 0x2B07E280u); /* 0x2B07B93A: push 0x2b07e280 */ 16676 edx = ebp + (-0x124); /* 0x2B07B93F: lea edx, [ebp - 0x124] */ 16677 PUSH32(esp, edx); /* 0x2B07B945: push edx */ 16678 ecx = eax; /* 0x2B07B946: mov ecx, eax */ 16679 RECOMP_ICALL(MEM32(0x2B0B59F4)); /* 0x2B07B948: call dword ptr [0x2b0b59f4] */ 16680 RECOMP_FLAGS_IN(); 16681 goto L_2B07B952; /* 0x2B07B94E: jmp 0x2b07b952 */ 16682 L_2B07B950: 16683 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16684 eax = 0; /* 0x2B07B950: xor eax, eax */ 16685 _cf = 0; 16686 _flag_k = FK_TEST; 16687 L_2B07B952: 16688 MEM32(esi + 0x1C) = eax; /* 0x2B07B952: mov dword ptr [esi + 0x1c], eax */ 16689 eax = MEM32(eax + 0x3C); /* 0x2B07B955: mov eax, dword ptr [eax + 0x3c] */ 16690 MEM32(eax + 0x90) = 0x2B07E4B0u; /* 0x2B07B958: mov dword ptr [eax + 0x90], 0x2b07e4b0 */ 16691 MEM32(eax + 0x94) = esi; /* 0x2B07B962: mov dword ptr [eax + 0x94], esi */ 16692 eax = MEM32(esi + 0x1C); /* 0x2B07B968: mov eax, dword ptr [esi + 0x1c] */ 16693 eax = MEM32(eax + 0x3C); /* 0x2B07B96B: mov eax, dword ptr [eax + 0x3c] */ 16694 ecx = 0xB4u; /* 0x2B07B96E: mov ecx, 0xb4 */ 16695 edx = ecx; /* 0x2B07B973: mov edx, ecx */ 16696 MEM32(eax + 0x6C) = ecx; /* 0x2B07B975: mov dword ptr [eax + 0x6c], ecx */ 16697 PUSH32(esp, 0x14u); /* 0x2B07B978: push 0x14 */ 16698 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B97A: mov byte ptr [ebp - 4], 1 */ 16699 MEM32(eax + 0x70) = edx; /* 0x2B07B97E: mov dword ptr [eax + 0x70], edx */ 16700 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07B981: call 0x2b0ab212 */ /* not lifted */ 16701 RECOMP_FLAGS_IN(); 16702 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16704 esp = esp + 4; /* 0x2B07B986: add esp, 4 */ 16705 _flag_k = FK_ADD; 16706 MEM32(ebp + (-0x14)) = eax; /* 0x2B07B989: mov dword ptr [ebp - 0x14], eax */ 16707 /* cmp eax, ebx */ /* 0x2B07B98C: cmp eax, ebx */ 16708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16710 _flag_k = FK_CMP; 16711 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Cu); /* 0x2B07B98E: mov byte ptr [ebp - 4], 0x8c */ 16712 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07B9A2; /* 0x2B07B992: je 0x2b07b9a2 */ 16713 L_2B07B994: 16714 ecx = MEM32(esi + 0x10); /* 0x2B07B994: mov ecx, dword ptr [esi + 0x10] */ 16715 PUSH32(esp, ecx); /* 0x2B07B997: push ecx */ 16716 ecx = eax; /* 0x2B07B998: mov ecx, eax */ 16717 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B07B99A: call dword ptr [0x2b0b5b10] */ 16718 RECOMP_FLAGS_IN(); 16719 goto L_2B07B9A4; /* 0x2B07B9A0: jmp 0x2b07b9a4 */ 16720 L_2B07B9A2: 16721 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16722 eax = 0; /* 0x2B07B9A2: xor eax, eax */ 16723 _cf = 0; 16724 _flag_k = FK_TEST; 16725 L_2B07B9A4: 16726 PUSH32(esp, ebx); /* 0x2B07B9A4: push ebx */ 16727 ecx = eax; /* 0x2B07B9A5: mov ecx, eax */ 16728 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07B9A7: mov byte ptr [ebp - 4], 1 */ 16729 MEM32(esi + 0x20) = eax; /* 0x2B07B9AB: mov dword ptr [esi + 0x20], eax */ 16730 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B07B9AE: call dword ptr [0x2b0b5b0c] */ 16731 RECOMP_FLAGS_IN(); 16732 eax = 8; /* 0x2B07B9B4: mov eax, 8 */ 16733 PUSH32(esp, 0x40u); /* 0x2B07B9B9: push 0x40 */ 16734 MEM32(ebp + (-0x104)) = eax; /* 0x2B07B9BB: mov dword ptr [ebp - 0x104], eax */ 16735 MEM32(ebp + (-0x100)) = eax; /* 0x2B07B9C1: mov dword ptr [ebp - 0x100], eax */ 16736 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07B9C7: call 0x2b0ab212 */ /* not lifted */ 16737 RECOMP_FLAGS_IN(); 16738 edi = eax; /* 0x2B07B9CC: mov edi, eax */ 16739 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16740 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16741 esp = esp + 4; /* 0x2B07B9CE: add esp, 4 */ 16742 _flag_k = FK_ADD; 16743 MEM32(ebp + (-0x14)) = edi; /* 0x2B07B9D1: mov dword ptr [ebp - 0x14], edi */ 16744 /* cmp edi, ebx */ /* 0x2B07B9D4: cmp edi, ebx */ 16745 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 16746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16747 _flag_k = FK_CMP; 16748 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Du); /* 0x2B07B9D6: mov byte ptr [ebp - 4], 0x8d */ 16749 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BA0E; /* 0x2B07B9DA: je 0x2b07ba0e */ 16750 L_2B07B9DC: 16751 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B07B9DC: call dword ptr [0x2b0b5b64] */ 16752 RECOMP_FLAGS_IN(); 16753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 16754 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16755 eax = eax + 0xD4u; /* 0x2B07B9E2: add eax, 0xd4 */ 16756 _flag_k = FK_ADD; 16757 PUSH32(esp, eax); /* 0x2B07B9E7: push eax */ 16758 ecx = ebp + (-0x48); /* 0x2B07B9E8: lea ecx, [ebp - 0x48] */ 16759 RECOMP_ICALL(0x2B007700u); /* 0x2B07B9EB: call 0x2b007700 */ /* not lifted */ 16760 RECOMP_FLAGS_IN(); 16761 edx = MEM32(esi + 0x10); /* 0x2B07B9F0: mov edx, dword ptr [esi + 0x10] */ 16762 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 16763 edx = edx + 1; /* 0x2B07B9F3: inc edx */ 16764 _flag_k = FK_INC; 16765 PUSH32(esp, edx); /* 0x2B07B9F4: push edx */ 16766 eax = ebp + (-0x104); /* 0x2B07B9F5: lea eax, [ebp - 0x104] */ 16767 PUSH32(esp, eax); /* 0x2B07B9FB: push eax */ 16768 PUSH32(esp, 0xBBu); /* 0x2B07B9FC: push 0xbb */ 16769 ecx = ebp + (-0x48); /* 0x2B07BA01: lea ecx, [ebp - 0x48] */ 16770 PUSH32(esp, ecx); /* 0x2B07BA04: push ecx */ 16771 ecx = edi; /* 0x2B07BA05: mov ecx, edi */ 16772 RECOMP_ICALL(0x2B07DD90u); /* 0x2B07BA07: call 0x2b07dd90 */ /* not lifted */ 16773 RECOMP_FLAGS_IN(); 16774 goto L_2B07BA10; /* 0x2B07BA0C: jmp 0x2b07ba10 */ 16775 L_2B07BA0E: 16776 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16777 eax = 0; /* 0x2B07BA0E: xor eax, eax */ 16778 _cf = 0; 16779 _flag_k = FK_TEST; 16780 L_2B07BA10: 16781 MEM32(esi + 0x48) = eax; /* 0x2B07BA10: mov dword ptr [esi + 0x48], eax */ 16782 eax = 0xAu; /* 0x2B07BA13: mov eax, 0xa */ 16783 PUSH32(esp, 0x9Cu); /* 0x2B07BA18: push 0x9c */ 16784 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BA1D: mov byte ptr [ebp - 4], 1 */ 16785 MEM32(ebp + (-0x7C)) = eax; /* 0x2B07BA21: mov dword ptr [ebp - 0x7c], eax */ 16786 MEM32(ebp + (-0x78)) = eax; /* 0x2B07BA24: mov dword ptr [ebp - 0x78], eax */ 16787 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BA27: call 0x2b0ab212 */ /* not lifted */ 16788 RECOMP_FLAGS_IN(); 16789 edi = eax; /* 0x2B07BA2C: mov edi, eax */ 16790 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16791 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16792 esp = esp + 4; /* 0x2B07BA2E: add esp, 4 */ 16793 _flag_k = FK_ADD; 16794 MEM32(ebp + (-0x14)) = edi; /* 0x2B07BA31: mov dword ptr [ebp - 0x14], edi */ 16795 /* cmp edi, ebx */ /* 0x2B07BA34: cmp edi, ebx */ 16796 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 16797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16798 _flag_k = FK_CMP; 16799 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Eu); /* 0x2B07BA36: mov byte ptr [ebp - 4], 0x8e */ 16800 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BA69; /* 0x2B07BA3A: je 0x2b07ba69 */ 16801 L_2B07BA3C: 16802 edx = MEM32(esi + 0x10); /* 0x2B07BA3C: mov edx, dword ptr [esi + 0x10] */ 16803 eax = MEM32(esi + 0xC); /* 0x2B07BA3F: mov eax, dword ptr [esi + 0xc] */ 16804 ecx = MEM32(esi + 0x8); /* 0x2B07BA42: mov ecx, dword ptr [esi + 8] */ 16805 PUSH32(esp, ebx); /* 0x2B07BA45: push ebx */ 16806 PUSH32(esp, 4); /* 0x2B07BA46: push 4 */ 16807 PUSH32(esp, ebx); /* 0x2B07BA48: push ebx */ 16808 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 16809 edx = edx + 1; /* 0x2B07BA49: inc edx */ 16810 _flag_k = FK_INC; 16811 PUSH32(esp, edx); /* 0x2B07BA4A: push edx */ 16812 edx = MEM32(esi + 0x4); /* 0x2B07BA4B: mov edx, dword ptr [esi + 4] */ 16813 PUSH32(esp, ebx); /* 0x2B07BA4E: push ebx */ 16814 PUSH32(esp, ebx); /* 0x2B07BA4F: push ebx */ 16815 PUSH32(esp, ebx); /* 0x2B07BA50: push ebx */ 16816 PUSH32(esp, eax); /* 0x2B07BA51: push eax */ 16817 eax = MEM32(esi); /* 0x2B07BA52: mov eax, dword ptr [esi] */ 16818 PUSH32(esp, ecx); /* 0x2B07BA54: push ecx */ 16819 PUSH32(esp, edx); /* 0x2B07BA55: push edx */ 16820 PUSH32(esp, eax); /* 0x2B07BA56: push eax */ 16821 ecx = edi; /* 0x2B07BA57: mov ecx, edi */ 16822 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B07BA59: call dword ptr [0x2b0b5af0] */ 16823 RECOMP_FLAGS_IN(); 16824 MEM32(edi) = 0x2B0B642Cu; /* 0x2B07BA5F: mov dword ptr [edi], 0x2b0b642c */ 16825 ecx = edi; /* 0x2B07BA65: mov ecx, edi */ 16826 goto L_2B07BA6B; /* 0x2B07BA67: jmp 0x2b07ba6b */ 16827 L_2B07BA69: 16828 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16829 ecx = 0; /* 0x2B07BA69: xor ecx, ecx */ 16830 _cf = 0; 16831 _flag_k = FK_TEST; 16832 L_2B07BA6B: 16833 PUSH32(esp, esi); /* 0x2B07BA6B: push esi */ 16834 PUSH32(esp, 0x2B07E240u); /* 0x2B07BA6C: push 0x2b07e240 */ 16835 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BA71: mov byte ptr [ebp - 4], 1 */ 16836 MEM32(esi + 0x24) = ecx; /* 0x2B07BA75: mov dword ptr [esi + 0x24], ecx */ 16837 RECOMP_ICALL(MEM32(0x2B0B57BC)); /* 0x2B07BA78: call dword ptr [0x2b0b57bc] */ 16838 RECOMP_FLAGS_IN(); 16839 ecx = MEM32(esi + 0x24); /* 0x2B07BA7E: mov ecx, dword ptr [esi + 0x24] */ 16840 edi = MEM32(0x2B0B57B8); /* 0x2B07BA81: mov edi, dword ptr [0x2b0b57b8] */ 16841 PUSH32(esp, esi); /* 0x2B07BA87: push esi */ 16842 PUSH32(esp, 0x2B07E300u); /* 0x2B07BA88: push 0x2b07e300 */ 16843 PUSH32(esp, 3); /* 0x2B07BA8D: push 3 */ 16844 RECOMP_ICALL(edi); /* 0x2B07BA8F: call edi */ 16845 RECOMP_FLAGS_IN(); 16846 ecx = MEM32(esi + 0x24); /* 0x2B07BA91: mov ecx, dword ptr [esi + 0x24] */ 16847 PUSH32(esp, esi); /* 0x2B07BA94: push esi */ 16848 PUSH32(esp, 0x2B07E400u); /* 0x2B07BA95: push 0x2b07e400 */ 16849 PUSH32(esp, 7); /* 0x2B07BA9A: push 7 */ 16850 RECOMP_ICALL(edi); /* 0x2B07BA9C: call edi */ 16851 RECOMP_FLAGS_IN(); 16852 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16853 eax = 0; /* 0x2B07BA9E: xor eax, eax */ 16854 _cf = 0; 16855 _flag_k = FK_TEST; 16856 ecx = 0xCu; /* 0x2B07BAA0: mov ecx, 0xc */ 16857 edi = ebp + (-0xE4); /* 0x2B07BAA5: lea edi, [ebp - 0xe4] */ 16858 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07BAAB: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 16859 ecx = MEM32(esi + 0x10); /* 0x2B07BAAD: mov ecx, dword ptr [esi + 0x10] */ 16860 PUSH32(esp, 2); /* 0x2B07BAB0: push 2 */ 16861 edx = ebp + (-0x48); /* 0x2B07BAB2: lea edx, [ebp - 0x48] */ 16862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16863 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16864 ecx = ecx + 3; /* 0x2B07BAB5: add ecx, 3 */ 16865 _flag_k = FK_ADD; 16866 PUSH32(esp, 0x47u); /* 0x2B07BAB8: push 0x47 */ 16867 PUSH32(esp, edx); /* 0x2B07BABA: push edx */ 16868 MEM32(ebp + (-0xCC)) = ecx; /* 0x2B07BABB: mov dword ptr [ebp - 0xcc], ecx */ 16869 MEM32(ebp + (-0xC4)) = 0x47u; /* 0x2B07BAC1: mov dword ptr [ebp - 0xc4], 0x47 */ 16870 MEM32(ebp + (-0xC0)) = 0x48u; /* 0x2B07BACB: mov dword ptr [ebp - 0xc0], 0x48 */ 16871 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07BAD5: call dword ptr [0x2b0b5f80] */ 16872 RECOMP_FLAGS_IN(); 16873 ecx = eax; /* 0x2B07BADB: mov ecx, eax */ 16874 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B07BADD: call dword ptr [0x2b0b5f7c] */ 16875 RECOMP_FLAGS_IN(); 16876 ecx = MEM32(eax); /* 0x2B07BAE3: mov ecx, dword ptr [eax] */ 16877 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07BAE5: mov dword ptr [ebp - 0x7c], ecx */ 16878 edx = MEM32(eax + 0x4); /* 0x2B07BAE8: mov edx, dword ptr [eax + 4] */ 16879 PUSH32(esp, 0x50u); /* 0x2B07BAEB: push 0x50 */ 16880 MEM32(ebp + (-0x78)) = edx; /* 0x2B07BAED: mov dword ptr [ebp - 0x78], edx */ 16881 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BAF0: call 0x2b0ab212 */ /* not lifted */ 16882 RECOMP_FLAGS_IN(); 16883 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16884 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16885 esp = esp + 4; /* 0x2B07BAF5: add esp, 4 */ 16886 _flag_k = FK_ADD; 16887 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BAF8: mov dword ptr [ebp - 0x14], eax */ 16888 /* cmp eax, ebx */ /* 0x2B07BAFB: cmp eax, ebx */ 16889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16891 _flag_k = FK_CMP; 16892 MEM8(ebp + (-0x4)) = (uint8_t)(0x8Fu); /* 0x2B07BAFD: mov byte ptr [ebp - 4], 0x8f */ 16893 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BB28; /* 0x2B07BB01: je 0x2b07bb28 */ 16894 L_2B07BB03: 16895 ecx = MEM32(esi + 0x10); /* 0x2B07BB03: mov ecx, dword ptr [esi + 0x10] */ 16896 PUSH32(esp, ebx); /* 0x2B07BB06: push ebx */ 16897 PUSH32(esp, 0x3F800000u); /* 0x2B07BB07: push 0x3f800000 */ 16898 PUSH32(esp, 0x3F800000u); /* 0x2B07BB0C: push 0x3f800000 */ 16899 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16900 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16901 ecx = ecx + 3; /* 0x2B07BB11: add ecx, 3 */ 16902 _flag_k = FK_ADD; 16903 PUSH32(esp, ecx); /* 0x2B07BB14: push ecx */ 16904 PUSH32(esp, esi); /* 0x2B07BB15: push esi */ 16905 edx = ebp + (-0x7C); /* 0x2B07BB16: lea edx, [ebp - 0x7c] */ 16906 PUSH32(esp, edx); /* 0x2B07BB19: push edx */ 16907 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07BB1A: push -1 */ 16908 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07BB1C: push -1 */ 16909 ecx = eax; /* 0x2B07BB1E: mov ecx, eax */ 16910 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B07BB20: call dword ptr [0x2b0b5bd8] */ 16911 RECOMP_FLAGS_IN(); 16912 goto L_2B07BB2A; /* 0x2B07BB26: jmp 0x2b07bb2a */ 16913 L_2B07BB28: 16914 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16915 eax = 0; /* 0x2B07BB28: xor eax, eax */ 16916 _cf = 0; 16917 _flag_k = FK_TEST; 16918 L_2B07BB2A: 16919 PUSH32(esp, 1); /* 0x2B07BB2A: push 1 */ 16920 MEM32(esi + 0x28) = eax; /* 0x2B07BB2C: mov dword ptr [esi + 0x28], eax */ 16921 eax = MEM32(eax + 0x28); /* 0x2B07BB2F: mov eax, dword ptr [eax + 0x28] */ 16922 PUSH32(esp, ebx); /* 0x2B07BB32: push ebx */ 16923 PUSH32(esp, ebx); /* 0x2B07BB33: push ebx */ 16924 ecx = eax; /* 0x2B07BB34: mov ecx, eax */ 16925 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BB36: mov byte ptr [ebp - 4], 1 */ 16926 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B07BB3A: call dword ptr [0x2b0b564c] */ 16927 RECOMP_FLAGS_IN(); 16928 PUSH32(esp, 0xBCu); /* 0x2B07BB40: push 0xbc */ 16929 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BB45: call 0x2b0ab212 */ /* not lifted */ 16930 RECOMP_FLAGS_IN(); 16931 edi = eax; /* 0x2B07BB4A: mov edi, eax */ 16932 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16934 esp = esp + 4; /* 0x2B07BB4C: add esp, 4 */ 16935 _flag_k = FK_ADD; 16936 MEM32(ebp + (-0x14)) = edi; /* 0x2B07BB4F: mov dword ptr [ebp - 0x14], edi */ 16937 /* cmp edi, ebx */ /* 0x2B07BB52: cmp edi, ebx */ 16938 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 16939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16940 _flag_k = FK_CMP; 16941 MEM8(ebp + (-0x4)) = (uint8_t)(0x90u); /* 0x2B07BB54: mov byte ptr [ebp - 4], 0x90 */ 16942 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BB77; /* 0x2B07BB58: je 0x2b07bb77 */ 16943 L_2B07BB5A: 16944 eax = MEM32(esi + 0x28); /* 0x2B07BB5A: mov eax, dword ptr [esi + 0x28] */ 16945 PUSH32(esp, eax); /* 0x2B07BB5D: push eax */ 16946 ecx = ebp + (-0xE4); /* 0x2B07BB5E: lea ecx, [ebp - 0xe4] */ 16947 PUSH32(esp, ecx); /* 0x2B07BB64: push ecx */ 16948 ecx = edi; /* 0x2B07BB65: mov ecx, edi */ 16949 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BB67: call dword ptr [0x2b0b5afc] */ 16950 RECOMP_FLAGS_IN(); 16951 MEM32(edi) = 0x2B0B645Cu; /* 0x2B07BB6D: mov dword ptr [edi], 0x2b0b645c */ 16952 ecx = edi; /* 0x2B07BB73: mov ecx, edi */ 16953 goto L_2B07BB79; /* 0x2B07BB75: jmp 0x2b07bb79 */ 16954 L_2B07BB77: 16955 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16956 ecx = 0; /* 0x2B07BB77: xor ecx, ecx */ 16957 _cf = 0; 16958 _flag_k = FK_TEST; 16959 L_2B07BB79: 16960 PUSH32(esp, esi); /* 0x2B07BB79: push esi */ 16961 PUSH32(esp, 0x2B07E2B0u); /* 0x2B07BB7A: push 0x2b07e2b0 */ 16962 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BB7F: mov byte ptr [ebp - 4], 1 */ 16963 MEM32(esi + 0x2C) = ecx; /* 0x2B07BB83: mov dword ptr [esi + 0x2c], ecx */ 16964 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BB86: call dword ptr [0x2b0b5820] */ 16965 RECOMP_FLAGS_IN(); 16966 PUSH32(esp, 2); /* 0x2B07BB8C: push 2 */ 16967 edx = ebp + (-0x48); /* 0x2B07BB8E: lea edx, [ebp - 0x48] */ 16968 PUSH32(esp, 0xBCu); /* 0x2B07BB91: push 0xbc */ 16969 PUSH32(esp, edx); /* 0x2B07BB96: push edx */ 16970 MEM32(ebp + (-0xC4)) = 0xBCu; /* 0x2B07BB97: mov dword ptr [ebp - 0xc4], 0xbc */ 16971 MEM32(ebp + (-0xC0)) = 0xBDu; /* 0x2B07BBA1: mov dword ptr [ebp - 0xc0], 0xbd */ 16972 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07BBAB: call dword ptr [0x2b0b5f80] */ 16973 RECOMP_FLAGS_IN(); 16974 ecx = eax; /* 0x2B07BBB1: mov ecx, eax */ 16975 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B07BBB3: call dword ptr [0x2b0b5f7c] */ 16976 RECOMP_FLAGS_IN(); 16977 ecx = eax; /* 0x2B07BBB9: mov ecx, eax */ 16978 eax = MEM32(ecx); /* 0x2B07BBBB: mov eax, dword ptr [ecx] */ 16979 MEM32(ebp + (-0x7C)) = eax; /* 0x2B07BBBD: mov dword ptr [ebp - 0x7c], eax */ 16980 edx = MEM32(ecx + 0x4); /* 0x2B07BBC0: mov edx, dword ptr [ecx + 4] */ 16981 eax = eax + eax * 4; /* 0x2B07BBC3: lea eax, [eax + eax*4] */ 16982 PUSH32(esp, 0x50u); /* 0x2B07BBC6: push 0x50 */ 16983 MEM32(ebp + (-0x78)) = edx; /* 0x2B07BBC8: mov dword ptr [ebp - 0x78], edx */ 16984 MEM32(ebp + (-0x7C)) = eax; /* 0x2B07BBCB: mov dword ptr [ebp - 0x7c], eax */ 16985 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BBCE: call 0x2b0ab212 */ /* not lifted */ 16986 RECOMP_FLAGS_IN(); 16987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16989 esp = esp + 4; /* 0x2B07BBD3: add esp, 4 */ 16990 _flag_k = FK_ADD; 16991 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BBD6: mov dword ptr [ebp - 0x14], eax */ 16992 /* cmp eax, ebx */ /* 0x2B07BBD9: cmp eax, ebx */ 16993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16995 _flag_k = FK_CMP; 16996 MEM8(ebp + (-0x4)) = (uint8_t)(0x91u); /* 0x2B07BBDB: mov byte ptr [ebp - 4], 0x91 */ 16997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BC06; /* 0x2B07BBDF: je 0x2b07bc06 */ 16998 L_2B07BBE1: 16999 ecx = MEM32(esi + 0x10); /* 0x2B07BBE1: mov ecx, dword ptr [esi + 0x10] */ 17000 PUSH32(esp, ebx); /* 0x2B07BBE4: push ebx */ 17001 PUSH32(esp, 0x3F800000u); /* 0x2B07BBE5: push 0x3f800000 */ 17002 PUSH32(esp, 0x3F800000u); /* 0x2B07BBEA: push 0x3f800000 */ 17003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 17004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17005 ecx = ecx + 4; /* 0x2B07BBEF: add ecx, 4 */ 17006 _flag_k = FK_ADD; 17007 PUSH32(esp, ecx); /* 0x2B07BBF2: push ecx */ 17008 PUSH32(esp, esi); /* 0x2B07BBF3: push esi */ 17009 edx = ebp + (-0x7C); /* 0x2B07BBF4: lea edx, [ebp - 0x7c] */ 17010 PUSH32(esp, edx); /* 0x2B07BBF7: push edx */ 17011 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07BBF8: push -1 */ 17012 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07BBFA: push -1 */ 17013 ecx = eax; /* 0x2B07BBFC: mov ecx, eax */ 17014 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B07BBFE: call dword ptr [0x2b0b5bd8] */ 17015 RECOMP_FLAGS_IN(); 17016 goto L_2B07BC08; /* 0x2B07BC04: jmp 0x2b07bc08 */ 17017 L_2B07BC06: 17018 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17019 eax = 0; /* 0x2B07BC06: xor eax, eax */ 17020 _cf = 0; 17021 _flag_k = FK_TEST; 17022 L_2B07BC08: 17023 PUSH32(esp, 1); /* 0x2B07BC08: push 1 */ 17024 MEM32(esi + 0x30) = eax; /* 0x2B07BC0A: mov dword ptr [esi + 0x30], eax */ 17025 eax = MEM32(eax + 0x28); /* 0x2B07BC0D: mov eax, dword ptr [eax + 0x28] */ 17026 PUSH32(esp, ebx); /* 0x2B07BC10: push ebx */ 17027 PUSH32(esp, ebx); /* 0x2B07BC11: push ebx */ 17028 ecx = eax; /* 0x2B07BC12: mov ecx, eax */ 17029 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BC14: mov byte ptr [ebp - 4], 1 */ 17030 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B07BC18: call dword ptr [0x2b0b564c] */ 17031 RECOMP_FLAGS_IN(); 17032 PUSH32(esp, 0xBCu); /* 0x2B07BC1E: push 0xbc */ 17033 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BC23: call 0x2b0ab212 */ /* not lifted */ 17034 RECOMP_FLAGS_IN(); 17035 edi = eax; /* 0x2B07BC28: mov edi, eax */ 17036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17038 esp = esp + 4; /* 0x2B07BC2A: add esp, 4 */ 17039 _flag_k = FK_ADD; 17040 MEM32(ebp + (-0x14)) = edi; /* 0x2B07BC2D: mov dword ptr [ebp - 0x14], edi */ 17041 /* cmp edi, ebx */ /* 0x2B07BC30: cmp edi, ebx */ 17042 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 17043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17044 _flag_k = FK_CMP; 17045 MEM8(ebp + (-0x4)) = (uint8_t)(0x92u); /* 0x2B07BC32: mov byte ptr [ebp - 4], 0x92 */ 17046 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BC55; /* 0x2B07BC36: je 0x2b07bc55 */ 17047 L_2B07BC38: 17048 eax = MEM32(esi + 0x30); /* 0x2B07BC38: mov eax, dword ptr [esi + 0x30] */ 17049 PUSH32(esp, eax); /* 0x2B07BC3B: push eax */ 17050 ecx = ebp + (-0xE4); /* 0x2B07BC3C: lea ecx, [ebp - 0xe4] */ 17051 PUSH32(esp, ecx); /* 0x2B07BC42: push ecx */ 17052 ecx = edi; /* 0x2B07BC43: mov ecx, edi */ 17053 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BC45: call dword ptr [0x2b0b5afc] */ 17054 RECOMP_FLAGS_IN(); 17055 MEM32(edi) = 0x2B0B645Cu; /* 0x2B07BC4B: mov dword ptr [edi], 0x2b0b645c */ 17056 ecx = edi; /* 0x2B07BC51: mov ecx, edi */ 17057 goto L_2B07BC57; /* 0x2B07BC53: jmp 0x2b07bc57 */ 17058 L_2B07BC55: 17059 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17060 ecx = 0; /* 0x2B07BC55: xor ecx, ecx */ 17061 _cf = 0; 17062 _flag_k = FK_TEST; 17063 L_2B07BC57: 17064 PUSH32(esp, esi); /* 0x2B07BC57: push esi */ 17065 PUSH32(esp, 0x2B07E2D0u); /* 0x2B07BC58: push 0x2b07e2d0 */ 17066 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BC5D: mov byte ptr [ebp - 4], 1 */ 17067 MEM32(esi + 0x34) = ecx; /* 0x2B07BC61: mov dword ptr [esi + 0x34], ecx */ 17068 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BC64: call dword ptr [0x2b0b5820] */ 17069 RECOMP_FLAGS_IN(); 17070 ecx = MEM32(esi + 0x34); /* 0x2B07BC6A: mov ecx, dword ptr [esi + 0x34] */ 17071 edi = MEM32(0x2B0B5810); /* 0x2B07BC6D: mov edi, dword ptr [0x2b0b5810] */ 17072 PUSH32(esp, 0x2B0EC4FCu); /* 0x2B07BC73: push 0x2b0ec4fc */ 17073 RECOMP_ICALL(edi); /* 0x2B07BC78: call edi */ 17074 RECOMP_FLAGS_IN(); 17075 ecx = MEM32(ebp + (-0x7C)); /* 0x2B07BC7A: mov ecx, dword ptr [ebp - 0x7c] */ 17076 eax = 0x66666667u; /* 0x2B07BC7D: mov eax, 0x66666667 */ 17077 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B07BC82: imul ecx */ 17078 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17079 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17080 ecx = MEM32(ebp + (-0xD4)); /* 0x2B07BC84: mov ecx, dword ptr [ebp - 0xd4] */ 17081 if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B07BC8A: sar edx, 1 */ 17082 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17083 edx = (uint32_t)((int32_t)edx >> 1u); 17084 eax = edx; /* 0x2B07BC8C: mov eax, edx */ 17085 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07BC8E: shr eax, 0x1f */ 17086 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17087 eax = eax >> 31u; /* 0x2B07BC8E: shr eax, 0x1f */ 17088 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17090 edx = edx + eax; /* 0x2B07BC91: add edx, eax */ 17091 _flag_k = FK_ADD; 17092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17094 ecx = ecx + edx; /* 0x2B07BC93: add ecx, edx */ 17095 _flag_k = FK_ADD; 17096 PUSH32(esp, 0xBCu); /* 0x2B07BC95: push 0xbc */ 17097 MEM32(ebp + (-0xC4)) = 0xBEu; /* 0x2B07BC9A: mov dword ptr [ebp - 0xc4], 0xbe */ 17098 MEM32(ebp + (-0xC0)) = 0xBFu; /* 0x2B07BCA4: mov dword ptr [ebp - 0xc0], 0xbf */ 17099 MEM32(ebp + (-0xD4)) = ecx; /* 0x2B07BCAE: mov dword ptr [ebp - 0xd4], ecx */ 17100 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BCB4: call 0x2b0ab212 */ /* not lifted */ 17101 RECOMP_FLAGS_IN(); 17102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17104 esp = esp + 4; /* 0x2B07BCB9: add esp, 4 */ 17105 _flag_k = FK_ADD; 17106 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BCBC: mov dword ptr [ebp - 0x14], eax */ 17107 /* cmp eax, ebx */ /* 0x2B07BCBF: cmp eax, ebx */ 17108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17110 _flag_k = FK_CMP; 17111 MEM8(ebp + (-0x4)) = (uint8_t)(0x93u); /* 0x2B07BCC1: mov byte ptr [ebp - 4], 0x93 */ 17112 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BCE5; /* 0x2B07BCC5: je 0x2b07bce5 */ 17113 L_2B07BCC7: 17114 ecx = MEM32(esi + 0x30); /* 0x2B07BCC7: mov ecx, dword ptr [esi + 0x30] */ 17115 PUSH32(esp, ecx); /* 0x2B07BCCA: push ecx */ 17116 edx = ebp + (-0xE4); /* 0x2B07BCCB: lea edx, [ebp - 0xe4] */ 17117 PUSH32(esp, edx); /* 0x2B07BCD1: push edx */ 17118 ecx = eax; /* 0x2B07BCD2: mov ecx, eax */ 17119 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BCD4: call dword ptr [0x2b0b5afc] */ 17120 RECOMP_FLAGS_IN(); 17121 ecx = MEM32(ebp + (-0x14)); /* 0x2B07BCDA: mov ecx, dword ptr [ebp - 0x14] */ 17122 MEM32(ecx) = 0x2B0B645Cu; /* 0x2B07BCDD: mov dword ptr [ecx], 0x2b0b645c */ 17123 goto L_2B07BCE7; /* 0x2B07BCE3: jmp 0x2b07bce7 */ 17124 L_2B07BCE5: 17125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17126 ecx = 0; /* 0x2B07BCE5: xor ecx, ecx */ 17127 _cf = 0; 17128 _flag_k = FK_TEST; 17129 L_2B07BCE7: 17130 PUSH32(esp, esi); /* 0x2B07BCE7: push esi */ 17131 PUSH32(esp, 0x2B07E3D0u); /* 0x2B07BCE8: push 0x2b07e3d0 */ 17132 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BCED: mov byte ptr [ebp - 4], 1 */ 17133 MEM32(esi + 0x38) = ecx; /* 0x2B07BCF1: mov dword ptr [esi + 0x38], ecx */ 17134 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BCF4: call dword ptr [0x2b0b5820] */ 17135 RECOMP_FLAGS_IN(); 17136 ecx = MEM32(esi + 0x38); /* 0x2B07BCFA: mov ecx, dword ptr [esi + 0x38] */ 17137 PUSH32(esp, 0x2B0EC4BCu); /* 0x2B07BCFD: push 0x2b0ec4bc */ 17138 RECOMP_ICALL(edi); /* 0x2B07BD02: call edi */ 17139 RECOMP_FLAGS_IN(); 17140 ecx = MEM32(ebp + (-0x7C)); /* 0x2B07BD04: mov ecx, dword ptr [ebp - 0x7c] */ 17141 eax = 0x66666667u; /* 0x2B07BD07: mov eax, 0x66666667 */ 17142 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B07BD0C: imul ecx */ 17143 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17144 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17145 ecx = MEM32(ebp + (-0xD4)); /* 0x2B07BD0E: mov ecx, dword ptr [ebp - 0xd4] */ 17146 if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B07BD14: sar edx, 1 */ 17147 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17148 edx = (uint32_t)((int32_t)edx >> 1u); 17149 eax = edx; /* 0x2B07BD16: mov eax, edx */ 17150 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07BD18: shr eax, 0x1f */ 17151 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17152 eax = eax >> 31u; /* 0x2B07BD18: shr eax, 0x1f */ 17153 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17155 edx = edx + eax; /* 0x2B07BD1B: add edx, eax */ 17156 _flag_k = FK_ADD; 17157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17159 ecx = ecx + edx; /* 0x2B07BD1D: add ecx, edx */ 17160 _flag_k = FK_ADD; 17161 PUSH32(esp, 0xBCu); /* 0x2B07BD1F: push 0xbc */ 17162 MEM32(ebp + (-0xC4)) = 0xC0u; /* 0x2B07BD24: mov dword ptr [ebp - 0xc4], 0xc0 */ 17163 MEM32(ebp + (-0xC0)) = 0xC1u; /* 0x2B07BD2E: mov dword ptr [ebp - 0xc0], 0xc1 */ 17164 MEM32(ebp + (-0xD4)) = ecx; /* 0x2B07BD38: mov dword ptr [ebp - 0xd4], ecx */ 17165 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BD3E: call 0x2b0ab212 */ /* not lifted */ 17166 RECOMP_FLAGS_IN(); 17167 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17169 esp = esp + 4; /* 0x2B07BD43: add esp, 4 */ 17170 _flag_k = FK_ADD; 17171 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BD46: mov dword ptr [ebp - 0x14], eax */ 17172 /* cmp eax, ebx */ /* 0x2B07BD49: cmp eax, ebx */ 17173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17175 _flag_k = FK_CMP; 17176 MEM8(ebp + (-0x4)) = (uint8_t)(0x94u); /* 0x2B07BD4B: mov byte ptr [ebp - 4], 0x94 */ 17177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BD6F; /* 0x2B07BD4F: je 0x2b07bd6f */ 17178 L_2B07BD51: 17179 ecx = MEM32(esi + 0x30); /* 0x2B07BD51: mov ecx, dword ptr [esi + 0x30] */ 17180 PUSH32(esp, ecx); /* 0x2B07BD54: push ecx */ 17181 edx = ebp + (-0xE4); /* 0x2B07BD55: lea edx, [ebp - 0xe4] */ 17182 PUSH32(esp, edx); /* 0x2B07BD5B: push edx */ 17183 ecx = eax; /* 0x2B07BD5C: mov ecx, eax */ 17184 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BD5E: call dword ptr [0x2b0b5afc] */ 17185 RECOMP_FLAGS_IN(); 17186 ecx = MEM32(ebp + (-0x14)); /* 0x2B07BD64: mov ecx, dword ptr [ebp - 0x14] */ 17187 MEM32(ecx) = 0x2B0B645Cu; /* 0x2B07BD67: mov dword ptr [ecx], 0x2b0b645c */ 17188 goto L_2B07BD71; /* 0x2B07BD6D: jmp 0x2b07bd71 */ 17189 L_2B07BD6F: 17190 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17191 ecx = 0; /* 0x2B07BD6F: xor ecx, ecx */ 17192 _cf = 0; 17193 _flag_k = FK_TEST; 17194 L_2B07BD71: 17195 PUSH32(esp, esi); /* 0x2B07BD71: push esi */ 17196 PUSH32(esp, 0x2B07E4D0u); /* 0x2B07BD72: push 0x2b07e4d0 */ 17197 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BD77: mov byte ptr [ebp - 4], 1 */ 17198 MEM32(esi + 0x3C) = ecx; /* 0x2B07BD7B: mov dword ptr [esi + 0x3c], ecx */ 17199 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BD7E: call dword ptr [0x2b0b5820] */ 17200 RECOMP_FLAGS_IN(); 17201 ecx = MEM32(esi + 0x3C); /* 0x2B07BD84: mov ecx, dword ptr [esi + 0x3c] */ 17202 PUSH32(esp, 0x2B0EC49Cu); /* 0x2B07BD87: push 0x2b0ec49c */ 17203 RECOMP_ICALL(edi); /* 0x2B07BD8C: call edi */ 17204 RECOMP_FLAGS_IN(); 17205 ecx = MEM32(ebp + (-0x7C)); /* 0x2B07BD8E: mov ecx, dword ptr [ebp - 0x7c] */ 17206 eax = 0x66666667u; /* 0x2B07BD91: mov eax, 0x66666667 */ 17207 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B07BD96: imul ecx */ 17208 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17209 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17210 ecx = MEM32(ebp + (-0xD4)); /* 0x2B07BD98: mov ecx, dword ptr [ebp - 0xd4] */ 17211 if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B07BD9E: sar edx, 1 */ 17212 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17213 edx = (uint32_t)((int32_t)edx >> 1u); 17214 eax = edx; /* 0x2B07BDA0: mov eax, edx */ 17215 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07BDA2: shr eax, 0x1f */ 17216 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17217 eax = eax >> 31u; /* 0x2B07BDA2: shr eax, 0x1f */ 17218 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17219 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17220 edx = edx + eax; /* 0x2B07BDA5: add edx, eax */ 17221 _flag_k = FK_ADD; 17222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17223 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17224 ecx = ecx + edx; /* 0x2B07BDA7: add ecx, edx */ 17225 _flag_k = FK_ADD; 17226 PUSH32(esp, 0xBCu); /* 0x2B07BDA9: push 0xbc */ 17227 MEM32(ebp + (-0xC4)) = 0xC2u; /* 0x2B07BDAE: mov dword ptr [ebp - 0xc4], 0xc2 */ 17228 MEM32(ebp + (-0xC0)) = 0xC3u; /* 0x2B07BDB8: mov dword ptr [ebp - 0xc0], 0xc3 */ 17229 MEM32(ebp + (-0xD4)) = ecx; /* 0x2B07BDC2: mov dword ptr [ebp - 0xd4], ecx */ 17230 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BDC8: call 0x2b0ab212 */ /* not lifted */ 17231 RECOMP_FLAGS_IN(); 17232 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17233 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17234 esp = esp + 4; /* 0x2B07BDCD: add esp, 4 */ 17235 _flag_k = FK_ADD; 17236 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BDD0: mov dword ptr [ebp - 0x14], eax */ 17237 /* cmp eax, ebx */ /* 0x2B07BDD3: cmp eax, ebx */ 17238 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17240 _flag_k = FK_CMP; 17241 MEM8(ebp + (-0x4)) = (uint8_t)(0x95u); /* 0x2B07BDD5: mov byte ptr [ebp - 4], 0x95 */ 17242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BDF9; /* 0x2B07BDD9: je 0x2b07bdf9 */ 17243 L_2B07BDDB: 17244 ecx = MEM32(esi + 0x30); /* 0x2B07BDDB: mov ecx, dword ptr [esi + 0x30] */ 17245 PUSH32(esp, ecx); /* 0x2B07BDDE: push ecx */ 17246 edx = ebp + (-0xE4); /* 0x2B07BDDF: lea edx, [ebp - 0xe4] */ 17247 PUSH32(esp, edx); /* 0x2B07BDE5: push edx */ 17248 ecx = eax; /* 0x2B07BDE6: mov ecx, eax */ 17249 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BDE8: call dword ptr [0x2b0b5afc] */ 17250 RECOMP_FLAGS_IN(); 17251 ecx = MEM32(ebp + (-0x14)); /* 0x2B07BDEE: mov ecx, dword ptr [ebp - 0x14] */ 17252 MEM32(ecx) = 0x2B0B645Cu; /* 0x2B07BDF1: mov dword ptr [ecx], 0x2b0b645c */ 17253 goto L_2B07BDFB; /* 0x2B07BDF7: jmp 0x2b07bdfb */ 17254 L_2B07BDF9: 17255 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17256 ecx = 0; /* 0x2B07BDF9: xor ecx, ecx */ 17257 _cf = 0; 17258 _flag_k = FK_TEST; 17259 L_2B07BDFB: 17260 PUSH32(esp, esi); /* 0x2B07BDFB: push esi */ 17261 PUSH32(esp, 0x2B07E530u); /* 0x2B07BDFC: push 0x2b07e530 */ 17262 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BE01: mov byte ptr [ebp - 4], 1 */ 17263 MEM32(esi + 0x40) = ecx; /* 0x2B07BE05: mov dword ptr [esi + 0x40], ecx */ 17264 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BE08: call dword ptr [0x2b0b5820] */ 17265 RECOMP_FLAGS_IN(); 17266 ecx = MEM32(esi + 0x40); /* 0x2B07BE0E: mov ecx, dword ptr [esi + 0x40] */ 17267 PUSH32(esp, 0x2B0EC47Cu); /* 0x2B07BE11: push 0x2b0ec47c */ 17268 RECOMP_ICALL(edi); /* 0x2B07BE16: call edi */ 17269 RECOMP_FLAGS_IN(); 17270 ecx = MEM32(esi + 0x40); /* 0x2B07BE18: mov ecx, dword ptr [esi + 0x40] */ 17271 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B07BE1B: call dword ptr [0x2b0b5b34] */ 17272 RECOMP_FLAGS_IN(); 17273 ecx = MEM32(ebp + (-0x7C)); /* 0x2B07BE21: mov ecx, dword ptr [ebp - 0x7c] */ 17274 eax = 0x66666667u; /* 0x2B07BE24: mov eax, 0x66666667 */ 17275 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B07BE29: imul ecx */ 17276 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17277 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17278 ecx = MEM32(ebp + (-0xD4)); /* 0x2B07BE2B: mov ecx, dword ptr [ebp - 0xd4] */ 17279 if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B07BE31: sar edx, 1 */ 17280 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17281 edx = (uint32_t)((int32_t)edx >> 1u); 17282 eax = edx; /* 0x2B07BE33: mov eax, edx */ 17283 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07BE35: shr eax, 0x1f */ 17284 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17285 eax = eax >> 31u; /* 0x2B07BE35: shr eax, 0x1f */ 17286 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17287 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17288 edx = edx + eax; /* 0x2B07BE38: add edx, eax */ 17289 _flag_k = FK_ADD; 17290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17292 ecx = ecx + edx; /* 0x2B07BE3A: add ecx, edx */ 17293 _flag_k = FK_ADD; 17294 PUSH32(esp, 0xBCu); /* 0x2B07BE3C: push 0xbc */ 17295 MEM32(ebp + (-0xC4)) = 0xC4u; /* 0x2B07BE41: mov dword ptr [ebp - 0xc4], 0xc4 */ 17296 MEM32(ebp + (-0xC0)) = 0xC5u; /* 0x2B07BE4B: mov dword ptr [ebp - 0xc0], 0xc5 */ 17297 MEM32(ebp + (-0xD4)) = ecx; /* 0x2B07BE55: mov dword ptr [ebp - 0xd4], ecx */ 17298 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07BE5B: call 0x2b0ab212 */ /* not lifted */ 17299 RECOMP_FLAGS_IN(); 17300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17302 esp = esp + 4; /* 0x2B07BE60: add esp, 4 */ 17303 _flag_k = FK_ADD; 17304 MEM32(ebp + (-0x14)) = eax; /* 0x2B07BE63: mov dword ptr [ebp - 0x14], eax */ 17305 /* cmp eax, ebx */ /* 0x2B07BE66: cmp eax, ebx */ 17306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17308 _flag_k = FK_CMP; 17309 MEM8(ebp + (-0x4)) = (uint8_t)(0x96u); /* 0x2B07BE68: mov byte ptr [ebp - 4], 0x96 */ 17310 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07BE8C; /* 0x2B07BE6C: je 0x2b07be8c */ 17311 L_2B07BE6E: 17312 ecx = MEM32(esi + 0x30); /* 0x2B07BE6E: mov ecx, dword ptr [esi + 0x30] */ 17313 PUSH32(esp, ecx); /* 0x2B07BE71: push ecx */ 17314 edx = ebp + (-0xE4); /* 0x2B07BE72: lea edx, [ebp - 0xe4] */ 17315 PUSH32(esp, edx); /* 0x2B07BE78: push edx */ 17316 ecx = eax; /* 0x2B07BE79: mov ecx, eax */ 17317 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B07BE7B: call dword ptr [0x2b0b5afc] */ 17318 RECOMP_FLAGS_IN(); 17319 ecx = MEM32(ebp + (-0x14)); /* 0x2B07BE81: mov ecx, dword ptr [ebp - 0x14] */ 17320 MEM32(ecx) = 0x2B0B645Cu; /* 0x2B07BE84: mov dword ptr [ecx], 0x2b0b645c */ 17321 goto L_2B07BE8E; /* 0x2B07BE8A: jmp 0x2b07be8e */ 17322 L_2B07BE8C: 17323 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17324 ecx = 0; /* 0x2B07BE8C: xor ecx, ecx */ 17325 _cf = 0; 17326 _flag_k = FK_TEST; 17327 L_2B07BE8E: 17328 PUSH32(esp, esi); /* 0x2B07BE8E: push esi */ 17329 PUSH32(esp, 0x2B07E5A0u); /* 0x2B07BE8F: push 0x2b07e5a0 */ 17330 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07BE94: mov byte ptr [ebp - 4], 1 */ 17331 MEM32(esi + 0x44) = ecx; /* 0x2B07BE98: mov dword ptr [esi + 0x44], ecx */ 17332 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B07BE9B: call dword ptr [0x2b0b5820] */ 17333 RECOMP_FLAGS_IN(); 17334 ecx = MEM32(esi + 0x44); /* 0x2B07BEA1: mov ecx, dword ptr [esi + 0x44] */ 17335 PUSH32(esp, 0x2B0EC474u); /* 0x2B07BEA4: push 0x2b0ec474 */ 17336 RECOMP_ICALL(edi); /* 0x2B07BEA9: call edi */ 17337 RECOMP_FLAGS_IN(); 17338 eax = ebp + (-0xD); /* 0x2B07BEAB: lea eax, [ebp - 0xd] */ 17339 PUSH32(esp, eax); /* 0x2B07BEAE: push eax */ 17340 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07BEAF: call dword ptr [0x2b0b56d4] */ 17341 RECOMP_FLAGS_IN(); 17342 PUSH32(esp, eax); /* 0x2B07BEB5: push eax */ 17343 ecx = ebp + (-0xFC); /* 0x2B07BEB6: lea ecx, [ebp - 0xfc] */ 17344 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B07BEBC: call dword ptr [0x2b0b5040] */ 17345 RECOMP_FLAGS_IN(); 17346 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17347 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07BEC2: or ecx, 0xffffffff */ 17348 _cf = 0; 17349 _flag_k = FK_TEST; 17350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17351 eax = 0; /* 0x2B07BEC5: xor eax, eax */ 17352 _cf = 0; 17353 _flag_k = FK_TEST; 17354 edi = 0x2B0EC460u; /* 0x2B07BEC7: mov edi, 0x2b0ec460 */ 17355 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; } /* 0x2B07BECC: repne scasb al, byte ptr es:[edi] */ 17356 ecx = ~ecx; /* 0x2B07BECE: not ecx */ 17357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17358 ecx = ecx - 1; /* 0x2B07BED0: dec ecx */ 17359 _flag_k = FK_DEC; 17360 PUSH32(esp, ecx); /* 0x2B07BED1: push ecx */ 17361 PUSH32(esp, 0x2B0EC460u); /* 0x2B07BED2: push 0x2b0ec460 */ 17362 ecx = ebp + (-0xFC); /* 0x2B07BED7: lea ecx, [ebp - 0xfc] */ 17363 MEM8(ebp + (-0x4)) = (uint8_t)(0x97u); /* 0x2B07BEDD: mov byte ptr [ebp - 4], 0x97 */ 17364 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07BEE1: call dword ptr [0x2b0b5188] */ 17365 RECOMP_FLAGS_IN(); 17366 ecx = MEM32(0x2B0B6048); /* 0x2B07BEE7: mov ecx, dword ptr [0x2b0b6048] */ 17367 ecx = MEM32(ecx); /* 0x2B07BEED: mov ecx, dword ptr [ecx] */ 17368 PUSH32(esp, 1); /* 0x2B07BEEF: push 1 */ 17369 PUSH32(esp, 0x2B0EC44Cu); /* 0x2B07BEF1: push 0x2b0ec44c */ 17370 RECOMP_ICALL(MEM32(0x2B0B606C)); /* 0x2B07BEF6: call dword ptr [0x2b0b606c] */ 17371 RECOMP_FLAGS_IN(); 17372 edx = eax; /* 0x2B07BEFC: mov edx, eax */ 17373 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17374 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07BEFE: or ecx, 0xffffffff */ 17375 _cf = 0; 17376 _flag_k = FK_TEST; 17377 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17378 eax = 0; /* 0x2B07BF01: xor eax, eax */ 17379 _cf = 0; 17380 _flag_k = FK_TEST; 17381 edi = edx; /* 0x2B07BF03: mov edi, edx */ 17382 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; } /* 0x2B07BF05: repne scasb al, byte ptr es:[edi] */ 17383 ecx = ~ecx; /* 0x2B07BF07: not ecx */ 17384 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17385 ecx = ecx - 1; /* 0x2B07BF09: dec ecx */ 17386 _flag_k = FK_DEC; 17387 PUSH32(esp, ecx); /* 0x2B07BF0A: push ecx */ 17388 PUSH32(esp, edx); /* 0x2B07BF0B: push edx */ 17389 ecx = ebp + (-0xFC); /* 0x2B07BF0C: lea ecx, [ebp - 0xfc] */ 17390 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07BF12: call dword ptr [0x2b0b5188] */ 17391 RECOMP_FLAGS_IN(); 17392 eax = MEM32(ebp + (-0xF8)); /* 0x2B07BF18: mov eax, dword ptr [ebp - 0xf8] */ 17393 /* cmp eax, ebx */ /* 0x2B07BF1E: cmp eax, ebx */ 17394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17396 _flag_k = FK_CMP; 17397 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07BF27; /* 0x2B07BF20: jne 0x2b07bf27 */ 17398 L_2B07BF22: 17399 eax = MEM32(0x2B0B513C); /* 0x2B07BF22: mov eax, dword ptr [0x2b0b513c] */ 17400 L_2B07BF27: 17401 PUSH32(esp, eax); /* 0x2B07BF27: push eax */ 17402 ecx = esi; /* 0x2B07BF28: mov ecx, esi */ 17403 RECOMP_ICALL(0x2B07C430u); /* 0x2B07BF2A: call 0x2b07c430 */ /* not lifted */ 17404 RECOMP_FLAGS_IN(); 17405 /* test LO8(eax), LO8(eax) */ /* 0x2B07BF2F: test al, al */ 17406 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17407 _cf = 0; 17408 _flag_k = FK_NARROW(FK_TEST, 24); 17409 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07BF75; /* 0x2B07BF31: jne 0x2b07bf75 */ 17410 L_2B07BF33: 17411 eax = MEM32(ebp + (-0xF8)); /* 0x2B07BF33: mov eax, dword ptr [ebp - 0xf8] */ 17412 /* cmp eax, ebx */ /* 0x2B07BF39: cmp eax, ebx */ 17413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17415 _flag_k = FK_CMP; 17416 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07BF42; /* 0x2B07BF3B: jne 0x2b07bf42 */ 17417 L_2B07BF3D: 17418 eax = MEM32(0x2B0B513C); /* 0x2B07BF3D: mov eax, dword ptr [0x2b0b513c] */ 17419 L_2B07BF42: 17420 PUSH32(esp, eax); /* 0x2B07BF42: push eax */ 17421 PUSH32(esp, 0x2B0EC434u); /* 0x2B07BF43: push 0x2b0ec434 */ 17422 edx = ebp + (-0x228); /* 0x2B07BF48: lea edx, [ebp - 0x228] */ 17423 PUSH32(esp, 0xFFu); /* 0x2B07BF4E: push 0xff */ 17424 PUSH32(esp, edx); /* 0x2B07BF53: push edx */ 17425 RECOMP_ICALL(0x2B012180u); /* 0x2B07BF54: call 0x2b012180 */ /* not lifted */ 17426 RECOMP_FLAGS_IN(); 17427 PUSH32(esp, ebx); /* 0x2B07BF59: push ebx */ 17428 PUSH32(esp, ebx); /* 0x2B07BF5A: push ebx */ 17429 PUSH32(esp, ebx); /* 0x2B07BF5B: push ebx */ 17430 eax = ebp + (-0x228); /* 0x2B07BF5C: lea eax, [ebp - 0x228] */ 17431 PUSH32(esp, eax); /* 0x2B07BF62: push eax */ 17432 PUSH32(esp, 0x2B0EC428u); /* 0x2B07BF63: push 0x2b0ec428 */ 17433 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07BF68: call 0x2b089bf0 */ /* not lifted */ 17434 RECOMP_FLAGS_IN(); 17435 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 17436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17437 esp = esp + 0x24u; /* 0x2B07BF6D: add esp, 0x24 */ 17438 _flag_k = FK_ADD; 17439 goto L_2B07C03F; /* 0x2B07BF70: jmp 0x2b07c03f */ 17440 L_2B07BF75: 17441 ecx = MEM32(0x2B0B6048); /* 0x2B07BF75: mov ecx, dword ptr [0x2b0b6048] */ 17442 ecx = MEM32(ecx); /* 0x2B07BF7B: mov ecx, dword ptr [ecx] */ 17443 edi = MEM32(0x2B0B602C); /* 0x2B07BF7D: mov edi, dword ptr [0x2b0b602c] */ 17444 PUSH32(esp, 1); /* 0x2B07BF83: push 1 */ 17445 PUSH32(esp, 0x2B0EC41Cu); /* 0x2B07BF85: push 0x2b0ec41c */ 17446 RECOMP_ICALL(edi); /* 0x2B07BF8A: call edi */ 17447 RECOMP_FLAGS_IN(); 17448 MEM32(esi) = eax; /* 0x2B07BF8C: mov dword ptr [esi], eax */ 17449 edx = MEM32(0x2B0B6048); /* 0x2B07BF8E: mov edx, dword ptr [0x2b0b6048] */ 17450 ecx = MEM32(edx); /* 0x2B07BF94: mov ecx, dword ptr [edx] */ 17451 PUSH32(esp, 1); /* 0x2B07BF96: push 1 */ 17452 PUSH32(esp, 0x2B0EC410u); /* 0x2B07BF98: push 0x2b0ec410 */ 17453 RECOMP_ICALL(edi); /* 0x2B07BF9D: call edi */ 17454 RECOMP_FLAGS_IN(); 17455 MEM32(esi + 0x4) = eax; /* 0x2B07BF9F: mov dword ptr [esi + 4], eax */ 17456 eax = MEM32(0x2B0B6048); /* 0x2B07BFA2: mov eax, dword ptr [0x2b0b6048] */ 17457 ecx = MEM32(eax); /* 0x2B07BFA7: mov ecx, dword ptr [eax] */ 17458 PUSH32(esp, 1); /* 0x2B07BFA9: push 1 */ 17459 PUSH32(esp, 0x2B0EC404u); /* 0x2B07BFAB: push 0x2b0ec404 */ 17460 RECOMP_ICALL(edi); /* 0x2B07BFB0: call edi */ 17461 RECOMP_FLAGS_IN(); 17462 ecx = MEM32(0x2B0B6048); /* 0x2B07BFB2: mov ecx, dword ptr [0x2b0b6048] */ 17463 PUSH32(esp, 1); /* 0x2B07BFB8: push 1 */ 17464 MEM32(ebp + (-0x7C)) = eax; /* 0x2B07BFBA: mov dword ptr [ebp - 0x7c], eax */ 17465 ecx = MEM32(ecx); /* 0x2B07BFBD: mov ecx, dword ptr [ecx] */ 17466 PUSH32(esp, 0x2B0EC3F8u); /* 0x2B07BFBF: push 0x2b0ec3f8 */ 17467 RECOMP_ICALL(edi); /* 0x2B07BFC4: call edi */ 17468 RECOMP_FLAGS_IN(); 17469 edx = ebp + (-0x7C); /* 0x2B07BFC6: lea edx, [ebp - 0x7c] */ 17470 PUSH32(esp, edx); /* 0x2B07BFC9: push edx */ 17471 ecx = esi; /* 0x2B07BFCA: mov ecx, esi */ 17472 MEM32(ebp + (-0x78)) = eax; /* 0x2B07BFCC: mov dword ptr [ebp - 0x78], eax */ 17473 RECOMP_ICALL(0x2B07D300u); /* 0x2B07BFCF: call 0x2b07d300 */ /* not lifted */ 17474 RECOMP_FLAGS_IN(); 17475 eax = MEM32(0x2B0B6048); /* 0x2B07BFD4: mov eax, dword ptr [0x2b0b6048] */ 17476 ecx = MEM32(eax); /* 0x2B07BFD9: mov ecx, dword ptr [eax] */ 17477 PUSH32(esp, 1); /* 0x2B07BFDB: push 1 */ 17478 PUSH32(esp, 0x2B0EC3E4u); /* 0x2B07BFDD: push 0x2b0ec3e4 */ 17479 MEM8(ebp + (-0x14)) = (uint8_t)(LO8(ebx)); /* 0x2B07BFE2: mov byte ptr [ebp - 0x14], bl */ 17480 RECOMP_ICALL(edi); /* 0x2B07BFE5: call edi */ 17481 RECOMP_FLAGS_IN(); 17482 ecx = MEM32(0x2B0B6048); /* 0x2B07BFE7: mov ecx, dword ptr [0x2b0b6048] */ 17483 PUSH32(esp, 1); /* 0x2B07BFED: push 1 */ 17484 MEM32(ebp + (-0xEC)) = eax; /* 0x2B07BFEF: mov dword ptr [ebp - 0xec], eax */ 17485 ecx = MEM32(ecx); /* 0x2B07BFF5: mov ecx, dword ptr [ecx] */ 17486 PUSH32(esp, 0x2B0EC3D0u); /* 0x2B07BFF7: push 0x2b0ec3d0 */ 17487 RECOMP_ICALL(edi); /* 0x2B07BFFC: call edi */ 17488 RECOMP_FLAGS_IN(); 17489 /* cmp MEM32(ebp + (-0xEC)), ebx */ /* 0x2B07BFFE: cmp dword ptr [ebp - 0xec], ebx */ 17490 _flag_a = (uint32_t)(MEM32(ebp + (-0xEC))); _flag_b = (uint32_t)(ebx); 17491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17492 _flag_k = FK_CMP; 17493 MEM32(ebp + (-0xE8)) = eax; /* 0x2B07C004: mov dword ptr [ebp - 0xe8], eax */ 17494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C014; /* 0x2B07C00A: jne 0x2b07c014 */ 17495 L_2B07C00C: 17496 /* cmp eax, ebx */ /* 0x2B07C00C: cmp eax, ebx */ 17497 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17499 _flag_k = FK_CMP; 17500 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C014; /* 0x2B07C00E: jne 0x2b07c014 */ 17501 L_2B07C010: 17502 MEM8(ebp + (-0x14)) = (uint8_t)(1); /* 0x2B07C010: mov byte ptr [ebp - 0x14], 1 */ 17503 L_2B07C014: 17504 edx = MEM32(0x2B0B6048); /* 0x2B07C014: mov edx, dword ptr [0x2b0b6048] */ 17505 ecx = MEM32(edx); /* 0x2B07C01A: mov ecx, dword ptr [edx] */ 17506 PUSH32(esp, 1); /* 0x2B07C01C: push 1 */ 17507 PUSH32(esp, 0x2B0EC3BCu); /* 0x2B07C01E: push 0x2b0ec3bc */ 17508 RECOMP_ICALL(edi); /* 0x2B07C023: call edi */ 17509 RECOMP_FLAGS_IN(); 17510 ecx = MEM32(ebp + (-0x14)); /* 0x2B07C025: mov ecx, dword ptr [ebp - 0x14] */ 17511 PUSH32(esp, ecx); /* 0x2B07C028: push ecx */ 17512 edx = ebp + (-0xEC); /* 0x2B07C029: lea edx, [ebp - 0xec] */ 17513 PUSH32(esp, edx); /* 0x2B07C02F: push edx */ 17514 PUSH32(esp, eax); /* 0x2B07C030: push eax */ 17515 ecx = esi; /* 0x2B07C031: mov ecx, esi */ 17516 RECOMP_ICALL(0x2B07D670u); /* 0x2B07C033: call 0x2b07d670 */ /* not lifted */ 17517 RECOMP_FLAGS_IN(); 17518 ecx = esi; /* 0x2B07C038: mov ecx, esi */ 17519 RECOMP_ICALL(0x2B07E120u); /* 0x2B07C03A: call 0x2b07e120 */ /* not lifted */ 17520 RECOMP_FLAGS_IN(); 17521 L_2B07C03F: 17522 PUSH32(esp, 1); /* 0x2B07C03F: push 1 */ 17523 ecx = ebp + (-0xFC); /* 0x2B07C041: lea ecx, [ebp - 0xfc] */ 17524 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07C047: mov byte ptr [ebp - 4], 1 */ 17525 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C04B: call dword ptr [0x2b0b514c] */ 17526 RECOMP_FLAGS_IN(); 17527 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C051: mov ecx, dword ptr [ebp - 0xc] */ 17528 edi = POP32_VAL(esp); /* 0x2B07C054: pop edi */ 17529 eax = esi; /* 0x2B07C055: mov eax, esi */ 17530 esi = POP32_VAL(esp); /* 0x2B07C057: pop esi */ 17531 ebx = POP32_VAL(esp); /* 0x2B07C058: pop ebx */ 17532 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C059: mov dword ptr fs:[0], ecx */ 17533 esp = ebp; /* 0x2B07C060: mov esp, ebp */ 17534 ebp = POP32_VAL(esp); /* 0x2B07C062: pop ebp */ 17535 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07C063: ret */ 17536 RECOMP_REGS_OUT(); 17537 } 17538 17539 void sub_2B07C03F(void) { 17540 int _fpu_cmp = 0; 17541 uint32_t _cf = 0; 17542 int _df = 1; 17543 uint32_t _flag_k = FK_NONE; 17544 uint32_t _flag_a = 0, _flag_b = 0; 17545 uint32_t _itail_tgt = 0; 17546 RECOMP_REGS_LOCALS 17547 RECOMP_ENTER(0x2B07C03Fu); 17548 17549 L_2B07C03F: 17550 PUSH32(esp, 1); /* 0x2B07C03F: push 1 */ 17551 ecx = ebp + (-0xFC); /* 0x2B07C041: lea ecx, [ebp - 0xfc] */ 17552 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07C047: mov byte ptr [ebp - 4], 1 */ 17553 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C04B: call dword ptr [0x2b0b514c] */ 17554 RECOMP_FLAGS_IN(); 17555 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C051: mov ecx, dword ptr [ebp - 0xc] */ 17556 edi = POP32_VAL(esp); /* 0x2B07C054: pop edi */ 17557 eax = esi; /* 0x2B07C055: mov eax, esi */ 17558 esi = POP32_VAL(esp); /* 0x2B07C057: pop esi */ 17559 ebx = POP32_VAL(esp); /* 0x2B07C058: pop ebx */ 17560 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C059: mov dword ptr fs:[0], ecx */ 17561 esp = ebp; /* 0x2B07C060: mov esp, ebp */ 17562 ebp = POP32_VAL(esp); /* 0x2B07C062: pop ebp */ 17563 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07C063: ret */ 17564 RECOMP_REGS_OUT(); 17565 } 17566 17567 void sub_2B07C070(void) { 17568 int _fpu_cmp = 0; 17569 uint32_t _cf = 0; 17570 int _df = 1; 17571 uint32_t _flag_k = FK_NONE; 17572 uint32_t _flag_a = 0, _flag_b = 0; 17573 uint32_t _itail_tgt = 0; 17574 RECOMP_REGS_LOCALS 17575 RECOMP_ENTER(0x2B07C070u); 17576 17577 L_2B07C070: 17578 PUSH32(esp, ebp); /* 0x2B07C070: push ebp */ 17579 ebp = esp; /* 0x2B07C071: mov ebp, esp */ 17580 PUSH32(esp, ecx); /* 0x2B07C073: push ecx */ 17581 eax = ecx; /* 0x2B07C074: mov eax, ecx */ 17582 SET_LO8(ecx, MEM8(ebp + (-0x1))); /* 0x2B07C076: mov cl, byte ptr [ebp - 1] */ 17583 MEM8(eax + 0x8) = (uint8_t)(LO8(ecx)); /* 0x2B07C079: mov byte ptr [eax + 8], cl */ 17584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17585 ecx = 0; /* 0x2B07C07C: xor ecx, ecx */ 17586 _cf = 0; 17587 _flag_k = FK_TEST; 17588 MEM32(eax + 0xC) = ecx; /* 0x2B07C07E: mov dword ptr [eax + 0xc], ecx */ 17589 MEM32(eax + 0x10) = ecx; /* 0x2B07C081: mov dword ptr [eax + 0x10], ecx */ 17590 MEM32(eax + 0x14) = ecx; /* 0x2B07C084: mov dword ptr [eax + 0x14], ecx */ 17591 MEM32(eax + 0x18) = ecx; /* 0x2B07C087: mov dword ptr [eax + 0x18], ecx */ 17592 MEM32(eax + 0x1C) = ecx; /* 0x2B07C08A: mov dword ptr [eax + 0x1c], ecx */ 17593 MEM32(eax + 0x20) = ecx; /* 0x2B07C08D: mov dword ptr [eax + 0x20], ecx */ 17594 MEM32(eax + 0x24) = ecx; /* 0x2B07C090: mov dword ptr [eax + 0x24], ecx */ 17595 esp = ebp; /* 0x2B07C093: mov esp, ebp */ 17596 ebp = POP32_VAL(esp); /* 0x2B07C095: pop ebp */ 17597 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07C096: ret */ 17598 RECOMP_REGS_OUT(); 17599 } 17600 17601 void sub_2B07C0A0(void) { 17602 int _fpu_cmp = 0; 17603 uint32_t _cf = 0; 17604 int _df = 1; 17605 uint32_t _flag_k = FK_NONE; 17606 uint32_t _flag_a = 0, _flag_b = 0; 17607 uint32_t _itail_tgt = 0; 17608 RECOMP_REGS_LOCALS 17609 RECOMP_ENTER(0x2B07C0A0u); 17610 17611 L_2B07C0A0: 17612 PUSH32(esp, ebp); /* 0x2B07C0A0: push ebp */ 17613 ebp = esp; /* 0x2B07C0A1: mov ebp, esp */ 17614 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07C0A3: push -1 */ 17615 PUSH32(esp, 0x2B0B1B7Cu); /* 0x2B07C0A5: push 0x2b0b1b7c */ 17616 eax = MEM32(FS_BASE + (0)); /* 0x2B07C0AA: mov eax, dword ptr fs:[0] */ 17617 PUSH32(esp, eax); /* 0x2B07C0B0: push eax */ 17618 MEM32(FS_BASE + (0)) = esp; /* 0x2B07C0B1: mov dword ptr fs:[0], esp */ 17619 PUSH32(esp, ecx); /* 0x2B07C0B8: push ecx */ 17620 eax = MEM32(ebp + 0x8); /* 0x2B07C0B9: mov eax, dword ptr [ebp + 8] */ 17621 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x2B07C0BC: mov dl, byte ptr [ebp + 0x13] */ 17622 PUSH32(esp, ebx); /* 0x2B07C0BF: push ebx */ 17623 PUSH32(esp, esi); /* 0x2B07C0C0: push esi */ 17624 esi = ecx; /* 0x2B07C0C1: mov esi, ecx */ 17625 ecx = MEM32(ebp + 0xC); /* 0x2B07C0C3: mov ecx, dword ptr [ebp + 0xc] */ 17626 ebx = esi + 0x8; /* 0x2B07C0C6: lea ebx, [esi + 8] */ 17627 MEM32(esi) = eax; /* 0x2B07C0C9: mov dword ptr [esi], eax */ 17628 MEM32(esi + 0x4) = ecx; /* 0x2B07C0CB: mov dword ptr [esi + 4], ecx */ 17629 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B07C0CE: mov byte ptr [ebx], dl */ 17630 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17631 edx = 0; /* 0x2B07C0D0: xor edx, edx */ 17632 _cf = 0; 17633 _flag_k = FK_TEST; 17634 PUSH32(esp, edi); /* 0x2B07C0D2: push edi */ 17635 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C0D3: mov dword ptr [ebp - 0x10], esi */ 17636 MEM32(ebx + 0x4) = edx; /* 0x2B07C0D6: mov dword ptr [ebx + 4], edx */ 17637 MEM32(ebx + 0x8) = edx; /* 0x2B07C0D9: mov dword ptr [ebx + 8], edx */ 17638 MEM32(ebx + 0xC) = edx; /* 0x2B07C0DC: mov dword ptr [ebx + 0xc], edx */ 17639 edi = MEM32(ebp + 0x10); /* 0x2B07C0DF: mov edi, dword ptr [ebp + 0x10] */ 17640 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17641 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C0E2: or ecx, 0xffffffff */ 17642 _cf = 0; 17643 _flag_k = FK_TEST; 17644 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17645 eax = 0; /* 0x2B07C0E5: xor eax, eax */ 17646 _cf = 0; 17647 _flag_k = FK_TEST; 17648 MEM32(esi + 0x18) = edx; /* 0x2B07C0E7: mov dword ptr [esi + 0x18], edx */ 17649 MEM32(esi + 0x1C) = edx; /* 0x2B07C0EA: mov dword ptr [esi + 0x1c], edx */ 17650 MEM32(esi + 0x20) = edx; /* 0x2B07C0ED: mov dword ptr [esi + 0x20], edx */ 17651 MEM32(esi + 0x24) = edx; /* 0x2B07C0F0: mov dword ptr [esi + 0x24], edx */ 17652 MEM32(esi + 0x28) = edx; /* 0x2B07C0F3: mov dword ptr [esi + 0x28], edx */ 17653 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; } /* 0x2B07C0F6: repne scasb al, byte ptr es:[edi] */ 17654 ecx = ~ecx; /* 0x2B07C0F8: not ecx */ 17655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17656 ecx = ecx - 1; /* 0x2B07C0FA: dec ecx */ 17657 _flag_k = FK_DEC; 17658 edi = ecx; /* 0x2B07C0FB: mov edi, ecx */ 17659 /* cmp edi, 0xFFFFFFFDu */ /* 0x2B07C0FD: cmp edi, -3 */ 17660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFDu); 17661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17662 _flag_k = FK_CMP; 17663 MEM32(ebp + (-0x4)) = edx; /* 0x2B07C100: mov dword ptr [ebp - 4], edx */ 17664 MEM32(ebp + 0x8) = edi; /* 0x2B07C103: mov dword ptr [ebp + 8], edi */ 17665 if (CMP_BE(_flag_a, _flag_b)) goto L_2B07C110; /* 0x2B07C106: jbe 0x2b07c110 */ 17666 L_2B07C108: 17667 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C108: call dword ptr [0x2b0b51a8] */ 17668 RECOMP_FLAGS_IN(); 17669 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17670 edx = 0; /* 0x2B07C10E: xor edx, edx */ 17671 _cf = 0; 17672 _flag_k = FK_TEST; 17673 L_2B07C110: 17674 eax = MEM32(ebx + 0x4); /* 0x2B07C110: mov eax, dword ptr [ebx + 4] */ 17675 /* cmp eax, edx */ /* 0x2B07C113: cmp eax, edx */ 17676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17678 _flag_k = FK_CMP; 17679 MEM32(ebx + 0x8) = edx; /* 0x2B07C115: mov dword ptr [ebx + 8], edx */ 17680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C148; /* 0x2B07C118: je 0x2b07c148 */ 17681 L_2B07C11A: 17682 SET_LO8(eax, MEM8(eax + (-0x1))); /* 0x2B07C11A: mov al, byte ptr [eax - 1] */ 17683 /* test LO8(eax), LO8(eax) */ /* 0x2B07C11D: test al, al */ 17684 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17685 _cf = 0; 17686 _flag_k = FK_NARROW(FK_TEST, 24); 17687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C148; /* 0x2B07C11F: je 0x2b07c148 */ 17688 L_2B07C121: 17689 /* cmp LO8(eax), 0xFFu */ /* 0x2B07C121: cmp al, 0xff */ 17690 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 17691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17692 _flag_k = FK_NARROW(FK_CMP, 24); 17693 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C148; /* 0x2B07C123: je 0x2b07c148 */ 17694 L_2B07C125: 17695 /* cmp edi, edx */ /* 0x2B07C125: cmp edi, edx */ 17696 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 17697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17698 _flag_k = FK_CMP; 17699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C181; /* 0x2B07C127: jne 0x2b07c181 */ 17700 L_2B07C129: 17701 PUSH32(esp, 1); /* 0x2B07C129: push 1 */ 17702 ecx = ebx; /* 0x2B07C12B: mov ecx, ebx */ 17703 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C12D: call dword ptr [0x2b0b514c] */ 17704 RECOMP_FLAGS_IN(); 17705 edi = POP32_VAL(esp); /* 0x2B07C133: pop edi */ 17706 eax = esi; /* 0x2B07C134: mov eax, esi */ 17707 esi = POP32_VAL(esp); /* 0x2B07C136: pop esi */ 17708 ebx = POP32_VAL(esp); /* 0x2B07C137: pop ebx */ 17709 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C138: mov ecx, dword ptr [ebp - 0xc] */ 17710 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C13B: mov dword ptr fs:[0], ecx */ 17711 esp = ebp; /* 0x2B07C142: mov esp, ebp */ 17712 ebp = POP32_VAL(esp); /* 0x2B07C144: pop ebp */ 17713 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07C145: ret 0xc */ 17714 L_2B07C148: 17715 /* cmp edi, edx */ /* 0x2B07C148: cmp edi, edx */ 17716 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 17717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17718 _flag_k = FK_CMP; 17719 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C16B; /* 0x2B07C14A: jne 0x2b07c16b */ 17720 L_2B07C14C: 17721 PUSH32(esp, 1); /* 0x2B07C14C: push 1 */ 17722 ecx = ebx; /* 0x2B07C14E: mov ecx, ebx */ 17723 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C150: call dword ptr [0x2b0b514c] */ 17724 RECOMP_FLAGS_IN(); 17725 edi = POP32_VAL(esp); /* 0x2B07C156: pop edi */ 17726 eax = esi; /* 0x2B07C157: mov eax, esi */ 17727 esi = POP32_VAL(esp); /* 0x2B07C159: pop esi */ 17728 ebx = POP32_VAL(esp); /* 0x2B07C15A: pop ebx */ 17729 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C15B: mov ecx, dword ptr [ebp - 0xc] */ 17730 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C15E: mov dword ptr fs:[0], ecx */ 17731 esp = ebp; /* 0x2B07C165: mov esp, ebp */ 17732 ebp = POP32_VAL(esp); /* 0x2B07C167: pop ebp */ 17733 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07C168: ret 0xc */ 17734 L_2B07C16B: 17735 eax = MEM32(ebx + 0xC); /* 0x2B07C16B: mov eax, dword ptr [ebx + 0xc] */ 17736 /* cmp eax, 0x1Fu */ /* 0x2B07C16E: cmp eax, 0x1f */ 17737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Fu); 17738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17739 _flag_k = FK_CMP; 17740 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C177; /* 0x2B07C171: ja 0x2b07c177 */ 17741 L_2B07C173: 17742 /* cmp eax, edi */ /* 0x2B07C173: cmp eax, edi */ 17743 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17745 _flag_k = FK_CMP; 17746 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07C18A; /* 0x2B07C175: jae 0x2b07c18a */ 17747 L_2B07C177: 17748 PUSH32(esp, 1); /* 0x2B07C177: push 1 */ 17749 ecx = ebx; /* 0x2B07C179: mov ecx, ebx */ 17750 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C17B: call dword ptr [0x2b0b514c] */ 17751 RECOMP_FLAGS_IN(); 17752 L_2B07C181: 17753 PUSH32(esp, edi); /* 0x2B07C181: push edi */ 17754 ecx = ebx; /* 0x2B07C182: mov ecx, ebx */ 17755 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B07C184: call dword ptr [0x2b0b5110] */ 17756 RECOMP_FLAGS_IN(); 17757 L_2B07C18A: 17758 esi = MEM32(ebp + 0x10); /* 0x2B07C18A: mov esi, dword ptr [ebp + 0x10] */ 17759 ecx = edi; /* 0x2B07C18D: mov ecx, edi */ 17760 edi = MEM32(ebx + 0x4); /* 0x2B07C18F: mov edi, dword ptr [ebx + 4] */ 17761 eax = ecx; /* 0x2B07C192: mov eax, ecx */ 17762 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C194: shr ecx, 2 */ 17763 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17764 ecx = ecx >> 2u; /* 0x2B07C194: shr ecx, 2 */ 17765 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C197: 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; } 17766 ecx = eax; /* 0x2B07C199: mov ecx, eax */ 17767 eax = MEM32(ebp + 0x8); /* 0x2B07C19B: mov eax, dword ptr [ebp + 8] */ 17768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17769 ecx = ecx & 3; /* 0x2B07C19E: and ecx, 3 */ 17770 _cf = 0; 17771 _flag_k = FK_TEST; 17772 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C1A1: 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; } 17773 ecx = MEM32(ebx + 0x4); /* 0x2B07C1A3: mov ecx, dword ptr [ebx + 4] */ 17774 MEM32(ebx + 0x8) = eax; /* 0x2B07C1A6: mov dword ptr [ebx + 8], eax */ 17775 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B07C1A9: mov byte ptr [eax + ecx], 0 */ 17776 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C1AD: mov ecx, dword ptr [ebp - 0xc] */ 17777 eax = MEM32(ebp + (-0x10)); /* 0x2B07C1B0: mov eax, dword ptr [ebp - 0x10] */ 17778 edi = POP32_VAL(esp); /* 0x2B07C1B3: pop edi */ 17779 esi = POP32_VAL(esp); /* 0x2B07C1B4: pop esi */ 17780 ebx = POP32_VAL(esp); /* 0x2B07C1B5: pop ebx */ 17781 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C1B6: mov dword ptr fs:[0], ecx */ 17782 esp = ebp; /* 0x2B07C1BD: mov esp, ebp */ 17783 ebp = POP32_VAL(esp); /* 0x2B07C1BF: pop ebp */ 17784 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07C1C0: ret 0xc */ 17785 RECOMP_REGS_OUT(); 17786 } 17787 17788 void sub_2B07C1D0(void) { 17789 int _fpu_cmp = 0; 17790 uint32_t _cf = 0; 17791 int _df = 1; 17792 uint32_t _flag_k = FK_NONE; 17793 uint32_t _flag_a = 0, _flag_b = 0; 17794 uint32_t _itail_tgt = 0; 17795 RECOMP_REGS_LOCALS 17796 RECOMP_ENTER(0x2B07C1D0u); 17797 17798 L_2B07C1D0: 17799 PUSH32(esp, ebp); /* 0x2B07C1D0: push ebp */ 17800 ebp = esp; /* 0x2B07C1D1: mov ebp, esp */ 17801 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17803 esp = esp - 8; /* 0x2B07C1D3: sub esp, 8 */ 17804 _flag_k = FK_CMP; 17805 PUSH32(esp, ebx); /* 0x2B07C1D6: push ebx */ 17806 PUSH32(esp, esi); /* 0x2B07C1D7: push esi */ 17807 esi = ecx; /* 0x2B07C1D8: mov esi, ecx */ 17808 ecx = MEM32(esi + 0x10); /* 0x2B07C1DA: mov ecx, dword ptr [esi + 0x10] */ 17809 /* test ecx, ecx */ /* 0x2B07C1DD: test ecx, ecx */ 17810 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17811 _cf = 0; 17812 _flag_k = FK_TEST; 17813 PUSH32(esp, edi); /* 0x2B07C1DF: push edi */ 17814 edi = MEM32(esi + 0x4); /* 0x2B07C1E0: mov edi, dword ptr [esi + 4] */ 17815 eax = MEM32(edi); /* 0x2B07C1E3: mov eax, dword ptr [edi] */ 17816 MEM32(ebp + (-0x4)) = eax; /* 0x2B07C1E5: mov dword ptr [ebp - 4], eax */ 17817 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C24F; /* 0x2B07C1E8: je 0x2b07c24f */ 17818 L_2B07C1EA: 17819 ecx = eax; /* 0x2B07C1EA: mov ecx, eax */ 17820 /* cmp eax, ecx */ /* 0x2B07C1EC: cmp eax, ecx */ 17821 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17823 _flag_k = FK_CMP; 17824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C24F; /* 0x2B07C1EE: jne 0x2b07c24f */ 17825 L_2B07C1F0: 17826 /* cmp edi, edi */ /* 0x2B07C1F0: cmp edi, edi */ 17827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17829 _flag_k = FK_CMP; 17830 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C24F; /* 0x2B07C1F2: jne 0x2b07c24f */ 17831 L_2B07C1F4: 17832 ebx = MEM32(edi + 0x4); /* 0x2B07C1F4: mov ebx, dword ptr [edi + 4] */ 17833 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B07C1F7: cmp ebx, dword ptr [esi + 8] */ 17834 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17836 _flag_k = FK_CMP; 17837 edi = ebx; /* 0x2B07C1FA: mov edi, ebx */ 17838 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C227; /* 0x2B07C1FC: je 0x2b07c227 */ 17839 L_2B07C1FE: 17840 eax = MEM32(edi + 0x8); /* 0x2B07C1FE: mov eax, dword ptr [edi + 8] */ 17841 PUSH32(esp, eax); /* 0x2B07C201: push eax */ 17842 ecx = esi; /* 0x2B07C202: mov ecx, esi */ 17843 RECOMP_ICALL(0x2B080730u); /* 0x2B07C204: call 0x2b080730 */ /* not lifted */ 17844 RECOMP_FLAGS_IN(); 17845 edi = MEM32(edi); /* 0x2B07C209: mov edi, dword ptr [edi] */ 17846 PUSH32(esp, 0); /* 0x2B07C20B: push 0 */ 17847 ecx = ebx + 0xC; /* 0x2B07C20D: lea ecx, [ebx + 0xc] */ 17848 RECOMP_ICALL(0x2B081890u); /* 0x2B07C210: call 0x2b081890 */ /* not lifted */ 17849 RECOMP_FLAGS_IN(); 17850 PUSH32(esp, ebx); /* 0x2B07C215: push ebx */ 17851 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C216: call 0x2b0ab1ba */ /* not lifted */ 17852 RECOMP_FLAGS_IN(); 17853 eax = MEM32(esi + 0x8); /* 0x2B07C21B: mov eax, dword ptr [esi + 8] */ 17854 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17856 esp = esp + 4; /* 0x2B07C21E: add esp, 4 */ 17857 _flag_k = FK_ADD; 17858 /* cmp edi, eax */ /* 0x2B07C221: cmp edi, eax */ 17859 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17861 _flag_k = FK_CMP; 17862 ebx = edi; /* 0x2B07C223: mov ebx, edi */ 17863 RECOMP_BACKEDGE(); 17864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C1FE; /* 0x2B07C225: jne 0x2b07c1fe */ 17865 L_2B07C227: 17866 ecx = MEM32(esi + 0x4); /* 0x2B07C227: mov ecx, dword ptr [esi + 4] */ 17867 edx = MEM32(esi + 0x8); /* 0x2B07C22A: mov edx, dword ptr [esi + 8] */ 17868 MEM32(ecx + 0x4) = edx; /* 0x2B07C22D: mov dword ptr [ecx + 4], edx */ 17869 eax = MEM32(esi + 0x4); /* 0x2B07C230: mov eax, dword ptr [esi + 4] */ 17870 MEM32(esi + 0x10) = 0; /* 0x2B07C233: mov dword ptr [esi + 0x10], 0 */ 17871 MEM32(eax) = eax; /* 0x2B07C23A: mov dword ptr [eax], eax */ 17872 eax = MEM32(esi + 0x4); /* 0x2B07C23C: mov eax, dword ptr [esi + 4] */ 17873 MEM32(eax + 0x8) = eax; /* 0x2B07C23F: mov dword ptr [eax + 8], eax */ 17874 eax = ebp + (-0x8); /* 0x2B07C242: lea eax, [ebp - 8] */ 17875 PUSH32(esp, eax); /* 0x2B07C245: push eax */ 17876 ecx = esi; /* 0x2B07C246: mov ecx, esi */ 17877 RECOMP_ICALL(0x2B018B60u); /* 0x2B07C248: call 0x2b018b60 */ /* not lifted */ 17878 RECOMP_FLAGS_IN(); 17879 goto L_2B07C270; /* 0x2B07C24D: jmp 0x2b07c270 */ 17880 L_2B07C24F: 17881 /* cmp eax, edi */ /* 0x2B07C24F: cmp eax, edi */ 17882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 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_2B07C270; /* 0x2B07C251: je 0x2b07c270 */ 17886 L_2B07C253: 17887 ecx = ebp + (-0x4); /* 0x2B07C253: lea ecx, [ebp - 4] */ 17888 ebx = eax; /* 0x2B07C256: mov ebx, eax */ 17889 RECOMP_ICALL(0x2B0814E0u); /* 0x2B07C258: call 0x2b0814e0 */ /* not lifted */ 17890 RECOMP_FLAGS_IN(); 17891 PUSH32(esp, ebx); /* 0x2B07C25D: push ebx */ 17892 ecx = ebp + (-0x8); /* 0x2B07C25E: lea ecx, [ebp - 8] */ 17893 PUSH32(esp, ecx); /* 0x2B07C261: push ecx */ 17894 ecx = esi; /* 0x2B07C262: mov ecx, esi */ 17895 RECOMP_ICALL(0x2B080360u); /* 0x2B07C264: call 0x2b080360 */ /* not lifted */ 17896 RECOMP_FLAGS_IN(); 17897 eax = MEM32(ebp + (-0x4)); /* 0x2B07C269: mov eax, dword ptr [ebp - 4] */ 17898 /* cmp eax, edi */ /* 0x2B07C26C: cmp eax, edi */ 17899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17901 _flag_k = FK_CMP; 17902 RECOMP_BACKEDGE(); 17903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C253; /* 0x2B07C26E: jne 0x2b07c253 */ 17904 L_2B07C270: 17905 edx = MEM32(esi + 0x4); /* 0x2B07C270: mov edx, dword ptr [esi + 4] */ 17906 PUSH32(esp, edx); /* 0x2B07C273: push edx */ 17907 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C274: call 0x2b0ab1ba */ /* not lifted */ 17908 RECOMP_FLAGS_IN(); 17909 eax = MEM32(esi + 0x8); /* 0x2B07C279: mov eax, dword ptr [esi + 8] */ 17910 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17911 edi = 0; /* 0x2B07C27C: xor edi, edi */ 17912 _cf = 0; 17913 _flag_k = FK_TEST; 17914 PUSH32(esp, eax); /* 0x2B07C27E: push eax */ 17915 MEM32(esi + 0x4) = edi; /* 0x2B07C27F: mov dword ptr [esi + 4], edi */ 17916 MEM32(esi + 0x10) = edi; /* 0x2B07C282: mov dword ptr [esi + 0x10], edi */ 17917 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C285: call 0x2b0ab1ba */ /* not lifted */ 17918 RECOMP_FLAGS_IN(); 17919 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17921 esp = esp + 8; /* 0x2B07C28A: add esp, 8 */ 17922 _flag_k = FK_ADD; 17923 MEM32(esi + 0x8) = edi; /* 0x2B07C28D: mov dword ptr [esi + 8], edi */ 17924 edi = POP32_VAL(esp); /* 0x2B07C290: pop edi */ 17925 esi = POP32_VAL(esp); /* 0x2B07C291: pop esi */ 17926 ebx = POP32_VAL(esp); /* 0x2B07C292: pop ebx */ 17927 esp = ebp; /* 0x2B07C293: mov esp, ebp */ 17928 ebp = POP32_VAL(esp); /* 0x2B07C295: pop ebp */ 17929 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07C296: ret */ 17930 RECOMP_REGS_OUT(); 17931 } 17932 17933 void sub_2B07C270(void) { 17934 int _fpu_cmp = 0; 17935 uint32_t _cf = 0; 17936 int _df = 1; 17937 uint32_t _flag_k = FK_NONE; 17938 uint32_t _flag_a = 0, _flag_b = 0; 17939 uint32_t _itail_tgt = 0; 17940 RECOMP_REGS_LOCALS 17941 RECOMP_ENTER(0x2B07C270u); 17942 17943 L_2B07C270: 17944 edx = MEM32(esi + 0x4); /* 0x2B07C270: mov edx, dword ptr [esi + 4] */ 17945 PUSH32(esp, edx); /* 0x2B07C273: push edx */ 17946 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C274: call 0x2b0ab1ba */ /* not lifted */ 17947 RECOMP_FLAGS_IN(); 17948 eax = MEM32(esi + 0x8); /* 0x2B07C279: mov eax, dword ptr [esi + 8] */ 17949 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17950 edi = 0; /* 0x2B07C27C: xor edi, edi */ 17951 _cf = 0; 17952 _flag_k = FK_TEST; 17953 PUSH32(esp, eax); /* 0x2B07C27E: push eax */ 17954 MEM32(esi + 0x4) = edi; /* 0x2B07C27F: mov dword ptr [esi + 4], edi */ 17955 MEM32(esi + 0x10) = edi; /* 0x2B07C282: mov dword ptr [esi + 0x10], edi */ 17956 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C285: call 0x2b0ab1ba */ /* not lifted */ 17957 RECOMP_FLAGS_IN(); 17958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17960 esp = esp + 8; /* 0x2B07C28A: add esp, 8 */ 17961 _flag_k = FK_ADD; 17962 MEM32(esi + 0x8) = edi; /* 0x2B07C28D: mov dword ptr [esi + 8], edi */ 17963 edi = POP32_VAL(esp); /* 0x2B07C290: pop edi */ 17964 esi = POP32_VAL(esp); /* 0x2B07C291: pop esi */ 17965 ebx = POP32_VAL(esp); /* 0x2B07C292: pop ebx */ 17966 esp = ebp; /* 0x2B07C293: mov esp, ebp */ 17967 ebp = POP32_VAL(esp); /* 0x2B07C295: pop ebp */ 17968 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07C296: ret */ 17969 RECOMP_REGS_OUT(); 17970 } 17971 17972 void sub_2B07C2A0(void) { 17973 int _fpu_cmp = 0; 17974 uint32_t _cf = 0; 17975 int _df = 1; 17976 uint32_t _flag_k = FK_NONE; 17977 uint32_t _flag_a = 0, _flag_b = 0; 17978 uint32_t _itail_tgt = 0; 17979 RECOMP_REGS_LOCALS 17980 RECOMP_ENTER(0x2B07C2A0u); 17981 17982 L_2B07C2A0: 17983 PUSH32(esp, ebp); /* 0x2B07C2A0: push ebp */ 17984 ebp = esp; /* 0x2B07C2A1: mov ebp, esp */ 17985 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17987 esp = esp - 8; /* 0x2B07C2A3: sub esp, 8 */ 17988 _flag_k = FK_CMP; 17989 PUSH32(esp, ebx); /* 0x2B07C2A6: push ebx */ 17990 PUSH32(esp, esi); /* 0x2B07C2A7: push esi */ 17991 esi = MEM32(ebp + 0x8); /* 0x2B07C2A8: mov esi, dword ptr [ebp + 8] */ 17992 eax = MEM32(esi); /* 0x2B07C2AB: mov eax, dword ptr [esi] */ 17993 MEM32(ecx) = eax; /* 0x2B07C2AD: mov dword ptr [ecx], eax */ 17994 edx = MEM32(esi + 0x4); /* 0x2B07C2AF: mov edx, dword ptr [esi + 4] */ 17995 MEM32(ecx + 0x4) = edx; /* 0x2B07C2B2: mov dword ptr [ecx + 4], edx */ 17996 eax = MEM32(0x2B0B515C); /* 0x2B07C2B5: mov eax, dword ptr [0x2b0b515c] */ 17997 edx = MEM32(eax); /* 0x2B07C2BA: mov edx, dword ptr [eax] */ 17998 eax = MEM32(esi + 0x10); /* 0x2B07C2BC: mov eax, dword ptr [esi + 0x10] */ 17999 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8); 18000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18001 esi = esi + 8; /* 0x2B07C2BF: add esi, 8 */ 18002 _flag_k = FK_ADD; 18003 PUSH32(esp, edi); /* 0x2B07C2C2: push edi */ 18004 edi = eax; /* 0x2B07C2C3: mov edi, eax */ 18005 /* cmp edx, edi */ /* 0x2B07C2C5: cmp edx, edi */ 18006 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18008 _flag_k = FK_CMP; 18009 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07C2C7: mov dword ptr [ebp - 4], ecx */ 18010 ebx = ecx + 0x8; /* 0x2B07C2CA: lea ebx, [ecx + 8] */ 18011 MEM32(ebp + (-0x8)) = edi; /* 0x2B07C2CD: mov dword ptr [ebp - 8], edi */ 18012 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07C2D7; /* 0x2B07C2D0: jae 0x2b07c2d7 */ 18013 L_2B07C2D2: 18014 MEM32(ebp + (-0x8)) = edx; /* 0x2B07C2D2: mov dword ptr [ebp - 8], edx */ 18015 edi = edx; /* 0x2B07C2D5: mov edi, edx */ 18016 L_2B07C2D7: 18017 /* cmp ebx, esi */ /* 0x2B07C2D7: cmp ebx, esi */ 18018 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 18019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18020 _flag_k = FK_CMP; 18021 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C348; /* 0x2B07C2D9: jne 0x2b07c348 */ 18022 L_2B07C2DB: 18023 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B07C2DB: cmp dword ptr [ebx + 8], edi */ 18024 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 18025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18026 _flag_k = FK_CMP; 18027 esi = edx; /* 0x2B07C2DE: mov esi, edx */ 18028 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07C2EB; /* 0x2B07C2E0: jae 0x2b07c2eb */ 18029 L_2B07C2E2: 18030 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B07C2E2: call dword ptr [0x2b0b519c] */ 18031 RECOMP_FLAGS_IN(); 18032 ecx = MEM32(ebp + (-0x4)); /* 0x2B07C2E8: mov ecx, dword ptr [ebp - 4] */ 18033 L_2B07C2EB: 18034 edx = MEM32(ebx + 0x8); /* 0x2B07C2EB: mov edx, dword ptr [ebx + 8] */ 18035 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18037 edx = edx - edi; /* 0x2B07C2EE: sub edx, edi */ 18038 _flag_k = FK_CMP; 18039 /* cmp edx, esi */ /* 0x2B07C2F0: cmp edx, esi */ 18040 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18042 _flag_k = FK_CMP; 18043 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07C2F6; /* 0x2B07C2F2: jae 0x2b07c2f6 */ 18044 L_2B07C2F4: 18045 esi = edx; /* 0x2B07C2F4: mov esi, edx */ 18046 L_2B07C2F6: 18047 /* test esi, esi */ /* 0x2B07C2F6: test esi, esi */ 18048 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18049 _cf = 0; 18050 _flag_k = FK_TEST; 18051 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C3F2; /* 0x2B07C2F8: jbe 0x2b07c3f2 */ 18052 L_2B07C2FE: 18053 ecx = ebx; /* 0x2B07C2FE: mov ecx, ebx */ 18054 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B07C300: call dword ptr [0x2b0b516c] */ 18055 RECOMP_FLAGS_IN(); 18056 edx = MEM32(ebx + 0x8); /* 0x2B07C306: mov edx, dword ptr [ebx + 8] */ 18057 ecx = MEM32(ebx + 0x4); /* 0x2B07C309: mov ecx, dword ptr [ebx + 4] */ 18058 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18060 edx = edx - esi; /* 0x2B07C30C: sub edx, esi */ 18061 _flag_k = FK_CMP; 18062 eax = ecx + edi; /* 0x2B07C30E: lea eax, [ecx + edi] */ 18063 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18065 edx = edx - edi; /* 0x2B07C311: sub edx, edi */ 18066 _flag_k = FK_CMP; 18067 PUSH32(esp, edx); /* 0x2B07C313: push edx */ 18068 ecx = eax + esi; /* 0x2B07C314: lea ecx, [eax + esi] */ 18069 PUSH32(esp, ecx); /* 0x2B07C317: push ecx */ 18070 PUSH32(esp, eax); /* 0x2B07C318: push eax */ 18071 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B07C319: call dword ptr [0x2b0b51d4] */ 18072 RECOMP_FLAGS_IN(); 18073 edi = MEM32(ebx + 0x8); /* 0x2B07C31F: mov edi, dword ptr [ebx + 8] */ 18074 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18076 esp = esp + 0xCu; /* 0x2B07C322: add esp, 0xc */ 18077 _flag_k = FK_ADD; 18078 PUSH32(esp, 0); /* 0x2B07C325: push 0 */ 18079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 18080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18081 edi = edi - esi; /* 0x2B07C327: sub edi, esi */ 18082 _flag_k = FK_CMP; 18083 PUSH32(esp, edi); /* 0x2B07C329: push edi */ 18084 ecx = ebx; /* 0x2B07C32A: mov ecx, ebx */ 18085 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C32C: call dword ptr [0x2b0b5154] */ 18086 RECOMP_FLAGS_IN(); 18087 /* test LO8(eax), LO8(eax) */ /* 0x2B07C332: test al, al */ 18088 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18089 _cf = 0; 18090 _flag_k = FK_NARROW(FK_TEST, 24); 18091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C3EF; /* 0x2B07C334: je 0x2b07c3ef */ 18092 L_2B07C33A: 18093 PUSH32(esp, edi); /* 0x2B07C33A: push edi */ 18094 ecx = ebx; /* 0x2B07C33B: mov ecx, ebx */ 18095 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C33D: call dword ptr [0x2b0b5150] */ 18096 RECOMP_FLAGS_IN(); 18097 goto L_2B07C3EF; /* 0x2B07C343: jmp 0x2b07c3ef */ 18098 L_2B07C348: 18099 /* test edi, edi */ /* 0x2B07C348: test edi, edi */ 18100 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18101 _cf = 0; 18102 _flag_k = FK_TEST; 18103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C3B3; /* 0x2B07C34A: jbe 0x2b07c3b3 */ 18104 L_2B07C34C: 18105 /* cmp edi, eax */ /* 0x2B07C34C: cmp edi, eax */ 18106 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18108 _flag_k = FK_CMP; 18109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C3B3; /* 0x2B07C34E: jne 0x2b07c3b3 */ 18110 L_2B07C350: 18111 eax = MEM32(esi + 0x4); /* 0x2B07C350: mov eax, dword ptr [esi + 4] */ 18112 /* test eax, eax */ /* 0x2B07C353: test eax, eax */ 18113 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18114 _cf = 0; 18115 _flag_k = FK_TEST; 18116 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C35C; /* 0x2B07C355: jne 0x2b07c35c */ 18117 L_2B07C357: 18118 eax = MEM32(0x2B0B513C); /* 0x2B07C357: mov eax, dword ptr [0x2b0b513c] */ 18119 L_2B07C35C: 18120 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B07C35C: cmp byte ptr [eax - 1], 0xfe */ 18121 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 18122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18123 _flag_k = FK_NARROW(FK_CMP, 24); 18124 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07C3B3; /* 0x2B07C360: jae 0x2b07c3b3 */ 18125 L_2B07C362: 18126 eax = MEM32(ebx + 0x4); /* 0x2B07C362: mov eax, dword ptr [ebx + 4] */ 18127 /* test eax, eax */ /* 0x2B07C365: test eax, eax */ 18128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18129 _cf = 0; 18130 _flag_k = FK_TEST; 18131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C388; /* 0x2B07C367: je 0x2b07c388 */ 18132 L_2B07C369: 18133 SET_LO8(edx, MEM8(eax + (-0x1))); /* 0x2B07C369: mov dl, byte ptr [eax - 1] */ 18134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18135 eax = eax - 1; /* 0x2B07C36C: dec eax */ 18136 _flag_k = FK_DEC; 18137 /* test LO8(edx), LO8(edx) */ /* 0x2B07C36D: test dl, dl */ 18138 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18139 _cf = 0; 18140 _flag_k = FK_NARROW(FK_TEST, 24); 18141 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C37C; /* 0x2B07C36F: je 0x2b07c37c */ 18142 L_2B07C371: 18143 /* cmp LO8(edx), 0xFFu */ /* 0x2B07C371: cmp dl, 0xff */ 18144 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18146 _flag_k = FK_NARROW(FK_CMP, 24); 18147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C37C; /* 0x2B07C374: je 0x2b07c37c */ 18148 L_2B07C376: 18149 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(1) << 24; 18150 SET_LO8(edx, LO8(edx) - 1); /* 0x2B07C376: dec dl */ 18151 _flag_k = FK_NARROW(FK_DEC, 24); 18152 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B07C378: mov byte ptr [eax], dl */ 18153 goto L_2B07C388; /* 0x2B07C37A: jmp 0x2b07c388 */ 18154 L_2B07C37C: 18155 PUSH32(esp, eax); /* 0x2B07C37C: push eax */ 18156 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C37D: call 0x2b0ab1ba */ /* not lifted */ 18157 RECOMP_FLAGS_IN(); 18158 ecx = MEM32(ebp + (-0x4)); /* 0x2B07C382: mov ecx, dword ptr [ebp - 4] */ 18159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18161 esp = esp + 4; /* 0x2B07C385: add esp, 4 */ 18162 _flag_k = FK_ADD; 18163 L_2B07C388: 18164 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18165 edx = 0; /* 0x2B07C388: xor edx, edx */ 18166 _cf = 0; 18167 _flag_k = FK_TEST; 18168 MEM32(ebx + 0x4) = edx; /* 0x2B07C38A: mov dword ptr [ebx + 4], edx */ 18169 MEM32(ebx + 0x8) = edx; /* 0x2B07C38D: mov dword ptr [ebx + 8], edx */ 18170 MEM32(ebx + 0xC) = edx; /* 0x2B07C390: mov dword ptr [ebx + 0xc], edx */ 18171 eax = MEM32(esi + 0x4); /* 0x2B07C393: mov eax, dword ptr [esi + 4] */ 18172 /* cmp eax, edx */ /* 0x2B07C396: cmp eax, edx */ 18173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18175 _flag_k = FK_CMP; 18176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C39F; /* 0x2B07C398: jne 0x2b07c39f */ 18177 L_2B07C39A: 18178 eax = MEM32(0x2B0B513C); /* 0x2B07C39A: mov eax, dword ptr [0x2b0b513c] */ 18179 L_2B07C39F: 18180 MEM32(ebx + 0x4) = eax; /* 0x2B07C39F: mov dword ptr [ebx + 4], eax */ 18181 edx = MEM32(esi + 0x8); /* 0x2B07C3A2: mov edx, dword ptr [esi + 8] */ 18182 MEM32(ebx + 0x8) = edx; /* 0x2B07C3A5: mov dword ptr [ebx + 8], edx */ 18183 edx = MEM32(esi + 0xC); /* 0x2B07C3A8: mov edx, dword ptr [esi + 0xc] */ 18184 MEM32(ebx + 0xC) = edx; /* 0x2B07C3AB: mov dword ptr [ebx + 0xc], edx */ 18185 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 18186 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B07C3AE: inc byte ptr [eax - 1] */ 18187 _flag_k = FK_NARROW(FK_INC, 24); 18188 goto L_2B07C3F2; /* 0x2B07C3B1: jmp 0x2b07c3f2 */ 18189 L_2B07C3B3: 18190 PUSH32(esp, 1); /* 0x2B07C3B3: push 1 */ 18191 PUSH32(esp, edi); /* 0x2B07C3B5: push edi */ 18192 ecx = ebx; /* 0x2B07C3B6: mov ecx, ebx */ 18193 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C3B8: call dword ptr [0x2b0b5154] */ 18194 RECOMP_FLAGS_IN(); 18195 /* test LO8(eax), LO8(eax) */ /* 0x2B07C3BE: test al, al */ 18196 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18197 _cf = 0; 18198 _flag_k = FK_NARROW(FK_TEST, 24); 18199 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C3EF; /* 0x2B07C3C0: je 0x2b07c3ef */ 18200 L_2B07C3C2: 18201 esi = MEM32(esi + 0x4); /* 0x2B07C3C2: mov esi, dword ptr [esi + 4] */ 18202 /* test esi, esi */ /* 0x2B07C3C5: test esi, esi */ 18203 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18204 _cf = 0; 18205 _flag_k = FK_TEST; 18206 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C3CF; /* 0x2B07C3C7: jne 0x2b07c3cf */ 18207 L_2B07C3C9: 18208 esi = MEM32(0x2B0B513C); /* 0x2B07C3C9: mov esi, dword ptr [0x2b0b513c] */ 18209 L_2B07C3CF: 18210 ecx = edi; /* 0x2B07C3CF: mov ecx, edi */ 18211 edi = MEM32(ebx + 0x4); /* 0x2B07C3D1: mov edi, dword ptr [ebx + 4] */ 18212 eax = ecx; /* 0x2B07C3D4: mov eax, ecx */ 18213 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C3D6: shr ecx, 2 */ 18214 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18215 ecx = ecx >> 2u; /* 0x2B07C3D6: shr ecx, 2 */ 18216 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C3D9: 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; } 18217 ecx = eax; /* 0x2B07C3DB: mov ecx, eax */ 18218 eax = MEM32(ebp + (-0x8)); /* 0x2B07C3DD: mov eax, dword ptr [ebp - 8] */ 18219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18220 ecx = ecx & 3; /* 0x2B07C3E0: and ecx, 3 */ 18221 _cf = 0; 18222 _flag_k = FK_TEST; 18223 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C3E3: 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; } 18224 ecx = MEM32(ebx + 0x4); /* 0x2B07C3E5: mov ecx, dword ptr [ebx + 4] */ 18225 MEM32(ebx + 0x8) = eax; /* 0x2B07C3E8: mov dword ptr [ebx + 8], eax */ 18226 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B07C3EB: mov byte ptr [eax + ecx], 0 */ 18227 L_2B07C3EF: 18228 ecx = MEM32(ebp + (-0x4)); /* 0x2B07C3EF: mov ecx, dword ptr [ebp - 4] */ 18229 L_2B07C3F2: 18230 eax = MEM32(ebp + 0x8); /* 0x2B07C3F2: mov eax, dword ptr [ebp + 8] */ 18231 edx = eax + 0x18; /* 0x2B07C3F5: lea edx, [eax + 0x18] */ 18232 edi = MEM32(edx); /* 0x2B07C3F8: mov edi, dword ptr [edx] */ 18233 esi = ecx + 0x18; /* 0x2B07C3FA: lea esi, [ecx + 0x18] */ 18234 MEM32(esi) = edi; /* 0x2B07C3FD: mov dword ptr [esi], edi */ 18235 edi = MEM32(edx + 0x4); /* 0x2B07C3FF: mov edi, dword ptr [edx + 4] */ 18236 MEM32(esi + 0x4) = edi; /* 0x2B07C402: mov dword ptr [esi + 4], edi */ 18237 edi = MEM32(edx + 0x8); /* 0x2B07C405: mov edi, dword ptr [edx + 8] */ 18238 MEM32(esi + 0x8) = edi; /* 0x2B07C408: mov dword ptr [esi + 8], edi */ 18239 edx = MEM32(edx + 0xC); /* 0x2B07C40B: mov edx, dword ptr [edx + 0xc] */ 18240 MEM32(esi + 0xC) = edx; /* 0x2B07C40E: mov dword ptr [esi + 0xc], edx */ 18241 eax = MEM32(eax + 0x28); /* 0x2B07C411: mov eax, dword ptr [eax + 0x28] */ 18242 edi = POP32_VAL(esp); /* 0x2B07C414: pop edi */ 18243 esi = POP32_VAL(esp); /* 0x2B07C415: pop esi */ 18244 MEM32(ecx + 0x28) = eax; /* 0x2B07C416: mov dword ptr [ecx + 0x28], eax */ 18245 eax = ecx; /* 0x2B07C419: mov eax, ecx */ 18246 ebx = POP32_VAL(esp); /* 0x2B07C41B: pop ebx */ 18247 esp = ebp; /* 0x2B07C41C: mov esp, ebp */ 18248 ebp = POP32_VAL(esp); /* 0x2B07C41E: pop ebp */ 18249 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07C41F: ret 4 */ 18250 RECOMP_REGS_OUT(); 18251 } 18252 18253 void sub_2B07C3EF(void) { 18254 int _fpu_cmp = 0; 18255 uint32_t _cf = 0; 18256 int _df = 1; 18257 uint32_t _flag_k = FK_NONE; 18258 uint32_t _flag_a = 0, _flag_b = 0; 18259 uint32_t _itail_tgt = 0; 18260 RECOMP_REGS_LOCALS 18261 RECOMP_ENTER(0x2B07C3EFu); 18262 18263 L_2B07C3EF: 18264 ecx = MEM32(ebp + (-0x4)); /* 0x2B07C3EF: mov ecx, dword ptr [ebp - 4] */ 18265 eax = MEM32(ebp + 0x8); /* 0x2B07C3F2: mov eax, dword ptr [ebp + 8] */ 18266 edx = eax + 0x18; /* 0x2B07C3F5: lea edx, [eax + 0x18] */ 18267 edi = MEM32(edx); /* 0x2B07C3F8: mov edi, dword ptr [edx] */ 18268 esi = ecx + 0x18; /* 0x2B07C3FA: lea esi, [ecx + 0x18] */ 18269 MEM32(esi) = edi; /* 0x2B07C3FD: mov dword ptr [esi], edi */ 18270 edi = MEM32(edx + 0x4); /* 0x2B07C3FF: mov edi, dword ptr [edx + 4] */ 18271 MEM32(esi + 0x4) = edi; /* 0x2B07C402: mov dword ptr [esi + 4], edi */ 18272 edi = MEM32(edx + 0x8); /* 0x2B07C405: mov edi, dword ptr [edx + 8] */ 18273 MEM32(esi + 0x8) = edi; /* 0x2B07C408: mov dword ptr [esi + 8], edi */ 18274 edx = MEM32(edx + 0xC); /* 0x2B07C40B: mov edx, dword ptr [edx + 0xc] */ 18275 MEM32(esi + 0xC) = edx; /* 0x2B07C40E: mov dword ptr [esi + 0xc], edx */ 18276 eax = MEM32(eax + 0x28); /* 0x2B07C411: mov eax, dword ptr [eax + 0x28] */ 18277 edi = POP32_VAL(esp); /* 0x2B07C414: pop edi */ 18278 esi = POP32_VAL(esp); /* 0x2B07C415: pop esi */ 18279 MEM32(ecx + 0x28) = eax; /* 0x2B07C416: mov dword ptr [ecx + 0x28], eax */ 18280 eax = ecx; /* 0x2B07C419: mov eax, ecx */ 18281 ebx = POP32_VAL(esp); /* 0x2B07C41B: pop ebx */ 18282 esp = ebp; /* 0x2B07C41C: mov esp, ebp */ 18283 ebp = POP32_VAL(esp); /* 0x2B07C41E: pop ebp */ 18284 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07C41F: ret 4 */ 18285 RECOMP_REGS_OUT(); 18286 } 18287 18288 void sub_2B07C430(void) { 18289 int _fpu_cmp = 0; 18290 uint32_t _cf = 0; 18291 int _df = 1; 18292 uint32_t _flag_k = FK_NONE; 18293 uint32_t _flag_a = 0, _flag_b = 0; 18294 uint32_t _itail_tgt = 0; 18295 RECOMP_REGS_LOCALS 18296 RECOMP_ENTER(0x2B07C430u); 18297 18298 L_2B07C430: 18299 PUSH32(esp, ebp); /* 0x2B07C430: push ebp */ 18300 ebp = esp; /* 0x2B07C431: mov ebp, esp */ 18301 eax = MEM32(FS_BASE + (0)); /* 0x2B07C433: mov eax, dword ptr fs:[0] */ 18302 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07C439: push -1 */ 18303 PUSH32(esp, 0x2B0B1C17u); /* 0x2B07C43B: push 0x2b0b1c17 */ 18304 PUSH32(esp, eax); /* 0x2B07C440: push eax */ 18305 eax = 0x1268u; /* 0x2B07C441: mov eax, 0x1268 */ 18306 MEM32(FS_BASE + (0)) = esp; /* 0x2B07C446: mov dword ptr fs:[0], esp */ 18307 RECOMP_ICALL(0x2B0AB250u); /* 0x2B07C44D: call 0x2b0ab250 */ /* not lifted */ 18308 RECOMP_FLAGS_IN(); 18309 eax = MEM32(ebp + 0x8); /* 0x2B07C452: mov eax, dword ptr [ebp + 8] */ 18310 PUSH32(esp, ebx); /* 0x2B07C455: push ebx */ 18311 PUSH32(esp, esi); /* 0x2B07C456: push esi */ 18312 PUSH32(esp, edi); /* 0x2B07C457: push edi */ 18313 MEM32(ebp + (-0x40)) = ecx; /* 0x2B07C458: mov dword ptr [ebp - 0x40], ecx */ 18314 PUSH32(esp, eax); /* 0x2B07C45B: push eax */ 18315 ecx = ebp + (-0x68); /* 0x2B07C45C: lea ecx, [ebp - 0x68] */ 18316 RECOMP_ICALL(MEM32(0x2B0B56AC)); /* 0x2B07C45F: call dword ptr [0x2b0b56ac] */ 18317 RECOMP_FLAGS_IN(); 18318 ecx = ebp + (-0x68); /* 0x2B07C465: lea ecx, [ebp - 0x68] */ 18319 MEM32(ebp + (-0x4)) = 0; /* 0x2B07C468: mov dword ptr [ebp - 4], 0 */ 18320 RECOMP_ICALL(MEM32(0x2B0B56A8)); /* 0x2B07C46F: call dword ptr [0x2b0b56a8] */ 18321 RECOMP_FLAGS_IN(); 18322 /* test LO8(eax), LO8(eax) */ /* 0x2B07C475: test al, al */ 18323 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18324 _cf = 0; 18325 _flag_k = FK_NARROW(FK_TEST, 24); 18326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C4F2; /* 0x2B07C477: je 0x2b07c4f2 */ 18327 L_2B07C479: 18328 PUSH32(esp, 0); /* 0x2B07C479: push 0 */ 18329 RECOMP_ICALL(MEM32(0x2B0B56C4)); /* 0x2B07C47B: call dword ptr [0x2b0b56c4] */ 18330 RECOMP_FLAGS_IN(); 18331 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18332 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18333 esp = esp + 4; /* 0x2B07C481: add esp, 4 */ 18334 _flag_k = FK_ADD; 18335 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18336 edi = 0; /* 0x2B07C484: xor edi, edi */ 18337 _cf = 0; 18338 _flag_k = FK_TEST; 18339 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18340 esi = 0; /* 0x2B07C486: xor esi, esi */ 18341 _cf = 0; 18342 _flag_k = FK_TEST; 18343 PUSH32(esp, 1); /* 0x2B07C488: push 1 */ 18344 ecx = ebp + (-0x68); /* 0x2B07C48A: lea ecx, [ebp - 0x68] */ 18345 MEM32(ebp + 0x8) = eax; /* 0x2B07C48D: mov dword ptr [ebp + 8], eax */ 18346 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 18347 SET_LO8(ebx, 0); /* 0x2B07C490: xor bl, bl */ 18348 _cf = 0; 18349 _flag_k = FK_NARROW(FK_TEST, 24); 18350 MEM32(ebp + (-0x3C)) = edi; /* 0x2B07C492: mov dword ptr [ebp - 0x3c], edi */ 18351 MEM32(ebp + (-0x44)) = esi; /* 0x2B07C495: mov dword ptr [ebp - 0x44], esi */ 18352 RECOMP_ICALL(MEM32(0x2B0B56A0)); /* 0x2B07C498: call dword ptr [0x2b0b56a0] */ 18353 RECOMP_FLAGS_IN(); 18354 /* test eax, eax */ /* 0x2B07C49E: test eax, eax */ 18355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18356 _cf = 0; 18357 _flag_k = FK_TEST; 18358 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C4D8; /* 0x2B07C4A0: jne 0x2b07c4d8 */ 18359 L_2B07C4A2: 18360 ecx = ebp + (-0x68); /* 0x2B07C4A2: lea ecx, [ebp - 0x68] */ 18361 RECOMP_ICALL(MEM32(0x2B0B569C)); /* 0x2B07C4A5: call dword ptr [0x2b0b569c] */ 18362 RECOMP_FLAGS_IN(); 18363 esi = eax; /* 0x2B07C4AB: mov esi, eax */ 18364 PUSH32(esp, esi); /* 0x2B07C4AD: push esi */ 18365 MEM32(ebp + (-0x44)) = esi; /* 0x2B07C4AE: mov dword ptr [ebp - 0x44], esi */ 18366 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07C4B1: call 0x2b0ab212 */ /* not lifted */ 18367 RECOMP_FLAGS_IN(); 18368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18370 esp = esp + 4; /* 0x2B07C4B6: add esp, 4 */ 18371 _flag_k = FK_ADD; 18372 edi = eax; /* 0x2B07C4B9: mov edi, eax */ 18373 PUSH32(esp, esi); /* 0x2B07C4BB: push esi */ 18374 PUSH32(esp, edi); /* 0x2B07C4BC: push edi */ 18375 ecx = ebp + (-0x68); /* 0x2B07C4BD: lea ecx, [ebp - 0x68] */ 18376 MEM32(ebp + (-0x3C)) = edi; /* 0x2B07C4C0: mov dword ptr [ebp - 0x3c], edi */ 18377 RECOMP_ICALL(MEM32(0x2B0B5698)); /* 0x2B07C4C3: call dword ptr [0x2b0b5698] */ 18378 RECOMP_FLAGS_IN(); 18379 /* test eax, eax */ /* 0x2B07C4C9: test eax, eax */ 18380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18381 _cf = 0; 18382 _flag_k = FK_TEST; 18383 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C4CF; /* 0x2B07C4CB: jne 0x2b07c4cf */ 18384 L_2B07C4CD: 18385 SET_LO8(ebx, 1); /* 0x2B07C4CD: mov bl, 1 */ 18386 L_2B07C4CF: 18387 ecx = ebp + (-0x68); /* 0x2B07C4CF: lea ecx, [ebp - 0x68] */ 18388 RECOMP_ICALL(MEM32(0x2B0B56D8)); /* 0x2B07C4D2: call dword ptr [0x2b0b56d8] */ 18389 RECOMP_FLAGS_IN(); 18390 L_2B07C4D8: 18391 ecx = MEM32(ebp + 0x8); /* 0x2B07C4D8: mov ecx, dword ptr [ebp + 8] */ 18392 PUSH32(esp, ecx); /* 0x2B07C4DB: push ecx */ 18393 RECOMP_ICALL(MEM32(0x2B0B56C4)); /* 0x2B07C4DC: call dword ptr [0x2b0b56c4] */ 18394 RECOMP_FLAGS_IN(); 18395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18397 esp = esp + 4; /* 0x2B07C4E2: add esp, 4 */ 18398 _flag_k = FK_ADD; 18399 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07C4E5: test bl, bl */ 18400 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18401 _cf = 0; 18402 _flag_k = FK_NARROW(FK_TEST, 24); 18403 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C517; /* 0x2B07C4E7: jne 0x2b07c517 */ 18404 L_2B07C4E9: 18405 PUSH32(esp, edi); /* 0x2B07C4E9: push edi */ 18406 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07C4EA: call 0x2b0ab1ba */ /* not lifted */ 18407 RECOMP_FLAGS_IN(); 18408 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18410 esp = esp + 4; /* 0x2B07C4EF: add esp, 4 */ 18411 _flag_k = FK_ADD; 18412 L_2B07C4F2: 18413 ecx = ebp + (-0x68); /* 0x2B07C4F2: lea ecx, [ebp - 0x68] */ 18414 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07C4F5: mov dword ptr [ebp - 4], 0xffffffff */ 18415 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07C4FC: call dword ptr [0x2b0b56a4] */ 18416 RECOMP_FLAGS_IN(); 18417 edi = POP32_VAL(esp); /* 0x2B07C502: pop edi */ 18418 esi = POP32_VAL(esp); /* 0x2B07C503: pop esi */ 18419 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 18420 SET_LO8(eax, 0); /* 0x2B07C504: xor al, al */ 18421 _cf = 0; 18422 _flag_k = FK_NARROW(FK_TEST, 24); 18423 ebx = POP32_VAL(esp); /* 0x2B07C506: pop ebx */ 18424 ecx = MEM32(ebp + (-0xC)); /* 0x2B07C507: mov ecx, dword ptr [ebp - 0xc] */ 18425 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07C50A: mov dword ptr fs:[0], ecx */ 18426 esp = ebp; /* 0x2B07C511: mov esp, ebp */ 18427 ebp = POP32_VAL(esp); /* 0x2B07C513: pop ebp */ 18428 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07C514: ret 4 */ 18429 L_2B07C517: 18430 PUSH32(esp, esi); /* 0x2B07C517: push esi */ 18431 PUSH32(esp, edi); /* 0x2B07C518: push edi */ 18432 ecx = ebp + (-0x9C); /* 0x2B07C519: lea ecx, [ebp - 0x9c] */ 18433 RECOMP_ICALL(MEM32(0x2B0B56C0)); /* 0x2B07C51F: call dword ptr [0x2b0b56c0] */ 18434 RECOMP_FLAGS_IN(); 18435 PUSH32(esp, 1); /* 0x2B07C525: push 1 */ 18436 ecx = ebp + (-0x9C); /* 0x2B07C527: lea ecx, [ebp - 0x9c] */ 18437 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07C52D: mov byte ptr [ebp - 4], 1 */ 18438 RECOMP_ICALL(MEM32(0x2B0B56BC)); /* 0x2B07C531: call dword ptr [0x2b0b56bc] */ 18439 RECOMP_FLAGS_IN(); 18440 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18441 ebx = 0; /* 0x2B07C537: xor ebx, ebx */ 18442 _cf = 0; 18443 _flag_k = FK_TEST; 18444 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B07C539: mov byte ptr [ebp + 0xb], 1 */ 18445 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B07C53D: mov dl, byte ptr [ebp + 0xb] */ 18446 PUSH32(esp, ebx); /* 0x2B07C540: push ebx */ 18447 ecx = ebp + (-0x2C); /* 0x2B07C541: lea ecx, [ebp - 0x2c] */ 18448 MEM32(ebp + (-0x34)) = ebx; /* 0x2B07C544: mov dword ptr [ebp - 0x34], ebx */ 18449 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C547: mov dword ptr [ebp - 0x18], ebx */ 18450 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07C54A: mov dword ptr [ebp - 0x14], ebx */ 18451 MEM32(ebp + (-0x10)) = ebx; /* 0x2B07C54D: mov dword ptr [ebp - 0x10], ebx */ 18452 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(edx)); /* 0x2B07C550: mov byte ptr [ebp - 0x2c], dl */ 18453 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C553: call dword ptr [0x2b0b514c] */ 18454 RECOMP_FLAGS_IN(); 18455 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C559: mov byte ptr [ebp - 4], 2 */ 18456 L_2B07C55D: 18457 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 18458 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 18459 RECOMP_FLAGS_IN(); 18460 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 18461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 18462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18463 _flag_k = FK_CMP; 18464 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 18465 L_2B07C572: 18466 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 18467 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 18468 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 18469 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 18470 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 18471 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 18472 RECOMP_FLAGS_IN(); 18473 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 18474 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18475 _cf = 0; 18476 _flag_k = FK_TEST; 18477 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 18478 L_2B07C594: 18479 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 18480 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 18481 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 18482 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 18483 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 18484 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 18485 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18486 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 18487 _cf = 0; 18488 _flag_k = FK_TEST; 18489 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 18490 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 18491 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 18492 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 18493 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 18494 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 18495 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18496 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 18497 _cf = 0; 18498 _flag_k = FK_TEST; 18499 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 18500 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 18501 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 18502 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 18503 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 18504 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 18505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18506 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 18507 _cf = 0; 18508 _flag_k = FK_TEST; 18509 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 18510 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 18511 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 18512 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 18513 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 18514 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 18515 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18516 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 18517 _cf = 0; 18518 _flag_k = FK_TEST; 18519 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 18520 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 18521 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 18522 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 18523 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 18524 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 18525 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 18526 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 18527 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 18528 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 18529 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 18530 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 18531 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 18532 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 18533 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 18534 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 18535 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 18536 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 18537 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 18538 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 18539 RECOMP_FLAGS_IN(); 18540 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 18541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 18542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18543 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 18544 _flag_k = FK_ADD; 18545 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 18546 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18547 _cf = 0; 18548 _flag_k = FK_NARROW(FK_TEST, 24); 18549 RECOMP_BACKEDGE(); 18550 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 18551 L_2B07C654: 18552 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 18553 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 18554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18555 _flag_k = FK_NARROW(FK_CMP, 24); 18556 RECOMP_BACKEDGE(); 18557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 18558 L_2B07C65C: 18559 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 18560 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 18561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18562 _flag_k = FK_NARROW(FK_CMP, 24); 18563 RECOMP_BACKEDGE(); 18564 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 18565 L_2B07C664: 18566 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 18567 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 18568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18569 _flag_k = FK_NARROW(FK_CMP, 24); 18570 RECOMP_BACKEDGE(); 18571 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 18572 L_2B07C66C: 18573 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 18574 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 18575 L_2B07C677: 18576 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 18577 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 18578 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 18579 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 18580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18581 _flag_k = FK_NARROW(FK_CMP, 24); 18582 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 18583 L_2B07C67F: 18584 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 18585 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18586 _cf = 0; 18587 _flag_k = FK_NARROW(FK_TEST, 24); 18588 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 18589 L_2B07C683: 18590 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 18591 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 18592 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 18593 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 18594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18595 _flag_k = FK_NARROW(FK_CMP, 24); 18596 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 18597 L_2B07C68D: 18598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 18599 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18600 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 18601 _flag_k = FK_ADD; 18602 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 18603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18604 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 18605 _flag_k = FK_ADD; 18606 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 18607 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18608 _cf = 0; 18609 _flag_k = FK_NARROW(FK_TEST, 24); 18610 RECOMP_BACKEDGE(); 18611 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 18612 L_2B07C697: 18613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18614 eax = 0; /* 0x2B07C697: xor eax, eax */ 18615 _cf = 0; 18616 _flag_k = FK_TEST; 18617 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 18618 L_2B07C69B: 18619 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 18620 eax = _sc ? 0xFFFFFFFFu : 0; 18621 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18622 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18623 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 18624 eax = _sa - _sb - _sc; 18625 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18626 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18627 L_2B07C6A0: 18628 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 18629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18630 _cf = 0; 18631 _flag_k = FK_TEST; 18632 RECOMP_BACKEDGE(); 18633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 18634 L_2B07C6A8: 18635 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 18636 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 18637 L_2B07C6B3: 18638 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 18639 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 18640 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 18641 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 18642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18643 _flag_k = FK_NARROW(FK_CMP, 24); 18644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 18645 L_2B07C6BB: 18646 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 18647 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18648 _cf = 0; 18649 _flag_k = FK_NARROW(FK_TEST, 24); 18650 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 18651 L_2B07C6BF: 18652 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 18653 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 18654 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 18655 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 18656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18657 _flag_k = FK_NARROW(FK_CMP, 24); 18658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 18659 L_2B07C6C9: 18660 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 18661 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18662 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 18663 _flag_k = FK_ADD; 18664 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 18665 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18666 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 18667 _flag_k = FK_ADD; 18668 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 18669 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18670 _cf = 0; 18671 _flag_k = FK_NARROW(FK_TEST, 24); 18672 RECOMP_BACKEDGE(); 18673 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 18674 L_2B07C6D3: 18675 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18676 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 18677 _cf = 0; 18678 _flag_k = FK_TEST; 18679 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 18680 L_2B07C6D7: 18681 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 18682 eax = _sc ? 0xFFFFFFFFu : 0; 18683 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18684 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18685 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 18686 eax = _sa - _sb - _sc; 18687 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18688 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18689 L_2B07C6DC: 18690 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 18691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18692 _cf = 0; 18693 _flag_k = FK_TEST; 18694 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 18695 L_2B07C6E4: 18696 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 18697 RECOMP_FLAGS_IN(); 18698 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 18699 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18700 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 18701 _cf = 0; 18702 _flag_k = FK_TEST; 18703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18704 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 18705 _cf = 0; 18706 _flag_k = FK_TEST; 18707 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 18708 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; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 18709 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 18710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18711 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 18712 _flag_k = FK_DEC; 18713 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 18714 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 18715 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 18716 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 18717 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 18718 RECOMP_FLAGS_IN(); 18719 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 18720 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18721 _cf = 0; 18722 _flag_k = FK_NARROW(FK_TEST, 24); 18723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 18724 L_2B07C70A: 18725 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 18726 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 18727 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 18728 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 18729 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18730 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 18731 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: 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; } 18732 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 18733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18734 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 18735 _cf = 0; 18736 _flag_k = FK_TEST; 18737 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: 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; } 18738 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 18739 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 18740 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 18741 RECOMP_FLAGS_IN(); 18742 L_2B07C727: 18743 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18744 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 18745 _cf = 0; 18746 _flag_k = FK_TEST; 18747 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18748 eax = 0; /* 0x2B07C72A: xor eax, eax */ 18749 _cf = 0; 18750 _flag_k = FK_TEST; 18751 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 18752 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; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 18753 ecx = ~ecx; /* 0x2B07C733: not ecx */ 18754 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18755 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 18756 _flag_k = FK_DEC; 18757 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 18758 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 18759 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 18760 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 18761 RECOMP_FLAGS_IN(); 18762 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18763 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 18764 _cf = 0; 18765 _flag_k = FK_TEST; 18766 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18767 eax = 0; /* 0x2B07C748: xor eax, eax */ 18768 _cf = 0; 18769 _flag_k = FK_TEST; 18770 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 18771 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; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 18772 ecx = ~ecx; /* 0x2B07C752: not ecx */ 18773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18774 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 18775 _flag_k = FK_DEC; 18776 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 18777 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 18778 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 18779 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 18780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18781 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 18782 _flag_k = FK_CMP; 18783 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 18784 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18786 _flag_k = FK_CMP; 18787 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 18788 L_2B07C766: 18789 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 18790 RECOMP_FLAGS_IN(); 18791 L_2B07C76C: 18792 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 18793 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18794 _cf = 0; 18795 _flag_k = FK_TEST; 18796 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 18797 L_2B07C770: 18798 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 18799 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 18800 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 18801 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 18802 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 18803 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 18804 RECOMP_FLAGS_IN(); 18805 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 18806 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18807 _cf = 0; 18808 _flag_k = FK_NARROW(FK_TEST, 24); 18809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 18810 L_2B07C786: 18811 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 18812 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 18813 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 18814 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 18815 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 18816 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 18817 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18818 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 18819 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 18820 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: 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; } 18821 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 18822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18823 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 18824 _cf = 0; 18825 _flag_k = FK_TEST; 18826 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: 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; } 18827 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 18828 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 18829 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 18830 RECOMP_FLAGS_IN(); 18831 L_2B07C7AF: 18832 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18833 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 18834 _cf = 0; 18835 _flag_k = FK_TEST; 18836 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 18837 RECOMP_BACKEDGE(); 18838 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 18839 L_2B07C7B9: 18840 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 18841 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 18842 L_2B07C7C4: 18843 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 18844 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 18845 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 18846 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 18847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18848 _flag_k = FK_NARROW(FK_CMP, 24); 18849 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 18850 L_2B07C7CC: 18851 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 18852 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18853 _cf = 0; 18854 _flag_k = FK_NARROW(FK_TEST, 24); 18855 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 18856 L_2B07C7D0: 18857 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 18858 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 18859 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 18860 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 18861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18862 _flag_k = FK_NARROW(FK_CMP, 24); 18863 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 18864 L_2B07C7DA: 18865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 18866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18867 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 18868 _flag_k = FK_ADD; 18869 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 18870 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18871 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 18872 _flag_k = FK_ADD; 18873 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 18874 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18875 _cf = 0; 18876 _flag_k = FK_NARROW(FK_TEST, 24); 18877 RECOMP_BACKEDGE(); 18878 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 18879 L_2B07C7E4: 18880 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18881 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 18882 _cf = 0; 18883 _flag_k = FK_TEST; 18884 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 18885 L_2B07C7E8: 18886 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 18887 eax = _sc ? 0xFFFFFFFFu : 0; 18888 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18889 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18890 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 18891 eax = _sa - _sb - _sc; 18892 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 18893 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 18894 L_2B07C7ED: 18895 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 18896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18897 _cf = 0; 18898 _flag_k = FK_TEST; 18899 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 18900 L_2B07C7F5: 18901 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 18902 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 18903 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 18904 RECOMP_FLAGS_IN(); 18905 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 18906 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 18907 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18908 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18909 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 18910 _flag_k = FK_ADD; 18911 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 18912 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18913 eax = 0; /* 0x2B07C810: xor eax, eax */ 18914 _cf = 0; 18915 _flag_k = FK_TEST; 18916 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 18917 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 18918 edi = edi + 1; /* 0x2B07C818: inc edi */ 18919 _flag_k = FK_INC; 18920 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 18921 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 18922 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 18923 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 18924 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 18925 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 18926 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 18927 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 18928 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 18929 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 18930 RECOMP_FLAGS_IN(); 18931 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 18932 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 18933 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 18934 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 18935 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 18936 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 18937 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 18938 RECOMP_FLAGS_IN(); 18939 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 18940 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 18941 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 18942 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 18943 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 18944 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 18945 RECOMP_FLAGS_IN(); 18946 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 18947 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 18948 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 18949 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 18950 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 18951 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 18952 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 18953 RECOMP_FLAGS_IN(); 18954 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 18955 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 18956 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 18957 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 18958 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 18959 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 18960 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 18961 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 18962 RECOMP_FLAGS_IN(); 18963 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 18964 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 18965 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 18966 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 18967 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 18968 RECOMP_FLAGS_IN(); 18969 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 18970 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 18971 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 18972 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 18973 RECOMP_FLAGS_IN(); 18974 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 18975 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 18976 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 18977 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 18978 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 18979 RECOMP_FLAGS_IN(); 18980 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 18981 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 18982 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 18983 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 18984 RECOMP_FLAGS_IN(); 18985 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 18986 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 18987 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 18988 RECOMP_FLAGS_IN(); 18989 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 18990 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 18991 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 18992 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 18993 RECOMP_FLAGS_IN(); 18994 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 18995 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 18996 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 18997 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 18998 RECOMP_FLAGS_IN(); 18999 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 19000 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 19001 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 19002 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 19003 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 19004 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 19005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19006 esi = 0; /* 0x2B07C953: xor esi, esi */ 19007 _cf = 0; 19008 _flag_k = FK_TEST; 19009 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 19010 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 19011 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 19012 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 19013 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 19014 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 19015 RECOMP_FLAGS_IN(); 19016 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 19017 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 19018 RECOMP_BACKEDGE(); 19019 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 19020 L_2B07C971: 19021 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 19022 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 19023 _cf = 0; 19024 _flag_k = FK_TEST; 19025 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 19026 L_2B07C979: 19027 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 19028 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 19029 L_2B07C984: 19030 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 19031 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 19032 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 19033 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19035 _flag_k = FK_NARROW(FK_CMP, 24); 19036 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 19037 L_2B07C98C: 19038 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 19039 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19040 _cf = 0; 19041 _flag_k = FK_NARROW(FK_TEST, 24); 19042 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 19043 L_2B07C990: 19044 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 19045 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 19046 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 19047 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19049 _flag_k = FK_NARROW(FK_CMP, 24); 19050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 19051 L_2B07C99A: 19052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19054 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 19055 _flag_k = FK_ADD; 19056 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19058 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 19059 _flag_k = FK_ADD; 19060 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 19061 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19062 _cf = 0; 19063 _flag_k = FK_NARROW(FK_TEST, 24); 19064 RECOMP_BACKEDGE(); 19065 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 19066 L_2B07C9A4: 19067 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19068 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 19069 _cf = 0; 19070 _flag_k = FK_TEST; 19071 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 19072 L_2B07C9A8: 19073 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 19074 eax = _sc ? 0xFFFFFFFFu : 0; 19075 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19076 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19077 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 19078 eax = _sa - _sb - _sc; 19079 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19080 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19081 L_2B07C9AD: 19082 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 19083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19084 _cf = 0; 19085 _flag_k = FK_TEST; 19086 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 19087 L_2B07C9B1: 19088 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 19089 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 19090 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 19091 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 19092 RECOMP_FLAGS_IN(); 19093 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 19094 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 19095 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 19096 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 19097 RECOMP_FLAGS_IN(); 19098 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 19099 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19100 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19101 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 19102 _flag_k = FK_ADD; 19103 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 19104 RECOMP_BACKEDGE(); 19105 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 19106 L_2B07C9D9: 19107 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 19108 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 19109 L_2B07C9E4: 19110 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 19111 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 19112 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 19113 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19115 _flag_k = FK_NARROW(FK_CMP, 24); 19116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 19117 L_2B07C9EC: 19118 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 19119 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19120 _cf = 0; 19121 _flag_k = FK_NARROW(FK_TEST, 24); 19122 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 19123 L_2B07C9F0: 19124 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 19125 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 19126 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 19127 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19129 _flag_k = FK_NARROW(FK_CMP, 24); 19130 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 19131 L_2B07C9FA: 19132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19133 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19134 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 19135 _flag_k = FK_ADD; 19136 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19138 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 19139 _flag_k = FK_ADD; 19140 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 19141 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19142 _cf = 0; 19143 _flag_k = FK_NARROW(FK_TEST, 24); 19144 RECOMP_BACKEDGE(); 19145 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 19146 L_2B07CA04: 19147 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19148 eax = 0; /* 0x2B07CA04: xor eax, eax */ 19149 _cf = 0; 19150 _flag_k = FK_TEST; 19151 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 19152 L_2B07CA08: 19153 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 19154 eax = _sc ? 0xFFFFFFFFu : 0; 19155 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19156 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19157 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 19158 eax = _sa - _sb - _sc; 19159 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19160 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19161 L_2B07CA0D: 19162 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 19163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19164 _cf = 0; 19165 _flag_k = FK_TEST; 19166 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 19167 L_2B07CA11: 19168 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 19169 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 19170 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 19171 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 19172 RECOMP_FLAGS_IN(); 19173 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 19174 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 19175 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 19176 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 19177 RECOMP_FLAGS_IN(); 19178 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19180 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 19181 _flag_k = FK_ADD; 19182 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 19183 RECOMP_BACKEDGE(); 19184 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 19185 L_2B07CA36: 19186 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 19187 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 19188 L_2B07CA41: 19189 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 19190 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 19191 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 19192 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19194 _flag_k = FK_NARROW(FK_CMP, 24); 19195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 19196 L_2B07CA49: 19197 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 19198 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19199 _cf = 0; 19200 _flag_k = FK_NARROW(FK_TEST, 24); 19201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 19202 L_2B07CA4D: 19203 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 19204 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 19205 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 19206 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19208 _flag_k = FK_NARROW(FK_CMP, 24); 19209 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 19210 L_2B07CA57: 19211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19213 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 19214 _flag_k = FK_ADD; 19215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19217 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 19218 _flag_k = FK_ADD; 19219 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 19220 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19221 _cf = 0; 19222 _flag_k = FK_NARROW(FK_TEST, 24); 19223 RECOMP_BACKEDGE(); 19224 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 19225 L_2B07CA61: 19226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19227 eax = 0; /* 0x2B07CA61: xor eax, eax */ 19228 _cf = 0; 19229 _flag_k = FK_TEST; 19230 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 19231 L_2B07CA65: 19232 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 19233 eax = _sc ? 0xFFFFFFFFu : 0; 19234 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19235 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19236 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 19237 eax = _sa - _sb - _sc; 19238 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19239 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19240 L_2B07CA6A: 19241 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 19242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19243 _cf = 0; 19244 _flag_k = FK_TEST; 19245 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 19246 L_2B07CA6E: 19247 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 19248 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 19249 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 19250 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 19251 RECOMP_FLAGS_IN(); 19252 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 19253 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 19254 esi = eax; /* 0x2B07CA84: mov esi, eax */ 19255 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 19256 RECOMP_FLAGS_IN(); 19257 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 19258 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 19259 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 19260 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 19261 RECOMP_FLAGS_IN(); 19262 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 19263 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 19264 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 19265 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 19266 RECOMP_FLAGS_IN(); 19267 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 19268 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 19269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19270 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 19271 _flag_k = FK_ADD; 19272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 19273 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19274 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 19275 _flag_k = FK_ADD; 19276 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 19277 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 19278 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 19279 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 19280 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 19281 RECOMP_BACKEDGE(); 19282 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 19283 L_2B07CABE: 19284 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 19285 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 19286 L_2B07CAC9: 19287 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 19288 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 19289 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 19290 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19292 _flag_k = FK_NARROW(FK_CMP, 24); 19293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 19294 L_2B07CAD1: 19295 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 19296 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19297 _cf = 0; 19298 _flag_k = FK_NARROW(FK_TEST, 24); 19299 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 19300 L_2B07CAD5: 19301 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 19302 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 19303 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 19304 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19306 _flag_k = FK_NARROW(FK_CMP, 24); 19307 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 19308 L_2B07CADF: 19309 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19310 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19311 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 19312 _flag_k = FK_ADD; 19313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19315 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 19316 _flag_k = FK_ADD; 19317 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 19318 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19319 _cf = 0; 19320 _flag_k = FK_NARROW(FK_TEST, 24); 19321 RECOMP_BACKEDGE(); 19322 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 19323 L_2B07CAE9: 19324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19325 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 19326 _cf = 0; 19327 _flag_k = FK_TEST; 19328 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 19329 L_2B07CAED: 19330 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 19331 eax = _sc ? 0xFFFFFFFFu : 0; 19332 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19333 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19334 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 19335 eax = _sa - _sb - _sc; 19336 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19337 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19338 L_2B07CAF2: 19339 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 19340 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19341 _cf = 0; 19342 _flag_k = FK_TEST; 19343 RECOMP_BACKEDGE(); 19344 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 19345 L_2B07CAFA: 19346 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 19347 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 19348 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 19349 RECOMP_FLAGS_IN(); 19350 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 19351 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 19352 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 19353 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19354 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 19355 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19356 edx = 0; /* 0x2B07CB10: xor edx, edx */ 19357 _cf = 0; 19358 _flag_k = FK_TEST; 19359 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19361 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 19362 _flag_k = FK_ADD; 19363 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 19364 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 19365 _cf = 0; 19366 _flag_k = FK_TEST; 19367 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 19368 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 19369 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 19370 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 19371 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 19372 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 19373 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 19374 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 19375 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 19376 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 19377 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 19378 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 19379 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 19380 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 19381 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 19382 RECOMP_FLAGS_IN(); 19383 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 19384 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 19385 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 19386 RECOMP_FLAGS_IN(); 19387 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 19388 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 19389 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 19390 RECOMP_FLAGS_IN(); 19391 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 19392 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 19393 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 19394 RECOMP_FLAGS_IN(); 19395 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 19396 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 19397 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 19398 _flag_k = FK_INC; 19399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19400 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 19401 _flag_k = FK_DEC; 19402 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 19403 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 19404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19405 _flag_k = FK_CMP; 19406 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 19407 RECOMP_BACKEDGE(); 19408 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 19409 L_2B07CB7A: 19410 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 19411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19412 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 19413 _flag_k = FK_INC; 19414 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 19415 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 19416 RECOMP_BACKEDGE(); 19417 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 19418 L_2B07CB8D: 19419 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 19420 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 19421 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 19422 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 19423 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 19424 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 19425 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 19426 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 19427 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 19428 RECOMP_FLAGS_IN(); 19429 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 19430 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 19431 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 19432 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 19433 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 19434 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 19435 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 19436 RECOMP_FLAGS_IN(); 19437 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 19438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19439 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 19440 _flag_k = FK_ADD; 19441 L_2B07CBCB: 19442 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 19443 L_2B07CBCF: 19444 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 19445 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 19446 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 19447 RECOMP_FLAGS_IN(); 19448 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 19449 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19451 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 19452 _flag_k = FK_ADD; 19453 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 19454 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19455 _cf = 0; 19456 _flag_k = FK_NARROW(FK_TEST, 24); 19457 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 19458 L_2B07CBE2: 19459 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 19460 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 19461 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 19462 L_2B07CBEE: 19463 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 19464 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19465 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 19466 _cf = 0; 19467 _flag_k = FK_TEST; 19468 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 19469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19471 _flag_k = FK_CMP; 19472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 19473 L_2B07CBF7: 19474 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 19475 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 19476 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 19477 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19478 _cf = 0; 19479 _flag_k = FK_NARROW(FK_TEST, 24); 19480 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 19481 L_2B07CC00: 19482 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 19483 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 19484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19485 _flag_k = FK_NARROW(FK_CMP, 24); 19486 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 19487 L_2B07CC04: 19488 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 19489 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 19490 _flag_k = FK_NARROW(FK_DEC, 24); 19491 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 19492 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 19493 L_2B07CC0A: 19494 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 19495 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 19496 RECOMP_FLAGS_IN(); 19497 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19499 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 19500 _flag_k = FK_ADD; 19501 L_2B07CC13: 19502 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 19503 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 19504 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 19505 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 19506 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 19507 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 19508 RECOMP_FLAGS_IN(); 19509 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 19510 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 19511 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 19512 RECOMP_FLAGS_IN(); 19513 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 19514 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 19515 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 19516 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 19517 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 19518 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 19519 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 19520 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 19521 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 19522 RECOMP_REGS_OUT(); 19523 } 19524 19525 void sub_2B07C55D(void) { 19526 int _fpu_cmp = 0; 19527 uint32_t _cf = 0; 19528 int _df = 1; 19529 uint32_t _flag_k = FK_NONE; 19530 uint32_t _flag_a = 0, _flag_b = 0; 19531 uint32_t _itail_tgt = 0; 19532 RECOMP_REGS_LOCALS 19533 RECOMP_ENTER(0x2B07C55Du); 19534 19535 L_2B07C55D: 19536 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 19537 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 19538 RECOMP_FLAGS_IN(); 19539 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 19540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 19541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19542 _flag_k = FK_CMP; 19543 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 19544 L_2B07C572: 19545 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 19546 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 19547 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 19548 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 19549 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 19550 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 19551 RECOMP_FLAGS_IN(); 19552 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 19553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19554 _cf = 0; 19555 _flag_k = FK_TEST; 19556 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 19557 L_2B07C594: 19558 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 19559 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 19560 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 19561 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 19562 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 19563 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 19564 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19565 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 19566 _cf = 0; 19567 _flag_k = FK_TEST; 19568 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 19569 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 19570 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 19571 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 19572 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 19573 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 19574 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19575 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 19576 _cf = 0; 19577 _flag_k = FK_TEST; 19578 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 19579 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 19580 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 19581 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 19582 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 19583 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 19584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19585 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 19586 _cf = 0; 19587 _flag_k = FK_TEST; 19588 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 19589 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 19590 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 19591 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 19592 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 19593 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 19594 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19595 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 19596 _cf = 0; 19597 _flag_k = FK_TEST; 19598 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 19599 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 19600 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 19601 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 19602 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 19603 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 19604 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 19605 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 19606 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 19607 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 19608 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 19609 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 19610 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 19611 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 19612 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 19613 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 19614 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 19615 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 19616 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 19617 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 19618 RECOMP_FLAGS_IN(); 19619 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 19620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 19621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19622 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 19623 _flag_k = FK_ADD; 19624 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 19625 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19626 _cf = 0; 19627 _flag_k = FK_NARROW(FK_TEST, 24); 19628 RECOMP_BACKEDGE(); 19629 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 19630 L_2B07C654: 19631 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 19632 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 19633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19634 _flag_k = FK_NARROW(FK_CMP, 24); 19635 RECOMP_BACKEDGE(); 19636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 19637 L_2B07C65C: 19638 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 19639 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 19640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19641 _flag_k = FK_NARROW(FK_CMP, 24); 19642 RECOMP_BACKEDGE(); 19643 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 19644 L_2B07C664: 19645 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 19646 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 19647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19648 _flag_k = FK_NARROW(FK_CMP, 24); 19649 RECOMP_BACKEDGE(); 19650 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 19651 L_2B07C66C: 19652 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 19653 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 19654 L_2B07C677: 19655 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 19656 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 19657 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 19658 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19660 _flag_k = FK_NARROW(FK_CMP, 24); 19661 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 19662 L_2B07C67F: 19663 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 19664 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19665 _cf = 0; 19666 _flag_k = FK_NARROW(FK_TEST, 24); 19667 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 19668 L_2B07C683: 19669 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 19670 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 19671 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 19672 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19674 _flag_k = FK_NARROW(FK_CMP, 24); 19675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 19676 L_2B07C68D: 19677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19678 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19679 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 19680 _flag_k = FK_ADD; 19681 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19683 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 19684 _flag_k = FK_ADD; 19685 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 19686 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19687 _cf = 0; 19688 _flag_k = FK_NARROW(FK_TEST, 24); 19689 RECOMP_BACKEDGE(); 19690 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 19691 L_2B07C697: 19692 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19693 eax = 0; /* 0x2B07C697: xor eax, eax */ 19694 _cf = 0; 19695 _flag_k = FK_TEST; 19696 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 19697 L_2B07C69B: 19698 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 19699 eax = _sc ? 0xFFFFFFFFu : 0; 19700 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19701 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19702 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 19703 eax = _sa - _sb - _sc; 19704 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19705 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19706 L_2B07C6A0: 19707 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 19708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19709 _cf = 0; 19710 _flag_k = FK_TEST; 19711 RECOMP_BACKEDGE(); 19712 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 19713 L_2B07C6A8: 19714 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 19715 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 19716 L_2B07C6B3: 19717 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 19718 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 19719 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 19720 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19722 _flag_k = FK_NARROW(FK_CMP, 24); 19723 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 19724 L_2B07C6BB: 19725 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 19726 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19727 _cf = 0; 19728 _flag_k = FK_NARROW(FK_TEST, 24); 19729 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 19730 L_2B07C6BF: 19731 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 19732 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 19733 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 19734 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19736 _flag_k = FK_NARROW(FK_CMP, 24); 19737 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 19738 L_2B07C6C9: 19739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19740 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19741 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 19742 _flag_k = FK_ADD; 19743 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19744 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19745 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 19746 _flag_k = FK_ADD; 19747 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 19748 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19749 _cf = 0; 19750 _flag_k = FK_NARROW(FK_TEST, 24); 19751 RECOMP_BACKEDGE(); 19752 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 19753 L_2B07C6D3: 19754 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19755 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 19756 _cf = 0; 19757 _flag_k = FK_TEST; 19758 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 19759 L_2B07C6D7: 19760 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 19761 eax = _sc ? 0xFFFFFFFFu : 0; 19762 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19763 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19764 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 19765 eax = _sa - _sb - _sc; 19766 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19767 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19768 L_2B07C6DC: 19769 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 19770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19771 _cf = 0; 19772 _flag_k = FK_TEST; 19773 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 19774 L_2B07C6E4: 19775 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 19776 RECOMP_FLAGS_IN(); 19777 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 19778 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19779 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 19780 _cf = 0; 19781 _flag_k = FK_TEST; 19782 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19783 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 19784 _cf = 0; 19785 _flag_k = FK_TEST; 19786 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 19787 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; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 19788 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 19789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19790 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 19791 _flag_k = FK_DEC; 19792 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 19793 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 19794 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 19795 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 19796 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 19797 RECOMP_FLAGS_IN(); 19798 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 19799 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19800 _cf = 0; 19801 _flag_k = FK_NARROW(FK_TEST, 24); 19802 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 19803 L_2B07C70A: 19804 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 19805 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 19806 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 19807 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 19808 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19809 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 19810 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: 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; } 19811 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 19812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19813 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 19814 _cf = 0; 19815 _flag_k = FK_TEST; 19816 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: 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; } 19817 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 19818 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 19819 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 19820 RECOMP_FLAGS_IN(); 19821 L_2B07C727: 19822 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19823 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 19824 _cf = 0; 19825 _flag_k = FK_TEST; 19826 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19827 eax = 0; /* 0x2B07C72A: xor eax, eax */ 19828 _cf = 0; 19829 _flag_k = FK_TEST; 19830 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 19831 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; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 19832 ecx = ~ecx; /* 0x2B07C733: not ecx */ 19833 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19834 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 19835 _flag_k = FK_DEC; 19836 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 19837 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 19838 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 19839 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 19840 RECOMP_FLAGS_IN(); 19841 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19842 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 19843 _cf = 0; 19844 _flag_k = FK_TEST; 19845 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19846 eax = 0; /* 0x2B07C748: xor eax, eax */ 19847 _cf = 0; 19848 _flag_k = FK_TEST; 19849 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 19850 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; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 19851 ecx = ~ecx; /* 0x2B07C752: not ecx */ 19852 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19853 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 19854 _flag_k = FK_DEC; 19855 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 19856 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 19857 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 19858 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 19859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19860 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 19861 _flag_k = FK_CMP; 19862 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 19863 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 19864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19865 _flag_k = FK_CMP; 19866 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 19867 L_2B07C766: 19868 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 19869 RECOMP_FLAGS_IN(); 19870 L_2B07C76C: 19871 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 19872 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19873 _cf = 0; 19874 _flag_k = FK_TEST; 19875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 19876 L_2B07C770: 19877 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 19878 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 19879 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 19880 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 19881 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 19882 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 19883 RECOMP_FLAGS_IN(); 19884 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 19885 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19886 _cf = 0; 19887 _flag_k = FK_NARROW(FK_TEST, 24); 19888 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 19889 L_2B07C786: 19890 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 19891 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 19892 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 19893 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 19894 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 19895 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 19896 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19897 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 19898 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 19899 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: 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; } 19900 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 19901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19902 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 19903 _cf = 0; 19904 _flag_k = FK_TEST; 19905 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: 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; } 19906 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 19907 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 19908 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 19909 RECOMP_FLAGS_IN(); 19910 L_2B07C7AF: 19911 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19912 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 19913 _cf = 0; 19914 _flag_k = FK_TEST; 19915 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 19916 RECOMP_BACKEDGE(); 19917 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 19918 L_2B07C7B9: 19919 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 19920 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 19921 L_2B07C7C4: 19922 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 19923 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 19924 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 19925 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 19926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19927 _flag_k = FK_NARROW(FK_CMP, 24); 19928 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 19929 L_2B07C7CC: 19930 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 19931 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19932 _cf = 0; 19933 _flag_k = FK_NARROW(FK_TEST, 24); 19934 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 19935 L_2B07C7D0: 19936 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 19937 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 19938 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 19939 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 19940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19941 _flag_k = FK_NARROW(FK_CMP, 24); 19942 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 19943 L_2B07C7DA: 19944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 19945 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19946 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 19947 _flag_k = FK_ADD; 19948 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 19949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19950 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 19951 _flag_k = FK_ADD; 19952 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 19953 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19954 _cf = 0; 19955 _flag_k = FK_NARROW(FK_TEST, 24); 19956 RECOMP_BACKEDGE(); 19957 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 19958 L_2B07C7E4: 19959 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19960 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 19961 _cf = 0; 19962 _flag_k = FK_TEST; 19963 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 19964 L_2B07C7E8: 19965 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 19966 eax = _sc ? 0xFFFFFFFFu : 0; 19967 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19968 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19969 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 19970 eax = _sa - _sb - _sc; 19971 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 19972 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 19973 L_2B07C7ED: 19974 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 19975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19976 _cf = 0; 19977 _flag_k = FK_TEST; 19978 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 19979 L_2B07C7F5: 19980 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 19981 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 19982 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 19983 RECOMP_FLAGS_IN(); 19984 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 19985 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 19986 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19987 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19988 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 19989 _flag_k = FK_ADD; 19990 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 19991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19992 eax = 0; /* 0x2B07C810: xor eax, eax */ 19993 _cf = 0; 19994 _flag_k = FK_TEST; 19995 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 19996 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 19997 edi = edi + 1; /* 0x2B07C818: inc edi */ 19998 _flag_k = FK_INC; 19999 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 20000 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 20001 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 20002 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 20003 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 20004 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 20005 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 20006 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 20007 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 20008 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 20009 RECOMP_FLAGS_IN(); 20010 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 20011 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 20012 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 20013 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 20014 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 20015 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 20016 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 20017 RECOMP_FLAGS_IN(); 20018 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 20019 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 20020 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 20021 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 20022 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 20023 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 20024 RECOMP_FLAGS_IN(); 20025 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 20026 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 20027 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 20028 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 20029 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 20030 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 20031 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 20032 RECOMP_FLAGS_IN(); 20033 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 20034 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 20035 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 20036 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 20037 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 20038 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 20039 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 20040 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 20041 RECOMP_FLAGS_IN(); 20042 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 20043 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 20044 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 20045 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 20046 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 20047 RECOMP_FLAGS_IN(); 20048 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 20049 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 20050 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 20051 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 20052 RECOMP_FLAGS_IN(); 20053 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 20054 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 20055 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 20056 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 20057 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 20058 RECOMP_FLAGS_IN(); 20059 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 20060 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 20061 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 20062 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 20063 RECOMP_FLAGS_IN(); 20064 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 20065 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 20066 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 20067 RECOMP_FLAGS_IN(); 20068 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 20069 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 20070 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 20071 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 20072 RECOMP_FLAGS_IN(); 20073 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 20074 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 20075 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 20076 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 20077 RECOMP_FLAGS_IN(); 20078 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 20079 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 20080 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 20081 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 20082 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 20083 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 20084 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20085 esi = 0; /* 0x2B07C953: xor esi, esi */ 20086 _cf = 0; 20087 _flag_k = FK_TEST; 20088 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 20089 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 20090 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 20091 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 20092 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 20093 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 20094 RECOMP_FLAGS_IN(); 20095 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 20096 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 20097 RECOMP_BACKEDGE(); 20098 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 20099 L_2B07C971: 20100 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 20101 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 20102 _cf = 0; 20103 _flag_k = FK_TEST; 20104 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 20105 L_2B07C979: 20106 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 20107 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 20108 L_2B07C984: 20109 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 20110 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 20111 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 20112 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20114 _flag_k = FK_NARROW(FK_CMP, 24); 20115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 20116 L_2B07C98C: 20117 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 20118 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20119 _cf = 0; 20120 _flag_k = FK_NARROW(FK_TEST, 24); 20121 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 20122 L_2B07C990: 20123 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 20124 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 20125 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 20126 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20128 _flag_k = FK_NARROW(FK_CMP, 24); 20129 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 20130 L_2B07C99A: 20131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20132 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20133 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 20134 _flag_k = FK_ADD; 20135 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20137 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 20138 _flag_k = FK_ADD; 20139 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 20140 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20141 _cf = 0; 20142 _flag_k = FK_NARROW(FK_TEST, 24); 20143 RECOMP_BACKEDGE(); 20144 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 20145 L_2B07C9A4: 20146 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20147 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 20148 _cf = 0; 20149 _flag_k = FK_TEST; 20150 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 20151 L_2B07C9A8: 20152 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 20153 eax = _sc ? 0xFFFFFFFFu : 0; 20154 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20155 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20156 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 20157 eax = _sa - _sb - _sc; 20158 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20159 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20160 L_2B07C9AD: 20161 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 20162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20163 _cf = 0; 20164 _flag_k = FK_TEST; 20165 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 20166 L_2B07C9B1: 20167 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 20168 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 20169 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 20170 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 20171 RECOMP_FLAGS_IN(); 20172 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 20173 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 20174 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 20175 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 20176 RECOMP_FLAGS_IN(); 20177 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 20178 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20180 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 20181 _flag_k = FK_ADD; 20182 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 20183 RECOMP_BACKEDGE(); 20184 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 20185 L_2B07C9D9: 20186 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 20187 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 20188 L_2B07C9E4: 20189 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 20190 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 20191 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 20192 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20194 _flag_k = FK_NARROW(FK_CMP, 24); 20195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 20196 L_2B07C9EC: 20197 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 20198 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20199 _cf = 0; 20200 _flag_k = FK_NARROW(FK_TEST, 24); 20201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 20202 L_2B07C9F0: 20203 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 20204 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 20205 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 20206 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20208 _flag_k = FK_NARROW(FK_CMP, 24); 20209 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 20210 L_2B07C9FA: 20211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20213 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 20214 _flag_k = FK_ADD; 20215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20217 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 20218 _flag_k = FK_ADD; 20219 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 20220 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20221 _cf = 0; 20222 _flag_k = FK_NARROW(FK_TEST, 24); 20223 RECOMP_BACKEDGE(); 20224 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 20225 L_2B07CA04: 20226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20227 eax = 0; /* 0x2B07CA04: xor eax, eax */ 20228 _cf = 0; 20229 _flag_k = FK_TEST; 20230 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 20231 L_2B07CA08: 20232 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 20233 eax = _sc ? 0xFFFFFFFFu : 0; 20234 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20235 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20236 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 20237 eax = _sa - _sb - _sc; 20238 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20239 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20240 L_2B07CA0D: 20241 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 20242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20243 _cf = 0; 20244 _flag_k = FK_TEST; 20245 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 20246 L_2B07CA11: 20247 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 20248 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 20249 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 20250 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 20251 RECOMP_FLAGS_IN(); 20252 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 20253 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 20254 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 20255 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 20256 RECOMP_FLAGS_IN(); 20257 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20258 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20259 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 20260 _flag_k = FK_ADD; 20261 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 20262 RECOMP_BACKEDGE(); 20263 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 20264 L_2B07CA36: 20265 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 20266 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 20267 L_2B07CA41: 20268 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 20269 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 20270 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 20271 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20273 _flag_k = FK_NARROW(FK_CMP, 24); 20274 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 20275 L_2B07CA49: 20276 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 20277 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20278 _cf = 0; 20279 _flag_k = FK_NARROW(FK_TEST, 24); 20280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 20281 L_2B07CA4D: 20282 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 20283 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 20284 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 20285 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20287 _flag_k = FK_NARROW(FK_CMP, 24); 20288 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 20289 L_2B07CA57: 20290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20292 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 20293 _flag_k = FK_ADD; 20294 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20296 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 20297 _flag_k = FK_ADD; 20298 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 20299 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20300 _cf = 0; 20301 _flag_k = FK_NARROW(FK_TEST, 24); 20302 RECOMP_BACKEDGE(); 20303 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 20304 L_2B07CA61: 20305 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20306 eax = 0; /* 0x2B07CA61: xor eax, eax */ 20307 _cf = 0; 20308 _flag_k = FK_TEST; 20309 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 20310 L_2B07CA65: 20311 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 20312 eax = _sc ? 0xFFFFFFFFu : 0; 20313 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20314 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20315 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 20316 eax = _sa - _sb - _sc; 20317 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20318 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20319 L_2B07CA6A: 20320 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 20321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20322 _cf = 0; 20323 _flag_k = FK_TEST; 20324 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 20325 L_2B07CA6E: 20326 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 20327 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 20328 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 20329 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 20330 RECOMP_FLAGS_IN(); 20331 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 20332 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 20333 esi = eax; /* 0x2B07CA84: mov esi, eax */ 20334 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 20335 RECOMP_FLAGS_IN(); 20336 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 20337 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 20338 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 20339 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 20340 RECOMP_FLAGS_IN(); 20341 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 20342 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 20343 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 20344 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 20345 RECOMP_FLAGS_IN(); 20346 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 20347 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 20348 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20349 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 20350 _flag_k = FK_ADD; 20351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 20352 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20353 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 20354 _flag_k = FK_ADD; 20355 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 20356 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 20357 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 20358 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 20359 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 20360 RECOMP_BACKEDGE(); 20361 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 20362 L_2B07CABE: 20363 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 20364 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 20365 L_2B07CAC9: 20366 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 20367 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 20368 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 20369 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20371 _flag_k = FK_NARROW(FK_CMP, 24); 20372 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 20373 L_2B07CAD1: 20374 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 20375 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20376 _cf = 0; 20377 _flag_k = FK_NARROW(FK_TEST, 24); 20378 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 20379 L_2B07CAD5: 20380 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 20381 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 20382 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 20383 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20385 _flag_k = FK_NARROW(FK_CMP, 24); 20386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 20387 L_2B07CADF: 20388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20390 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 20391 _flag_k = FK_ADD; 20392 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20393 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20394 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 20395 _flag_k = FK_ADD; 20396 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 20397 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20398 _cf = 0; 20399 _flag_k = FK_NARROW(FK_TEST, 24); 20400 RECOMP_BACKEDGE(); 20401 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 20402 L_2B07CAE9: 20403 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20404 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 20405 _cf = 0; 20406 _flag_k = FK_TEST; 20407 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 20408 L_2B07CAED: 20409 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 20410 eax = _sc ? 0xFFFFFFFFu : 0; 20411 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20412 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20413 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 20414 eax = _sa - _sb - _sc; 20415 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20416 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20417 L_2B07CAF2: 20418 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 20419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20420 _cf = 0; 20421 _flag_k = FK_TEST; 20422 RECOMP_BACKEDGE(); 20423 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 20424 L_2B07CAFA: 20425 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 20426 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 20427 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 20428 RECOMP_FLAGS_IN(); 20429 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 20430 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 20431 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 20432 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20433 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 20434 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20435 edx = 0; /* 0x2B07CB10: xor edx, edx */ 20436 _cf = 0; 20437 _flag_k = FK_TEST; 20438 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20439 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20440 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 20441 _flag_k = FK_ADD; 20442 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 20443 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 20444 _cf = 0; 20445 _flag_k = FK_TEST; 20446 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 20447 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 20448 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 20449 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 20450 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 20451 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 20452 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 20453 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 20454 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 20455 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 20456 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 20457 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 20458 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 20459 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 20460 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 20461 RECOMP_FLAGS_IN(); 20462 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 20463 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 20464 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 20465 RECOMP_FLAGS_IN(); 20466 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 20467 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 20468 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 20469 RECOMP_FLAGS_IN(); 20470 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 20471 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 20472 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 20473 RECOMP_FLAGS_IN(); 20474 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 20475 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 20476 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 20477 _flag_k = FK_INC; 20478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20479 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 20480 _flag_k = FK_DEC; 20481 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 20482 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 20483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20484 _flag_k = FK_CMP; 20485 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 20486 RECOMP_BACKEDGE(); 20487 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 20488 L_2B07CB7A: 20489 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 20490 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20491 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 20492 _flag_k = FK_INC; 20493 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 20494 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 20495 RECOMP_BACKEDGE(); 20496 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 20497 L_2B07CB8D: 20498 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 20499 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 20500 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 20501 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 20502 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 20503 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 20504 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 20505 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 20506 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 20507 RECOMP_FLAGS_IN(); 20508 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 20509 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 20510 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 20511 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 20512 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 20513 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 20514 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 20515 RECOMP_FLAGS_IN(); 20516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 20517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20518 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 20519 _flag_k = FK_ADD; 20520 L_2B07CBCB: 20521 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 20522 L_2B07CBCF: 20523 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 20524 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 20525 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 20526 RECOMP_FLAGS_IN(); 20527 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 20528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20530 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 20531 _flag_k = FK_ADD; 20532 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 20533 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20534 _cf = 0; 20535 _flag_k = FK_NARROW(FK_TEST, 24); 20536 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 20537 L_2B07CBE2: 20538 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 20539 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 20540 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 20541 L_2B07CBEE: 20542 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 20543 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20544 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 20545 _cf = 0; 20546 _flag_k = FK_TEST; 20547 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 20548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 20549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20550 _flag_k = FK_CMP; 20551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 20552 L_2B07CBF7: 20553 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 20554 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 20555 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 20556 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20557 _cf = 0; 20558 _flag_k = FK_NARROW(FK_TEST, 24); 20559 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 20560 L_2B07CC00: 20561 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 20562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 20563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20564 _flag_k = FK_NARROW(FK_CMP, 24); 20565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 20566 L_2B07CC04: 20567 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 20568 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 20569 _flag_k = FK_NARROW(FK_DEC, 24); 20570 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 20571 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 20572 L_2B07CC0A: 20573 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 20574 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 20575 RECOMP_FLAGS_IN(); 20576 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20578 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 20579 _flag_k = FK_ADD; 20580 L_2B07CC13: 20581 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 20582 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 20583 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 20584 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 20585 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 20586 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 20587 RECOMP_FLAGS_IN(); 20588 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 20589 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 20590 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 20591 RECOMP_FLAGS_IN(); 20592 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 20593 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 20594 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 20595 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 20596 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 20597 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 20598 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 20599 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 20600 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 20601 RECOMP_REGS_OUT(); 20602 } 20603 20604 void sub_2B07C6A0(void) { 20605 int _fpu_cmp = 0; 20606 uint32_t _cf = 0; 20607 int _df = 1; 20608 uint32_t _flag_k = FK_NONE; 20609 uint32_t _flag_a = 0, _flag_b = 0; 20610 uint32_t _itail_tgt = 0; 20611 RECOMP_REGS_LOCALS 20612 RECOMP_ENTER(0x2B07C6A0u); 20613 20614 goto L_2B07C6A0; 20615 L_2B07C55D: 20616 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 20617 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 20618 RECOMP_FLAGS_IN(); 20619 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 20620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 20621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20622 _flag_k = FK_CMP; 20623 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 20624 L_2B07C572: 20625 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 20626 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 20627 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 20628 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 20629 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 20630 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 20631 RECOMP_FLAGS_IN(); 20632 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 20633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20634 _cf = 0; 20635 _flag_k = FK_TEST; 20636 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 20637 L_2B07C594: 20638 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 20639 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 20640 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 20641 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 20642 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 20643 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 20644 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20645 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 20646 _cf = 0; 20647 _flag_k = FK_TEST; 20648 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 20649 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 20650 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 20651 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 20652 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 20653 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 20654 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20655 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 20656 _cf = 0; 20657 _flag_k = FK_TEST; 20658 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 20659 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 20660 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 20661 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 20662 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 20663 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 20664 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20665 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 20666 _cf = 0; 20667 _flag_k = FK_TEST; 20668 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 20669 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 20670 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 20671 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 20672 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 20673 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 20674 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20675 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 20676 _cf = 0; 20677 _flag_k = FK_TEST; 20678 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 20679 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 20680 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 20681 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 20682 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 20683 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 20684 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 20685 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 20686 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 20687 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 20688 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 20689 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 20690 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 20691 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 20692 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 20693 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 20694 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 20695 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 20696 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 20697 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 20698 RECOMP_FLAGS_IN(); 20699 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 20700 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 20701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20702 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 20703 _flag_k = FK_ADD; 20704 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 20705 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20706 _cf = 0; 20707 _flag_k = FK_NARROW(FK_TEST, 24); 20708 RECOMP_BACKEDGE(); 20709 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 20710 L_2B07C654: 20711 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 20712 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 20713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20714 _flag_k = FK_NARROW(FK_CMP, 24); 20715 RECOMP_BACKEDGE(); 20716 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 20717 L_2B07C65C: 20718 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 20719 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 20720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20721 _flag_k = FK_NARROW(FK_CMP, 24); 20722 RECOMP_BACKEDGE(); 20723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 20724 L_2B07C664: 20725 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 20726 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 20727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20728 _flag_k = FK_NARROW(FK_CMP, 24); 20729 RECOMP_BACKEDGE(); 20730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 20731 L_2B07C66C: 20732 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 20733 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 20734 L_2B07C677: 20735 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 20736 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 20737 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 20738 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20740 _flag_k = FK_NARROW(FK_CMP, 24); 20741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 20742 L_2B07C67F: 20743 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 20744 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20745 _cf = 0; 20746 _flag_k = FK_NARROW(FK_TEST, 24); 20747 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 20748 L_2B07C683: 20749 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 20750 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 20751 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 20752 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20754 _flag_k = FK_NARROW(FK_CMP, 24); 20755 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 20756 L_2B07C68D: 20757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20759 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 20760 _flag_k = FK_ADD; 20761 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20763 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 20764 _flag_k = FK_ADD; 20765 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 20766 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20767 _cf = 0; 20768 _flag_k = FK_NARROW(FK_TEST, 24); 20769 RECOMP_BACKEDGE(); 20770 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 20771 L_2B07C697: 20772 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20773 eax = 0; /* 0x2B07C697: xor eax, eax */ 20774 _cf = 0; 20775 _flag_k = FK_TEST; 20776 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 20777 L_2B07C69B: 20778 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 20779 eax = _sc ? 0xFFFFFFFFu : 0; 20780 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20781 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20782 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 20783 eax = _sa - _sb - _sc; 20784 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20785 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20786 L_2B07C6A0: 20787 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 20788 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20789 _cf = 0; 20790 _flag_k = FK_TEST; 20791 RECOMP_BACKEDGE(); 20792 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 20793 L_2B07C6A8: 20794 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 20795 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 20796 L_2B07C6B3: 20797 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 20798 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 20799 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 20800 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 20801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20802 _flag_k = FK_NARROW(FK_CMP, 24); 20803 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 20804 L_2B07C6BB: 20805 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 20806 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20807 _cf = 0; 20808 _flag_k = FK_NARROW(FK_TEST, 24); 20809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 20810 L_2B07C6BF: 20811 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 20812 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 20813 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 20814 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 20815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20816 _flag_k = FK_NARROW(FK_CMP, 24); 20817 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 20818 L_2B07C6C9: 20819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 20820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20821 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 20822 _flag_k = FK_ADD; 20823 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 20824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20825 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 20826 _flag_k = FK_ADD; 20827 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 20828 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 20829 _cf = 0; 20830 _flag_k = FK_NARROW(FK_TEST, 24); 20831 RECOMP_BACKEDGE(); 20832 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 20833 L_2B07C6D3: 20834 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20835 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 20836 _cf = 0; 20837 _flag_k = FK_TEST; 20838 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 20839 L_2B07C6D7: 20840 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 20841 eax = _sc ? 0xFFFFFFFFu : 0; 20842 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20843 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20844 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 20845 eax = _sa - _sb - _sc; 20846 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 20847 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 20848 L_2B07C6DC: 20849 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 20850 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20851 _cf = 0; 20852 _flag_k = FK_TEST; 20853 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 20854 L_2B07C6E4: 20855 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 20856 RECOMP_FLAGS_IN(); 20857 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 20858 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20859 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 20860 _cf = 0; 20861 _flag_k = FK_TEST; 20862 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20863 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 20864 _cf = 0; 20865 _flag_k = FK_TEST; 20866 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 20867 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; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 20868 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 20869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20870 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 20871 _flag_k = FK_DEC; 20872 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 20873 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 20874 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 20875 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 20876 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 20877 RECOMP_FLAGS_IN(); 20878 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 20879 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20880 _cf = 0; 20881 _flag_k = FK_NARROW(FK_TEST, 24); 20882 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 20883 L_2B07C70A: 20884 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 20885 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 20886 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 20887 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 20888 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20889 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 20890 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: 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; } 20891 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 20892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20893 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 20894 _cf = 0; 20895 _flag_k = FK_TEST; 20896 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: 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; } 20897 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 20898 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 20899 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 20900 RECOMP_FLAGS_IN(); 20901 L_2B07C727: 20902 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20903 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 20904 _cf = 0; 20905 _flag_k = FK_TEST; 20906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20907 eax = 0; /* 0x2B07C72A: xor eax, eax */ 20908 _cf = 0; 20909 _flag_k = FK_TEST; 20910 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 20911 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; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 20912 ecx = ~ecx; /* 0x2B07C733: not ecx */ 20913 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20914 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 20915 _flag_k = FK_DEC; 20916 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 20917 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 20918 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 20919 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 20920 RECOMP_FLAGS_IN(); 20921 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20922 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 20923 _cf = 0; 20924 _flag_k = FK_TEST; 20925 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20926 eax = 0; /* 0x2B07C748: xor eax, eax */ 20927 _cf = 0; 20928 _flag_k = FK_TEST; 20929 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 20930 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; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 20931 ecx = ~ecx; /* 0x2B07C752: not ecx */ 20932 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20933 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 20934 _flag_k = FK_DEC; 20935 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 20936 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 20937 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 20938 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 20939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20940 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 20941 _flag_k = FK_CMP; 20942 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 20943 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20945 _flag_k = FK_CMP; 20946 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 20947 L_2B07C766: 20948 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 20949 RECOMP_FLAGS_IN(); 20950 L_2B07C76C: 20951 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 20952 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 20953 _cf = 0; 20954 _flag_k = FK_TEST; 20955 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 20956 L_2B07C770: 20957 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 20958 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 20959 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 20960 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 20961 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 20962 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 20963 RECOMP_FLAGS_IN(); 20964 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 20965 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20966 _cf = 0; 20967 _flag_k = FK_NARROW(FK_TEST, 24); 20968 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 20969 L_2B07C786: 20970 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 20971 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 20972 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 20973 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 20974 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 20975 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 20976 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20977 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 20978 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 20979 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: 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; } 20980 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 20981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20982 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 20983 _cf = 0; 20984 _flag_k = FK_TEST; 20985 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: 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; } 20986 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 20987 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 20988 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 20989 RECOMP_FLAGS_IN(); 20990 L_2B07C7AF: 20991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20992 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 20993 _cf = 0; 20994 _flag_k = FK_TEST; 20995 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 20996 RECOMP_BACKEDGE(); 20997 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 20998 L_2B07C7B9: 20999 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 21000 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 21001 L_2B07C7C4: 21002 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 21003 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 21004 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 21005 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21007 _flag_k = FK_NARROW(FK_CMP, 24); 21008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 21009 L_2B07C7CC: 21010 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 21011 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21012 _cf = 0; 21013 _flag_k = FK_NARROW(FK_TEST, 24); 21014 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 21015 L_2B07C7D0: 21016 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 21017 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 21018 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 21019 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21021 _flag_k = FK_NARROW(FK_CMP, 24); 21022 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 21023 L_2B07C7DA: 21024 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21026 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 21027 _flag_k = FK_ADD; 21028 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21030 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 21031 _flag_k = FK_ADD; 21032 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 21033 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21034 _cf = 0; 21035 _flag_k = FK_NARROW(FK_TEST, 24); 21036 RECOMP_BACKEDGE(); 21037 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 21038 L_2B07C7E4: 21039 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21040 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 21041 _cf = 0; 21042 _flag_k = FK_TEST; 21043 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 21044 L_2B07C7E8: 21045 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 21046 eax = _sc ? 0xFFFFFFFFu : 0; 21047 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21048 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21049 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 21050 eax = _sa - _sb - _sc; 21051 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21052 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21053 L_2B07C7ED: 21054 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 21055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21056 _cf = 0; 21057 _flag_k = FK_TEST; 21058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 21059 L_2B07C7F5: 21060 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 21061 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 21062 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 21063 RECOMP_FLAGS_IN(); 21064 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 21065 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 21066 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21068 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 21069 _flag_k = FK_ADD; 21070 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 21071 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21072 eax = 0; /* 0x2B07C810: xor eax, eax */ 21073 _cf = 0; 21074 _flag_k = FK_TEST; 21075 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 21076 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 21077 edi = edi + 1; /* 0x2B07C818: inc edi */ 21078 _flag_k = FK_INC; 21079 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 21080 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 21081 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 21082 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 21083 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 21084 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 21085 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 21086 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 21087 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 21088 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 21089 RECOMP_FLAGS_IN(); 21090 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 21091 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 21092 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 21093 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 21094 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 21095 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 21096 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 21097 RECOMP_FLAGS_IN(); 21098 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 21099 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 21100 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 21101 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 21102 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 21103 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 21104 RECOMP_FLAGS_IN(); 21105 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 21106 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 21107 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 21108 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 21109 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 21110 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 21111 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 21112 RECOMP_FLAGS_IN(); 21113 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 21114 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 21115 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 21116 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 21117 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 21118 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 21119 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 21120 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 21121 RECOMP_FLAGS_IN(); 21122 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 21123 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 21124 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 21125 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 21126 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 21127 RECOMP_FLAGS_IN(); 21128 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 21129 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 21130 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 21131 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 21132 RECOMP_FLAGS_IN(); 21133 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 21134 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 21135 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 21136 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 21137 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 21138 RECOMP_FLAGS_IN(); 21139 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 21140 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 21141 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 21142 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 21143 RECOMP_FLAGS_IN(); 21144 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 21145 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 21146 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 21147 RECOMP_FLAGS_IN(); 21148 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 21149 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 21150 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 21151 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 21152 RECOMP_FLAGS_IN(); 21153 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 21154 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 21155 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 21156 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 21157 RECOMP_FLAGS_IN(); 21158 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 21159 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 21160 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 21161 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 21162 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 21163 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 21164 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21165 esi = 0; /* 0x2B07C953: xor esi, esi */ 21166 _cf = 0; 21167 _flag_k = FK_TEST; 21168 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 21169 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 21170 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 21171 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 21172 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 21173 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 21174 RECOMP_FLAGS_IN(); 21175 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 21176 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 21177 RECOMP_BACKEDGE(); 21178 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 21179 L_2B07C971: 21180 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 21181 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 21182 _cf = 0; 21183 _flag_k = FK_TEST; 21184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 21185 L_2B07C979: 21186 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 21187 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 21188 L_2B07C984: 21189 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 21190 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 21191 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 21192 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21194 _flag_k = FK_NARROW(FK_CMP, 24); 21195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 21196 L_2B07C98C: 21197 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 21198 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21199 _cf = 0; 21200 _flag_k = FK_NARROW(FK_TEST, 24); 21201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 21202 L_2B07C990: 21203 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 21204 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 21205 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 21206 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21208 _flag_k = FK_NARROW(FK_CMP, 24); 21209 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 21210 L_2B07C99A: 21211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21213 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 21214 _flag_k = FK_ADD; 21215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21217 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 21218 _flag_k = FK_ADD; 21219 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 21220 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21221 _cf = 0; 21222 _flag_k = FK_NARROW(FK_TEST, 24); 21223 RECOMP_BACKEDGE(); 21224 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 21225 L_2B07C9A4: 21226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21227 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 21228 _cf = 0; 21229 _flag_k = FK_TEST; 21230 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 21231 L_2B07C9A8: 21232 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 21233 eax = _sc ? 0xFFFFFFFFu : 0; 21234 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21235 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21236 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 21237 eax = _sa - _sb - _sc; 21238 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21239 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21240 L_2B07C9AD: 21241 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 21242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21243 _cf = 0; 21244 _flag_k = FK_TEST; 21245 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 21246 L_2B07C9B1: 21247 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 21248 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 21249 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 21250 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 21251 RECOMP_FLAGS_IN(); 21252 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 21253 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 21254 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 21255 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 21256 RECOMP_FLAGS_IN(); 21257 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 21258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 21259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21260 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 21261 _flag_k = FK_ADD; 21262 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 21263 RECOMP_BACKEDGE(); 21264 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 21265 L_2B07C9D9: 21266 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 21267 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 21268 L_2B07C9E4: 21269 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 21270 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 21271 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 21272 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21274 _flag_k = FK_NARROW(FK_CMP, 24); 21275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 21276 L_2B07C9EC: 21277 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 21278 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21279 _cf = 0; 21280 _flag_k = FK_NARROW(FK_TEST, 24); 21281 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 21282 L_2B07C9F0: 21283 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 21284 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 21285 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 21286 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21288 _flag_k = FK_NARROW(FK_CMP, 24); 21289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 21290 L_2B07C9FA: 21291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21293 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 21294 _flag_k = FK_ADD; 21295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21296 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21297 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 21298 _flag_k = FK_ADD; 21299 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 21300 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21301 _cf = 0; 21302 _flag_k = FK_NARROW(FK_TEST, 24); 21303 RECOMP_BACKEDGE(); 21304 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 21305 L_2B07CA04: 21306 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21307 eax = 0; /* 0x2B07CA04: xor eax, eax */ 21308 _cf = 0; 21309 _flag_k = FK_TEST; 21310 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 21311 L_2B07CA08: 21312 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 21313 eax = _sc ? 0xFFFFFFFFu : 0; 21314 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21315 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21316 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 21317 eax = _sa - _sb - _sc; 21318 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21319 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21320 L_2B07CA0D: 21321 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 21322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21323 _cf = 0; 21324 _flag_k = FK_TEST; 21325 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 21326 L_2B07CA11: 21327 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 21328 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 21329 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 21330 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 21331 RECOMP_FLAGS_IN(); 21332 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 21333 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 21334 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 21335 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 21336 RECOMP_FLAGS_IN(); 21337 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 21338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21339 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 21340 _flag_k = FK_ADD; 21341 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 21342 RECOMP_BACKEDGE(); 21343 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 21344 L_2B07CA36: 21345 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 21346 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 21347 L_2B07CA41: 21348 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 21349 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 21350 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 21351 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21353 _flag_k = FK_NARROW(FK_CMP, 24); 21354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 21355 L_2B07CA49: 21356 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 21357 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21358 _cf = 0; 21359 _flag_k = FK_NARROW(FK_TEST, 24); 21360 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 21361 L_2B07CA4D: 21362 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 21363 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 21364 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 21365 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21367 _flag_k = FK_NARROW(FK_CMP, 24); 21368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 21369 L_2B07CA57: 21370 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21371 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21372 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 21373 _flag_k = FK_ADD; 21374 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21376 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 21377 _flag_k = FK_ADD; 21378 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 21379 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21380 _cf = 0; 21381 _flag_k = FK_NARROW(FK_TEST, 24); 21382 RECOMP_BACKEDGE(); 21383 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 21384 L_2B07CA61: 21385 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21386 eax = 0; /* 0x2B07CA61: xor eax, eax */ 21387 _cf = 0; 21388 _flag_k = FK_TEST; 21389 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 21390 L_2B07CA65: 21391 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 21392 eax = _sc ? 0xFFFFFFFFu : 0; 21393 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21394 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21395 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 21396 eax = _sa - _sb - _sc; 21397 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21398 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21399 L_2B07CA6A: 21400 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 21401 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21402 _cf = 0; 21403 _flag_k = FK_TEST; 21404 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 21405 L_2B07CA6E: 21406 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 21407 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 21408 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 21409 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 21410 RECOMP_FLAGS_IN(); 21411 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 21412 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 21413 esi = eax; /* 0x2B07CA84: mov esi, eax */ 21414 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 21415 RECOMP_FLAGS_IN(); 21416 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 21417 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 21418 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 21419 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 21420 RECOMP_FLAGS_IN(); 21421 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 21422 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 21423 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 21424 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 21425 RECOMP_FLAGS_IN(); 21426 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 21427 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 21428 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21429 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 21430 _flag_k = FK_ADD; 21431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 21432 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21433 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 21434 _flag_k = FK_ADD; 21435 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 21436 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 21437 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 21438 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 21439 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 21440 RECOMP_BACKEDGE(); 21441 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 21442 L_2B07CABE: 21443 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 21444 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 21445 L_2B07CAC9: 21446 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 21447 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 21448 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 21449 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21451 _flag_k = FK_NARROW(FK_CMP, 24); 21452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 21453 L_2B07CAD1: 21454 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 21455 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21456 _cf = 0; 21457 _flag_k = FK_NARROW(FK_TEST, 24); 21458 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 21459 L_2B07CAD5: 21460 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 21461 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 21462 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 21463 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21465 _flag_k = FK_NARROW(FK_CMP, 24); 21466 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 21467 L_2B07CADF: 21468 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21469 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21470 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 21471 _flag_k = FK_ADD; 21472 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21473 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21474 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 21475 _flag_k = FK_ADD; 21476 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 21477 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21478 _cf = 0; 21479 _flag_k = FK_NARROW(FK_TEST, 24); 21480 RECOMP_BACKEDGE(); 21481 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 21482 L_2B07CAE9: 21483 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21484 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 21485 _cf = 0; 21486 _flag_k = FK_TEST; 21487 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 21488 L_2B07CAED: 21489 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 21490 eax = _sc ? 0xFFFFFFFFu : 0; 21491 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21492 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21493 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 21494 eax = _sa - _sb - _sc; 21495 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21496 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21497 L_2B07CAF2: 21498 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 21499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21500 _cf = 0; 21501 _flag_k = FK_TEST; 21502 RECOMP_BACKEDGE(); 21503 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 21504 L_2B07CAFA: 21505 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 21506 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 21507 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 21508 RECOMP_FLAGS_IN(); 21509 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 21510 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 21511 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 21512 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21513 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 21514 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21515 edx = 0; /* 0x2B07CB10: xor edx, edx */ 21516 _cf = 0; 21517 _flag_k = FK_TEST; 21518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21520 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 21521 _flag_k = FK_ADD; 21522 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 21523 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 21524 _cf = 0; 21525 _flag_k = FK_TEST; 21526 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 21527 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 21528 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 21529 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 21530 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 21531 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 21532 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 21533 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 21534 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 21535 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 21536 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 21537 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 21538 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 21539 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 21540 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 21541 RECOMP_FLAGS_IN(); 21542 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 21543 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 21544 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 21545 RECOMP_FLAGS_IN(); 21546 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 21547 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 21548 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 21549 RECOMP_FLAGS_IN(); 21550 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 21551 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 21552 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 21553 RECOMP_FLAGS_IN(); 21554 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 21555 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 21556 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 21557 _flag_k = FK_INC; 21558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21559 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 21560 _flag_k = FK_DEC; 21561 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 21562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 21563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21564 _flag_k = FK_CMP; 21565 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 21566 RECOMP_BACKEDGE(); 21567 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 21568 L_2B07CB7A: 21569 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 21570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21571 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 21572 _flag_k = FK_INC; 21573 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 21574 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 21575 RECOMP_BACKEDGE(); 21576 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 21577 L_2B07CB8D: 21578 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 21579 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 21580 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 21581 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 21582 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 21583 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 21584 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 21585 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 21586 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 21587 RECOMP_FLAGS_IN(); 21588 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 21589 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 21590 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 21591 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 21592 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 21593 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 21594 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 21595 RECOMP_FLAGS_IN(); 21596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 21597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21598 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 21599 _flag_k = FK_ADD; 21600 L_2B07CBCB: 21601 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 21602 L_2B07CBCF: 21603 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 21604 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 21605 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 21606 RECOMP_FLAGS_IN(); 21607 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 21608 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21610 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 21611 _flag_k = FK_ADD; 21612 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 21613 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21614 _cf = 0; 21615 _flag_k = FK_NARROW(FK_TEST, 24); 21616 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 21617 L_2B07CBE2: 21618 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 21619 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 21620 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 21621 L_2B07CBEE: 21622 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 21623 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21624 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 21625 _cf = 0; 21626 _flag_k = FK_TEST; 21627 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 21628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 21629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21630 _flag_k = FK_CMP; 21631 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 21632 L_2B07CBF7: 21633 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 21634 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 21635 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 21636 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21637 _cf = 0; 21638 _flag_k = FK_NARROW(FK_TEST, 24); 21639 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 21640 L_2B07CC00: 21641 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 21642 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 21643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21644 _flag_k = FK_NARROW(FK_CMP, 24); 21645 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 21646 L_2B07CC04: 21647 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 21648 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 21649 _flag_k = FK_NARROW(FK_DEC, 24); 21650 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 21651 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 21652 L_2B07CC0A: 21653 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 21654 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 21655 RECOMP_FLAGS_IN(); 21656 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21657 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21658 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 21659 _flag_k = FK_ADD; 21660 L_2B07CC13: 21661 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 21662 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 21663 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 21664 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 21665 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 21666 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 21667 RECOMP_FLAGS_IN(); 21668 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 21669 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 21670 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 21671 RECOMP_FLAGS_IN(); 21672 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 21673 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 21674 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 21675 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 21676 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 21677 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 21678 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 21679 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 21680 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 21681 RECOMP_REGS_OUT(); 21682 } 21683 21684 void sub_2B07C6DC(void) { 21685 int _fpu_cmp = 0; 21686 uint32_t _cf = 0; 21687 int _df = 1; 21688 uint32_t _flag_k = FK_NONE; 21689 uint32_t _flag_a = 0, _flag_b = 0; 21690 uint32_t _itail_tgt = 0; 21691 RECOMP_REGS_LOCALS 21692 RECOMP_ENTER(0x2B07C6DCu); 21693 21694 goto L_2B07C6DC; 21695 L_2B07C55D: 21696 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 21697 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 21698 RECOMP_FLAGS_IN(); 21699 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 21700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 21701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21702 _flag_k = FK_CMP; 21703 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 21704 L_2B07C572: 21705 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 21706 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 21707 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 21708 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 21709 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 21710 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 21711 RECOMP_FLAGS_IN(); 21712 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 21713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21714 _cf = 0; 21715 _flag_k = FK_TEST; 21716 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 21717 L_2B07C594: 21718 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 21719 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 21720 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 21721 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 21722 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 21723 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 21724 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21725 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 21726 _cf = 0; 21727 _flag_k = FK_TEST; 21728 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 21729 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 21730 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 21731 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 21732 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 21733 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 21734 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21735 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 21736 _cf = 0; 21737 _flag_k = FK_TEST; 21738 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 21739 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 21740 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 21741 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 21742 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 21743 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 21744 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21745 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 21746 _cf = 0; 21747 _flag_k = FK_TEST; 21748 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 21749 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 21750 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 21751 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 21752 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 21753 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 21754 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21755 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 21756 _cf = 0; 21757 _flag_k = FK_TEST; 21758 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 21759 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 21760 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 21761 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 21762 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 21763 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 21764 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 21765 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 21766 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 21767 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 21768 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 21769 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 21770 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 21771 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 21772 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 21773 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 21774 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 21775 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 21776 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 21777 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 21778 RECOMP_FLAGS_IN(); 21779 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 21780 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 21781 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21782 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 21783 _flag_k = FK_ADD; 21784 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 21785 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21786 _cf = 0; 21787 _flag_k = FK_NARROW(FK_TEST, 24); 21788 RECOMP_BACKEDGE(); 21789 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 21790 L_2B07C654: 21791 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 21792 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 21793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21794 _flag_k = FK_NARROW(FK_CMP, 24); 21795 RECOMP_BACKEDGE(); 21796 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 21797 L_2B07C65C: 21798 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 21799 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 21800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21801 _flag_k = FK_NARROW(FK_CMP, 24); 21802 RECOMP_BACKEDGE(); 21803 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 21804 L_2B07C664: 21805 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 21806 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 21807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21808 _flag_k = FK_NARROW(FK_CMP, 24); 21809 RECOMP_BACKEDGE(); 21810 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 21811 L_2B07C66C: 21812 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 21813 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 21814 L_2B07C677: 21815 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 21816 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 21817 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 21818 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21820 _flag_k = FK_NARROW(FK_CMP, 24); 21821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 21822 L_2B07C67F: 21823 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 21824 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21825 _cf = 0; 21826 _flag_k = FK_NARROW(FK_TEST, 24); 21827 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 21828 L_2B07C683: 21829 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 21830 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 21831 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 21832 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21834 _flag_k = FK_NARROW(FK_CMP, 24); 21835 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 21836 L_2B07C68D: 21837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21839 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 21840 _flag_k = FK_ADD; 21841 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21842 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21843 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 21844 _flag_k = FK_ADD; 21845 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 21846 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21847 _cf = 0; 21848 _flag_k = FK_NARROW(FK_TEST, 24); 21849 RECOMP_BACKEDGE(); 21850 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 21851 L_2B07C697: 21852 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21853 eax = 0; /* 0x2B07C697: xor eax, eax */ 21854 _cf = 0; 21855 _flag_k = FK_TEST; 21856 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 21857 L_2B07C69B: 21858 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 21859 eax = _sc ? 0xFFFFFFFFu : 0; 21860 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21861 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21862 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 21863 eax = _sa - _sb - _sc; 21864 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21865 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21866 L_2B07C6A0: 21867 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 21868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21869 _cf = 0; 21870 _flag_k = FK_TEST; 21871 RECOMP_BACKEDGE(); 21872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 21873 L_2B07C6A8: 21874 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 21875 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 21876 L_2B07C6B3: 21877 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 21878 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 21879 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 21880 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 21881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21882 _flag_k = FK_NARROW(FK_CMP, 24); 21883 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 21884 L_2B07C6BB: 21885 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 21886 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21887 _cf = 0; 21888 _flag_k = FK_NARROW(FK_TEST, 24); 21889 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 21890 L_2B07C6BF: 21891 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 21892 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 21893 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 21894 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 21895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21896 _flag_k = FK_NARROW(FK_CMP, 24); 21897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 21898 L_2B07C6C9: 21899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 21900 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21901 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 21902 _flag_k = FK_ADD; 21903 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 21904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21905 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 21906 _flag_k = FK_ADD; 21907 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 21908 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 21909 _cf = 0; 21910 _flag_k = FK_NARROW(FK_TEST, 24); 21911 RECOMP_BACKEDGE(); 21912 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 21913 L_2B07C6D3: 21914 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21915 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 21916 _cf = 0; 21917 _flag_k = FK_TEST; 21918 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 21919 L_2B07C6D7: 21920 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 21921 eax = _sc ? 0xFFFFFFFFu : 0; 21922 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21923 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21924 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 21925 eax = _sa - _sb - _sc; 21926 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 21927 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 21928 L_2B07C6DC: 21929 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 21930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21931 _cf = 0; 21932 _flag_k = FK_TEST; 21933 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 21934 L_2B07C6E4: 21935 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 21936 RECOMP_FLAGS_IN(); 21937 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 21938 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21939 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 21940 _cf = 0; 21941 _flag_k = FK_TEST; 21942 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21943 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 21944 _cf = 0; 21945 _flag_k = FK_TEST; 21946 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 21947 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; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 21948 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 21949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21950 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 21951 _flag_k = FK_DEC; 21952 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 21953 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 21954 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 21955 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 21956 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 21957 RECOMP_FLAGS_IN(); 21958 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 21959 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21960 _cf = 0; 21961 _flag_k = FK_NARROW(FK_TEST, 24); 21962 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 21963 L_2B07C70A: 21964 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 21965 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 21966 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 21967 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 21968 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21969 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 21970 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: 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; } 21971 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 21972 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21973 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 21974 _cf = 0; 21975 _flag_k = FK_TEST; 21976 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: 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; } 21977 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 21978 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 21979 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 21980 RECOMP_FLAGS_IN(); 21981 L_2B07C727: 21982 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21983 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 21984 _cf = 0; 21985 _flag_k = FK_TEST; 21986 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21987 eax = 0; /* 0x2B07C72A: xor eax, eax */ 21988 _cf = 0; 21989 _flag_k = FK_TEST; 21990 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 21991 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; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 21992 ecx = ~ecx; /* 0x2B07C733: not ecx */ 21993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21994 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 21995 _flag_k = FK_DEC; 21996 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 21997 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 21998 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 21999 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 22000 RECOMP_FLAGS_IN(); 22001 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22002 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 22003 _cf = 0; 22004 _flag_k = FK_TEST; 22005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22006 eax = 0; /* 0x2B07C748: xor eax, eax */ 22007 _cf = 0; 22008 _flag_k = FK_TEST; 22009 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 22010 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; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 22011 ecx = ~ecx; /* 0x2B07C752: not ecx */ 22012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22013 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 22014 _flag_k = FK_DEC; 22015 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 22016 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 22017 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 22018 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 22019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22020 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 22021 _flag_k = FK_CMP; 22022 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 22023 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 22024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22025 _flag_k = FK_CMP; 22026 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 22027 L_2B07C766: 22028 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 22029 RECOMP_FLAGS_IN(); 22030 L_2B07C76C: 22031 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 22032 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 22033 _cf = 0; 22034 _flag_k = FK_TEST; 22035 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 22036 L_2B07C770: 22037 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 22038 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 22039 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 22040 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 22041 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 22042 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 22043 RECOMP_FLAGS_IN(); 22044 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 22045 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22046 _cf = 0; 22047 _flag_k = FK_NARROW(FK_TEST, 24); 22048 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 22049 L_2B07C786: 22050 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 22051 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 22052 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 22053 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 22054 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 22055 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 22056 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22057 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 22058 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 22059 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: 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; } 22060 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 22061 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22062 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 22063 _cf = 0; 22064 _flag_k = FK_TEST; 22065 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: 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; } 22066 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 22067 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 22068 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 22069 RECOMP_FLAGS_IN(); 22070 L_2B07C7AF: 22071 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22072 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 22073 _cf = 0; 22074 _flag_k = FK_TEST; 22075 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 22076 RECOMP_BACKEDGE(); 22077 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 22078 L_2B07C7B9: 22079 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 22080 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 22081 L_2B07C7C4: 22082 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 22083 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 22084 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 22085 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 22086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22087 _flag_k = FK_NARROW(FK_CMP, 24); 22088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 22089 L_2B07C7CC: 22090 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 22091 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22092 _cf = 0; 22093 _flag_k = FK_NARROW(FK_TEST, 24); 22094 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 22095 L_2B07C7D0: 22096 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 22097 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 22098 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 22099 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 22100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22101 _flag_k = FK_NARROW(FK_CMP, 24); 22102 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 22103 L_2B07C7DA: 22104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 22105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22106 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 22107 _flag_k = FK_ADD; 22108 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 22109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22110 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 22111 _flag_k = FK_ADD; 22112 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 22113 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22114 _cf = 0; 22115 _flag_k = FK_NARROW(FK_TEST, 24); 22116 RECOMP_BACKEDGE(); 22117 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 22118 L_2B07C7E4: 22119 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22120 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 22121 _cf = 0; 22122 _flag_k = FK_TEST; 22123 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 22124 L_2B07C7E8: 22125 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 22126 eax = _sc ? 0xFFFFFFFFu : 0; 22127 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22128 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22129 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 22130 eax = _sa - _sb - _sc; 22131 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22132 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22133 L_2B07C7ED: 22134 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 22135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22136 _cf = 0; 22137 _flag_k = FK_TEST; 22138 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 22139 L_2B07C7F5: 22140 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 22141 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 22142 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 22143 RECOMP_FLAGS_IN(); 22144 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 22145 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 22146 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22148 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 22149 _flag_k = FK_ADD; 22150 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 22151 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22152 eax = 0; /* 0x2B07C810: xor eax, eax */ 22153 _cf = 0; 22154 _flag_k = FK_TEST; 22155 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 22156 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 22157 edi = edi + 1; /* 0x2B07C818: inc edi */ 22158 _flag_k = FK_INC; 22159 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 22160 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 22161 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 22162 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 22163 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 22164 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 22165 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 22166 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 22167 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 22168 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 22169 RECOMP_FLAGS_IN(); 22170 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 22171 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 22172 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 22173 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 22174 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 22175 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 22176 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 22177 RECOMP_FLAGS_IN(); 22178 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 22179 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 22180 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 22181 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 22182 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 22183 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 22184 RECOMP_FLAGS_IN(); 22185 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 22186 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 22187 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 22188 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 22189 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 22190 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 22191 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 22192 RECOMP_FLAGS_IN(); 22193 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 22194 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 22195 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 22196 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 22197 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 22198 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 22199 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 22200 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 22201 RECOMP_FLAGS_IN(); 22202 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 22203 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 22204 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 22205 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 22206 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 22207 RECOMP_FLAGS_IN(); 22208 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 22209 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 22210 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 22211 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 22212 RECOMP_FLAGS_IN(); 22213 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 22214 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 22215 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 22216 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 22217 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 22218 RECOMP_FLAGS_IN(); 22219 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 22220 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 22221 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 22222 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 22223 RECOMP_FLAGS_IN(); 22224 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 22225 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 22226 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 22227 RECOMP_FLAGS_IN(); 22228 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 22229 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 22230 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 22231 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 22232 RECOMP_FLAGS_IN(); 22233 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 22234 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 22235 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 22236 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 22237 RECOMP_FLAGS_IN(); 22238 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 22239 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 22240 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 22241 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 22242 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 22243 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 22244 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22245 esi = 0; /* 0x2B07C953: xor esi, esi */ 22246 _cf = 0; 22247 _flag_k = FK_TEST; 22248 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 22249 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 22250 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 22251 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 22252 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 22253 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 22254 RECOMP_FLAGS_IN(); 22255 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 22256 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 22257 RECOMP_BACKEDGE(); 22258 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 22259 L_2B07C971: 22260 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 22261 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 22262 _cf = 0; 22263 _flag_k = FK_TEST; 22264 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 22265 L_2B07C979: 22266 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 22267 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 22268 L_2B07C984: 22269 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 22270 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 22271 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 22272 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 22273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22274 _flag_k = FK_NARROW(FK_CMP, 24); 22275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 22276 L_2B07C98C: 22277 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 22278 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22279 _cf = 0; 22280 _flag_k = FK_NARROW(FK_TEST, 24); 22281 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 22282 L_2B07C990: 22283 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 22284 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 22285 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 22286 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 22287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22288 _flag_k = FK_NARROW(FK_CMP, 24); 22289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 22290 L_2B07C99A: 22291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 22292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22293 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 22294 _flag_k = FK_ADD; 22295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 22296 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22297 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 22298 _flag_k = FK_ADD; 22299 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 22300 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22301 _cf = 0; 22302 _flag_k = FK_NARROW(FK_TEST, 24); 22303 RECOMP_BACKEDGE(); 22304 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 22305 L_2B07C9A4: 22306 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22307 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 22308 _cf = 0; 22309 _flag_k = FK_TEST; 22310 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 22311 L_2B07C9A8: 22312 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 22313 eax = _sc ? 0xFFFFFFFFu : 0; 22314 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22315 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22316 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 22317 eax = _sa - _sb - _sc; 22318 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22319 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22320 L_2B07C9AD: 22321 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 22322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22323 _cf = 0; 22324 _flag_k = FK_TEST; 22325 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 22326 L_2B07C9B1: 22327 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 22328 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 22329 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 22330 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 22331 RECOMP_FLAGS_IN(); 22332 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 22333 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 22334 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 22335 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 22336 RECOMP_FLAGS_IN(); 22337 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 22338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 22339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22340 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 22341 _flag_k = FK_ADD; 22342 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 22343 RECOMP_BACKEDGE(); 22344 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 22345 L_2B07C9D9: 22346 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 22347 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 22348 L_2B07C9E4: 22349 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 22350 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 22351 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 22352 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 22353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22354 _flag_k = FK_NARROW(FK_CMP, 24); 22355 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 22356 L_2B07C9EC: 22357 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 22358 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22359 _cf = 0; 22360 _flag_k = FK_NARROW(FK_TEST, 24); 22361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 22362 L_2B07C9F0: 22363 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 22364 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 22365 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 22366 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 22367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22368 _flag_k = FK_NARROW(FK_CMP, 24); 22369 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 22370 L_2B07C9FA: 22371 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 22372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22373 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 22374 _flag_k = FK_ADD; 22375 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 22376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22377 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 22378 _flag_k = FK_ADD; 22379 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 22380 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22381 _cf = 0; 22382 _flag_k = FK_NARROW(FK_TEST, 24); 22383 RECOMP_BACKEDGE(); 22384 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 22385 L_2B07CA04: 22386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22387 eax = 0; /* 0x2B07CA04: xor eax, eax */ 22388 _cf = 0; 22389 _flag_k = FK_TEST; 22390 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 22391 L_2B07CA08: 22392 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 22393 eax = _sc ? 0xFFFFFFFFu : 0; 22394 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22395 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22396 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 22397 eax = _sa - _sb - _sc; 22398 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22399 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22400 L_2B07CA0D: 22401 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 22402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22403 _cf = 0; 22404 _flag_k = FK_TEST; 22405 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 22406 L_2B07CA11: 22407 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 22408 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 22409 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 22410 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 22411 RECOMP_FLAGS_IN(); 22412 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 22413 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 22414 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 22415 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 22416 RECOMP_FLAGS_IN(); 22417 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 22418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22419 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 22420 _flag_k = FK_ADD; 22421 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 22422 RECOMP_BACKEDGE(); 22423 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 22424 L_2B07CA36: 22425 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 22426 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 22427 L_2B07CA41: 22428 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 22429 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 22430 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 22431 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 22432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22433 _flag_k = FK_NARROW(FK_CMP, 24); 22434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 22435 L_2B07CA49: 22436 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 22437 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22438 _cf = 0; 22439 _flag_k = FK_NARROW(FK_TEST, 24); 22440 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 22441 L_2B07CA4D: 22442 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 22443 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 22444 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 22445 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 22446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22447 _flag_k = FK_NARROW(FK_CMP, 24); 22448 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 22449 L_2B07CA57: 22450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 22451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22452 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 22453 _flag_k = FK_ADD; 22454 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 22455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22456 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 22457 _flag_k = FK_ADD; 22458 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 22459 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22460 _cf = 0; 22461 _flag_k = FK_NARROW(FK_TEST, 24); 22462 RECOMP_BACKEDGE(); 22463 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 22464 L_2B07CA61: 22465 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22466 eax = 0; /* 0x2B07CA61: xor eax, eax */ 22467 _cf = 0; 22468 _flag_k = FK_TEST; 22469 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 22470 L_2B07CA65: 22471 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 22472 eax = _sc ? 0xFFFFFFFFu : 0; 22473 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22474 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22475 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 22476 eax = _sa - _sb - _sc; 22477 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22478 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22479 L_2B07CA6A: 22480 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 22481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22482 _cf = 0; 22483 _flag_k = FK_TEST; 22484 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 22485 L_2B07CA6E: 22486 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 22487 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 22488 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 22489 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 22490 RECOMP_FLAGS_IN(); 22491 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 22492 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 22493 esi = eax; /* 0x2B07CA84: mov esi, eax */ 22494 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 22495 RECOMP_FLAGS_IN(); 22496 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 22497 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 22498 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 22499 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 22500 RECOMP_FLAGS_IN(); 22501 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 22502 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 22503 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 22504 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 22505 RECOMP_FLAGS_IN(); 22506 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 22507 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 22508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22509 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 22510 _flag_k = FK_ADD; 22511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 22512 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22513 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 22514 _flag_k = FK_ADD; 22515 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 22516 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 22517 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 22518 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 22519 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 22520 RECOMP_BACKEDGE(); 22521 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 22522 L_2B07CABE: 22523 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 22524 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 22525 L_2B07CAC9: 22526 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 22527 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 22528 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 22529 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 22530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22531 _flag_k = FK_NARROW(FK_CMP, 24); 22532 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 22533 L_2B07CAD1: 22534 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 22535 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22536 _cf = 0; 22537 _flag_k = FK_NARROW(FK_TEST, 24); 22538 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 22539 L_2B07CAD5: 22540 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 22541 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 22542 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 22543 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 22544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22545 _flag_k = FK_NARROW(FK_CMP, 24); 22546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 22547 L_2B07CADF: 22548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 22549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22550 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 22551 _flag_k = FK_ADD; 22552 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 22553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22554 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 22555 _flag_k = FK_ADD; 22556 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 22557 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 22558 _cf = 0; 22559 _flag_k = FK_NARROW(FK_TEST, 24); 22560 RECOMP_BACKEDGE(); 22561 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 22562 L_2B07CAE9: 22563 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22564 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 22565 _cf = 0; 22566 _flag_k = FK_TEST; 22567 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 22568 L_2B07CAED: 22569 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 22570 eax = _sc ? 0xFFFFFFFFu : 0; 22571 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22572 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22573 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 22574 eax = _sa - _sb - _sc; 22575 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 22576 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 22577 L_2B07CAF2: 22578 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 22579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22580 _cf = 0; 22581 _flag_k = FK_TEST; 22582 RECOMP_BACKEDGE(); 22583 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 22584 L_2B07CAFA: 22585 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 22586 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 22587 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 22588 RECOMP_FLAGS_IN(); 22589 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 22590 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 22591 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 22592 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22593 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 22594 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22595 edx = 0; /* 0x2B07CB10: xor edx, edx */ 22596 _cf = 0; 22597 _flag_k = FK_TEST; 22598 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22599 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22600 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 22601 _flag_k = FK_ADD; 22602 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 22603 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 22604 _cf = 0; 22605 _flag_k = FK_TEST; 22606 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 22607 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 22608 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 22609 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 22610 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 22611 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 22612 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 22613 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 22614 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 22615 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 22616 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 22617 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 22618 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 22619 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 22620 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 22621 RECOMP_FLAGS_IN(); 22622 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 22623 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 22624 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 22625 RECOMP_FLAGS_IN(); 22626 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 22627 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 22628 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 22629 RECOMP_FLAGS_IN(); 22630 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 22631 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 22632 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 22633 RECOMP_FLAGS_IN(); 22634 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 22635 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 22636 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 22637 _flag_k = FK_INC; 22638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22639 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 22640 _flag_k = FK_DEC; 22641 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 22642 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 22643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22644 _flag_k = FK_CMP; 22645 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 22646 RECOMP_BACKEDGE(); 22647 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 22648 L_2B07CB7A: 22649 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 22650 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22651 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 22652 _flag_k = FK_INC; 22653 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 22654 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 22655 RECOMP_BACKEDGE(); 22656 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 22657 L_2B07CB8D: 22658 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 22659 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 22660 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 22661 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 22662 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 22663 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 22664 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 22665 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 22666 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 22667 RECOMP_FLAGS_IN(); 22668 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 22669 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 22670 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 22671 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 22672 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 22673 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 22674 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 22675 RECOMP_FLAGS_IN(); 22676 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 22677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22678 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 22679 _flag_k = FK_ADD; 22680 L_2B07CBCB: 22681 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 22682 L_2B07CBCF: 22683 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 22684 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 22685 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 22686 RECOMP_FLAGS_IN(); 22687 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 22688 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22690 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 22691 _flag_k = FK_ADD; 22692 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 22693 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22694 _cf = 0; 22695 _flag_k = FK_NARROW(FK_TEST, 24); 22696 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 22697 L_2B07CBE2: 22698 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 22699 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 22700 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 22701 L_2B07CBEE: 22702 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 22703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22704 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 22705 _cf = 0; 22706 _flag_k = FK_TEST; 22707 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 22708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 22709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22710 _flag_k = FK_CMP; 22711 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 22712 L_2B07CBF7: 22713 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 22714 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 22715 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 22716 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22717 _cf = 0; 22718 _flag_k = FK_NARROW(FK_TEST, 24); 22719 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 22720 L_2B07CC00: 22721 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 22722 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 22723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22724 _flag_k = FK_NARROW(FK_CMP, 24); 22725 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 22726 L_2B07CC04: 22727 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 22728 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 22729 _flag_k = FK_NARROW(FK_DEC, 24); 22730 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 22731 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 22732 L_2B07CC0A: 22733 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 22734 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 22735 RECOMP_FLAGS_IN(); 22736 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22737 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22738 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 22739 _flag_k = FK_ADD; 22740 L_2B07CC13: 22741 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 22742 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 22743 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 22744 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 22745 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 22746 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 22747 RECOMP_FLAGS_IN(); 22748 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 22749 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 22750 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 22751 RECOMP_FLAGS_IN(); 22752 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 22753 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 22754 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 22755 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 22756 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 22757 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 22758 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 22759 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 22760 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 22761 RECOMP_REGS_OUT(); 22762 }