client/game/ddr.dll/lifted-0039.c (792430B)
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_2B0964D0(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(0x2B0964D0u); 17 18 L_2B0964D0: 19 PUSH32(esp, ebp); /* 0x2B0964D0: push ebp */ 20 ebp = esp; /* 0x2B0964D1: mov ebp, esp */ 21 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 22 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23 esp = esp - 8; /* 0x2B0964D3: sub esp, 8 */ 24 _flag_k = FK_CMP; 25 PUSH32(esp, ebx); /* 0x2B0964D6: push ebx */ 26 PUSH32(esp, esi); /* 0x2B0964D7: push esi */ 27 eax = ebp + 0x8; /* 0x2B0964D8: lea eax, [ebp + 8] */ 28 ebx = ecx; /* 0x2B0964DB: mov ebx, ecx */ 29 PUSH32(esp, eax); /* 0x2B0964DD: push eax */ 30 RECOMP_ICALL(0x2B096A60u); /* 0x2B0964DE: call 0x2b096a60 */ /* not lifted */ 31 RECOMP_FLAGS_IN(); 32 ecx = MEM32(ebx + 0x4); /* 0x2B0964E3: mov ecx, dword ptr [ebx + 4] */ 33 /* cmp eax, ecx */ /* 0x2B0964E6: cmp eax, ecx */ 34 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 35 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36 _flag_k = FK_CMP; 37 MEM32(ebp + (-0x4)) = eax; /* 0x2B0964E8: mov dword ptr [ebp - 4], eax */ 38 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0964FA; /* 0x2B0964EB: je 0x2b0964fa */ 39 L_2B0964ED: 40 edx = MEM32(ebp + 0x8); /* 0x2B0964ED: mov edx, dword ptr [ebp + 8] */ 41 /* cmp edx, MEM32(eax + 0xC) */ /* 0x2B0964F0: cmp edx, dword ptr [eax + 0xc] */ 42 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 43 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 44 _flag_k = FK_CMP; 45 if (CMP_L(_flag_a, _flag_b)) goto L_2B0964FA; /* 0x2B0964F3: jl 0x2b0964fa */ 46 L_2B0964F5: 47 eax = ebp + (-0x4); /* 0x2B0964F5: lea eax, [ebp - 4] */ 48 goto L_2B096500; /* 0x2B0964F8: jmp 0x2b096500 */ 49 L_2B0964FA: 50 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0964FA: mov dword ptr [ebp - 8], ecx */ 51 eax = ebp + (-0x8); /* 0x2B0964FD: lea eax, [ebp - 8] */ 52 L_2B096500: 53 esi = MEM32(eax); /* 0x2B096500: mov esi, dword ptr [eax] */ 54 /* cmp esi, ecx */ /* 0x2B096502: cmp esi, ecx */ 55 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 56 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 57 _flag_k = FK_CMP; 58 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09652B; /* 0x2B096504: je 0x2b09652b */ 59 L_2B096506: 60 PUSH32(esp, edi); /* 0x2B096506: push edi */ 61 edi = MEM32(esi + 0x10); /* 0x2B096507: mov edi, dword ptr [esi + 0x10] */ 62 /* test edi, edi */ /* 0x2B09650A: test edi, edi */ 63 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 64 _cf = 0; 65 _flag_k = FK_TEST; 66 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09651E; /* 0x2B09650C: je 0x2b09651e */ 67 L_2B09650E: 68 ecx = edi; /* 0x2B09650E: mov ecx, edi */ 69 RECOMP_ICALL(0x2B096890u); /* 0x2B096510: call 0x2b096890 */ /* not lifted */ 70 RECOMP_FLAGS_IN(); 71 PUSH32(esp, edi); /* 0x2B096515: push edi */ 72 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096516: call 0x2b0ab1ba */ /* not lifted */ 73 RECOMP_FLAGS_IN(); 74 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 75 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 76 esp = esp + 4; /* 0x2B09651B: add esp, 4 */ 77 _flag_k = FK_ADD; 78 L_2B09651E: 79 PUSH32(esp, esi); /* 0x2B09651E: push esi */ 80 eax = ebp + (-0x8); /* 0x2B09651F: lea eax, [ebp - 8] */ 81 PUSH32(esp, eax); /* 0x2B096522: push eax */ 82 ecx = ebx; /* 0x2B096523: mov ecx, ebx */ 83 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096525: call 0x2b06d4f0 */ /* not lifted */ 84 RECOMP_FLAGS_IN(); 85 edi = POP32_VAL(esp); /* 0x2B09652A: pop edi */ 86 L_2B09652B: 87 esi = POP32_VAL(esp); /* 0x2B09652B: pop esi */ 88 ebx = POP32_VAL(esp); /* 0x2B09652C: pop ebx */ 89 esp = ebp; /* 0x2B09652D: mov esp, ebp */ 90 ebp = POP32_VAL(esp); /* 0x2B09652F: pop ebp */ 91 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096530: ret 4 */ 92 RECOMP_REGS_OUT(); 93 } 94 95 void sub_2B096540(void) { 96 int _fpu_cmp = 0; 97 uint32_t _cf = 0; 98 int _df = 1; 99 uint32_t _flag_k = FK_NONE; 100 uint32_t _flag_a = 0, _flag_b = 0; 101 uint32_t _itail_tgt = 0; 102 RECOMP_REGS_LOCALS 103 RECOMP_ENTER(0x2B096540u); 104 105 L_2B096540: 106 PUSH32(esp, ebp); /* 0x2B096540: push ebp */ 107 ebp = esp; /* 0x2B096541: mov ebp, esp */ 108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 110 esp = esp - 8; /* 0x2B096543: sub esp, 8 */ 111 _flag_k = FK_CMP; 112 PUSH32(esp, ebx); /* 0x2B096546: push ebx */ 113 PUSH32(esp, esi); /* 0x2B096547: push esi */ 114 PUSH32(esp, edi); /* 0x2B096548: push edi */ 115 edi = ecx; /* 0x2B096549: mov edi, ecx */ 116 eax = MEM32(edi + 0x4); /* 0x2B09654B: mov eax, dword ptr [edi + 4] */ 117 esi = MEM32(eax); /* 0x2B09654E: mov esi, dword ptr [eax] */ 118 /* cmp esi, eax */ /* 0x2B096550: cmp esi, eax */ 119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 121 _flag_k = FK_CMP; 122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09659E; /* 0x2B096552: je 0x2b09659e */ 123 L_2B096554: 124 ebx = MEM32(esi + 0x10); /* 0x2B096554: mov ebx, dword ptr [esi + 0x10] */ 125 /* test ebx, ebx */ /* 0x2B096557: test ebx, ebx */ 126 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 127 _cf = 0; 128 _flag_k = FK_TEST; 129 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09656B; /* 0x2B096559: je 0x2b09656b */ 130 L_2B09655B: 131 ecx = ebx; /* 0x2B09655B: mov ecx, ebx */ 132 RECOMP_ICALL(0x2B096890u); /* 0x2B09655D: call 0x2b096890 */ /* not lifted */ 133 RECOMP_FLAGS_IN(); 134 PUSH32(esp, ebx); /* 0x2B096562: push ebx */ 135 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096563: call 0x2b0ab1ba */ /* not lifted */ 136 RECOMP_FLAGS_IN(); 137 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 139 esp = esp + 4; /* 0x2B096568: add esp, 4 */ 140 _flag_k = FK_ADD; 141 L_2B09656B: 142 eax = MEM32(esi + 0x8); /* 0x2B09656B: mov eax, dword ptr [esi + 8] */ 143 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09656E: mov cl, byte ptr [eax + 0x15] */ 144 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096571: test cl, cl */ 145 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 146 _cf = 0; 147 _flag_k = FK_NARROW(FK_TEST, 24); 148 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096580; /* 0x2B096573: jne 0x2b096580 */ 149 L_2B096575: 150 PUSH32(esp, eax); /* 0x2B096575: push eax */ 151 RECOMP_ICALL(0x2B0190E0u); /* 0x2B096576: call 0x2b0190e0 */ /* not lifted */ 152 RECOMP_FLAGS_IN(); 153 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 155 esp = esp + 4; /* 0x2B09657B: add esp, 4 */ 156 _flag_k = FK_ADD; 157 goto L_2B096597; /* 0x2B09657E: jmp 0x2b096597 */ 158 L_2B096580: 159 eax = MEM32(esi + 0x4); /* 0x2B096580: mov eax, dword ptr [esi + 4] */ 160 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096583: cmp esi, dword ptr [eax + 8] */ 161 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 163 _flag_k = FK_CMP; 164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096592; /* 0x2B096586: jne 0x2b096592 */ 165 L_2B096588: 166 esi = eax; /* 0x2B096588: mov esi, eax */ 167 eax = MEM32(eax + 0x4); /* 0x2B09658A: mov eax, dword ptr [eax + 4] */ 168 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09658D: cmp esi, dword ptr [eax + 8] */ 169 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 171 _flag_k = FK_CMP; 172 RECOMP_BACKEDGE(); 173 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096588; /* 0x2B096590: je 0x2b096588 */ 174 L_2B096592: 175 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B096592: cmp dword ptr [esi + 8], eax */ 176 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 178 _flag_k = FK_CMP; 179 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096599; /* 0x2B096595: je 0x2b096599 */ 180 L_2B096597: 181 esi = eax; /* 0x2B096597: mov esi, eax */ 182 L_2B096599: 183 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B096599: cmp esi, dword ptr [edi + 4] */ 184 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 186 _flag_k = FK_CMP; 187 RECOMP_BACKEDGE(); 188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096554; /* 0x2B09659C: jne 0x2b096554 */ 189 L_2B09659E: 190 esi = MEM32(edi + 0x4); /* 0x2B09659E: mov esi, dword ptr [edi + 4] */ 191 ecx = MEM32(edi + 0x10); /* 0x2B0965A1: mov ecx, dword ptr [edi + 0x10] */ 192 /* test ecx, ecx */ /* 0x2B0965A4: test ecx, ecx */ 193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 194 _cf = 0; 195 _flag_k = FK_TEST; 196 eax = MEM32(esi); /* 0x2B0965A6: mov eax, dword ptr [esi] */ 197 MEM32(ebp + (-0x4)) = eax; /* 0x2B0965A8: mov dword ptr [ebp - 4], eax */ 198 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965AB: je 0x2b096602 */ 199 L_2B0965AD: 200 ecx = eax; /* 0x2B0965AD: mov ecx, eax */ 201 /* cmp eax, ecx */ /* 0x2B0965AF: cmp eax, ecx */ 202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 204 _flag_k = FK_CMP; 205 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B1: jne 0x2b096602 */ 206 L_2B0965B3: 207 /* cmp esi, esi */ /* 0x2B0965B3: cmp esi, esi */ 208 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 210 _flag_k = FK_CMP; 211 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B5: jne 0x2b096602 */ 212 L_2B0965B7: 213 ebx = MEM32(esi + 0x4); /* 0x2B0965B7: mov ebx, dword ptr [esi + 4] */ 214 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B0965BA: cmp ebx, dword ptr [edi + 8] */ 215 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 217 _flag_k = FK_CMP; 218 esi = ebx; /* 0x2B0965BD: mov esi, ebx */ 219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0965E0; /* 0x2B0965BF: je 0x2b0965e0 */ 220 L_2B0965C1: 221 eax = MEM32(esi + 0x8); /* 0x2B0965C1: mov eax, dword ptr [esi + 8] */ 222 PUSH32(esp, eax); /* 0x2B0965C4: push eax */ 223 ecx = edi; /* 0x2B0965C5: mov ecx, edi */ 224 RECOMP_ICALL(0x2B096A00u); /* 0x2B0965C7: call 0x2b096a00 */ /* not lifted */ 225 RECOMP_FLAGS_IN(); 226 esi = MEM32(esi); /* 0x2B0965CC: mov esi, dword ptr [esi] */ 227 PUSH32(esp, ebx); /* 0x2B0965CE: push ebx */ 228 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0965CF: call 0x2b0ab1ba */ /* not lifted */ 229 RECOMP_FLAGS_IN(); 230 eax = MEM32(edi + 0x8); /* 0x2B0965D4: mov eax, dword ptr [edi + 8] */ 231 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 232 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 233 esp = esp + 4; /* 0x2B0965D7: add esp, 4 */ 234 _flag_k = FK_ADD; 235 /* cmp esi, eax */ /* 0x2B0965DA: cmp esi, eax */ 236 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 238 _flag_k = FK_CMP; 239 ebx = esi; /* 0x2B0965DC: mov ebx, esi */ 240 RECOMP_BACKEDGE(); 241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0965C1; /* 0x2B0965DE: jne 0x2b0965c1 */ 242 L_2B0965E0: 243 ecx = MEM32(edi + 0x4); /* 0x2B0965E0: mov ecx, dword ptr [edi + 4] */ 244 edx = MEM32(edi + 0x8); /* 0x2B0965E3: mov edx, dword ptr [edi + 8] */ 245 MEM32(ecx + 0x4) = edx; /* 0x2B0965E6: mov dword ptr [ecx + 4], edx */ 246 eax = MEM32(edi + 0x4); /* 0x2B0965E9: mov eax, dword ptr [edi + 4] */ 247 MEM32(edi + 0x10) = 0; /* 0x2B0965EC: mov dword ptr [edi + 0x10], 0 */ 248 MEM32(eax) = eax; /* 0x2B0965F3: mov dword ptr [eax], eax */ 249 edi = MEM32(edi + 0x4); /* 0x2B0965F5: mov edi, dword ptr [edi + 4] */ 250 MEM32(edi + 0x8) = edi; /* 0x2B0965F8: mov dword ptr [edi + 8], edi */ 251 edi = POP32_VAL(esp); /* 0x2B0965FB: pop edi */ 252 esi = POP32_VAL(esp); /* 0x2B0965FC: pop esi */ 253 ebx = POP32_VAL(esp); /* 0x2B0965FD: pop ebx */ 254 esp = ebp; /* 0x2B0965FE: mov esp, ebp */ 255 ebp = POP32_VAL(esp); /* 0x2B096600: pop ebp */ 256 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096601: ret */ 257 L_2B096602: 258 /* cmp eax, esi */ /* 0x2B096602: cmp eax, esi */ 259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 261 _flag_k = FK_CMP; 262 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096623; /* 0x2B096604: je 0x2b096623 */ 263 L_2B096606: 264 ecx = ebp + (-0x4); /* 0x2B096606: lea ecx, [ebp - 4] */ 265 ebx = eax; /* 0x2B096609: mov ebx, eax */ 266 RECOMP_ICALL(0x2B06A300u); /* 0x2B09660B: call 0x2b06a300 */ /* not lifted */ 267 RECOMP_FLAGS_IN(); 268 PUSH32(esp, ebx); /* 0x2B096610: push ebx */ 269 eax = ebp + (-0x8); /* 0x2B096611: lea eax, [ebp - 8] */ 270 PUSH32(esp, eax); /* 0x2B096614: push eax */ 271 ecx = edi; /* 0x2B096615: mov ecx, edi */ 272 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096617: call 0x2b06d4f0 */ /* not lifted */ 273 RECOMP_FLAGS_IN(); 274 eax = MEM32(ebp + (-0x4)); /* 0x2B09661C: mov eax, dword ptr [ebp - 4] */ 275 /* cmp eax, esi */ /* 0x2B09661F: cmp eax, esi */ 276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 278 _flag_k = FK_CMP; 279 RECOMP_BACKEDGE(); 280 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096606; /* 0x2B096621: jne 0x2b096606 */ 281 L_2B096623: 282 edi = POP32_VAL(esp); /* 0x2B096623: pop edi */ 283 esi = POP32_VAL(esp); /* 0x2B096624: pop esi */ 284 ebx = POP32_VAL(esp); /* 0x2B096625: pop ebx */ 285 esp = ebp; /* 0x2B096626: mov esp, ebp */ 286 ebp = POP32_VAL(esp); /* 0x2B096628: pop ebp */ 287 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096629: ret */ 288 RECOMP_REGS_OUT(); 289 } 290 291 void sub_2B096554(void) { 292 int _fpu_cmp = 0; 293 uint32_t _cf = 0; 294 int _df = 1; 295 uint32_t _flag_k = FK_NONE; 296 uint32_t _flag_a = 0, _flag_b = 0; 297 uint32_t _itail_tgt = 0; 298 RECOMP_REGS_LOCALS 299 RECOMP_ENTER(0x2B096554u); 300 301 L_2B096554: 302 ebx = MEM32(esi + 0x10); /* 0x2B096554: mov ebx, dword ptr [esi + 0x10] */ 303 /* test ebx, ebx */ /* 0x2B096557: test ebx, ebx */ 304 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 305 _cf = 0; 306 _flag_k = FK_TEST; 307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09656B; /* 0x2B096559: je 0x2b09656b */ 308 L_2B09655B: 309 ecx = ebx; /* 0x2B09655B: mov ecx, ebx */ 310 RECOMP_ICALL(0x2B096890u); /* 0x2B09655D: call 0x2b096890 */ /* not lifted */ 311 RECOMP_FLAGS_IN(); 312 PUSH32(esp, ebx); /* 0x2B096562: push ebx */ 313 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096563: call 0x2b0ab1ba */ /* not lifted */ 314 RECOMP_FLAGS_IN(); 315 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 317 esp = esp + 4; /* 0x2B096568: add esp, 4 */ 318 _flag_k = FK_ADD; 319 L_2B09656B: 320 eax = MEM32(esi + 0x8); /* 0x2B09656B: mov eax, dword ptr [esi + 8] */ 321 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09656E: mov cl, byte ptr [eax + 0x15] */ 322 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096571: test cl, cl */ 323 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 324 _cf = 0; 325 _flag_k = FK_NARROW(FK_TEST, 24); 326 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096580; /* 0x2B096573: jne 0x2b096580 */ 327 L_2B096575: 328 PUSH32(esp, eax); /* 0x2B096575: push eax */ 329 RECOMP_ICALL(0x2B0190E0u); /* 0x2B096576: call 0x2b0190e0 */ /* not lifted */ 330 RECOMP_FLAGS_IN(); 331 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 332 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 333 esp = esp + 4; /* 0x2B09657B: add esp, 4 */ 334 _flag_k = FK_ADD; 335 goto L_2B096597; /* 0x2B09657E: jmp 0x2b096597 */ 336 L_2B096580: 337 eax = MEM32(esi + 0x4); /* 0x2B096580: mov eax, dword ptr [esi + 4] */ 338 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096583: cmp esi, dword ptr [eax + 8] */ 339 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 341 _flag_k = FK_CMP; 342 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096592; /* 0x2B096586: jne 0x2b096592 */ 343 L_2B096588: 344 esi = eax; /* 0x2B096588: mov esi, eax */ 345 eax = MEM32(eax + 0x4); /* 0x2B09658A: mov eax, dword ptr [eax + 4] */ 346 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09658D: cmp esi, dword ptr [eax + 8] */ 347 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 349 _flag_k = FK_CMP; 350 RECOMP_BACKEDGE(); 351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096588; /* 0x2B096590: je 0x2b096588 */ 352 L_2B096592: 353 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B096592: cmp dword ptr [esi + 8], eax */ 354 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 356 _flag_k = FK_CMP; 357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096599; /* 0x2B096595: je 0x2b096599 */ 358 L_2B096597: 359 esi = eax; /* 0x2B096597: mov esi, eax */ 360 L_2B096599: 361 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B096599: cmp esi, dword ptr [edi + 4] */ 362 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 364 _flag_k = FK_CMP; 365 RECOMP_BACKEDGE(); 366 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096554; /* 0x2B09659C: jne 0x2b096554 */ 367 L_2B09659E: 368 esi = MEM32(edi + 0x4); /* 0x2B09659E: mov esi, dword ptr [edi + 4] */ 369 ecx = MEM32(edi + 0x10); /* 0x2B0965A1: mov ecx, dword ptr [edi + 0x10] */ 370 /* test ecx, ecx */ /* 0x2B0965A4: test ecx, ecx */ 371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 372 _cf = 0; 373 _flag_k = FK_TEST; 374 eax = MEM32(esi); /* 0x2B0965A6: mov eax, dword ptr [esi] */ 375 MEM32(ebp + (-0x4)) = eax; /* 0x2B0965A8: mov dword ptr [ebp - 4], eax */ 376 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965AB: je 0x2b096602 */ 377 L_2B0965AD: 378 ecx = eax; /* 0x2B0965AD: mov ecx, eax */ 379 /* cmp eax, ecx */ /* 0x2B0965AF: cmp eax, ecx */ 380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 382 _flag_k = FK_CMP; 383 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B1: jne 0x2b096602 */ 384 L_2B0965B3: 385 /* cmp esi, esi */ /* 0x2B0965B3: cmp esi, esi */ 386 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 388 _flag_k = FK_CMP; 389 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B5: jne 0x2b096602 */ 390 L_2B0965B7: 391 ebx = MEM32(esi + 0x4); /* 0x2B0965B7: mov ebx, dword ptr [esi + 4] */ 392 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B0965BA: cmp ebx, dword ptr [edi + 8] */ 393 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 395 _flag_k = FK_CMP; 396 esi = ebx; /* 0x2B0965BD: mov esi, ebx */ 397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0965E0; /* 0x2B0965BF: je 0x2b0965e0 */ 398 L_2B0965C1: 399 eax = MEM32(esi + 0x8); /* 0x2B0965C1: mov eax, dword ptr [esi + 8] */ 400 PUSH32(esp, eax); /* 0x2B0965C4: push eax */ 401 ecx = edi; /* 0x2B0965C5: mov ecx, edi */ 402 RECOMP_ICALL(0x2B096A00u); /* 0x2B0965C7: call 0x2b096a00 */ /* not lifted */ 403 RECOMP_FLAGS_IN(); 404 esi = MEM32(esi); /* 0x2B0965CC: mov esi, dword ptr [esi] */ 405 PUSH32(esp, ebx); /* 0x2B0965CE: push ebx */ 406 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0965CF: call 0x2b0ab1ba */ /* not lifted */ 407 RECOMP_FLAGS_IN(); 408 eax = MEM32(edi + 0x8); /* 0x2B0965D4: mov eax, dword ptr [edi + 8] */ 409 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 410 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 411 esp = esp + 4; /* 0x2B0965D7: add esp, 4 */ 412 _flag_k = FK_ADD; 413 /* cmp esi, eax */ /* 0x2B0965DA: cmp esi, eax */ 414 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 416 _flag_k = FK_CMP; 417 ebx = esi; /* 0x2B0965DC: mov ebx, esi */ 418 RECOMP_BACKEDGE(); 419 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0965C1; /* 0x2B0965DE: jne 0x2b0965c1 */ 420 L_2B0965E0: 421 ecx = MEM32(edi + 0x4); /* 0x2B0965E0: mov ecx, dword ptr [edi + 4] */ 422 edx = MEM32(edi + 0x8); /* 0x2B0965E3: mov edx, dword ptr [edi + 8] */ 423 MEM32(ecx + 0x4) = edx; /* 0x2B0965E6: mov dword ptr [ecx + 4], edx */ 424 eax = MEM32(edi + 0x4); /* 0x2B0965E9: mov eax, dword ptr [edi + 4] */ 425 MEM32(edi + 0x10) = 0; /* 0x2B0965EC: mov dword ptr [edi + 0x10], 0 */ 426 MEM32(eax) = eax; /* 0x2B0965F3: mov dword ptr [eax], eax */ 427 edi = MEM32(edi + 0x4); /* 0x2B0965F5: mov edi, dword ptr [edi + 4] */ 428 MEM32(edi + 0x8) = edi; /* 0x2B0965F8: mov dword ptr [edi + 8], edi */ 429 edi = POP32_VAL(esp); /* 0x2B0965FB: pop edi */ 430 esi = POP32_VAL(esp); /* 0x2B0965FC: pop esi */ 431 ebx = POP32_VAL(esp); /* 0x2B0965FD: pop ebx */ 432 esp = ebp; /* 0x2B0965FE: mov esp, ebp */ 433 ebp = POP32_VAL(esp); /* 0x2B096600: pop ebp */ 434 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096601: ret */ 435 L_2B096602: 436 /* cmp eax, esi */ /* 0x2B096602: cmp eax, esi */ 437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 439 _flag_k = FK_CMP; 440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096623; /* 0x2B096604: je 0x2b096623 */ 441 L_2B096606: 442 ecx = ebp + (-0x4); /* 0x2B096606: lea ecx, [ebp - 4] */ 443 ebx = eax; /* 0x2B096609: mov ebx, eax */ 444 RECOMP_ICALL(0x2B06A300u); /* 0x2B09660B: call 0x2b06a300 */ /* not lifted */ 445 RECOMP_FLAGS_IN(); 446 PUSH32(esp, ebx); /* 0x2B096610: push ebx */ 447 eax = ebp + (-0x8); /* 0x2B096611: lea eax, [ebp - 8] */ 448 PUSH32(esp, eax); /* 0x2B096614: push eax */ 449 ecx = edi; /* 0x2B096615: mov ecx, edi */ 450 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096617: call 0x2b06d4f0 */ /* not lifted */ 451 RECOMP_FLAGS_IN(); 452 eax = MEM32(ebp + (-0x4)); /* 0x2B09661C: mov eax, dword ptr [ebp - 4] */ 453 /* cmp eax, esi */ /* 0x2B09661F: cmp eax, esi */ 454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 456 _flag_k = FK_CMP; 457 RECOMP_BACKEDGE(); 458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096606; /* 0x2B096621: jne 0x2b096606 */ 459 L_2B096623: 460 edi = POP32_VAL(esp); /* 0x2B096623: pop edi */ 461 esi = POP32_VAL(esp); /* 0x2B096624: pop esi */ 462 ebx = POP32_VAL(esp); /* 0x2B096625: pop ebx */ 463 esp = ebp; /* 0x2B096626: mov esp, ebp */ 464 ebp = POP32_VAL(esp); /* 0x2B096628: pop ebp */ 465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096629: ret */ 466 RECOMP_REGS_OUT(); 467 } 468 469 void sub_2B096597(void) { 470 int _fpu_cmp = 0; 471 uint32_t _cf = 0; 472 int _df = 1; 473 uint32_t _flag_k = FK_NONE; 474 uint32_t _flag_a = 0, _flag_b = 0; 475 uint32_t _itail_tgt = 0; 476 RECOMP_REGS_LOCALS 477 RECOMP_ENTER(0x2B096597u); 478 479 goto L_2B096597; 480 L_2B096554: 481 ebx = MEM32(esi + 0x10); /* 0x2B096554: mov ebx, dword ptr [esi + 0x10] */ 482 /* test ebx, ebx */ /* 0x2B096557: test ebx, ebx */ 483 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 484 _cf = 0; 485 _flag_k = FK_TEST; 486 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09656B; /* 0x2B096559: je 0x2b09656b */ 487 L_2B09655B: 488 ecx = ebx; /* 0x2B09655B: mov ecx, ebx */ 489 RECOMP_ICALL(0x2B096890u); /* 0x2B09655D: call 0x2b096890 */ /* not lifted */ 490 RECOMP_FLAGS_IN(); 491 PUSH32(esp, ebx); /* 0x2B096562: push ebx */ 492 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096563: call 0x2b0ab1ba */ /* not lifted */ 493 RECOMP_FLAGS_IN(); 494 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 495 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 496 esp = esp + 4; /* 0x2B096568: add esp, 4 */ 497 _flag_k = FK_ADD; 498 L_2B09656B: 499 eax = MEM32(esi + 0x8); /* 0x2B09656B: mov eax, dword ptr [esi + 8] */ 500 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09656E: mov cl, byte ptr [eax + 0x15] */ 501 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096571: test cl, cl */ 502 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 503 _cf = 0; 504 _flag_k = FK_NARROW(FK_TEST, 24); 505 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096580; /* 0x2B096573: jne 0x2b096580 */ 506 L_2B096575: 507 PUSH32(esp, eax); /* 0x2B096575: push eax */ 508 RECOMP_ICALL(0x2B0190E0u); /* 0x2B096576: call 0x2b0190e0 */ /* not lifted */ 509 RECOMP_FLAGS_IN(); 510 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 512 esp = esp + 4; /* 0x2B09657B: add esp, 4 */ 513 _flag_k = FK_ADD; 514 goto L_2B096597; /* 0x2B09657E: jmp 0x2b096597 */ 515 L_2B096580: 516 eax = MEM32(esi + 0x4); /* 0x2B096580: mov eax, dword ptr [esi + 4] */ 517 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096583: cmp esi, dword ptr [eax + 8] */ 518 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 520 _flag_k = FK_CMP; 521 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096592; /* 0x2B096586: jne 0x2b096592 */ 522 L_2B096588: 523 esi = eax; /* 0x2B096588: mov esi, eax */ 524 eax = MEM32(eax + 0x4); /* 0x2B09658A: mov eax, dword ptr [eax + 4] */ 525 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09658D: cmp esi, dword ptr [eax + 8] */ 526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 528 _flag_k = FK_CMP; 529 RECOMP_BACKEDGE(); 530 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096588; /* 0x2B096590: je 0x2b096588 */ 531 L_2B096592: 532 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B096592: cmp dword ptr [esi + 8], eax */ 533 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 535 _flag_k = FK_CMP; 536 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096599; /* 0x2B096595: je 0x2b096599 */ 537 L_2B096597: 538 esi = eax; /* 0x2B096597: mov esi, eax */ 539 L_2B096599: 540 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B096599: cmp esi, dword ptr [edi + 4] */ 541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 543 _flag_k = FK_CMP; 544 RECOMP_BACKEDGE(); 545 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096554; /* 0x2B09659C: jne 0x2b096554 */ 546 L_2B09659E: 547 esi = MEM32(edi + 0x4); /* 0x2B09659E: mov esi, dword ptr [edi + 4] */ 548 ecx = MEM32(edi + 0x10); /* 0x2B0965A1: mov ecx, dword ptr [edi + 0x10] */ 549 /* test ecx, ecx */ /* 0x2B0965A4: test ecx, ecx */ 550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 551 _cf = 0; 552 _flag_k = FK_TEST; 553 eax = MEM32(esi); /* 0x2B0965A6: mov eax, dword ptr [esi] */ 554 MEM32(ebp + (-0x4)) = eax; /* 0x2B0965A8: mov dword ptr [ebp - 4], eax */ 555 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965AB: je 0x2b096602 */ 556 L_2B0965AD: 557 ecx = eax; /* 0x2B0965AD: mov ecx, eax */ 558 /* cmp eax, ecx */ /* 0x2B0965AF: cmp eax, ecx */ 559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 561 _flag_k = FK_CMP; 562 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B1: jne 0x2b096602 */ 563 L_2B0965B3: 564 /* cmp esi, esi */ /* 0x2B0965B3: cmp esi, esi */ 565 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 567 _flag_k = FK_CMP; 568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B5: jne 0x2b096602 */ 569 L_2B0965B7: 570 ebx = MEM32(esi + 0x4); /* 0x2B0965B7: mov ebx, dword ptr [esi + 4] */ 571 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B0965BA: cmp ebx, dword ptr [edi + 8] */ 572 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 574 _flag_k = FK_CMP; 575 esi = ebx; /* 0x2B0965BD: mov esi, ebx */ 576 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0965E0; /* 0x2B0965BF: je 0x2b0965e0 */ 577 L_2B0965C1: 578 eax = MEM32(esi + 0x8); /* 0x2B0965C1: mov eax, dword ptr [esi + 8] */ 579 PUSH32(esp, eax); /* 0x2B0965C4: push eax */ 580 ecx = edi; /* 0x2B0965C5: mov ecx, edi */ 581 RECOMP_ICALL(0x2B096A00u); /* 0x2B0965C7: call 0x2b096a00 */ /* not lifted */ 582 RECOMP_FLAGS_IN(); 583 esi = MEM32(esi); /* 0x2B0965CC: mov esi, dword ptr [esi] */ 584 PUSH32(esp, ebx); /* 0x2B0965CE: push ebx */ 585 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0965CF: call 0x2b0ab1ba */ /* not lifted */ 586 RECOMP_FLAGS_IN(); 587 eax = MEM32(edi + 0x8); /* 0x2B0965D4: mov eax, dword ptr [edi + 8] */ 588 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 590 esp = esp + 4; /* 0x2B0965D7: add esp, 4 */ 591 _flag_k = FK_ADD; 592 /* cmp esi, eax */ /* 0x2B0965DA: cmp esi, eax */ 593 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 595 _flag_k = FK_CMP; 596 ebx = esi; /* 0x2B0965DC: mov ebx, esi */ 597 RECOMP_BACKEDGE(); 598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0965C1; /* 0x2B0965DE: jne 0x2b0965c1 */ 599 L_2B0965E0: 600 ecx = MEM32(edi + 0x4); /* 0x2B0965E0: mov ecx, dword ptr [edi + 4] */ 601 edx = MEM32(edi + 0x8); /* 0x2B0965E3: mov edx, dword ptr [edi + 8] */ 602 MEM32(ecx + 0x4) = edx; /* 0x2B0965E6: mov dword ptr [ecx + 4], edx */ 603 eax = MEM32(edi + 0x4); /* 0x2B0965E9: mov eax, dword ptr [edi + 4] */ 604 MEM32(edi + 0x10) = 0; /* 0x2B0965EC: mov dword ptr [edi + 0x10], 0 */ 605 MEM32(eax) = eax; /* 0x2B0965F3: mov dword ptr [eax], eax */ 606 edi = MEM32(edi + 0x4); /* 0x2B0965F5: mov edi, dword ptr [edi + 4] */ 607 MEM32(edi + 0x8) = edi; /* 0x2B0965F8: mov dword ptr [edi + 8], edi */ 608 edi = POP32_VAL(esp); /* 0x2B0965FB: pop edi */ 609 esi = POP32_VAL(esp); /* 0x2B0965FC: pop esi */ 610 ebx = POP32_VAL(esp); /* 0x2B0965FD: pop ebx */ 611 esp = ebp; /* 0x2B0965FE: mov esp, ebp */ 612 ebp = POP32_VAL(esp); /* 0x2B096600: pop ebp */ 613 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096601: ret */ 614 L_2B096602: 615 /* cmp eax, esi */ /* 0x2B096602: cmp eax, esi */ 616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 618 _flag_k = FK_CMP; 619 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096623; /* 0x2B096604: je 0x2b096623 */ 620 L_2B096606: 621 ecx = ebp + (-0x4); /* 0x2B096606: lea ecx, [ebp - 4] */ 622 ebx = eax; /* 0x2B096609: mov ebx, eax */ 623 RECOMP_ICALL(0x2B06A300u); /* 0x2B09660B: call 0x2b06a300 */ /* not lifted */ 624 RECOMP_FLAGS_IN(); 625 PUSH32(esp, ebx); /* 0x2B096610: push ebx */ 626 eax = ebp + (-0x8); /* 0x2B096611: lea eax, [ebp - 8] */ 627 PUSH32(esp, eax); /* 0x2B096614: push eax */ 628 ecx = edi; /* 0x2B096615: mov ecx, edi */ 629 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096617: call 0x2b06d4f0 */ /* not lifted */ 630 RECOMP_FLAGS_IN(); 631 eax = MEM32(ebp + (-0x4)); /* 0x2B09661C: mov eax, dword ptr [ebp - 4] */ 632 /* cmp eax, esi */ /* 0x2B09661F: cmp eax, esi */ 633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 635 _flag_k = FK_CMP; 636 RECOMP_BACKEDGE(); 637 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096606; /* 0x2B096621: jne 0x2b096606 */ 638 L_2B096623: 639 edi = POP32_VAL(esp); /* 0x2B096623: pop edi */ 640 esi = POP32_VAL(esp); /* 0x2B096624: pop esi */ 641 ebx = POP32_VAL(esp); /* 0x2B096625: pop ebx */ 642 esp = ebp; /* 0x2B096626: mov esp, ebp */ 643 ebp = POP32_VAL(esp); /* 0x2B096628: pop ebp */ 644 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096629: ret */ 645 RECOMP_REGS_OUT(); 646 } 647 648 void sub_2B096599(void) { 649 int _fpu_cmp = 0; 650 uint32_t _cf = 0; 651 int _df = 1; 652 uint32_t _flag_k = FK_NONE; 653 uint32_t _flag_a = 0, _flag_b = 0; 654 uint32_t _itail_tgt = 0; 655 RECOMP_REGS_LOCALS 656 RECOMP_ENTER(0x2B096599u); 657 658 goto L_2B096599; 659 L_2B096554: 660 ebx = MEM32(esi + 0x10); /* 0x2B096554: mov ebx, dword ptr [esi + 0x10] */ 661 /* test ebx, ebx */ /* 0x2B096557: test ebx, ebx */ 662 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 663 _cf = 0; 664 _flag_k = FK_TEST; 665 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09656B; /* 0x2B096559: je 0x2b09656b */ 666 L_2B09655B: 667 ecx = ebx; /* 0x2B09655B: mov ecx, ebx */ 668 RECOMP_ICALL(0x2B096890u); /* 0x2B09655D: call 0x2b096890 */ /* not lifted */ 669 RECOMP_FLAGS_IN(); 670 PUSH32(esp, ebx); /* 0x2B096562: push ebx */ 671 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096563: call 0x2b0ab1ba */ /* not lifted */ 672 RECOMP_FLAGS_IN(); 673 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 675 esp = esp + 4; /* 0x2B096568: add esp, 4 */ 676 _flag_k = FK_ADD; 677 L_2B09656B: 678 eax = MEM32(esi + 0x8); /* 0x2B09656B: mov eax, dword ptr [esi + 8] */ 679 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09656E: mov cl, byte ptr [eax + 0x15] */ 680 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096571: test cl, cl */ 681 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 682 _cf = 0; 683 _flag_k = FK_NARROW(FK_TEST, 24); 684 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096580; /* 0x2B096573: jne 0x2b096580 */ 685 L_2B096575: 686 PUSH32(esp, eax); /* 0x2B096575: push eax */ 687 RECOMP_ICALL(0x2B0190E0u); /* 0x2B096576: call 0x2b0190e0 */ /* not lifted */ 688 RECOMP_FLAGS_IN(); 689 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 691 esp = esp + 4; /* 0x2B09657B: add esp, 4 */ 692 _flag_k = FK_ADD; 693 goto L_2B096597; /* 0x2B09657E: jmp 0x2b096597 */ 694 L_2B096580: 695 eax = MEM32(esi + 0x4); /* 0x2B096580: mov eax, dword ptr [esi + 4] */ 696 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096583: cmp esi, dword ptr [eax + 8] */ 697 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 699 _flag_k = FK_CMP; 700 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096592; /* 0x2B096586: jne 0x2b096592 */ 701 L_2B096588: 702 esi = eax; /* 0x2B096588: mov esi, eax */ 703 eax = MEM32(eax + 0x4); /* 0x2B09658A: mov eax, dword ptr [eax + 4] */ 704 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09658D: cmp esi, dword ptr [eax + 8] */ 705 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 707 _flag_k = FK_CMP; 708 RECOMP_BACKEDGE(); 709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096588; /* 0x2B096590: je 0x2b096588 */ 710 L_2B096592: 711 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B096592: cmp dword ptr [esi + 8], eax */ 712 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 714 _flag_k = FK_CMP; 715 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096599; /* 0x2B096595: je 0x2b096599 */ 716 L_2B096597: 717 esi = eax; /* 0x2B096597: mov esi, eax */ 718 L_2B096599: 719 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B096599: cmp esi, dword ptr [edi + 4] */ 720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 722 _flag_k = FK_CMP; 723 RECOMP_BACKEDGE(); 724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096554; /* 0x2B09659C: jne 0x2b096554 */ 725 L_2B09659E: 726 esi = MEM32(edi + 0x4); /* 0x2B09659E: mov esi, dword ptr [edi + 4] */ 727 ecx = MEM32(edi + 0x10); /* 0x2B0965A1: mov ecx, dword ptr [edi + 0x10] */ 728 /* test ecx, ecx */ /* 0x2B0965A4: test ecx, ecx */ 729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 730 _cf = 0; 731 _flag_k = FK_TEST; 732 eax = MEM32(esi); /* 0x2B0965A6: mov eax, dword ptr [esi] */ 733 MEM32(ebp + (-0x4)) = eax; /* 0x2B0965A8: mov dword ptr [ebp - 4], eax */ 734 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965AB: je 0x2b096602 */ 735 L_2B0965AD: 736 ecx = eax; /* 0x2B0965AD: mov ecx, eax */ 737 /* cmp eax, ecx */ /* 0x2B0965AF: cmp eax, ecx */ 738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 740 _flag_k = FK_CMP; 741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B1: jne 0x2b096602 */ 742 L_2B0965B3: 743 /* cmp esi, esi */ /* 0x2B0965B3: cmp esi, esi */ 744 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 746 _flag_k = FK_CMP; 747 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B5: jne 0x2b096602 */ 748 L_2B0965B7: 749 ebx = MEM32(esi + 0x4); /* 0x2B0965B7: mov ebx, dword ptr [esi + 4] */ 750 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B0965BA: cmp ebx, dword ptr [edi + 8] */ 751 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 753 _flag_k = FK_CMP; 754 esi = ebx; /* 0x2B0965BD: mov esi, ebx */ 755 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0965E0; /* 0x2B0965BF: je 0x2b0965e0 */ 756 L_2B0965C1: 757 eax = MEM32(esi + 0x8); /* 0x2B0965C1: mov eax, dword ptr [esi + 8] */ 758 PUSH32(esp, eax); /* 0x2B0965C4: push eax */ 759 ecx = edi; /* 0x2B0965C5: mov ecx, edi */ 760 RECOMP_ICALL(0x2B096A00u); /* 0x2B0965C7: call 0x2b096a00 */ /* not lifted */ 761 RECOMP_FLAGS_IN(); 762 esi = MEM32(esi); /* 0x2B0965CC: mov esi, dword ptr [esi] */ 763 PUSH32(esp, ebx); /* 0x2B0965CE: push ebx */ 764 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0965CF: call 0x2b0ab1ba */ /* not lifted */ 765 RECOMP_FLAGS_IN(); 766 eax = MEM32(edi + 0x8); /* 0x2B0965D4: mov eax, dword ptr [edi + 8] */ 767 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 768 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 769 esp = esp + 4; /* 0x2B0965D7: add esp, 4 */ 770 _flag_k = FK_ADD; 771 /* cmp esi, eax */ /* 0x2B0965DA: cmp esi, eax */ 772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 774 _flag_k = FK_CMP; 775 ebx = esi; /* 0x2B0965DC: mov ebx, esi */ 776 RECOMP_BACKEDGE(); 777 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0965C1; /* 0x2B0965DE: jne 0x2b0965c1 */ 778 L_2B0965E0: 779 ecx = MEM32(edi + 0x4); /* 0x2B0965E0: mov ecx, dword ptr [edi + 4] */ 780 edx = MEM32(edi + 0x8); /* 0x2B0965E3: mov edx, dword ptr [edi + 8] */ 781 MEM32(ecx + 0x4) = edx; /* 0x2B0965E6: mov dword ptr [ecx + 4], edx */ 782 eax = MEM32(edi + 0x4); /* 0x2B0965E9: mov eax, dword ptr [edi + 4] */ 783 MEM32(edi + 0x10) = 0; /* 0x2B0965EC: mov dword ptr [edi + 0x10], 0 */ 784 MEM32(eax) = eax; /* 0x2B0965F3: mov dword ptr [eax], eax */ 785 edi = MEM32(edi + 0x4); /* 0x2B0965F5: mov edi, dword ptr [edi + 4] */ 786 MEM32(edi + 0x8) = edi; /* 0x2B0965F8: mov dword ptr [edi + 8], edi */ 787 edi = POP32_VAL(esp); /* 0x2B0965FB: pop edi */ 788 esi = POP32_VAL(esp); /* 0x2B0965FC: pop esi */ 789 ebx = POP32_VAL(esp); /* 0x2B0965FD: pop ebx */ 790 esp = ebp; /* 0x2B0965FE: mov esp, ebp */ 791 ebp = POP32_VAL(esp); /* 0x2B096600: pop ebp */ 792 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096601: ret */ 793 L_2B096602: 794 /* cmp eax, esi */ /* 0x2B096602: cmp eax, esi */ 795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 797 _flag_k = FK_CMP; 798 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096623; /* 0x2B096604: je 0x2b096623 */ 799 L_2B096606: 800 ecx = ebp + (-0x4); /* 0x2B096606: lea ecx, [ebp - 4] */ 801 ebx = eax; /* 0x2B096609: mov ebx, eax */ 802 RECOMP_ICALL(0x2B06A300u); /* 0x2B09660B: call 0x2b06a300 */ /* not lifted */ 803 RECOMP_FLAGS_IN(); 804 PUSH32(esp, ebx); /* 0x2B096610: push ebx */ 805 eax = ebp + (-0x8); /* 0x2B096611: lea eax, [ebp - 8] */ 806 PUSH32(esp, eax); /* 0x2B096614: push eax */ 807 ecx = edi; /* 0x2B096615: mov ecx, edi */ 808 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096617: call 0x2b06d4f0 */ /* not lifted */ 809 RECOMP_FLAGS_IN(); 810 eax = MEM32(ebp + (-0x4)); /* 0x2B09661C: mov eax, dword ptr [ebp - 4] */ 811 /* cmp eax, esi */ /* 0x2B09661F: cmp eax, esi */ 812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 814 _flag_k = FK_CMP; 815 RECOMP_BACKEDGE(); 816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096606; /* 0x2B096621: jne 0x2b096606 */ 817 L_2B096623: 818 edi = POP32_VAL(esp); /* 0x2B096623: pop edi */ 819 esi = POP32_VAL(esp); /* 0x2B096624: pop esi */ 820 ebx = POP32_VAL(esp); /* 0x2B096625: pop ebx */ 821 esp = ebp; /* 0x2B096626: mov esp, ebp */ 822 ebp = POP32_VAL(esp); /* 0x2B096628: pop ebp */ 823 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096629: ret */ 824 RECOMP_REGS_OUT(); 825 } 826 827 void sub_2B096630(void) { 828 int _fpu_cmp = 0; 829 uint32_t _cf = 0; 830 int _df = 1; 831 uint32_t _flag_k = FK_NONE; 832 uint32_t _flag_a = 0, _flag_b = 0; 833 uint32_t _itail_tgt = 0; 834 RECOMP_REGS_LOCALS 835 RECOMP_ENTER(0x2B096630u); 836 837 L_2B096630: 838 PUSH32(esp, ebp); /* 0x2B096630: push ebp */ 839 ebp = esp; /* 0x2B096631: mov ebp, esp */ 840 edx = MEM32(ecx + 0x4); /* 0x2B096633: mov edx, dword ptr [ecx + 4] */ 841 eax = MEM32(edx); /* 0x2B096636: mov eax, dword ptr [edx] */ 842 /* cmp eax, edx */ /* 0x2B096638: cmp eax, edx */ 843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 845 _flag_k = FK_CMP; 846 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096689; /* 0x2B09663A: je 0x2b096689 */ 847 L_2B09663C: 848 PUSH32(esp, ebx); /* 0x2B09663C: push ebx */ 849 PUSH32(esp, esi); /* 0x2B09663D: push esi */ 850 L_2B09663E: 851 edx = MEM32(eax + 0x10); /* 0x2B09663E: mov edx, dword ptr [eax + 0x10] */ 852 esi = MEM32(ebp + 0x8); /* 0x2B096641: mov esi, dword ptr [ebp + 8] */ 853 MEM32(edx + 0x4) = esi; /* 0x2B096644: mov dword ptr [edx + 4], esi */ 854 edx = MEM32(eax + 0x8); /* 0x2B096647: mov edx, dword ptr [eax + 8] */ 855 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2B09664A: mov bl, byte ptr [edx + 0x15] */ 856 /* test LO8(ebx), LO8(ebx) */ /* 0x2B09664D: test bl, bl */ 857 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 858 _cf = 0; 859 _flag_k = FK_NARROW(FK_TEST, 24); 860 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096669; /* 0x2B09664F: jne 0x2b096669 */ 861 L_2B096651: 862 eax = edx; /* 0x2B096651: mov eax, edx */ 863 edx = MEM32(eax); /* 0x2B096653: mov edx, dword ptr [eax] */ 864 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2B096655: mov bl, byte ptr [edx + 0x15] */ 865 /* test LO8(ebx), LO8(ebx) */ /* 0x2B096658: test bl, bl */ 866 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 867 _cf = 0; 868 _flag_k = FK_NARROW(FK_TEST, 24); 869 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096682; /* 0x2B09665A: jne 0x2b096682 */ 870 L_2B09665C: 871 eax = edx; /* 0x2B09665C: mov eax, edx */ 872 edx = MEM32(eax); /* 0x2B09665E: mov edx, dword ptr [eax] */ 873 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2B096660: mov bl, byte ptr [edx + 0x15] */ 874 /* test LO8(ebx), LO8(ebx) */ /* 0x2B096663: test bl, bl */ 875 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 876 _cf = 0; 877 _flag_k = FK_NARROW(FK_TEST, 24); 878 RECOMP_BACKEDGE(); 879 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09665C; /* 0x2B096665: je 0x2b09665c */ 880 L_2B096667: 881 goto L_2B096682; /* 0x2B096667: jmp 0x2b096682 */ 882 L_2B096669: 883 edx = MEM32(eax + 0x4); /* 0x2B096669: mov edx, dword ptr [eax + 4] */ 884 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B09666C: cmp eax, dword ptr [edx + 8] */ 885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 887 _flag_k = FK_CMP; 888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09667B; /* 0x2B09666F: jne 0x2b09667b */ 889 L_2B096671: 890 eax = edx; /* 0x2B096671: mov eax, edx */ 891 edx = MEM32(edx + 0x4); /* 0x2B096673: mov edx, dword ptr [edx + 4] */ 892 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B096676: cmp eax, dword ptr [edx + 8] */ 893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 895 _flag_k = FK_CMP; 896 RECOMP_BACKEDGE(); 897 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096671; /* 0x2B096679: je 0x2b096671 */ 898 L_2B09667B: 899 /* cmp MEM32(eax + 0x8), edx */ /* 0x2B09667B: cmp dword ptr [eax + 8], edx */ 900 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(edx); 901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 902 _flag_k = FK_CMP; 903 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096682; /* 0x2B09667E: je 0x2b096682 */ 904 L_2B096680: 905 eax = edx; /* 0x2B096680: mov eax, edx */ 906 L_2B096682: 907 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B096682: cmp eax, dword ptr [ecx + 4] */ 908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 910 _flag_k = FK_CMP; 911 RECOMP_BACKEDGE(); 912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09663E; /* 0x2B096685: jne 0x2b09663e */ 913 L_2B096687: 914 esi = POP32_VAL(esp); /* 0x2B096687: pop esi */ 915 ebx = POP32_VAL(esp); /* 0x2B096688: pop ebx */ 916 L_2B096689: 917 ebp = POP32_VAL(esp); /* 0x2B096689: pop ebp */ 918 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09668A: ret 4 */ 919 RECOMP_REGS_OUT(); 920 } 921 922 void sub_2B096690(void) { 923 int _fpu_cmp = 0; 924 uint32_t _cf = 0; 925 int _df = 1; 926 uint32_t _flag_k = FK_NONE; 927 uint32_t _flag_a = 0, _flag_b = 0; 928 uint32_t _itail_tgt = 0; 929 RECOMP_REGS_LOCALS 930 RECOMP_ENTER(0x2B096690u); 931 932 L_2B096690: 933 PUSH32(esp, ebp); /* 0x2B096690: push ebp */ 934 ebp = esp; /* 0x2B096691: mov ebp, esp */ 935 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 937 esp = esp - 0xCu; /* 0x2B096693: sub esp, 0xc */ 938 _flag_k = FK_CMP; 939 PUSH32(esp, ebx); /* 0x2B096696: push ebx */ 940 ebx = ecx; /* 0x2B096697: mov ebx, ecx */ 941 eax = MEM32(ebx + 0x10); /* 0x2B096699: mov eax, dword ptr [ebx + 0x10] */ 942 /* test eax, eax */ /* 0x2B09669C: test eax, eax */ 943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 944 _cf = 0; 945 _flag_k = FK_TEST; 946 PUSH32(esp, esi); /* 0x2B09669E: push esi */ 947 PUSH32(esp, edi); /* 0x2B09669F: push edi */ 948 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09679B; /* 0x2B0966A0: je 0x2b09679b */ 949 L_2B0966A6: 950 esi = MEM32(0x2B0B53BC); /* 0x2B0966A6: mov esi, dword ptr [0x2b0b53bc] */ 951 RECOMP_ICALL(esi); /* 0x2B0966AC: call esi */ 952 RECOMP_FLAGS_IN(); 953 eax = MEM32(eax + 0x24); /* 0x2B0966AE: mov eax, dword ptr [eax + 0x24] */ 954 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B0966B1: cdq */ 955 ecx = 0x320u; /* 0x2B0966B2: mov ecx, 0x320 */ 956 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B0966B7: idiv ecx */ 957 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 958 else { eax = 0; edx = 0; } } 959 /* cmp edx, 0x190u */ /* 0x2B0966B9: cmp edx, 0x190 */ 960 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x190u); 961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 962 _flag_k = FK_CMP; 963 MEM32(ebp + (-0x4)) = edx; /* 0x2B0966BF: mov dword ptr [ebp - 4], edx */ 964 if (CMP_LE(_flag_a, _flag_b)) goto L_2B0966E7; /* 0x2B0966C2: jle 0x2b0966e7 */ 965 L_2B0966C4: 966 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFE70u); 967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 968 edx = edx + 0xFFFFFE70u; /* 0x2B0966C4: add edx, 0xfffffe70 */ 969 _flag_k = FK_ADD; 970 MEM32(ebp + (-0x4)) = edx; /* 0x2B0966CA: mov dword ptr [ebp - 4], edx */ 971 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B0966CD: fild dword ptr [ebp - 4] */ 972 _st[0] *= (double)*(float*)ADDR(0x2B0B7224); /* 0x2B0966D0: fmul dword ptr [0x2b0b7224] */ 973 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0966D6: call 0x2b0ab220 */ /* not lifted */ 974 RECOMP_FLAGS_IN(); 975 edi = 0x40u; /* 0x2B0966DB: mov edi, 0x40 */ 976 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 978 edi = edi - eax; /* 0x2B0966E0: sub edi, eax */ 979 _flag_k = FK_CMP; 980 MEM32(ebp + (-0x4)) = edi; /* 0x2B0966E2: mov dword ptr [ebp - 4], edi */ 981 goto L_2B09670D; /* 0x2B0966E5: jmp 0x2b09670d */ 982 L_2B0966E7: 983 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B0966E7: fild dword ptr [ebp - 4] */ 984 _st[0] *= (double)*(float*)ADDR(0x2B0B7220); /* 0x2B0966EA: fmul dword ptr [0x2b0b7220] */ 985 _st[0] = (double)*(float*)ADDR(0x2B0B63D0) - _st[0]; /* 0x2B0966F0: fsubr dword ptr [0x2b0b63d0] */ 986 _st[0] *= (double)*(float*)ADDR(0x2B0B6D14); /* 0x2B0966F6: fmul dword ptr [0x2b0b6d14] */ 987 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0966FC: call 0x2b0ab220 */ /* not lifted */ 988 RECOMP_FLAGS_IN(); 989 ecx = 0x40u; /* 0x2B096701: mov ecx, 0x40 */ 990 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 992 ecx = ecx - eax; /* 0x2B096706: sub ecx, eax */ 993 _flag_k = FK_CMP; 994 MEM32(ebp + (-0x4)) = ecx; /* 0x2B096708: mov dword ptr [ebp - 4], ecx */ 995 edi = ecx; /* 0x2B09670B: mov edi, ecx */ 996 L_2B09670D: 997 RECOMP_ICALL(esi); /* 0x2B09670D: call esi */ 998 RECOMP_FLAGS_IN(); 999 edx = MEM32(eax + 0x14); /* 0x2B09670F: mov edx, dword ptr [eax + 0x14] */ 1000 eax = MEM32(edx); /* 0x2B096712: mov eax, dword ptr [edx] */ 1001 MEM32(ebp + (-0x8)) = eax; /* 0x2B096714: mov dword ptr [ebp - 8], eax */ 1002 eax = MEM32(ebx + 0x4); /* 0x2B096717: mov eax, dword ptr [ebx + 4] */ 1003 esi = MEM32(eax); /* 0x2B09671A: mov esi, dword ptr [eax] */ 1004 /* cmp esi, eax */ /* 0x2B09671C: cmp esi, eax */ 1005 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1007 _flag_k = FK_CMP; 1008 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09679B; /* 0x2B09671E: je 0x2b09679b */ 1009 L_2B096720: 1010 edx = MEM32(ebp + (-0x8)); /* 0x2B096720: mov edx, dword ptr [ebp - 8] */ 1011 ecx = MEM32(esi + 0x10); /* 0x2B096723: mov ecx, dword ptr [esi + 0x10] */ 1012 PUSH32(esp, edi); /* 0x2B096726: push edi */ 1013 PUSH32(esp, edx); /* 0x2B096727: push edx */ 1014 RECOMP_ICALL(0x2B0968B0u); /* 0x2B096728: call 0x2b0968b0 */ /* not lifted */ 1015 RECOMP_FLAGS_IN(); 1016 /* test LO8(eax), LO8(eax) */ /* 0x2B09672D: test al, al */ 1017 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1018 _cf = 0; 1019 _flag_k = FK_NARROW(FK_TEST, 24); 1020 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09675B; /* 0x2B09672F: je 0x2b09675b */ 1021 L_2B096731: 1022 edi = MEM32(esi + 0x10); /* 0x2B096731: mov edi, dword ptr [esi + 0x10] */ 1023 /* test edi, edi */ /* 0x2B096734: test edi, edi */ 1024 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1025 _cf = 0; 1026 _flag_k = FK_TEST; 1027 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096748; /* 0x2B096736: je 0x2b096748 */ 1028 L_2B096738: 1029 ecx = edi; /* 0x2B096738: mov ecx, edi */ 1030 RECOMP_ICALL(0x2B096890u); /* 0x2B09673A: call 0x2b096890 */ /* not lifted */ 1031 RECOMP_FLAGS_IN(); 1032 PUSH32(esp, edi); /* 0x2B09673F: push edi */ 1033 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096740: call 0x2b0ab1ba */ /* not lifted */ 1034 RECOMP_FLAGS_IN(); 1035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1037 esp = esp + 4; /* 0x2B096745: add esp, 4 */ 1038 _flag_k = FK_ADD; 1039 L_2B096748: 1040 PUSH32(esp, esi); /* 0x2B096748: push esi */ 1041 eax = ebp + (-0xC); /* 0x2B096749: lea eax, [ebp - 0xc] */ 1042 PUSH32(esp, eax); /* 0x2B09674C: push eax */ 1043 ecx = ebx; /* 0x2B09674D: mov ecx, ebx */ 1044 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B09674F: call 0x2b06d4f0 */ /* not lifted */ 1045 RECOMP_FLAGS_IN(); 1046 esi = MEM32(eax); /* 0x2B096754: mov esi, dword ptr [eax] */ 1047 edi = MEM32(ebp + (-0x4)); /* 0x2B096756: mov edi, dword ptr [ebp - 4] */ 1048 goto L_2B096796; /* 0x2B096759: jmp 0x2b096796 */ 1049 L_2B09675B: 1050 eax = MEM32(esi + 0x8); /* 0x2B09675B: mov eax, dword ptr [esi + 8] */ 1051 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09675E: mov cl, byte ptr [eax + 0x15] */ 1052 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096761: test cl, cl */ 1053 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1054 _cf = 0; 1055 _flag_k = FK_NARROW(FK_TEST, 24); 1056 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09677D; /* 0x2B096763: jne 0x2b09677d */ 1057 L_2B096765: 1058 esi = eax; /* 0x2B096765: mov esi, eax */ 1059 eax = MEM32(esi); /* 0x2B096767: mov eax, dword ptr [esi] */ 1060 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096769: mov cl, byte ptr [eax + 0x15] */ 1061 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09676C: test cl, cl */ 1062 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1063 _cf = 0; 1064 _flag_k = FK_NARROW(FK_TEST, 24); 1065 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B09676E: jne 0x2b096796 */ 1066 L_2B096770: 1067 esi = eax; /* 0x2B096770: mov esi, eax */ 1068 eax = MEM32(esi); /* 0x2B096772: mov eax, dword ptr [esi] */ 1069 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096774: mov cl, byte ptr [eax + 0x15] */ 1070 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096777: test cl, cl */ 1071 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1072 _cf = 0; 1073 _flag_k = FK_NARROW(FK_TEST, 24); 1074 RECOMP_BACKEDGE(); 1075 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096770; /* 0x2B096779: je 0x2b096770 */ 1076 L_2B09677B: 1077 goto L_2B096796; /* 0x2B09677B: jmp 0x2b096796 */ 1078 L_2B09677D: 1079 eax = MEM32(esi + 0x4); /* 0x2B09677D: mov eax, dword ptr [esi + 4] */ 1080 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096780: cmp esi, dword ptr [eax + 8] */ 1081 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1083 _flag_k = FK_CMP; 1084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09678F; /* 0x2B096783: jne 0x2b09678f */ 1085 L_2B096785: 1086 esi = eax; /* 0x2B096785: mov esi, eax */ 1087 eax = MEM32(eax + 0x4); /* 0x2B096787: mov eax, dword ptr [eax + 4] */ 1088 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09678A: cmp esi, dword ptr [eax + 8] */ 1089 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1091 _flag_k = FK_CMP; 1092 RECOMP_BACKEDGE(); 1093 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096785; /* 0x2B09678D: je 0x2b096785 */ 1094 L_2B09678F: 1095 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B09678F: cmp dword ptr [esi + 8], eax */ 1096 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1098 _flag_k = FK_CMP; 1099 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B096792: je 0x2b096796 */ 1100 L_2B096794: 1101 esi = eax; /* 0x2B096794: mov esi, eax */ 1102 L_2B096796: 1103 /* cmp esi, MEM32(ebx + 0x4) */ /* 0x2B096796: cmp esi, dword ptr [ebx + 4] */ 1104 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 1105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1106 _flag_k = FK_CMP; 1107 RECOMP_BACKEDGE(); 1108 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096720; /* 0x2B096799: jne 0x2b096720 */ 1109 L_2B09679B: 1110 edi = POP32_VAL(esp); /* 0x2B09679B: pop edi */ 1111 esi = POP32_VAL(esp); /* 0x2B09679C: pop esi */ 1112 ebx = POP32_VAL(esp); /* 0x2B09679D: pop ebx */ 1113 esp = ebp; /* 0x2B09679E: mov esp, ebp */ 1114 ebp = POP32_VAL(esp); /* 0x2B0967A0: pop ebp */ 1115 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0967A1: ret */ 1116 RECOMP_REGS_OUT(); 1117 } 1118 1119 void sub_2B09670D(void) { 1120 int _fpu_cmp = 0; 1121 uint32_t _cf = 0; 1122 int _df = 1; 1123 uint32_t _flag_k = FK_NONE; 1124 uint32_t _flag_a = 0, _flag_b = 0; 1125 uint32_t _itail_tgt = 0; 1126 RECOMP_REGS_LOCALS 1127 RECOMP_ENTER(0x2B09670Du); 1128 1129 L_2B09670D: 1130 RECOMP_ICALL(esi); /* 0x2B09670D: call esi */ 1131 RECOMP_FLAGS_IN(); 1132 edx = MEM32(eax + 0x14); /* 0x2B09670F: mov edx, dword ptr [eax + 0x14] */ 1133 eax = MEM32(edx); /* 0x2B096712: mov eax, dword ptr [edx] */ 1134 MEM32(ebp + (-0x8)) = eax; /* 0x2B096714: mov dword ptr [ebp - 8], eax */ 1135 eax = MEM32(ebx + 0x4); /* 0x2B096717: mov eax, dword ptr [ebx + 4] */ 1136 esi = MEM32(eax); /* 0x2B09671A: mov esi, dword ptr [eax] */ 1137 /* cmp esi, eax */ /* 0x2B09671C: cmp esi, eax */ 1138 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1140 _flag_k = FK_CMP; 1141 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09679B; /* 0x2B09671E: je 0x2b09679b */ 1142 L_2B096720: 1143 edx = MEM32(ebp + (-0x8)); /* 0x2B096720: mov edx, dword ptr [ebp - 8] */ 1144 ecx = MEM32(esi + 0x10); /* 0x2B096723: mov ecx, dword ptr [esi + 0x10] */ 1145 PUSH32(esp, edi); /* 0x2B096726: push edi */ 1146 PUSH32(esp, edx); /* 0x2B096727: push edx */ 1147 RECOMP_ICALL(0x2B0968B0u); /* 0x2B096728: call 0x2b0968b0 */ /* not lifted */ 1148 RECOMP_FLAGS_IN(); 1149 /* test LO8(eax), LO8(eax) */ /* 0x2B09672D: test al, al */ 1150 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1151 _cf = 0; 1152 _flag_k = FK_NARROW(FK_TEST, 24); 1153 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09675B; /* 0x2B09672F: je 0x2b09675b */ 1154 L_2B096731: 1155 edi = MEM32(esi + 0x10); /* 0x2B096731: mov edi, dword ptr [esi + 0x10] */ 1156 /* test edi, edi */ /* 0x2B096734: test edi, edi */ 1157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1158 _cf = 0; 1159 _flag_k = FK_TEST; 1160 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096748; /* 0x2B096736: je 0x2b096748 */ 1161 L_2B096738: 1162 ecx = edi; /* 0x2B096738: mov ecx, edi */ 1163 RECOMP_ICALL(0x2B096890u); /* 0x2B09673A: call 0x2b096890 */ /* not lifted */ 1164 RECOMP_FLAGS_IN(); 1165 PUSH32(esp, edi); /* 0x2B09673F: push edi */ 1166 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096740: call 0x2b0ab1ba */ /* not lifted */ 1167 RECOMP_FLAGS_IN(); 1168 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1170 esp = esp + 4; /* 0x2B096745: add esp, 4 */ 1171 _flag_k = FK_ADD; 1172 L_2B096748: 1173 PUSH32(esp, esi); /* 0x2B096748: push esi */ 1174 eax = ebp + (-0xC); /* 0x2B096749: lea eax, [ebp - 0xc] */ 1175 PUSH32(esp, eax); /* 0x2B09674C: push eax */ 1176 ecx = ebx; /* 0x2B09674D: mov ecx, ebx */ 1177 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B09674F: call 0x2b06d4f0 */ /* not lifted */ 1178 RECOMP_FLAGS_IN(); 1179 esi = MEM32(eax); /* 0x2B096754: mov esi, dword ptr [eax] */ 1180 edi = MEM32(ebp + (-0x4)); /* 0x2B096756: mov edi, dword ptr [ebp - 4] */ 1181 goto L_2B096796; /* 0x2B096759: jmp 0x2b096796 */ 1182 L_2B09675B: 1183 eax = MEM32(esi + 0x8); /* 0x2B09675B: mov eax, dword ptr [esi + 8] */ 1184 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09675E: mov cl, byte ptr [eax + 0x15] */ 1185 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096761: test cl, cl */ 1186 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1187 _cf = 0; 1188 _flag_k = FK_NARROW(FK_TEST, 24); 1189 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09677D; /* 0x2B096763: jne 0x2b09677d */ 1190 L_2B096765: 1191 esi = eax; /* 0x2B096765: mov esi, eax */ 1192 eax = MEM32(esi); /* 0x2B096767: mov eax, dword ptr [esi] */ 1193 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096769: mov cl, byte ptr [eax + 0x15] */ 1194 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09676C: test cl, cl */ 1195 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1196 _cf = 0; 1197 _flag_k = FK_NARROW(FK_TEST, 24); 1198 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B09676E: jne 0x2b096796 */ 1199 L_2B096770: 1200 esi = eax; /* 0x2B096770: mov esi, eax */ 1201 eax = MEM32(esi); /* 0x2B096772: mov eax, dword ptr [esi] */ 1202 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096774: mov cl, byte ptr [eax + 0x15] */ 1203 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096777: test cl, cl */ 1204 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1205 _cf = 0; 1206 _flag_k = FK_NARROW(FK_TEST, 24); 1207 RECOMP_BACKEDGE(); 1208 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096770; /* 0x2B096779: je 0x2b096770 */ 1209 L_2B09677B: 1210 goto L_2B096796; /* 0x2B09677B: jmp 0x2b096796 */ 1211 L_2B09677D: 1212 eax = MEM32(esi + 0x4); /* 0x2B09677D: mov eax, dword ptr [esi + 4] */ 1213 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096780: cmp esi, dword ptr [eax + 8] */ 1214 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1216 _flag_k = FK_CMP; 1217 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09678F; /* 0x2B096783: jne 0x2b09678f */ 1218 L_2B096785: 1219 esi = eax; /* 0x2B096785: mov esi, eax */ 1220 eax = MEM32(eax + 0x4); /* 0x2B096787: mov eax, dword ptr [eax + 4] */ 1221 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09678A: cmp esi, dword ptr [eax + 8] */ 1222 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1224 _flag_k = FK_CMP; 1225 RECOMP_BACKEDGE(); 1226 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096785; /* 0x2B09678D: je 0x2b096785 */ 1227 L_2B09678F: 1228 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B09678F: cmp dword ptr [esi + 8], eax */ 1229 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1231 _flag_k = FK_CMP; 1232 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B096792: je 0x2b096796 */ 1233 L_2B096794: 1234 esi = eax; /* 0x2B096794: mov esi, eax */ 1235 L_2B096796: 1236 /* cmp esi, MEM32(ebx + 0x4) */ /* 0x2B096796: cmp esi, dword ptr [ebx + 4] */ 1237 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 1238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1239 _flag_k = FK_CMP; 1240 RECOMP_BACKEDGE(); 1241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096720; /* 0x2B096799: jne 0x2b096720 */ 1242 L_2B09679B: 1243 edi = POP32_VAL(esp); /* 0x2B09679B: pop edi */ 1244 esi = POP32_VAL(esp); /* 0x2B09679C: pop esi */ 1245 ebx = POP32_VAL(esp); /* 0x2B09679D: pop ebx */ 1246 esp = ebp; /* 0x2B09679E: mov esp, ebp */ 1247 ebp = POP32_VAL(esp); /* 0x2B0967A0: pop ebp */ 1248 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0967A1: ret */ 1249 RECOMP_REGS_OUT(); 1250 } 1251 1252 void sub_2B096720(void) { 1253 int _fpu_cmp = 0; 1254 uint32_t _cf = 0; 1255 int _df = 1; 1256 uint32_t _flag_k = FK_NONE; 1257 uint32_t _flag_a = 0, _flag_b = 0; 1258 uint32_t _itail_tgt = 0; 1259 RECOMP_REGS_LOCALS 1260 RECOMP_ENTER(0x2B096720u); 1261 1262 L_2B096720: 1263 edx = MEM32(ebp + (-0x8)); /* 0x2B096720: mov edx, dword ptr [ebp - 8] */ 1264 ecx = MEM32(esi + 0x10); /* 0x2B096723: mov ecx, dword ptr [esi + 0x10] */ 1265 PUSH32(esp, edi); /* 0x2B096726: push edi */ 1266 PUSH32(esp, edx); /* 0x2B096727: push edx */ 1267 RECOMP_ICALL(0x2B0968B0u); /* 0x2B096728: call 0x2b0968b0 */ /* not lifted */ 1268 RECOMP_FLAGS_IN(); 1269 /* test LO8(eax), LO8(eax) */ /* 0x2B09672D: test al, al */ 1270 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1271 _cf = 0; 1272 _flag_k = FK_NARROW(FK_TEST, 24); 1273 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09675B; /* 0x2B09672F: je 0x2b09675b */ 1274 L_2B096731: 1275 edi = MEM32(esi + 0x10); /* 0x2B096731: mov edi, dword ptr [esi + 0x10] */ 1276 /* test edi, edi */ /* 0x2B096734: test edi, edi */ 1277 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1278 _cf = 0; 1279 _flag_k = FK_TEST; 1280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096748; /* 0x2B096736: je 0x2b096748 */ 1281 L_2B096738: 1282 ecx = edi; /* 0x2B096738: mov ecx, edi */ 1283 RECOMP_ICALL(0x2B096890u); /* 0x2B09673A: call 0x2b096890 */ /* not lifted */ 1284 RECOMP_FLAGS_IN(); 1285 PUSH32(esp, edi); /* 0x2B09673F: push edi */ 1286 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096740: call 0x2b0ab1ba */ /* not lifted */ 1287 RECOMP_FLAGS_IN(); 1288 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1290 esp = esp + 4; /* 0x2B096745: add esp, 4 */ 1291 _flag_k = FK_ADD; 1292 L_2B096748: 1293 PUSH32(esp, esi); /* 0x2B096748: push esi */ 1294 eax = ebp + (-0xC); /* 0x2B096749: lea eax, [ebp - 0xc] */ 1295 PUSH32(esp, eax); /* 0x2B09674C: push eax */ 1296 ecx = ebx; /* 0x2B09674D: mov ecx, ebx */ 1297 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B09674F: call 0x2b06d4f0 */ /* not lifted */ 1298 RECOMP_FLAGS_IN(); 1299 esi = MEM32(eax); /* 0x2B096754: mov esi, dword ptr [eax] */ 1300 edi = MEM32(ebp + (-0x4)); /* 0x2B096756: mov edi, dword ptr [ebp - 4] */ 1301 goto L_2B096796; /* 0x2B096759: jmp 0x2b096796 */ 1302 L_2B09675B: 1303 eax = MEM32(esi + 0x8); /* 0x2B09675B: mov eax, dword ptr [esi + 8] */ 1304 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09675E: mov cl, byte ptr [eax + 0x15] */ 1305 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096761: test cl, cl */ 1306 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1307 _cf = 0; 1308 _flag_k = FK_NARROW(FK_TEST, 24); 1309 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09677D; /* 0x2B096763: jne 0x2b09677d */ 1310 L_2B096765: 1311 esi = eax; /* 0x2B096765: mov esi, eax */ 1312 eax = MEM32(esi); /* 0x2B096767: mov eax, dword ptr [esi] */ 1313 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096769: mov cl, byte ptr [eax + 0x15] */ 1314 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09676C: test cl, cl */ 1315 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1316 _cf = 0; 1317 _flag_k = FK_NARROW(FK_TEST, 24); 1318 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B09676E: jne 0x2b096796 */ 1319 L_2B096770: 1320 esi = eax; /* 0x2B096770: mov esi, eax */ 1321 eax = MEM32(esi); /* 0x2B096772: mov eax, dword ptr [esi] */ 1322 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096774: mov cl, byte ptr [eax + 0x15] */ 1323 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096777: test cl, cl */ 1324 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1325 _cf = 0; 1326 _flag_k = FK_NARROW(FK_TEST, 24); 1327 RECOMP_BACKEDGE(); 1328 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096770; /* 0x2B096779: je 0x2b096770 */ 1329 L_2B09677B: 1330 goto L_2B096796; /* 0x2B09677B: jmp 0x2b096796 */ 1331 L_2B09677D: 1332 eax = MEM32(esi + 0x4); /* 0x2B09677D: mov eax, dword ptr [esi + 4] */ 1333 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096780: cmp esi, dword ptr [eax + 8] */ 1334 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1336 _flag_k = FK_CMP; 1337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09678F; /* 0x2B096783: jne 0x2b09678f */ 1338 L_2B096785: 1339 esi = eax; /* 0x2B096785: mov esi, eax */ 1340 eax = MEM32(eax + 0x4); /* 0x2B096787: mov eax, dword ptr [eax + 4] */ 1341 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09678A: cmp esi, dword ptr [eax + 8] */ 1342 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1344 _flag_k = FK_CMP; 1345 RECOMP_BACKEDGE(); 1346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096785; /* 0x2B09678D: je 0x2b096785 */ 1347 L_2B09678F: 1348 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B09678F: cmp dword ptr [esi + 8], eax */ 1349 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1351 _flag_k = FK_CMP; 1352 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B096792: je 0x2b096796 */ 1353 L_2B096794: 1354 esi = eax; /* 0x2B096794: mov esi, eax */ 1355 L_2B096796: 1356 /* cmp esi, MEM32(ebx + 0x4) */ /* 0x2B096796: cmp esi, dword ptr [ebx + 4] */ 1357 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 1358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1359 _flag_k = FK_CMP; 1360 RECOMP_BACKEDGE(); 1361 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096720; /* 0x2B096799: jne 0x2b096720 */ 1362 L_2B09679B: 1363 edi = POP32_VAL(esp); /* 0x2B09679B: pop edi */ 1364 esi = POP32_VAL(esp); /* 0x2B09679C: pop esi */ 1365 ebx = POP32_VAL(esp); /* 0x2B09679D: pop ebx */ 1366 esp = ebp; /* 0x2B09679E: mov esp, ebp */ 1367 ebp = POP32_VAL(esp); /* 0x2B0967A0: pop ebp */ 1368 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0967A1: ret */ 1369 RECOMP_REGS_OUT(); 1370 } 1371 1372 void sub_2B096796(void) { 1373 int _fpu_cmp = 0; 1374 uint32_t _cf = 0; 1375 int _df = 1; 1376 uint32_t _flag_k = FK_NONE; 1377 uint32_t _flag_a = 0, _flag_b = 0; 1378 uint32_t _itail_tgt = 0; 1379 RECOMP_REGS_LOCALS 1380 RECOMP_ENTER(0x2B096796u); 1381 1382 goto L_2B096796; 1383 L_2B096720: 1384 edx = MEM32(ebp + (-0x8)); /* 0x2B096720: mov edx, dword ptr [ebp - 8] */ 1385 ecx = MEM32(esi + 0x10); /* 0x2B096723: mov ecx, dword ptr [esi + 0x10] */ 1386 PUSH32(esp, edi); /* 0x2B096726: push edi */ 1387 PUSH32(esp, edx); /* 0x2B096727: push edx */ 1388 RECOMP_ICALL(0x2B0968B0u); /* 0x2B096728: call 0x2b0968b0 */ /* not lifted */ 1389 RECOMP_FLAGS_IN(); 1390 /* test LO8(eax), LO8(eax) */ /* 0x2B09672D: test al, al */ 1391 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1392 _cf = 0; 1393 _flag_k = FK_NARROW(FK_TEST, 24); 1394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09675B; /* 0x2B09672F: je 0x2b09675b */ 1395 L_2B096731: 1396 edi = MEM32(esi + 0x10); /* 0x2B096731: mov edi, dword ptr [esi + 0x10] */ 1397 /* test edi, edi */ /* 0x2B096734: test edi, edi */ 1398 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1399 _cf = 0; 1400 _flag_k = FK_TEST; 1401 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096748; /* 0x2B096736: je 0x2b096748 */ 1402 L_2B096738: 1403 ecx = edi; /* 0x2B096738: mov ecx, edi */ 1404 RECOMP_ICALL(0x2B096890u); /* 0x2B09673A: call 0x2b096890 */ /* not lifted */ 1405 RECOMP_FLAGS_IN(); 1406 PUSH32(esp, edi); /* 0x2B09673F: push edi */ 1407 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096740: call 0x2b0ab1ba */ /* not lifted */ 1408 RECOMP_FLAGS_IN(); 1409 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1410 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1411 esp = esp + 4; /* 0x2B096745: add esp, 4 */ 1412 _flag_k = FK_ADD; 1413 L_2B096748: 1414 PUSH32(esp, esi); /* 0x2B096748: push esi */ 1415 eax = ebp + (-0xC); /* 0x2B096749: lea eax, [ebp - 0xc] */ 1416 PUSH32(esp, eax); /* 0x2B09674C: push eax */ 1417 ecx = ebx; /* 0x2B09674D: mov ecx, ebx */ 1418 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B09674F: call 0x2b06d4f0 */ /* not lifted */ 1419 RECOMP_FLAGS_IN(); 1420 esi = MEM32(eax); /* 0x2B096754: mov esi, dword ptr [eax] */ 1421 edi = MEM32(ebp + (-0x4)); /* 0x2B096756: mov edi, dword ptr [ebp - 4] */ 1422 goto L_2B096796; /* 0x2B096759: jmp 0x2b096796 */ 1423 L_2B09675B: 1424 eax = MEM32(esi + 0x8); /* 0x2B09675B: mov eax, dword ptr [esi + 8] */ 1425 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09675E: mov cl, byte ptr [eax + 0x15] */ 1426 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096761: test cl, cl */ 1427 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1428 _cf = 0; 1429 _flag_k = FK_NARROW(FK_TEST, 24); 1430 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09677D; /* 0x2B096763: jne 0x2b09677d */ 1431 L_2B096765: 1432 esi = eax; /* 0x2B096765: mov esi, eax */ 1433 eax = MEM32(esi); /* 0x2B096767: mov eax, dword ptr [esi] */ 1434 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096769: mov cl, byte ptr [eax + 0x15] */ 1435 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09676C: test cl, cl */ 1436 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1437 _cf = 0; 1438 _flag_k = FK_NARROW(FK_TEST, 24); 1439 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B09676E: jne 0x2b096796 */ 1440 L_2B096770: 1441 esi = eax; /* 0x2B096770: mov esi, eax */ 1442 eax = MEM32(esi); /* 0x2B096772: mov eax, dword ptr [esi] */ 1443 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096774: mov cl, byte ptr [eax + 0x15] */ 1444 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096777: test cl, cl */ 1445 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1446 _cf = 0; 1447 _flag_k = FK_NARROW(FK_TEST, 24); 1448 RECOMP_BACKEDGE(); 1449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096770; /* 0x2B096779: je 0x2b096770 */ 1450 L_2B09677B: 1451 goto L_2B096796; /* 0x2B09677B: jmp 0x2b096796 */ 1452 L_2B09677D: 1453 eax = MEM32(esi + 0x4); /* 0x2B09677D: mov eax, dword ptr [esi + 4] */ 1454 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096780: cmp esi, dword ptr [eax + 8] */ 1455 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1457 _flag_k = FK_CMP; 1458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09678F; /* 0x2B096783: jne 0x2b09678f */ 1459 L_2B096785: 1460 esi = eax; /* 0x2B096785: mov esi, eax */ 1461 eax = MEM32(eax + 0x4); /* 0x2B096787: mov eax, dword ptr [eax + 4] */ 1462 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09678A: cmp esi, dword ptr [eax + 8] */ 1463 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1465 _flag_k = FK_CMP; 1466 RECOMP_BACKEDGE(); 1467 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096785; /* 0x2B09678D: je 0x2b096785 */ 1468 L_2B09678F: 1469 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B09678F: cmp dword ptr [esi + 8], eax */ 1470 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1472 _flag_k = FK_CMP; 1473 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B096792: je 0x2b096796 */ 1474 L_2B096794: 1475 esi = eax; /* 0x2B096794: mov esi, eax */ 1476 L_2B096796: 1477 /* cmp esi, MEM32(ebx + 0x4) */ /* 0x2B096796: cmp esi, dword ptr [ebx + 4] */ 1478 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 1479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1480 _flag_k = FK_CMP; 1481 RECOMP_BACKEDGE(); 1482 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096720; /* 0x2B096799: jne 0x2b096720 */ 1483 L_2B09679B: 1484 edi = POP32_VAL(esp); /* 0x2B09679B: pop edi */ 1485 esi = POP32_VAL(esp); /* 0x2B09679C: pop esi */ 1486 ebx = POP32_VAL(esp); /* 0x2B09679D: pop ebx */ 1487 esp = ebp; /* 0x2B09679E: mov esp, ebp */ 1488 ebp = POP32_VAL(esp); /* 0x2B0967A0: pop ebp */ 1489 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0967A1: ret */ 1490 RECOMP_REGS_OUT(); 1491 } 1492 1493 void sub_2B0967B0(void) { 1494 int _fpu_cmp = 0; 1495 uint32_t _cf = 0; 1496 int _df = 1; 1497 uint32_t _flag_k = FK_NONE; 1498 uint32_t _flag_a = 0, _flag_b = 0; 1499 uint32_t _itail_tgt = 0; 1500 RECOMP_REGS_LOCALS 1501 RECOMP_ENTER(0x2B0967B0u); 1502 1503 L_2B0967B0: 1504 PUSH32(esp, ebp); /* 0x2B0967B0: push ebp */ 1505 ebp = esp; /* 0x2B0967B1: mov ebp, esp */ 1506 eax = MEM32(FS_BASE + (0)); /* 0x2B0967B3: mov eax, dword ptr fs:[0] */ 1507 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0967B9: push -1 */ 1508 PUSH32(esp, 0x2B0B3116u); /* 0x2B0967BB: push 0x2b0b3116 */ 1509 PUSH32(esp, eax); /* 0x2B0967C0: push eax */ 1510 eax = MEM32(ebp + 0x8); /* 0x2B0967C1: mov eax, dword ptr [ebp + 8] */ 1511 MEM32(FS_BASE + (0)) = esp; /* 0x2B0967C4: mov dword ptr fs:[0], esp */ 1512 PUSH32(esp, esi); /* 0x2B0967CB: push esi */ 1513 esi = ecx; /* 0x2B0967CC: mov esi, ecx */ 1514 MEM32(esi) = eax; /* 0x2B0967CE: mov dword ptr [esi], eax */ 1515 MEM32(esi + 0x8) = 0; /* 0x2B0967D0: mov dword ptr [esi + 8], 0 */ 1516 MEM32(esi + 0x4) = 0x47C35000u; /* 0x2B0967D7: mov dword ptr [esi + 4], 0x47c35000 */ 1517 ecx = MEM32(0x2B0B5A88); /* 0x2B0967DE: mov ecx, dword ptr [0x2b0b5a88] */ 1518 /* cmp MEM32(ecx), 0 */ /* 0x2B0967E4: cmp dword ptr [ecx], 0 */ 1519 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(0); 1520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1521 _flag_k = FK_CMP; 1522 PUSH32(esp, edi); /* 0x2B0967E7: push edi */ 1523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09681D; /* 0x2B0967E8: jne 0x2b09681d */ 1524 L_2B0967EA: 1525 PUSH32(esp, 8); /* 0x2B0967EA: push 8 */ 1526 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0967EC: call 0x2b0ab212 */ /* not lifted */ 1527 RECOMP_FLAGS_IN(); 1528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1530 esp = esp + 4; /* 0x2B0967F1: add esp, 4 */ 1531 _flag_k = FK_ADD; 1532 MEM32(ebp + 0x8) = eax; /* 0x2B0967F4: mov dword ptr [ebp + 8], eax */ 1533 /* test eax, eax */ /* 0x2B0967F7: test eax, eax */ 1534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1535 _cf = 0; 1536 _flag_k = FK_TEST; 1537 MEM32(ebp + (-0x4)) = 0; /* 0x2B0967F9: mov dword ptr [ebp - 4], 0 */ 1538 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09680C; /* 0x2B096800: je 0x2b09680c */ 1539 L_2B096802: 1540 ecx = eax; /* 0x2B096802: mov ecx, eax */ 1541 RECOMP_ICALL(MEM32(0x2B0B5A84)); /* 0x2B096804: call dword ptr [0x2b0b5a84] */ 1542 RECOMP_FLAGS_IN(); 1543 goto L_2B09680E; /* 0x2B09680A: jmp 0x2b09680e */ 1544 L_2B09680C: 1545 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1546 eax = 0; /* 0x2B09680C: xor eax, eax */ 1547 _cf = 0; 1548 _flag_k = FK_TEST; 1549 L_2B09680E: 1550 edx = MEM32(0x2B0B5A88); /* 0x2B09680E: mov edx, dword ptr [0x2b0b5a88] */ 1551 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B096814: mov dword ptr [ebp - 4], 0xffffffff */ 1552 MEM32(edx) = eax; /* 0x2B09681B: mov dword ptr [edx], eax */ 1553 L_2B09681D: 1554 eax = MEM32(0x2B0B5A88); /* 0x2B09681D: mov eax, dword ptr [0x2b0b5a88] */ 1555 edx = MEM32(esi); /* 0x2B096822: mov edx, dword ptr [esi] */ 1556 ecx = MEM32(eax); /* 0x2B096824: mov ecx, dword ptr [eax] */ 1557 PUSH32(esp, edx); /* 0x2B096826: push edx */ 1558 RECOMP_ICALL(MEM32(0x2B0B5804)); /* 0x2B096827: call dword ptr [0x2b0b5804] */ 1559 RECOMP_FLAGS_IN(); 1560 edi = eax; /* 0x2B09682D: mov edi, eax */ 1561 /* test edi, edi */ /* 0x2B09682F: test edi, edi */ 1562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1563 _cf = 0; 1564 _flag_k = FK_TEST; 1565 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096875; /* 0x2B096831: je 0x2b096875 */ 1566 L_2B096833: 1567 PUSH32(esp, 0x14u); /* 0x2B096833: push 0x14 */ 1568 RECOMP_ICALL(0x2B0AB212u); /* 0x2B096835: call 0x2b0ab212 */ /* not lifted */ 1569 RECOMP_FLAGS_IN(); 1570 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1571 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1572 esp = esp + 4; /* 0x2B09683A: add esp, 4 */ 1573 _flag_k = FK_ADD; 1574 MEM32(ebp + 0x8) = eax; /* 0x2B09683D: mov dword ptr [ebp + 8], eax */ 1575 /* test eax, eax */ /* 0x2B096840: test eax, eax */ 1576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1577 _cf = 0; 1578 _flag_k = FK_TEST; 1579 MEM32(ebp + (-0x4)) = 1; /* 0x2B096842: mov dword ptr [ebp - 4], 1 */ 1580 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09685C; /* 0x2B096849: je 0x2b09685c */ 1581 L_2B09684B: 1582 edi = MEM32(edi + 0x4); /* 0x2B09684B: mov edi, dword ptr [edi + 4] */ 1583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xAu); 1584 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1585 edi = edi + 0xAu; /* 0x2B09684E: add edi, 0xa */ 1586 _flag_k = FK_ADD; 1587 PUSH32(esp, edi); /* 0x2B096851: push edi */ 1588 ecx = eax; /* 0x2B096852: mov ecx, eax */ 1589 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B096854: call dword ptr [0x2b0b5b10] */ 1590 RECOMP_FLAGS_IN(); 1591 goto L_2B09685E; /* 0x2B09685A: jmp 0x2b09685e */ 1592 L_2B09685C: 1593 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1594 eax = 0; /* 0x2B09685C: xor eax, eax */ 1595 _cf = 0; 1596 _flag_k = FK_TEST; 1597 L_2B09685E: 1598 PUSH32(esp, 0xFF00u); /* 0x2B09685E: push 0xff00 */ 1599 ecx = eax; /* 0x2B096863: mov ecx, eax */ 1600 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B096865: mov dword ptr [ebp - 4], 0xffffffff */ 1601 MEM32(esi + 0x8) = eax; /* 0x2B09686C: mov dword ptr [esi + 8], eax */ 1602 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B09686F: call dword ptr [0x2b0b5b0c] */ 1603 RECOMP_FLAGS_IN(); 1604 L_2B096875: 1605 ecx = MEM32(ebp + (-0xC)); /* 0x2B096875: mov ecx, dword ptr [ebp - 0xc] */ 1606 edi = POP32_VAL(esp); /* 0x2B096878: pop edi */ 1607 eax = esi; /* 0x2B096879: mov eax, esi */ 1608 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09687B: mov dword ptr fs:[0], ecx */ 1609 esi = POP32_VAL(esp); /* 0x2B096882: pop esi */ 1610 esp = ebp; /* 0x2B096883: mov esp, ebp */ 1611 ebp = POP32_VAL(esp); /* 0x2B096885: pop ebp */ 1612 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096886: ret 4 */ 1613 RECOMP_REGS_OUT(); 1614 } 1615 1616 void sub_2B096890(void) { 1617 int _fpu_cmp = 0; 1618 uint32_t _cf = 0; 1619 int _df = 1; 1620 uint32_t _flag_k = FK_NONE; 1621 uint32_t _flag_a = 0, _flag_b = 0; 1622 uint32_t _itail_tgt = 0; 1623 RECOMP_REGS_LOCALS 1624 RECOMP_ENTER(0x2B096890u); 1625 1626 L_2B096890: 1627 PUSH32(esp, esi); /* 0x2B096890: push esi */ 1628 esi = MEM32(ecx + 0x8); /* 0x2B096891: mov esi, dword ptr [ecx + 8] */ 1629 /* test esi, esi */ /* 0x2B096894: test esi, esi */ 1630 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1631 _cf = 0; 1632 _flag_k = FK_TEST; 1633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0968A9; /* 0x2B096896: je 0x2b0968a9 */ 1634 L_2B096898: 1635 ecx = esi; /* 0x2B096898: mov ecx, esi */ 1636 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B09689A: call dword ptr [0x2b0b5b2c] */ 1637 RECOMP_FLAGS_IN(); 1638 PUSH32(esp, esi); /* 0x2B0968A0: push esi */ 1639 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0968A1: call 0x2b0ab1ba */ /* not lifted */ 1640 RECOMP_FLAGS_IN(); 1641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1643 esp = esp + 4; /* 0x2B0968A6: add esp, 4 */ 1644 _flag_k = FK_ADD; 1645 L_2B0968A9: 1646 esi = POP32_VAL(esp); /* 0x2B0968A9: pop esi */ 1647 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0968AA: ret */ 1648 RECOMP_REGS_OUT(); 1649 } 1650 1651 void sub_2B0968B0(void) { 1652 int _fpu_cmp = 0; 1653 uint32_t _cf = 0; 1654 int _df = 1; 1655 uint32_t _flag_k = FK_NONE; 1656 uint32_t _flag_a = 0, _flag_b = 0; 1657 uint32_t _itail_tgt = 0; 1658 RECOMP_REGS_LOCALS 1659 RECOMP_ENTER(0x2B0968B0u); 1660 1661 L_2B0968B0: 1662 PUSH32(esp, ebp); /* 0x2B0968B0: push ebp */ 1663 ebp = esp; /* 0x2B0968B1: mov ebp, esp */ 1664 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1666 esp = esp - 0x14u; /* 0x2B0968B3: sub esp, 0x14 */ 1667 _flag_k = FK_CMP; 1668 PUSH32(esp, ebx); /* 0x2B0968B6: push ebx */ 1669 ebx = ecx; /* 0x2B0968B7: mov ebx, ecx */ 1670 eax = MEM32(ebx); /* 0x2B0968B9: mov eax, dword ptr [ebx] */ 1671 PUSH32(esp, eax); /* 0x2B0968BB: push eax */ 1672 RECOMP_ICALL(MEM32(0x2B0B5928)); /* 0x2B0968BC: call dword ptr [0x2b0b5928] */ 1673 RECOMP_FLAGS_IN(); 1674 ecx = eax; /* 0x2B0968C2: mov ecx, eax */ 1675 RECOMP_ICALL(MEM32(0x2B0B5804)); /* 0x2B0968C4: call dword ptr [0x2b0b5804] */ 1676 RECOMP_FLAGS_IN(); 1677 edx = eax; /* 0x2B0968CA: mov edx, eax */ 1678 /* test edx, edx */ /* 0x2B0968CC: test edx, edx */ 1679 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1680 _cf = 0; 1681 _flag_k = FK_TEST; 1682 MEM32(ebp + (-0x4)) = edx; /* 0x2B0968CE: mov dword ptr [ebp - 4], edx */ 1683 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096961; /* 0x2B0968D1: je 0x2b096961 */ 1684 L_2B0968D7: 1685 fp_push(*(float*)&MEM32(ebx + 0x4)); /* 0x2B0968D7: fld dword ptr [ebx + 4] */ 1686 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B0968DA: fcomp dword ptr [0x2b0b61b8] */ 1687 fp_pop(); 1688 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B0968E0: fnstsw ax */ 1689 /* test HI8(eax), 1 */ /* 0x2B0968E2: test ah, 1 */ 1690 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1691 _cf = 0; 1692 _flag_k = FK_NARROW(FK_TEST, 24); 1693 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096961; /* 0x2B0968E5: jne 0x2b096961 */ 1694 L_2B0968E7: 1695 ecx = MEM32(ebx + 0x8); /* 0x2B0968E7: mov ecx, dword ptr [ebx + 8] */ 1696 /* test ecx, ecx */ /* 0x2B0968EA: test ecx, ecx */ 1697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1698 _cf = 0; 1699 _flag_k = FK_TEST; 1700 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09694F; /* 0x2B0968EC: je 0x2b09694f */ 1701 L_2B0968EE: 1702 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x2Cu); 1703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1704 edx = edx + 0x2Cu; /* 0x2B0968EE: add edx, 0x2c */ 1705 _flag_k = FK_ADD; 1706 PUSH32(esp, esi); /* 0x2B0968F1: push esi */ 1707 esi = MEM32(edx); /* 0x2B0968F2: mov esi, dword ptr [edx] */ 1708 PUSH32(esp, edi); /* 0x2B0968F4: push edi */ 1709 edi = MEM32(edx + 0x4); /* 0x2B0968F5: mov edi, dword ptr [edx + 4] */ 1710 eax = MEM32(edx + 0x8); /* 0x2B0968F8: mov eax, dword ptr [edx + 8] */ 1711 edx = MEM32(edx + 0xC); /* 0x2B0968FB: mov edx, dword ptr [edx + 0xc] */ 1712 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1714 edx = edx - edi; /* 0x2B0968FE: sub edx, edi */ 1715 _flag_k = FK_CMP; 1716 MEM32(ebp + (-0x8)) = edx; /* 0x2B096900: mov dword ptr [ebp - 8], edx */ 1717 edx = ebp + (-0xC); /* 0x2B096903: lea edx, [ebp - 0xc] */ 1718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1720 eax = eax - esi; /* 0x2B096906: sub eax, esi */ 1721 _flag_k = FK_CMP; 1722 PUSH32(esp, edx); /* 0x2B096908: push edx */ 1723 MEM32(ebp + (-0xC)) = eax; /* 0x2B096909: mov dword ptr [ebp - 0xc], eax */ 1724 MEM32(ebp + (-0x14)) = esi; /* 0x2B09690C: mov dword ptr [ebp - 0x14], esi */ 1725 MEM32(ebp + (-0x10)) = edi; /* 0x2B09690F: mov dword ptr [ebp - 0x10], edi */ 1726 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B096912: call dword ptr [0x2b0b5b04] */ 1727 RECOMP_FLAGS_IN(); 1728 ecx = MEM32(ebx + 0x8); /* 0x2B096918: mov ecx, dword ptr [ebx + 8] */ 1729 eax = ebp + (-0x14); /* 0x2B09691B: lea eax, [ebp - 0x14] */ 1730 PUSH32(esp, eax); /* 0x2B09691E: push eax */ 1731 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B09691F: call dword ptr [0x2b0b5b00] */ 1732 RECOMP_FLAGS_IN(); 1733 ecx = MEM32(ebp + (-0x4)); /* 0x2B096925: mov ecx, dword ptr [ebp - 4] */ 1734 SET_LO8(eax, MEM8(ecx + 0x8)); /* 0x2B096928: mov al, byte ptr [ecx + 8] */ 1735 /* test LO8(eax), LO8(eax) */ /* 0x2B09692B: test al, al */ 1736 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1737 _cf = 0; 1738 _flag_k = FK_NARROW(FK_TEST, 24); 1739 ecx = MEM32(ebx + 0x8); /* 0x2B09692D: mov ecx, dword ptr [ebx + 8] */ 1740 edi = POP32_VAL(esp); /* 0x2B096930: pop edi */ 1741 esi = POP32_VAL(esp); /* 0x2B096931: pop esi */ 1742 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09693C; /* 0x2B096932: je 0x2b09693c */ 1743 L_2B096934: 1744 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B096934: call dword ptr [0x2b0b5b40] */ 1745 RECOMP_FLAGS_IN(); 1746 goto L_2B096942; /* 0x2B09693A: jmp 0x2b096942 */ 1747 L_2B09693C: 1748 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B09693C: call dword ptr [0x2b0b5b38] */ 1749 RECOMP_FLAGS_IN(); 1750 L_2B096942: 1751 edx = MEM32(ebp + 0xC); /* 0x2B096942: mov edx, dword ptr [ebp + 0xc] */ 1752 ecx = MEM32(ebx + 0x8); /* 0x2B096945: mov ecx, dword ptr [ebx + 8] */ 1753 PUSH32(esp, edx); /* 0x2B096948: push edx */ 1754 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B096949: call dword ptr [0x2b0b5b08] */ 1755 RECOMP_FLAGS_IN(); 1756 L_2B09694F: 1757 fp_push(*(float*)&MEM32(ebx + 0x4)); /* 0x2B09694F: fld dword ptr [ebx + 4] */ 1758 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 1759 SET_LO8(eax, 0); /* 0x2B096952: xor al, al */ 1760 _cf = 0; 1761 _flag_k = FK_NARROW(FK_TEST, 24); 1762 _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2B096954: fsub dword ptr [ebp + 8] */ 1763 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x4) = _v; } /* 0x2B096957: fstp dword ptr [ebx + 4] */ 1764 ebx = POP32_VAL(esp); /* 0x2B09695A: pop ebx */ 1765 esp = ebp; /* 0x2B09695B: mov esp, ebp */ 1766 ebp = POP32_VAL(esp); /* 0x2B09695D: pop ebp */ 1767 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09695E: ret 8 */ 1768 L_2B096961: 1769 SET_LO8(eax, 1); /* 0x2B096961: mov al, 1 */ 1770 ebx = POP32_VAL(esp); /* 0x2B096963: pop ebx */ 1771 esp = ebp; /* 0x2B096964: mov esp, ebp */ 1772 ebp = POP32_VAL(esp); /* 0x2B096966: pop ebp */ 1773 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B096967: ret 8 */ 1774 RECOMP_REGS_OUT(); 1775 } 1776 1777 void sub_2B096970(void) { 1778 int _fpu_cmp = 0; 1779 uint32_t _cf = 0; 1780 int _df = 1; 1781 uint32_t _flag_k = FK_NONE; 1782 uint32_t _flag_a = 0, _flag_b = 0; 1783 uint32_t _itail_tgt = 0; 1784 RECOMP_REGS_LOCALS 1785 RECOMP_ENTER(0x2B096970u); 1786 1787 L_2B096970: 1788 PUSH32(esp, ebp); /* 0x2B096970: push ebp */ 1789 ebp = esp; /* 0x2B096971: mov ebp, esp */ 1790 PUSH32(esp, ecx); /* 0x2B096973: push ecx */ 1791 PUSH32(esp, ebx); /* 0x2B096974: push ebx */ 1792 ebx = MEM32(ebp + 0x8); /* 0x2B096975: mov ebx, dword ptr [ebp + 8] */ 1793 PUSH32(esp, edi); /* 0x2B096978: push edi */ 1794 edi = ecx; /* 0x2B096979: mov edi, ecx */ 1795 SET_LO8(ecx, MEM8(ebx + 0x15)); /* 0x2B09697B: mov cl, byte ptr [ebx + 0x15] */ 1796 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09697E: test cl, cl */ 1797 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1798 _cf = 0; 1799 _flag_k = FK_NARROW(FK_TEST, 24); 1800 eax = MEM32(edi + 0x8); /* 0x2B096980: mov eax, dword ptr [edi + 8] */ 1801 MEM32(ebp + (-0x4)) = eax; /* 0x2B096983: mov dword ptr [ebp - 4], eax */ 1802 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0969F3; /* 0x2B096986: jne 0x2b0969f3 */ 1803 L_2B096988: 1804 SET_LO8(eax, MEM8(ebx + 0x14)); /* 0x2B096988: mov al, byte ptr [ebx + 0x14] */ 1805 PUSH32(esp, esi); /* 0x2B09698B: push esi */ 1806 PUSH32(esp, 0x18u); /* 0x2B09698C: push 0x18 */ 1807 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2B09698E: mov byte ptr [ebp + 0xb], al */ 1808 RECOMP_ICALL(0x2B0AB212u); /* 0x2B096991: call 0x2b0ab212 */ /* not lifted */ 1809 RECOMP_FLAGS_IN(); 1810 ecx = MEM32(ebp + 0xC); /* 0x2B096996: mov ecx, dword ptr [ebp + 0xc] */ 1811 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B096999: mov dl, byte ptr [ebp + 0xb] */ 1812 esi = eax; /* 0x2B09699C: mov esi, eax */ 1813 eax = esi + 0xC; /* 0x2B09699E: lea eax, [esi + 0xc] */ 1814 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1815 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1816 esp = esp + 4; /* 0x2B0969A1: add esp, 4 */ 1817 _flag_k = FK_ADD; 1818 /* test eax, eax */ /* 0x2B0969A4: test eax, eax */ 1819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1820 _cf = 0; 1821 _flag_k = FK_TEST; 1822 MEM32(esi + 0x4) = ecx; /* 0x2B0969A6: mov dword ptr [esi + 4], ecx */ 1823 MEM8(esi + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B0969A9: mov byte ptr [esi + 0x14], dl */ 1824 MEM8(esi + 0x15) = (uint8_t)(0); /* 0x2B0969AC: mov byte ptr [esi + 0x15], 0 */ 1825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0969BD; /* 0x2B0969B0: je 0x2b0969bd */ 1826 L_2B0969B2: 1827 ecx = MEM32(ebx + 0xC); /* 0x2B0969B2: mov ecx, dword ptr [ebx + 0xc] */ 1828 MEM32(eax) = ecx; /* 0x2B0969B5: mov dword ptr [eax], ecx */ 1829 edx = MEM32(ebx + 0x10); /* 0x2B0969B7: mov edx, dword ptr [ebx + 0x10] */ 1830 MEM32(eax + 0x4) = edx; /* 0x2B0969BA: mov dword ptr [eax + 4], edx */ 1831 L_2B0969BD: 1832 eax = MEM32(edi + 0x8); /* 0x2B0969BD: mov eax, dword ptr [edi + 8] */ 1833 edx = MEM32(ebp + (-0x4)); /* 0x2B0969C0: mov edx, dword ptr [ebp - 4] */ 1834 MEM32(esi) = eax; /* 0x2B0969C3: mov dword ptr [esi], eax */ 1835 ecx = MEM32(edi + 0x8); /* 0x2B0969C5: mov ecx, dword ptr [edi + 8] */ 1836 MEM32(esi + 0x8) = ecx; /* 0x2B0969C8: mov dword ptr [esi + 8], ecx */ 1837 /* cmp edx, MEM32(edi + 0x8) */ /* 0x2B0969CB: cmp edx, dword ptr [edi + 8] */ 1838 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1840 _flag_k = FK_CMP; 1841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0969D3; /* 0x2B0969CE: jne 0x2b0969d3 */ 1842 L_2B0969D0: 1843 MEM32(ebp + (-0x4)) = esi; /* 0x2B0969D0: mov dword ptr [ebp - 4], esi */ 1844 L_2B0969D3: 1845 eax = MEM32(ebx); /* 0x2B0969D3: mov eax, dword ptr [ebx] */ 1846 PUSH32(esp, esi); /* 0x2B0969D5: push esi */ 1847 PUSH32(esp, eax); /* 0x2B0969D6: push eax */ 1848 ecx = edi; /* 0x2B0969D7: mov ecx, edi */ 1849 RECOMP_ICALL(0x2B096970u); /* 0x2B0969D9: call 0x2b096970 */ /* not lifted */ 1850 RECOMP_FLAGS_IN(); 1851 MEM32(esi) = eax; /* 0x2B0969DE: mov dword ptr [esi], eax */ 1852 ecx = MEM32(ebx + 0x8); /* 0x2B0969E0: mov ecx, dword ptr [ebx + 8] */ 1853 PUSH32(esp, esi); /* 0x2B0969E3: push esi */ 1854 PUSH32(esp, ecx); /* 0x2B0969E4: push ecx */ 1855 ecx = edi; /* 0x2B0969E5: mov ecx, edi */ 1856 RECOMP_ICALL(0x2B096970u); /* 0x2B0969E7: call 0x2b096970 */ /* not lifted */ 1857 RECOMP_FLAGS_IN(); 1858 MEM32(esi + 0x8) = eax; /* 0x2B0969EC: mov dword ptr [esi + 8], eax */ 1859 eax = MEM32(ebp + (-0x4)); /* 0x2B0969EF: mov eax, dword ptr [ebp - 4] */ 1860 esi = POP32_VAL(esp); /* 0x2B0969F2: pop esi */ 1861 L_2B0969F3: 1862 edi = POP32_VAL(esp); /* 0x2B0969F3: pop edi */ 1863 ebx = POP32_VAL(esp); /* 0x2B0969F4: pop ebx */ 1864 esp = ebp; /* 0x2B0969F5: mov esp, ebp */ 1865 ebp = POP32_VAL(esp); /* 0x2B0969F7: pop ebp */ 1866 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0969F8: ret 8 */ 1867 RECOMP_REGS_OUT(); 1868 } 1869 1870 void sub_2B096A00(void) { 1871 int _fpu_cmp = 0; 1872 uint32_t _cf = 0; 1873 int _df = 1; 1874 uint32_t _flag_k = FK_NONE; 1875 uint32_t _flag_a = 0, _flag_b = 0; 1876 uint32_t _itail_tgt = 0; 1877 RECOMP_REGS_LOCALS 1878 RECOMP_ENTER(0x2B096A00u); 1879 1880 L_2B096A00: 1881 PUSH32(esp, ebp); /* 0x2B096A00: push ebp */ 1882 ebp = esp; /* 0x2B096A01: mov ebp, esp */ 1883 PUSH32(esp, ebx); /* 0x2B096A03: push ebx */ 1884 PUSH32(esp, esi); /* 0x2B096A04: push esi */ 1885 ebx = ecx; /* 0x2B096A05: mov ebx, ecx */ 1886 eax = MEM32(ebx + 0x8); /* 0x2B096A07: mov eax, dword ptr [ebx + 8] */ 1887 PUSH32(esp, edi); /* 0x2B096A0A: push edi */ 1888 edi = MEM32(ebp + 0x8); /* 0x2B096A0B: mov edi, dword ptr [ebp + 8] */ 1889 /* cmp edi, eax */ /* 0x2B096A0E: cmp edi, eax */ 1890 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1892 _flag_k = FK_CMP; 1893 esi = edi; /* 0x2B096A10: mov esi, edi */ 1894 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096A33; /* 0x2B096A12: je 0x2b096a33 */ 1895 L_2B096A14: 1896 eax = MEM32(esi + 0x8); /* 0x2B096A14: mov eax, dword ptr [esi + 8] */ 1897 PUSH32(esp, eax); /* 0x2B096A17: push eax */ 1898 ecx = ebx; /* 0x2B096A18: mov ecx, ebx */ 1899 RECOMP_ICALL(0x2B096A00u); /* 0x2B096A1A: call 0x2b096a00 */ /* not lifted */ 1900 RECOMP_FLAGS_IN(); 1901 esi = MEM32(esi); /* 0x2B096A1F: mov esi, dword ptr [esi] */ 1902 PUSH32(esp, edi); /* 0x2B096A21: push edi */ 1903 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096A22: call 0x2b0ab1ba */ /* not lifted */ 1904 RECOMP_FLAGS_IN(); 1905 eax = MEM32(ebx + 0x8); /* 0x2B096A27: mov eax, dword ptr [ebx + 8] */ 1906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1908 esp = esp + 4; /* 0x2B096A2A: add esp, 4 */ 1909 _flag_k = FK_ADD; 1910 /* cmp esi, eax */ /* 0x2B096A2D: cmp esi, eax */ 1911 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1913 _flag_k = FK_CMP; 1914 edi = esi; /* 0x2B096A2F: mov edi, esi */ 1915 RECOMP_BACKEDGE(); 1916 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096A14; /* 0x2B096A31: jne 0x2b096a14 */ 1917 L_2B096A33: 1918 edi = POP32_VAL(esp); /* 0x2B096A33: pop edi */ 1919 esi = POP32_VAL(esp); /* 0x2B096A34: pop esi */ 1920 ebx = POP32_VAL(esp); /* 0x2B096A35: pop ebx */ 1921 ebp = POP32_VAL(esp); /* 0x2B096A36: pop ebp */ 1922 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096A37: ret 4 */ 1923 RECOMP_REGS_OUT(); 1924 } 1925 1926 void sub_2B096A40(void) { 1927 int _fpu_cmp = 0; 1928 uint32_t _cf = 0; 1929 int _df = 1; 1930 uint32_t _flag_k = FK_NONE; 1931 uint32_t _flag_a = 0, _flag_b = 0; 1932 uint32_t _itail_tgt = 0; 1933 RECOMP_REGS_LOCALS 1934 RECOMP_ENTER(0x2B096A40u); 1935 1936 L_2B096A40: 1937 PUSH32(esp, ebp); /* 0x2B096A40: push ebp */ 1938 ebp = esp; /* 0x2B096A41: mov ebp, esp */ 1939 eax = MEM32(ebp + 0x8); /* 0x2B096A43: mov eax, dword ptr [ebp + 8] */ 1940 ecx = MEM32(eax + 0x8); /* 0x2B096A46: mov ecx, dword ptr [eax + 8] */ 1941 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x2B096A49: mov dl, byte ptr [ecx + 0x15] */ 1942 /* test LO8(edx), LO8(edx) */ /* 0x2B096A4C: test dl, dl */ 1943 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1944 _cf = 0; 1945 _flag_k = FK_NARROW(FK_TEST, 24); 1946 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096A5C; /* 0x2B096A4E: jne 0x2b096a5c */ 1947 L_2B096A50: 1948 eax = ecx; /* 0x2B096A50: mov eax, ecx */ 1949 ecx = MEM32(eax + 0x8); /* 0x2B096A52: mov ecx, dword ptr [eax + 8] */ 1950 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x2B096A55: mov dl, byte ptr [ecx + 0x15] */ 1951 /* test LO8(edx), LO8(edx) */ /* 0x2B096A58: test dl, dl */ 1952 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1953 _cf = 0; 1954 _flag_k = FK_NARROW(FK_TEST, 24); 1955 RECOMP_BACKEDGE(); 1956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096A50; /* 0x2B096A5A: je 0x2b096a50 */ 1957 L_2B096A5C: 1958 ebp = POP32_VAL(esp); /* 0x2B096A5C: pop ebp */ 1959 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096A5D: ret */ 1960 RECOMP_REGS_OUT(); 1961 } 1962 1963 void sub_2B096A60(void) { 1964 int _fpu_cmp = 0; 1965 uint32_t _cf = 0; 1966 int _df = 1; 1967 uint32_t _flag_k = FK_NONE; 1968 uint32_t _flag_a = 0, _flag_b = 0; 1969 uint32_t _itail_tgt = 0; 1970 RECOMP_REGS_LOCALS 1971 RECOMP_ENTER(0x2B096A60u); 1972 1973 L_2B096A60: 1974 PUSH32(esp, ebp); /* 0x2B096A60: push ebp */ 1975 ebp = esp; /* 0x2B096A61: mov ebp, esp */ 1976 eax = MEM32(ecx + 0x4); /* 0x2B096A63: mov eax, dword ptr [ecx + 4] */ 1977 edx = MEM32(eax + 0x4); /* 0x2B096A66: mov edx, dword ptr [eax + 4] */ 1978 ecx = MEM32(ecx + 0x8); /* 0x2B096A69: mov ecx, dword ptr [ecx + 8] */ 1979 /* cmp edx, ecx */ /* 0x2B096A6C: cmp edx, ecx */ 1980 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1982 _flag_k = FK_CMP; 1983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096A89; /* 0x2B096A6E: je 0x2b096a89 */ 1984 L_2B096A70: 1985 PUSH32(esp, esi); /* 0x2B096A70: push esi */ 1986 esi = MEM32(ebp + 0x8); /* 0x2B096A71: mov esi, dword ptr [ebp + 8] */ 1987 esi = MEM32(esi); /* 0x2B096A74: mov esi, dword ptr [esi] */ 1988 L_2B096A76: 1989 /* cmp MEM32(edx + 0xC), esi */ /* 0x2B096A76: cmp dword ptr [edx + 0xc], esi */ 1990 _flag_a = (uint32_t)(MEM32(edx + 0xC)); _flag_b = (uint32_t)(esi); 1991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1992 _flag_k = FK_CMP; 1993 if (CMP_GE(_flag_a, _flag_b)) goto L_2B096A80; /* 0x2B096A79: jge 0x2b096a80 */ 1994 L_2B096A7B: 1995 edx = MEM32(edx + 0x8); /* 0x2B096A7B: mov edx, dword ptr [edx + 8] */ 1996 goto L_2B096A84; /* 0x2B096A7E: jmp 0x2b096a84 */ 1997 L_2B096A80: 1998 eax = edx; /* 0x2B096A80: mov eax, edx */ 1999 edx = MEM32(edx); /* 0x2B096A82: mov edx, dword ptr [edx] */ 2000 L_2B096A84: 2001 /* cmp edx, ecx */ /* 0x2B096A84: cmp edx, ecx */ 2002 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 2003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2004 _flag_k = FK_CMP; 2005 RECOMP_BACKEDGE(); 2006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096A76; /* 0x2B096A86: jne 0x2b096a76 */ 2007 L_2B096A88: 2008 esi = POP32_VAL(esp); /* 0x2B096A88: pop esi */ 2009 L_2B096A89: 2010 ebp = POP32_VAL(esp); /* 0x2B096A89: pop ebp */ 2011 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096A8A: ret 4 */ 2012 RECOMP_REGS_OUT(); 2013 } 2014 2015 void sub_2B096A90(void) { 2016 int _fpu_cmp = 0; 2017 uint32_t _cf = 0; 2018 int _df = 1; 2019 uint32_t _flag_k = FK_NONE; 2020 uint32_t _flag_a = 0, _flag_b = 0; 2021 uint32_t _itail_tgt = 0; 2022 RECOMP_REGS_LOCALS 2023 RECOMP_ENTER(0x2B096A90u); 2024 2025 L_2B096A90: 2026 MEM32(0x2B0EF118) = 0; /* 0x2B096A90: mov dword ptr [0x2b0ef118], 0 */ 2027 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096A9A: ret */ 2028 RECOMP_REGS_OUT(); 2029 } 2030 2031 void sub_2B096AA0(void) { 2032 int _fpu_cmp = 0; 2033 uint32_t _cf = 0; 2034 int _df = 1; 2035 uint32_t _flag_k = FK_NONE; 2036 uint32_t _flag_a = 0, _flag_b = 0; 2037 uint32_t _itail_tgt = 0; 2038 RECOMP_REGS_LOCALS 2039 RECOMP_ENTER(0x2B096AA0u); 2040 2041 L_2B096AA0: 2042 PUSH32(esp, ebp); /* 0x2B096AA0: push ebp */ 2043 ebp = esp; /* 0x2B096AA1: mov ebp, esp */ 2044 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096AA3: push -1 */ 2045 PUSH32(esp, 0x2B0B312Bu); /* 0x2B096AA5: push 0x2b0b312b */ 2046 eax = MEM32(FS_BASE + (0)); /* 0x2B096AAA: mov eax, dword ptr fs:[0] */ 2047 PUSH32(esp, eax); /* 0x2B096AB0: push eax */ 2048 MEM32(FS_BASE + (0)) = esp; /* 0x2B096AB1: mov dword ptr fs:[0], esp */ 2049 PUSH32(esp, ecx); /* 0x2B096AB8: push ecx */ 2050 eax = MEM32(0x2B0EF118); /* 0x2B096AB9: mov eax, dword ptr [0x2b0ef118] */ 2051 /* test eax, eax */ /* 0x2B096ABE: test eax, eax */ 2052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2053 _cf = 0; 2054 _flag_k = FK_TEST; 2055 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096AFB; /* 0x2B096AC0: jne 0x2b096afb */ 2056 L_2B096AC2: 2057 PUSH32(esp, 1); /* 0x2B096AC2: push 1 */ 2058 RECOMP_ICALL(0x2B0AB212u); /* 0x2B096AC4: call 0x2b0ab212 */ /* not lifted */ 2059 RECOMP_FLAGS_IN(); 2060 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2062 esp = esp + 4; /* 0x2B096AC9: add esp, 4 */ 2063 _flag_k = FK_ADD; 2064 MEM32(ebp + (-0x10)) = eax; /* 0x2B096ACC: mov dword ptr [ebp - 0x10], eax */ 2065 /* test eax, eax */ /* 0x2B096ACF: test eax, eax */ 2066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2067 _cf = 0; 2068 _flag_k = FK_TEST; 2069 MEM32(ebp + (-0x4)) = 0; /* 0x2B096AD1: mov dword ptr [ebp - 4], 0 */ 2070 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096AF4; /* 0x2B096AD8: je 0x2b096af4 */ 2071 L_2B096ADA: 2072 ecx = eax; /* 0x2B096ADA: mov ecx, eax */ 2073 RECOMP_ICALL(0x2B096B20u); /* 0x2B096ADC: call 0x2b096b20 */ /* not lifted */ 2074 RECOMP_FLAGS_IN(); 2075 MEM32(0x2B0EF118) = eax; /* 0x2B096AE1: mov dword ptr [0x2b0ef118], eax */ 2076 ecx = MEM32(ebp + (-0xC)); /* 0x2B096AE6: mov ecx, dword ptr [ebp - 0xc] */ 2077 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096AE9: mov dword ptr fs:[0], ecx */ 2078 esp = ebp; /* 0x2B096AF0: mov esp, ebp */ 2079 ebp = POP32_VAL(esp); /* 0x2B096AF2: pop ebp */ 2080 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096AF3: ret */ 2081 L_2B096AF4: 2082 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2083 eax = 0; /* 0x2B096AF4: xor eax, eax */ 2084 _cf = 0; 2085 _flag_k = FK_TEST; 2086 MEM32(0x2B0EF118) = eax; /* 0x2B096AF6: mov dword ptr [0x2b0ef118], eax */ 2087 L_2B096AFB: 2088 ecx = MEM32(ebp + (-0xC)); /* 0x2B096AFB: mov ecx, dword ptr [ebp - 0xc] */ 2089 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096AFE: mov dword ptr fs:[0], ecx */ 2090 esp = ebp; /* 0x2B096B05: mov esp, ebp */ 2091 ebp = POP32_VAL(esp); /* 0x2B096B07: pop ebp */ 2092 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096B08: ret */ 2093 RECOMP_REGS_OUT(); 2094 } 2095 2096 void sub_2B096B10(void) { 2097 int _fpu_cmp = 0; 2098 uint32_t _cf = 0; 2099 int _df = 1; 2100 uint32_t _flag_k = FK_NONE; 2101 uint32_t _flag_a = 0, _flag_b = 0; 2102 uint32_t _itail_tgt = 0; 2103 RECOMP_REGS_LOCALS 2104 RECOMP_ENTER(0x2B096B10u); 2105 2106 L_2B096B10: 2107 eax = MEM32(0x2B0EF118); /* 0x2B096B10: mov eax, dword ptr [0x2b0ef118] */ 2108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096B15: ret */ 2109 RECOMP_REGS_OUT(); 2110 } 2111 2112 void sub_2B096B20(void) { 2113 int _fpu_cmp = 0; 2114 uint32_t _cf = 0; 2115 int _df = 1; 2116 uint32_t _flag_k = FK_NONE; 2117 uint32_t _flag_a = 0, _flag_b = 0; 2118 uint32_t _itail_tgt = 0; 2119 RECOMP_REGS_LOCALS 2120 RECOMP_ENTER(0x2B096B20u); 2121 2122 L_2B096B20: 2123 PUSH32(esp, ebx); /* 0x2B096B20: push ebx */ 2124 PUSH32(esp, esi); /* 0x2B096B21: push esi */ 2125 esi = MEM32(0x2B0B53CC); /* 0x2B096B22: mov esi, dword ptr [0x2b0b53cc] */ 2126 PUSH32(esp, edi); /* 0x2B096B28: push edi */ 2127 ebx = ecx; /* 0x2B096B29: mov ebx, ecx */ 2128 RECOMP_ICALL(esi); /* 0x2B096B2B: call esi */ 2129 RECOMP_FLAGS_IN(); 2130 ecx = eax; /* 0x2B096B2D: mov ecx, eax */ 2131 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B096B2F: call dword ptr [0x2b0b5374] */ 2132 RECOMP_FLAGS_IN(); 2133 PUSH32(esp, 0); /* 0x2B096B35: push 0 */ 2134 PUSH32(esp, 1); /* 0x2B096B37: push 1 */ 2135 PUSH32(esp, 1); /* 0x2B096B39: push 1 */ 2136 RECOMP_ICALL(esi); /* 0x2B096B3B: call esi */ 2137 RECOMP_FLAGS_IN(); 2138 ecx = eax; /* 0x2B096B3D: mov ecx, eax */ 2139 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B096B3F: call dword ptr [0x2b0b5378] */ 2140 RECOMP_FLAGS_IN(); 2141 PUSH32(esp, 0x2B096C50u); /* 0x2B096B45: push 0x2b096c50 */ 2142 RECOMP_ICALL(esi); /* 0x2B096B4A: call esi */ 2143 RECOMP_FLAGS_IN(); 2144 ecx = eax; /* 0x2B096B4C: mov ecx, eax */ 2145 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B096B4E: call dword ptr [0x2b0b537c] */ 2146 RECOMP_FLAGS_IN(); 2147 PUSH32(esp, 0x2B096BC0u); /* 0x2B096B54: push 0x2b096bc0 */ 2148 PUSH32(esp, 5); /* 0x2B096B59: push 5 */ 2149 RECOMP_ICALL(esi); /* 0x2B096B5B: call esi */ 2150 RECOMP_FLAGS_IN(); 2151 edi = MEM32(0x2B0B5324); /* 0x2B096B5D: mov edi, dword ptr [0x2b0b5324] */ 2152 ecx = eax; /* 0x2B096B63: mov ecx, eax */ 2153 RECOMP_ICALL(edi); /* 0x2B096B65: call edi */ 2154 RECOMP_FLAGS_IN(); 2155 PUSH32(esp, 0x2B096C20u); /* 0x2B096B67: push 0x2b096c20 */ 2156 PUSH32(esp, 6); /* 0x2B096B6C: push 6 */ 2157 RECOMP_ICALL(esi); /* 0x2B096B6E: call esi */ 2158 RECOMP_FLAGS_IN(); 2159 ecx = eax; /* 0x2B096B70: mov ecx, eax */ 2160 RECOMP_ICALL(edi); /* 0x2B096B72: call edi */ 2161 RECOMP_FLAGS_IN(); 2162 PUSH32(esp, 0x2B096C60u); /* 0x2B096B74: push 0x2b096c60 */ 2163 PUSH32(esp, 0x7Fu); /* 0x2B096B79: push 0x7f */ 2164 RECOMP_ICALL(esi); /* 0x2B096B7B: call esi */ 2165 RECOMP_FLAGS_IN(); 2166 ecx = eax; /* 0x2B096B7D: mov ecx, eax */ 2167 RECOMP_ICALL(edi); /* 0x2B096B7F: call edi */ 2168 RECOMP_FLAGS_IN(); 2169 PUSH32(esp, 0x2B096CA0u); /* 0x2B096B81: push 0x2b096ca0 */ 2170 PUSH32(esp, 1); /* 0x2B096B86: push 1 */ 2171 RECOMP_ICALL(esi); /* 0x2B096B88: call esi */ 2172 RECOMP_FLAGS_IN(); 2173 ecx = eax; /* 0x2B096B8A: mov ecx, eax */ 2174 RECOMP_ICALL(edi); /* 0x2B096B8C: call edi */ 2175 RECOMP_FLAGS_IN(); 2176 PUSH32(esp, 0x2B096CE0u); /* 0x2B096B8E: push 0x2b096ce0 */ 2177 PUSH32(esp, 0x108u); /* 0x2B096B93: push 0x108 */ 2178 RECOMP_ICALL(esi); /* 0x2B096B98: call esi */ 2179 RECOMP_FLAGS_IN(); 2180 ecx = eax; /* 0x2B096B9A: mov ecx, eax */ 2181 RECOMP_ICALL(edi); /* 0x2B096B9C: call edi */ 2182 RECOMP_FLAGS_IN(); 2183 PUSH32(esp, 0x2B096CF0u); /* 0x2B096B9E: push 0x2b096cf0 */ 2184 PUSH32(esp, 0xF5u); /* 0x2B096BA3: push 0xf5 */ 2185 RECOMP_ICALL(esi); /* 0x2B096BA8: call esi */ 2186 RECOMP_FLAGS_IN(); 2187 ecx = eax; /* 0x2B096BAA: mov ecx, eax */ 2188 RECOMP_ICALL(edi); /* 0x2B096BAC: call edi */ 2189 RECOMP_FLAGS_IN(); 2190 edi = POP32_VAL(esp); /* 0x2B096BAE: pop edi */ 2191 esi = POP32_VAL(esp); /* 0x2B096BAF: pop esi */ 2192 eax = ebx; /* 0x2B096BB0: mov eax, ebx */ 2193 ebx = POP32_VAL(esp); /* 0x2B096BB2: pop ebx */ 2194 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096BB3: ret */ 2195 RECOMP_REGS_OUT(); 2196 } 2197 2198 void sub_2B096BC0(void) { 2199 int _fpu_cmp = 0; 2200 uint32_t _cf = 0; 2201 int _df = 1; 2202 uint32_t _flag_k = FK_NONE; 2203 uint32_t _flag_a = 0, _flag_b = 0; 2204 uint32_t _itail_tgt = 0; 2205 RECOMP_REGS_LOCALS 2206 RECOMP_ENTER(0x2B096BC0u); 2207 2208 L_2B096BC0: 2209 PUSH32(esp, ebp); /* 0x2B096BC0: push ebp */ 2210 ebp = esp; /* 0x2B096BC1: mov ebp, esp */ 2211 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096BC3: push -1 */ 2212 PUSH32(esp, 0x2B0B314Bu); /* 0x2B096BC5: push 0x2b0b314b */ 2213 eax = MEM32(FS_BASE + (0)); /* 0x2B096BCA: mov eax, dword ptr fs:[0] */ 2214 PUSH32(esp, eax); /* 0x2B096BD0: push eax */ 2215 MEM32(FS_BASE + (0)) = esp; /* 0x2B096BD1: mov dword ptr fs:[0], esp */ 2216 PUSH32(esp, ecx); /* 0x2B096BD8: push ecx */ 2217 PUSH32(esp, 0x14u); /* 0x2B096BD9: push 0x14 */ 2218 RECOMP_ICALL(0x2B0AB212u); /* 0x2B096BDB: call 0x2b0ab212 */ /* not lifted */ 2219 RECOMP_FLAGS_IN(); 2220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2222 esp = esp + 4; /* 0x2B096BE0: add esp, 4 */ 2223 _flag_k = FK_ADD; 2224 MEM32(ebp + (-0x10)) = eax; /* 0x2B096BE3: mov dword ptr [ebp - 0x10], eax */ 2225 /* test eax, eax */ /* 0x2B096BE6: test eax, eax */ 2226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2227 _cf = 0; 2228 _flag_k = FK_TEST; 2229 MEM32(ebp + (-0x4)) = 0; /* 0x2B096BE8: mov dword ptr [ebp - 4], 0 */ 2230 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096C0B; /* 0x2B096BEF: je 0x2b096c0b */ 2231 L_2B096BF1: 2232 ecx = eax; /* 0x2B096BF1: mov ecx, eax */ 2233 RECOMP_ICALL(0x2B0961C0u); /* 0x2B096BF3: call 0x2b0961c0 */ /* not lifted */ 2234 RECOMP_FLAGS_IN(); 2235 MEM32(0x2B0EF11C) = eax; /* 0x2B096BF8: mov dword ptr [0x2b0ef11c], eax */ 2236 ecx = MEM32(ebp + (-0xC)); /* 0x2B096BFD: mov ecx, dword ptr [ebp - 0xc] */ 2237 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096C00: mov dword ptr fs:[0], ecx */ 2238 esp = ebp; /* 0x2B096C07: mov esp, ebp */ 2239 ebp = POP32_VAL(esp); /* 0x2B096C09: pop ebp */ 2240 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096C0A: ret */ 2241 L_2B096C0B: 2242 ecx = MEM32(ebp + (-0xC)); /* 0x2B096C0B: mov ecx, dword ptr [ebp - 0xc] */ 2243 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2244 eax = 0; /* 0x2B096C0E: xor eax, eax */ 2245 _cf = 0; 2246 _flag_k = FK_TEST; 2247 MEM32(0x2B0EF11C) = eax; /* 0x2B096C10: mov dword ptr [0x2b0ef11c], eax */ 2248 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096C15: mov dword ptr fs:[0], ecx */ 2249 esp = ebp; /* 0x2B096C1C: mov esp, ebp */ 2250 ebp = POP32_VAL(esp); /* 0x2B096C1E: pop ebp */ 2251 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096C1F: ret */ 2252 RECOMP_REGS_OUT(); 2253 } 2254 2255 void sub_2B096C20(void) { 2256 int _fpu_cmp = 0; 2257 uint32_t _cf = 0; 2258 int _df = 1; 2259 uint32_t _flag_k = FK_NONE; 2260 uint32_t _flag_a = 0, _flag_b = 0; 2261 uint32_t _itail_tgt = 0; 2262 RECOMP_REGS_LOCALS 2263 RECOMP_ENTER(0x2B096C20u); 2264 2265 L_2B096C20: 2266 PUSH32(esp, esi); /* 0x2B096C20: push esi */ 2267 esi = MEM32(0x2B0EF11C); /* 0x2B096C21: mov esi, dword ptr [0x2b0ef11c] */ 2268 /* test esi, esi */ /* 0x2B096C27: test esi, esi */ 2269 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2270 _cf = 0; 2271 _flag_k = FK_TEST; 2272 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096C3B; /* 0x2B096C29: je 0x2b096c3b */ 2273 L_2B096C2B: 2274 ecx = esi; /* 0x2B096C2B: mov ecx, esi */ 2275 RECOMP_ICALL(0x2B096230u); /* 0x2B096C2D: call 0x2b096230 */ /* not lifted */ 2276 RECOMP_FLAGS_IN(); 2277 PUSH32(esp, esi); /* 0x2B096C32: push esi */ 2278 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096C33: call 0x2b0ab1ba */ /* not lifted */ 2279 RECOMP_FLAGS_IN(); 2280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2282 esp = esp + 4; /* 0x2B096C38: add esp, 4 */ 2283 _flag_k = FK_ADD; 2284 L_2B096C3B: 2285 MEM32(0x2B0EF11C) = 0; /* 0x2B096C3B: mov dword ptr [0x2b0ef11c], 0 */ 2286 esi = POP32_VAL(esp); /* 0x2B096C45: pop esi */ 2287 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096C46: ret */ 2288 RECOMP_REGS_OUT(); 2289 } 2290 2291 void sub_2B096C50(void) { 2292 int _fpu_cmp = 0; 2293 uint32_t _cf = 0; 2294 int _df = 1; 2295 uint32_t _flag_k = FK_NONE; 2296 uint32_t _flag_a = 0, _flag_b = 0; 2297 uint32_t _itail_tgt = 0; 2298 RECOMP_REGS_LOCALS 2299 RECOMP_ENTER(0x2B096C50u); 2300 2301 goto L_2B096C50; 2302 L_2B096690: 2303 PUSH32(esp, ebp); /* 0x2B096690: push ebp */ 2304 ebp = esp; /* 0x2B096691: mov ebp, esp */ 2305 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2307 esp = esp - 0xCu; /* 0x2B096693: sub esp, 0xc */ 2308 _flag_k = FK_CMP; 2309 PUSH32(esp, ebx); /* 0x2B096696: push ebx */ 2310 ebx = ecx; /* 0x2B096697: mov ebx, ecx */ 2311 eax = MEM32(ebx + 0x10); /* 0x2B096699: mov eax, dword ptr [ebx + 0x10] */ 2312 /* test eax, eax */ /* 0x2B09669C: test eax, eax */ 2313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2314 _cf = 0; 2315 _flag_k = FK_TEST; 2316 PUSH32(esp, esi); /* 0x2B09669E: push esi */ 2317 PUSH32(esp, edi); /* 0x2B09669F: push edi */ 2318 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09679B; /* 0x2B0966A0: je 0x2b09679b */ 2319 L_2B0966A6: 2320 esi = MEM32(0x2B0B53BC); /* 0x2B0966A6: mov esi, dword ptr [0x2b0b53bc] */ 2321 RECOMP_ICALL(esi); /* 0x2B0966AC: call esi */ 2322 RECOMP_FLAGS_IN(); 2323 eax = MEM32(eax + 0x24); /* 0x2B0966AE: mov eax, dword ptr [eax + 0x24] */ 2324 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B0966B1: cdq */ 2325 ecx = 0x320u; /* 0x2B0966B2: mov ecx, 0x320 */ 2326 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B0966B7: idiv ecx */ 2327 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 2328 else { eax = 0; edx = 0; } } 2329 /* cmp edx, 0x190u */ /* 0x2B0966B9: cmp edx, 0x190 */ 2330 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x190u); 2331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2332 _flag_k = FK_CMP; 2333 MEM32(ebp + (-0x4)) = edx; /* 0x2B0966BF: mov dword ptr [ebp - 4], edx */ 2334 if (CMP_LE(_flag_a, _flag_b)) goto L_2B0966E7; /* 0x2B0966C2: jle 0x2b0966e7 */ 2335 L_2B0966C4: 2336 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFE70u); 2337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2338 edx = edx + 0xFFFFFE70u; /* 0x2B0966C4: add edx, 0xfffffe70 */ 2339 _flag_k = FK_ADD; 2340 MEM32(ebp + (-0x4)) = edx; /* 0x2B0966CA: mov dword ptr [ebp - 4], edx */ 2341 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B0966CD: fild dword ptr [ebp - 4] */ 2342 _st[0] *= (double)*(float*)ADDR(0x2B0B7224); /* 0x2B0966D0: fmul dword ptr [0x2b0b7224] */ 2343 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0966D6: call 0x2b0ab220 */ /* not lifted */ 2344 RECOMP_FLAGS_IN(); 2345 edi = 0x40u; /* 0x2B0966DB: mov edi, 0x40 */ 2346 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2348 edi = edi - eax; /* 0x2B0966E0: sub edi, eax */ 2349 _flag_k = FK_CMP; 2350 MEM32(ebp + (-0x4)) = edi; /* 0x2B0966E2: mov dword ptr [ebp - 4], edi */ 2351 goto L_2B09670D; /* 0x2B0966E5: jmp 0x2b09670d */ 2352 L_2B0966E7: 2353 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B0966E7: fild dword ptr [ebp - 4] */ 2354 _st[0] *= (double)*(float*)ADDR(0x2B0B7220); /* 0x2B0966EA: fmul dword ptr [0x2b0b7220] */ 2355 _st[0] = (double)*(float*)ADDR(0x2B0B63D0) - _st[0]; /* 0x2B0966F0: fsubr dword ptr [0x2b0b63d0] */ 2356 _st[0] *= (double)*(float*)ADDR(0x2B0B6D14); /* 0x2B0966F6: fmul dword ptr [0x2b0b6d14] */ 2357 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0966FC: call 0x2b0ab220 */ /* not lifted */ 2358 RECOMP_FLAGS_IN(); 2359 ecx = 0x40u; /* 0x2B096701: mov ecx, 0x40 */ 2360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2362 ecx = ecx - eax; /* 0x2B096706: sub ecx, eax */ 2363 _flag_k = FK_CMP; 2364 MEM32(ebp + (-0x4)) = ecx; /* 0x2B096708: mov dword ptr [ebp - 4], ecx */ 2365 edi = ecx; /* 0x2B09670B: mov edi, ecx */ 2366 L_2B09670D: 2367 RECOMP_ICALL(esi); /* 0x2B09670D: call esi */ 2368 RECOMP_FLAGS_IN(); 2369 edx = MEM32(eax + 0x14); /* 0x2B09670F: mov edx, dword ptr [eax + 0x14] */ 2370 eax = MEM32(edx); /* 0x2B096712: mov eax, dword ptr [edx] */ 2371 MEM32(ebp + (-0x8)) = eax; /* 0x2B096714: mov dword ptr [ebp - 8], eax */ 2372 eax = MEM32(ebx + 0x4); /* 0x2B096717: mov eax, dword ptr [ebx + 4] */ 2373 esi = MEM32(eax); /* 0x2B09671A: mov esi, dword ptr [eax] */ 2374 /* cmp esi, eax */ /* 0x2B09671C: cmp esi, eax */ 2375 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2377 _flag_k = FK_CMP; 2378 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09679B; /* 0x2B09671E: je 0x2b09679b */ 2379 L_2B096720: 2380 edx = MEM32(ebp + (-0x8)); /* 0x2B096720: mov edx, dword ptr [ebp - 8] */ 2381 ecx = MEM32(esi + 0x10); /* 0x2B096723: mov ecx, dword ptr [esi + 0x10] */ 2382 PUSH32(esp, edi); /* 0x2B096726: push edi */ 2383 PUSH32(esp, edx); /* 0x2B096727: push edx */ 2384 RECOMP_ICALL(0x2B0968B0u); /* 0x2B096728: call 0x2b0968b0 */ /* not lifted */ 2385 RECOMP_FLAGS_IN(); 2386 /* test LO8(eax), LO8(eax) */ /* 0x2B09672D: test al, al */ 2387 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2388 _cf = 0; 2389 _flag_k = FK_NARROW(FK_TEST, 24); 2390 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09675B; /* 0x2B09672F: je 0x2b09675b */ 2391 L_2B096731: 2392 edi = MEM32(esi + 0x10); /* 0x2B096731: mov edi, dword ptr [esi + 0x10] */ 2393 /* test edi, edi */ /* 0x2B096734: test edi, edi */ 2394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2395 _cf = 0; 2396 _flag_k = FK_TEST; 2397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096748; /* 0x2B096736: je 0x2b096748 */ 2398 L_2B096738: 2399 ecx = edi; /* 0x2B096738: mov ecx, edi */ 2400 RECOMP_ICALL(0x2B096890u); /* 0x2B09673A: call 0x2b096890 */ /* not lifted */ 2401 RECOMP_FLAGS_IN(); 2402 PUSH32(esp, edi); /* 0x2B09673F: push edi */ 2403 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096740: call 0x2b0ab1ba */ /* not lifted */ 2404 RECOMP_FLAGS_IN(); 2405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2407 esp = esp + 4; /* 0x2B096745: add esp, 4 */ 2408 _flag_k = FK_ADD; 2409 L_2B096748: 2410 PUSH32(esp, esi); /* 0x2B096748: push esi */ 2411 eax = ebp + (-0xC); /* 0x2B096749: lea eax, [ebp - 0xc] */ 2412 PUSH32(esp, eax); /* 0x2B09674C: push eax */ 2413 ecx = ebx; /* 0x2B09674D: mov ecx, ebx */ 2414 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B09674F: call 0x2b06d4f0 */ /* not lifted */ 2415 RECOMP_FLAGS_IN(); 2416 esi = MEM32(eax); /* 0x2B096754: mov esi, dword ptr [eax] */ 2417 edi = MEM32(ebp + (-0x4)); /* 0x2B096756: mov edi, dword ptr [ebp - 4] */ 2418 goto L_2B096796; /* 0x2B096759: jmp 0x2b096796 */ 2419 L_2B09675B: 2420 eax = MEM32(esi + 0x8); /* 0x2B09675B: mov eax, dword ptr [esi + 8] */ 2421 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09675E: mov cl, byte ptr [eax + 0x15] */ 2422 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096761: test cl, cl */ 2423 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2424 _cf = 0; 2425 _flag_k = FK_NARROW(FK_TEST, 24); 2426 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09677D; /* 0x2B096763: jne 0x2b09677d */ 2427 L_2B096765: 2428 esi = eax; /* 0x2B096765: mov esi, eax */ 2429 eax = MEM32(esi); /* 0x2B096767: mov eax, dword ptr [esi] */ 2430 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096769: mov cl, byte ptr [eax + 0x15] */ 2431 /* test LO8(ecx), LO8(ecx) */ /* 0x2B09676C: test cl, cl */ 2432 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2433 _cf = 0; 2434 _flag_k = FK_NARROW(FK_TEST, 24); 2435 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B09676E: jne 0x2b096796 */ 2436 L_2B096770: 2437 esi = eax; /* 0x2B096770: mov esi, eax */ 2438 eax = MEM32(esi); /* 0x2B096772: mov eax, dword ptr [esi] */ 2439 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B096774: mov cl, byte ptr [eax + 0x15] */ 2440 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096777: test cl, cl */ 2441 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2442 _cf = 0; 2443 _flag_k = FK_NARROW(FK_TEST, 24); 2444 RECOMP_BACKEDGE(); 2445 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096770; /* 0x2B096779: je 0x2b096770 */ 2446 L_2B09677B: 2447 goto L_2B096796; /* 0x2B09677B: jmp 0x2b096796 */ 2448 L_2B09677D: 2449 eax = MEM32(esi + 0x4); /* 0x2B09677D: mov eax, dword ptr [esi + 4] */ 2450 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096780: cmp esi, dword ptr [eax + 8] */ 2451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2453 _flag_k = FK_CMP; 2454 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09678F; /* 0x2B096783: jne 0x2b09678f */ 2455 L_2B096785: 2456 esi = eax; /* 0x2B096785: mov esi, eax */ 2457 eax = MEM32(eax + 0x4); /* 0x2B096787: mov eax, dword ptr [eax + 4] */ 2458 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09678A: cmp esi, dword ptr [eax + 8] */ 2459 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2461 _flag_k = FK_CMP; 2462 RECOMP_BACKEDGE(); 2463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096785; /* 0x2B09678D: je 0x2b096785 */ 2464 L_2B09678F: 2465 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B09678F: cmp dword ptr [esi + 8], eax */ 2466 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 2467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2468 _flag_k = FK_CMP; 2469 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096796; /* 0x2B096792: je 0x2b096796 */ 2470 L_2B096794: 2471 esi = eax; /* 0x2B096794: mov esi, eax */ 2472 L_2B096796: 2473 /* cmp esi, MEM32(ebx + 0x4) */ /* 0x2B096796: cmp esi, dword ptr [ebx + 4] */ 2474 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 2475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2476 _flag_k = FK_CMP; 2477 RECOMP_BACKEDGE(); 2478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096720; /* 0x2B096799: jne 0x2b096720 */ 2479 L_2B09679B: 2480 edi = POP32_VAL(esp); /* 0x2B09679B: pop edi */ 2481 esi = POP32_VAL(esp); /* 0x2B09679C: pop esi */ 2482 ebx = POP32_VAL(esp); /* 0x2B09679D: pop ebx */ 2483 esp = ebp; /* 0x2B09679E: mov esp, ebp */ 2484 ebp = POP32_VAL(esp); /* 0x2B0967A0: pop ebp */ 2485 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0967A1: ret */ 2486 L_2B096C50: 2487 ecx = MEM32(0x2B0EF11C); /* 0x2B096C50: mov ecx, dword ptr [0x2b0ef11c] */ 2488 /* test ecx, ecx */ /* 0x2B096C56: test ecx, ecx */ 2489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2490 _cf = 0; 2491 _flag_k = FK_TEST; 2492 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096C5F; /* 0x2B096C58: je 0x2b096c5f */ 2493 L_2B096C5A: 2494 RECOMP_BACKEDGE(); 2495 goto L_2B096690; /* 0x2B096C5A: jmp 0x2b096690 */ 2496 L_2B096C5F: 2497 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096C5F: ret */ 2498 RECOMP_REGS_OUT(); 2499 } 2500 2501 void sub_2B096C60(void) { 2502 int _fpu_cmp = 0; 2503 uint32_t _cf = 0; 2504 int _df = 1; 2505 uint32_t _flag_k = FK_NONE; 2506 uint32_t _flag_a = 0, _flag_b = 0; 2507 uint32_t _itail_tgt = 0; 2508 RECOMP_REGS_LOCALS 2509 RECOMP_ENTER(0x2B096C60u); 2510 2511 L_2B096C60: 2512 PUSH32(esp, ebp); /* 0x2B096C60: push ebp */ 2513 ebp = esp; /* 0x2B096C61: mov ebp, esp */ 2514 PUSH32(esp, ecx); /* 0x2B096C63: push ecx */ 2515 eax = MEM32(0x2B0EF11C); /* 0x2B096C64: mov eax, dword ptr [0x2b0ef11c] */ 2516 /* test eax, eax */ /* 0x2B096C69: test eax, eax */ 2517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2518 _cf = 0; 2519 _flag_k = FK_TEST; 2520 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096C8E; /* 0x2B096C6B: je 0x2b096c8e */ 2521 L_2B096C6D: 2522 eax = ebp + (-0x4); /* 0x2B096C6D: lea eax, [ebp - 4] */ 2523 PUSH32(esp, eax); /* 0x2B096C70: push eax */ 2524 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B096C71: call dword ptr [0x2b0b53cc] */ 2525 RECOMP_FLAGS_IN(); 2526 ecx = eax; /* 0x2B096C77: mov ecx, eax */ 2527 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B096C79: call dword ptr [0x2b0b53a8] */ 2528 RECOMP_FLAGS_IN(); 2529 ecx = MEM32(ebp + (-0x4)); /* 0x2B096C7F: mov ecx, dword ptr [ebp - 4] */ 2530 PUSH32(esp, ecx); /* 0x2B096C82: push ecx */ 2531 ecx = MEM32(0x2B0EF11C); /* 0x2B096C83: mov ecx, dword ptr [0x2b0ef11c] */ 2532 RECOMP_ICALL(0x2B0963E0u); /* 0x2B096C89: call 0x2b0963e0 */ /* not lifted */ 2533 RECOMP_FLAGS_IN(); 2534 L_2B096C8E: 2535 esp = ebp; /* 0x2B096C8E: mov esp, ebp */ 2536 ebp = POP32_VAL(esp); /* 0x2B096C90: pop ebp */ 2537 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096C91: ret */ 2538 RECOMP_REGS_OUT(); 2539 } 2540 2541 void sub_2B096CA0(void) { 2542 int _fpu_cmp = 0; 2543 uint32_t _cf = 0; 2544 int _df = 1; 2545 uint32_t _flag_k = FK_NONE; 2546 uint32_t _flag_a = 0, _flag_b = 0; 2547 uint32_t _itail_tgt = 0; 2548 RECOMP_REGS_LOCALS 2549 RECOMP_ENTER(0x2B096CA0u); 2550 2551 L_2B096CA0: 2552 PUSH32(esp, ebp); /* 0x2B096CA0: push ebp */ 2553 ebp = esp; /* 0x2B096CA1: mov ebp, esp */ 2554 PUSH32(esp, ecx); /* 0x2B096CA3: push ecx */ 2555 eax = MEM32(0x2B0EF11C); /* 0x2B096CA4: mov eax, dword ptr [0x2b0ef11c] */ 2556 /* test eax, eax */ /* 0x2B096CA9: test eax, eax */ 2557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2558 _cf = 0; 2559 _flag_k = FK_TEST; 2560 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096CCE; /* 0x2B096CAB: je 0x2b096cce */ 2561 L_2B096CAD: 2562 eax = ebp + (-0x4); /* 0x2B096CAD: lea eax, [ebp - 4] */ 2563 PUSH32(esp, eax); /* 0x2B096CB0: push eax */ 2564 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B096CB1: call dword ptr [0x2b0b53cc] */ 2565 RECOMP_FLAGS_IN(); 2566 ecx = eax; /* 0x2B096CB7: mov ecx, eax */ 2567 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B096CB9: call dword ptr [0x2b0b53a8] */ 2568 RECOMP_FLAGS_IN(); 2569 ecx = MEM32(ebp + (-0x4)); /* 0x2B096CBF: mov ecx, dword ptr [ebp - 4] */ 2570 PUSH32(esp, ecx); /* 0x2B096CC2: push ecx */ 2571 ecx = MEM32(0x2B0EF11C); /* 0x2B096CC3: mov ecx, dword ptr [0x2b0ef11c] */ 2572 RECOMP_ICALL(0x2B0964D0u); /* 0x2B096CC9: call 0x2b0964d0 */ /* not lifted */ 2573 RECOMP_FLAGS_IN(); 2574 L_2B096CCE: 2575 esp = ebp; /* 0x2B096CCE: mov esp, ebp */ 2576 ebp = POP32_VAL(esp); /* 0x2B096CD0: pop ebp */ 2577 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096CD1: ret */ 2578 RECOMP_REGS_OUT(); 2579 } 2580 2581 void sub_2B096CE0(void) { 2582 int _fpu_cmp = 0; 2583 uint32_t _cf = 0; 2584 int _df = 1; 2585 uint32_t _flag_k = FK_NONE; 2586 uint32_t _flag_a = 0, _flag_b = 0; 2587 uint32_t _itail_tgt = 0; 2588 RECOMP_REGS_LOCALS 2589 RECOMP_ENTER(0x2B096CE0u); 2590 2591 goto L_2B096CE0; 2592 L_2B096540: 2593 PUSH32(esp, ebp); /* 0x2B096540: push ebp */ 2594 ebp = esp; /* 0x2B096541: mov ebp, esp */ 2595 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2597 esp = esp - 8; /* 0x2B096543: sub esp, 8 */ 2598 _flag_k = FK_CMP; 2599 PUSH32(esp, ebx); /* 0x2B096546: push ebx */ 2600 PUSH32(esp, esi); /* 0x2B096547: push esi */ 2601 PUSH32(esp, edi); /* 0x2B096548: push edi */ 2602 edi = ecx; /* 0x2B096549: mov edi, ecx */ 2603 eax = MEM32(edi + 0x4); /* 0x2B09654B: mov eax, dword ptr [edi + 4] */ 2604 esi = MEM32(eax); /* 0x2B09654E: mov esi, dword ptr [eax] */ 2605 /* cmp esi, eax */ /* 0x2B096550: cmp esi, eax */ 2606 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2608 _flag_k = FK_CMP; 2609 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09659E; /* 0x2B096552: je 0x2b09659e */ 2610 L_2B096554: 2611 ebx = MEM32(esi + 0x10); /* 0x2B096554: mov ebx, dword ptr [esi + 0x10] */ 2612 /* test ebx, ebx */ /* 0x2B096557: test ebx, ebx */ 2613 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 2614 _cf = 0; 2615 _flag_k = FK_TEST; 2616 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09656B; /* 0x2B096559: je 0x2b09656b */ 2617 L_2B09655B: 2618 ecx = ebx; /* 0x2B09655B: mov ecx, ebx */ 2619 RECOMP_ICALL(0x2B096890u); /* 0x2B09655D: call 0x2b096890 */ /* not lifted */ 2620 RECOMP_FLAGS_IN(); 2621 PUSH32(esp, ebx); /* 0x2B096562: push ebx */ 2622 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096563: call 0x2b0ab1ba */ /* not lifted */ 2623 RECOMP_FLAGS_IN(); 2624 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2625 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2626 esp = esp + 4; /* 0x2B096568: add esp, 4 */ 2627 _flag_k = FK_ADD; 2628 L_2B09656B: 2629 eax = MEM32(esi + 0x8); /* 0x2B09656B: mov eax, dword ptr [esi + 8] */ 2630 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B09656E: mov cl, byte ptr [eax + 0x15] */ 2631 /* test LO8(ecx), LO8(ecx) */ /* 0x2B096571: test cl, cl */ 2632 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2633 _cf = 0; 2634 _flag_k = FK_NARROW(FK_TEST, 24); 2635 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096580; /* 0x2B096573: jne 0x2b096580 */ 2636 L_2B096575: 2637 PUSH32(esp, eax); /* 0x2B096575: push eax */ 2638 RECOMP_ICALL(0x2B0190E0u); /* 0x2B096576: call 0x2b0190e0 */ /* not lifted */ 2639 RECOMP_FLAGS_IN(); 2640 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2642 esp = esp + 4; /* 0x2B09657B: add esp, 4 */ 2643 _flag_k = FK_ADD; 2644 goto L_2B096597; /* 0x2B09657E: jmp 0x2b096597 */ 2645 L_2B096580: 2646 eax = MEM32(esi + 0x4); /* 0x2B096580: mov eax, dword ptr [esi + 4] */ 2647 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B096583: cmp esi, dword ptr [eax + 8] */ 2648 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2650 _flag_k = FK_CMP; 2651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096592; /* 0x2B096586: jne 0x2b096592 */ 2652 L_2B096588: 2653 esi = eax; /* 0x2B096588: mov esi, eax */ 2654 eax = MEM32(eax + 0x4); /* 0x2B09658A: mov eax, dword ptr [eax + 4] */ 2655 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B09658D: cmp esi, dword ptr [eax + 8] */ 2656 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2658 _flag_k = FK_CMP; 2659 RECOMP_BACKEDGE(); 2660 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096588; /* 0x2B096590: je 0x2b096588 */ 2661 L_2B096592: 2662 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B096592: cmp dword ptr [esi + 8], eax */ 2663 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 2664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2665 _flag_k = FK_CMP; 2666 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096599; /* 0x2B096595: je 0x2b096599 */ 2667 L_2B096597: 2668 esi = eax; /* 0x2B096597: mov esi, eax */ 2669 L_2B096599: 2670 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B096599: cmp esi, dword ptr [edi + 4] */ 2671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2673 _flag_k = FK_CMP; 2674 RECOMP_BACKEDGE(); 2675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096554; /* 0x2B09659C: jne 0x2b096554 */ 2676 L_2B09659E: 2677 esi = MEM32(edi + 0x4); /* 0x2B09659E: mov esi, dword ptr [edi + 4] */ 2678 ecx = MEM32(edi + 0x10); /* 0x2B0965A1: mov ecx, dword ptr [edi + 0x10] */ 2679 /* test ecx, ecx */ /* 0x2B0965A4: test ecx, ecx */ 2680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2681 _cf = 0; 2682 _flag_k = FK_TEST; 2683 eax = MEM32(esi); /* 0x2B0965A6: mov eax, dword ptr [esi] */ 2684 MEM32(ebp + (-0x4)) = eax; /* 0x2B0965A8: mov dword ptr [ebp - 4], eax */ 2685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965AB: je 0x2b096602 */ 2686 L_2B0965AD: 2687 ecx = eax; /* 0x2B0965AD: mov ecx, eax */ 2688 /* cmp eax, ecx */ /* 0x2B0965AF: cmp eax, ecx */ 2689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2691 _flag_k = FK_CMP; 2692 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B1: jne 0x2b096602 */ 2693 L_2B0965B3: 2694 /* cmp esi, esi */ /* 0x2B0965B3: cmp esi, esi */ 2695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2697 _flag_k = FK_CMP; 2698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096602; /* 0x2B0965B5: jne 0x2b096602 */ 2699 L_2B0965B7: 2700 ebx = MEM32(esi + 0x4); /* 0x2B0965B7: mov ebx, dword ptr [esi + 4] */ 2701 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B0965BA: cmp ebx, dword ptr [edi + 8] */ 2702 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2704 _flag_k = FK_CMP; 2705 esi = ebx; /* 0x2B0965BD: mov esi, ebx */ 2706 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0965E0; /* 0x2B0965BF: je 0x2b0965e0 */ 2707 L_2B0965C1: 2708 eax = MEM32(esi + 0x8); /* 0x2B0965C1: mov eax, dword ptr [esi + 8] */ 2709 PUSH32(esp, eax); /* 0x2B0965C4: push eax */ 2710 ecx = edi; /* 0x2B0965C5: mov ecx, edi */ 2711 RECOMP_ICALL(0x2B096A00u); /* 0x2B0965C7: call 0x2b096a00 */ /* not lifted */ 2712 RECOMP_FLAGS_IN(); 2713 esi = MEM32(esi); /* 0x2B0965CC: mov esi, dword ptr [esi] */ 2714 PUSH32(esp, ebx); /* 0x2B0965CE: push ebx */ 2715 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0965CF: call 0x2b0ab1ba */ /* not lifted */ 2716 RECOMP_FLAGS_IN(); 2717 eax = MEM32(edi + 0x8); /* 0x2B0965D4: mov eax, dword ptr [edi + 8] */ 2718 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2720 esp = esp + 4; /* 0x2B0965D7: add esp, 4 */ 2721 _flag_k = FK_ADD; 2722 /* cmp esi, eax */ /* 0x2B0965DA: cmp esi, eax */ 2723 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2725 _flag_k = FK_CMP; 2726 ebx = esi; /* 0x2B0965DC: mov ebx, esi */ 2727 RECOMP_BACKEDGE(); 2728 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0965C1; /* 0x2B0965DE: jne 0x2b0965c1 */ 2729 L_2B0965E0: 2730 ecx = MEM32(edi + 0x4); /* 0x2B0965E0: mov ecx, dword ptr [edi + 4] */ 2731 edx = MEM32(edi + 0x8); /* 0x2B0965E3: mov edx, dword ptr [edi + 8] */ 2732 MEM32(ecx + 0x4) = edx; /* 0x2B0965E6: mov dword ptr [ecx + 4], edx */ 2733 eax = MEM32(edi + 0x4); /* 0x2B0965E9: mov eax, dword ptr [edi + 4] */ 2734 MEM32(edi + 0x10) = 0; /* 0x2B0965EC: mov dword ptr [edi + 0x10], 0 */ 2735 MEM32(eax) = eax; /* 0x2B0965F3: mov dword ptr [eax], eax */ 2736 edi = MEM32(edi + 0x4); /* 0x2B0965F5: mov edi, dword ptr [edi + 4] */ 2737 MEM32(edi + 0x8) = edi; /* 0x2B0965F8: mov dword ptr [edi + 8], edi */ 2738 edi = POP32_VAL(esp); /* 0x2B0965FB: pop edi */ 2739 esi = POP32_VAL(esp); /* 0x2B0965FC: pop esi */ 2740 ebx = POP32_VAL(esp); /* 0x2B0965FD: pop ebx */ 2741 esp = ebp; /* 0x2B0965FE: mov esp, ebp */ 2742 ebp = POP32_VAL(esp); /* 0x2B096600: pop ebp */ 2743 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096601: ret */ 2744 L_2B096602: 2745 /* cmp eax, esi */ /* 0x2B096602: cmp eax, esi */ 2746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2748 _flag_k = FK_CMP; 2749 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096623; /* 0x2B096604: je 0x2b096623 */ 2750 L_2B096606: 2751 ecx = ebp + (-0x4); /* 0x2B096606: lea ecx, [ebp - 4] */ 2752 ebx = eax; /* 0x2B096609: mov ebx, eax */ 2753 RECOMP_ICALL(0x2B06A300u); /* 0x2B09660B: call 0x2b06a300 */ /* not lifted */ 2754 RECOMP_FLAGS_IN(); 2755 PUSH32(esp, ebx); /* 0x2B096610: push ebx */ 2756 eax = ebp + (-0x8); /* 0x2B096611: lea eax, [ebp - 8] */ 2757 PUSH32(esp, eax); /* 0x2B096614: push eax */ 2758 ecx = edi; /* 0x2B096615: mov ecx, edi */ 2759 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B096617: call 0x2b06d4f0 */ /* not lifted */ 2760 RECOMP_FLAGS_IN(); 2761 eax = MEM32(ebp + (-0x4)); /* 0x2B09661C: mov eax, dword ptr [ebp - 4] */ 2762 /* cmp eax, esi */ /* 0x2B09661F: cmp eax, esi */ 2763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2765 _flag_k = FK_CMP; 2766 RECOMP_BACKEDGE(); 2767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096606; /* 0x2B096621: jne 0x2b096606 */ 2768 L_2B096623: 2769 edi = POP32_VAL(esp); /* 0x2B096623: pop edi */ 2770 esi = POP32_VAL(esp); /* 0x2B096624: pop esi */ 2771 ebx = POP32_VAL(esp); /* 0x2B096625: pop ebx */ 2772 esp = ebp; /* 0x2B096626: mov esp, ebp */ 2773 ebp = POP32_VAL(esp); /* 0x2B096628: pop ebp */ 2774 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096629: ret */ 2775 L_2B096CE0: 2776 ecx = MEM32(0x2B0EF11C); /* 0x2B096CE0: mov ecx, dword ptr [0x2b0ef11c] */ 2777 /* test ecx, ecx */ /* 0x2B096CE6: test ecx, ecx */ 2778 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2779 _cf = 0; 2780 _flag_k = FK_TEST; 2781 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096CEF; /* 0x2B096CE8: je 0x2b096cef */ 2782 L_2B096CEA: 2783 RECOMP_BACKEDGE(); 2784 goto L_2B096540; /* 0x2B096CEA: jmp 0x2b096540 */ 2785 L_2B096CEF: 2786 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096CEF: ret */ 2787 RECOMP_REGS_OUT(); 2788 } 2789 2790 void sub_2B096CF0(void) { 2791 int _fpu_cmp = 0; 2792 uint32_t _cf = 0; 2793 int _df = 1; 2794 uint32_t _flag_k = FK_NONE; 2795 uint32_t _flag_a = 0, _flag_b = 0; 2796 uint32_t _itail_tgt = 0; 2797 RECOMP_REGS_LOCALS 2798 RECOMP_ENTER(0x2B096CF0u); 2799 2800 L_2B096CF0: 2801 PUSH32(esp, ebp); /* 0x2B096CF0: push ebp */ 2802 ebp = esp; /* 0x2B096CF1: mov ebp, esp */ 2803 PUSH32(esp, ecx); /* 0x2B096CF3: push ecx */ 2804 eax = MEM32(0x2B0EF11C); /* 0x2B096CF4: mov eax, dword ptr [0x2b0ef11c] */ 2805 /* test eax, eax */ /* 0x2B096CF9: test eax, eax */ 2806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2807 _cf = 0; 2808 _flag_k = FK_TEST; 2809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096D1E; /* 0x2B096CFB: je 0x2b096d1e */ 2810 L_2B096CFD: 2811 eax = ebp + (-0x4); /* 0x2B096CFD: lea eax, [ebp - 4] */ 2812 PUSH32(esp, eax); /* 0x2B096D00: push eax */ 2813 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B096D01: call dword ptr [0x2b0b53cc] */ 2814 RECOMP_FLAGS_IN(); 2815 ecx = eax; /* 0x2B096D07: mov ecx, eax */ 2816 RECOMP_ICALL(MEM32(0x2B0B5370)); /* 0x2B096D09: call dword ptr [0x2b0b5370] */ 2817 RECOMP_FLAGS_IN(); 2818 ecx = MEM32(ebp + (-0x4)); /* 0x2B096D0F: mov ecx, dword ptr [ebp - 4] */ 2819 PUSH32(esp, ecx); /* 0x2B096D12: push ecx */ 2820 ecx = MEM32(0x2B0EF11C); /* 0x2B096D13: mov ecx, dword ptr [0x2b0ef11c] */ 2821 RECOMP_ICALL(0x2B096630u); /* 0x2B096D19: call 0x2b096630 */ /* not lifted */ 2822 RECOMP_FLAGS_IN(); 2823 L_2B096D1E: 2824 esp = ebp; /* 0x2B096D1E: mov esp, ebp */ 2825 ebp = POP32_VAL(esp); /* 0x2B096D20: pop ebp */ 2826 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096D21: ret */ 2827 RECOMP_REGS_OUT(); 2828 } 2829 2830 void sub_2B096D30(void) { 2831 int _fpu_cmp = 0; 2832 uint32_t _cf = 0; 2833 int _df = 1; 2834 uint32_t _flag_k = FK_NONE; 2835 uint32_t _flag_a = 0, _flag_b = 0; 2836 uint32_t _itail_tgt = 0; 2837 RECOMP_REGS_LOCALS 2838 RECOMP_ENTER(0x2B096D30u); 2839 2840 L_2B096D30: 2841 PUSH32(esp, ebp); /* 0x2B096D30: push ebp */ 2842 ebp = esp; /* 0x2B096D31: mov ebp, esp */ 2843 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096D33: push -1 */ 2844 PUSH32(esp, 0x2B0B316Bu); /* 0x2B096D35: push 0x2b0b316b */ 2845 eax = MEM32(FS_BASE + (0)); /* 0x2B096D3A: mov eax, dword ptr fs:[0] */ 2846 PUSH32(esp, eax); /* 0x2B096D40: push eax */ 2847 MEM32(FS_BASE + (0)) = esp; /* 0x2B096D41: mov dword ptr fs:[0], esp */ 2848 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2850 esp = esp - 8; /* 0x2B096D48: sub esp, 8 */ 2851 _flag_k = FK_CMP; 2852 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2853 eax = 0; /* 0x2B096D4B: xor eax, eax */ 2854 _cf = 0; 2855 _flag_k = FK_TEST; 2856 PUSH32(esp, esi); /* 0x2B096D4D: push esi */ 2857 esi = ecx; /* 0x2B096D4E: mov esi, ecx */ 2858 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B096D50: mov cl, byte ptr [ebp - 0xd] */ 2859 MEM32(esi + 0x24) = eax; /* 0x2B096D53: mov dword ptr [esi + 0x24], eax */ 2860 MEM32(esi + 0x28) = eax; /* 0x2B096D56: mov dword ptr [esi + 0x28], eax */ 2861 MEM8(esi + 0x30) = (uint8_t)(LO8(eax)); /* 0x2B096D59: mov byte ptr [esi + 0x30], al */ 2862 MEM8(esi + 0x38) = (uint8_t)(LO8(ecx)); /* 0x2B096D5C: mov byte ptr [esi + 0x38], cl */ 2863 MEM32(esi + 0x3C) = eax; /* 0x2B096D5F: mov dword ptr [esi + 0x3c], eax */ 2864 MEM32(esi + 0x40) = eax; /* 0x2B096D62: mov dword ptr [esi + 0x40], eax */ 2865 MEM32(esi + 0x44) = eax; /* 0x2B096D65: mov dword ptr [esi + 0x44], eax */ 2866 MEM32(ebp + (-0x14)) = esi; /* 0x2B096D68: mov dword ptr [ebp - 0x14], esi */ 2867 MEM32(esi + 0x34) = 0x2B0B722Cu; /* 0x2B096D6B: mov dword ptr [esi + 0x34], 0x2b0b722c */ 2868 ecx = esi; /* 0x2B096D72: mov ecx, esi */ 2869 MEM32(ebp + (-0x4)) = eax; /* 0x2B096D74: mov dword ptr [ebp - 4], eax */ 2870 MEM32(esi + 0x2C) = 0x6658u; /* 0x2B096D77: mov dword ptr [esi + 0x2c], 0x6658 */ 2871 RECOMP_ICALL(0x2B096FE0u); /* 0x2B096D7E: call 0x2b096fe0 */ /* not lifted */ 2872 RECOMP_FLAGS_IN(); 2873 ecx = esi; /* 0x2B096D83: mov ecx, esi */ 2874 RECOMP_ICALL(0x2B097570u); /* 0x2B096D85: call 0x2b097570 */ /* not lifted */ 2875 RECOMP_FLAGS_IN(); 2876 ecx = MEM32(ebp + (-0xC)); /* 0x2B096D8A: mov ecx, dword ptr [ebp - 0xc] */ 2877 eax = esi; /* 0x2B096D8D: mov eax, esi */ 2878 esi = POP32_VAL(esp); /* 0x2B096D8F: pop esi */ 2879 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096D90: mov dword ptr fs:[0], ecx */ 2880 esp = ebp; /* 0x2B096D97: mov esp, ebp */ 2881 ebp = POP32_VAL(esp); /* 0x2B096D99: pop ebp */ 2882 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096D9A: ret */ 2883 RECOMP_REGS_OUT(); 2884 } 2885 2886 void sub_2B096DA0(void) { 2887 int _fpu_cmp = 0; 2888 uint32_t _cf = 0; 2889 int _df = 1; 2890 uint32_t _flag_k = FK_NONE; 2891 uint32_t _flag_a = 0, _flag_b = 0; 2892 uint32_t _itail_tgt = 0; 2893 RECOMP_REGS_LOCALS 2894 RECOMP_ENTER(0x2B096DA0u); 2895 2896 L_2B096DA0: 2897 PUSH32(esp, ebp); /* 0x2B096DA0: push ebp */ 2898 ebp = esp; /* 0x2B096DA1: mov ebp, esp */ 2899 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2901 esp = esp - 8; /* 0x2B096DA3: sub esp, 8 */ 2902 _flag_k = FK_CMP; 2903 PUSH32(esp, ebx); /* 0x2B096DA6: push ebx */ 2904 PUSH32(esp, edi); /* 0x2B096DA7: push edi */ 2905 edi = ecx; /* 0x2B096DA8: mov edi, ecx */ 2906 MEM32(edi) = 0x2B0B722Cu; /* 0x2B096DAA: mov dword ptr [edi], 0x2b0b722c */ 2907 eax = MEM32(edi + 0xC); /* 0x2B096DB0: mov eax, dword ptr [edi + 0xc] */ 2908 ebx = MEM32(edi + 0x8); /* 0x2B096DB3: mov ebx, dword ptr [edi + 8] */ 2909 /* cmp ebx, eax */ /* 0x2B096DB6: cmp ebx, eax */ 2910 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 2911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2912 _flag_k = FK_CMP; 2913 MEM32(ebp + (-0x4)) = edi; /* 0x2B096DB8: mov dword ptr [ebp - 4], edi */ 2914 MEM32(ebp + (-0x8)) = eax; /* 0x2B096DBB: mov dword ptr [ebp - 8], eax */ 2915 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096E27; /* 0x2B096DBE: je 0x2b096e27 */ 2916 L_2B096DC0: 2917 PUSH32(esp, esi); /* 0x2B096DC0: push esi */ 2918 esi = ebx + 0x10; /* 0x2B096DC1: lea esi, [ebx + 0x10] */ 2919 L_2B096DC4: 2920 eax = MEM32(esi); /* 0x2B096DC4: mov eax, dword ptr [esi] */ 2921 /* test eax, eax */ /* 0x2B096DC6: test eax, eax */ 2922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2923 _cf = 0; 2924 _flag_k = FK_TEST; 2925 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096E0F; /* 0x2B096DC8: je 0x2b096e0f */ 2926 L_2B096DCA: 2927 edi = esi + (-0x4); /* 0x2B096DCA: lea edi, [esi - 4] */ 2928 PUSH32(esp, eax); /* 0x2B096DCD: push eax */ 2929 ecx = edi; /* 0x2B096DCE: mov ecx, edi */ 2930 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DD0: call dword ptr [0x2b0b5184] */ 2931 RECOMP_FLAGS_IN(); 2932 /* cmp MEM8(eax), 0 */ /* 0x2B096DD6: cmp byte ptr [eax], 0 */ 2933 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 2934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2935 _flag_k = FK_NARROW(FK_CMP, 24); 2936 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DD9: je 0x2b096dfa */ 2937 L_2B096DDB: 2938 eax = MEM32(esi); /* 0x2B096DDB: mov eax, dword ptr [esi] */ 2939 PUSH32(esp, eax); /* 0x2B096DDD: push eax */ 2940 ecx = edi; /* 0x2B096DDE: mov ecx, edi */ 2941 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DE0: call dword ptr [0x2b0b5184] */ 2942 RECOMP_FLAGS_IN(); 2943 /* cmp MEM8(eax), 0xFFu */ /* 0x2B096DE6: cmp byte ptr [eax], 0xff */ 2944 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2946 _flag_k = FK_NARROW(FK_CMP, 24); 2947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DE9: je 0x2b096dfa */ 2948 L_2B096DEB: 2949 ecx = MEM32(esi); /* 0x2B096DEB: mov ecx, dword ptr [esi] */ 2950 PUSH32(esp, ecx); /* 0x2B096DED: push ecx */ 2951 ecx = edi; /* 0x2B096DEE: mov ecx, edi */ 2952 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DF0: call dword ptr [0x2b0b5184] */ 2953 RECOMP_FLAGS_IN(); 2954 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2955 MEM8(eax) = (uint8_t)(MEM8(eax) - 1); /* 0x2B096DF6: dec byte ptr [eax] */ 2956 _flag_k = FK_NARROW(FK_DEC, 24); 2957 goto L_2B096E0C; /* 0x2B096DF8: jmp 0x2b096e0c */ 2958 L_2B096DFA: 2959 edx = MEM32(esi + 0x8); /* 0x2B096DFA: mov edx, dword ptr [esi + 8] */ 2960 eax = MEM32(esi); /* 0x2B096DFD: mov eax, dword ptr [esi] */ 2961 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 2962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2963 edx = edx + 2; /* 0x2B096DFF: add edx, 2 */ 2964 _flag_k = FK_ADD; 2965 PUSH32(esp, edx); /* 0x2B096E02: push edx */ 2966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2967 eax = eax - 1; /* 0x2B096E03: dec eax */ 2968 _flag_k = FK_DEC; 2969 PUSH32(esp, eax); /* 0x2B096E04: push eax */ 2970 ecx = edi; /* 0x2B096E05: mov ecx, edi */ 2971 RECOMP_ICALL(0x2B0663D0u); /* 0x2B096E07: call 0x2b0663d0 */ /* not lifted */ 2972 RECOMP_FLAGS_IN(); 2973 L_2B096E0C: 2974 edi = MEM32(ebp + (-0x4)); /* 0x2B096E0C: mov edi, dword ptr [ebp - 4] */ 2975 L_2B096E0F: 2976 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2977 eax = 0; /* 0x2B096E0F: xor eax, eax */ 2978 _cf = 0; 2979 _flag_k = FK_TEST; 2980 MEM32(esi) = eax; /* 0x2B096E11: mov dword ptr [esi], eax */ 2981 MEM32(esi + 0x4) = eax; /* 0x2B096E13: mov dword ptr [esi + 4], eax */ 2982 MEM32(esi + 0x8) = eax; /* 0x2B096E16: mov dword ptr [esi + 8], eax */ 2983 eax = MEM32(ebp + (-0x8)); /* 0x2B096E19: mov eax, dword ptr [ebp - 8] */ 2984 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 2985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2986 ebx = ebx + 0x24u; /* 0x2B096E1C: add ebx, 0x24 */ 2987 _flag_k = FK_ADD; 2988 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 2989 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2990 esi = esi + 0x24u; /* 0x2B096E1F: add esi, 0x24 */ 2991 _flag_k = FK_ADD; 2992 /* cmp ebx, eax */ /* 0x2B096E22: cmp ebx, eax */ 2993 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 2994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2995 _flag_k = FK_CMP; 2996 RECOMP_BACKEDGE(); 2997 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096DC4; /* 0x2B096E24: jne 0x2b096dc4 */ 2998 L_2B096E26: 2999 esi = POP32_VAL(esp); /* 0x2B096E26: pop esi */ 3000 L_2B096E27: 3001 ecx = MEM32(edi + 0x8); /* 0x2B096E27: mov ecx, dword ptr [edi + 8] */ 3002 PUSH32(esp, ecx); /* 0x2B096E2A: push ecx */ 3003 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096E2B: call 0x2b0ab1ba */ /* not lifted */ 3004 RECOMP_FLAGS_IN(); 3005 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3006 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3007 esp = esp + 4; /* 0x2B096E30: add esp, 4 */ 3008 _flag_k = FK_ADD; 3009 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3010 eax = 0; /* 0x2B096E33: xor eax, eax */ 3011 _cf = 0; 3012 _flag_k = FK_TEST; 3013 MEM32(edi + 0x8) = eax; /* 0x2B096E35: mov dword ptr [edi + 8], eax */ 3014 MEM32(edi + 0xC) = eax; /* 0x2B096E38: mov dword ptr [edi + 0xc], eax */ 3015 MEM32(edi + 0x10) = eax; /* 0x2B096E3B: mov dword ptr [edi + 0x10], eax */ 3016 edi = POP32_VAL(esp); /* 0x2B096E3E: pop edi */ 3017 ebx = POP32_VAL(esp); /* 0x2B096E3F: pop ebx */ 3018 esp = ebp; /* 0x2B096E40: mov esp, ebp */ 3019 ebp = POP32_VAL(esp); /* 0x2B096E42: pop ebp */ 3020 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096E43: ret */ 3021 RECOMP_REGS_OUT(); 3022 } 3023 3024 void sub_2B096DC4(void) { 3025 int _fpu_cmp = 0; 3026 uint32_t _cf = 0; 3027 int _df = 1; 3028 uint32_t _flag_k = FK_NONE; 3029 uint32_t _flag_a = 0, _flag_b = 0; 3030 uint32_t _itail_tgt = 0; 3031 RECOMP_REGS_LOCALS 3032 RECOMP_ENTER(0x2B096DC4u); 3033 3034 L_2B096DC4: 3035 eax = MEM32(esi); /* 0x2B096DC4: mov eax, dword ptr [esi] */ 3036 /* test eax, eax */ /* 0x2B096DC6: test eax, eax */ 3037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3038 _cf = 0; 3039 _flag_k = FK_TEST; 3040 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096E0F; /* 0x2B096DC8: je 0x2b096e0f */ 3041 L_2B096DCA: 3042 edi = esi + (-0x4); /* 0x2B096DCA: lea edi, [esi - 4] */ 3043 PUSH32(esp, eax); /* 0x2B096DCD: push eax */ 3044 ecx = edi; /* 0x2B096DCE: mov ecx, edi */ 3045 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DD0: call dword ptr [0x2b0b5184] */ 3046 RECOMP_FLAGS_IN(); 3047 /* cmp MEM8(eax), 0 */ /* 0x2B096DD6: cmp byte ptr [eax], 0 */ 3048 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 3049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3050 _flag_k = FK_NARROW(FK_CMP, 24); 3051 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DD9: je 0x2b096dfa */ 3052 L_2B096DDB: 3053 eax = MEM32(esi); /* 0x2B096DDB: mov eax, dword ptr [esi] */ 3054 PUSH32(esp, eax); /* 0x2B096DDD: push eax */ 3055 ecx = edi; /* 0x2B096DDE: mov ecx, edi */ 3056 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DE0: call dword ptr [0x2b0b5184] */ 3057 RECOMP_FLAGS_IN(); 3058 /* cmp MEM8(eax), 0xFFu */ /* 0x2B096DE6: cmp byte ptr [eax], 0xff */ 3059 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3061 _flag_k = FK_NARROW(FK_CMP, 24); 3062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DE9: je 0x2b096dfa */ 3063 L_2B096DEB: 3064 ecx = MEM32(esi); /* 0x2B096DEB: mov ecx, dword ptr [esi] */ 3065 PUSH32(esp, ecx); /* 0x2B096DED: push ecx */ 3066 ecx = edi; /* 0x2B096DEE: mov ecx, edi */ 3067 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DF0: call dword ptr [0x2b0b5184] */ 3068 RECOMP_FLAGS_IN(); 3069 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3070 MEM8(eax) = (uint8_t)(MEM8(eax) - 1); /* 0x2B096DF6: dec byte ptr [eax] */ 3071 _flag_k = FK_NARROW(FK_DEC, 24); 3072 goto L_2B096E0C; /* 0x2B096DF8: jmp 0x2b096e0c */ 3073 L_2B096DFA: 3074 edx = MEM32(esi + 0x8); /* 0x2B096DFA: mov edx, dword ptr [esi + 8] */ 3075 eax = MEM32(esi); /* 0x2B096DFD: mov eax, dword ptr [esi] */ 3076 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 3077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3078 edx = edx + 2; /* 0x2B096DFF: add edx, 2 */ 3079 _flag_k = FK_ADD; 3080 PUSH32(esp, edx); /* 0x2B096E02: push edx */ 3081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3082 eax = eax - 1; /* 0x2B096E03: dec eax */ 3083 _flag_k = FK_DEC; 3084 PUSH32(esp, eax); /* 0x2B096E04: push eax */ 3085 ecx = edi; /* 0x2B096E05: mov ecx, edi */ 3086 RECOMP_ICALL(0x2B0663D0u); /* 0x2B096E07: call 0x2b0663d0 */ /* not lifted */ 3087 RECOMP_FLAGS_IN(); 3088 L_2B096E0C: 3089 edi = MEM32(ebp + (-0x4)); /* 0x2B096E0C: mov edi, dword ptr [ebp - 4] */ 3090 L_2B096E0F: 3091 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3092 eax = 0; /* 0x2B096E0F: xor eax, eax */ 3093 _cf = 0; 3094 _flag_k = FK_TEST; 3095 MEM32(esi) = eax; /* 0x2B096E11: mov dword ptr [esi], eax */ 3096 MEM32(esi + 0x4) = eax; /* 0x2B096E13: mov dword ptr [esi + 4], eax */ 3097 MEM32(esi + 0x8) = eax; /* 0x2B096E16: mov dword ptr [esi + 8], eax */ 3098 eax = MEM32(ebp + (-0x8)); /* 0x2B096E19: mov eax, dword ptr [ebp - 8] */ 3099 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 3100 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3101 ebx = ebx + 0x24u; /* 0x2B096E1C: add ebx, 0x24 */ 3102 _flag_k = FK_ADD; 3103 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 3104 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3105 esi = esi + 0x24u; /* 0x2B096E1F: add esi, 0x24 */ 3106 _flag_k = FK_ADD; 3107 /* cmp ebx, eax */ /* 0x2B096E22: cmp ebx, eax */ 3108 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 3109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3110 _flag_k = FK_CMP; 3111 RECOMP_BACKEDGE(); 3112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096DC4; /* 0x2B096E24: jne 0x2b096dc4 */ 3113 L_2B096E26: 3114 esi = POP32_VAL(esp); /* 0x2B096E26: pop esi */ 3115 ecx = MEM32(edi + 0x8); /* 0x2B096E27: mov ecx, dword ptr [edi + 8] */ 3116 PUSH32(esp, ecx); /* 0x2B096E2A: push ecx */ 3117 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096E2B: call 0x2b0ab1ba */ /* not lifted */ 3118 RECOMP_FLAGS_IN(); 3119 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3121 esp = esp + 4; /* 0x2B096E30: add esp, 4 */ 3122 _flag_k = FK_ADD; 3123 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3124 eax = 0; /* 0x2B096E33: xor eax, eax */ 3125 _cf = 0; 3126 _flag_k = FK_TEST; 3127 MEM32(edi + 0x8) = eax; /* 0x2B096E35: mov dword ptr [edi + 8], eax */ 3128 MEM32(edi + 0xC) = eax; /* 0x2B096E38: mov dword ptr [edi + 0xc], eax */ 3129 MEM32(edi + 0x10) = eax; /* 0x2B096E3B: mov dword ptr [edi + 0x10], eax */ 3130 edi = POP32_VAL(esp); /* 0x2B096E3E: pop edi */ 3131 ebx = POP32_VAL(esp); /* 0x2B096E3F: pop ebx */ 3132 esp = ebp; /* 0x2B096E40: mov esp, ebp */ 3133 ebp = POP32_VAL(esp); /* 0x2B096E42: pop ebp */ 3134 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096E43: ret */ 3135 RECOMP_REGS_OUT(); 3136 } 3137 3138 void sub_2B096E0C(void) { 3139 int _fpu_cmp = 0; 3140 uint32_t _cf = 0; 3141 int _df = 1; 3142 uint32_t _flag_k = FK_NONE; 3143 uint32_t _flag_a = 0, _flag_b = 0; 3144 uint32_t _itail_tgt = 0; 3145 RECOMP_REGS_LOCALS 3146 RECOMP_ENTER(0x2B096E0Cu); 3147 3148 goto L_2B096E0C; 3149 L_2B096DC4: 3150 eax = MEM32(esi); /* 0x2B096DC4: mov eax, dword ptr [esi] */ 3151 /* test eax, eax */ /* 0x2B096DC6: test eax, eax */ 3152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3153 _cf = 0; 3154 _flag_k = FK_TEST; 3155 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096E0F; /* 0x2B096DC8: je 0x2b096e0f */ 3156 L_2B096DCA: 3157 edi = esi + (-0x4); /* 0x2B096DCA: lea edi, [esi - 4] */ 3158 PUSH32(esp, eax); /* 0x2B096DCD: push eax */ 3159 ecx = edi; /* 0x2B096DCE: mov ecx, edi */ 3160 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DD0: call dword ptr [0x2b0b5184] */ 3161 RECOMP_FLAGS_IN(); 3162 /* cmp MEM8(eax), 0 */ /* 0x2B096DD6: cmp byte ptr [eax], 0 */ 3163 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 3164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3165 _flag_k = FK_NARROW(FK_CMP, 24); 3166 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DD9: je 0x2b096dfa */ 3167 L_2B096DDB: 3168 eax = MEM32(esi); /* 0x2B096DDB: mov eax, dword ptr [esi] */ 3169 PUSH32(esp, eax); /* 0x2B096DDD: push eax */ 3170 ecx = edi; /* 0x2B096DDE: mov ecx, edi */ 3171 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DE0: call dword ptr [0x2b0b5184] */ 3172 RECOMP_FLAGS_IN(); 3173 /* cmp MEM8(eax), 0xFFu */ /* 0x2B096DE6: cmp byte ptr [eax], 0xff */ 3174 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3176 _flag_k = FK_NARROW(FK_CMP, 24); 3177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DE9: je 0x2b096dfa */ 3178 L_2B096DEB: 3179 ecx = MEM32(esi); /* 0x2B096DEB: mov ecx, dword ptr [esi] */ 3180 PUSH32(esp, ecx); /* 0x2B096DED: push ecx */ 3181 ecx = edi; /* 0x2B096DEE: mov ecx, edi */ 3182 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DF0: call dword ptr [0x2b0b5184] */ 3183 RECOMP_FLAGS_IN(); 3184 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3185 MEM8(eax) = (uint8_t)(MEM8(eax) - 1); /* 0x2B096DF6: dec byte ptr [eax] */ 3186 _flag_k = FK_NARROW(FK_DEC, 24); 3187 goto L_2B096E0C; /* 0x2B096DF8: jmp 0x2b096e0c */ 3188 L_2B096DFA: 3189 edx = MEM32(esi + 0x8); /* 0x2B096DFA: mov edx, dword ptr [esi + 8] */ 3190 eax = MEM32(esi); /* 0x2B096DFD: mov eax, dword ptr [esi] */ 3191 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 3192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3193 edx = edx + 2; /* 0x2B096DFF: add edx, 2 */ 3194 _flag_k = FK_ADD; 3195 PUSH32(esp, edx); /* 0x2B096E02: push edx */ 3196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3197 eax = eax - 1; /* 0x2B096E03: dec eax */ 3198 _flag_k = FK_DEC; 3199 PUSH32(esp, eax); /* 0x2B096E04: push eax */ 3200 ecx = edi; /* 0x2B096E05: mov ecx, edi */ 3201 RECOMP_ICALL(0x2B0663D0u); /* 0x2B096E07: call 0x2b0663d0 */ /* not lifted */ 3202 RECOMP_FLAGS_IN(); 3203 L_2B096E0C: 3204 edi = MEM32(ebp + (-0x4)); /* 0x2B096E0C: mov edi, dword ptr [ebp - 4] */ 3205 L_2B096E0F: 3206 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3207 eax = 0; /* 0x2B096E0F: xor eax, eax */ 3208 _cf = 0; 3209 _flag_k = FK_TEST; 3210 MEM32(esi) = eax; /* 0x2B096E11: mov dword ptr [esi], eax */ 3211 MEM32(esi + 0x4) = eax; /* 0x2B096E13: mov dword ptr [esi + 4], eax */ 3212 MEM32(esi + 0x8) = eax; /* 0x2B096E16: mov dword ptr [esi + 8], eax */ 3213 eax = MEM32(ebp + (-0x8)); /* 0x2B096E19: mov eax, dword ptr [ebp - 8] */ 3214 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 3215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3216 ebx = ebx + 0x24u; /* 0x2B096E1C: add ebx, 0x24 */ 3217 _flag_k = FK_ADD; 3218 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 3219 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3220 esi = esi + 0x24u; /* 0x2B096E1F: add esi, 0x24 */ 3221 _flag_k = FK_ADD; 3222 /* cmp ebx, eax */ /* 0x2B096E22: cmp ebx, eax */ 3223 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 3224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3225 _flag_k = FK_CMP; 3226 RECOMP_BACKEDGE(); 3227 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096DC4; /* 0x2B096E24: jne 0x2b096dc4 */ 3228 L_2B096E26: 3229 esi = POP32_VAL(esp); /* 0x2B096E26: pop esi */ 3230 ecx = MEM32(edi + 0x8); /* 0x2B096E27: mov ecx, dword ptr [edi + 8] */ 3231 PUSH32(esp, ecx); /* 0x2B096E2A: push ecx */ 3232 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096E2B: call 0x2b0ab1ba */ /* not lifted */ 3233 RECOMP_FLAGS_IN(); 3234 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3235 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3236 esp = esp + 4; /* 0x2B096E30: add esp, 4 */ 3237 _flag_k = FK_ADD; 3238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3239 eax = 0; /* 0x2B096E33: xor eax, eax */ 3240 _cf = 0; 3241 _flag_k = FK_TEST; 3242 MEM32(edi + 0x8) = eax; /* 0x2B096E35: mov dword ptr [edi + 8], eax */ 3243 MEM32(edi + 0xC) = eax; /* 0x2B096E38: mov dword ptr [edi + 0xc], eax */ 3244 MEM32(edi + 0x10) = eax; /* 0x2B096E3B: mov dword ptr [edi + 0x10], eax */ 3245 edi = POP32_VAL(esp); /* 0x2B096E3E: pop edi */ 3246 ebx = POP32_VAL(esp); /* 0x2B096E3F: pop ebx */ 3247 esp = ebp; /* 0x2B096E40: mov esp, ebp */ 3248 ebp = POP32_VAL(esp); /* 0x2B096E42: pop ebp */ 3249 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096E43: ret */ 3250 RECOMP_REGS_OUT(); 3251 } 3252 3253 void sub_2B096E0F(void) { 3254 int _fpu_cmp = 0; 3255 uint32_t _cf = 0; 3256 int _df = 1; 3257 uint32_t _flag_k = FK_NONE; 3258 uint32_t _flag_a = 0, _flag_b = 0; 3259 uint32_t _itail_tgt = 0; 3260 RECOMP_REGS_LOCALS 3261 RECOMP_ENTER(0x2B096E0Fu); 3262 3263 goto L_2B096E0F; 3264 L_2B096DC4: 3265 eax = MEM32(esi); /* 0x2B096DC4: mov eax, dword ptr [esi] */ 3266 /* test eax, eax */ /* 0x2B096DC6: test eax, eax */ 3267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3268 _cf = 0; 3269 _flag_k = FK_TEST; 3270 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096E0F; /* 0x2B096DC8: je 0x2b096e0f */ 3271 L_2B096DCA: 3272 edi = esi + (-0x4); /* 0x2B096DCA: lea edi, [esi - 4] */ 3273 PUSH32(esp, eax); /* 0x2B096DCD: push eax */ 3274 ecx = edi; /* 0x2B096DCE: mov ecx, edi */ 3275 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DD0: call dword ptr [0x2b0b5184] */ 3276 RECOMP_FLAGS_IN(); 3277 /* cmp MEM8(eax), 0 */ /* 0x2B096DD6: cmp byte ptr [eax], 0 */ 3278 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 3279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3280 _flag_k = FK_NARROW(FK_CMP, 24); 3281 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DD9: je 0x2b096dfa */ 3282 L_2B096DDB: 3283 eax = MEM32(esi); /* 0x2B096DDB: mov eax, dword ptr [esi] */ 3284 PUSH32(esp, eax); /* 0x2B096DDD: push eax */ 3285 ecx = edi; /* 0x2B096DDE: mov ecx, edi */ 3286 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DE0: call dword ptr [0x2b0b5184] */ 3287 RECOMP_FLAGS_IN(); 3288 /* cmp MEM8(eax), 0xFFu */ /* 0x2B096DE6: cmp byte ptr [eax], 0xff */ 3289 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3291 _flag_k = FK_NARROW(FK_CMP, 24); 3292 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096DFA; /* 0x2B096DE9: je 0x2b096dfa */ 3293 L_2B096DEB: 3294 ecx = MEM32(esi); /* 0x2B096DEB: mov ecx, dword ptr [esi] */ 3295 PUSH32(esp, ecx); /* 0x2B096DED: push ecx */ 3296 ecx = edi; /* 0x2B096DEE: mov ecx, edi */ 3297 RECOMP_ICALL(MEM32(0x2B0B5184)); /* 0x2B096DF0: call dword ptr [0x2b0b5184] */ 3298 RECOMP_FLAGS_IN(); 3299 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3300 MEM8(eax) = (uint8_t)(MEM8(eax) - 1); /* 0x2B096DF6: dec byte ptr [eax] */ 3301 _flag_k = FK_NARROW(FK_DEC, 24); 3302 goto L_2B096E0C; /* 0x2B096DF8: jmp 0x2b096e0c */ 3303 L_2B096DFA: 3304 edx = MEM32(esi + 0x8); /* 0x2B096DFA: mov edx, dword ptr [esi + 8] */ 3305 eax = MEM32(esi); /* 0x2B096DFD: mov eax, dword ptr [esi] */ 3306 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 3307 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3308 edx = edx + 2; /* 0x2B096DFF: add edx, 2 */ 3309 _flag_k = FK_ADD; 3310 PUSH32(esp, edx); /* 0x2B096E02: push edx */ 3311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3312 eax = eax - 1; /* 0x2B096E03: dec eax */ 3313 _flag_k = FK_DEC; 3314 PUSH32(esp, eax); /* 0x2B096E04: push eax */ 3315 ecx = edi; /* 0x2B096E05: mov ecx, edi */ 3316 RECOMP_ICALL(0x2B0663D0u); /* 0x2B096E07: call 0x2b0663d0 */ /* not lifted */ 3317 RECOMP_FLAGS_IN(); 3318 L_2B096E0C: 3319 edi = MEM32(ebp + (-0x4)); /* 0x2B096E0C: mov edi, dword ptr [ebp - 4] */ 3320 L_2B096E0F: 3321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3322 eax = 0; /* 0x2B096E0F: xor eax, eax */ 3323 _cf = 0; 3324 _flag_k = FK_TEST; 3325 MEM32(esi) = eax; /* 0x2B096E11: mov dword ptr [esi], eax */ 3326 MEM32(esi + 0x4) = eax; /* 0x2B096E13: mov dword ptr [esi + 4], eax */ 3327 MEM32(esi + 0x8) = eax; /* 0x2B096E16: mov dword ptr [esi + 8], eax */ 3328 eax = MEM32(ebp + (-0x8)); /* 0x2B096E19: mov eax, dword ptr [ebp - 8] */ 3329 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 3330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3331 ebx = ebx + 0x24u; /* 0x2B096E1C: add ebx, 0x24 */ 3332 _flag_k = FK_ADD; 3333 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 3334 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3335 esi = esi + 0x24u; /* 0x2B096E1F: add esi, 0x24 */ 3336 _flag_k = FK_ADD; 3337 /* cmp ebx, eax */ /* 0x2B096E22: cmp ebx, eax */ 3338 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 3339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3340 _flag_k = FK_CMP; 3341 RECOMP_BACKEDGE(); 3342 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096DC4; /* 0x2B096E24: jne 0x2b096dc4 */ 3343 L_2B096E26: 3344 esi = POP32_VAL(esp); /* 0x2B096E26: pop esi */ 3345 ecx = MEM32(edi + 0x8); /* 0x2B096E27: mov ecx, dword ptr [edi + 8] */ 3346 PUSH32(esp, ecx); /* 0x2B096E2A: push ecx */ 3347 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096E2B: call 0x2b0ab1ba */ /* not lifted */ 3348 RECOMP_FLAGS_IN(); 3349 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3351 esp = esp + 4; /* 0x2B096E30: add esp, 4 */ 3352 _flag_k = FK_ADD; 3353 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3354 eax = 0; /* 0x2B096E33: xor eax, eax */ 3355 _cf = 0; 3356 _flag_k = FK_TEST; 3357 MEM32(edi + 0x8) = eax; /* 0x2B096E35: mov dword ptr [edi + 8], eax */ 3358 MEM32(edi + 0xC) = eax; /* 0x2B096E38: mov dword ptr [edi + 0xc], eax */ 3359 MEM32(edi + 0x10) = eax; /* 0x2B096E3B: mov dword ptr [edi + 0x10], eax */ 3360 edi = POP32_VAL(esp); /* 0x2B096E3E: pop edi */ 3361 ebx = POP32_VAL(esp); /* 0x2B096E3F: pop ebx */ 3362 esp = ebp; /* 0x2B096E40: mov esp, ebp */ 3363 ebp = POP32_VAL(esp); /* 0x2B096E42: pop ebp */ 3364 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096E43: ret */ 3365 RECOMP_REGS_OUT(); 3366 } 3367 3368 void sub_2B096E50(void) { 3369 int _fpu_cmp = 0; 3370 uint32_t _cf = 0; 3371 int _df = 1; 3372 uint32_t _flag_k = FK_NONE; 3373 uint32_t _flag_a = 0, _flag_b = 0; 3374 uint32_t _itail_tgt = 0; 3375 RECOMP_REGS_LOCALS 3376 RECOMP_ENTER(0x2B096E50u); 3377 3378 L_2B096E50: 3379 PUSH32(esp, ebp); /* 0x2B096E50: push ebp */ 3380 ebp = esp; /* 0x2B096E51: mov ebp, esp */ 3381 PUSH32(esp, esi); /* 0x2B096E53: push esi */ 3382 esi = ecx; /* 0x2B096E54: mov esi, ecx */ 3383 RECOMP_ICALL(0x2B096DA0u); /* 0x2B096E56: call 0x2b096da0 */ /* not lifted */ 3384 RECOMP_FLAGS_IN(); 3385 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B096E5B: test byte ptr [ebp + 8], 1 */ 3386 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 3387 _cf = 0; 3388 _flag_k = FK_NARROW(FK_TEST, 24); 3389 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096E6A; /* 0x2B096E5F: je 0x2b096e6a */ 3390 L_2B096E61: 3391 PUSH32(esp, esi); /* 0x2B096E61: push esi */ 3392 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096E62: call 0x2b0ab1ba */ /* not lifted */ 3393 RECOMP_FLAGS_IN(); 3394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3396 esp = esp + 4; /* 0x2B096E67: add esp, 4 */ 3397 _flag_k = FK_ADD; 3398 L_2B096E6A: 3399 eax = esi; /* 0x2B096E6A: mov eax, esi */ 3400 esi = POP32_VAL(esp); /* 0x2B096E6C: pop esi */ 3401 ebp = POP32_VAL(esp); /* 0x2B096E6D: pop ebp */ 3402 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096E6E: ret 4 */ 3403 RECOMP_REGS_OUT(); 3404 } 3405 3406 void sub_2B096E80(void) { 3407 int _fpu_cmp = 0; 3408 uint32_t _cf = 0; 3409 int _df = 1; 3410 uint32_t _flag_k = FK_NONE; 3411 uint32_t _flag_a = 0, _flag_b = 0; 3412 uint32_t _itail_tgt = 0; 3413 RECOMP_REGS_LOCALS 3414 RECOMP_ENTER(0x2B096E80u); 3415 3416 L_2B096E80: 3417 PUSH32(esp, ebp); /* 0x2B096E80: push ebp */ 3418 ebp = esp; /* 0x2B096E81: mov ebp, esp */ 3419 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096E83: push -1 */ 3420 PUSH32(esp, 0x2B0B318Bu); /* 0x2B096E85: push 0x2b0b318b */ 3421 eax = MEM32(FS_BASE + (0)); /* 0x2B096E8A: mov eax, dword ptr fs:[0] */ 3422 PUSH32(esp, eax); /* 0x2B096E90: push eax */ 3423 MEM32(FS_BASE + (0)) = esp; /* 0x2B096E91: mov dword ptr fs:[0], esp */ 3424 PUSH32(esp, ecx); /* 0x2B096E98: push ecx */ 3425 PUSH32(esp, ebx); /* 0x2B096E99: push ebx */ 3426 PUSH32(esp, esi); /* 0x2B096E9A: push esi */ 3427 esi = ecx; /* 0x2B096E9B: mov esi, ecx */ 3428 PUSH32(esp, edi); /* 0x2B096E9D: push edi */ 3429 MEM32(ebp + (-0x10)) = esi; /* 0x2B096E9E: mov dword ptr [ebp - 0x10], esi */ 3430 edi = MEM32(esi); /* 0x2B096EA1: mov edi, dword ptr [esi] */ 3431 /* test edi, edi */ /* 0x2B096EA3: test edi, edi */ 3432 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3433 _cf = 0; 3434 _flag_k = FK_TEST; 3435 MEM32(ebp + (-0x4)) = 0; /* 0x2B096EA5: mov dword ptr [ebp - 4], 0 */ 3436 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096EBF; /* 0x2B096EAC: je 0x2b096ebf */ 3437 L_2B096EAE: 3438 ecx = edi; /* 0x2B096EAE: mov ecx, edi */ 3439 RECOMP_ICALL(MEM32(0x2B0B5A00)); /* 0x2B096EB0: call dword ptr [0x2b0b5a00] */ 3440 RECOMP_FLAGS_IN(); 3441 PUSH32(esp, edi); /* 0x2B096EB6: push edi */ 3442 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096EB7: call 0x2b0ab1ba */ /* not lifted */ 3443 RECOMP_FLAGS_IN(); 3444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3446 esp = esp + 4; /* 0x2B096EBC: add esp, 4 */ 3447 _flag_k = FK_ADD; 3448 L_2B096EBF: 3449 edi = MEM32(esi + 0x4); /* 0x2B096EBF: mov edi, dword ptr [esi + 4] */ 3450 /* test edi, edi */ /* 0x2B096EC2: test edi, edi */ 3451 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3452 _cf = 0; 3453 _flag_k = FK_TEST; 3454 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096ED7; /* 0x2B096EC4: je 0x2b096ed7 */ 3455 L_2B096EC6: 3456 ecx = edi; /* 0x2B096EC6: mov ecx, edi */ 3457 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B096EC8: call dword ptr [0x2b0b5b2c] */ 3458 RECOMP_FLAGS_IN(); 3459 PUSH32(esp, edi); /* 0x2B096ECE: push edi */ 3460 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096ECF: call 0x2b0ab1ba */ /* not lifted */ 3461 RECOMP_FLAGS_IN(); 3462 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3463 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3464 esp = esp + 4; /* 0x2B096ED4: add esp, 4 */ 3465 _flag_k = FK_ADD; 3466 L_2B096ED7: 3467 ecx = MEM32(esi + 0xC); /* 0x2B096ED7: mov ecx, dword ptr [esi + 0xc] */ 3468 /* test ecx, ecx */ /* 0x2B096EDA: test ecx, ecx */ 3469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3470 _cf = 0; 3471 _flag_k = FK_TEST; 3472 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096EE4; /* 0x2B096EDC: je 0x2b096ee4 */ 3473 L_2B096EDE: 3474 eax = MEM32(ecx); /* 0x2B096EDE: mov eax, dword ptr [ecx] */ 3475 PUSH32(esp, 1); /* 0x2B096EE0: push 1 */ 3476 RECOMP_ICALL(MEM32(eax)); /* 0x2B096EE2: call dword ptr [eax] */ 3477 RECOMP_FLAGS_IN(); 3478 L_2B096EE4: 3479 edi = MEM32(esi + 0x8); /* 0x2B096EE4: mov edi, dword ptr [esi + 8] */ 3480 /* test edi, edi */ /* 0x2B096EE7: test edi, edi */ 3481 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3482 _cf = 0; 3483 _flag_k = FK_TEST; 3484 ebx = MEM32(0x2B0B5BC4); /* 0x2B096EE9: mov ebx, dword ptr [0x2b0b5bc4] */ 3485 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096EFE; /* 0x2B096EEF: je 0x2b096efe */ 3486 L_2B096EF1: 3487 ecx = edi; /* 0x2B096EF1: mov ecx, edi */ 3488 RECOMP_ICALL(ebx); /* 0x2B096EF3: call ebx */ 3489 RECOMP_FLAGS_IN(); 3490 PUSH32(esp, edi); /* 0x2B096EF5: push edi */ 3491 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096EF6: call 0x2b0ab1ba */ /* not lifted */ 3492 RECOMP_FLAGS_IN(); 3493 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3494 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3495 esp = esp + 4; /* 0x2B096EFB: add esp, 4 */ 3496 _flag_k = FK_ADD; 3497 L_2B096EFE: 3498 edi = MEM32(esi + 0x10); /* 0x2B096EFE: mov edi, dword ptr [esi + 0x10] */ 3499 /* test edi, edi */ /* 0x2B096F01: test edi, edi */ 3500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3501 _cf = 0; 3502 _flag_k = FK_TEST; 3503 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096F16; /* 0x2B096F03: je 0x2b096f16 */ 3504 L_2B096F05: 3505 ecx = edi; /* 0x2B096F05: mov ecx, edi */ 3506 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B096F07: call dword ptr [0x2b0b5a68] */ 3507 RECOMP_FLAGS_IN(); 3508 PUSH32(esp, edi); /* 0x2B096F0D: push edi */ 3509 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096F0E: call 0x2b0ab1ba */ /* not lifted */ 3510 RECOMP_FLAGS_IN(); 3511 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3512 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3513 esp = esp + 4; /* 0x2B096F13: add esp, 4 */ 3514 _flag_k = FK_ADD; 3515 L_2B096F16: 3516 ecx = MEM32(esi + 0x18); /* 0x2B096F16: mov ecx, dword ptr [esi + 0x18] */ 3517 /* test ecx, ecx */ /* 0x2B096F19: test ecx, ecx */ 3518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3519 _cf = 0; 3520 _flag_k = FK_TEST; 3521 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096F23; /* 0x2B096F1B: je 0x2b096f23 */ 3522 L_2B096F1D: 3523 edx = MEM32(ecx); /* 0x2B096F1D: mov edx, dword ptr [ecx] */ 3524 PUSH32(esp, 1); /* 0x2B096F1F: push 1 */ 3525 RECOMP_ICALL(MEM32(edx)); /* 0x2B096F21: call dword ptr [edx] */ 3526 RECOMP_FLAGS_IN(); 3527 L_2B096F23: 3528 edi = MEM32(esi + 0x14); /* 0x2B096F23: mov edi, dword ptr [esi + 0x14] */ 3529 /* test edi, edi */ /* 0x2B096F26: test edi, edi */ 3530 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3531 _cf = 0; 3532 _flag_k = FK_TEST; 3533 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096F37; /* 0x2B096F28: je 0x2b096f37 */ 3534 L_2B096F2A: 3535 ecx = edi; /* 0x2B096F2A: mov ecx, edi */ 3536 RECOMP_ICALL(ebx); /* 0x2B096F2C: call ebx */ 3537 RECOMP_FLAGS_IN(); 3538 PUSH32(esp, edi); /* 0x2B096F2E: push edi */ 3539 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096F2F: call 0x2b0ab1ba */ /* not lifted */ 3540 RECOMP_FLAGS_IN(); 3541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3543 esp = esp + 4; /* 0x2B096F34: add esp, 4 */ 3544 _flag_k = FK_ADD; 3545 L_2B096F37: 3546 MEM32(esi + 0x34) = 0x2B0B722Cu; /* 0x2B096F37: mov dword ptr [esi + 0x34], 0x2b0b722c */ 3547 eax = MEM32(esi + 0x40); /* 0x2B096F3E: mov eax, dword ptr [esi + 0x40] */ 3548 edi = MEM32(esi + 0x3C); /* 0x2B096F41: mov edi, dword ptr [esi + 0x3c] */ 3549 /* cmp edi, eax */ /* 0x2B096F44: cmp edi, eax */ 3550 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3552 _flag_k = FK_CMP; 3553 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B096F46: mov dword ptr [ebp - 4], 0xffffffff */ 3554 MEM32(ebp + (-0x10)) = eax; /* 0x2B096F4D: mov dword ptr [ebp - 0x10], eax */ 3555 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096F6C; /* 0x2B096F50: je 0x2b096f6c */ 3556 L_2B096F52: 3557 ebx = edi + 0xC; /* 0x2B096F52: lea ebx, [edi + 0xc] */ 3558 L_2B096F55: 3559 PUSH32(esp, 1); /* 0x2B096F55: push 1 */ 3560 ecx = ebx; /* 0x2B096F57: mov ecx, ebx */ 3561 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B096F59: call dword ptr [0x2b0b514c] */ 3562 RECOMP_FLAGS_IN(); 3563 eax = MEM32(ebp + (-0x10)); /* 0x2B096F5F: mov eax, dword ptr [ebp - 0x10] */ 3564 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 3565 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3566 edi = edi + 0x24u; /* 0x2B096F62: add edi, 0x24 */ 3567 _flag_k = FK_ADD; 3568 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 3569 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3570 ebx = ebx + 0x24u; /* 0x2B096F65: add ebx, 0x24 */ 3571 _flag_k = FK_ADD; 3572 /* cmp edi, eax */ /* 0x2B096F68: cmp edi, eax */ 3573 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3575 _flag_k = FK_CMP; 3576 RECOMP_BACKEDGE(); 3577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096F55; /* 0x2B096F6A: jne 0x2b096f55 */ 3578 L_2B096F6C: 3579 eax = MEM32(esi + 0x3C); /* 0x2B096F6C: mov eax, dword ptr [esi + 0x3c] */ 3580 PUSH32(esp, eax); /* 0x2B096F6F: push eax */ 3581 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096F70: call 0x2b0ab1ba */ /* not lifted */ 3582 RECOMP_FLAGS_IN(); 3583 ecx = MEM32(ebp + (-0xC)); /* 0x2B096F75: mov ecx, dword ptr [ebp - 0xc] */ 3584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3586 esp = esp + 4; /* 0x2B096F78: add esp, 4 */ 3587 _flag_k = FK_ADD; 3588 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3589 eax = 0; /* 0x2B096F7B: xor eax, eax */ 3590 _cf = 0; 3591 _flag_k = FK_TEST; 3592 edi = POP32_VAL(esp); /* 0x2B096F7D: pop edi */ 3593 MEM32(esi + 0x3C) = eax; /* 0x2B096F7E: mov dword ptr [esi + 0x3c], eax */ 3594 MEM32(esi + 0x40) = eax; /* 0x2B096F81: mov dword ptr [esi + 0x40], eax */ 3595 MEM32(esi + 0x44) = eax; /* 0x2B096F84: mov dword ptr [esi + 0x44], eax */ 3596 esi = POP32_VAL(esp); /* 0x2B096F87: pop esi */ 3597 ebx = POP32_VAL(esp); /* 0x2B096F88: pop ebx */ 3598 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096F89: mov dword ptr fs:[0], ecx */ 3599 esp = ebp; /* 0x2B096F90: mov esp, ebp */ 3600 ebp = POP32_VAL(esp); /* 0x2B096F92: pop ebp */ 3601 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096F93: ret */ 3602 RECOMP_REGS_OUT(); 3603 } 3604 3605 void sub_2B096FA0(void) { 3606 int _fpu_cmp = 0; 3607 uint32_t _cf = 0; 3608 int _df = 1; 3609 uint32_t _flag_k = FK_NONE; 3610 uint32_t _flag_a = 0, _flag_b = 0; 3611 uint32_t _itail_tgt = 0; 3612 RECOMP_REGS_LOCALS 3613 RECOMP_ENTER(0x2B096FA0u); 3614 3615 L_2B096FA0: 3616 PUSH32(esp, ebp); /* 0x2B096FA0: push ebp */ 3617 ebp = esp; /* 0x2B096FA1: mov ebp, esp */ 3618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3620 esp = esp - 8; /* 0x2B096FA3: sub esp, 8 */ 3621 _flag_k = FK_CMP; 3622 PUSH32(esp, esi); /* 0x2B096FA6: push esi */ 3623 esi = MEM32(ebp + 0x8); /* 0x2B096FA7: mov esi, dword ptr [ebp + 8] */ 3624 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3625 eax = 0; /* 0x2B096FAA: xor eax, eax */ 3626 _cf = 0; 3627 _flag_k = FK_TEST; 3628 /* cmp esi, eax */ /* 0x2B096FAC: cmp esi, eax */ 3629 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3631 _flag_k = FK_CMP; 3632 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096FCF; /* 0x2B096FAE: je 0x2b096fcf */ 3633 L_2B096FB0: 3634 ecx = ebp + (-0x8); /* 0x2B096FB0: lea ecx, [ebp - 8] */ 3635 PUSH32(esp, ecx); /* 0x2B096FB3: push ecx */ 3636 PUSH32(esp, eax); /* 0x2B096FB4: push eax */ 3637 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096FB5: push -1 */ 3638 MEM32(ebp + (-0x8)) = eax; /* 0x2B096FB7: mov dword ptr [ebp - 8], eax */ 3639 MEM32(ebp + (-0x4)) = eax; /* 0x2B096FBA: mov dword ptr [ebp - 4], eax */ 3640 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B096FBD: call dword ptr [0x2b0b5d6c] */ 3641 RECOMP_FLAGS_IN(); 3642 ecx = eax; /* 0x2B096FC3: mov ecx, eax */ 3643 RECOMP_ICALL(MEM32(0x2B0B5CF4)); /* 0x2B096FC5: call dword ptr [0x2b0b5cf4] */ 3644 RECOMP_FLAGS_IN(); 3645 MEM8(esi + 0x30) = (uint8_t)(1); /* 0x2B096FCB: mov byte ptr [esi + 0x30], 1 */ 3646 L_2B096FCF: 3647 esi = POP32_VAL(esp); /* 0x2B096FCF: pop esi */ 3648 esp = ebp; /* 0x2B096FD0: mov esp, ebp */ 3649 ebp = POP32_VAL(esp); /* 0x2B096FD2: pop ebp */ 3650 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096FD3: ret */ 3651 RECOMP_REGS_OUT(); 3652 } 3653 3654 void sub_2B096FE0(void) { 3655 int _fpu_cmp = 0; 3656 uint32_t _cf = 0; 3657 int _df = 1; 3658 uint32_t _flag_k = FK_NONE; 3659 uint32_t _flag_a = 0, _flag_b = 0; 3660 uint32_t _itail_tgt = 0; 3661 RECOMP_REGS_LOCALS 3662 RECOMP_ENTER(0x2B096FE0u); 3663 3664 L_2B096FE0: 3665 PUSH32(esp, ebp); /* 0x2B096FE0: push ebp */ 3666 ebp = esp; /* 0x2B096FE1: mov ebp, esp */ 3667 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096FE3: push -1 */ 3668 PUSH32(esp, 0x2B0B31EDu); /* 0x2B096FE5: push 0x2b0b31ed */ 3669 eax = MEM32(FS_BASE + (0)); /* 0x2B096FEA: mov eax, dword ptr fs:[0] */ 3670 PUSH32(esp, eax); /* 0x2B096FF0: push eax */ 3671 MEM32(FS_BASE + (0)) = esp; /* 0x2B096FF1: mov dword ptr fs:[0], esp */ 3672 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x80u); 3673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3674 esp = esp - 0x80u; /* 0x2B096FF8: sub esp, 0x80 */ 3675 _flag_k = FK_CMP; 3676 PUSH32(esp, ebx); /* 0x2B096FFE: push ebx */ 3677 PUSH32(esp, esi); /* 0x2B096FFF: push esi */ 3678 PUSH32(esp, edi); /* 0x2B097000: push edi */ 3679 PUSH32(esp, 0x40u); /* 0x2B097001: push 0x40 */ 3680 esi = ecx; /* 0x2B097003: mov esi, ecx */ 3681 MEM32(ebp + (-0x44)) = 0x6Bu; /* 0x2B097005: mov dword ptr [ebp - 0x44], 0x6b */ 3682 MEM32(ebp + (-0x40)) = 0x6Cu; /* 0x2B09700C: mov dword ptr [ebp - 0x40], 0x6c */ 3683 MEM32(ebp + (-0x48)) = 0x6Du; /* 0x2B097013: mov dword ptr [ebp - 0x48], 0x6d */ 3684 MEM32(ebp + (-0x4C)) = 0x6Eu; /* 0x2B09701A: mov dword ptr [ebp - 0x4c], 0x6e */ 3685 MEM32(ebp + (-0x50)) = 0x6Fu; /* 0x2B097021: mov dword ptr [ebp - 0x50], 0x6f */ 3686 MEM32(ebp + (-0x54)) = 0x70u; /* 0x2B097028: mov dword ptr [ebp - 0x54], 0x70 */ 3687 MEM32(ebp + (-0x5C)) = 0x71u; /* 0x2B09702F: mov dword ptr [ebp - 0x5c], 0x71 */ 3688 MEM32(ebp + (-0x58)) = 0x72u; /* 0x2B097036: mov dword ptr [ebp - 0x58], 0x72 */ 3689 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09703D: call 0x2b0ab212 */ /* not lifted */ 3690 RECOMP_FLAGS_IN(); 3691 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3692 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3693 esp = esp + 4; /* 0x2B097042: add esp, 4 */ 3694 _flag_k = FK_ADD; 3695 MEM32(ebp + (-0x10)) = eax; /* 0x2B097045: mov dword ptr [ebp - 0x10], eax */ 3696 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3697 edi = 0; /* 0x2B097048: xor edi, edi */ 3698 _cf = 0; 3699 _flag_k = FK_TEST; 3700 /* cmp eax, edi */ /* 0x2B09704A: cmp eax, edi */ 3701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3703 _flag_k = FK_CMP; 3704 MEM32(ebp + (-0x4)) = edi; /* 0x2B09704C: mov dword ptr [ebp - 4], edi */ 3705 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097069; /* 0x2B09704F: je 0x2b097069 */ 3706 L_2B097051: 3707 ecx = MEM32(esi + 0x2C); /* 0x2B097051: mov ecx, dword ptr [esi + 0x2c] */ 3708 PUSH32(esp, ecx); /* 0x2B097054: push ecx */ 3709 PUSH32(esp, esi); /* 0x2B097055: push esi */ 3710 PUSH32(esp, 0x2B097510u); /* 0x2B097056: push 0x2b097510 */ 3711 edx = ebp + (-0x5C); /* 0x2B09705B: lea edx, [ebp - 0x5c] */ 3712 PUSH32(esp, edx); /* 0x2B09705E: push edx */ 3713 ecx = eax; /* 0x2B09705F: mov ecx, eax */ 3714 RECOMP_ICALL(MEM32(0x2B0B59F4)); /* 0x2B097061: call dword ptr [0x2b0b59f4] */ 3715 RECOMP_FLAGS_IN(); 3716 goto L_2B09706B; /* 0x2B097067: jmp 0x2b09706b */ 3717 L_2B097069: 3718 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3719 eax = 0; /* 0x2B097069: xor eax, eax */ 3720 _cf = 0; 3721 _flag_k = FK_TEST; 3722 L_2B09706B: 3723 MEM32(esi) = eax; /* 0x2B09706B: mov dword ptr [esi], eax */ 3724 eax = MEM32(eax + 0x3C); /* 0x2B09706D: mov eax, dword ptr [eax + 0x3c] */ 3725 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 3726 ebx = ebx | 0xFFFFFFFFu; /* 0x2B097070: or ebx, 0xffffffff */ 3727 _cf = 0; 3728 _flag_k = FK_TEST; 3729 PUSH32(esp, 0x14u); /* 0x2B097073: push 0x14 */ 3730 MEM32(ebp + (-0x4)) = ebx; /* 0x2B097075: mov dword ptr [ebp - 4], ebx */ 3731 MEM32(eax + 0x90) = 0x2B097540u; /* 0x2B097078: mov dword ptr [eax + 0x90], 0x2b097540 */ 3732 MEM32(eax + 0x94) = esi; /* 0x2B097082: mov dword ptr [eax + 0x94], esi */ 3733 RECOMP_ICALL(0x2B0AB212u); /* 0x2B097088: call 0x2b0ab212 */ /* not lifted */ 3734 RECOMP_FLAGS_IN(); 3735 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3736 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3737 esp = esp + 4; /* 0x2B09708D: add esp, 4 */ 3738 _flag_k = FK_ADD; 3739 MEM32(ebp + (-0x10)) = eax; /* 0x2B097090: mov dword ptr [ebp - 0x10], eax */ 3740 /* cmp eax, edi */ /* 0x2B097093: cmp eax, edi */ 3741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3743 _flag_k = FK_CMP; 3744 MEM32(ebp + (-0x4)) = 1; /* 0x2B097095: mov dword ptr [ebp - 4], 1 */ 3745 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0970AC; /* 0x2B09709C: je 0x2b0970ac */ 3746 L_2B09709E: 3747 ecx = MEM32(esi + 0x2C); /* 0x2B09709E: mov ecx, dword ptr [esi + 0x2c] */ 3748 PUSH32(esp, ecx); /* 0x2B0970A1: push ecx */ 3749 ecx = eax; /* 0x2B0970A2: mov ecx, eax */ 3750 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B0970A4: call dword ptr [0x2b0b5b10] */ 3751 RECOMP_FLAGS_IN(); 3752 goto L_2B0970AE; /* 0x2B0970AA: jmp 0x2b0970ae */ 3753 L_2B0970AC: 3754 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3755 eax = 0; /* 0x2B0970AC: xor eax, eax */ 3756 _cf = 0; 3757 _flag_k = FK_TEST; 3758 L_2B0970AE: 3759 PUSH32(esp, 0x00666666u); /* 0x2B0970AE: push 0x666666 */ 3760 ecx = eax; /* 0x2B0970B3: mov ecx, eax */ 3761 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0970B5: mov dword ptr [ebp - 4], ebx */ 3762 MEM32(esi + 0x4) = eax; /* 0x2B0970B8: mov dword ptr [esi + 4], eax */ 3763 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B0970BB: call dword ptr [0x2b0b5b0c] */ 3764 RECOMP_FLAGS_IN(); 3765 ecx = MEM32(esi + 0x4); /* 0x2B0970C1: mov ecx, dword ptr [esi + 4] */ 3766 PUSH32(esp, 0xE6u); /* 0x2B0970C4: push 0xe6 */ 3767 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B0970C9: call dword ptr [0x2b0b5b08] */ 3768 RECOMP_FLAGS_IN(); 3769 edx = MEM32(esi + 0x2C); /* 0x2B0970CF: mov edx, dword ptr [esi + 0x2c] */ 3770 MEM32(ebp + (-0x2C)) = edi; /* 0x2B0970D2: mov dword ptr [ebp - 0x2c], edi */ 3771 MEM32(ebp + (-0x28)) = edi; /* 0x2B0970D5: mov dword ptr [ebp - 0x28], edi */ 3772 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3773 eax = 0; /* 0x2B0970D8: xor eax, eax */ 3774 _cf = 0; 3775 _flag_k = FK_TEST; 3776 ecx = 0xCu; /* 0x2B0970DA: mov ecx, 0xc */ 3777 edi = ebp + (-0x8C); /* 0x2B0970DF: lea edi, [ebp - 0x8c] */ 3778 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0970E5: 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; } 3779 PUSH32(esp, 2); /* 0x2B0970E7: push 2 */ 3780 eax = ebp + (-0x14); /* 0x2B0970E9: lea eax, [ebp - 0x14] */ 3781 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3782 edx = edx + 1; /* 0x2B0970EC: inc edx */ 3783 _flag_k = FK_INC; 3784 PUSH32(esp, 0x47u); /* 0x2B0970ED: push 0x47 */ 3785 PUSH32(esp, eax); /* 0x2B0970EF: push eax */ 3786 MEM32(ebp + (-0x74)) = edx; /* 0x2B0970F0: mov dword ptr [ebp - 0x74], edx */ 3787 MEM32(ebp + (-0x6C)) = 0x47u; /* 0x2B0970F3: mov dword ptr [ebp - 0x6c], 0x47 */ 3788 MEM32(ebp + (-0x68)) = 0x48u; /* 0x2B0970FA: mov dword ptr [ebp - 0x68], 0x48 */ 3789 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B097101: call dword ptr [0x2b0b5f80] */ 3790 RECOMP_FLAGS_IN(); 3791 ecx = eax; /* 0x2B097107: mov ecx, eax */ 3792 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B097109: call dword ptr [0x2b0b5f7c] */ 3793 RECOMP_FLAGS_IN(); 3794 ecx = MEM32(eax); /* 0x2B09710F: mov ecx, dword ptr [eax] */ 3795 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B097111: mov dword ptr [ebp - 0x1c], ecx */ 3796 edx = MEM32(eax + 0x4); /* 0x2B097114: mov edx, dword ptr [eax + 4] */ 3797 PUSH32(esp, 0x50u); /* 0x2B097117: push 0x50 */ 3798 MEM32(ebp + (-0x18)) = edx; /* 0x2B097119: mov dword ptr [ebp - 0x18], edx */ 3799 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09711C: call 0x2b0ab212 */ /* not lifted */ 3800 RECOMP_FLAGS_IN(); 3801 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3802 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3803 esp = esp + 4; /* 0x2B097121: add esp, 4 */ 3804 _flag_k = FK_ADD; 3805 MEM32(ebp + (-0x10)) = eax; /* 0x2B097124: mov dword ptr [ebp - 0x10], eax */ 3806 /* test eax, eax */ /* 0x2B097127: test eax, eax */ 3807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3808 _cf = 0; 3809 _flag_k = FK_TEST; 3810 MEM32(ebp + (-0x4)) = 2; /* 0x2B097129: mov dword ptr [ebp - 4], 2 */ 3811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097159; /* 0x2B097130: je 0x2b097159 */ 3812 L_2B097132: 3813 ecx = MEM32(esi + 0x2C); /* 0x2B097132: mov ecx, dword ptr [esi + 0x2c] */ 3814 PUSH32(esp, 0); /* 0x2B097135: push 0 */ 3815 PUSH32(esp, 0x3F800000u); /* 0x2B097137: push 0x3f800000 */ 3816 PUSH32(esp, 0x3F800000u); /* 0x2B09713C: push 0x3f800000 */ 3817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 3818 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3819 ecx = ecx + 2; /* 0x2B097141: add ecx, 2 */ 3820 _flag_k = FK_ADD; 3821 PUSH32(esp, ecx); /* 0x2B097144: push ecx */ 3822 edx = ebp + (-0x2C); /* 0x2B097145: lea edx, [ebp - 0x2c] */ 3823 PUSH32(esp, edx); /* 0x2B097148: push edx */ 3824 ecx = ebp + (-0x1C); /* 0x2B097149: lea ecx, [ebp - 0x1c] */ 3825 PUSH32(esp, ecx); /* 0x2B09714C: push ecx */ 3826 PUSH32(esp, ebx); /* 0x2B09714D: push ebx */ 3827 PUSH32(esp, ebx); /* 0x2B09714E: push ebx */ 3828 ecx = eax; /* 0x2B09714F: mov ecx, eax */ 3829 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B097151: call dword ptr [0x2b0b5bd8] */ 3830 RECOMP_FLAGS_IN(); 3831 goto L_2B09715B; /* 0x2B097157: jmp 0x2b09715b */ 3832 L_2B097159: 3833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3834 eax = 0; /* 0x2B097159: xor eax, eax */ 3835 _cf = 0; 3836 _flag_k = FK_TEST; 3837 L_2B09715B: 3838 PUSH32(esp, 1); /* 0x2B09715B: push 1 */ 3839 MEM32(esi + 0x8) = eax; /* 0x2B09715D: mov dword ptr [esi + 8], eax */ 3840 eax = MEM32(eax + 0x28); /* 0x2B097160: mov eax, dword ptr [eax + 0x28] */ 3841 PUSH32(esp, 0); /* 0x2B097163: push 0 */ 3842 PUSH32(esp, 0); /* 0x2B097165: push 0 */ 3843 ecx = eax; /* 0x2B097167: mov ecx, eax */ 3844 MEM32(ebp + (-0x4)) = ebx; /* 0x2B097169: mov dword ptr [ebp - 4], ebx */ 3845 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B09716C: call dword ptr [0x2b0b564c] */ 3846 RECOMP_FLAGS_IN(); 3847 PUSH32(esp, 0xBCu); /* 0x2B097172: push 0xbc */ 3848 RECOMP_ICALL(0x2B0AB212u); /* 0x2B097177: call 0x2b0ab212 */ /* not lifted */ 3849 RECOMP_FLAGS_IN(); 3850 edi = eax; /* 0x2B09717C: mov edi, eax */ 3851 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3853 esp = esp + 4; /* 0x2B09717E: add esp, 4 */ 3854 _flag_k = FK_ADD; 3855 MEM32(ebp + (-0x10)) = edi; /* 0x2B097181: mov dword ptr [ebp - 0x10], edi */ 3856 /* test edi, edi */ /* 0x2B097184: test edi, edi */ 3857 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3858 _cf = 0; 3859 _flag_k = FK_TEST; 3860 MEM32(ebp + (-0x4)) = 3; /* 0x2B097186: mov dword ptr [ebp - 4], 3 */ 3861 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0971AC; /* 0x2B09718D: je 0x2b0971ac */ 3862 L_2B09718F: 3863 edx = MEM32(esi + 0x8); /* 0x2B09718F: mov edx, dword ptr [esi + 8] */ 3864 PUSH32(esp, edx); /* 0x2B097192: push edx */ 3865 eax = ebp + (-0x8C); /* 0x2B097193: lea eax, [ebp - 0x8c] */ 3866 PUSH32(esp, eax); /* 0x2B097199: push eax */ 3867 ecx = edi; /* 0x2B09719A: mov ecx, edi */ 3868 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B09719C: call dword ptr [0x2b0b5afc] */ 3869 RECOMP_FLAGS_IN(); 3870 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0971A2: mov dword ptr [edi], 0x2b0b645c */ 3871 ecx = edi; /* 0x2B0971A8: mov ecx, edi */ 3872 goto L_2B0971AE; /* 0x2B0971AA: jmp 0x2b0971ae */ 3873 L_2B0971AC: 3874 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3875 ecx = 0; /* 0x2B0971AC: xor ecx, ecx */ 3876 _cf = 0; 3877 _flag_k = FK_TEST; 3878 L_2B0971AE: 3879 PUSH32(esp, esi); /* 0x2B0971AE: push esi */ 3880 PUSH32(esp, 0x2B096FA0u); /* 0x2B0971AF: push 0x2b096fa0 */ 3881 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0971B4: mov dword ptr [ebp - 4], ebx */ 3882 MEM32(esi + 0xC) = ecx; /* 0x2B0971B7: mov dword ptr [esi + 0xc], ecx */ 3883 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B0971BA: call dword ptr [0x2b0b5820] */ 3884 RECOMP_FLAGS_IN(); 3885 PUSH32(esp, 2); /* 0x2B0971C0: push 2 */ 3886 ecx = ebp + (-0x14); /* 0x2B0971C2: lea ecx, [ebp - 0x14] */ 3887 PUSH32(esp, 0x79u); /* 0x2B0971C5: push 0x79 */ 3888 PUSH32(esp, ecx); /* 0x2B0971C7: push ecx */ 3889 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B0971C8: call dword ptr [0x2b0b5f80] */ 3890 RECOMP_FLAGS_IN(); 3891 ecx = eax; /* 0x2B0971CE: mov ecx, eax */ 3892 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B0971D0: call dword ptr [0x2b0b5f7c] */ 3893 RECOMP_FLAGS_IN(); 3894 edx = MEM32(eax); /* 0x2B0971D6: mov edx, dword ptr [eax] */ 3895 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0971D8: mov dword ptr [ebp - 0x1c], edx */ 3896 eax = MEM32(eax + 0x4); /* 0x2B0971DB: mov eax, dword ptr [eax + 4] */ 3897 PUSH32(esp, 0x50u); /* 0x2B0971DE: push 0x50 */ 3898 MEM32(ebp + (-0x18)) = eax; /* 0x2B0971E0: mov dword ptr [ebp - 0x18], eax */ 3899 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0971E3: call 0x2b0ab212 */ /* not lifted */ 3900 RECOMP_FLAGS_IN(); 3901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3903 esp = esp + 4; /* 0x2B0971E8: add esp, 4 */ 3904 _flag_k = FK_ADD; 3905 MEM32(ebp + (-0x10)) = eax; /* 0x2B0971EB: mov dword ptr [ebp - 0x10], eax */ 3906 /* test eax, eax */ /* 0x2B0971EE: test eax, eax */ 3907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3908 _cf = 0; 3909 _flag_k = FK_TEST; 3910 MEM32(ebp + (-0x4)) = 4; /* 0x2B0971F0: mov dword ptr [ebp - 4], 4 */ 3911 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097220; /* 0x2B0971F7: je 0x2b097220 */ 3912 L_2B0971F9: 3913 ecx = MEM32(esi + 0x2C); /* 0x2B0971F9: mov ecx, dword ptr [esi + 0x2c] */ 3914 PUSH32(esp, 0); /* 0x2B0971FC: push 0 */ 3915 PUSH32(esp, 0x3F800000u); /* 0x2B0971FE: push 0x3f800000 */ 3916 PUSH32(esp, 0x3F800000u); /* 0x2B097203: push 0x3f800000 */ 3917 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3918 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3919 ecx = ecx + 3; /* 0x2B097208: add ecx, 3 */ 3920 _flag_k = FK_ADD; 3921 PUSH32(esp, ecx); /* 0x2B09720B: push ecx */ 3922 edx = ebp + (-0x2C); /* 0x2B09720C: lea edx, [ebp - 0x2c] */ 3923 PUSH32(esp, edx); /* 0x2B09720F: push edx */ 3924 ecx = ebp + (-0x1C); /* 0x2B097210: lea ecx, [ebp - 0x1c] */ 3925 PUSH32(esp, ecx); /* 0x2B097213: push ecx */ 3926 PUSH32(esp, ebx); /* 0x2B097214: push ebx */ 3927 PUSH32(esp, ebx); /* 0x2B097215: push ebx */ 3928 ecx = eax; /* 0x2B097216: mov ecx, eax */ 3929 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B097218: call dword ptr [0x2b0b5bd8] */ 3930 RECOMP_FLAGS_IN(); 3931 goto L_2B097222; /* 0x2B09721E: jmp 0x2b097222 */ 3932 L_2B097220: 3933 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3934 eax = 0; /* 0x2B097220: xor eax, eax */ 3935 _cf = 0; 3936 _flag_k = FK_TEST; 3937 L_2B097222: 3938 PUSH32(esp, 1); /* 0x2B097222: push 1 */ 3939 MEM32(esi + 0x14) = eax; /* 0x2B097224: mov dword ptr [esi + 0x14], eax */ 3940 eax = MEM32(eax + 0x28); /* 0x2B097227: mov eax, dword ptr [eax + 0x28] */ 3941 PUSH32(esp, 0); /* 0x2B09722A: push 0 */ 3942 PUSH32(esp, 0); /* 0x2B09722C: push 0 */ 3943 ecx = eax; /* 0x2B09722E: mov ecx, eax */ 3944 MEM32(ebp + (-0x4)) = ebx; /* 0x2B097230: mov dword ptr [ebp - 4], ebx */ 3945 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B097233: call dword ptr [0x2b0b564c] */ 3946 RECOMP_FLAGS_IN(); 3947 ecx = MEM32(esi + 0x14); /* 0x2B097239: mov ecx, dword ptr [esi + 0x14] */ 3948 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B09723C: call dword ptr [0x2b0b5bdc] */ 3949 RECOMP_FLAGS_IN(); 3950 edx = MEM32(esi + 0x2C); /* 0x2B097242: mov edx, dword ptr [esi + 0x2c] */ 3951 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 3952 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3953 edx = edx + 3; /* 0x2B097245: add edx, 3 */ 3954 _flag_k = FK_ADD; 3955 PUSH32(esp, 0xBCu); /* 0x2B097248: push 0xbc */ 3956 MEM32(ebp + (-0x6C)) = 0x79u; /* 0x2B09724D: mov dword ptr [ebp - 0x6c], 0x79 */ 3957 MEM32(ebp + (-0x68)) = 0x7Au; /* 0x2B097254: mov dword ptr [ebp - 0x68], 0x7a */ 3958 MEM32(ebp + (-0x74)) = edx; /* 0x2B09725B: mov dword ptr [ebp - 0x74], edx */ 3959 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09725E: call 0x2b0ab212 */ /* not lifted */ 3960 RECOMP_FLAGS_IN(); 3961 edi = eax; /* 0x2B097263: mov edi, eax */ 3962 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3963 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3964 esp = esp + 4; /* 0x2B097265: add esp, 4 */ 3965 _flag_k = FK_ADD; 3966 MEM32(ebp + (-0x10)) = edi; /* 0x2B097268: mov dword ptr [ebp - 0x10], edi */ 3967 /* test edi, edi */ /* 0x2B09726B: test edi, edi */ 3968 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3969 _cf = 0; 3970 _flag_k = FK_TEST; 3971 MEM32(ebp + (-0x4)) = 5; /* 0x2B09726D: mov dword ptr [ebp - 4], 5 */ 3972 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097293; /* 0x2B097274: je 0x2b097293 */ 3973 L_2B097276: 3974 eax = MEM32(esi + 0x14); /* 0x2B097276: mov eax, dword ptr [esi + 0x14] */ 3975 PUSH32(esp, eax); /* 0x2B097279: push eax */ 3976 ecx = ebp + (-0x8C); /* 0x2B09727A: lea ecx, [ebp - 0x8c] */ 3977 PUSH32(esp, ecx); /* 0x2B097280: push ecx */ 3978 ecx = edi; /* 0x2B097281: mov ecx, edi */ 3979 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B097283: call dword ptr [0x2b0b5afc] */ 3980 RECOMP_FLAGS_IN(); 3981 MEM32(edi) = 0x2B0B645Cu; /* 0x2B097289: mov dword ptr [edi], 0x2b0b645c */ 3982 ecx = edi; /* 0x2B09728F: mov ecx, edi */ 3983 goto L_2B097295; /* 0x2B097291: jmp 0x2b097295 */ 3984 L_2B097293: 3985 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3986 ecx = 0; /* 0x2B097293: xor ecx, ecx */ 3987 _cf = 0; 3988 _flag_k = FK_TEST; 3989 L_2B097295: 3990 PUSH32(esp, esi); /* 0x2B097295: push esi */ 3991 PUSH32(esp, 0x2B096FA0u); /* 0x2B097296: push 0x2b096fa0 */ 3992 MEM32(ebp + (-0x4)) = ebx; /* 0x2B09729B: mov dword ptr [ebp - 4], ebx */ 3993 MEM32(esi + 0x18) = ecx; /* 0x2B09729E: mov dword ptr [esi + 0x18], ecx */ 3994 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B0972A1: call dword ptr [0x2b0b5820] */ 3995 RECOMP_FLAGS_IN(); 3996 PUSH32(esp, 0xB4u); /* 0x2B0972A7: push 0xb4 */ 3997 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0972AC: call 0x2b0ab212 */ /* not lifted */ 3998 RECOMP_FLAGS_IN(); 3999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4001 esp = esp + 4; /* 0x2B0972B1: add esp, 4 */ 4002 _flag_k = FK_ADD; 4003 MEM32(ebp + (-0x10)) = eax; /* 0x2B0972B4: mov dword ptr [ebp - 0x10], eax */ 4004 /* test eax, eax */ /* 0x2B0972B7: test eax, eax */ 4005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4006 _cf = 0; 4007 _flag_k = FK_TEST; 4008 MEM32(ebp + (-0x4)) = 6; /* 0x2B0972B9: mov dword ptr [ebp - 4], 6 */ 4009 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0972EE; /* 0x2B0972C0: je 0x2b0972ee */ 4010 L_2B0972C2: 4011 edx = MEM32(esi + 0x2C); /* 0x2B0972C2: mov edx, dword ptr [esi + 0x2c] */ 4012 PUSH32(esp, 0); /* 0x2B0972C5: push 0 */ 4013 PUSH32(esp, 0); /* 0x2B0972C7: push 0 */ 4014 PUSH32(esp, 0); /* 0x2B0972C9: push 0 */ 4015 PUSH32(esp, 0); /* 0x2B0972CB: push 0 */ 4016 PUSH32(esp, 0); /* 0x2B0972CD: push 0 */ 4017 ecx = 0x40u; /* 0x2B0972CF: mov ecx, 0x40 */ 4018 PUSH32(esp, 0); /* 0x2B0972D4: push 0 */ 4019 MEM32(ebp + (-0x34)) = ecx; /* 0x2B0972D6: mov dword ptr [ebp - 0x34], ecx */ 4020 MEM32(ebp + (-0x30)) = ecx; /* 0x2B0972D9: mov dword ptr [ebp - 0x30], ecx */ 4021 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 4022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4023 edx = edx + 2; /* 0x2B0972DC: add edx, 2 */ 4024 _flag_k = FK_ADD; 4025 PUSH32(esp, edx); /* 0x2B0972DF: push edx */ 4026 ecx = ebp + (-0x34); /* 0x2B0972E0: lea ecx, [ebp - 0x34] */ 4027 PUSH32(esp, ecx); /* 0x2B0972E3: push ecx */ 4028 ecx = eax; /* 0x2B0972E4: mov ecx, eax */ 4029 RECOMP_ICALL(MEM32(0x2B0B5A04)); /* 0x2B0972E6: call dword ptr [0x2b0b5a04] */ 4030 RECOMP_FLAGS_IN(); 4031 goto L_2B0972F0; /* 0x2B0972EC: jmp 0x2b0972f0 */ 4032 L_2B0972EE: 4033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4034 eax = 0; /* 0x2B0972EE: xor eax, eax */ 4035 _cf = 0; 4036 _flag_k = FK_TEST; 4037 L_2B0972F0: 4038 MEM32(esi + 0x10) = eax; /* 0x2B0972F0: mov dword ptr [esi + 0x10], eax */ 4039 PUSH32(esp, 0); /* 0x2B0972F3: push 0 */ 4040 MEM32(eax + 0x2C) = 0x2B0977F0u; /* 0x2B0972F5: mov dword ptr [eax + 0x2c], 0x2b0977f0 */ 4041 MEM32(eax + 0x30) = esi; /* 0x2B0972FC: mov dword ptr [eax + 0x30], esi */ 4042 ecx = MEM32(esi + 0x10); /* 0x2B0972FF: mov ecx, dword ptr [esi + 0x10] */ 4043 PUSH32(esp, 0x00FFFF00u); /* 0x2B097302: push 0xffff00 */ 4044 MEM32(ebp + (-0x4)) = ebx; /* 0x2B097307: mov dword ptr [ebp - 4], ebx */ 4045 RECOMP_ICALL(MEM32(0x2B0B57F8)); /* 0x2B09730A: call dword ptr [0x2b0b57f8] */ 4046 RECOMP_FLAGS_IN(); 4047 ecx = MEM32(esi + 0x14); /* 0x2B097310: mov ecx, dword ptr [esi + 0x14] */ 4048 eax = MEM32(ecx + 0x34); /* 0x2B097313: mov eax, dword ptr [ecx + 0x34] */ 4049 ecx = MEM32(ecx + 0x38); /* 0x2B097316: mov ecx, dword ptr [ecx + 0x38] */ 4050 edx = MEM32(esi); /* 0x2B097319: mov edx, dword ptr [esi] */ 4051 edx = MEM32(edx + 0x3C); /* 0x2B09731B: mov edx, dword ptr [edx + 0x3c] */ 4052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x3Cu); 4053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4054 eax = eax + 0x3Cu; /* 0x2B09731E: add eax, 0x3c */ 4055 _flag_k = FK_ADD; 4056 MEM32(edx + 0x6C) = eax; /* 0x2B097321: mov dword ptr [edx + 0x6c], eax */ 4057 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x64u); 4058 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4059 ecx = ecx + 0x64u; /* 0x2B097324: add ecx, 0x64 */ 4060 _flag_k = FK_ADD; 4061 MEM32(edx + 0x70) = ecx; /* 0x2B097327: mov dword ptr [edx + 0x70], ecx */ 4062 eax = ebp + (-0x24); /* 0x2B09732A: lea eax, [ebp - 0x24] */ 4063 PUSH32(esp, eax); /* 0x2B09732D: push eax */ 4064 ecx = esi; /* 0x2B09732E: mov ecx, esi */ 4065 MEM32(ebp + (-0x24)) = 0x15Eu; /* 0x2B097330: mov dword ptr [ebp - 0x24], 0x15e */ 4066 MEM32(ebp + (-0x20)) = 0xB4u; /* 0x2B097337: mov dword ptr [ebp - 0x20], 0xb4 */ 4067 RECOMP_ICALL(0x2B097480u); /* 0x2B09733E: call 0x2b097480 */ /* not lifted */ 4068 RECOMP_FLAGS_IN(); 4069 edi = MEM32(0x2B0B5690); /* 0x2B097343: mov edi, dword ptr [0x2b0b5690] */ 4070 RECOMP_ICALL(edi); /* 0x2B097349: call edi */ 4071 RECOMP_FLAGS_IN(); 4072 ecx = eax; /* 0x2B09734B: mov ecx, eax */ 4073 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B09734D: call dword ptr [0x2b0b5688] */ 4074 RECOMP_FLAGS_IN(); 4075 ebx = eax; /* 0x2B097353: mov ebx, eax */ 4076 RECOMP_ICALL(edi); /* 0x2B097355: call edi */ 4077 RECOMP_FLAGS_IN(); 4078 ecx = eax; /* 0x2B097357: mov ecx, eax */ 4079 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B097359: call dword ptr [0x2b0b568c] */ 4080 RECOMP_FLAGS_IN(); 4081 ecx = eax; /* 0x2B09735F: mov ecx, eax */ 4082 eax = ebx; /* 0x2B097361: mov eax, ebx */ 4083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 4084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4085 eax = eax - MEM32(ebp + (-0x24)); /* 0x2B097363: sub eax, dword ptr [ebp - 0x24] */ 4086 _flag_k = FK_CMP; 4087 ebx = MEM32(ebp + (-0x20)); /* 0x2B097366: mov ebx, dword ptr [ebp - 0x20] */ 4088 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B097369: cdq */ 4089 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4091 eax = eax - edx; /* 0x2B09736A: sub eax, edx */ 4092 _flag_k = FK_CMP; 4093 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09736C: sar eax, 1 */ 4094 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4095 eax = (uint32_t)((int32_t)eax >> 1u); 4096 MEM32(ebp + (-0x3C)) = eax; /* 0x2B09736E: mov dword ptr [ebp - 0x3c], eax */ 4097 eax = ecx; /* 0x2B097371: mov eax, ecx */ 4098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4100 eax = eax - ebx; /* 0x2B097373: sub eax, ebx */ 4101 _flag_k = FK_CMP; 4102 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B097375: cdq */ 4103 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4105 eax = eax - edx; /* 0x2B097376: sub eax, edx */ 4106 _flag_k = FK_CMP; 4107 ecx = ebp + (-0x3C); /* 0x2B097378: lea ecx, [ebp - 0x3c] */ 4108 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09737B: sar eax, 1 */ 4109 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4110 eax = (uint32_t)((int32_t)eax >> 1u); 4111 PUSH32(esp, ecx); /* 0x2B09737D: push ecx */ 4112 ecx = esi; /* 0x2B09737E: mov ecx, esi */ 4113 MEM32(ebp + (-0x38)) = eax; /* 0x2B097380: mov dword ptr [ebp - 0x38], eax */ 4114 RECOMP_ICALL(0x2B0973A0u); /* 0x2B097383: call 0x2b0973a0 */ /* not lifted */ 4115 RECOMP_FLAGS_IN(); 4116 ecx = MEM32(ebp + (-0xC)); /* 0x2B097388: mov ecx, dword ptr [ebp - 0xc] */ 4117 edi = POP32_VAL(esp); /* 0x2B09738B: pop edi */ 4118 esi = POP32_VAL(esp); /* 0x2B09738C: pop esi */ 4119 ebx = POP32_VAL(esp); /* 0x2B09738D: pop ebx */ 4120 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09738E: mov dword ptr fs:[0], ecx */ 4121 esp = ebp; /* 0x2B097395: mov esp, ebp */ 4122 ebp = POP32_VAL(esp); /* 0x2B097397: pop ebp */ 4123 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097398: ret */ 4124 RECOMP_REGS_OUT(); 4125 } 4126 4127 void sub_2B0973A0(void) { 4128 int _fpu_cmp = 0; 4129 uint32_t _cf = 0; 4130 int _df = 1; 4131 uint32_t _flag_k = FK_NONE; 4132 uint32_t _flag_a = 0, _flag_b = 0; 4133 uint32_t _itail_tgt = 0; 4134 RECOMP_REGS_LOCALS 4135 RECOMP_ENTER(0x2B0973A0u); 4136 4137 L_2B0973A0: 4138 PUSH32(esp, ebp); /* 0x2B0973A0: push ebp */ 4139 ebp = esp; /* 0x2B0973A1: mov ebp, esp */ 4140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 4141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4142 esp = esp - 0x20u; /* 0x2B0973A3: sub esp, 0x20 */ 4143 _flag_k = FK_CMP; 4144 PUSH32(esp, ebx); /* 0x2B0973A6: push ebx */ 4145 PUSH32(esp, esi); /* 0x2B0973A7: push esi */ 4146 PUSH32(esp, edi); /* 0x2B0973A8: push edi */ 4147 edi = MEM32(ebp + 0x8); /* 0x2B0973A9: mov edi, dword ptr [ebp + 8] */ 4148 eax = MEM32(edi); /* 0x2B0973AC: mov eax, dword ptr [edi] */ 4149 esi = ecx; /* 0x2B0973AE: mov esi, ecx */ 4150 MEM32(esi + 0x1C) = eax; /* 0x2B0973B0: mov dword ptr [esi + 0x1c], eax */ 4151 ecx = MEM32(edi + 0x4); /* 0x2B0973B3: mov ecx, dword ptr [edi + 4] */ 4152 MEM32(esi + 0x20) = ecx; /* 0x2B0973B6: mov dword ptr [esi + 0x20], ecx */ 4153 ecx = MEM32(esi); /* 0x2B0973B9: mov ecx, dword ptr [esi] */ 4154 PUSH32(esp, edi); /* 0x2B0973BB: push edi */ 4155 RECOMP_ICALL(MEM32(0x2B0B59EC)); /* 0x2B0973BC: call dword ptr [0x2b0b59ec] */ 4156 RECOMP_FLAGS_IN(); 4157 ecx = MEM32(esi); /* 0x2B0973C2: mov ecx, dword ptr [esi] */ 4158 edx = ebp + (-0x18); /* 0x2B0973C4: lea edx, [ebp - 0x18] */ 4159 PUSH32(esp, edx); /* 0x2B0973C7: push edx */ 4160 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B0973C8: call dword ptr [0x2b0b59f0] */ 4161 RECOMP_FLAGS_IN(); 4162 ecx = MEM32(eax); /* 0x2B0973CE: mov ecx, dword ptr [eax] */ 4163 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0973D0: mov dword ptr [ebp - 0x10], ecx */ 4164 edx = MEM32(eax + 0x4); /* 0x2B0973D3: mov edx, dword ptr [eax + 4] */ 4165 ecx = MEM32(esi); /* 0x2B0973D6: mov ecx, dword ptr [esi] */ 4166 eax = ebp + (-0x20); /* 0x2B0973D8: lea eax, [ebp - 0x20] */ 4167 PUSH32(esp, eax); /* 0x2B0973DB: push eax */ 4168 MEM32(ebp + (-0xC)) = edx; /* 0x2B0973DC: mov dword ptr [ebp - 0xc], edx */ 4169 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B0973DF: call dword ptr [0x2b0b59fc] */ 4170 RECOMP_FLAGS_IN(); 4171 ecx = MEM32(eax); /* 0x2B0973E5: mov ecx, dword ptr [eax] */ 4172 ebx = MEM32(eax + 0x4); /* 0x2B0973E7: mov ebx, dword ptr [eax + 4] */ 4173 edx = ebp + (-0x10); /* 0x2B0973EA: lea edx, [ebp - 0x10] */ 4174 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0973ED: mov dword ptr [ebp - 0x18], ecx */ 4175 ecx = MEM32(esi + 0x4); /* 0x2B0973F0: mov ecx, dword ptr [esi + 4] */ 4176 PUSH32(esp, edx); /* 0x2B0973F3: push edx */ 4177 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B0973F4: call dword ptr [0x2b0b5b00] */ 4178 RECOMP_FLAGS_IN(); 4179 ecx = MEM32(ebp + (-0xC)); /* 0x2B0973FA: mov ecx, dword ptr [ebp - 0xc] */ 4180 eax = MEM32(ebp + (-0x10)); /* 0x2B0973FD: mov eax, dword ptr [ebp - 0x10] */ 4181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 4182 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4183 ecx = ecx + 2; /* 0x2B097400: add ecx, 2 */ 4184 _flag_k = FK_ADD; 4185 edx = ebp + (-0x8); /* 0x2B097403: lea edx, [ebp - 8] */ 4186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4188 eax = eax + 2; /* 0x2B097406: add eax, 2 */ 4189 _flag_k = FK_ADD; 4190 MEM32(ebp + (-0x4)) = ecx; /* 0x2B097409: mov dword ptr [ebp - 4], ecx */ 4191 ecx = MEM32(esi + 0x10); /* 0x2B09740C: mov ecx, dword ptr [esi + 0x10] */ 4192 PUSH32(esp, edx); /* 0x2B09740F: push edx */ 4193 MEM32(ebp + (-0x8)) = eax; /* 0x2B097410: mov dword ptr [ebp - 8], eax */ 4194 RECOMP_ICALL(MEM32(0x2B0B5A08)); /* 0x2B097413: call dword ptr [0x2b0b5a08] */ 4195 RECOMP_FLAGS_IN(); 4196 ecx = MEM32(esi + 0x8); /* 0x2B097419: mov ecx, dword ptr [esi + 8] */ 4197 edx = MEM32(ecx + 0x34); /* 0x2B09741C: mov edx, dword ptr [ecx + 0x34] */ 4198 eax = MEM32(esi + 0x24); /* 0x2B09741F: mov eax, dword ptr [esi + 0x24] */ 4199 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4201 eax = eax - edx; /* 0x2B097422: sub eax, edx */ 4202 _flag_k = FK_CMP; 4203 edx = MEM32(edi); /* 0x2B097424: mov edx, dword ptr [edi] */ 4204 eax = eax + edx + (-0x3); /* 0x2B097426: lea eax, [eax + edx - 3] */ 4205 edx = MEM32(edi + 0x4); /* 0x2B09742A: mov edx, dword ptr [edi + 4] */ 4206 edi = MEM32(0x2B0B5BB8); /* 0x2B09742D: mov edi, dword ptr [0x2b0b5bb8] */ 4207 MEM32(ebp + (-0x8)) = eax; /* 0x2B097433: mov dword ptr [ebp - 8], eax */ 4208 eax = ebp + (-0x8); /* 0x2B097436: lea eax, [ebp - 8] */ 4209 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 4210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4211 edx = edx + 2; /* 0x2B097439: add edx, 2 */ 4212 _flag_k = FK_ADD; 4213 PUSH32(esp, eax); /* 0x2B09743C: push eax */ 4214 MEM32(ebp + (-0x4)) = edx; /* 0x2B09743D: mov dword ptr [ebp - 4], edx */ 4215 RECOMP_ICALL(edi); /* 0x2B097440: call edi */ 4216 RECOMP_FLAGS_IN(); 4217 ecx = MEM32(esi + 0x14); /* 0x2B097442: mov ecx, dword ptr [esi + 0x14] */ 4218 edx = MEM32(ecx + 0x34); /* 0x2B097445: mov edx, dword ptr [ecx + 0x34] */ 4219 eax = MEM32(ebp + (-0x18)); /* 0x2B097448: mov eax, dword ptr [ebp - 0x18] */ 4220 esi = MEM32(ebp + (-0x10)); /* 0x2B09744B: mov esi, dword ptr [ebp - 0x10] */ 4221 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4223 eax = eax - edx; /* 0x2B09744E: sub eax, edx */ 4224 _flag_k = FK_CMP; 4225 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B097450: cdq */ 4226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4228 eax = eax - edx; /* 0x2B097451: sub eax, edx */ 4229 _flag_k = FK_CMP; 4230 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B097453: sar eax, 1 */ 4231 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4232 eax = (uint32_t)((int32_t)eax >> 1u); 4233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4234 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4235 eax = eax + esi; /* 0x2B097455: add eax, esi */ 4236 _flag_k = FK_ADD; 4237 MEM32(ebp + (-0x8)) = eax; /* 0x2B097457: mov dword ptr [ebp - 8], eax */ 4238 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x38)); 4239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4240 ebx = ebx - MEM32(ecx + 0x38); /* 0x2B09745A: sub ebx, dword ptr [ecx + 0x38] */ 4241 _flag_k = FK_CMP; 4242 edx = MEM32(ebp + (-0xC)); /* 0x2B09745D: mov edx, dword ptr [ebp - 0xc] */ 4243 eax = ebx + edx + (-0x5); /* 0x2B097460: lea eax, [ebx + edx - 5] */ 4244 edx = ebp + (-0x8); /* 0x2B097464: lea edx, [ebp - 8] */ 4245 PUSH32(esp, edx); /* 0x2B097467: push edx */ 4246 MEM32(ebp + (-0x4)) = eax; /* 0x2B097468: mov dword ptr [ebp - 4], eax */ 4247 RECOMP_ICALL(edi); /* 0x2B09746B: call edi */ 4248 RECOMP_FLAGS_IN(); 4249 edi = POP32_VAL(esp); /* 0x2B09746D: pop edi */ 4250 esi = POP32_VAL(esp); /* 0x2B09746E: pop esi */ 4251 ebx = POP32_VAL(esp); /* 0x2B09746F: pop ebx */ 4252 esp = ebp; /* 0x2B097470: mov esp, ebp */ 4253 ebp = POP32_VAL(esp); /* 0x2B097472: pop ebp */ 4254 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097473: ret 4 */ 4255 RECOMP_REGS_OUT(); 4256 } 4257 4258 void sub_2B097480(void) { 4259 int _fpu_cmp = 0; 4260 uint32_t _cf = 0; 4261 int _df = 1; 4262 uint32_t _flag_k = FK_NONE; 4263 uint32_t _flag_a = 0, _flag_b = 0; 4264 uint32_t _itail_tgt = 0; 4265 RECOMP_REGS_LOCALS 4266 RECOMP_ENTER(0x2B097480u); 4267 4268 L_2B097480: 4269 PUSH32(esp, ebp); /* 0x2B097480: push ebp */ 4270 ebp = esp; /* 0x2B097481: mov ebp, esp */ 4271 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 4272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4273 esp = esp - 0x18u; /* 0x2B097483: sub esp, 0x18 */ 4274 _flag_k = FK_CMP; 4275 eax = MEM32(ebp + 0x8); /* 0x2B097486: mov eax, dword ptr [ebp + 8] */ 4276 PUSH32(esp, esi); /* 0x2B097489: push esi */ 4277 esi = ecx; /* 0x2B09748A: mov esi, ecx */ 4278 ecx = MEM32(eax); /* 0x2B09748C: mov ecx, dword ptr [eax] */ 4279 MEM32(esi + 0x24) = ecx; /* 0x2B09748E: mov dword ptr [esi + 0x24], ecx */ 4280 edx = MEM32(eax + 0x4); /* 0x2B097491: mov edx, dword ptr [eax + 4] */ 4281 ecx = MEM32(esi); /* 0x2B097494: mov ecx, dword ptr [esi] */ 4282 PUSH32(esp, eax); /* 0x2B097496: push eax */ 4283 MEM32(esi + 0x28) = edx; /* 0x2B097497: mov dword ptr [esi + 0x28], edx */ 4284 RECOMP_ICALL(MEM32(0x2B0B59F8)); /* 0x2B09749A: call dword ptr [0x2b0b59f8] */ 4285 RECOMP_FLAGS_IN(); 4286 ecx = MEM32(esi); /* 0x2B0974A0: mov ecx, dword ptr [esi] */ 4287 eax = ebp + (-0x18); /* 0x2B0974A2: lea eax, [ebp - 0x18] */ 4288 PUSH32(esp, eax); /* 0x2B0974A5: push eax */ 4289 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B0974A6: call dword ptr [0x2b0b59fc] */ 4290 RECOMP_FLAGS_IN(); 4291 ecx = MEM32(eax); /* 0x2B0974AC: mov ecx, dword ptr [eax] */ 4292 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0974AE: mov dword ptr [ebp - 8], ecx */ 4293 edx = MEM32(eax + 0x4); /* 0x2B0974B1: mov edx, dword ptr [eax + 4] */ 4294 ecx = MEM32(esi + 0x4); /* 0x2B0974B4: mov ecx, dword ptr [esi + 4] */ 4295 eax = ebp + (-0x8); /* 0x2B0974B7: lea eax, [ebp - 8] */ 4296 PUSH32(esp, eax); /* 0x2B0974BA: push eax */ 4297 MEM32(ebp + (-0x4)) = edx; /* 0x2B0974BB: mov dword ptr [ebp - 4], edx */ 4298 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B0974BE: call dword ptr [0x2b0b5b04] */ 4299 RECOMP_FLAGS_IN(); 4300 ecx = MEM32(ebp + (-0x8)); /* 0x2B0974C4: mov ecx, dword ptr [ebp - 8] */ 4301 eax = MEM32(ebp + (-0x4)); /* 0x2B0974C7: mov eax, dword ptr [ebp - 4] */ 4302 edx = MEM32(esi + 0x14); /* 0x2B0974CA: mov edx, dword ptr [esi + 0x14] */ 4303 MEM32(ebp + (-0xC)) = eax; /* 0x2B0974CD: mov dword ptr [ebp - 0xc], eax */ 4304 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0974D0: mov dword ptr [ebp - 0x10], ecx */ 4305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x38)); 4306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4307 eax = eax - MEM32(edx + 0x38); /* 0x2B0974D3: sub eax, dword ptr [edx + 0x38] */ 4308 _flag_k = FK_CMP; 4309 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 4310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4311 eax = eax - 0xAu; /* 0x2B0974D6: sub eax, 0xa */ 4312 _flag_k = FK_CMP; 4313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 4314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4315 ecx = ecx - 4; /* 0x2B0974D9: sub ecx, 4 */ 4316 _flag_k = FK_CMP; 4317 MEM32(ebp + (-0xC)) = eax; /* 0x2B0974DC: mov dword ptr [ebp - 0xc], eax */ 4318 eax = ebp + (-0x10); /* 0x2B0974DF: lea eax, [ebp - 0x10] */ 4319 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0974E2: mov dword ptr [ebp - 0x10], ecx */ 4320 ecx = MEM32(esi + 0x10); /* 0x2B0974E5: mov ecx, dword ptr [esi + 0x10] */ 4321 PUSH32(esp, eax); /* 0x2B0974E8: push eax */ 4322 RECOMP_ICALL(MEM32(0x2B0B57D4)); /* 0x2B0974E9: call dword ptr [0x2b0b57d4] */ 4323 RECOMP_FLAGS_IN(); 4324 ecx = esi + 0x1C; /* 0x2B0974EF: lea ecx, [esi + 0x1c] */ 4325 PUSH32(esp, ecx); /* 0x2B0974F2: push ecx */ 4326 ecx = esi; /* 0x2B0974F3: mov ecx, esi */ 4327 RECOMP_ICALL(0x2B0973A0u); /* 0x2B0974F5: call 0x2b0973a0 */ /* not lifted */ 4328 RECOMP_FLAGS_IN(); 4329 esi = POP32_VAL(esp); /* 0x2B0974FA: pop esi */ 4330 esp = ebp; /* 0x2B0974FB: mov esp, ebp */ 4331 ebp = POP32_VAL(esp); /* 0x2B0974FD: pop ebp */ 4332 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0974FE: ret 4 */ 4333 RECOMP_REGS_OUT(); 4334 } 4335 4336 void sub_2B097510(void) { 4337 int _fpu_cmp = 0; 4338 uint32_t _cf = 0; 4339 int _df = 1; 4340 uint32_t _flag_k = FK_NONE; 4341 uint32_t _flag_a = 0, _flag_b = 0; 4342 uint32_t _itail_tgt = 0; 4343 RECOMP_REGS_LOCALS 4344 RECOMP_ENTER(0x2B097510u); 4345 4346 L_2B097510: 4347 PUSH32(esp, ebp); /* 0x2B097510: push ebp */ 4348 ebp = esp; /* 0x2B097511: mov ebp, esp */ 4349 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4351 esp = esp - 8; /* 0x2B097513: sub esp, 8 */ 4352 _flag_k = FK_CMP; 4353 ecx = MEM32(ebp + 0x8); /* 0x2B097516: mov ecx, dword ptr [ebp + 8] */ 4354 /* test ecx, ecx */ /* 0x2B097519: test ecx, ecx */ 4355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4356 _cf = 0; 4357 _flag_k = FK_TEST; 4358 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09753C; /* 0x2B09751B: je 0x2b09753c */ 4359 L_2B09751D: 4360 eax = MEM32(ecx + 0x1C); /* 0x2B09751D: mov eax, dword ptr [ecx + 0x1c] */ 4361 edx = MEM32(ecx + 0x20); /* 0x2B097520: mov edx, dword ptr [ecx + 0x20] */ 4362 PUSH32(esp, esi); /* 0x2B097523: push esi */ 4363 esi = MEM32(ebp + 0xC); /* 0x2B097524: mov esi, dword ptr [ebp + 0xc] */ 4364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 4365 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4366 eax = eax + MEM32(esi); /* 0x2B097527: add eax, dword ptr [esi] */ 4367 _flag_k = FK_ADD; 4368 MEM32(ebp + (-0x8)) = eax; /* 0x2B097529: mov dword ptr [ebp - 8], eax */ 4369 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4371 edx = edx + MEM32(esi + 0x4); /* 0x2B09752C: add edx, dword ptr [esi + 4] */ 4372 _flag_k = FK_ADD; 4373 eax = ebp + (-0x8); /* 0x2B09752F: lea eax, [ebp - 8] */ 4374 PUSH32(esp, eax); /* 0x2B097532: push eax */ 4375 MEM32(ebp + (-0x4)) = edx; /* 0x2B097533: mov dword ptr [ebp - 4], edx */ 4376 RECOMP_ICALL(0x2B0973A0u); /* 0x2B097536: call 0x2b0973a0 */ /* not lifted */ 4377 RECOMP_FLAGS_IN(); 4378 esi = POP32_VAL(esp); /* 0x2B09753B: pop esi */ 4379 L_2B09753C: 4380 esp = ebp; /* 0x2B09753C: mov esp, ebp */ 4381 ebp = POP32_VAL(esp); /* 0x2B09753E: pop ebp */ 4382 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09753F: ret */ 4383 RECOMP_REGS_OUT(); 4384 } 4385 4386 void sub_2B097540(void) { 4387 int _fpu_cmp = 0; 4388 uint32_t _cf = 0; 4389 int _df = 1; 4390 uint32_t _flag_k = FK_NONE; 4391 uint32_t _flag_a = 0, _flag_b = 0; 4392 uint32_t _itail_tgt = 0; 4393 RECOMP_REGS_LOCALS 4394 RECOMP_ENTER(0x2B097540u); 4395 4396 L_2B097540: 4397 PUSH32(esp, ebp); /* 0x2B097540: push ebp */ 4398 ebp = esp; /* 0x2B097541: mov ebp, esp */ 4399 ecx = MEM32(ebp + 0x8); /* 0x2B097543: mov ecx, dword ptr [ebp + 8] */ 4400 /* test ecx, ecx */ /* 0x2B097546: test ecx, ecx */ 4401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4402 _cf = 0; 4403 _flag_k = FK_TEST; 4404 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09755A; /* 0x2B097548: je 0x2b09755a */ 4405 L_2B09754A: 4406 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B09754A: mov al, byte ptr [ebp + 0x10] */ 4407 /* test LO8(eax), LO8(eax) */ /* 0x2B09754D: test al, al */ 4408 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4409 _cf = 0; 4410 _flag_k = FK_NARROW(FK_TEST, 24); 4411 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09755A; /* 0x2B09754F: jne 0x2b09755a */ 4412 L_2B097551: 4413 eax = MEM32(ebp + 0xC); /* 0x2B097551: mov eax, dword ptr [ebp + 0xc] */ 4414 PUSH32(esp, eax); /* 0x2B097554: push eax */ 4415 RECOMP_ICALL(0x2B097480u); /* 0x2B097555: call 0x2b097480 */ /* not lifted */ 4416 RECOMP_FLAGS_IN(); 4417 L_2B09755A: 4418 ebp = POP32_VAL(esp); /* 0x2B09755A: pop ebp */ 4419 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09755B: ret */ 4420 RECOMP_REGS_OUT(); 4421 } 4422 4423 void sub_2B097560(void) { 4424 int _fpu_cmp = 0; 4425 uint32_t _cf = 0; 4426 int _df = 1; 4427 uint32_t _flag_k = FK_NONE; 4428 uint32_t _flag_a = 0, _flag_b = 0; 4429 uint32_t _itail_tgt = 0; 4430 RECOMP_REGS_LOCALS 4431 RECOMP_ENTER(0x2B097560u); 4432 4433 L_2B097560: 4434 SET_LO8(eax, MEM8(ecx + 0x30)); /* 0x2B097560: mov al, byte ptr [ecx + 0x30] */ 4435 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097563: ret */ 4436 RECOMP_REGS_OUT(); 4437 } 4438 4439 void sub_2B097570(void) { 4440 int _fpu_cmp = 0; 4441 uint32_t _cf = 0; 4442 int _df = 1; 4443 uint32_t _flag_k = FK_NONE; 4444 uint32_t _flag_a = 0, _flag_b = 0; 4445 uint32_t _itail_tgt = 0; 4446 RECOMP_REGS_LOCALS 4447 RECOMP_ENTER(0x2B097570u); 4448 4449 L_2B097570: 4450 PUSH32(esp, ebp); /* 0x2B097570: push ebp */ 4451 ebp = esp; /* 0x2B097571: mov ebp, esp */ 4452 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B097573: push -1 */ 4453 PUSH32(esp, 0x2B0B3212u); /* 0x2B097575: push 0x2b0b3212 */ 4454 eax = MEM32(FS_BASE + (0)); /* 0x2B09757A: mov eax, dword ptr fs:[0] */ 4455 PUSH32(esp, eax); /* 0x2B097580: push eax */ 4456 MEM32(FS_BASE + (0)) = esp; /* 0x2B097581: mov dword ptr fs:[0], esp */ 4457 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x42Cu); 4458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4459 esp = esp - 0x42Cu; /* 0x2B097588: sub esp, 0x42c */ 4460 _flag_k = FK_CMP; 4461 PUSH32(esp, ebx); /* 0x2B09758E: push ebx */ 4462 PUSH32(esp, esi); /* 0x2B09758F: push esi */ 4463 esi = ecx; /* 0x2B097590: mov esi, ecx */ 4464 PUSH32(esp, edi); /* 0x2B097592: push edi */ 4465 MEM32(ebp + (-0x28)) = esi; /* 0x2B097593: mov dword ptr [ebp - 0x28], esi */ 4466 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B097596: call dword ptr [0x2b0b5d6c] */ 4467 RECOMP_FLAGS_IN(); 4468 ecx = eax; /* 0x2B09759C: mov ecx, eax */ 4469 RECOMP_ICALL(MEM32(0x2B0B5CFC)); /* 0x2B09759E: call dword ptr [0x2b0b5cfc] */ 4470 RECOMP_FLAGS_IN(); 4471 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4472 ebx = 0; /* 0x2B0975A4: xor ebx, ebx */ 4473 _cf = 0; 4474 _flag_k = FK_TEST; 4475 /* cmp eax, ebx */ /* 0x2B0975A6: cmp eax, ebx */ 4476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4478 _flag_k = FK_CMP; 4479 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0975B6; /* 0x2B0975A8: je 0x2b0975b6 */ 4480 L_2B0975AA: 4481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 4482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4483 eax = eax + 4; /* 0x2B0975AA: add eax, 4 */ 4484 _flag_k = FK_ADD; 4485 PUSH32(esp, eax); /* 0x2B0975AD: push eax */ 4486 ecx = esi + 0x38; /* 0x2B0975AE: lea ecx, [esi + 0x38] */ 4487 RECOMP_ICALL(0x2B097880u); /* 0x2B0975B1: call 0x2b097880 */ /* not lifted */ 4488 RECOMP_FLAGS_IN(); 4489 L_2B0975B6: 4490 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x2B0975B6: mov al, byte ptr [ebp - 0x29] */ 4491 PUSH32(esp, ebx); /* 0x2B0975B9: push ebx */ 4492 ecx = ebp + (-0x24); /* 0x2B0975BA: lea ecx, [ebp - 0x24] */ 4493 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B0975BD: mov byte ptr [ebp - 0x24], al */ 4494 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0975C0: call dword ptr [0x2b0b514c] */ 4495 RECOMP_FLAGS_IN(); 4496 MEM32(ebp + (-0x14)) = ebx; /* 0x2B0975C6: mov dword ptr [ebp - 0x14], ebx */ 4497 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4498 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0975C9: or ecx, 0xffffffff */ 4499 _cf = 0; 4500 _flag_k = FK_TEST; 4501 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4502 eax = 0; /* 0x2B0975CC: xor eax, eax */ 4503 _cf = 0; 4504 _flag_k = FK_TEST; 4505 edi = 0x2B0ED534u; /* 0x2B0975CE: mov edi, 0x2b0ed534 */ 4506 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; } /* 0x2B0975D3: repne scasb al, byte ptr es:[edi] */ 4507 ecx = ~ecx; /* 0x2B0975D5: not ecx */ 4508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4509 ecx = ecx - 1; /* 0x2B0975D7: dec ecx */ 4510 _flag_k = FK_DEC; 4511 PUSH32(esp, ecx); /* 0x2B0975D8: push ecx */ 4512 PUSH32(esp, 0x2B0ED534u); /* 0x2B0975D9: push 0x2b0ed534 */ 4513 ecx = ebp + (-0x24); /* 0x2B0975DE: lea ecx, [ebp - 0x24] */ 4514 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0975E1: mov dword ptr [ebp - 4], ebx */ 4515 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0975E4: call dword ptr [0x2b0b5188] */ 4516 RECOMP_FLAGS_IN(); 4517 eax = MEM32(esi + 0x3C); /* 0x2B0975EA: mov eax, dword ptr [esi + 0x3c] */ 4518 /* cmp eax, ebx */ /* 0x2B0975ED: cmp eax, ebx */ 4519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4521 _flag_k = FK_CMP; 4522 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09770D; /* 0x2B0975EF: je 0x2b09770d */ 4523 L_2B0975F5: 4524 ecx = MEM32(esi + 0x40); /* 0x2B0975F5: mov ecx, dword ptr [esi + 0x40] */ 4525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4527 ecx = ecx - eax; /* 0x2B0975F8: sub ecx, eax */ 4528 _flag_k = FK_CMP; 4529 eax = 0x38E38E39u; /* 0x2B0975FA: mov eax, 0x38e38e39 */ 4530 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0975FF: imul ecx */ 4531 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 4532 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 4533 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B097601: sar edx, 3 */ 4534 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4535 edx = (uint32_t)((int32_t)edx >> 3u); 4536 ecx = edx; /* 0x2B097604: mov ecx, edx */ 4537 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B097606: shr ecx, 0x1f */ 4538 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4539 ecx = ecx >> 31u; /* 0x2B097606: shr ecx, 0x1f */ 4540 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 4541 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4542 edx = edx + ecx; /* 0x2B097609: add edx, ecx */ 4543 _flag_k = FK_ADD; 4544 MEM32(ebp + (-0x38)) = edx; /* 0x2B09760B: mov dword ptr [ebp - 0x38], edx */ 4545 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_E)) goto L_2B09770D; /* 0x2B09760E: je 0x2b09770d */ 4546 L_2B097614: 4547 /* cmp edx, ebx */ /* 0x2B097614: cmp edx, ebx */ 4548 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 4549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4550 _flag_k = FK_CMP; 4551 MEM32(ebp + (-0x10)) = ebx; /* 0x2B097616: mov dword ptr [ebp - 0x10], ebx */ 4552 SET_LO8(eax, 0x80u); /* 0x2B097619: mov al, 0x80 */ 4553 MEM8(ebp + (-0x10)) = (uint8_t)(0xEEu); /* 0x2B09761B: mov byte ptr [ebp - 0x10], 0xee */ 4554 MEM8(ebp + (-0xF)) = (uint8_t)(LO8(eax)); /* 0x2B09761F: mov byte ptr [ebp - 0xf], al */ 4555 MEM8(ebp + (-0xE)) = (uint8_t)(LO8(eax)); /* 0x2B097622: mov byte ptr [ebp - 0xe], al */ 4556 MEM32(ebp + (-0x30)) = ebx; /* 0x2B097625: mov dword ptr [ebp - 0x30], ebx */ 4557 if (CMP_BE(_flag_a, _flag_b)) goto L_2B097788; /* 0x2B097628: jbe 0x2b097788 */ 4558 L_2B09762E: 4559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4560 edi = 0; /* 0x2B09762E: xor edi, edi */ 4561 _cf = 0; 4562 _flag_k = FK_TEST; 4563 MEM32(ebp + (-0x34)) = edi; /* 0x2B097630: mov dword ptr [ebp - 0x34], edi */ 4564 L_2B097633: 4565 esi = MEM32(esi + 0x3C); /* 0x2B097633: mov esi, dword ptr [esi + 0x3c] */ 4566 eax = MEM32(edi + esi); /* 0x2B097636: mov eax, dword ptr [edi + esi] */ 4567 PUSH32(esp, eax); /* 0x2B097639: push eax */ 4568 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09763A: call dword ptr [0x2b0b5d6c] */ 4569 RECOMP_FLAGS_IN(); 4570 ecx = eax; /* 0x2B097640: mov ecx, eax */ 4571 RECOMP_ICALL(MEM32(0x2B0B5CF8)); /* 0x2B097642: call dword ptr [0x2b0b5cf8] */ 4572 RECOMP_FLAGS_IN(); 4573 /* test eax, eax */ /* 0x2B097648: test eax, eax */ 4574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4575 _cf = 0; 4576 _flag_k = FK_TEST; 4577 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097651; /* 0x2B09764A: jne 0x2b097651 */ 4578 L_2B09764C: 4579 eax = 0x2B0ED528u; /* 0x2B09764C: mov eax, 0x2b0ed528 */ 4580 L_2B097651: 4581 ecx = MEM32(edi + esi + 0x10); /* 0x2B097651: mov ecx, dword ptr [edi + esi + 0x10] */ 4582 /* test ecx, ecx */ /* 0x2B097655: test ecx, ecx */ 4583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4584 _cf = 0; 4585 _flag_k = FK_TEST; 4586 esi = edi + esi + 0xC; /* 0x2B097657: lea esi, [edi + esi + 0xc] */ 4587 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097663; /* 0x2B09765B: jne 0x2b097663 */ 4588 L_2B09765D: 4589 ecx = MEM32(0x2B0B513C); /* 0x2B09765D: mov ecx, dword ptr [0x2b0b513c] */ 4590 L_2B097663: 4591 PUSH32(esp, ebx); /* 0x2B097663: push ebx */ 4592 PUSH32(esp, eax); /* 0x2B097664: push eax */ 4593 PUSH32(esp, ecx); /* 0x2B097665: push ecx */ 4594 edx = ebp + (-0x10); /* 0x2B097666: lea edx, [ebp - 0x10] */ 4595 PUSH32(esp, edx); /* 0x2B097669: push edx */ 4596 PUSH32(esp, 0x2B0ED510u); /* 0x2B09766A: push 0x2b0ed510 */ 4597 eax = ebp + (-0x438); /* 0x2B09766F: lea eax, [ebp - 0x438] */ 4598 PUSH32(esp, 0x400u); /* 0x2B097675: push 0x400 */ 4599 PUSH32(esp, eax); /* 0x2B09767A: push eax */ 4600 RECOMP_ICALL(0x2B012180u); /* 0x2B09767B: call 0x2b012180 */ /* not lifted */ 4601 RECOMP_FLAGS_IN(); 4602 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4603 ecx = ecx | 0xFFFFFFFFu; /* 0x2B097680: or ecx, 0xffffffff */ 4604 _cf = 0; 4605 _flag_k = FK_TEST; 4606 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4607 eax = 0; /* 0x2B097683: xor eax, eax */ 4608 _cf = 0; 4609 _flag_k = FK_TEST; 4610 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 4611 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4612 esp = esp + 0x1Cu; /* 0x2B097685: add esp, 0x1c */ 4613 _flag_k = FK_ADD; 4614 edi = ebp + (-0x438); /* 0x2B097688: lea edi, [ebp - 0x438] */ 4615 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; } /* 0x2B09768E: repne scasb al, byte ptr es:[edi] */ 4616 ecx = ~ecx; /* 0x2B097690: not ecx */ 4617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4618 ecx = ecx - 1; /* 0x2B097692: dec ecx */ 4619 _flag_k = FK_DEC; 4620 esi = ecx; /* 0x2B097693: mov esi, ecx */ 4621 ecx = MEM32(0x2B0B515C); /* 0x2B097695: mov ecx, dword ptr [0x2b0b515c] */ 4622 edx = MEM32(ecx); /* 0x2B09769B: mov edx, dword ptr [ecx] */ 4623 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 4624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4625 edx = edx - MEM32(ebp + (-0x1C)); /* 0x2B09769D: sub edx, dword ptr [ebp - 0x1c] */ 4626 _flag_k = FK_CMP; 4627 /* cmp edx, esi */ /* 0x2B0976A0: cmp edx, esi */ 4628 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4630 _flag_k = FK_CMP; 4631 if (CMP_A(_flag_a, _flag_b)) goto L_2B0976AA; /* 0x2B0976A2: ja 0x2b0976aa */ 4632 L_2B0976A4: 4633 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0976A4: call dword ptr [0x2b0b51a8] */ 4634 RECOMP_FLAGS_IN(); 4635 L_2B0976AA: 4636 /* test esi, esi */ /* 0x2B0976AA: test esi, esi */ 4637 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4638 _cf = 0; 4639 _flag_k = FK_TEST; 4640 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0976ED; /* 0x2B0976AC: jbe 0x2b0976ed */ 4641 L_2B0976AE: 4642 eax = MEM32(ebp + (-0x1C)); /* 0x2B0976AE: mov eax, dword ptr [ebp - 0x1c] */ 4643 ebx = eax + esi; /* 0x2B0976B1: lea ebx, [eax + esi] */ 4644 PUSH32(esp, 0); /* 0x2B0976B4: push 0 */ 4645 PUSH32(esp, ebx); /* 0x2B0976B6: push ebx */ 4646 ecx = ebp + (-0x24); /* 0x2B0976B7: lea ecx, [ebp - 0x24] */ 4647 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0976BA: call dword ptr [0x2b0b5154] */ 4648 RECOMP_FLAGS_IN(); 4649 /* test LO8(eax), LO8(eax) */ /* 0x2B0976C0: test al, al */ 4650 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4651 _cf = 0; 4652 _flag_k = FK_NARROW(FK_TEST, 24); 4653 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0976ED; /* 0x2B0976C2: je 0x2b0976ed */ 4654 L_2B0976C4: 4655 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0976C4: mov ecx, dword ptr [ebp - 0x1c] */ 4656 edx = MEM32(ebp + (-0x20)); /* 0x2B0976C7: mov edx, dword ptr [ebp - 0x20] */ 4657 edi = edx + ecx; /* 0x2B0976CA: lea edi, [edx + ecx] */ 4658 ecx = esi; /* 0x2B0976CD: mov ecx, esi */ 4659 eax = ecx; /* 0x2B0976CF: mov eax, ecx */ 4660 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0976D1: shr ecx, 2 */ 4661 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4662 ecx = ecx >> 2u; /* 0x2B0976D1: shr ecx, 2 */ 4663 esi = ebp + (-0x438); /* 0x2B0976D4: lea esi, [ebp - 0x438] */ 4664 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0976DA: 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; } 4665 ecx = eax; /* 0x2B0976DC: mov ecx, eax */ 4666 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4667 ecx = ecx & 3; /* 0x2B0976DE: and ecx, 3 */ 4668 _cf = 0; 4669 _flag_k = FK_TEST; 4670 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0976E1: 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; } 4671 ecx = MEM32(ebp + (-0x20)); /* 0x2B0976E3: mov ecx, dword ptr [ebp - 0x20] */ 4672 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B0976E6: mov dword ptr [ebp - 0x1c], ebx */ 4673 MEM8(ecx + ebx) = (uint8_t)(0); /* 0x2B0976E9: mov byte ptr [ecx + ebx], 0 */ 4674 L_2B0976ED: 4675 ebx = MEM32(ebp + (-0x30)); /* 0x2B0976ED: mov ebx, dword ptr [ebp - 0x30] */ 4676 edi = MEM32(ebp + (-0x34)); /* 0x2B0976F0: mov edi, dword ptr [ebp - 0x34] */ 4677 eax = MEM32(ebp + (-0x38)); /* 0x2B0976F3: mov eax, dword ptr [ebp - 0x38] */ 4678 esi = MEM32(ebp + (-0x28)); /* 0x2B0976F6: mov esi, dword ptr [ebp - 0x28] */ 4679 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 4680 ebx = ebx + 1; /* 0x2B0976F9: inc ebx */ 4681 _flag_k = FK_INC; 4682 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 4683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4684 edi = edi + 0x24u; /* 0x2B0976FA: add edi, 0x24 */ 4685 _flag_k = FK_ADD; 4686 /* cmp ebx, eax */ /* 0x2B0976FD: cmp ebx, eax */ 4687 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 4688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4689 _flag_k = FK_CMP; 4690 MEM32(ebp + (-0x30)) = ebx; /* 0x2B0976FF: mov dword ptr [ebp - 0x30], ebx */ 4691 MEM32(ebp + (-0x34)) = edi; /* 0x2B097702: mov dword ptr [ebp - 0x34], edi */ 4692 RECOMP_BACKEDGE(); 4693 if (CMP_B(_flag_a, _flag_b)) goto L_2B097633; /* 0x2B097705: jb 0x2b097633 */ 4694 L_2B09770B: 4695 goto L_2B097788; /* 0x2B09770B: jmp 0x2b097788 */ 4696 L_2B09770D: 4697 PUSH32(esp, 0x10u); /* 0x2B09770D: push 0x10 */ 4698 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09770F: push -1 */ 4699 ecx = ebp + (-0x24); /* 0x2B097711: lea ecx, [ebp - 0x24] */ 4700 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B097714: call dword ptr [0x2b0b5a74] */ 4701 RECOMP_FLAGS_IN(); 4702 edx = MEM32(0x2B0B515C); /* 0x2B09771A: mov edx, dword ptr [0x2b0b515c] */ 4703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4704 eax = 0; /* 0x2B097720: xor eax, eax */ 4705 _cf = 0; 4706 _flag_k = FK_TEST; 4707 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4708 ecx = ecx | 0xFFFFFFFFu; /* 0x2B097722: or ecx, 0xffffffff */ 4709 _cf = 0; 4710 _flag_k = FK_TEST; 4711 edi = 0x2B0ED4F4u; /* 0x2B097725: mov edi, 0x2b0ed4f4 */ 4712 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; } /* 0x2B09772A: repne scasb al, byte ptr es:[edi] */ 4713 eax = MEM32(edx); /* 0x2B09772C: mov eax, dword ptr [edx] */ 4714 edx = MEM32(ebp + (-0x1C)); /* 0x2B09772E: mov edx, dword ptr [ebp - 0x1c] */ 4715 ecx = ~ecx; /* 0x2B097731: not ecx */ 4716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4717 ecx = ecx - 1; /* 0x2B097733: dec ecx */ 4718 _flag_k = FK_DEC; 4719 edi = ecx; /* 0x2B097734: mov edi, ecx */ 4720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4722 eax = eax - edx; /* 0x2B097736: sub eax, edx */ 4723 _flag_k = FK_CMP; 4724 /* cmp eax, edi */ /* 0x2B097738: cmp eax, edi */ 4725 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4727 _flag_k = FK_CMP; 4728 if (CMP_A(_flag_a, _flag_b)) goto L_2B097742; /* 0x2B09773A: ja 0x2b097742 */ 4729 L_2B09773C: 4730 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09773C: call dword ptr [0x2b0b51a8] */ 4731 RECOMP_FLAGS_IN(); 4732 L_2B097742: 4733 /* cmp edi, ebx */ /* 0x2B097742: cmp edi, ebx */ 4734 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4736 _flag_k = FK_CMP; 4737 if (CMP_BE(_flag_a, _flag_b)) goto L_2B097788; /* 0x2B097744: jbe 0x2b097788 */ 4738 L_2B097746: 4739 ecx = MEM32(ebp + (-0x1C)); /* 0x2B097746: mov ecx, dword ptr [ebp - 0x1c] */ 4740 ebx = ecx + edi; /* 0x2B097749: lea ebx, [ecx + edi] */ 4741 PUSH32(esp, 0); /* 0x2B09774C: push 0 */ 4742 PUSH32(esp, ebx); /* 0x2B09774E: push ebx */ 4743 ecx = ebp + (-0x24); /* 0x2B09774F: lea ecx, [ebp - 0x24] */ 4744 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B097752: call dword ptr [0x2b0b5154] */ 4745 RECOMP_FLAGS_IN(); 4746 /* test LO8(eax), LO8(eax) */ /* 0x2B097758: test al, al */ 4747 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4748 _cf = 0; 4749 _flag_k = FK_NARROW(FK_TEST, 24); 4750 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097788; /* 0x2B09775A: je 0x2b097788 */ 4751 L_2B09775C: 4752 edx = MEM32(ebp + (-0x1C)); /* 0x2B09775C: mov edx, dword ptr [ebp - 0x1c] */ 4753 eax = MEM32(ebp + (-0x20)); /* 0x2B09775F: mov eax, dword ptr [ebp - 0x20] */ 4754 ecx = edi; /* 0x2B097762: mov ecx, edi */ 4755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4757 eax = eax + edx; /* 0x2B097764: add eax, edx */ 4758 _flag_k = FK_ADD; 4759 edx = ecx; /* 0x2B097766: mov edx, ecx */ 4760 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B097768: shr ecx, 2 */ 4761 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4762 ecx = ecx >> 2u; /* 0x2B097768: shr ecx, 2 */ 4763 edi = eax; /* 0x2B09776B: mov edi, eax */ 4764 esi = 0x2B0ED4F4u; /* 0x2B09776D: mov esi, 0x2b0ed4f4 */ 4765 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B097772: 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; } 4766 ecx = edx; /* 0x2B097774: mov ecx, edx */ 4767 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4768 ecx = ecx & 3; /* 0x2B097776: and ecx, 3 */ 4769 _cf = 0; 4770 _flag_k = FK_TEST; 4771 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B097779: 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; } 4772 eax = MEM32(ebp + (-0x20)); /* 0x2B09777B: mov eax, dword ptr [ebp - 0x20] */ 4773 esi = MEM32(ebp + (-0x28)); /* 0x2B09777E: mov esi, dword ptr [ebp - 0x28] */ 4774 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B097781: mov dword ptr [ebp - 0x1c], ebx */ 4775 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B097784: mov byte ptr [eax + ebx], 0 */ 4776 L_2B097788: 4777 ecx = ebp + (-0x24); /* 0x2B097788: lea ecx, [ebp - 0x24] */ 4778 PUSH32(esp, ecx); /* 0x2B09778B: push ecx */ 4779 ecx = MEM32(esi + 0x10); /* 0x2B09778C: mov ecx, dword ptr [esi + 0x10] */ 4780 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09778F: call dword ptr [0x2b0b59d4] */ 4781 RECOMP_FLAGS_IN(); 4782 eax = MEM32(ebp + (-0x14)); /* 0x2B097795: mov eax, dword ptr [ebp - 0x14] */ 4783 /* test eax, eax */ /* 0x2B097798: test eax, eax */ 4784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4785 _cf = 0; 4786 _flag_k = FK_TEST; 4787 MEM32(ebp + (-0x4)) = 1; /* 0x2B09779A: mov dword ptr [ebp - 4], 1 */ 4788 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0977C8; /* 0x2B0977A1: je 0x2b0977c8 */ 4789 L_2B0977A3: 4790 edx = MEM32(eax + 0x2C); /* 0x2B0977A3: mov edx, dword ptr [eax + 0x2c] */ 4791 esi = eax; /* 0x2B0977A6: mov esi, eax */ 4792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 4793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4794 eax = eax + 0x2Cu; /* 0x2B0977A8: add eax, 0x2c */ 4795 _flag_k = FK_ADD; 4796 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4797 edx = edx - 1; /* 0x2B0977AB: dec edx */ 4798 _flag_k = FK_DEC; 4799 ecx = edx; /* 0x2B0977AC: mov ecx, edx */ 4800 /* test ecx, ecx */ /* 0x2B0977AE: test ecx, ecx */ 4801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4802 _cf = 0; 4803 _flag_k = FK_TEST; 4804 MEM32(eax) = edx; /* 0x2B0977B0: mov dword ptr [eax], edx */ 4805 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0977C8; /* 0x2B0977B2: jne 0x2b0977c8 */ 4806 L_2B0977B4: 4807 /* test esi, esi */ /* 0x2B0977B4: test esi, esi */ 4808 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4809 _cf = 0; 4810 _flag_k = FK_TEST; 4811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0977C8; /* 0x2B0977B6: je 0x2b0977c8 */ 4812 L_2B0977B8: 4813 ecx = esi; /* 0x2B0977B8: mov ecx, esi */ 4814 RECOMP_ICALL(0x2B005B40u); /* 0x2B0977BA: call 0x2b005b40 */ /* not lifted */ 4815 RECOMP_FLAGS_IN(); 4816 PUSH32(esp, esi); /* 0x2B0977BF: push esi */ 4817 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0977C0: call 0x2b0ab1ba */ /* not lifted */ 4818 RECOMP_FLAGS_IN(); 4819 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4821 esp = esp + 4; /* 0x2B0977C5: add esp, 4 */ 4822 _flag_k = FK_ADD; 4823 L_2B0977C8: 4824 PUSH32(esp, 1); /* 0x2B0977C8: push 1 */ 4825 ecx = ebp + (-0x24); /* 0x2B0977CA: lea ecx, [ebp - 0x24] */ 4826 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0977CD: mov dword ptr [ebp - 4], 0xffffffff */ 4827 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0977D4: call dword ptr [0x2b0b514c] */ 4828 RECOMP_FLAGS_IN(); 4829 ecx = MEM32(ebp + (-0xC)); /* 0x2B0977DA: mov ecx, dword ptr [ebp - 0xc] */ 4830 edi = POP32_VAL(esp); /* 0x2B0977DD: pop edi */ 4831 esi = POP32_VAL(esp); /* 0x2B0977DE: pop esi */ 4832 ebx = POP32_VAL(esp); /* 0x2B0977DF: pop ebx */ 4833 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0977E0: mov dword ptr fs:[0], ecx */ 4834 esp = ebp; /* 0x2B0977E7: mov esp, ebp */ 4835 ebp = POP32_VAL(esp); /* 0x2B0977E9: pop ebp */ 4836 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0977EA: ret */ 4837 RECOMP_REGS_OUT(); 4838 } 4839 4840 void sub_2B0977F0(void) { 4841 int _fpu_cmp = 0; 4842 uint32_t _cf = 0; 4843 int _df = 1; 4844 uint32_t _flag_k = FK_NONE; 4845 uint32_t _flag_a = 0, _flag_b = 0; 4846 uint32_t _itail_tgt = 0; 4847 RECOMP_REGS_LOCALS 4848 RECOMP_ENTER(0x2B0977F0u); 4849 4850 L_2B0977F0: 4851 PUSH32(esp, ebp); /* 0x2B0977F0: push ebp */ 4852 ebp = esp; /* 0x2B0977F1: mov ebp, esp */ 4853 eax = MEM32(ebp + 0xC); /* 0x2B0977F3: mov eax, dword ptr [ebp + 0xc] */ 4854 eax = MEM32(eax + 0x4); /* 0x2B0977F6: mov eax, dword ptr [eax + 4] */ 4855 /* test eax, eax */ /* 0x2B0977F9: test eax, eax */ 4856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4857 _cf = 0; 4858 _flag_k = FK_TEST; 4859 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097802; /* 0x2B0977FB: jne 0x2b097802 */ 4860 L_2B0977FD: 4861 eax = MEM32(0x2B0B513C); /* 0x2B0977FD: mov eax, dword ptr [0x2b0b513c] */ 4862 L_2B097802: 4863 PUSH32(esp, eax); /* 0x2B097802: push eax */ 4864 RECOMP_ICALL(MEM32(0x2B0B526C)); /* 0x2B097803: call dword ptr [0x2b0b526c] */ 4865 RECOMP_FLAGS_IN(); 4866 ecx = MEM32(ebp + 0x8); /* 0x2B097809: mov ecx, dword ptr [ebp + 8] */ 4867 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4869 esp = esp + 4; /* 0x2B09780C: add esp, 4 */ 4870 _flag_k = FK_ADD; 4871 /* test ecx, ecx */ /* 0x2B09780F: test ecx, ecx */ 4872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4873 _cf = 0; 4874 _flag_k = FK_TEST; 4875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097819; /* 0x2B097811: je 0x2b097819 */ 4876 L_2B097813: 4877 PUSH32(esp, eax); /* 0x2B097813: push eax */ 4878 RECOMP_ICALL(0x2B097820u); /* 0x2B097814: call 0x2b097820 */ /* not lifted */ 4879 RECOMP_FLAGS_IN(); 4880 L_2B097819: 4881 ebp = POP32_VAL(esp); /* 0x2B097819: pop ebp */ 4882 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09781A: ret */ 4883 RECOMP_REGS_OUT(); 4884 } 4885 4886 void sub_2B097820(void) { 4887 int _fpu_cmp = 0; 4888 uint32_t _cf = 0; 4889 int _df = 1; 4890 uint32_t _flag_k = FK_NONE; 4891 uint32_t _flag_a = 0, _flag_b = 0; 4892 uint32_t _itail_tgt = 0; 4893 RECOMP_REGS_LOCALS 4894 RECOMP_ENTER(0x2B097820u); 4895 4896 L_2B097820: 4897 PUSH32(esp, ebp); /* 0x2B097820: push ebp */ 4898 ebp = esp; /* 0x2B097821: mov ebp, esp */ 4899 PUSH32(esp, esi); /* 0x2B097823: push esi */ 4900 esi = ecx; /* 0x2B097824: mov esi, ecx */ 4901 eax = MEM32(esi + 0x3C); /* 0x2B097826: mov eax, dword ptr [esi + 0x3c] */ 4902 /* test eax, eax */ /* 0x2B097829: test eax, eax */ 4903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4904 _cf = 0; 4905 _flag_k = FK_TEST; 4906 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097831; /* 0x2B09782B: jne 0x2b097831 */ 4907 L_2B09782D: 4908 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4909 edx = 0; /* 0x2B09782D: xor edx, edx */ 4910 _cf = 0; 4911 _flag_k = FK_TEST; 4912 goto L_2B097847; /* 0x2B09782F: jmp 0x2b097847 */ 4913 L_2B097831: 4914 ecx = MEM32(esi + 0x40); /* 0x2B097831: mov ecx, dword ptr [esi + 0x40] */ 4915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4917 ecx = ecx - eax; /* 0x2B097834: sub ecx, eax */ 4918 _flag_k = FK_CMP; 4919 eax = 0x38E38E39u; /* 0x2B097836: mov eax, 0x38e38e39 */ 4920 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B09783B: imul ecx */ 4921 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 4922 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 4923 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B09783D: sar edx, 3 */ 4924 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4925 edx = (uint32_t)((int32_t)edx >> 3u); 4926 eax = edx; /* 0x2B097840: mov eax, edx */ 4927 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B097842: shr eax, 0x1f */ 4928 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4929 eax = eax >> 31u; /* 0x2B097842: shr eax, 0x1f */ 4930 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4931 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4932 edx = edx + eax; /* 0x2B097845: add edx, eax */ 4933 _flag_k = FK_ADD; 4934 L_2B097847: 4935 eax = MEM32(ebp + 0x8); /* 0x2B097847: mov eax, dword ptr [ebp + 8] */ 4936 /* cmp eax, edx */ /* 0x2B09784A: cmp eax, edx */ 4937 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4939 _flag_k = FK_CMP; 4940 if (CMP_A(_flag_a, _flag_b)) goto L_2B097871; /* 0x2B09784C: ja 0x2b097871 */ 4941 L_2B09784E: 4942 edx = MEM32(esi + 0x3C); /* 0x2B09784E: mov edx, dword ptr [esi + 0x3c] */ 4943 ecx = eax + eax * 8; /* 0x2B097851: lea ecx, [eax + eax*8] */ 4944 ecx = edx + ecx * 4; /* 0x2B097854: lea ecx, [edx + ecx*4] */ 4945 edx = ecx + 0x4; /* 0x2B097857: lea edx, [ecx + 4] */ 4946 ecx = MEM32(ecx); /* 0x2B09785A: mov ecx, dword ptr [ecx] */ 4947 PUSH32(esp, edx); /* 0x2B09785C: push edx */ 4948 PUSH32(esp, ecx); /* 0x2B09785D: push ecx */ 4949 PUSH32(esp, eax); /* 0x2B09785E: push eax */ 4950 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09785F: call dword ptr [0x2b0b5d6c] */ 4951 RECOMP_FLAGS_IN(); 4952 ecx = eax; /* 0x2B097865: mov ecx, eax */ 4953 RECOMP_ICALL(MEM32(0x2B0B5CF4)); /* 0x2B097867: call dword ptr [0x2b0b5cf4] */ 4954 RECOMP_FLAGS_IN(); 4955 MEM8(esi + 0x30) = (uint8_t)(1); /* 0x2B09786D: mov byte ptr [esi + 0x30], 1 */ 4956 L_2B097871: 4957 esi = POP32_VAL(esp); /* 0x2B097871: pop esi */ 4958 ebp = POP32_VAL(esp); /* 0x2B097872: pop ebp */ 4959 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097873: ret 4 */ 4960 RECOMP_REGS_OUT(); 4961 } 4962 4963 void sub_2B097880(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(0x2B097880u); 4972 4973 L_2B097880: 4974 PUSH32(esp, ebp); /* 0x2B097880: push ebp */ 4975 ebp = esp; /* 0x2B097881: mov ebp, esp */ 4976 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4978 esp = esp - 8; /* 0x2B097883: sub esp, 8 */ 4979 _flag_k = FK_CMP; 4980 PUSH32(esp, ebx); /* 0x2B097886: push ebx */ 4981 ebx = MEM32(ebp + 0x8); /* 0x2B097887: mov ebx, dword ptr [ebp + 8] */ 4982 PUSH32(esp, esi); /* 0x2B09788A: push esi */ 4983 PUSH32(esp, edi); /* 0x2B09788B: push edi */ 4984 edi = ecx; /* 0x2B09788C: mov edi, ecx */ 4985 /* cmp edi, ebx */ /* 0x2B09788E: cmp edi, ebx */ 4986 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4988 _flag_k = FK_CMP; 4989 MEM32(ebp + (-0x4)) = edi; /* 0x2B097890: mov dword ptr [ebp - 4], edi */ 4990 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097B12; /* 0x2B097893: je 0x2b097b12 */ 4991 L_2B097899: 4992 esi = MEM32(ebx + 0x4); /* 0x2B097899: mov esi, dword ptr [ebx + 4] */ 4993 /* test esi, esi */ /* 0x2B09789C: test esi, esi */ 4994 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4995 _cf = 0; 4996 _flag_k = FK_TEST; 4997 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0978A5; /* 0x2B09789E: jne 0x2b0978a5 */ 4998 L_2B0978A0: 4999 MEM32(ebp + (-0x8)) = esi; /* 0x2B0978A0: mov dword ptr [ebp - 8], esi */ 5000 goto L_2B0978BE; /* 0x2B0978A3: jmp 0x2b0978be */ 5001 L_2B0978A5: 5002 ecx = MEM32(ebx + 0x8); /* 0x2B0978A5: mov ecx, dword ptr [ebx + 8] */ 5003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 5004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5005 ecx = ecx - esi; /* 0x2B0978A8: sub ecx, esi */ 5006 _flag_k = FK_CMP; 5007 eax = 0x38E38E39u; /* 0x2B0978AA: mov eax, 0x38e38e39 */ 5008 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0978AF: imul ecx */ 5009 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5010 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5011 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0978B1: sar edx, 3 */ 5012 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5013 edx = (uint32_t)((int32_t)edx >> 3u); 5014 eax = edx; /* 0x2B0978B4: mov eax, edx */ 5015 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0978B6: shr eax, 0x1f */ 5016 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5017 eax = eax >> 31u; /* 0x2B0978B6: shr eax, 0x1f */ 5018 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5020 edx = edx + eax; /* 0x2B0978B9: add edx, eax */ 5021 _flag_k = FK_ADD; 5022 MEM32(ebp + (-0x8)) = edx; /* 0x2B0978BB: mov dword ptr [ebp - 8], edx */ 5023 L_2B0978BE: 5024 ecx = MEM32(edi + 0x4); /* 0x2B0978BE: mov ecx, dword ptr [edi + 4] */ 5025 /* test ecx, ecx */ /* 0x2B0978C1: test ecx, ecx */ 5026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5027 _cf = 0; 5028 _flag_k = FK_TEST; 5029 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0978C9; /* 0x2B0978C3: jne 0x2b0978c9 */ 5030 L_2B0978C5: 5031 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5032 edx = 0; /* 0x2B0978C5: xor edx, edx */ 5033 _cf = 0; 5034 _flag_k = FK_TEST; 5035 goto L_2B0978DF; /* 0x2B0978C7: jmp 0x2b0978df */ 5036 L_2B0978C9: 5037 edx = MEM32(edi + 0x8); /* 0x2B0978C9: mov edx, dword ptr [edi + 8] */ 5038 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 5039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5040 edx = edx - ecx; /* 0x2B0978CC: sub edx, ecx */ 5041 _flag_k = FK_CMP; 5042 eax = 0x38E38E39u; /* 0x2B0978CE: mov eax, 0x38e38e39 */ 5043 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0978D3: imul edx */ 5044 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5045 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5046 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0978D5: sar edx, 3 */ 5047 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5048 edx = (uint32_t)((int32_t)edx >> 3u); 5049 eax = edx; /* 0x2B0978D8: mov eax, edx */ 5050 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0978DA: shr eax, 0x1f */ 5051 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5052 eax = eax >> 31u; /* 0x2B0978DA: shr eax, 0x1f */ 5053 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5054 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5055 edx = edx + eax; /* 0x2B0978DD: add edx, eax */ 5056 _flag_k = FK_ADD; 5057 L_2B0978DF: 5058 /* cmp MEM32(ebp + (-0x8)), edx */ /* 0x2B0978DF: cmp dword ptr [ebp - 8], edx */ 5059 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(edx); 5060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5061 _flag_k = FK_CMP; 5062 if (CMP_A(_flag_a, _flag_b)) goto L_2B097978; /* 0x2B0978E2: ja 0x2b097978 */ 5063 L_2B0978E8: 5064 eax = MEM32(ebx + 0x8); /* 0x2B0978E8: mov eax, dword ptr [ebx + 8] */ 5065 /* cmp esi, eax */ /* 0x2B0978EB: cmp esi, eax */ 5066 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5068 _flag_k = FK_CMP; 5069 MEM32(ebp + 0x8) = eax; /* 0x2B0978ED: mov dword ptr [ebp + 8], eax */ 5070 edi = ecx; /* 0x2B0978F0: mov edi, ecx */ 5071 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097909; /* 0x2B0978F2: je 0x2b097909 */ 5072 L_2B0978F4: 5073 PUSH32(esp, esi); /* 0x2B0978F4: push esi */ 5074 ecx = edi; /* 0x2B0978F5: mov ecx, edi */ 5075 RECOMP_ICALL(0x2B097CB0u); /* 0x2B0978F7: call 0x2b097cb0 */ /* not lifted */ 5076 RECOMP_FLAGS_IN(); 5077 eax = MEM32(ebp + 0x8); /* 0x2B0978FC: mov eax, dword ptr [ebp + 8] */ 5078 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5079 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5080 esi = esi + 0x24u; /* 0x2B0978FF: add esi, 0x24 */ 5081 _flag_k = FK_ADD; 5082 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 5083 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5084 edi = edi + 0x24u; /* 0x2B097902: add edi, 0x24 */ 5085 _flag_k = FK_ADD; 5086 /* cmp esi, eax */ /* 0x2B097905: cmp esi, eax */ 5087 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5089 _flag_k = FK_CMP; 5090 RECOMP_BACKEDGE(); 5091 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0978F4; /* 0x2B097907: jne 0x2b0978f4 */ 5092 L_2B097909: 5093 eax = MEM32(ebp + (-0x4)); /* 0x2B097909: mov eax, dword ptr [ebp - 4] */ 5094 ecx = MEM32(eax + 0x8); /* 0x2B09790C: mov ecx, dword ptr [eax + 8] */ 5095 /* cmp edi, ecx */ /* 0x2B09790F: cmp edi, ecx */ 5096 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5098 _flag_k = FK_CMP; 5099 MEM32(ebp + 0x8) = ecx; /* 0x2B097911: mov dword ptr [ebp + 8], ecx */ 5100 esi = edi; /* 0x2B097914: mov esi, edi */ 5101 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09792E; /* 0x2B097916: je 0x2b09792e */ 5102 L_2B097918: 5103 PUSH32(esp, 0); /* 0x2B097918: push 0 */ 5104 ecx = esi; /* 0x2B09791A: mov ecx, esi */ 5105 RECOMP_ICALL(0x2B0818C0u); /* 0x2B09791C: call 0x2b0818c0 */ /* not lifted */ 5106 RECOMP_FLAGS_IN(); 5107 eax = MEM32(ebp + 0x8); /* 0x2B097921: mov eax, dword ptr [ebp + 8] */ 5108 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5110 esi = esi + 0x24u; /* 0x2B097924: add esi, 0x24 */ 5111 _flag_k = FK_ADD; 5112 /* cmp esi, eax */ /* 0x2B097927: cmp esi, eax */ 5113 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5115 _flag_k = FK_CMP; 5116 RECOMP_BACKEDGE(); 5117 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097918; /* 0x2B097929: jne 0x2b097918 */ 5118 L_2B09792B: 5119 eax = MEM32(ebp + (-0x4)); /* 0x2B09792B: mov eax, dword ptr [ebp - 4] */ 5120 L_2B09792E: 5121 edx = MEM32(ebx + 0x4); /* 0x2B09792E: mov edx, dword ptr [ebx + 4] */ 5122 /* test edx, edx */ /* 0x2B097931: test edx, edx */ 5123 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5124 _cf = 0; 5125 _flag_k = FK_TEST; 5126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09794A; /* 0x2B097933: jne 0x2b09794a */ 5127 L_2B097935: 5128 ecx = MEM32(eax + 0x4); /* 0x2B097935: mov ecx, dword ptr [eax + 4] */ 5129 edi = POP32_VAL(esp); /* 0x2B097938: pop edi */ 5130 edx = edx + edx * 8; /* 0x2B097939: lea edx, [edx + edx*8] */ 5131 edx = ecx + edx * 4; /* 0x2B09793C: lea edx, [ecx + edx*4] */ 5132 esi = POP32_VAL(esp); /* 0x2B09793F: pop esi */ 5133 MEM32(eax + 0x8) = edx; /* 0x2B097940: mov dword ptr [eax + 8], edx */ 5134 ebx = POP32_VAL(esp); /* 0x2B097943: pop ebx */ 5135 esp = ebp; /* 0x2B097944: mov esp, ebp */ 5136 ebp = POP32_VAL(esp); /* 0x2B097946: pop ebp */ 5137 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097947: ret 4 */ 5138 L_2B09794A: 5139 ecx = MEM32(ebx + 0x8); /* 0x2B09794A: mov ecx, dword ptr [ebx + 8] */ 5140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5142 ecx = ecx - edx; /* 0x2B09794D: sub ecx, edx */ 5143 _flag_k = FK_CMP; 5144 eax = 0x38E38E39u; /* 0x2B09794F: mov eax, 0x38e38e39 */ 5145 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B097954: imul ecx */ 5146 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5147 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5148 eax = MEM32(ebp + (-0x4)); /* 0x2B097956: mov eax, dword ptr [ebp - 4] */ 5149 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B097959: sar edx, 3 */ 5150 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5151 edx = (uint32_t)((int32_t)edx >> 3u); 5152 ecx = edx; /* 0x2B09795C: mov ecx, edx */ 5153 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B09795E: shr ecx, 0x1f */ 5154 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5155 ecx = ecx >> 31u; /* 0x2B09795E: shr ecx, 0x1f */ 5156 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 5157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5158 edx = edx + ecx; /* 0x2B097961: add edx, ecx */ 5159 _flag_k = FK_ADD; 5160 ecx = MEM32(eax + 0x4); /* 0x2B097963: mov ecx, dword ptr [eax + 4] */ 5161 edi = POP32_VAL(esp); /* 0x2B097966: pop edi */ 5162 edx = edx + edx * 8; /* 0x2B097967: lea edx, [edx + edx*8] */ 5163 edx = ecx + edx * 4; /* 0x2B09796A: lea edx, [ecx + edx*4] */ 5164 esi = POP32_VAL(esp); /* 0x2B09796D: pop esi */ 5165 MEM32(eax + 0x8) = edx; /* 0x2B09796E: mov dword ptr [eax + 8], edx */ 5166 ebx = POP32_VAL(esp); /* 0x2B097971: pop ebx */ 5167 esp = ebp; /* 0x2B097972: mov esp, ebp */ 5168 ebp = POP32_VAL(esp); /* 0x2B097974: pop ebp */ 5169 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097975: ret 4 */ 5170 L_2B097978: 5171 /* test esi, esi */ /* 0x2B097978: test esi, esi */ 5172 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5173 _cf = 0; 5174 _flag_k = FK_TEST; 5175 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097981; /* 0x2B09797A: jne 0x2b097981 */ 5176 L_2B09797C: 5177 MEM32(ebp + (-0x8)) = esi; /* 0x2B09797C: mov dword ptr [ebp - 8], esi */ 5178 goto L_2B09799A; /* 0x2B09797F: jmp 0x2b09799a */ 5179 L_2B097981: 5180 edx = MEM32(ebx + 0x8); /* 0x2B097981: mov edx, dword ptr [ebx + 8] */ 5181 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 5182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5183 edx = edx - esi; /* 0x2B097984: sub edx, esi */ 5184 _flag_k = FK_CMP; 5185 eax = 0x38E38E39u; /* 0x2B097986: mov eax, 0x38e38e39 */ 5186 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B09798B: imul edx */ 5187 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5188 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5189 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B09798D: sar edx, 3 */ 5190 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5191 edx = (uint32_t)((int32_t)edx >> 3u); 5192 eax = edx; /* 0x2B097990: mov eax, edx */ 5193 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B097992: shr eax, 0x1f */ 5194 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5195 eax = eax >> 31u; /* 0x2B097992: shr eax, 0x1f */ 5196 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5198 edx = edx + eax; /* 0x2B097995: add edx, eax */ 5199 _flag_k = FK_ADD; 5200 MEM32(ebp + (-0x8)) = edx; /* 0x2B097997: mov dword ptr [ebp - 8], edx */ 5201 L_2B09799A: 5202 /* test ecx, ecx */ /* 0x2B09799A: test ecx, ecx */ 5203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5204 _cf = 0; 5205 _flag_k = FK_TEST; 5206 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0979A2; /* 0x2B09799C: jne 0x2b0979a2 */ 5207 L_2B09799E: 5208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5209 edx = 0; /* 0x2B09799E: xor edx, edx */ 5210 _cf = 0; 5211 _flag_k = FK_TEST; 5212 goto L_2B0979B8; /* 0x2B0979A0: jmp 0x2b0979b8 */ 5213 L_2B0979A2: 5214 edx = MEM32(edi + 0xC); /* 0x2B0979A2: mov edx, dword ptr [edi + 0xc] */ 5215 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 5216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5217 edx = edx - ecx; /* 0x2B0979A5: sub edx, ecx */ 5218 _flag_k = FK_CMP; 5219 eax = 0x38E38E39u; /* 0x2B0979A7: mov eax, 0x38e38e39 */ 5220 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0979AC: imul edx */ 5221 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5222 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5223 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0979AE: sar edx, 3 */ 5224 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5225 edx = (uint32_t)((int32_t)edx >> 3u); 5226 eax = edx; /* 0x2B0979B1: mov eax, edx */ 5227 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0979B3: shr eax, 0x1f */ 5228 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5229 eax = eax >> 31u; /* 0x2B0979B3: shr eax, 0x1f */ 5230 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5231 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5232 edx = edx + eax; /* 0x2B0979B6: add edx, eax */ 5233 _flag_k = FK_ADD; 5234 L_2B0979B8: 5235 /* cmp MEM32(ebp + (-0x8)), edx */ /* 0x2B0979B8: cmp dword ptr [ebp - 8], edx */ 5236 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(edx); 5237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5238 _flag_k = FK_CMP; 5239 if (CMP_A(_flag_a, _flag_b)) goto L_2B097A79; /* 0x2B0979BB: ja 0x2b097a79 */ 5240 L_2B0979C1: 5241 /* test ecx, ecx */ /* 0x2B0979C1: test ecx, ecx */ 5242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5243 _cf = 0; 5244 _flag_k = FK_TEST; 5245 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0979C9; /* 0x2B0979C3: jne 0x2b0979c9 */ 5246 L_2B0979C5: 5247 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5248 edx = 0; /* 0x2B0979C5: xor edx, edx */ 5249 _cf = 0; 5250 _flag_k = FK_TEST; 5251 goto L_2B0979DF; /* 0x2B0979C7: jmp 0x2b0979df */ 5252 L_2B0979C9: 5253 edx = MEM32(edi + 0x8); /* 0x2B0979C9: mov edx, dword ptr [edi + 8] */ 5254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 5255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5256 edx = edx - ecx; /* 0x2B0979CC: sub edx, ecx */ 5257 _flag_k = FK_CMP; 5258 eax = 0x38E38E39u; /* 0x2B0979CE: mov eax, 0x38e38e39 */ 5259 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0979D3: imul edx */ 5260 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5261 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5262 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0979D5: sar edx, 3 */ 5263 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5264 edx = (uint32_t)((int32_t)edx >> 3u); 5265 eax = edx; /* 0x2B0979D8: mov eax, edx */ 5266 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0979DA: shr eax, 0x1f */ 5267 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5268 eax = eax >> 31u; /* 0x2B0979DA: shr eax, 0x1f */ 5269 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5271 edx = edx + eax; /* 0x2B0979DD: add edx, eax */ 5272 _flag_k = FK_ADD; 5273 L_2B0979DF: 5274 edx = edx + edx * 8; /* 0x2B0979DF: lea edx, [edx + edx*8] */ 5275 edi = esi + edx * 4; /* 0x2B0979E2: lea edi, [esi + edx*4] */ 5276 /* cmp esi, edi */ /* 0x2B0979E5: cmp esi, edi */ 5277 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5279 _flag_k = FK_CMP; 5280 ebx = ecx; /* 0x2B0979E7: mov ebx, ecx */ 5281 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0979FD; /* 0x2B0979E9: je 0x2b0979fd */ 5282 L_2B0979EB: 5283 PUSH32(esp, esi); /* 0x2B0979EB: push esi */ 5284 ecx = ebx; /* 0x2B0979EC: mov ecx, ebx */ 5285 RECOMP_ICALL(0x2B097CB0u); /* 0x2B0979EE: call 0x2b097cb0 */ /* not lifted */ 5286 RECOMP_FLAGS_IN(); 5287 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5289 esi = esi + 0x24u; /* 0x2B0979F3: add esi, 0x24 */ 5290 _flag_k = FK_ADD; 5291 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 5292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5293 ebx = ebx + 0x24u; /* 0x2B0979F6: add ebx, 0x24 */ 5294 _flag_k = FK_ADD; 5295 /* cmp esi, edi */ /* 0x2B0979F9: cmp esi, edi */ 5296 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5298 _flag_k = FK_CMP; 5299 RECOMP_BACKEDGE(); 5300 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0979EB; /* 0x2B0979FB: jne 0x2b0979eb */ 5301 L_2B0979FD: 5302 ecx = MEM32(ebp + 0x8); /* 0x2B0979FD: mov ecx, dword ptr [ebp + 8] */ 5303 edx = MEM32(ecx + 0x8); /* 0x2B097A00: mov edx, dword ptr [ecx + 8] */ 5304 /* cmp edi, edx */ /* 0x2B097A03: cmp edi, edx */ 5305 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5307 _flag_k = FK_CMP; 5308 eax = MEM32(ebp + (-0x4)); /* 0x2B097A05: mov eax, dword ptr [ebp - 4] */ 5309 ebx = MEM32(eax + 0x8); /* 0x2B097A08: mov ebx, dword ptr [eax + 8] */ 5310 MEM32(ebp + (-0x8)) = edx; /* 0x2B097A0B: mov dword ptr [ebp - 8], edx */ 5311 esi = edi; /* 0x2B097A0E: mov esi, edi */ 5312 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097A2F; /* 0x2B097A10: je 0x2b097a2f */ 5313 L_2B097A12: 5314 PUSH32(esp, esi); /* 0x2B097A12: push esi */ 5315 PUSH32(esp, ebx); /* 0x2B097A13: push ebx */ 5316 RECOMP_ICALL(0x2B097B20u); /* 0x2B097A14: call 0x2b097b20 */ /* not lifted */ 5317 RECOMP_FLAGS_IN(); 5318 eax = MEM32(ebp + (-0x8)); /* 0x2B097A19: mov eax, dword ptr [ebp - 8] */ 5319 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5320 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5321 esi = esi + 0x24u; /* 0x2B097A1C: add esi, 0x24 */ 5322 _flag_k = FK_ADD; 5323 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5325 esp = esp + 8; /* 0x2B097A1F: add esp, 8 */ 5326 _flag_k = FK_ADD; 5327 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x24u); 5328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5329 ebx = ebx + 0x24u; /* 0x2B097A22: add ebx, 0x24 */ 5330 _flag_k = FK_ADD; 5331 /* cmp esi, eax */ /* 0x2B097A25: cmp esi, eax */ 5332 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5334 _flag_k = FK_CMP; 5335 RECOMP_BACKEDGE(); 5336 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097A12; /* 0x2B097A27: jne 0x2b097a12 */ 5337 L_2B097A29: 5338 eax = MEM32(ebp + (-0x4)); /* 0x2B097A29: mov eax, dword ptr [ebp - 4] */ 5339 ecx = MEM32(ebp + 0x8); /* 0x2B097A2C: mov ecx, dword ptr [ebp + 8] */ 5340 L_2B097A2F: 5341 edx = MEM32(ecx + 0x4); /* 0x2B097A2F: mov edx, dword ptr [ecx + 4] */ 5342 /* test edx, edx */ /* 0x2B097A32: test edx, edx */ 5343 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5344 _cf = 0; 5345 _flag_k = FK_TEST; 5346 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097A4B; /* 0x2B097A34: jne 0x2b097a4b */ 5347 L_2B097A36: 5348 ecx = edx + edx * 8; /* 0x2B097A36: lea ecx, [edx + edx*8] */ 5349 edx = MEM32(eax + 0x4); /* 0x2B097A39: mov edx, dword ptr [eax + 4] */ 5350 edi = POP32_VAL(esp); /* 0x2B097A3C: pop edi */ 5351 ecx = edx + ecx * 4; /* 0x2B097A3D: lea ecx, [edx + ecx*4] */ 5352 esi = POP32_VAL(esp); /* 0x2B097A40: pop esi */ 5353 MEM32(eax + 0x8) = ecx; /* 0x2B097A41: mov dword ptr [eax + 8], ecx */ 5354 ebx = POP32_VAL(esp); /* 0x2B097A44: pop ebx */ 5355 esp = ebp; /* 0x2B097A45: mov esp, ebp */ 5356 ebp = POP32_VAL(esp); /* 0x2B097A47: pop ebp */ 5357 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097A48: ret 4 */ 5358 L_2B097A4B: 5359 ecx = MEM32(ecx + 0x8); /* 0x2B097A4B: mov ecx, dword ptr [ecx + 8] */ 5360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5362 ecx = ecx - edx; /* 0x2B097A4E: sub ecx, edx */ 5363 _flag_k = FK_CMP; 5364 eax = 0x38E38E39u; /* 0x2B097A50: mov eax, 0x38e38e39 */ 5365 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B097A55: imul ecx */ 5366 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5367 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5368 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B097A57: sar edx, 3 */ 5369 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5370 edx = (uint32_t)((int32_t)edx >> 3u); 5371 eax = edx; /* 0x2B097A5A: mov eax, edx */ 5372 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B097A5C: shr eax, 0x1f */ 5373 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5374 eax = eax >> 31u; /* 0x2B097A5C: shr eax, 0x1f */ 5375 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5377 edx = edx + eax; /* 0x2B097A5F: add edx, eax */ 5378 _flag_k = FK_ADD; 5379 eax = MEM32(ebp + (-0x4)); /* 0x2B097A61: mov eax, dword ptr [ebp - 4] */ 5380 ecx = edx + edx * 8; /* 0x2B097A64: lea ecx, [edx + edx*8] */ 5381 edx = MEM32(eax + 0x4); /* 0x2B097A67: mov edx, dword ptr [eax + 4] */ 5382 edi = POP32_VAL(esp); /* 0x2B097A6A: pop edi */ 5383 ecx = edx + ecx * 4; /* 0x2B097A6B: lea ecx, [edx + ecx*4] */ 5384 esi = POP32_VAL(esp); /* 0x2B097A6E: pop esi */ 5385 MEM32(eax + 0x8) = ecx; /* 0x2B097A6F: mov dword ptr [eax + 8], ecx */ 5386 ebx = POP32_VAL(esp); /* 0x2B097A72: pop ebx */ 5387 esp = ebp; /* 0x2B097A73: mov esp, ebp */ 5388 ebp = POP32_VAL(esp); /* 0x2B097A75: pop ebp */ 5389 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097A76: ret 4 */ 5390 L_2B097A79: 5391 edi = MEM32(edi + 0x8); /* 0x2B097A79: mov edi, dword ptr [edi + 8] */ 5392 esi = ecx; /* 0x2B097A7C: mov esi, ecx */ 5393 /* cmp esi, edi */ /* 0x2B097A7E: cmp esi, edi */ 5394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5396 _flag_k = FK_CMP; 5397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097A90; /* 0x2B097A80: je 0x2b097a90 */ 5398 L_2B097A82: 5399 ecx = esi; /* 0x2B097A82: mov ecx, esi */ 5400 RECOMP_ICALL(0x2B03C1F0u); /* 0x2B097A84: call 0x2b03c1f0 */ /* not lifted */ 5401 RECOMP_FLAGS_IN(); 5402 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5403 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5404 esi = esi + 0x24u; /* 0x2B097A89: add esi, 0x24 */ 5405 _flag_k = FK_ADD; 5406 /* cmp esi, edi */ /* 0x2B097A8C: cmp esi, edi */ 5407 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5409 _flag_k = FK_CMP; 5410 RECOMP_BACKEDGE(); 5411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097A82; /* 0x2B097A8E: jne 0x2b097a82 */ 5412 L_2B097A90: 5413 esi = MEM32(ebp + (-0x4)); /* 0x2B097A90: mov esi, dword ptr [ebp - 4] */ 5414 edx = MEM32(esi + 0x4); /* 0x2B097A93: mov edx, dword ptr [esi + 4] */ 5415 PUSH32(esp, edx); /* 0x2B097A96: push edx */ 5416 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B097A97: call 0x2b0ab1ba */ /* not lifted */ 5417 RECOMP_FLAGS_IN(); 5418 eax = MEM32(ebx + 0x4); /* 0x2B097A9C: mov eax, dword ptr [ebx + 4] */ 5419 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5420 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5421 esp = esp + 4; /* 0x2B097A9F: add esp, 4 */ 5422 _flag_k = FK_ADD; 5423 /* test eax, eax */ /* 0x2B097AA2: test eax, eax */ 5424 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5425 _cf = 0; 5426 _flag_k = FK_TEST; 5427 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097AAA; /* 0x2B097AA4: jne 0x2b097aaa */ 5428 L_2B097AA6: 5429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5430 edx = 0; /* 0x2B097AA6: xor edx, edx */ 5431 _cf = 0; 5432 _flag_k = FK_TEST; 5433 goto L_2B097AC0; /* 0x2B097AA8: jmp 0x2b097ac0 */ 5434 L_2B097AAA: 5435 ecx = MEM32(ebx + 0x8); /* 0x2B097AAA: mov ecx, dword ptr [ebx + 8] */ 5436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5438 ecx = ecx - eax; /* 0x2B097AAD: sub ecx, eax */ 5439 _flag_k = FK_CMP; 5440 eax = 0x38E38E39u; /* 0x2B097AAF: mov eax, 0x38e38e39 */ 5441 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B097AB4: imul ecx */ 5442 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5443 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5444 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B097AB6: sar edx, 3 */ 5445 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5446 edx = (uint32_t)((int32_t)edx >> 3u); 5447 eax = edx; /* 0x2B097AB9: mov eax, edx */ 5448 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B097ABB: shr eax, 0x1f */ 5449 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5450 eax = eax >> 31u; /* 0x2B097ABB: shr eax, 0x1f */ 5451 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5453 edx = edx + eax; /* 0x2B097ABE: add edx, eax */ 5454 _flag_k = FK_ADD; 5455 L_2B097AC0: 5456 /* test edx, edx */ /* 0x2B097AC0: test edx, edx */ 5457 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5458 _cf = 0; 5459 _flag_k = FK_TEST; 5460 eax = edx; /* 0x2B097AC2: mov eax, edx */ 5461 if (TEST_NS(_flag_a, _flag_b)) goto L_2B097AC8; /* 0x2B097AC4: jge 0x2b097ac8 */ 5462 L_2B097AC6: 5463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5464 eax = 0; /* 0x2B097AC6: xor eax, eax */ 5465 _cf = 0; 5466 _flag_k = FK_TEST; 5467 L_2B097AC8: 5468 ecx = eax + eax * 8; /* 0x2B097AC8: lea ecx, [eax + eax*8] */ 5469 if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2B097ACB: shl ecx, 2 */ 5470 if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5471 ecx = ecx << 2u; /* 0x2B097ACB: shl ecx, 2 */ 5472 PUSH32(esp, ecx); /* 0x2B097ACE: push ecx */ 5473 RECOMP_ICALL(0x2B0AB212u); /* 0x2B097ACF: call 0x2b0ab212 */ /* not lifted */ 5474 RECOMP_FLAGS_IN(); 5475 MEM32(esi + 0x4) = eax; /* 0x2B097AD4: mov dword ptr [esi + 4], eax */ 5476 ecx = MEM32(ebx + 0x8); /* 0x2B097AD7: mov ecx, dword ptr [ebx + 8] */ 5477 esi = MEM32(ebx + 0x4); /* 0x2B097ADA: mov esi, dword ptr [ebx + 4] */ 5478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5480 esp = esp + 4; /* 0x2B097ADD: add esp, 4 */ 5481 _flag_k = FK_ADD; 5482 /* cmp esi, ecx */ /* 0x2B097AE0: cmp esi, ecx */ 5483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 5484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5485 _flag_k = FK_CMP; 5486 MEM32(ebp + 0x8) = ecx; /* 0x2B097AE2: mov dword ptr [ebp + 8], ecx */ 5487 edi = eax; /* 0x2B097AE5: mov edi, eax */ 5488 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097B00; /* 0x2B097AE7: je 0x2b097b00 */ 5489 L_2B097AE9: 5490 PUSH32(esp, esi); /* 0x2B097AE9: push esi */ 5491 PUSH32(esp, edi); /* 0x2B097AEA: push edi */ 5492 RECOMP_ICALL(0x2B097B20u); /* 0x2B097AEB: call 0x2b097b20 */ /* not lifted */ 5493 RECOMP_FLAGS_IN(); 5494 eax = MEM32(ebp + 0x8); /* 0x2B097AF0: mov eax, dword ptr [ebp + 8] */ 5495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x24u); 5496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5497 esi = esi + 0x24u; /* 0x2B097AF3: add esi, 0x24 */ 5498 _flag_k = FK_ADD; 5499 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5500 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5501 esp = esp + 8; /* 0x2B097AF6: add esp, 8 */ 5502 _flag_k = FK_ADD; 5503 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 5504 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5505 edi = edi + 0x24u; /* 0x2B097AF9: add edi, 0x24 */ 5506 _flag_k = FK_ADD; 5507 /* cmp esi, eax */ /* 0x2B097AFC: cmp esi, eax */ 5508 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5510 _flag_k = FK_CMP; 5511 RECOMP_BACKEDGE(); 5512 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097AE9; /* 0x2B097AFE: jne 0x2b097ae9 */ 5513 L_2B097B00: 5514 eax = MEM32(ebp + (-0x4)); /* 0x2B097B00: mov eax, dword ptr [ebp - 4] */ 5515 MEM32(eax + 0x8) = edi; /* 0x2B097B03: mov dword ptr [eax + 8], edi */ 5516 MEM32(eax + 0xC) = edi; /* 0x2B097B06: mov dword ptr [eax + 0xc], edi */ 5517 edi = POP32_VAL(esp); /* 0x2B097B09: pop edi */ 5518 esi = POP32_VAL(esp); /* 0x2B097B0A: pop esi */ 5519 ebx = POP32_VAL(esp); /* 0x2B097B0B: pop ebx */ 5520 esp = ebp; /* 0x2B097B0C: mov esp, ebp */ 5521 ebp = POP32_VAL(esp); /* 0x2B097B0E: pop ebp */ 5522 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097B0F: ret 4 */ 5523 L_2B097B12: 5524 eax = edi; /* 0x2B097B12: mov eax, edi */ 5525 edi = POP32_VAL(esp); /* 0x2B097B14: pop edi */ 5526 esi = POP32_VAL(esp); /* 0x2B097B15: pop esi */ 5527 ebx = POP32_VAL(esp); /* 0x2B097B16: pop ebx */ 5528 esp = ebp; /* 0x2B097B17: mov esp, ebp */ 5529 ebp = POP32_VAL(esp); /* 0x2B097B19: pop ebp */ 5530 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097B1A: ret 4 */ 5531 RECOMP_REGS_OUT(); 5532 } 5533 5534 void sub_2B097B20(void) { 5535 int _fpu_cmp = 0; 5536 uint32_t _cf = 0; 5537 int _df = 1; 5538 uint32_t _flag_k = FK_NONE; 5539 uint32_t _flag_a = 0, _flag_b = 0; 5540 uint32_t _itail_tgt = 0; 5541 RECOMP_REGS_LOCALS 5542 RECOMP_ENTER(0x2B097B20u); 5543 5544 L_2B097B20: 5545 PUSH32(esp, ebp); /* 0x2B097B20: push ebp */ 5546 ebp = esp; /* 0x2B097B21: mov ebp, esp */ 5547 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B097B23: push -1 */ 5548 PUSH32(esp, 0x2B0B3231u); /* 0x2B097B25: push 0x2b0b3231 */ 5549 eax = MEM32(FS_BASE + (0)); /* 0x2B097B2A: mov eax, dword ptr fs:[0] */ 5550 PUSH32(esp, eax); /* 0x2B097B30: push eax */ 5551 MEM32(FS_BASE + (0)) = esp; /* 0x2B097B31: mov dword ptr fs:[0], esp */ 5552 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5554 esp = esp - 8; /* 0x2B097B38: sub esp, 8 */ 5555 _flag_k = FK_CMP; 5556 PUSH32(esp, ebx); /* 0x2B097B3B: push ebx */ 5557 ebx = MEM32(ebp + 0x8); /* 0x2B097B3C: mov ebx, dword ptr [ebp + 8] */ 5558 MEM32(ebp + (-0x14)) = ebx; /* 0x2B097B3F: mov dword ptr [ebp - 0x14], ebx */ 5559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5560 edx = 0; /* 0x2B097B42: xor edx, edx */ 5561 _cf = 0; 5562 _flag_k = FK_TEST; 5563 /* cmp ebx, edx */ /* 0x2B097B44: cmp ebx, edx */ 5564 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 5565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5566 _flag_k = FK_CMP; 5567 MEM32(ebp + (-0x4)) = edx; /* 0x2B097B46: mov dword ptr [ebp - 4], edx */ 5568 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097C9D; /* 0x2B097B49: je 0x2b097c9d */ 5569 L_2B097B4F: 5570 PUSH32(esp, esi); /* 0x2B097B4F: push esi */ 5571 esi = MEM32(ebp + 0xC); /* 0x2B097B50: mov esi, dword ptr [ebp + 0xc] */ 5572 eax = MEM32(esi); /* 0x2B097B53: mov eax, dword ptr [esi] */ 5573 MEM32(ebx) = eax; /* 0x2B097B55: mov dword ptr [ebx], eax */ 5574 eax = esi + 0x4; /* 0x2B097B57: lea eax, [esi + 4] */ 5575 ecx = ebx + 0x4; /* 0x2B097B5A: lea ecx, [ebx + 4] */ 5576 /* cmp ecx, eax */ /* 0x2B097B5D: cmp ecx, eax */ 5577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5579 _flag_k = FK_CMP; 5580 PUSH32(esp, edi); /* 0x2B097B5F: push edi */ 5581 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097B6C; /* 0x2B097B60: je 0x2b097b6c */ 5582 L_2B097B62: 5583 edi = MEM32(eax); /* 0x2B097B62: mov edi, dword ptr [eax] */ 5584 MEM32(ecx) = edi; /* 0x2B097B64: mov dword ptr [ecx], edi */ 5585 eax = MEM32(eax + 0x4); /* 0x2B097B66: mov eax, dword ptr [eax + 4] */ 5586 MEM32(ecx + 0x4) = eax; /* 0x2B097B69: mov dword ptr [ecx + 4], eax */ 5587 L_2B097B6C: 5588 SET_LO8(ecx, MEM8(esi + 0xC)); /* 0x2B097B6C: mov cl, byte ptr [esi + 0xc] */ 5589 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 5590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5591 esi = esi + 0xCu; /* 0x2B097B6F: add esi, 0xc */ 5592 _flag_k = FK_ADD; 5593 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xCu); 5594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5595 ebx = ebx + 0xCu; /* 0x2B097B72: add ebx, 0xc */ 5596 _flag_k = FK_ADD; 5597 MEM8(ebx) = (uint8_t)(LO8(ecx)); /* 0x2B097B75: mov byte ptr [ebx], cl */ 5598 MEM32(ebx + 0x4) = edx; /* 0x2B097B77: mov dword ptr [ebx + 4], edx */ 5599 MEM32(ebx + 0x8) = edx; /* 0x2B097B7A: mov dword ptr [ebx + 8], edx */ 5600 MEM32(ebx + 0xC) = edx; /* 0x2B097B7D: mov dword ptr [ebx + 0xc], edx */ 5601 eax = MEM32(0x2B0B515C); /* 0x2B097B80: mov eax, dword ptr [0x2b0b515c] */ 5602 ecx = MEM32(esi + 0x8); /* 0x2B097B85: mov ecx, dword ptr [esi + 8] */ 5603 eax = MEM32(eax); /* 0x2B097B88: mov eax, dword ptr [eax] */ 5604 edi = ecx; /* 0x2B097B8A: mov edi, ecx */ 5605 /* cmp eax, edi */ /* 0x2B097B8C: cmp eax, edi */ 5606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5608 _flag_k = FK_CMP; 5609 MEM32(ebp + (-0x10)) = edi; /* 0x2B097B8E: mov dword ptr [ebp - 0x10], edi */ 5610 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097B98; /* 0x2B097B91: jae 0x2b097b98 */ 5611 L_2B097B93: 5612 MEM32(ebp + (-0x10)) = eax; /* 0x2B097B93: mov dword ptr [ebp - 0x10], eax */ 5613 edi = eax; /* 0x2B097B96: mov edi, eax */ 5614 L_2B097B98: 5615 /* cmp ebx, esi */ /* 0x2B097B98: cmp ebx, esi */ 5616 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 5617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5618 _flag_k = FK_CMP; 5619 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097C09; /* 0x2B097B9A: jne 0x2b097c09 */ 5620 L_2B097B9C: 5621 /* cmp edi, edx */ /* 0x2B097B9C: cmp edi, edx */ 5622 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5624 _flag_k = FK_CMP; 5625 esi = eax; /* 0x2B097B9E: mov esi, eax */ 5626 if (CMP_BE(_flag_a, _flag_b)) goto L_2B097BA8; /* 0x2B097BA0: jbe 0x2b097ba8 */ 5627 L_2B097BA2: 5628 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B097BA2: call dword ptr [0x2b0b519c] */ 5629 RECOMP_FLAGS_IN(); 5630 L_2B097BA8: 5631 eax = MEM32(ebx + 0x8); /* 0x2B097BA8: mov eax, dword ptr [ebx + 8] */ 5632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5634 eax = eax - edi; /* 0x2B097BAB: sub eax, edi */ 5635 _flag_k = FK_CMP; 5636 /* cmp eax, esi */ /* 0x2B097BAD: cmp eax, esi */ 5637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5639 _flag_k = FK_CMP; 5640 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097BB3; /* 0x2B097BAF: jae 0x2b097bb3 */ 5641 L_2B097BB1: 5642 esi = eax; /* 0x2B097BB1: mov esi, eax */ 5643 L_2B097BB3: 5644 /* test esi, esi */ /* 0x2B097BB3: test esi, esi */ 5645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5646 _cf = 0; 5647 _flag_k = FK_TEST; 5648 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097BF8; /* 0x2B097BB5: jbe 0x2b097bf8 */ 5649 L_2B097BB7: 5650 ecx = ebx; /* 0x2B097BB7: mov ecx, ebx */ 5651 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B097BB9: call dword ptr [0x2b0b516c] */ 5652 RECOMP_FLAGS_IN(); 5653 edx = MEM32(ebx + 0x8); /* 0x2B097BBF: mov edx, dword ptr [ebx + 8] */ 5654 ecx = MEM32(ebx + 0x4); /* 0x2B097BC2: mov ecx, dword ptr [ebx + 4] */ 5655 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 5656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5657 edx = edx - esi; /* 0x2B097BC5: sub edx, esi */ 5658 _flag_k = FK_CMP; 5659 eax = edi + ecx; /* 0x2B097BC7: lea eax, [edi + ecx] */ 5660 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5662 edx = edx - edi; /* 0x2B097BCA: sub edx, edi */ 5663 _flag_k = FK_CMP; 5664 PUSH32(esp, edx); /* 0x2B097BCC: push edx */ 5665 ecx = eax + esi; /* 0x2B097BCD: lea ecx, [eax + esi] */ 5666 PUSH32(esp, ecx); /* 0x2B097BD0: push ecx */ 5667 PUSH32(esp, eax); /* 0x2B097BD1: push eax */ 5668 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B097BD2: call dword ptr [0x2b0b51d4] */ 5669 RECOMP_FLAGS_IN(); 5670 edi = MEM32(ebx + 0x8); /* 0x2B097BD8: mov edi, dword ptr [ebx + 8] */ 5671 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5672 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5673 esp = esp + 0xCu; /* 0x2B097BDB: add esp, 0xc */ 5674 _flag_k = FK_ADD; 5675 PUSH32(esp, 0); /* 0x2B097BDE: push 0 */ 5676 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5678 edi = edi - esi; /* 0x2B097BE0: sub edi, esi */ 5679 _flag_k = FK_CMP; 5680 PUSH32(esp, edi); /* 0x2B097BE2: push edi */ 5681 ecx = ebx; /* 0x2B097BE3: mov ecx, ebx */ 5682 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B097BE5: call dword ptr [0x2b0b5154] */ 5683 RECOMP_FLAGS_IN(); 5684 /* test LO8(eax), LO8(eax) */ /* 0x2B097BEB: test al, al */ 5685 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5686 _cf = 0; 5687 _flag_k = FK_NARROW(FK_TEST, 24); 5688 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097BF8; /* 0x2B097BED: je 0x2b097bf8 */ 5689 L_2B097BEF: 5690 PUSH32(esp, edi); /* 0x2B097BEF: push edi */ 5691 ecx = ebx; /* 0x2B097BF0: mov ecx, ebx */ 5692 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B097BF2: call dword ptr [0x2b0b5150] */ 5693 RECOMP_FLAGS_IN(); 5694 L_2B097BF8: 5695 PUSH32(esp, 0); /* 0x2B097BF8: push 0 */ 5696 PUSH32(esp, 0); /* 0x2B097BFA: push 0 */ 5697 ecx = ebx; /* 0x2B097BFC: mov ecx, ebx */ 5698 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B097BFE: call dword ptr [0x2b0b51ac] */ 5699 RECOMP_FLAGS_IN(); 5700 goto L_2B097C89; /* 0x2B097C04: jmp 0x2b097c89 */ 5701 L_2B097C09: 5702 /* cmp edi, edx */ /* 0x2B097C09: cmp edi, edx */ 5703 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5705 _flag_k = FK_CMP; 5706 if (CMP_BE(_flag_a, _flag_b)) goto L_2B097C4D; /* 0x2B097C0B: jbe 0x2b097c4d */ 5707 L_2B097C0D: 5708 /* cmp edi, ecx */ /* 0x2B097C0D: cmp edi, ecx */ 5709 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5711 _flag_k = FK_CMP; 5712 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097C4D; /* 0x2B097C0F: jne 0x2b097c4d */ 5713 L_2B097C11: 5714 eax = MEM32(esi + 0x4); /* 0x2B097C11: mov eax, dword ptr [esi + 4] */ 5715 /* cmp eax, edx */ /* 0x2B097C14: cmp eax, edx */ 5716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5718 _flag_k = FK_CMP; 5719 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097C1D; /* 0x2B097C16: jne 0x2b097c1d */ 5720 L_2B097C18: 5721 eax = MEM32(0x2B0B513C); /* 0x2B097C18: mov eax, dword ptr [0x2b0b513c] */ 5722 L_2B097C1D: 5723 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B097C1D: cmp byte ptr [eax - 1], 0xfe */ 5724 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 5725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5726 _flag_k = FK_NARROW(FK_CMP, 24); 5727 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097C4D; /* 0x2B097C21: jae 0x2b097c4d */ 5728 L_2B097C23: 5729 PUSH32(esp, 1); /* 0x2B097C23: push 1 */ 5730 ecx = ebx; /* 0x2B097C25: mov ecx, ebx */ 5731 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B097C27: call dword ptr [0x2b0b514c] */ 5732 RECOMP_FLAGS_IN(); 5733 eax = MEM32(esi + 0x4); /* 0x2B097C2D: mov eax, dword ptr [esi + 4] */ 5734 /* test eax, eax */ /* 0x2B097C30: test eax, eax */ 5735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5736 _cf = 0; 5737 _flag_k = FK_TEST; 5738 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097C39; /* 0x2B097C32: jne 0x2b097c39 */ 5739 L_2B097C34: 5740 eax = MEM32(0x2B0B513C); /* 0x2B097C34: mov eax, dword ptr [0x2b0b513c] */ 5741 L_2B097C39: 5742 MEM32(ebx + 0x4) = eax; /* 0x2B097C39: mov dword ptr [ebx + 4], eax */ 5743 edx = MEM32(esi + 0x8); /* 0x2B097C3C: mov edx, dword ptr [esi + 8] */ 5744 MEM32(ebx + 0x8) = edx; /* 0x2B097C3F: mov dword ptr [ebx + 8], edx */ 5745 ecx = MEM32(esi + 0xC); /* 0x2B097C42: mov ecx, dword ptr [esi + 0xc] */ 5746 MEM32(ebx + 0xC) = ecx; /* 0x2B097C45: mov dword ptr [ebx + 0xc], ecx */ 5747 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 5748 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B097C48: inc byte ptr [eax - 1] */ 5749 _flag_k = FK_NARROW(FK_INC, 24); 5750 goto L_2B097C89; /* 0x2B097C4B: jmp 0x2b097c89 */ 5751 L_2B097C4D: 5752 PUSH32(esp, 1); /* 0x2B097C4D: push 1 */ 5753 PUSH32(esp, edi); /* 0x2B097C4F: push edi */ 5754 ecx = ebx; /* 0x2B097C50: mov ecx, ebx */ 5755 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B097C52: call dword ptr [0x2b0b5154] */ 5756 RECOMP_FLAGS_IN(); 5757 /* test LO8(eax), LO8(eax) */ /* 0x2B097C58: test al, al */ 5758 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5759 _cf = 0; 5760 _flag_k = FK_NARROW(FK_TEST, 24); 5761 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097C89; /* 0x2B097C5A: je 0x2b097c89 */ 5762 L_2B097C5C: 5763 esi = MEM32(esi + 0x4); /* 0x2B097C5C: mov esi, dword ptr [esi + 4] */ 5764 /* test esi, esi */ /* 0x2B097C5F: test esi, esi */ 5765 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5766 _cf = 0; 5767 _flag_k = FK_TEST; 5768 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097C69; /* 0x2B097C61: jne 0x2b097c69 */ 5769 L_2B097C63: 5770 esi = MEM32(0x2B0B513C); /* 0x2B097C63: mov esi, dword ptr [0x2b0b513c] */ 5771 L_2B097C69: 5772 eax = MEM32(ebp + (-0x10)); /* 0x2B097C69: mov eax, dword ptr [ebp - 0x10] */ 5773 ecx = edi; /* 0x2B097C6C: mov ecx, edi */ 5774 edi = MEM32(ebx + 0x4); /* 0x2B097C6E: mov edi, dword ptr [ebx + 4] */ 5775 edx = ecx; /* 0x2B097C71: mov edx, ecx */ 5776 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B097C73: shr ecx, 2 */ 5777 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5778 ecx = ecx >> 2u; /* 0x2B097C73: shr ecx, 2 */ 5779 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B097C76: 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; } 5780 ecx = edx; /* 0x2B097C78: mov ecx, edx */ 5781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5782 ecx = ecx & 3; /* 0x2B097C7A: and ecx, 3 */ 5783 _cf = 0; 5784 _flag_k = FK_TEST; 5785 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B097C7D: 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; } 5786 ecx = MEM32(ebx + 0x4); /* 0x2B097C7F: mov ecx, dword ptr [ebx + 4] */ 5787 MEM32(ebx + 0x8) = eax; /* 0x2B097C82: mov dword ptr [ebx + 8], eax */ 5788 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B097C85: mov byte ptr [eax + ecx], 0 */ 5789 L_2B097C89: 5790 eax = MEM32(ebp + 0xC); /* 0x2B097C89: mov eax, dword ptr [ebp + 0xc] */ 5791 edx = MEM32(eax + 0x1C); /* 0x2B097C8C: mov edx, dword ptr [eax + 0x1c] */ 5792 ecx = MEM32(ebp + 0x8); /* 0x2B097C8F: mov ecx, dword ptr [ebp + 8] */ 5793 MEM32(ecx + 0x1C) = edx; /* 0x2B097C92: mov dword ptr [ecx + 0x1c], edx */ 5794 eax = MEM32(eax + 0x20); /* 0x2B097C95: mov eax, dword ptr [eax + 0x20] */ 5795 edi = POP32_VAL(esp); /* 0x2B097C98: pop edi */ 5796 MEM32(ecx + 0x20) = eax; /* 0x2B097C99: mov dword ptr [ecx + 0x20], eax */ 5797 esi = POP32_VAL(esp); /* 0x2B097C9C: pop esi */ 5798 L_2B097C9D: 5799 ecx = MEM32(ebp + (-0xC)); /* 0x2B097C9D: mov ecx, dword ptr [ebp - 0xc] */ 5800 ebx = POP32_VAL(esp); /* 0x2B097CA0: pop ebx */ 5801 MEM32(FS_BASE + (0)) = ecx; /* 0x2B097CA1: mov dword ptr fs:[0], ecx */ 5802 esp = ebp; /* 0x2B097CA8: mov esp, ebp */ 5803 ebp = POP32_VAL(esp); /* 0x2B097CAA: pop ebp */ 5804 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097CAB: ret */ 5805 RECOMP_REGS_OUT(); 5806 } 5807 5808 void sub_2B097C89(void) { 5809 int _fpu_cmp = 0; 5810 uint32_t _cf = 0; 5811 int _df = 1; 5812 uint32_t _flag_k = FK_NONE; 5813 uint32_t _flag_a = 0, _flag_b = 0; 5814 uint32_t _itail_tgt = 0; 5815 RECOMP_REGS_LOCALS 5816 RECOMP_ENTER(0x2B097C89u); 5817 5818 L_2B097C89: 5819 eax = MEM32(ebp + 0xC); /* 0x2B097C89: mov eax, dword ptr [ebp + 0xc] */ 5820 edx = MEM32(eax + 0x1C); /* 0x2B097C8C: mov edx, dword ptr [eax + 0x1c] */ 5821 ecx = MEM32(ebp + 0x8); /* 0x2B097C8F: mov ecx, dword ptr [ebp + 8] */ 5822 MEM32(ecx + 0x1C) = edx; /* 0x2B097C92: mov dword ptr [ecx + 0x1c], edx */ 5823 eax = MEM32(eax + 0x20); /* 0x2B097C95: mov eax, dword ptr [eax + 0x20] */ 5824 edi = POP32_VAL(esp); /* 0x2B097C98: pop edi */ 5825 MEM32(ecx + 0x20) = eax; /* 0x2B097C99: mov dword ptr [ecx + 0x20], eax */ 5826 esi = POP32_VAL(esp); /* 0x2B097C9C: pop esi */ 5827 ecx = MEM32(ebp + (-0xC)); /* 0x2B097C9D: mov ecx, dword ptr [ebp - 0xc] */ 5828 ebx = POP32_VAL(esp); /* 0x2B097CA0: pop ebx */ 5829 MEM32(FS_BASE + (0)) = ecx; /* 0x2B097CA1: mov dword ptr fs:[0], ecx */ 5830 esp = ebp; /* 0x2B097CA8: mov esp, ebp */ 5831 ebp = POP32_VAL(esp); /* 0x2B097CAA: pop ebp */ 5832 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097CAB: ret */ 5833 RECOMP_REGS_OUT(); 5834 } 5835 5836 void sub_2B097CB0(void) { 5837 int _fpu_cmp = 0; 5838 uint32_t _cf = 0; 5839 int _df = 1; 5840 uint32_t _flag_k = FK_NONE; 5841 uint32_t _flag_a = 0, _flag_b = 0; 5842 uint32_t _itail_tgt = 0; 5843 RECOMP_REGS_LOCALS 5844 RECOMP_ENTER(0x2B097CB0u); 5845 5846 L_2B097CB0: 5847 PUSH32(esp, ebp); /* 0x2B097CB0: push ebp */ 5848 ebp = esp; /* 0x2B097CB1: mov ebp, esp */ 5849 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5851 esp = esp - 8; /* 0x2B097CB3: sub esp, 8 */ 5852 _flag_k = FK_CMP; 5853 eax = ecx; /* 0x2B097CB6: mov eax, ecx */ 5854 PUSH32(esp, ebx); /* 0x2B097CB8: push ebx */ 5855 PUSH32(esp, esi); /* 0x2B097CB9: push esi */ 5856 esi = MEM32(ebp + 0x8); /* 0x2B097CBA: mov esi, dword ptr [ebp + 8] */ 5857 ecx = MEM32(esi); /* 0x2B097CBD: mov ecx, dword ptr [esi] */ 5858 MEM32(eax) = ecx; /* 0x2B097CBF: mov dword ptr [eax], ecx */ 5859 edx = MEM32(esi + 0x4); /* 0x2B097CC1: mov edx, dword ptr [esi + 4] */ 5860 MEM32(eax + 0x4) = edx; /* 0x2B097CC4: mov dword ptr [eax + 4], edx */ 5861 ecx = MEM32(esi + 0x8); /* 0x2B097CC7: mov ecx, dword ptr [esi + 8] */ 5862 MEM32(eax + 0x8) = ecx; /* 0x2B097CCA: mov dword ptr [eax + 8], ecx */ 5863 edx = MEM32(0x2B0B515C); /* 0x2B097CCD: mov edx, dword ptr [0x2b0b515c] */ 5864 ecx = MEM32(esi + 0x14); /* 0x2B097CD3: mov ecx, dword ptr [esi + 0x14] */ 5865 edx = MEM32(edx); /* 0x2B097CD6: mov edx, dword ptr [edx] */ 5866 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 5867 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5868 esi = esi + 0xCu; /* 0x2B097CD8: add esi, 0xc */ 5869 _flag_k = FK_ADD; 5870 PUSH32(esp, edi); /* 0x2B097CDB: push edi */ 5871 edi = ecx; /* 0x2B097CDC: mov edi, ecx */ 5872 /* cmp edx, edi */ /* 0x2B097CDE: cmp edx, edi */ 5873 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5875 _flag_k = FK_CMP; 5876 MEM32(ebp + (-0x4)) = eax; /* 0x2B097CE0: mov dword ptr [ebp - 4], eax */ 5877 ebx = eax + 0xC; /* 0x2B097CE3: lea ebx, [eax + 0xc] */ 5878 MEM32(ebp + (-0x8)) = edi; /* 0x2B097CE6: mov dword ptr [ebp - 8], edi */ 5879 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097CF0; /* 0x2B097CE9: jae 0x2b097cf0 */ 5880 L_2B097CEB: 5881 MEM32(ebp + (-0x8)) = edx; /* 0x2B097CEB: mov dword ptr [ebp - 8], edx */ 5882 edi = edx; /* 0x2B097CEE: mov edi, edx */ 5883 L_2B097CF0: 5884 /* cmp ebx, esi */ /* 0x2B097CF0: cmp ebx, esi */ 5885 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 5886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5887 _flag_k = FK_CMP; 5888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097D60; /* 0x2B097CF2: jne 0x2b097d60 */ 5889 L_2B097CF4: 5890 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B097CF4: cmp dword ptr [ebx + 8], edi */ 5891 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 5892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5893 _flag_k = FK_CMP; 5894 esi = edx; /* 0x2B097CF7: mov esi, edx */ 5895 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097D04; /* 0x2B097CF9: jae 0x2b097d04 */ 5896 L_2B097CFB: 5897 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B097CFB: call dword ptr [0x2b0b519c] */ 5898 RECOMP_FLAGS_IN(); 5899 eax = MEM32(ebp + (-0x4)); /* 0x2B097D01: mov eax, dword ptr [ebp - 4] */ 5900 L_2B097D04: 5901 ecx = MEM32(ebx + 0x8); /* 0x2B097D04: mov ecx, dword ptr [ebx + 8] */ 5902 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5904 ecx = ecx - edi; /* 0x2B097D07: sub ecx, edi */ 5905 _flag_k = FK_CMP; 5906 /* cmp ecx, esi */ /* 0x2B097D09: cmp ecx, esi */ 5907 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 5908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5909 _flag_k = FK_CMP; 5910 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097D0F; /* 0x2B097D0B: jae 0x2b097d0f */ 5911 L_2B097D0D: 5912 esi = ecx; /* 0x2B097D0D: mov esi, ecx */ 5913 L_2B097D0F: 5914 /* test esi, esi */ /* 0x2B097D0F: test esi, esi */ 5915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5916 _cf = 0; 5917 _flag_k = FK_TEST; 5918 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097E0F; /* 0x2B097D11: jbe 0x2b097e0f */ 5919 L_2B097D17: 5920 ecx = ebx; /* 0x2B097D17: mov ecx, ebx */ 5921 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B097D19: call dword ptr [0x2b0b516c] */ 5922 RECOMP_FLAGS_IN(); 5923 ecx = MEM32(ebx + 0x8); /* 0x2B097D1F: mov ecx, dword ptr [ebx + 8] */ 5924 eax = MEM32(ebx + 0x4); /* 0x2B097D22: mov eax, dword ptr [ebx + 4] */ 5925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 5926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5927 ecx = ecx - esi; /* 0x2B097D25: sub ecx, esi */ 5928 _flag_k = FK_CMP; 5929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5931 eax = eax + edi; /* 0x2B097D27: add eax, edi */ 5932 _flag_k = FK_ADD; 5933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5935 ecx = ecx - edi; /* 0x2B097D29: sub ecx, edi */ 5936 _flag_k = FK_CMP; 5937 PUSH32(esp, ecx); /* 0x2B097D2B: push ecx */ 5938 edx = eax + esi; /* 0x2B097D2C: lea edx, [eax + esi] */ 5939 PUSH32(esp, edx); /* 0x2B097D2F: push edx */ 5940 PUSH32(esp, eax); /* 0x2B097D30: push eax */ 5941 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B097D31: call dword ptr [0x2b0b51d4] */ 5942 RECOMP_FLAGS_IN(); 5943 edi = MEM32(ebx + 0x8); /* 0x2B097D37: mov edi, dword ptr [ebx + 8] */ 5944 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5945 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5946 esp = esp + 0xCu; /* 0x2B097D3A: add esp, 0xc */ 5947 _flag_k = FK_ADD; 5948 PUSH32(esp, 0); /* 0x2B097D3D: push 0 */ 5949 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5951 edi = edi - esi; /* 0x2B097D3F: sub edi, esi */ 5952 _flag_k = FK_CMP; 5953 PUSH32(esp, edi); /* 0x2B097D41: push edi */ 5954 ecx = ebx; /* 0x2B097D42: mov ecx, ebx */ 5955 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B097D44: call dword ptr [0x2b0b5154] */ 5956 RECOMP_FLAGS_IN(); 5957 /* test LO8(eax), LO8(eax) */ /* 0x2B097D4A: test al, al */ 5958 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5959 _cf = 0; 5960 _flag_k = FK_NARROW(FK_TEST, 24); 5961 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097E0C; /* 0x2B097D4C: je 0x2b097e0c */ 5962 L_2B097D52: 5963 PUSH32(esp, edi); /* 0x2B097D52: push edi */ 5964 ecx = ebx; /* 0x2B097D53: mov ecx, ebx */ 5965 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B097D55: call dword ptr [0x2b0b5150] */ 5966 RECOMP_FLAGS_IN(); 5967 goto L_2B097E0C; /* 0x2B097D5B: jmp 0x2b097e0c */ 5968 L_2B097D60: 5969 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5970 edx = 0; /* 0x2B097D60: xor edx, edx */ 5971 _cf = 0; 5972 _flag_k = FK_TEST; 5973 /* cmp edi, edx */ /* 0x2B097D62: cmp edi, edx */ 5974 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5976 _flag_k = FK_CMP; 5977 if (CMP_BE(_flag_a, _flag_b)) goto L_2B097DD0; /* 0x2B097D64: jbe 0x2b097dd0 */ 5978 L_2B097D66: 5979 /* cmp edi, ecx */ /* 0x2B097D66: cmp edi, ecx */ 5980 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5982 _flag_k = FK_CMP; 5983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097DD0; /* 0x2B097D68: jne 0x2b097dd0 */ 5984 L_2B097D6A: 5985 ecx = MEM32(esi + 0x4); /* 0x2B097D6A: mov ecx, dword ptr [esi + 4] */ 5986 /* cmp ecx, edx */ /* 0x2B097D6D: cmp ecx, edx */ 5987 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5989 _flag_k = FK_CMP; 5990 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097D77; /* 0x2B097D6F: jne 0x2b097d77 */ 5991 L_2B097D71: 5992 ecx = MEM32(0x2B0B513C); /* 0x2B097D71: mov ecx, dword ptr [0x2b0b513c] */ 5993 L_2B097D77: 5994 /* cmp MEM8(ecx + (-0x1)), 0xFEu */ /* 0x2B097D77: cmp byte ptr [ecx - 1], 0xfe */ 5995 _flag_a = (uint32_t)(MEM8(ecx + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 5996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5997 _flag_k = FK_NARROW(FK_CMP, 24); 5998 if (CMP_AE(_flag_a, _flag_b)) goto L_2B097DD0; /* 0x2B097D7B: jae 0x2b097dd0 */ 5999 L_2B097D7D: 6000 ecx = MEM32(ebx + 0x4); /* 0x2B097D7D: mov ecx, dword ptr [ebx + 4] */ 6001 /* cmp ecx, edx */ /* 0x2B097D80: cmp ecx, edx */ 6002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6004 _flag_k = FK_CMP; 6005 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097DA6; /* 0x2B097D82: je 0x2b097da6 */ 6006 L_2B097D84: 6007 edi = ecx + (-0x1); /* 0x2B097D84: lea edi, [ecx - 1] */ 6008 SET_LO8(ecx, MEM8(edi)); /* 0x2B097D87: mov cl, byte ptr [edi] */ 6009 /* test LO8(ecx), LO8(ecx) */ /* 0x2B097D89: test cl, cl */ 6010 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6011 _cf = 0; 6012 _flag_k = FK_NARROW(FK_TEST, 24); 6013 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097D98; /* 0x2B097D8B: je 0x2b097d98 */ 6014 L_2B097D8D: 6015 /* cmp LO8(ecx), 0xFFu */ /* 0x2B097D8D: cmp cl, 0xff */ 6016 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6018 _flag_k = FK_NARROW(FK_CMP, 24); 6019 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B097D98; /* 0x2B097D90: je 0x2b097d98 */ 6020 L_2B097D92: 6021 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 6022 SET_LO8(ecx, LO8(ecx) - 1); /* 0x2B097D92: dec cl */ 6023 _flag_k = FK_NARROW(FK_DEC, 24); 6024 MEM8(edi) = (uint8_t)(LO8(ecx)); /* 0x2B097D94: mov byte ptr [edi], cl */ 6025 goto L_2B097DA6; /* 0x2B097D96: jmp 0x2b097da6 */ 6026 L_2B097D98: 6027 PUSH32(esp, edi); /* 0x2B097D98: push edi */ 6028 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B097D99: call 0x2b0ab1ba */ /* not lifted */ 6029 RECOMP_FLAGS_IN(); 6030 eax = MEM32(ebp + (-0x4)); /* 0x2B097D9E: mov eax, dword ptr [ebp - 4] */ 6031 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6033 esp = esp + 4; /* 0x2B097DA1: add esp, 4 */ 6034 _flag_k = FK_ADD; 6035 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6036 edx = 0; /* 0x2B097DA4: xor edx, edx */ 6037 _cf = 0; 6038 _flag_k = FK_TEST; 6039 L_2B097DA6: 6040 MEM32(ebx + 0x4) = edx; /* 0x2B097DA6: mov dword ptr [ebx + 4], edx */ 6041 MEM32(ebx + 0x8) = edx; /* 0x2B097DA9: mov dword ptr [ebx + 8], edx */ 6042 MEM32(ebx + 0xC) = edx; /* 0x2B097DAC: mov dword ptr [ebx + 0xc], edx */ 6043 ecx = MEM32(esi + 0x4); /* 0x2B097DAF: mov ecx, dword ptr [esi + 4] */ 6044 /* cmp ecx, edx */ /* 0x2B097DB2: cmp ecx, edx */ 6045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6047 _flag_k = FK_CMP; 6048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B097DBC; /* 0x2B097DB4: jne 0x2b097dbc */ 6049 L_2B097DB6: 6050 ecx = MEM32(0x2B0B513C); /* 0x2B097DB6: mov ecx, dword ptr [0x2b0b513c] */ 6051 L_2B097DBC: 6052 MEM32(ebx + 0x4) = ecx; /* 0x2B097DBC: mov dword ptr [ebx + 4], ecx */ 6053 edx = MEM32(esi + 0x8); /* 0x2B097DBF: mov edx, dword ptr [esi + 8] */ 6054 MEM32(ebx + 0x8) = edx; /* 0x2B097DC2: mov dword ptr [ebx + 8], edx */ 6055 edx = MEM32(esi + 0xC); /* 0x2B097DC5: mov edx, dword ptr [esi + 0xc] */ 6056 MEM32(ebx + 0xC) = edx; /* 0x2B097DC8: mov dword ptr [ebx + 0xc], edx */ 6057 _flag_a = (uint32_t)(MEM8(ecx + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 6058 MEM8(ecx + (-0x1)) = (uint8_t)(MEM8(ecx + (-0x1)) + 1); /* 0x2B097DCB: inc byte ptr [ecx - 1] */ 6059 _flag_k = FK_NARROW(FK_INC, 24); 6060 goto L_2B097E0F; /* 0x2B097DCE: jmp 0x2b097e0f */ 6061 L_2B097DD0: 6062 PUSH32(esp, 1); /* 0x2B097DD0: push 1 */ 6063 PUSH32(esp, edi); /* 0x2B097DD2: push edi */ 6064 ecx = ebx; /* 0x2B097DD3: mov ecx, ebx */ 6065 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B097DD5: call dword ptr [0x2b0b5154] */ 6066 RECOMP_FLAGS_IN(); 6067 /* test LO8(eax), LO8(eax) */ /* 0x2B097DDB: test al, al */ 6068 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6069 _cf = 0; 6070 _flag_k = FK_NARROW(FK_TEST, 24); 6071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097E0C; /* 0x2B097DDD: je 0x2b097e0c */ 6072 L_2B097DDF: 6073 esi = MEM32(esi + 0x4); /* 0x2B097DDF: mov esi, dword ptr [esi + 4] */ 6074 /* test esi, esi */ /* 0x2B097DE2: test esi, esi */ 6075 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6076 _cf = 0; 6077 _flag_k = FK_TEST; 6078 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097DEC; /* 0x2B097DE4: jne 0x2b097dec */ 6079 L_2B097DE6: 6080 esi = MEM32(0x2B0B513C); /* 0x2B097DE6: mov esi, dword ptr [0x2b0b513c] */ 6081 L_2B097DEC: 6082 ecx = edi; /* 0x2B097DEC: mov ecx, edi */ 6083 edi = MEM32(ebx + 0x4); /* 0x2B097DEE: mov edi, dword ptr [ebx + 4] */ 6084 eax = ecx; /* 0x2B097DF1: mov eax, ecx */ 6085 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B097DF3: shr ecx, 2 */ 6086 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6087 ecx = ecx >> 2u; /* 0x2B097DF3: shr ecx, 2 */ 6088 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B097DF6: 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; } 6089 ecx = eax; /* 0x2B097DF8: mov ecx, eax */ 6090 eax = MEM32(ebp + (-0x8)); /* 0x2B097DFA: mov eax, dword ptr [ebp - 8] */ 6091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6092 ecx = ecx & 3; /* 0x2B097DFD: and ecx, 3 */ 6093 _cf = 0; 6094 _flag_k = FK_TEST; 6095 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B097E00: 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; } 6096 ecx = MEM32(ebx + 0x4); /* 0x2B097E02: mov ecx, dword ptr [ebx + 4] */ 6097 MEM32(ebx + 0x8) = eax; /* 0x2B097E05: mov dword ptr [ebx + 8], eax */ 6098 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B097E08: mov byte ptr [eax + ecx], 0 */ 6099 L_2B097E0C: 6100 eax = MEM32(ebp + (-0x4)); /* 0x2B097E0C: mov eax, dword ptr [ebp - 4] */ 6101 L_2B097E0F: 6102 ecx = MEM32(ebp + 0x8); /* 0x2B097E0F: mov ecx, dword ptr [ebp + 8] */ 6103 edx = MEM32(ecx + 0x1C); /* 0x2B097E12: mov edx, dword ptr [ecx + 0x1c] */ 6104 edi = POP32_VAL(esp); /* 0x2B097E15: pop edi */ 6105 MEM32(eax + 0x1C) = edx; /* 0x2B097E16: mov dword ptr [eax + 0x1c], edx */ 6106 ecx = MEM32(ecx + 0x20); /* 0x2B097E19: mov ecx, dword ptr [ecx + 0x20] */ 6107 esi = POP32_VAL(esp); /* 0x2B097E1C: pop esi */ 6108 MEM32(eax + 0x20) = ecx; /* 0x2B097E1D: mov dword ptr [eax + 0x20], ecx */ 6109 ebx = POP32_VAL(esp); /* 0x2B097E20: pop ebx */ 6110 esp = ebp; /* 0x2B097E21: mov esp, ebp */ 6111 ebp = POP32_VAL(esp); /* 0x2B097E23: pop ebp */ 6112 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097E24: ret 4 */ 6113 RECOMP_REGS_OUT(); 6114 } 6115 6116 void sub_2B097E0C(void) { 6117 int _fpu_cmp = 0; 6118 uint32_t _cf = 0; 6119 int _df = 1; 6120 uint32_t _flag_k = FK_NONE; 6121 uint32_t _flag_a = 0, _flag_b = 0; 6122 uint32_t _itail_tgt = 0; 6123 RECOMP_REGS_LOCALS 6124 RECOMP_ENTER(0x2B097E0Cu); 6125 6126 L_2B097E0C: 6127 eax = MEM32(ebp + (-0x4)); /* 0x2B097E0C: mov eax, dword ptr [ebp - 4] */ 6128 ecx = MEM32(ebp + 0x8); /* 0x2B097E0F: mov ecx, dword ptr [ebp + 8] */ 6129 edx = MEM32(ecx + 0x1C); /* 0x2B097E12: mov edx, dword ptr [ecx + 0x1c] */ 6130 edi = POP32_VAL(esp); /* 0x2B097E15: pop edi */ 6131 MEM32(eax + 0x1C) = edx; /* 0x2B097E16: mov dword ptr [eax + 0x1c], edx */ 6132 ecx = MEM32(ecx + 0x20); /* 0x2B097E19: mov ecx, dword ptr [ecx + 0x20] */ 6133 esi = POP32_VAL(esp); /* 0x2B097E1C: pop esi */ 6134 MEM32(eax + 0x20) = ecx; /* 0x2B097E1D: mov dword ptr [eax + 0x20], ecx */ 6135 ebx = POP32_VAL(esp); /* 0x2B097E20: pop ebx */ 6136 esp = ebp; /* 0x2B097E21: mov esp, ebp */ 6137 ebp = POP32_VAL(esp); /* 0x2B097E23: pop ebp */ 6138 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B097E24: ret 4 */ 6139 RECOMP_REGS_OUT(); 6140 } 6141 6142 void sub_2B097E30(void) { 6143 int _fpu_cmp = 0; 6144 uint32_t _cf = 0; 6145 int _df = 1; 6146 uint32_t _flag_k = FK_NONE; 6147 uint32_t _flag_a = 0, _flag_b = 0; 6148 uint32_t _itail_tgt = 0; 6149 RECOMP_REGS_LOCALS 6150 RECOMP_ENTER(0x2B097E30u); 6151 6152 L_2B097E30: 6153 PUSH32(esp, ebx); /* 0x2B097E30: push ebx */ 6154 PUSH32(esp, esi); /* 0x2B097E31: push esi */ 6155 esi = MEM32(0x2B0B53CC); /* 0x2B097E32: mov esi, dword ptr [0x2b0b53cc] */ 6156 PUSH32(esp, edi); /* 0x2B097E38: push edi */ 6157 ebx = ecx; /* 0x2B097E39: mov ebx, ecx */ 6158 RECOMP_ICALL(esi); /* 0x2B097E3B: call esi */ 6159 RECOMP_FLAGS_IN(); 6160 ecx = eax; /* 0x2B097E3D: mov ecx, eax */ 6161 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B097E3F: call dword ptr [0x2b0b5374] */ 6162 RECOMP_FLAGS_IN(); 6163 PUSH32(esp, 0); /* 0x2B097E45: push 0 */ 6164 PUSH32(esp, 0x27u); /* 0x2B097E47: push 0x27 */ 6165 PUSH32(esp, 1); /* 0x2B097E49: push 1 */ 6166 RECOMP_ICALL(esi); /* 0x2B097E4B: call esi */ 6167 RECOMP_FLAGS_IN(); 6168 ecx = eax; /* 0x2B097E4D: mov ecx, eax */ 6169 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B097E4F: call dword ptr [0x2b0b5378] */ 6170 RECOMP_FLAGS_IN(); 6171 PUSH32(esp, 0x2B097F70u); /* 0x2B097E55: push 0x2b097f70 */ 6172 RECOMP_ICALL(esi); /* 0x2B097E5A: call esi */ 6173 RECOMP_FLAGS_IN(); 6174 ecx = eax; /* 0x2B097E5C: mov ecx, eax */ 6175 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B097E5E: call dword ptr [0x2b0b537c] */ 6176 RECOMP_FLAGS_IN(); 6177 PUSH32(esp, 0x2B001520u); /* 0x2B097E64: push 0x2b001520 */ 6178 PUSH32(esp, 5); /* 0x2B097E69: push 5 */ 6179 RECOMP_ICALL(esi); /* 0x2B097E6B: call esi */ 6180 RECOMP_FLAGS_IN(); 6181 edi = MEM32(0x2B0B5324); /* 0x2B097E6D: mov edi, dword ptr [0x2b0b5324] */ 6182 ecx = eax; /* 0x2B097E73: mov ecx, eax */ 6183 RECOMP_ICALL(edi); /* 0x2B097E75: call edi */ 6184 RECOMP_FLAGS_IN(); 6185 PUSH32(esp, 0x2B097F40u); /* 0x2B097E77: push 0x2b097f40 */ 6186 PUSH32(esp, 6); /* 0x2B097E7C: push 6 */ 6187 RECOMP_ICALL(esi); /* 0x2B097E7E: call esi */ 6188 RECOMP_FLAGS_IN(); 6189 ecx = eax; /* 0x2B097E80: mov ecx, eax */ 6190 RECOMP_ICALL(edi); /* 0x2B097E82: call edi */ 6191 RECOMP_FLAGS_IN(); 6192 PUSH32(esp, 0x2B097FB0u); /* 0x2B097E84: push 0x2b097fb0 */ 6193 PUSH32(esp, 0xEDu); /* 0x2B097E89: push 0xed */ 6194 RECOMP_ICALL(esi); /* 0x2B097E8E: call esi */ 6195 RECOMP_FLAGS_IN(); 6196 ecx = eax; /* 0x2B097E90: mov ecx, eax */ 6197 RECOMP_ICALL(edi); /* 0x2B097E92: call edi */ 6198 RECOMP_FLAGS_IN(); 6199 edi = POP32_VAL(esp); /* 0x2B097E94: pop edi */ 6200 esi = POP32_VAL(esp); /* 0x2B097E95: pop esi */ 6201 eax = ebx; /* 0x2B097E96: mov eax, ebx */ 6202 MEM32(0x2B0EF124) = 0; /* 0x2B097E98: mov dword ptr [0x2b0ef124], 0 */ 6203 ebx = POP32_VAL(esp); /* 0x2B097EA2: pop ebx */ 6204 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097EA3: ret */ 6205 RECOMP_REGS_OUT(); 6206 } 6207 6208 void sub_2B097EB0(void) { 6209 int _fpu_cmp = 0; 6210 uint32_t _cf = 0; 6211 int _df = 1; 6212 uint32_t _flag_k = FK_NONE; 6213 uint32_t _flag_a = 0, _flag_b = 0; 6214 uint32_t _itail_tgt = 0; 6215 RECOMP_REGS_LOCALS 6216 RECOMP_ENTER(0x2B097EB0u); 6217 6218 L_2B097EB0: 6219 RECOMP_ICALL(0x2B097F40u); /* 0x2B097EB0: call 0x2b097f40 */ /* not lifted */ 6220 RECOMP_FLAGS_IN(); 6221 MEM32(0x2B0EF124) = 0; /* 0x2B097EB5: mov dword ptr [0x2b0ef124], 0 */ 6222 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097EBF: ret */ 6223 RECOMP_REGS_OUT(); 6224 } 6225 6226 void sub_2B097EC0(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(0x2B097EC0u); 6235 6236 L_2B097EC0: 6237 PUSH32(esp, ebp); /* 0x2B097EC0: push ebp */ 6238 ebp = esp; /* 0x2B097EC1: mov ebp, esp */ 6239 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B097EC3: push -1 */ 6240 PUSH32(esp, 0x2B0B324Bu); /* 0x2B097EC5: push 0x2b0b324b */ 6241 eax = MEM32(FS_BASE + (0)); /* 0x2B097ECA: mov eax, dword ptr fs:[0] */ 6242 PUSH32(esp, eax); /* 0x2B097ED0: push eax */ 6243 MEM32(FS_BASE + (0)) = esp; /* 0x2B097ED1: mov dword ptr fs:[0], esp */ 6244 PUSH32(esp, ecx); /* 0x2B097ED8: push ecx */ 6245 eax = MEM32(0x2B0EF120); /* 0x2B097ED9: mov eax, dword ptr [0x2b0ef120] */ 6246 /* test eax, eax */ /* 0x2B097EDE: test eax, eax */ 6247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6248 _cf = 0; 6249 _flag_k = FK_TEST; 6250 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B097F1B; /* 0x2B097EE0: jne 0x2b097f1b */ 6251 L_2B097EE2: 6252 PUSH32(esp, 1); /* 0x2B097EE2: push 1 */ 6253 RECOMP_ICALL(0x2B0AB212u); /* 0x2B097EE4: call 0x2b0ab212 */ /* not lifted */ 6254 RECOMP_FLAGS_IN(); 6255 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6257 esp = esp + 4; /* 0x2B097EE9: add esp, 4 */ 6258 _flag_k = FK_ADD; 6259 MEM32(ebp + (-0x10)) = eax; /* 0x2B097EEC: mov dword ptr [ebp - 0x10], eax */ 6260 /* test eax, eax */ /* 0x2B097EEF: test eax, eax */ 6261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6262 _cf = 0; 6263 _flag_k = FK_TEST; 6264 MEM32(ebp + (-0x4)) = 0; /* 0x2B097EF1: mov dword ptr [ebp - 4], 0 */ 6265 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097F14; /* 0x2B097EF8: je 0x2b097f14 */ 6266 L_2B097EFA: 6267 ecx = eax; /* 0x2B097EFA: mov ecx, eax */ 6268 RECOMP_ICALL(0x2B097E30u); /* 0x2B097EFC: call 0x2b097e30 */ /* not lifted */ 6269 RECOMP_FLAGS_IN(); 6270 MEM32(0x2B0EF120) = eax; /* 0x2B097F01: mov dword ptr [0x2b0ef120], eax */ 6271 ecx = MEM32(ebp + (-0xC)); /* 0x2B097F06: mov ecx, dword ptr [ebp - 0xc] */ 6272 MEM32(FS_BASE + (0)) = ecx; /* 0x2B097F09: mov dword ptr fs:[0], ecx */ 6273 esp = ebp; /* 0x2B097F10: mov esp, ebp */ 6274 ebp = POP32_VAL(esp); /* 0x2B097F12: pop ebp */ 6275 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097F13: ret */ 6276 L_2B097F14: 6277 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6278 eax = 0; /* 0x2B097F14: xor eax, eax */ 6279 _cf = 0; 6280 _flag_k = FK_TEST; 6281 MEM32(0x2B0EF120) = eax; /* 0x2B097F16: mov dword ptr [0x2b0ef120], eax */ 6282 L_2B097F1B: 6283 ecx = MEM32(ebp + (-0xC)); /* 0x2B097F1B: mov ecx, dword ptr [ebp - 0xc] */ 6284 MEM32(FS_BASE + (0)) = ecx; /* 0x2B097F1E: mov dword ptr fs:[0], ecx */ 6285 esp = ebp; /* 0x2B097F25: mov esp, ebp */ 6286 ebp = POP32_VAL(esp); /* 0x2B097F27: pop ebp */ 6287 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097F28: ret */ 6288 RECOMP_REGS_OUT(); 6289 } 6290 6291 void sub_2B097F30(void) { 6292 int _fpu_cmp = 0; 6293 uint32_t _cf = 0; 6294 int _df = 1; 6295 uint32_t _flag_k = FK_NONE; 6296 uint32_t _flag_a = 0, _flag_b = 0; 6297 uint32_t _itail_tgt = 0; 6298 RECOMP_REGS_LOCALS 6299 RECOMP_ENTER(0x2B097F30u); 6300 6301 L_2B097F30: 6302 eax = MEM32(0x2B0EF120); /* 0x2B097F30: mov eax, dword ptr [0x2b0ef120] */ 6303 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097F35: ret */ 6304 RECOMP_REGS_OUT(); 6305 } 6306 6307 void sub_2B097F40(void) { 6308 int _fpu_cmp = 0; 6309 uint32_t _cf = 0; 6310 int _df = 1; 6311 uint32_t _flag_k = FK_NONE; 6312 uint32_t _flag_a = 0, _flag_b = 0; 6313 uint32_t _itail_tgt = 0; 6314 RECOMP_REGS_LOCALS 6315 RECOMP_ENTER(0x2B097F40u); 6316 6317 L_2B097F40: 6318 PUSH32(esp, esi); /* 0x2B097F40: push esi */ 6319 esi = MEM32(0x2B0EF124); /* 0x2B097F41: mov esi, dword ptr [0x2b0ef124] */ 6320 /* test esi, esi */ /* 0x2B097F47: test esi, esi */ 6321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6322 _cf = 0; 6323 _flag_k = FK_TEST; 6324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097F5B; /* 0x2B097F49: je 0x2b097f5b */ 6325 L_2B097F4B: 6326 ecx = esi; /* 0x2B097F4B: mov ecx, esi */ 6327 RECOMP_ICALL(0x2B096E80u); /* 0x2B097F4D: call 0x2b096e80 */ /* not lifted */ 6328 RECOMP_FLAGS_IN(); 6329 PUSH32(esp, esi); /* 0x2B097F52: push esi */ 6330 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B097F53: call 0x2b0ab1ba */ /* not lifted */ 6331 RECOMP_FLAGS_IN(); 6332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6334 esp = esp + 4; /* 0x2B097F58: add esp, 4 */ 6335 _flag_k = FK_ADD; 6336 L_2B097F5B: 6337 MEM32(0x2B0EF124) = 0; /* 0x2B097F5B: mov dword ptr [0x2b0ef124], 0 */ 6338 esi = POP32_VAL(esp); /* 0x2B097F65: pop esi */ 6339 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097F66: ret */ 6340 RECOMP_REGS_OUT(); 6341 } 6342 6343 void sub_2B097F70(void) { 6344 int _fpu_cmp = 0; 6345 uint32_t _cf = 0; 6346 int _df = 1; 6347 uint32_t _flag_k = FK_NONE; 6348 uint32_t _flag_a = 0, _flag_b = 0; 6349 uint32_t _itail_tgt = 0; 6350 RECOMP_REGS_LOCALS 6351 RECOMP_ENTER(0x2B097F70u); 6352 6353 L_2B097F70: 6354 ecx = MEM32(0x2B0EF124); /* 0x2B097F70: mov ecx, dword ptr [0x2b0ef124] */ 6355 /* test ecx, ecx */ /* 0x2B097F76: test ecx, ecx */ 6356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6357 _cf = 0; 6358 _flag_k = FK_TEST; 6359 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097FA9; /* 0x2B097F78: je 0x2b097fa9 */ 6360 L_2B097F7A: 6361 RECOMP_ICALL(0x2B097560u); /* 0x2B097F7A: call 0x2b097560 */ /* not lifted */ 6362 RECOMP_FLAGS_IN(); 6363 /* test LO8(eax), LO8(eax) */ /* 0x2B097F7F: test al, al */ 6364 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6365 _cf = 0; 6366 _flag_k = FK_NARROW(FK_TEST, 24); 6367 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097FA9; /* 0x2B097F81: je 0x2b097fa9 */ 6368 L_2B097F83: 6369 PUSH32(esp, esi); /* 0x2B097F83: push esi */ 6370 esi = MEM32(0x2B0EF124); /* 0x2B097F84: mov esi, dword ptr [0x2b0ef124] */ 6371 /* test esi, esi */ /* 0x2B097F8A: test esi, esi */ 6372 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6373 _cf = 0; 6374 _flag_k = FK_TEST; 6375 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097F9E; /* 0x2B097F8C: je 0x2b097f9e */ 6376 L_2B097F8E: 6377 ecx = esi; /* 0x2B097F8E: mov ecx, esi */ 6378 RECOMP_ICALL(0x2B096E80u); /* 0x2B097F90: call 0x2b096e80 */ /* not lifted */ 6379 RECOMP_FLAGS_IN(); 6380 PUSH32(esp, esi); /* 0x2B097F95: push esi */ 6381 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B097F96: call 0x2b0ab1ba */ /* not lifted */ 6382 RECOMP_FLAGS_IN(); 6383 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6385 esp = esp + 4; /* 0x2B097F9B: add esp, 4 */ 6386 _flag_k = FK_ADD; 6387 L_2B097F9E: 6388 MEM32(0x2B0EF124) = 0; /* 0x2B097F9E: mov dword ptr [0x2b0ef124], 0 */ 6389 esi = POP32_VAL(esp); /* 0x2B097FA8: pop esi */ 6390 L_2B097FA9: 6391 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B097FA9: ret */ 6392 RECOMP_REGS_OUT(); 6393 } 6394 6395 void sub_2B097FB0(void) { 6396 int _fpu_cmp = 0; 6397 uint32_t _cf = 0; 6398 int _df = 1; 6399 uint32_t _flag_k = FK_NONE; 6400 uint32_t _flag_a = 0, _flag_b = 0; 6401 uint32_t _itail_tgt = 0; 6402 RECOMP_REGS_LOCALS 6403 RECOMP_ENTER(0x2B097FB0u); 6404 6405 L_2B097FB0: 6406 PUSH32(esp, ebp); /* 0x2B097FB0: push ebp */ 6407 ebp = esp; /* 0x2B097FB1: mov ebp, esp */ 6408 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B097FB3: push -1 */ 6409 PUSH32(esp, 0x2B0B326Bu); /* 0x2B097FB5: push 0x2b0b326b */ 6410 eax = MEM32(FS_BASE + (0)); /* 0x2B097FBA: mov eax, dword ptr fs:[0] */ 6411 PUSH32(esp, eax); /* 0x2B097FC0: push eax */ 6412 MEM32(FS_BASE + (0)) = esp; /* 0x2B097FC1: mov dword ptr fs:[0], esp */ 6413 PUSH32(esp, ecx); /* 0x2B097FC8: push ecx */ 6414 PUSH32(esp, esi); /* 0x2B097FC9: push esi */ 6415 esi = MEM32(0x2B0EF124); /* 0x2B097FCA: mov esi, dword ptr [0x2b0ef124] */ 6416 /* test esi, esi */ /* 0x2B097FD0: test esi, esi */ 6417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6418 _cf = 0; 6419 _flag_k = FK_TEST; 6420 if (TEST_Z(_flag_a, _flag_b)) goto L_2B097FE4; /* 0x2B097FD2: je 0x2b097fe4 */ 6421 L_2B097FD4: 6422 ecx = esi; /* 0x2B097FD4: mov ecx, esi */ 6423 RECOMP_ICALL(0x2B096E80u); /* 0x2B097FD6: call 0x2b096e80 */ /* not lifted */ 6424 RECOMP_FLAGS_IN(); 6425 PUSH32(esp, esi); /* 0x2B097FDB: push esi */ 6426 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B097FDC: call 0x2b0ab1ba */ /* not lifted */ 6427 RECOMP_FLAGS_IN(); 6428 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6430 esp = esp + 4; /* 0x2B097FE1: add esp, 4 */ 6431 _flag_k = FK_ADD; 6432 L_2B097FE4: 6433 PUSH32(esp, 0x48u); /* 0x2B097FE4: push 0x48 */ 6434 RECOMP_ICALL(0x2B0AB212u); /* 0x2B097FE6: call 0x2b0ab212 */ /* not lifted */ 6435 RECOMP_FLAGS_IN(); 6436 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6437 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6438 esp = esp + 4; /* 0x2B097FEB: add esp, 4 */ 6439 _flag_k = FK_ADD; 6440 MEM32(ebp + (-0x10)) = eax; /* 0x2B097FEE: mov dword ptr [ebp - 0x10], eax */ 6441 /* test eax, eax */ /* 0x2B097FF1: test eax, eax */ 6442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6443 _cf = 0; 6444 _flag_k = FK_TEST; 6445 MEM32(ebp + (-0x4)) = 0; /* 0x2B097FF3: mov dword ptr [ebp - 4], 0 */ 6446 esi = POP32_VAL(esp); /* 0x2B097FFA: pop esi */ 6447 if (TEST_Z(_flag_a, _flag_b)) goto L_2B098017; /* 0x2B097FFB: je 0x2b098017 */ 6448 L_2B097FFD: 6449 ecx = eax; /* 0x2B097FFD: mov ecx, eax */ 6450 RECOMP_ICALL(0x2B096D30u); /* 0x2B097FFF: call 0x2b096d30 */ /* not lifted */ 6451 RECOMP_FLAGS_IN(); 6452 MEM32(0x2B0EF124) = eax; /* 0x2B098004: mov dword ptr [0x2b0ef124], eax */ 6453 ecx = MEM32(ebp + (-0xC)); /* 0x2B098009: mov ecx, dword ptr [ebp - 0xc] */ 6454 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09800C: mov dword ptr fs:[0], ecx */ 6455 esp = ebp; /* 0x2B098013: mov esp, ebp */ 6456 ebp = POP32_VAL(esp); /* 0x2B098015: pop ebp */ 6457 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B098016: ret */ 6458 L_2B098017: 6459 ecx = MEM32(ebp + (-0xC)); /* 0x2B098017: mov ecx, dword ptr [ebp - 0xc] */ 6460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6461 eax = 0; /* 0x2B09801A: xor eax, eax */ 6462 _cf = 0; 6463 _flag_k = FK_TEST; 6464 MEM32(0x2B0EF124) = eax; /* 0x2B09801C: mov dword ptr [0x2b0ef124], eax */ 6465 MEM32(FS_BASE + (0)) = ecx; /* 0x2B098021: mov dword ptr fs:[0], ecx */ 6466 esp = ebp; /* 0x2B098028: mov esp, ebp */ 6467 ebp = POP32_VAL(esp); /* 0x2B09802A: pop ebp */ 6468 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09802B: ret */ 6469 RECOMP_REGS_OUT(); 6470 } 6471 6472 void sub_2B098030(void) { 6473 int _fpu_cmp = 0; 6474 uint32_t _cf = 0; 6475 int _df = 1; 6476 uint32_t _flag_k = FK_NONE; 6477 uint32_t _flag_a = 0, _flag_b = 0; 6478 uint32_t _itail_tgt = 0; 6479 RECOMP_REGS_LOCALS 6480 RECOMP_ENTER(0x2B098030u); 6481 6482 L_2B098030: 6483 PUSH32(esp, ebp); /* 0x2B098030: push ebp */ 6484 ebp = esp; /* 0x2B098031: mov ebp, esp */ 6485 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B098033: push -1 */ 6486 PUSH32(esp, 0x2B0B36E9u); /* 0x2B098035: push 0x2b0b36e9 */ 6487 eax = MEM32(FS_BASE + (0)); /* 0x2B09803A: mov eax, dword ptr fs:[0] */ 6488 PUSH32(esp, eax); /* 0x2B098040: push eax */ 6489 MEM32(FS_BASE + (0)) = esp; /* 0x2B098041: mov dword ptr fs:[0], esp */ 6490 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 6491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6492 esp = esp - 0x50u; /* 0x2B098048: sub esp, 0x50 */ 6493 _flag_k = FK_CMP; 6494 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B09804B: mov al, byte ptr [ebp + 8] */ 6495 PUSH32(esp, ebx); /* 0x2B09804E: push ebx */ 6496 PUSH32(esp, esi); /* 0x2B09804F: push esi */ 6497 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6498 ebx = 0; /* 0x2B098050: xor ebx, ebx */ 6499 _cf = 0; 6500 _flag_k = FK_TEST; 6501 PUSH32(esp, edi); /* 0x2B098052: push edi */ 6502 edi = ecx; /* 0x2B098053: mov edi, ecx */ 6503 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098055: mov cl, byte ptr [ebp + 0xb] */ 6504 esi = edi + 0x18; /* 0x2B098058: lea esi, [edi + 0x18] */ 6505 MEM32(edi) = ebx; /* 0x2B09805B: mov dword ptr [edi], ebx */ 6506 MEM32(edi + 0x4) = ebx; /* 0x2B09805D: mov dword ptr [edi + 4], ebx */ 6507 MEM32(edi + 0x8) = ebx; /* 0x2B098060: mov dword ptr [edi + 8], ebx */ 6508 MEM32(edi + 0x10) = ebx; /* 0x2B098063: mov dword ptr [edi + 0x10], ebx */ 6509 MEM8(edi + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B098066: mov byte ptr [edi + 0x14], bl */ 6510 MEM8(edi + 0x15) = (uint8_t)(LO8(eax)); /* 0x2B098069: mov byte ptr [edi + 0x15], al */ 6511 PUSH32(esp, ebx); /* 0x2B09806C: push ebx */ 6512 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B09806D: mov byte ptr [esi], cl */ 6513 PUSH32(esp, ebx); /* 0x2B09806F: push ebx */ 6514 ecx = esi; /* 0x2B098070: mov ecx, esi */ 6515 MEM32(ebp + (-0x14)) = edi; /* 0x2B098072: mov dword ptr [ebp - 0x14], edi */ 6516 RECOMP_ICALL(0x2B09B490u); /* 0x2B098075: call 0x2b09b490 */ /* not lifted */ 6517 RECOMP_FLAGS_IN(); 6518 MEM32(esi + 0x4) = eax; /* 0x2B09807A: mov dword ptr [esi + 4], eax */ 6519 MEM32(esi + 0x8) = ebx; /* 0x2B09807D: mov dword ptr [esi + 8], ebx */ 6520 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098080: mov dl, byte ptr [ebp + 0xb] */ 6521 MEM32(ebp + (-0x4)) = ebx; /* 0x2B098083: mov dword ptr [ebp - 4], ebx */ 6522 ebx = edi + 0x24; /* 0x2B098086: lea ebx, [edi + 0x24] */ 6523 PUSH32(esp, 0); /* 0x2B098089: push 0 */ 6524 PUSH32(esp, 0); /* 0x2B09808B: push 0 */ 6525 ecx = ebx; /* 0x2B09808D: mov ecx, ebx */ 6526 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B09808F: mov byte ptr [ebx], dl */ 6527 RECOMP_ICALL(0x2B09B490u); /* 0x2B098091: call 0x2b09b490 */ /* not lifted */ 6528 RECOMP_FLAGS_IN(); 6529 MEM32(ebx + 0x4) = eax; /* 0x2B098096: mov dword ptr [ebx + 4], eax */ 6530 MEM32(ebx + 0x8) = 0; /* 0x2B098099: mov dword ptr [ebx + 8], 0 */ 6531 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B0980A0: mov al, byte ptr [ebp + 0xb] */ 6532 PUSH32(esp, 0); /* 0x2B0980A3: push 0 */ 6533 ecx = edi + 0x30; /* 0x2B0980A5: lea ecx, [edi + 0x30] */ 6534 PUSH32(esp, 0); /* 0x2B0980A8: push 0 */ 6535 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B0980AA: mov byte ptr [ebp - 4], 1 */ 6536 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0980AE: mov byte ptr [ecx], al */ 6537 RECOMP_ICALL(0x2B09B490u); /* 0x2B0980B0: call 0x2b09b490 */ /* not lifted */ 6538 RECOMP_FLAGS_IN(); 6539 MEM32(edi + 0x34) = eax; /* 0x2B0980B5: mov dword ptr [edi + 0x34], eax */ 6540 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6541 eax = 0; /* 0x2B0980B8: xor eax, eax */ 6542 _cf = 0; 6543 _flag_k = FK_TEST; 6544 MEM32(edi + 0x38) = eax; /* 0x2B0980BA: mov dword ptr [edi + 0x38], eax */ 6545 MEM32(edi + 0x80) = eax; /* 0x2B0980BD: mov dword ptr [edi + 0x80], eax */ 6546 MEM32(edi + 0x84) = eax; /* 0x2B0980C3: mov dword ptr [edi + 0x84], eax */ 6547 MEM8(edi + 0x8C) = (uint8_t)(LO8(eax)); /* 0x2B0980C9: mov byte ptr [edi + 0x8c], al */ 6548 MEM32(edi + 0x90) = eax; /* 0x2B0980CF: mov dword ptr [edi + 0x90], eax */ 6549 MEM32(edi + 0x94) = eax; /* 0x2B0980D5: mov dword ptr [edi + 0x94], eax */ 6550 MEM32(edi + 0x98) = eax; /* 0x2B0980DB: mov dword ptr [edi + 0x98], eax */ 6551 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6552 ecx = 0; /* 0x2B0980E1: xor ecx, ecx */ 6553 _cf = 0; 6554 _flag_k = FK_TEST; 6555 MEM32(edi) = ecx; /* 0x2B0980E3: mov dword ptr [edi], ecx */ 6556 ecx = edi; /* 0x2B0980E5: mov ecx, edi */ 6557 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0980E7: mov byte ptr [ebp - 4], 2 */ 6558 MEM32(edi + 0x88) = 0x65F4u; /* 0x2B0980EB: mov dword ptr [edi + 0x88], 0x65f4 */ 6559 MEM32(edi + 0x4) = eax; /* 0x2B0980F5: mov dword ptr [edi + 4], eax */ 6560 RECOMP_ICALL(0x2B099AB0u); /* 0x2B0980F8: call 0x2b099ab0 */ /* not lifted */ 6561 RECOMP_FLAGS_IN(); 6562 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0980FD: mov cl, byte ptr [ebp + 0xb] */ 6563 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(ecx)); /* 0x2B098100: mov byte ptr [ebp - 0x34], cl */ 6564 PUSH32(esp, 0); /* 0x2B098103: push 0 */ 6565 ecx = ebp + (-0x34); /* 0x2B098105: lea ecx, [ebp - 0x34] */ 6566 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098108: call dword ptr [0x2b0b514c] */ 6567 RECOMP_FLAGS_IN(); 6568 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6569 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09810E: or ecx, 0xffffffff */ 6570 _cf = 0; 6571 _flag_k = FK_TEST; 6572 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6573 eax = 0; /* 0x2B098111: xor eax, eax */ 6574 _cf = 0; 6575 _flag_k = FK_TEST; 6576 edi = 0x2B0EDDD0u; /* 0x2B098113: mov edi, 0x2b0eddd0 */ 6577 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; } /* 0x2B098118: repne scasb al, byte ptr es:[edi] */ 6578 ecx = ~ecx; /* 0x2B09811A: not ecx */ 6579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6580 ecx = ecx - 1; /* 0x2B09811C: dec ecx */ 6581 _flag_k = FK_DEC; 6582 PUSH32(esp, ecx); /* 0x2B09811D: push ecx */ 6583 PUSH32(esp, 0x2B0EDDD0u); /* 0x2B09811E: push 0x2b0eddd0 */ 6584 ecx = ebp + (-0x34); /* 0x2B098123: lea ecx, [ebp - 0x34] */ 6585 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098126: call dword ptr [0x2b0b5148] */ 6586 RECOMP_FLAGS_IN(); 6587 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B09812C: mov dl, byte ptr [ebp + 0xb] */ 6588 PUSH32(esp, 0); /* 0x2B09812F: push 0 */ 6589 ecx = ebp + (-0x24); /* 0x2B098131: lea ecx, [ebp - 0x24] */ 6590 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B098134: mov byte ptr [ebp - 4], 3 */ 6591 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(edx)); /* 0x2B098138: mov byte ptr [ebp - 0x24], dl */ 6592 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09813B: call dword ptr [0x2b0b514c] */ 6593 RECOMP_FLAGS_IN(); 6594 edi = 0x2B0EDDB4u; /* 0x2B098141: mov edi, 0x2b0eddb4 */ 6595 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6596 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098146: or ecx, 0xffffffff */ 6597 _cf = 0; 6598 _flag_k = FK_TEST; 6599 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6600 eax = 0; /* 0x2B098149: xor eax, eax */ 6601 _cf = 0; 6602 _flag_k = FK_TEST; 6603 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; } /* 0x2B09814B: repne scasb al, byte ptr es:[edi] */ 6604 ecx = ~ecx; /* 0x2B09814D: not ecx */ 6605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6606 ecx = ecx - 1; /* 0x2B09814F: dec ecx */ 6607 _flag_k = FK_DEC; 6608 PUSH32(esp, ecx); /* 0x2B098150: push ecx */ 6609 PUSH32(esp, 0x2B0EDDB4u); /* 0x2B098151: push 0x2b0eddb4 */ 6610 ecx = ebp + (-0x24); /* 0x2B098156: lea ecx, [ebp - 0x24] */ 6611 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098159: call dword ptr [0x2b0b5148] */ 6612 RECOMP_FLAGS_IN(); 6613 eax = ebp + (-0x24); /* 0x2B09815F: lea eax, [ebp - 0x24] */ 6614 PUSH32(esp, eax); /* 0x2B098162: push eax */ 6615 ecx = ebp + (-0x58); /* 0x2B098163: lea ecx, [ebp - 0x58] */ 6616 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B098166: mov byte ptr [ebp - 4], 4 */ 6617 MEM32(ebp + (-0x5C)) = 0x20u; /* 0x2B09816A: mov dword ptr [ebp - 0x5c], 0x20 */ 6618 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098171: call dword ptr [0x2b0b5164] */ 6619 RECOMP_FLAGS_IN(); 6620 ecx = ebp + (-0x34); /* 0x2B098177: lea ecx, [ebp - 0x34] */ 6621 PUSH32(esp, ecx); /* 0x2B09817A: push ecx */ 6622 ecx = ebp + (-0x48); /* 0x2B09817B: lea ecx, [ebp - 0x48] */ 6623 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B09817E: mov byte ptr [ebp - 4], 5 */ 6624 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098182: call dword ptr [0x2b0b5164] */ 6625 RECOMP_FLAGS_IN(); 6626 eax = MEM32(esi + 0x4); /* 0x2B098188: mov eax, dword ptr [esi + 4] */ 6627 edx = ebp + (-0x5C); /* 0x2B09818B: lea edx, [ebp - 0x5c] */ 6628 PUSH32(esp, edx); /* 0x2B09818E: push edx */ 6629 PUSH32(esp, eax); /* 0x2B09818F: push eax */ 6630 eax = ebp + 0x8; /* 0x2B098190: lea eax, [ebp + 8] */ 6631 PUSH32(esp, eax); /* 0x2B098193: push eax */ 6632 ecx = esi; /* 0x2B098194: mov ecx, esi */ 6633 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B098196: mov byte ptr [ebp - 4], 6 */ 6634 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B09819A: call 0x2b09b3d0 */ /* not lifted */ 6635 RECOMP_FLAGS_IN(); 6636 PUSH32(esp, 1); /* 0x2B09819F: push 1 */ 6637 ecx = ebp + (-0x48); /* 0x2B0981A1: lea ecx, [ebp - 0x48] */ 6638 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0981A4: mov byte ptr [ebp - 4], 7 */ 6639 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0981A8: call dword ptr [0x2b0b514c] */ 6640 RECOMP_FLAGS_IN(); 6641 PUSH32(esp, 1); /* 0x2B0981AE: push 1 */ 6642 ecx = ebp + (-0x58); /* 0x2B0981B0: lea ecx, [ebp - 0x58] */ 6643 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B0981B3: mov byte ptr [ebp - 4], 4 */ 6644 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0981B7: call dword ptr [0x2b0b514c] */ 6645 RECOMP_FLAGS_IN(); 6646 PUSH32(esp, 1); /* 0x2B0981BD: push 1 */ 6647 ecx = ebp + (-0x24); /* 0x2B0981BF: lea ecx, [ebp - 0x24] */ 6648 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0981C2: mov byte ptr [ebp - 4], 3 */ 6649 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0981C6: call dword ptr [0x2b0b514c] */ 6650 RECOMP_FLAGS_IN(); 6651 PUSH32(esp, 1); /* 0x2B0981CC: push 1 */ 6652 ecx = ebp + (-0x34); /* 0x2B0981CE: lea ecx, [ebp - 0x34] */ 6653 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0981D1: mov byte ptr [ebp - 4], 2 */ 6654 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0981D5: call dword ptr [0x2b0b514c] */ 6655 RECOMP_FLAGS_IN(); 6656 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0981DB: mov cl, byte ptr [ebp + 0xb] */ 6657 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0981DE: mov byte ptr [ebp - 0x24], cl */ 6658 PUSH32(esp, 0); /* 0x2B0981E1: push 0 */ 6659 ecx = ebp + (-0x24); /* 0x2B0981E3: lea ecx, [ebp - 0x24] */ 6660 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0981E6: call dword ptr [0x2b0b514c] */ 6661 RECOMP_FLAGS_IN(); 6662 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6663 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0981EC: or ecx, 0xffffffff */ 6664 _cf = 0; 6665 _flag_k = FK_TEST; 6666 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6667 eax = 0; /* 0x2B0981EF: xor eax, eax */ 6668 _cf = 0; 6669 _flag_k = FK_TEST; 6670 edi = 0x2B0EDD84u; /* 0x2B0981F1: mov edi, 0x2b0edd84 */ 6671 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; } /* 0x2B0981F6: repne scasb al, byte ptr es:[edi] */ 6672 ecx = ~ecx; /* 0x2B0981F8: not ecx */ 6673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6674 ecx = ecx - 1; /* 0x2B0981FA: dec ecx */ 6675 _flag_k = FK_DEC; 6676 PUSH32(esp, ecx); /* 0x2B0981FB: push ecx */ 6677 PUSH32(esp, 0x2B0EDD84u); /* 0x2B0981FC: push 0x2b0edd84 */ 6678 ecx = ebp + (-0x24); /* 0x2B098201: lea ecx, [ebp - 0x24] */ 6679 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098204: call dword ptr [0x2b0b5148] */ 6680 RECOMP_FLAGS_IN(); 6681 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B09820A: mov dl, byte ptr [ebp + 0xb] */ 6682 PUSH32(esp, 0); /* 0x2B09820D: push 0 */ 6683 ecx = ebp + (-0x34); /* 0x2B09820F: lea ecx, [ebp - 0x34] */ 6684 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B098212: mov byte ptr [ebp - 4], 8 */ 6685 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098216: mov byte ptr [ebp - 0x34], dl */ 6686 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098219: call dword ptr [0x2b0b514c] */ 6687 RECOMP_FLAGS_IN(); 6688 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6689 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09821F: or ecx, 0xffffffff */ 6690 _cf = 0; 6691 _flag_k = FK_TEST; 6692 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6693 eax = 0; /* 0x2B098222: xor eax, eax */ 6694 _cf = 0; 6695 _flag_k = FK_TEST; 6696 edi = 0x2B0EDD5Cu; /* 0x2B098224: mov edi, 0x2b0edd5c */ 6697 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; } /* 0x2B098229: repne scasb al, byte ptr es:[edi] */ 6698 ecx = ~ecx; /* 0x2B09822B: not ecx */ 6699 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6700 ecx = ecx - 1; /* 0x2B09822D: dec ecx */ 6701 _flag_k = FK_DEC; 6702 PUSH32(esp, ecx); /* 0x2B09822E: push ecx */ 6703 PUSH32(esp, 0x2B0EDD5Cu); /* 0x2B09822F: push 0x2b0edd5c */ 6704 ecx = ebp + (-0x34); /* 0x2B098234: lea ecx, [ebp - 0x34] */ 6705 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098237: call dword ptr [0x2b0b5148] */ 6706 RECOMP_FLAGS_IN(); 6707 eax = ebp + (-0x34); /* 0x2B09823D: lea eax, [ebp - 0x34] */ 6708 PUSH32(esp, eax); /* 0x2B098240: push eax */ 6709 ecx = ebp + (-0x58); /* 0x2B098241: lea ecx, [ebp - 0x58] */ 6710 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B098244: mov byte ptr [ebp - 4], 9 */ 6711 MEM32(ebp + (-0x5C)) = 0x80u; /* 0x2B098248: mov dword ptr [ebp - 0x5c], 0x80 */ 6712 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09824F: call dword ptr [0x2b0b5164] */ 6713 RECOMP_FLAGS_IN(); 6714 ecx = ebp + (-0x24); /* 0x2B098255: lea ecx, [ebp - 0x24] */ 6715 PUSH32(esp, ecx); /* 0x2B098258: push ecx */ 6716 ecx = ebp + (-0x48); /* 0x2B098259: lea ecx, [ebp - 0x48] */ 6717 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B09825C: mov byte ptr [ebp - 4], 0xa */ 6718 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098260: call dword ptr [0x2b0b5164] */ 6719 RECOMP_FLAGS_IN(); 6720 eax = MEM32(esi + 0x4); /* 0x2B098266: mov eax, dword ptr [esi + 4] */ 6721 edx = ebp + (-0x5C); /* 0x2B098269: lea edx, [ebp - 0x5c] */ 6722 PUSH32(esp, edx); /* 0x2B09826C: push edx */ 6723 PUSH32(esp, eax); /* 0x2B09826D: push eax */ 6724 eax = ebp + 0x8; /* 0x2B09826E: lea eax, [ebp + 8] */ 6725 PUSH32(esp, eax); /* 0x2B098271: push eax */ 6726 ecx = esi; /* 0x2B098272: mov ecx, esi */ 6727 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B098274: mov byte ptr [ebp - 4], 0xb */ 6728 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098278: call 0x2b09b3d0 */ /* not lifted */ 6729 RECOMP_FLAGS_IN(); 6730 PUSH32(esp, 1); /* 0x2B09827D: push 1 */ 6731 ecx = ebp + (-0x48); /* 0x2B09827F: lea ecx, [ebp - 0x48] */ 6732 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B098282: mov byte ptr [ebp - 4], 0xc */ 6733 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098286: call dword ptr [0x2b0b514c] */ 6734 RECOMP_FLAGS_IN(); 6735 PUSH32(esp, 1); /* 0x2B09828C: push 1 */ 6736 ecx = ebp + (-0x58); /* 0x2B09828E: lea ecx, [ebp - 0x58] */ 6737 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B098291: mov byte ptr [ebp - 4], 9 */ 6738 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098295: call dword ptr [0x2b0b514c] */ 6739 RECOMP_FLAGS_IN(); 6740 PUSH32(esp, 1); /* 0x2B09829B: push 1 */ 6741 ecx = ebp + (-0x34); /* 0x2B09829D: lea ecx, [ebp - 0x34] */ 6742 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B0982A0: mov byte ptr [ebp - 4], 8 */ 6743 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0982A4: call dword ptr [0x2b0b514c] */ 6744 RECOMP_FLAGS_IN(); 6745 PUSH32(esp, 1); /* 0x2B0982AA: push 1 */ 6746 ecx = ebp + (-0x24); /* 0x2B0982AC: lea ecx, [ebp - 0x24] */ 6747 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0982AF: mov byte ptr [ebp - 4], 2 */ 6748 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0982B3: call dword ptr [0x2b0b514c] */ 6749 RECOMP_FLAGS_IN(); 6750 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0982B9: mov cl, byte ptr [ebp + 0xb] */ 6751 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0982BC: mov byte ptr [ebp - 0x24], cl */ 6752 PUSH32(esp, 0); /* 0x2B0982BF: push 0 */ 6753 ecx = ebp + (-0x24); /* 0x2B0982C1: lea ecx, [ebp - 0x24] */ 6754 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0982C4: call dword ptr [0x2b0b514c] */ 6755 RECOMP_FLAGS_IN(); 6756 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6757 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0982CA: or ecx, 0xffffffff */ 6758 _cf = 0; 6759 _flag_k = FK_TEST; 6760 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6761 eax = 0; /* 0x2B0982CD: xor eax, eax */ 6762 _cf = 0; 6763 _flag_k = FK_TEST; 6764 edi = 0x2B0EDD28u; /* 0x2B0982CF: mov edi, 0x2b0edd28 */ 6765 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; } /* 0x2B0982D4: repne scasb al, byte ptr es:[edi] */ 6766 ecx = ~ecx; /* 0x2B0982D6: not ecx */ 6767 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6768 ecx = ecx - 1; /* 0x2B0982D8: dec ecx */ 6769 _flag_k = FK_DEC; 6770 PUSH32(esp, ecx); /* 0x2B0982D9: push ecx */ 6771 PUSH32(esp, 0x2B0EDD28u); /* 0x2B0982DA: push 0x2b0edd28 */ 6772 ecx = ebp + (-0x24); /* 0x2B0982DF: lea ecx, [ebp - 0x24] */ 6773 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0982E2: call dword ptr [0x2b0b5148] */ 6774 RECOMP_FLAGS_IN(); 6775 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0982E8: mov dl, byte ptr [ebp + 0xb] */ 6776 PUSH32(esp, 0); /* 0x2B0982EB: push 0 */ 6777 ecx = ebp + (-0x34); /* 0x2B0982ED: lea ecx, [ebp - 0x34] */ 6778 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B0982F0: mov byte ptr [ebp - 4], 0xd */ 6779 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B0982F4: mov byte ptr [ebp - 0x34], dl */ 6780 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0982F7: call dword ptr [0x2b0b514c] */ 6781 RECOMP_FLAGS_IN(); 6782 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6783 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0982FD: or ecx, 0xffffffff */ 6784 _cf = 0; 6785 _flag_k = FK_TEST; 6786 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6787 eax = 0; /* 0x2B098300: xor eax, eax */ 6788 _cf = 0; 6789 _flag_k = FK_TEST; 6790 edi = 0x2B0EDCF8u; /* 0x2B098302: mov edi, 0x2b0edcf8 */ 6791 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; } /* 0x2B098307: repne scasb al, byte ptr es:[edi] */ 6792 ecx = ~ecx; /* 0x2B098309: not ecx */ 6793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6794 ecx = ecx - 1; /* 0x2B09830B: dec ecx */ 6795 _flag_k = FK_DEC; 6796 PUSH32(esp, ecx); /* 0x2B09830C: push ecx */ 6797 PUSH32(esp, 0x2B0EDCF8u); /* 0x2B09830D: push 0x2b0edcf8 */ 6798 ecx = ebp + (-0x34); /* 0x2B098312: lea ecx, [ebp - 0x34] */ 6799 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098315: call dword ptr [0x2b0b5148] */ 6800 RECOMP_FLAGS_IN(); 6801 eax = ebp + (-0x34); /* 0x2B09831B: lea eax, [ebp - 0x34] */ 6802 PUSH32(esp, eax); /* 0x2B09831E: push eax */ 6803 ecx = ebp + (-0x58); /* 0x2B09831F: lea ecx, [ebp - 0x58] */ 6804 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B098322: mov byte ptr [ebp - 4], 0xe */ 6805 MEM32(ebp + (-0x5C)) = 0x8000u; /* 0x2B098326: mov dword ptr [ebp - 0x5c], 0x8000 */ 6806 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09832D: call dword ptr [0x2b0b5164] */ 6807 RECOMP_FLAGS_IN(); 6808 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B098333: mov byte ptr [ebp - 4], 0xf */ 6809 ecx = ebp + (-0x24); /* 0x2B098337: lea ecx, [ebp - 0x24] */ 6810 PUSH32(esp, ecx); /* 0x2B09833A: push ecx */ 6811 ecx = ebp + (-0x48); /* 0x2B09833B: lea ecx, [ebp - 0x48] */ 6812 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09833E: call dword ptr [0x2b0b5164] */ 6813 RECOMP_FLAGS_IN(); 6814 eax = MEM32(esi + 0x4); /* 0x2B098344: mov eax, dword ptr [esi + 4] */ 6815 edx = ebp + (-0x5C); /* 0x2B098347: lea edx, [ebp - 0x5c] */ 6816 PUSH32(esp, edx); /* 0x2B09834A: push edx */ 6817 PUSH32(esp, eax); /* 0x2B09834B: push eax */ 6818 eax = ebp + 0x8; /* 0x2B09834C: lea eax, [ebp + 8] */ 6819 PUSH32(esp, eax); /* 0x2B09834F: push eax */ 6820 ecx = esi; /* 0x2B098350: mov ecx, esi */ 6821 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B098352: mov byte ptr [ebp - 4], 0x10 */ 6822 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098356: call 0x2b09b3d0 */ /* not lifted */ 6823 RECOMP_FLAGS_IN(); 6824 PUSH32(esp, 1); /* 0x2B09835B: push 1 */ 6825 ecx = ebp + (-0x48); /* 0x2B09835D: lea ecx, [ebp - 0x48] */ 6826 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B098360: mov byte ptr [ebp - 4], 0x11 */ 6827 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098364: call dword ptr [0x2b0b514c] */ 6828 RECOMP_FLAGS_IN(); 6829 PUSH32(esp, 1); /* 0x2B09836A: push 1 */ 6830 ecx = ebp + (-0x58); /* 0x2B09836C: lea ecx, [ebp - 0x58] */ 6831 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B09836F: mov byte ptr [ebp - 4], 0xe */ 6832 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098373: call dword ptr [0x2b0b514c] */ 6833 RECOMP_FLAGS_IN(); 6834 PUSH32(esp, 1); /* 0x2B098379: push 1 */ 6835 ecx = ebp + (-0x34); /* 0x2B09837B: lea ecx, [ebp - 0x34] */ 6836 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B09837E: mov byte ptr [ebp - 4], 0xd */ 6837 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098382: call dword ptr [0x2b0b514c] */ 6838 RECOMP_FLAGS_IN(); 6839 PUSH32(esp, 1); /* 0x2B098388: push 1 */ 6840 ecx = ebp + (-0x24); /* 0x2B09838A: lea ecx, [ebp - 0x24] */ 6841 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09838D: mov byte ptr [ebp - 4], 2 */ 6842 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098391: call dword ptr [0x2b0b514c] */ 6843 RECOMP_FLAGS_IN(); 6844 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098397: mov cl, byte ptr [ebp + 0xb] */ 6845 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B09839A: mov byte ptr [ebp - 0x24], cl */ 6846 PUSH32(esp, 0); /* 0x2B09839D: push 0 */ 6847 ecx = ebp + (-0x24); /* 0x2B09839F: lea ecx, [ebp - 0x24] */ 6848 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0983A2: call dword ptr [0x2b0b514c] */ 6849 RECOMP_FLAGS_IN(); 6850 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6851 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0983A8: or ecx, 0xffffffff */ 6852 _cf = 0; 6853 _flag_k = FK_TEST; 6854 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6855 eax = 0; /* 0x2B0983AB: xor eax, eax */ 6856 _cf = 0; 6857 _flag_k = FK_TEST; 6858 edi = 0x2B0EDCC4u; /* 0x2B0983AD: mov edi, 0x2b0edcc4 */ 6859 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; } /* 0x2B0983B2: repne scasb al, byte ptr es:[edi] */ 6860 ecx = ~ecx; /* 0x2B0983B4: not ecx */ 6861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6862 ecx = ecx - 1; /* 0x2B0983B6: dec ecx */ 6863 _flag_k = FK_DEC; 6864 PUSH32(esp, ecx); /* 0x2B0983B7: push ecx */ 6865 PUSH32(esp, 0x2B0EDCC4u); /* 0x2B0983B8: push 0x2b0edcc4 */ 6866 ecx = ebp + (-0x24); /* 0x2B0983BD: lea ecx, [ebp - 0x24] */ 6867 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0983C0: call dword ptr [0x2b0b5148] */ 6868 RECOMP_FLAGS_IN(); 6869 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0983C6: mov dl, byte ptr [ebp + 0xb] */ 6870 PUSH32(esp, 0); /* 0x2B0983C9: push 0 */ 6871 ecx = ebp + (-0x34); /* 0x2B0983CB: lea ecx, [ebp - 0x34] */ 6872 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B0983CE: mov byte ptr [ebp - 4], 0x12 */ 6873 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B0983D2: mov byte ptr [ebp - 0x34], dl */ 6874 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0983D5: call dword ptr [0x2b0b514c] */ 6875 RECOMP_FLAGS_IN(); 6876 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6877 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0983DB: or ecx, 0xffffffff */ 6878 _cf = 0; 6879 _flag_k = FK_TEST; 6880 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6881 eax = 0; /* 0x2B0983DE: xor eax, eax */ 6882 _cf = 0; 6883 _flag_k = FK_TEST; 6884 edi = 0x2B0EDCA4u; /* 0x2B0983E0: mov edi, 0x2b0edca4 */ 6885 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; } /* 0x2B0983E5: repne scasb al, byte ptr es:[edi] */ 6886 ecx = ~ecx; /* 0x2B0983E7: not ecx */ 6887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6888 ecx = ecx - 1; /* 0x2B0983E9: dec ecx */ 6889 _flag_k = FK_DEC; 6890 PUSH32(esp, ecx); /* 0x2B0983EA: push ecx */ 6891 PUSH32(esp, 0x2B0EDCA4u); /* 0x2B0983EB: push 0x2b0edca4 */ 6892 ecx = ebp + (-0x34); /* 0x2B0983F0: lea ecx, [ebp - 0x34] */ 6893 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0983F3: call dword ptr [0x2b0b5148] */ 6894 RECOMP_FLAGS_IN(); 6895 eax = ebp + (-0x34); /* 0x2B0983F9: lea eax, [ebp - 0x34] */ 6896 PUSH32(esp, eax); /* 0x2B0983FC: push eax */ 6897 ecx = ebp + (-0x58); /* 0x2B0983FD: lea ecx, [ebp - 0x58] */ 6898 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B098400: mov byte ptr [ebp - 4], 0x13 */ 6899 MEM32(ebp + (-0x5C)) = 0x1000u; /* 0x2B098404: mov dword ptr [ebp - 0x5c], 0x1000 */ 6900 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09840B: call dword ptr [0x2b0b5164] */ 6901 RECOMP_FLAGS_IN(); 6902 ecx = ebp + (-0x24); /* 0x2B098411: lea ecx, [ebp - 0x24] */ 6903 PUSH32(esp, ecx); /* 0x2B098414: push ecx */ 6904 ecx = ebp + (-0x48); /* 0x2B098415: lea ecx, [ebp - 0x48] */ 6905 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B098418: mov byte ptr [ebp - 4], 0x14 */ 6906 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09841C: call dword ptr [0x2b0b5164] */ 6907 RECOMP_FLAGS_IN(); 6908 eax = MEM32(esi + 0x4); /* 0x2B098422: mov eax, dword ptr [esi + 4] */ 6909 edx = ebp + (-0x5C); /* 0x2B098425: lea edx, [ebp - 0x5c] */ 6910 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B098428: mov byte ptr [ebp - 4], 0x15 */ 6911 PUSH32(esp, edx); /* 0x2B09842C: push edx */ 6912 PUSH32(esp, eax); /* 0x2B09842D: push eax */ 6913 eax = ebp + 0x8; /* 0x2B09842E: lea eax, [ebp + 8] */ 6914 PUSH32(esp, eax); /* 0x2B098431: push eax */ 6915 ecx = esi; /* 0x2B098432: mov ecx, esi */ 6916 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098434: call 0x2b09b3d0 */ /* not lifted */ 6917 RECOMP_FLAGS_IN(); 6918 PUSH32(esp, 1); /* 0x2B098439: push 1 */ 6919 ecx = ebp + (-0x48); /* 0x2B09843B: lea ecx, [ebp - 0x48] */ 6920 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B09843E: mov byte ptr [ebp - 4], 0x16 */ 6921 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098442: call dword ptr [0x2b0b514c] */ 6922 RECOMP_FLAGS_IN(); 6923 PUSH32(esp, 1); /* 0x2B098448: push 1 */ 6924 ecx = ebp + (-0x58); /* 0x2B09844A: lea ecx, [ebp - 0x58] */ 6925 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B09844D: mov byte ptr [ebp - 4], 0x13 */ 6926 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098451: call dword ptr [0x2b0b514c] */ 6927 RECOMP_FLAGS_IN(); 6928 PUSH32(esp, 1); /* 0x2B098457: push 1 */ 6929 ecx = ebp + (-0x34); /* 0x2B098459: lea ecx, [ebp - 0x34] */ 6930 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B09845C: mov byte ptr [ebp - 4], 0x12 */ 6931 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098460: call dword ptr [0x2b0b514c] */ 6932 RECOMP_FLAGS_IN(); 6933 PUSH32(esp, 1); /* 0x2B098466: push 1 */ 6934 ecx = ebp + (-0x24); /* 0x2B098468: lea ecx, [ebp - 0x24] */ 6935 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09846B: mov byte ptr [ebp - 4], 2 */ 6936 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09846F: call dword ptr [0x2b0b514c] */ 6937 RECOMP_FLAGS_IN(); 6938 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098475: mov cl, byte ptr [ebp + 0xb] */ 6939 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098478: mov byte ptr [ebp - 0x24], cl */ 6940 PUSH32(esp, 0); /* 0x2B09847B: push 0 */ 6941 ecx = ebp + (-0x24); /* 0x2B09847D: lea ecx, [ebp - 0x24] */ 6942 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098480: call dword ptr [0x2b0b514c] */ 6943 RECOMP_FLAGS_IN(); 6944 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6945 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098486: or ecx, 0xffffffff */ 6946 _cf = 0; 6947 _flag_k = FK_TEST; 6948 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6949 eax = 0; /* 0x2B098489: xor eax, eax */ 6950 _cf = 0; 6951 _flag_k = FK_TEST; 6952 edi = 0x2B0EDC78u; /* 0x2B09848B: mov edi, 0x2b0edc78 */ 6953 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; } /* 0x2B098490: repne scasb al, byte ptr es:[edi] */ 6954 ecx = ~ecx; /* 0x2B098492: not ecx */ 6955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6956 ecx = ecx - 1; /* 0x2B098494: dec ecx */ 6957 _flag_k = FK_DEC; 6958 PUSH32(esp, ecx); /* 0x2B098495: push ecx */ 6959 PUSH32(esp, 0x2B0EDC78u); /* 0x2B098496: push 0x2b0edc78 */ 6960 ecx = ebp + (-0x24); /* 0x2B09849B: lea ecx, [ebp - 0x24] */ 6961 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09849E: call dword ptr [0x2b0b5148] */ 6962 RECOMP_FLAGS_IN(); 6963 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0984A4: mov dl, byte ptr [ebp + 0xb] */ 6964 PUSH32(esp, 0); /* 0x2B0984A7: push 0 */ 6965 ecx = ebp + (-0x34); /* 0x2B0984A9: lea ecx, [ebp - 0x34] */ 6966 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B0984AC: mov byte ptr [ebp - 4], 0x17 */ 6967 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B0984B0: mov byte ptr [ebp - 0x34], dl */ 6968 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0984B3: call dword ptr [0x2b0b514c] */ 6969 RECOMP_FLAGS_IN(); 6970 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6971 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0984B9: or ecx, 0xffffffff */ 6972 _cf = 0; 6973 _flag_k = FK_TEST; 6974 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6975 eax = 0; /* 0x2B0984BC: xor eax, eax */ 6976 _cf = 0; 6977 _flag_k = FK_TEST; 6978 edi = 0x2B0EDC44u; /* 0x2B0984BE: mov edi, 0x2b0edc44 */ 6979 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; } /* 0x2B0984C3: repne scasb al, byte ptr es:[edi] */ 6980 ecx = ~ecx; /* 0x2B0984C5: not ecx */ 6981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6982 ecx = ecx - 1; /* 0x2B0984C7: dec ecx */ 6983 _flag_k = FK_DEC; 6984 PUSH32(esp, ecx); /* 0x2B0984C8: push ecx */ 6985 PUSH32(esp, 0x2B0EDC44u); /* 0x2B0984C9: push 0x2b0edc44 */ 6986 ecx = ebp + (-0x34); /* 0x2B0984CE: lea ecx, [ebp - 0x34] */ 6987 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0984D1: call dword ptr [0x2b0b5148] */ 6988 RECOMP_FLAGS_IN(); 6989 eax = ebp + (-0x34); /* 0x2B0984D7: lea eax, [ebp - 0x34] */ 6990 PUSH32(esp, eax); /* 0x2B0984DA: push eax */ 6991 ecx = ebp + (-0x58); /* 0x2B0984DB: lea ecx, [ebp - 0x58] */ 6992 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B0984DE: mov byte ptr [ebp - 4], 0x18 */ 6993 MEM32(ebp + (-0x5C)) = 0x00400000u; /* 0x2B0984E2: mov dword ptr [ebp - 0x5c], 0x400000 */ 6994 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0984E9: call dword ptr [0x2b0b5164] */ 6995 RECOMP_FLAGS_IN(); 6996 ecx = ebp + (-0x24); /* 0x2B0984EF: lea ecx, [ebp - 0x24] */ 6997 PUSH32(esp, ecx); /* 0x2B0984F2: push ecx */ 6998 ecx = ebp + (-0x48); /* 0x2B0984F3: lea ecx, [ebp - 0x48] */ 6999 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B0984F6: mov byte ptr [ebp - 4], 0x19 */ 7000 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0984FA: call dword ptr [0x2b0b5164] */ 7001 RECOMP_FLAGS_IN(); 7002 eax = MEM32(esi + 0x4); /* 0x2B098500: mov eax, dword ptr [esi + 4] */ 7003 edx = ebp + (-0x5C); /* 0x2B098503: lea edx, [ebp - 0x5c] */ 7004 PUSH32(esp, edx); /* 0x2B098506: push edx */ 7005 PUSH32(esp, eax); /* 0x2B098507: push eax */ 7006 eax = ebp + 0x8; /* 0x2B098508: lea eax, [ebp + 8] */ 7007 PUSH32(esp, eax); /* 0x2B09850B: push eax */ 7008 ecx = esi; /* 0x2B09850C: mov ecx, esi */ 7009 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B09850E: mov byte ptr [ebp - 4], 0x1a */ 7010 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098512: call 0x2b09b3d0 */ /* not lifted */ 7011 RECOMP_FLAGS_IN(); 7012 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B098517: mov byte ptr [ebp - 4], 0x1b */ 7013 PUSH32(esp, 1); /* 0x2B09851B: push 1 */ 7014 ecx = ebp + (-0x48); /* 0x2B09851D: lea ecx, [ebp - 0x48] */ 7015 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098520: call dword ptr [0x2b0b514c] */ 7016 RECOMP_FLAGS_IN(); 7017 PUSH32(esp, 1); /* 0x2B098526: push 1 */ 7018 ecx = ebp + (-0x58); /* 0x2B098528: lea ecx, [ebp - 0x58] */ 7019 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B09852B: mov byte ptr [ebp - 4], 0x18 */ 7020 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09852F: call dword ptr [0x2b0b514c] */ 7021 RECOMP_FLAGS_IN(); 7022 PUSH32(esp, 1); /* 0x2B098535: push 1 */ 7023 ecx = ebp + (-0x34); /* 0x2B098537: lea ecx, [ebp - 0x34] */ 7024 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B09853A: mov byte ptr [ebp - 4], 0x17 */ 7025 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09853E: call dword ptr [0x2b0b514c] */ 7026 RECOMP_FLAGS_IN(); 7027 PUSH32(esp, 1); /* 0x2B098544: push 1 */ 7028 ecx = ebp + (-0x24); /* 0x2B098546: lea ecx, [ebp - 0x24] */ 7029 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098549: mov byte ptr [ebp - 4], 2 */ 7030 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09854D: call dword ptr [0x2b0b514c] */ 7031 RECOMP_FLAGS_IN(); 7032 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098553: mov cl, byte ptr [ebp + 0xb] */ 7033 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098556: mov byte ptr [ebp - 0x24], cl */ 7034 PUSH32(esp, 0); /* 0x2B098559: push 0 */ 7035 ecx = ebp + (-0x24); /* 0x2B09855B: lea ecx, [ebp - 0x24] */ 7036 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09855E: call dword ptr [0x2b0b514c] */ 7037 RECOMP_FLAGS_IN(); 7038 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7039 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098564: or ecx, 0xffffffff */ 7040 _cf = 0; 7041 _flag_k = FK_TEST; 7042 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7043 eax = 0; /* 0x2B098567: xor eax, eax */ 7044 _cf = 0; 7045 _flag_k = FK_TEST; 7046 edi = 0x2B0EDC18u; /* 0x2B098569: mov edi, 0x2b0edc18 */ 7047 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; } /* 0x2B09856E: repne scasb al, byte ptr es:[edi] */ 7048 ecx = ~ecx; /* 0x2B098570: not ecx */ 7049 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7050 ecx = ecx - 1; /* 0x2B098572: dec ecx */ 7051 _flag_k = FK_DEC; 7052 PUSH32(esp, ecx); /* 0x2B098573: push ecx */ 7053 PUSH32(esp, 0x2B0EDC18u); /* 0x2B098574: push 0x2b0edc18 */ 7054 ecx = ebp + (-0x24); /* 0x2B098579: lea ecx, [ebp - 0x24] */ 7055 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09857C: call dword ptr [0x2b0b5148] */ 7056 RECOMP_FLAGS_IN(); 7057 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098582: mov dl, byte ptr [ebp + 0xb] */ 7058 PUSH32(esp, 0); /* 0x2B098585: push 0 */ 7059 ecx = ebp + (-0x34); /* 0x2B098587: lea ecx, [ebp - 0x34] */ 7060 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B09858A: mov byte ptr [ebp - 4], 0x1c */ 7061 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B09858E: mov byte ptr [ebp - 0x34], dl */ 7062 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098591: call dword ptr [0x2b0b514c] */ 7063 RECOMP_FLAGS_IN(); 7064 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7065 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098597: or ecx, 0xffffffff */ 7066 _cf = 0; 7067 _flag_k = FK_TEST; 7068 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7069 eax = 0; /* 0x2B09859A: xor eax, eax */ 7070 _cf = 0; 7071 _flag_k = FK_TEST; 7072 edi = 0x2B0EDBE8u; /* 0x2B09859C: mov edi, 0x2b0edbe8 */ 7073 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; } /* 0x2B0985A1: repne scasb al, byte ptr es:[edi] */ 7074 ecx = ~ecx; /* 0x2B0985A3: not ecx */ 7075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7076 ecx = ecx - 1; /* 0x2B0985A5: dec ecx */ 7077 _flag_k = FK_DEC; 7078 PUSH32(esp, ecx); /* 0x2B0985A6: push ecx */ 7079 PUSH32(esp, 0x2B0EDBE8u); /* 0x2B0985A7: push 0x2b0edbe8 */ 7080 ecx = ebp + (-0x34); /* 0x2B0985AC: lea ecx, [ebp - 0x34] */ 7081 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0985AF: call dword ptr [0x2b0b5148] */ 7082 RECOMP_FLAGS_IN(); 7083 eax = ebp + (-0x34); /* 0x2B0985B5: lea eax, [ebp - 0x34] */ 7084 PUSH32(esp, eax); /* 0x2B0985B8: push eax */ 7085 ecx = ebp + (-0x58); /* 0x2B0985B9: lea ecx, [ebp - 0x58] */ 7086 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B0985BC: mov byte ptr [ebp - 4], 0x1d */ 7087 MEM32(ebp + (-0x5C)) = 0x40u; /* 0x2B0985C0: mov dword ptr [ebp - 0x5c], 0x40 */ 7088 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0985C7: call dword ptr [0x2b0b5164] */ 7089 RECOMP_FLAGS_IN(); 7090 ecx = ebp + (-0x24); /* 0x2B0985CD: lea ecx, [ebp - 0x24] */ 7091 PUSH32(esp, ecx); /* 0x2B0985D0: push ecx */ 7092 ecx = ebp + (-0x48); /* 0x2B0985D1: lea ecx, [ebp - 0x48] */ 7093 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B0985D4: mov byte ptr [ebp - 4], 0x1e */ 7094 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0985D8: call dword ptr [0x2b0b5164] */ 7095 RECOMP_FLAGS_IN(); 7096 eax = MEM32(esi + 0x4); /* 0x2B0985DE: mov eax, dword ptr [esi + 4] */ 7097 edx = ebp + (-0x5C); /* 0x2B0985E1: lea edx, [ebp - 0x5c] */ 7098 PUSH32(esp, edx); /* 0x2B0985E4: push edx */ 7099 PUSH32(esp, eax); /* 0x2B0985E5: push eax */ 7100 eax = ebp + 0x8; /* 0x2B0985E6: lea eax, [ebp + 8] */ 7101 PUSH32(esp, eax); /* 0x2B0985E9: push eax */ 7102 ecx = esi; /* 0x2B0985EA: mov ecx, esi */ 7103 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0985EC: mov byte ptr [ebp - 4], 0x1f */ 7104 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B0985F0: call 0x2b09b3d0 */ /* not lifted */ 7105 RECOMP_FLAGS_IN(); 7106 PUSH32(esp, 1); /* 0x2B0985F5: push 1 */ 7107 ecx = ebp + (-0x48); /* 0x2B0985F7: lea ecx, [ebp - 0x48] */ 7108 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B0985FA: mov byte ptr [ebp - 4], 0x20 */ 7109 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0985FE: call dword ptr [0x2b0b514c] */ 7110 RECOMP_FLAGS_IN(); 7111 PUSH32(esp, 1); /* 0x2B098604: push 1 */ 7112 ecx = ebp + (-0x58); /* 0x2B098606: lea ecx, [ebp - 0x58] */ 7113 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B098609: mov byte ptr [ebp - 4], 0x1d */ 7114 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09860D: call dword ptr [0x2b0b514c] */ 7115 RECOMP_FLAGS_IN(); 7116 PUSH32(esp, 1); /* 0x2B098613: push 1 */ 7117 ecx = ebp + (-0x34); /* 0x2B098615: lea ecx, [ebp - 0x34] */ 7118 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B098618: mov byte ptr [ebp - 4], 0x1c */ 7119 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09861C: call dword ptr [0x2b0b514c] */ 7120 RECOMP_FLAGS_IN(); 7121 PUSH32(esp, 1); /* 0x2B098622: push 1 */ 7122 ecx = ebp + (-0x24); /* 0x2B098624: lea ecx, [ebp - 0x24] */ 7123 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098627: mov byte ptr [ebp - 4], 2 */ 7124 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09862B: call dword ptr [0x2b0b514c] */ 7125 RECOMP_FLAGS_IN(); 7126 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098631: mov cl, byte ptr [ebp + 0xb] */ 7127 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098634: mov byte ptr [ebp - 0x24], cl */ 7128 PUSH32(esp, 0); /* 0x2B098637: push 0 */ 7129 ecx = ebp + (-0x24); /* 0x2B098639: lea ecx, [ebp - 0x24] */ 7130 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09863C: call dword ptr [0x2b0b514c] */ 7131 RECOMP_FLAGS_IN(); 7132 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7133 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098642: or ecx, 0xffffffff */ 7134 _cf = 0; 7135 _flag_k = FK_TEST; 7136 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7137 eax = 0; /* 0x2B098645: xor eax, eax */ 7138 _cf = 0; 7139 _flag_k = FK_TEST; 7140 edi = 0x2B0EDBB4u; /* 0x2B098647: mov edi, 0x2b0edbb4 */ 7141 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; } /* 0x2B09864C: repne scasb al, byte ptr es:[edi] */ 7142 ecx = ~ecx; /* 0x2B09864E: not ecx */ 7143 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7144 ecx = ecx - 1; /* 0x2B098650: dec ecx */ 7145 _flag_k = FK_DEC; 7146 PUSH32(esp, ecx); /* 0x2B098651: push ecx */ 7147 PUSH32(esp, 0x2B0EDBB4u); /* 0x2B098652: push 0x2b0edbb4 */ 7148 ecx = ebp + (-0x24); /* 0x2B098657: lea ecx, [ebp - 0x24] */ 7149 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09865A: call dword ptr [0x2b0b5148] */ 7150 RECOMP_FLAGS_IN(); 7151 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098660: mov dl, byte ptr [ebp + 0xb] */ 7152 PUSH32(esp, 0); /* 0x2B098663: push 0 */ 7153 ecx = ebp + (-0x34); /* 0x2B098665: lea ecx, [ebp - 0x34] */ 7154 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x2B098668: mov byte ptr [ebp - 4], 0x21 */ 7155 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B09866C: mov byte ptr [ebp - 0x34], dl */ 7156 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09866F: call dword ptr [0x2b0b514c] */ 7157 RECOMP_FLAGS_IN(); 7158 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7159 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098675: or ecx, 0xffffffff */ 7160 _cf = 0; 7161 _flag_k = FK_TEST; 7162 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7163 eax = 0; /* 0x2B098678: xor eax, eax */ 7164 _cf = 0; 7165 _flag_k = FK_TEST; 7166 edi = 0x2B0EDB94u; /* 0x2B09867A: mov edi, 0x2b0edb94 */ 7167 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; } /* 0x2B09867F: repne scasb al, byte ptr es:[edi] */ 7168 ecx = ~ecx; /* 0x2B098681: not ecx */ 7169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7170 ecx = ecx - 1; /* 0x2B098683: dec ecx */ 7171 _flag_k = FK_DEC; 7172 PUSH32(esp, ecx); /* 0x2B098684: push ecx */ 7173 PUSH32(esp, 0x2B0EDB94u); /* 0x2B098685: push 0x2b0edb94 */ 7174 ecx = ebp + (-0x34); /* 0x2B09868A: lea ecx, [ebp - 0x34] */ 7175 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09868D: call dword ptr [0x2b0b5148] */ 7176 RECOMP_FLAGS_IN(); 7177 eax = ebp + (-0x34); /* 0x2B098693: lea eax, [ebp - 0x34] */ 7178 PUSH32(esp, eax); /* 0x2B098696: push eax */ 7179 ecx = ebp + (-0x58); /* 0x2B098697: lea ecx, [ebp - 0x58] */ 7180 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x2B09869A: mov byte ptr [ebp - 4], 0x22 */ 7181 MEM32(ebp + (-0x5C)) = 0x400u; /* 0x2B09869E: mov dword ptr [ebp - 0x5c], 0x400 */ 7182 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0986A5: call dword ptr [0x2b0b5164] */ 7183 RECOMP_FLAGS_IN(); 7184 ecx = ebp + (-0x24); /* 0x2B0986AB: lea ecx, [ebp - 0x24] */ 7185 PUSH32(esp, ecx); /* 0x2B0986AE: push ecx */ 7186 ecx = ebp + (-0x48); /* 0x2B0986AF: lea ecx, [ebp - 0x48] */ 7187 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x2B0986B2: mov byte ptr [ebp - 4], 0x23 */ 7188 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B0986B6: call dword ptr [0x2b0b5164] */ 7189 RECOMP_FLAGS_IN(); 7190 eax = MEM32(esi + 0x4); /* 0x2B0986BC: mov eax, dword ptr [esi + 4] */ 7191 edx = ebp + (-0x5C); /* 0x2B0986BF: lea edx, [ebp - 0x5c] */ 7192 PUSH32(esp, edx); /* 0x2B0986C2: push edx */ 7193 PUSH32(esp, eax); /* 0x2B0986C3: push eax */ 7194 eax = ebp + 0x8; /* 0x2B0986C4: lea eax, [ebp + 8] */ 7195 PUSH32(esp, eax); /* 0x2B0986C7: push eax */ 7196 ecx = esi; /* 0x2B0986C8: mov ecx, esi */ 7197 MEM8(ebp + (-0x4)) = (uint8_t)(0x24u); /* 0x2B0986CA: mov byte ptr [ebp - 4], 0x24 */ 7198 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B0986CE: call 0x2b09b3d0 */ /* not lifted */ 7199 RECOMP_FLAGS_IN(); 7200 PUSH32(esp, 1); /* 0x2B0986D3: push 1 */ 7201 ecx = ebp + (-0x48); /* 0x2B0986D5: lea ecx, [ebp - 0x48] */ 7202 MEM8(ebp + (-0x4)) = (uint8_t)(0x25u); /* 0x2B0986D8: mov byte ptr [ebp - 4], 0x25 */ 7203 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0986DC: call dword ptr [0x2b0b514c] */ 7204 RECOMP_FLAGS_IN(); 7205 PUSH32(esp, 1); /* 0x2B0986E2: push 1 */ 7206 ecx = ebp + (-0x58); /* 0x2B0986E4: lea ecx, [ebp - 0x58] */ 7207 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x2B0986E7: mov byte ptr [ebp - 4], 0x22 */ 7208 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0986EB: call dword ptr [0x2b0b514c] */ 7209 RECOMP_FLAGS_IN(); 7210 PUSH32(esp, 1); /* 0x2B0986F1: push 1 */ 7211 ecx = ebp + (-0x34); /* 0x2B0986F3: lea ecx, [ebp - 0x34] */ 7212 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x2B0986F6: mov byte ptr [ebp - 4], 0x21 */ 7213 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0986FA: call dword ptr [0x2b0b514c] */ 7214 RECOMP_FLAGS_IN(); 7215 PUSH32(esp, 1); /* 0x2B098700: push 1 */ 7216 ecx = ebp + (-0x24); /* 0x2B098702: lea ecx, [ebp - 0x24] */ 7217 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098705: mov byte ptr [ebp - 4], 2 */ 7218 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098709: call dword ptr [0x2b0b514c] */ 7219 RECOMP_FLAGS_IN(); 7220 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B09870F: mov cl, byte ptr [ebp + 0xb] */ 7221 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098712: mov byte ptr [ebp - 0x24], cl */ 7222 PUSH32(esp, 0); /* 0x2B098715: push 0 */ 7223 ecx = ebp + (-0x24); /* 0x2B098717: lea ecx, [ebp - 0x24] */ 7224 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09871A: call dword ptr [0x2b0b514c] */ 7225 RECOMP_FLAGS_IN(); 7226 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7227 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098720: or ecx, 0xffffffff */ 7228 _cf = 0; 7229 _flag_k = FK_TEST; 7230 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7231 eax = 0; /* 0x2B098723: xor eax, eax */ 7232 _cf = 0; 7233 _flag_k = FK_TEST; 7234 edi = 0x2B0EDB64u; /* 0x2B098725: mov edi, 0x2b0edb64 */ 7235 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; } /* 0x2B09872A: repne scasb al, byte ptr es:[edi] */ 7236 ecx = ~ecx; /* 0x2B09872C: not ecx */ 7237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7238 ecx = ecx - 1; /* 0x2B09872E: dec ecx */ 7239 _flag_k = FK_DEC; 7240 PUSH32(esp, ecx); /* 0x2B09872F: push ecx */ 7241 PUSH32(esp, 0x2B0EDB64u); /* 0x2B098730: push 0x2b0edb64 */ 7242 ecx = ebp + (-0x24); /* 0x2B098735: lea ecx, [ebp - 0x24] */ 7243 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098738: call dword ptr [0x2b0b5148] */ 7244 RECOMP_FLAGS_IN(); 7245 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B09873E: mov dl, byte ptr [ebp + 0xb] */ 7246 PUSH32(esp, 0); /* 0x2B098741: push 0 */ 7247 ecx = ebp + (-0x34); /* 0x2B098743: lea ecx, [ebp - 0x34] */ 7248 MEM8(ebp + (-0x4)) = (uint8_t)(0x26u); /* 0x2B098746: mov byte ptr [ebp - 4], 0x26 */ 7249 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B09874A: mov byte ptr [ebp - 0x34], dl */ 7250 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09874D: call dword ptr [0x2b0b514c] */ 7251 RECOMP_FLAGS_IN(); 7252 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7253 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098753: or ecx, 0xffffffff */ 7254 _cf = 0; 7255 _flag_k = FK_TEST; 7256 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7257 eax = 0; /* 0x2B098756: xor eax, eax */ 7258 _cf = 0; 7259 _flag_k = FK_TEST; 7260 edi = 0x2B0EDB40u; /* 0x2B098758: mov edi, 0x2b0edb40 */ 7261 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; } /* 0x2B09875D: repne scasb al, byte ptr es:[edi] */ 7262 ecx = ~ecx; /* 0x2B09875F: not ecx */ 7263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7264 ecx = ecx - 1; /* 0x2B098761: dec ecx */ 7265 _flag_k = FK_DEC; 7266 PUSH32(esp, ecx); /* 0x2B098762: push ecx */ 7267 PUSH32(esp, 0x2B0EDB40u); /* 0x2B098763: push 0x2b0edb40 */ 7268 ecx = ebp + (-0x34); /* 0x2B098768: lea ecx, [ebp - 0x34] */ 7269 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09876B: call dword ptr [0x2b0b5148] */ 7270 RECOMP_FLAGS_IN(); 7271 eax = ebp + (-0x34); /* 0x2B098771: lea eax, [ebp - 0x34] */ 7272 PUSH32(esp, eax); /* 0x2B098774: push eax */ 7273 ecx = ebp + (-0x58); /* 0x2B098775: lea ecx, [ebp - 0x58] */ 7274 MEM8(ebp + (-0x4)) = (uint8_t)(0x27u); /* 0x2B098778: mov byte ptr [ebp - 4], 0x27 */ 7275 MEM32(ebp + (-0x5C)) = 0x2000u; /* 0x2B09877C: mov dword ptr [ebp - 0x5c], 0x2000 */ 7276 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098783: call dword ptr [0x2b0b5164] */ 7277 RECOMP_FLAGS_IN(); 7278 ecx = ebp + (-0x24); /* 0x2B098789: lea ecx, [ebp - 0x24] */ 7279 PUSH32(esp, ecx); /* 0x2B09878C: push ecx */ 7280 ecx = ebp + (-0x48); /* 0x2B09878D: lea ecx, [ebp - 0x48] */ 7281 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x2B098790: mov byte ptr [ebp - 4], 0x28 */ 7282 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098794: call dword ptr [0x2b0b5164] */ 7283 RECOMP_FLAGS_IN(); 7284 eax = MEM32(esi + 0x4); /* 0x2B09879A: mov eax, dword ptr [esi + 4] */ 7285 edx = ebp + (-0x5C); /* 0x2B09879D: lea edx, [ebp - 0x5c] */ 7286 PUSH32(esp, edx); /* 0x2B0987A0: push edx */ 7287 PUSH32(esp, eax); /* 0x2B0987A1: push eax */ 7288 eax = ebp + 0x8; /* 0x2B0987A2: lea eax, [ebp + 8] */ 7289 PUSH32(esp, eax); /* 0x2B0987A5: push eax */ 7290 ecx = esi; /* 0x2B0987A6: mov ecx, esi */ 7291 MEM8(ebp + (-0x4)) = (uint8_t)(0x29u); /* 0x2B0987A8: mov byte ptr [ebp - 4], 0x29 */ 7292 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B0987AC: call 0x2b09b3d0 */ /* not lifted */ 7293 RECOMP_FLAGS_IN(); 7294 PUSH32(esp, 1); /* 0x2B0987B1: push 1 */ 7295 ecx = ebp + (-0x48); /* 0x2B0987B3: lea ecx, [ebp - 0x48] */ 7296 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Au); /* 0x2B0987B6: mov byte ptr [ebp - 4], 0x2a */ 7297 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0987BA: call dword ptr [0x2b0b514c] */ 7298 RECOMP_FLAGS_IN(); 7299 PUSH32(esp, 1); /* 0x2B0987C0: push 1 */ 7300 ecx = ebp + (-0x58); /* 0x2B0987C2: lea ecx, [ebp - 0x58] */ 7301 MEM8(ebp + (-0x4)) = (uint8_t)(0x27u); /* 0x2B0987C5: mov byte ptr [ebp - 4], 0x27 */ 7302 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0987C9: call dword ptr [0x2b0b514c] */ 7303 RECOMP_FLAGS_IN(); 7304 PUSH32(esp, 1); /* 0x2B0987CF: push 1 */ 7305 ecx = ebp + (-0x34); /* 0x2B0987D1: lea ecx, [ebp - 0x34] */ 7306 MEM8(ebp + (-0x4)) = (uint8_t)(0x26u); /* 0x2B0987D4: mov byte ptr [ebp - 4], 0x26 */ 7307 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0987D8: call dword ptr [0x2b0b514c] */ 7308 RECOMP_FLAGS_IN(); 7309 PUSH32(esp, 1); /* 0x2B0987DE: push 1 */ 7310 ecx = ebp + (-0x24); /* 0x2B0987E0: lea ecx, [ebp - 0x24] */ 7311 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0987E3: mov byte ptr [ebp - 4], 2 */ 7312 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0987E7: call dword ptr [0x2b0b514c] */ 7313 RECOMP_FLAGS_IN(); 7314 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0987ED: mov cl, byte ptr [ebp + 0xb] */ 7315 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0987F0: mov byte ptr [ebp - 0x24], cl */ 7316 PUSH32(esp, 0); /* 0x2B0987F3: push 0 */ 7317 ecx = ebp + (-0x24); /* 0x2B0987F5: lea ecx, [ebp - 0x24] */ 7318 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0987F8: call dword ptr [0x2b0b514c] */ 7319 RECOMP_FLAGS_IN(); 7320 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7321 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0987FE: or ecx, 0xffffffff */ 7322 _cf = 0; 7323 _flag_k = FK_TEST; 7324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7325 eax = 0; /* 0x2B098801: xor eax, eax */ 7326 _cf = 0; 7327 _flag_k = FK_TEST; 7328 edi = 0x2B0EDB10u; /* 0x2B098803: mov edi, 0x2b0edb10 */ 7329 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; } /* 0x2B098808: repne scasb al, byte ptr es:[edi] */ 7330 ecx = ~ecx; /* 0x2B09880A: not ecx */ 7331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7332 ecx = ecx - 1; /* 0x2B09880C: dec ecx */ 7333 _flag_k = FK_DEC; 7334 PUSH32(esp, ecx); /* 0x2B09880D: push ecx */ 7335 PUSH32(esp, 0x2B0EDB10u); /* 0x2B09880E: push 0x2b0edb10 */ 7336 ecx = ebp + (-0x24); /* 0x2B098813: lea ecx, [ebp - 0x24] */ 7337 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098816: call dword ptr [0x2b0b5148] */ 7338 RECOMP_FLAGS_IN(); 7339 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B09881C: mov dl, byte ptr [ebp + 0xb] */ 7340 PUSH32(esp, 0); /* 0x2B09881F: push 0 */ 7341 ecx = ebp + (-0x34); /* 0x2B098821: lea ecx, [ebp - 0x34] */ 7342 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x2B098824: mov byte ptr [ebp - 4], 0x2b */ 7343 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098828: mov byte ptr [ebp - 0x34], dl */ 7344 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09882B: call dword ptr [0x2b0b514c] */ 7345 RECOMP_FLAGS_IN(); 7346 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7347 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098831: or ecx, 0xffffffff */ 7348 _cf = 0; 7349 _flag_k = FK_TEST; 7350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7351 eax = 0; /* 0x2B098834: xor eax, eax */ 7352 _cf = 0; 7353 _flag_k = FK_TEST; 7354 edi = 0x2B0EDADCu; /* 0x2B098836: mov edi, 0x2b0edadc */ 7355 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; } /* 0x2B09883B: repne scasb al, byte ptr es:[edi] */ 7356 ecx = ~ecx; /* 0x2B09883D: not ecx */ 7357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7358 ecx = ecx - 1; /* 0x2B09883F: dec ecx */ 7359 _flag_k = FK_DEC; 7360 PUSH32(esp, ecx); /* 0x2B098840: push ecx */ 7361 PUSH32(esp, 0x2B0EDADCu); /* 0x2B098841: push 0x2b0edadc */ 7362 ecx = ebp + (-0x34); /* 0x2B098846: lea ecx, [ebp - 0x34] */ 7363 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098849: call dword ptr [0x2b0b5148] */ 7364 RECOMP_FLAGS_IN(); 7365 eax = ebp + (-0x34); /* 0x2B09884F: lea eax, [ebp - 0x34] */ 7366 PUSH32(esp, eax); /* 0x2B098852: push eax */ 7367 ecx = ebp + (-0x58); /* 0x2B098853: lea ecx, [ebp - 0x58] */ 7368 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Cu); /* 0x2B098856: mov byte ptr [ebp - 4], 0x2c */ 7369 MEM32(ebp + (-0x5C)) = 0x00040000u; /* 0x2B09885A: mov dword ptr [ebp - 0x5c], 0x40000 */ 7370 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098861: call dword ptr [0x2b0b5164] */ 7371 RECOMP_FLAGS_IN(); 7372 ecx = ebp + (-0x24); /* 0x2B098867: lea ecx, [ebp - 0x24] */ 7373 PUSH32(esp, ecx); /* 0x2B09886A: push ecx */ 7374 ecx = ebp + (-0x48); /* 0x2B09886B: lea ecx, [ebp - 0x48] */ 7375 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x2B09886E: mov byte ptr [ebp - 4], 0x2d */ 7376 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098872: call dword ptr [0x2b0b5164] */ 7377 RECOMP_FLAGS_IN(); 7378 eax = MEM32(esi + 0x4); /* 0x2B098878: mov eax, dword ptr [esi + 4] */ 7379 edx = ebp + (-0x5C); /* 0x2B09887B: lea edx, [ebp - 0x5c] */ 7380 PUSH32(esp, edx); /* 0x2B09887E: push edx */ 7381 PUSH32(esp, eax); /* 0x2B09887F: push eax */ 7382 eax = ebp + 0x8; /* 0x2B098880: lea eax, [ebp + 8] */ 7383 PUSH32(esp, eax); /* 0x2B098883: push eax */ 7384 ecx = esi; /* 0x2B098884: mov ecx, esi */ 7385 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x2B098886: mov byte ptr [ebp - 4], 0x2e */ 7386 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B09888A: call 0x2b09b3d0 */ /* not lifted */ 7387 RECOMP_FLAGS_IN(); 7388 PUSH32(esp, 1); /* 0x2B09888F: push 1 */ 7389 ecx = ebp + (-0x48); /* 0x2B098891: lea ecx, [ebp - 0x48] */ 7390 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x2B098894: mov byte ptr [ebp - 4], 0x2f */ 7391 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098898: call dword ptr [0x2b0b514c] */ 7392 RECOMP_FLAGS_IN(); 7393 PUSH32(esp, 1); /* 0x2B09889E: push 1 */ 7394 ecx = ebp + (-0x58); /* 0x2B0988A0: lea ecx, [ebp - 0x58] */ 7395 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Cu); /* 0x2B0988A3: mov byte ptr [ebp - 4], 0x2c */ 7396 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0988A7: call dword ptr [0x2b0b514c] */ 7397 RECOMP_FLAGS_IN(); 7398 PUSH32(esp, 1); /* 0x2B0988AD: push 1 */ 7399 ecx = ebp + (-0x34); /* 0x2B0988AF: lea ecx, [ebp - 0x34] */ 7400 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x2B0988B2: mov byte ptr [ebp - 4], 0x2b */ 7401 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0988B6: call dword ptr [0x2b0b514c] */ 7402 RECOMP_FLAGS_IN(); 7403 PUSH32(esp, 1); /* 0x2B0988BC: push 1 */ 7404 ecx = ebp + (-0x24); /* 0x2B0988BE: lea ecx, [ebp - 0x24] */ 7405 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0988C1: mov byte ptr [ebp - 4], 2 */ 7406 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0988C5: call dword ptr [0x2b0b514c] */ 7407 RECOMP_FLAGS_IN(); 7408 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0988CB: mov cl, byte ptr [ebp + 0xb] */ 7409 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0988CE: mov byte ptr [ebp - 0x24], cl */ 7410 PUSH32(esp, 0); /* 0x2B0988D1: push 0 */ 7411 ecx = ebp + (-0x24); /* 0x2B0988D3: lea ecx, [ebp - 0x24] */ 7412 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0988D6: call dword ptr [0x2b0b514c] */ 7413 RECOMP_FLAGS_IN(); 7414 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7415 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0988DC: or ecx, 0xffffffff */ 7416 _cf = 0; 7417 _flag_k = FK_TEST; 7418 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7419 eax = 0; /* 0x2B0988DF: xor eax, eax */ 7420 _cf = 0; 7421 _flag_k = FK_TEST; 7422 edi = 0x2B0EDAACu; /* 0x2B0988E1: mov edi, 0x2b0edaac */ 7423 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; } /* 0x2B0988E6: repne scasb al, byte ptr es:[edi] */ 7424 ecx = ~ecx; /* 0x2B0988E8: not ecx */ 7425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7426 ecx = ecx - 1; /* 0x2B0988EA: dec ecx */ 7427 _flag_k = FK_DEC; 7428 PUSH32(esp, ecx); /* 0x2B0988EB: push ecx */ 7429 PUSH32(esp, 0x2B0EDAACu); /* 0x2B0988EC: push 0x2b0edaac */ 7430 ecx = ebp + (-0x24); /* 0x2B0988F1: lea ecx, [ebp - 0x24] */ 7431 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0988F4: call dword ptr [0x2b0b5148] */ 7432 RECOMP_FLAGS_IN(); 7433 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0988FA: mov dl, byte ptr [ebp + 0xb] */ 7434 PUSH32(esp, 0); /* 0x2B0988FD: push 0 */ 7435 ecx = ebp + (-0x34); /* 0x2B0988FF: lea ecx, [ebp - 0x34] */ 7436 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x2B098902: mov byte ptr [ebp - 4], 0x30 */ 7437 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098906: mov byte ptr [ebp - 0x34], dl */ 7438 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098909: call dword ptr [0x2b0b514c] */ 7439 RECOMP_FLAGS_IN(); 7440 edi = 0x2B0EDA88u; /* 0x2B09890F: mov edi, 0x2b0eda88 */ 7441 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7442 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098914: or ecx, 0xffffffff */ 7443 _cf = 0; 7444 _flag_k = FK_TEST; 7445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7446 eax = 0; /* 0x2B098917: xor eax, eax */ 7447 _cf = 0; 7448 _flag_k = FK_TEST; 7449 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; } /* 0x2B098919: repne scasb al, byte ptr es:[edi] */ 7450 ecx = ~ecx; /* 0x2B09891B: not ecx */ 7451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7452 ecx = ecx - 1; /* 0x2B09891D: dec ecx */ 7453 _flag_k = FK_DEC; 7454 PUSH32(esp, ecx); /* 0x2B09891E: push ecx */ 7455 PUSH32(esp, 0x2B0EDA88u); /* 0x2B09891F: push 0x2b0eda88 */ 7456 ecx = ebp + (-0x34); /* 0x2B098924: lea ecx, [ebp - 0x34] */ 7457 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098927: call dword ptr [0x2b0b5148] */ 7458 RECOMP_FLAGS_IN(); 7459 eax = ebp + (-0x34); /* 0x2B09892D: lea eax, [ebp - 0x34] */ 7460 PUSH32(esp, eax); /* 0x2B098930: push eax */ 7461 ecx = ebp + (-0x58); /* 0x2B098931: lea ecx, [ebp - 0x58] */ 7462 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x2B098934: mov byte ptr [ebp - 4], 0x31 */ 7463 MEM32(ebp + (-0x5C)) = 0x00010000u; /* 0x2B098938: mov dword ptr [ebp - 0x5c], 0x10000 */ 7464 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09893F: call dword ptr [0x2b0b5164] */ 7465 RECOMP_FLAGS_IN(); 7466 ecx = ebp + (-0x24); /* 0x2B098945: lea ecx, [ebp - 0x24] */ 7467 PUSH32(esp, ecx); /* 0x2B098948: push ecx */ 7468 ecx = ebp + (-0x48); /* 0x2B098949: lea ecx, [ebp - 0x48] */ 7469 MEM8(ebp + (-0x4)) = (uint8_t)(0x32u); /* 0x2B09894C: mov byte ptr [ebp - 4], 0x32 */ 7470 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098950: call dword ptr [0x2b0b5164] */ 7471 RECOMP_FLAGS_IN(); 7472 eax = MEM32(esi + 0x4); /* 0x2B098956: mov eax, dword ptr [esi + 4] */ 7473 edx = ebp + (-0x5C); /* 0x2B098959: lea edx, [ebp - 0x5c] */ 7474 PUSH32(esp, edx); /* 0x2B09895C: push edx */ 7475 PUSH32(esp, eax); /* 0x2B09895D: push eax */ 7476 eax = ebp + 0x8; /* 0x2B09895E: lea eax, [ebp + 8] */ 7477 PUSH32(esp, eax); /* 0x2B098961: push eax */ 7478 ecx = esi; /* 0x2B098962: mov ecx, esi */ 7479 MEM8(ebp + (-0x4)) = (uint8_t)(0x33u); /* 0x2B098964: mov byte ptr [ebp - 4], 0x33 */ 7480 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098968: call 0x2b09b3d0 */ /* not lifted */ 7481 RECOMP_FLAGS_IN(); 7482 PUSH32(esp, 1); /* 0x2B09896D: push 1 */ 7483 ecx = ebp + (-0x48); /* 0x2B09896F: lea ecx, [ebp - 0x48] */ 7484 MEM8(ebp + (-0x4)) = (uint8_t)(0x34u); /* 0x2B098972: mov byte ptr [ebp - 4], 0x34 */ 7485 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098976: call dword ptr [0x2b0b514c] */ 7486 RECOMP_FLAGS_IN(); 7487 PUSH32(esp, 1); /* 0x2B09897C: push 1 */ 7488 ecx = ebp + (-0x58); /* 0x2B09897E: lea ecx, [ebp - 0x58] */ 7489 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x2B098981: mov byte ptr [ebp - 4], 0x31 */ 7490 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098985: call dword ptr [0x2b0b514c] */ 7491 RECOMP_FLAGS_IN(); 7492 PUSH32(esp, 1); /* 0x2B09898B: push 1 */ 7493 ecx = ebp + (-0x34); /* 0x2B09898D: lea ecx, [ebp - 0x34] */ 7494 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x2B098990: mov byte ptr [ebp - 4], 0x30 */ 7495 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098994: call dword ptr [0x2b0b514c] */ 7496 RECOMP_FLAGS_IN(); 7497 PUSH32(esp, 1); /* 0x2B09899A: push 1 */ 7498 ecx = ebp + (-0x24); /* 0x2B09899C: lea ecx, [ebp - 0x24] */ 7499 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09899F: mov byte ptr [ebp - 4], 2 */ 7500 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0989A3: call dword ptr [0x2b0b514c] */ 7501 RECOMP_FLAGS_IN(); 7502 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0989A9: mov cl, byte ptr [ebp + 0xb] */ 7503 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0989AC: mov byte ptr [ebp - 0x24], cl */ 7504 PUSH32(esp, 0); /* 0x2B0989AF: push 0 */ 7505 ecx = ebp + (-0x24); /* 0x2B0989B1: lea ecx, [ebp - 0x24] */ 7506 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0989B4: call dword ptr [0x2b0b514c] */ 7507 RECOMP_FLAGS_IN(); 7508 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7509 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0989BA: or ecx, 0xffffffff */ 7510 _cf = 0; 7511 _flag_k = FK_TEST; 7512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7513 eax = 0; /* 0x2B0989BD: xor eax, eax */ 7514 _cf = 0; 7515 _flag_k = FK_TEST; 7516 edi = 0x2B0EDA5Cu; /* 0x2B0989BF: mov edi, 0x2b0eda5c */ 7517 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; } /* 0x2B0989C4: repne scasb al, byte ptr es:[edi] */ 7518 ecx = ~ecx; /* 0x2B0989C6: not ecx */ 7519 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7520 ecx = ecx - 1; /* 0x2B0989C8: dec ecx */ 7521 _flag_k = FK_DEC; 7522 PUSH32(esp, ecx); /* 0x2B0989C9: push ecx */ 7523 PUSH32(esp, 0x2B0EDA5Cu); /* 0x2B0989CA: push 0x2b0eda5c */ 7524 ecx = ebp + (-0x24); /* 0x2B0989CF: lea ecx, [ebp - 0x24] */ 7525 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0989D2: call dword ptr [0x2b0b5148] */ 7526 RECOMP_FLAGS_IN(); 7527 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0989D8: mov dl, byte ptr [ebp + 0xb] */ 7528 PUSH32(esp, 0); /* 0x2B0989DB: push 0 */ 7529 ecx = ebp + (-0x34); /* 0x2B0989DD: lea ecx, [ebp - 0x34] */ 7530 MEM8(ebp + (-0x4)) = (uint8_t)(0x35u); /* 0x2B0989E0: mov byte ptr [ebp - 4], 0x35 */ 7531 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B0989E4: mov byte ptr [ebp - 0x34], dl */ 7532 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0989E7: call dword ptr [0x2b0b514c] */ 7533 RECOMP_FLAGS_IN(); 7534 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7535 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0989ED: or ecx, 0xffffffff */ 7536 _cf = 0; 7537 _flag_k = FK_TEST; 7538 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7539 eax = 0; /* 0x2B0989F0: xor eax, eax */ 7540 _cf = 0; 7541 _flag_k = FK_TEST; 7542 edi = 0x2B0EDA38u; /* 0x2B0989F2: mov edi, 0x2b0eda38 */ 7543 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; } /* 0x2B0989F7: repne scasb al, byte ptr es:[edi] */ 7544 ecx = ~ecx; /* 0x2B0989F9: not ecx */ 7545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7546 ecx = ecx - 1; /* 0x2B0989FB: dec ecx */ 7547 _flag_k = FK_DEC; 7548 PUSH32(esp, ecx); /* 0x2B0989FC: push ecx */ 7549 PUSH32(esp, 0x2B0EDA38u); /* 0x2B0989FD: push 0x2b0eda38 */ 7550 ecx = ebp + (-0x34); /* 0x2B098A02: lea ecx, [ebp - 0x34] */ 7551 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098A05: call dword ptr [0x2b0b5148] */ 7552 RECOMP_FLAGS_IN(); 7553 eax = ebp + (-0x34); /* 0x2B098A0B: lea eax, [ebp - 0x34] */ 7554 PUSH32(esp, eax); /* 0x2B098A0E: push eax */ 7555 ecx = ebp + (-0x58); /* 0x2B098A0F: lea ecx, [ebp - 0x58] */ 7556 MEM8(ebp + (-0x4)) = (uint8_t)(0x36u); /* 0x2B098A12: mov byte ptr [ebp - 4], 0x36 */ 7557 MEM32(ebp + (-0x5C)) = 0x00080000u; /* 0x2B098A16: mov dword ptr [ebp - 0x5c], 0x80000 */ 7558 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098A1D: call dword ptr [0x2b0b5164] */ 7559 RECOMP_FLAGS_IN(); 7560 ecx = ebp + (-0x24); /* 0x2B098A23: lea ecx, [ebp - 0x24] */ 7561 PUSH32(esp, ecx); /* 0x2B098A26: push ecx */ 7562 ecx = ebp + (-0x48); /* 0x2B098A27: lea ecx, [ebp - 0x48] */ 7563 MEM8(ebp + (-0x4)) = (uint8_t)(0x37u); /* 0x2B098A2A: mov byte ptr [ebp - 4], 0x37 */ 7564 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098A2E: call dword ptr [0x2b0b5164] */ 7565 RECOMP_FLAGS_IN(); 7566 eax = MEM32(esi + 0x4); /* 0x2B098A34: mov eax, dword ptr [esi + 4] */ 7567 edx = ebp + (-0x5C); /* 0x2B098A37: lea edx, [ebp - 0x5c] */ 7568 PUSH32(esp, edx); /* 0x2B098A3A: push edx */ 7569 PUSH32(esp, eax); /* 0x2B098A3B: push eax */ 7570 eax = ebp + 0x8; /* 0x2B098A3C: lea eax, [ebp + 8] */ 7571 PUSH32(esp, eax); /* 0x2B098A3F: push eax */ 7572 ecx = esi; /* 0x2B098A40: mov ecx, esi */ 7573 MEM8(ebp + (-0x4)) = (uint8_t)(0x38u); /* 0x2B098A42: mov byte ptr [ebp - 4], 0x38 */ 7574 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098A46: call 0x2b09b3d0 */ /* not lifted */ 7575 RECOMP_FLAGS_IN(); 7576 PUSH32(esp, 1); /* 0x2B098A4B: push 1 */ 7577 ecx = ebp + (-0x48); /* 0x2B098A4D: lea ecx, [ebp - 0x48] */ 7578 MEM8(ebp + (-0x4)) = (uint8_t)(0x39u); /* 0x2B098A50: mov byte ptr [ebp - 4], 0x39 */ 7579 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098A54: call dword ptr [0x2b0b514c] */ 7580 RECOMP_FLAGS_IN(); 7581 PUSH32(esp, 1); /* 0x2B098A5A: push 1 */ 7582 ecx = ebp + (-0x58); /* 0x2B098A5C: lea ecx, [ebp - 0x58] */ 7583 MEM8(ebp + (-0x4)) = (uint8_t)(0x36u); /* 0x2B098A5F: mov byte ptr [ebp - 4], 0x36 */ 7584 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098A63: call dword ptr [0x2b0b514c] */ 7585 RECOMP_FLAGS_IN(); 7586 PUSH32(esp, 1); /* 0x2B098A69: push 1 */ 7587 ecx = ebp + (-0x34); /* 0x2B098A6B: lea ecx, [ebp - 0x34] */ 7588 MEM8(ebp + (-0x4)) = (uint8_t)(0x35u); /* 0x2B098A6E: mov byte ptr [ebp - 4], 0x35 */ 7589 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098A72: call dword ptr [0x2b0b514c] */ 7590 RECOMP_FLAGS_IN(); 7591 PUSH32(esp, 1); /* 0x2B098A78: push 1 */ 7592 ecx = ebp + (-0x24); /* 0x2B098A7A: lea ecx, [ebp - 0x24] */ 7593 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098A7D: mov byte ptr [ebp - 4], 2 */ 7594 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098A81: call dword ptr [0x2b0b514c] */ 7595 RECOMP_FLAGS_IN(); 7596 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098A87: mov cl, byte ptr [ebp + 0xb] */ 7597 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098A8A: mov byte ptr [ebp - 0x24], cl */ 7598 PUSH32(esp, 0); /* 0x2B098A8D: push 0 */ 7599 ecx = ebp + (-0x24); /* 0x2B098A8F: lea ecx, [ebp - 0x24] */ 7600 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098A92: call dword ptr [0x2b0b514c] */ 7601 RECOMP_FLAGS_IN(); 7602 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7603 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098A98: or ecx, 0xffffffff */ 7604 _cf = 0; 7605 _flag_k = FK_TEST; 7606 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7607 eax = 0; /* 0x2B098A9B: xor eax, eax */ 7608 _cf = 0; 7609 _flag_k = FK_TEST; 7610 edi = 0x2B0EDA14u; /* 0x2B098A9D: mov edi, 0x2b0eda14 */ 7611 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; } /* 0x2B098AA2: repne scasb al, byte ptr es:[edi] */ 7612 ecx = ~ecx; /* 0x2B098AA4: not ecx */ 7613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7614 ecx = ecx - 1; /* 0x2B098AA6: dec ecx */ 7615 _flag_k = FK_DEC; 7616 PUSH32(esp, ecx); /* 0x2B098AA7: push ecx */ 7617 PUSH32(esp, 0x2B0EDA14u); /* 0x2B098AA8: push 0x2b0eda14 */ 7618 ecx = ebp + (-0x24); /* 0x2B098AAD: lea ecx, [ebp - 0x24] */ 7619 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098AB0: call dword ptr [0x2b0b5148] */ 7620 RECOMP_FLAGS_IN(); 7621 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098AB6: mov dl, byte ptr [ebp + 0xb] */ 7622 PUSH32(esp, 0); /* 0x2B098AB9: push 0 */ 7623 ecx = ebp + (-0x34); /* 0x2B098ABB: lea ecx, [ebp - 0x34] */ 7624 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Au); /* 0x2B098ABE: mov byte ptr [ebp - 4], 0x3a */ 7625 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098AC2: mov byte ptr [ebp - 0x34], dl */ 7626 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098AC5: call dword ptr [0x2b0b514c] */ 7627 RECOMP_FLAGS_IN(); 7628 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7629 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098ACB: or ecx, 0xffffffff */ 7630 _cf = 0; 7631 _flag_k = FK_TEST; 7632 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7633 eax = 0; /* 0x2B098ACE: xor eax, eax */ 7634 _cf = 0; 7635 _flag_k = FK_TEST; 7636 edi = 0x2B0EDDB4u; /* 0x2B098AD0: mov edi, 0x2b0eddb4 */ 7637 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; } /* 0x2B098AD5: repne scasb al, byte ptr es:[edi] */ 7638 ecx = ~ecx; /* 0x2B098AD7: not ecx */ 7639 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7640 ecx = ecx - 1; /* 0x2B098AD9: dec ecx */ 7641 _flag_k = FK_DEC; 7642 PUSH32(esp, ecx); /* 0x2B098ADA: push ecx */ 7643 PUSH32(esp, 0x2B0EDDB4u); /* 0x2B098ADB: push 0x2b0eddb4 */ 7644 ecx = ebp + (-0x34); /* 0x2B098AE0: lea ecx, [ebp - 0x34] */ 7645 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098AE3: call dword ptr [0x2b0b5148] */ 7646 RECOMP_FLAGS_IN(); 7647 eax = ebp + (-0x34); /* 0x2B098AE9: lea eax, [ebp - 0x34] */ 7648 PUSH32(esp, eax); /* 0x2B098AEC: push eax */ 7649 ecx = ebp + (-0x58); /* 0x2B098AED: lea ecx, [ebp - 0x58] */ 7650 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Bu); /* 0x2B098AF0: mov byte ptr [ebp - 4], 0x3b */ 7651 MEM32(ebp + (-0x5C)) = 0x20u; /* 0x2B098AF4: mov dword ptr [ebp - 0x5c], 0x20 */ 7652 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098AFB: call dword ptr [0x2b0b5164] */ 7653 RECOMP_FLAGS_IN(); 7654 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Cu); /* 0x2B098B01: mov byte ptr [ebp - 4], 0x3c */ 7655 ecx = ebp + (-0x24); /* 0x2B098B05: lea ecx, [ebp - 0x24] */ 7656 PUSH32(esp, ecx); /* 0x2B098B08: push ecx */ 7657 ecx = ebp + (-0x48); /* 0x2B098B09: lea ecx, [ebp - 0x48] */ 7658 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098B0C: call dword ptr [0x2b0b5164] */ 7659 RECOMP_FLAGS_IN(); 7660 eax = MEM32(ebx + 0x4); /* 0x2B098B12: mov eax, dword ptr [ebx + 4] */ 7661 edx = ebp + (-0x5C); /* 0x2B098B15: lea edx, [ebp - 0x5c] */ 7662 PUSH32(esp, edx); /* 0x2B098B18: push edx */ 7663 PUSH32(esp, eax); /* 0x2B098B19: push eax */ 7664 eax = ebp + 0x8; /* 0x2B098B1A: lea eax, [ebp + 8] */ 7665 PUSH32(esp, eax); /* 0x2B098B1D: push eax */ 7666 ecx = ebx; /* 0x2B098B1E: mov ecx, ebx */ 7667 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Du); /* 0x2B098B20: mov byte ptr [ebp - 4], 0x3d */ 7668 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098B24: call 0x2b09b3d0 */ /* not lifted */ 7669 RECOMP_FLAGS_IN(); 7670 PUSH32(esp, 1); /* 0x2B098B29: push 1 */ 7671 ecx = ebp + (-0x48); /* 0x2B098B2B: lea ecx, [ebp - 0x48] */ 7672 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Eu); /* 0x2B098B2E: mov byte ptr [ebp - 4], 0x3e */ 7673 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098B32: call dword ptr [0x2b0b514c] */ 7674 RECOMP_FLAGS_IN(); 7675 PUSH32(esp, 1); /* 0x2B098B38: push 1 */ 7676 ecx = ebp + (-0x58); /* 0x2B098B3A: lea ecx, [ebp - 0x58] */ 7677 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Bu); /* 0x2B098B3D: mov byte ptr [ebp - 4], 0x3b */ 7678 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098B41: call dword ptr [0x2b0b514c] */ 7679 RECOMP_FLAGS_IN(); 7680 PUSH32(esp, 1); /* 0x2B098B47: push 1 */ 7681 ecx = ebp + (-0x34); /* 0x2B098B49: lea ecx, [ebp - 0x34] */ 7682 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Au); /* 0x2B098B4C: mov byte ptr [ebp - 4], 0x3a */ 7683 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098B50: call dword ptr [0x2b0b514c] */ 7684 RECOMP_FLAGS_IN(); 7685 PUSH32(esp, 1); /* 0x2B098B56: push 1 */ 7686 ecx = ebp + (-0x24); /* 0x2B098B58: lea ecx, [ebp - 0x24] */ 7687 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098B5B: mov byte ptr [ebp - 4], 2 */ 7688 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098B5F: call dword ptr [0x2b0b514c] */ 7689 RECOMP_FLAGS_IN(); 7690 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098B65: mov cl, byte ptr [ebp + 0xb] */ 7691 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098B68: mov byte ptr [ebp - 0x24], cl */ 7692 PUSH32(esp, 0); /* 0x2B098B6B: push 0 */ 7693 ecx = ebp + (-0x24); /* 0x2B098B6D: lea ecx, [ebp - 0x24] */ 7694 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098B70: call dword ptr [0x2b0b514c] */ 7695 RECOMP_FLAGS_IN(); 7696 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7697 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098B76: or ecx, 0xffffffff */ 7698 _cf = 0; 7699 _flag_k = FK_TEST; 7700 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7701 eax = 0; /* 0x2B098B79: xor eax, eax */ 7702 _cf = 0; 7703 _flag_k = FK_TEST; 7704 edi = 0x2B0ED9E4u; /* 0x2B098B7B: mov edi, 0x2b0ed9e4 */ 7705 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; } /* 0x2B098B80: repne scasb al, byte ptr es:[edi] */ 7706 ecx = ~ecx; /* 0x2B098B82: not ecx */ 7707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7708 ecx = ecx - 1; /* 0x2B098B84: dec ecx */ 7709 _flag_k = FK_DEC; 7710 PUSH32(esp, ecx); /* 0x2B098B85: push ecx */ 7711 PUSH32(esp, 0x2B0ED9E4u); /* 0x2B098B86: push 0x2b0ed9e4 */ 7712 ecx = ebp + (-0x24); /* 0x2B098B8B: lea ecx, [ebp - 0x24] */ 7713 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098B8E: call dword ptr [0x2b0b5148] */ 7714 RECOMP_FLAGS_IN(); 7715 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098B94: mov dl, byte ptr [ebp + 0xb] */ 7716 PUSH32(esp, 0); /* 0x2B098B97: push 0 */ 7717 ecx = ebp + (-0x34); /* 0x2B098B99: lea ecx, [ebp - 0x34] */ 7718 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Fu); /* 0x2B098B9C: mov byte ptr [ebp - 4], 0x3f */ 7719 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098BA0: mov byte ptr [ebp - 0x34], dl */ 7720 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098BA3: call dword ptr [0x2b0b514c] */ 7721 RECOMP_FLAGS_IN(); 7722 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7723 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098BA9: or ecx, 0xffffffff */ 7724 _cf = 0; 7725 _flag_k = FK_TEST; 7726 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7727 eax = 0; /* 0x2B098BAC: xor eax, eax */ 7728 _cf = 0; 7729 _flag_k = FK_TEST; 7730 edi = 0x2B0EDCA4u; /* 0x2B098BAE: mov edi, 0x2b0edca4 */ 7731 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; } /* 0x2B098BB3: repne scasb al, byte ptr es:[edi] */ 7732 ecx = ~ecx; /* 0x2B098BB5: not ecx */ 7733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7734 ecx = ecx - 1; /* 0x2B098BB7: dec ecx */ 7735 _flag_k = FK_DEC; 7736 PUSH32(esp, ecx); /* 0x2B098BB8: push ecx */ 7737 PUSH32(esp, 0x2B0EDCA4u); /* 0x2B098BB9: push 0x2b0edca4 */ 7738 ecx = ebp + (-0x34); /* 0x2B098BBE: lea ecx, [ebp - 0x34] */ 7739 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098BC1: call dword ptr [0x2b0b5148] */ 7740 RECOMP_FLAGS_IN(); 7741 eax = ebp + (-0x34); /* 0x2B098BC7: lea eax, [ebp - 0x34] */ 7742 PUSH32(esp, eax); /* 0x2B098BCA: push eax */ 7743 ecx = ebp + (-0x58); /* 0x2B098BCB: lea ecx, [ebp - 0x58] */ 7744 MEM8(ebp + (-0x4)) = (uint8_t)(0x40u); /* 0x2B098BCE: mov byte ptr [ebp - 4], 0x40 */ 7745 MEM32(ebp + (-0x5C)) = 0x1000u; /* 0x2B098BD2: mov dword ptr [ebp - 0x5c], 0x1000 */ 7746 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098BD9: call dword ptr [0x2b0b5164] */ 7747 RECOMP_FLAGS_IN(); 7748 ecx = ebp + (-0x24); /* 0x2B098BDF: lea ecx, [ebp - 0x24] */ 7749 PUSH32(esp, ecx); /* 0x2B098BE2: push ecx */ 7750 ecx = ebp + (-0x48); /* 0x2B098BE3: lea ecx, [ebp - 0x48] */ 7751 MEM8(ebp + (-0x4)) = (uint8_t)(0x41u); /* 0x2B098BE6: mov byte ptr [ebp - 4], 0x41 */ 7752 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098BEA: call dword ptr [0x2b0b5164] */ 7753 RECOMP_FLAGS_IN(); 7754 eax = MEM32(ebx + 0x4); /* 0x2B098BF0: mov eax, dword ptr [ebx + 4] */ 7755 edx = ebp + (-0x5C); /* 0x2B098BF3: lea edx, [ebp - 0x5c] */ 7756 MEM8(ebp + (-0x4)) = (uint8_t)(0x42u); /* 0x2B098BF6: mov byte ptr [ebp - 4], 0x42 */ 7757 PUSH32(esp, edx); /* 0x2B098BFA: push edx */ 7758 PUSH32(esp, eax); /* 0x2B098BFB: push eax */ 7759 eax = ebp + 0x8; /* 0x2B098BFC: lea eax, [ebp + 8] */ 7760 PUSH32(esp, eax); /* 0x2B098BFF: push eax */ 7761 ecx = ebx; /* 0x2B098C00: mov ecx, ebx */ 7762 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098C02: call 0x2b09b3d0 */ /* not lifted */ 7763 RECOMP_FLAGS_IN(); 7764 PUSH32(esp, 1); /* 0x2B098C07: push 1 */ 7765 ecx = ebp + (-0x48); /* 0x2B098C09: lea ecx, [ebp - 0x48] */ 7766 MEM8(ebp + (-0x4)) = (uint8_t)(0x43u); /* 0x2B098C0C: mov byte ptr [ebp - 4], 0x43 */ 7767 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C10: call dword ptr [0x2b0b514c] */ 7768 RECOMP_FLAGS_IN(); 7769 PUSH32(esp, 1); /* 0x2B098C16: push 1 */ 7770 ecx = ebp + (-0x58); /* 0x2B098C18: lea ecx, [ebp - 0x58] */ 7771 MEM8(ebp + (-0x4)) = (uint8_t)(0x40u); /* 0x2B098C1B: mov byte ptr [ebp - 4], 0x40 */ 7772 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C1F: call dword ptr [0x2b0b514c] */ 7773 RECOMP_FLAGS_IN(); 7774 PUSH32(esp, 1); /* 0x2B098C25: push 1 */ 7775 ecx = ebp + (-0x34); /* 0x2B098C27: lea ecx, [ebp - 0x34] */ 7776 MEM8(ebp + (-0x4)) = (uint8_t)(0x3Fu); /* 0x2B098C2A: mov byte ptr [ebp - 4], 0x3f */ 7777 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C2E: call dword ptr [0x2b0b514c] */ 7778 RECOMP_FLAGS_IN(); 7779 PUSH32(esp, 1); /* 0x2B098C34: push 1 */ 7780 ecx = ebp + (-0x24); /* 0x2B098C36: lea ecx, [ebp - 0x24] */ 7781 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098C39: mov byte ptr [ebp - 4], 2 */ 7782 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C3D: call dword ptr [0x2b0b514c] */ 7783 RECOMP_FLAGS_IN(); 7784 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098C43: mov cl, byte ptr [ebp + 0xb] */ 7785 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098C46: mov byte ptr [ebp - 0x24], cl */ 7786 PUSH32(esp, 0); /* 0x2B098C49: push 0 */ 7787 ecx = ebp + (-0x24); /* 0x2B098C4B: lea ecx, [ebp - 0x24] */ 7788 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C4E: call dword ptr [0x2b0b514c] */ 7789 RECOMP_FLAGS_IN(); 7790 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7791 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098C54: or ecx, 0xffffffff */ 7792 _cf = 0; 7793 _flag_k = FK_TEST; 7794 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7795 eax = 0; /* 0x2B098C57: xor eax, eax */ 7796 _cf = 0; 7797 _flag_k = FK_TEST; 7798 edi = 0x2B0ED9BCu; /* 0x2B098C59: mov edi, 0x2b0ed9bc */ 7799 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; } /* 0x2B098C5E: repne scasb al, byte ptr es:[edi] */ 7800 ecx = ~ecx; /* 0x2B098C60: not ecx */ 7801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7802 ecx = ecx - 1; /* 0x2B098C62: dec ecx */ 7803 _flag_k = FK_DEC; 7804 PUSH32(esp, ecx); /* 0x2B098C63: push ecx */ 7805 PUSH32(esp, 0x2B0ED9BCu); /* 0x2B098C64: push 0x2b0ed9bc */ 7806 ecx = ebp + (-0x24); /* 0x2B098C69: lea ecx, [ebp - 0x24] */ 7807 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098C6C: call dword ptr [0x2b0b5148] */ 7808 RECOMP_FLAGS_IN(); 7809 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098C72: mov dl, byte ptr [ebp + 0xb] */ 7810 PUSH32(esp, 0); /* 0x2B098C75: push 0 */ 7811 ecx = ebp + (-0x34); /* 0x2B098C77: lea ecx, [ebp - 0x34] */ 7812 MEM8(ebp + (-0x4)) = (uint8_t)(0x44u); /* 0x2B098C7A: mov byte ptr [ebp - 4], 0x44 */ 7813 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098C7E: mov byte ptr [ebp - 0x34], dl */ 7814 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098C81: call dword ptr [0x2b0b514c] */ 7815 RECOMP_FLAGS_IN(); 7816 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7817 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098C87: or ecx, 0xffffffff */ 7818 _cf = 0; 7819 _flag_k = FK_TEST; 7820 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7821 eax = 0; /* 0x2B098C8A: xor eax, eax */ 7822 _cf = 0; 7823 _flag_k = FK_TEST; 7824 edi = 0x2B0EDC44u; /* 0x2B098C8C: mov edi, 0x2b0edc44 */ 7825 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; } /* 0x2B098C91: repne scasb al, byte ptr es:[edi] */ 7826 ecx = ~ecx; /* 0x2B098C93: not ecx */ 7827 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7828 ecx = ecx - 1; /* 0x2B098C95: dec ecx */ 7829 _flag_k = FK_DEC; 7830 PUSH32(esp, ecx); /* 0x2B098C96: push ecx */ 7831 PUSH32(esp, 0x2B0EDC44u); /* 0x2B098C97: push 0x2b0edc44 */ 7832 ecx = ebp + (-0x34); /* 0x2B098C9C: lea ecx, [ebp - 0x34] */ 7833 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098C9F: call dword ptr [0x2b0b5148] */ 7834 RECOMP_FLAGS_IN(); 7835 eax = ebp + (-0x34); /* 0x2B098CA5: lea eax, [ebp - 0x34] */ 7836 PUSH32(esp, eax); /* 0x2B098CA8: push eax */ 7837 ecx = ebp + (-0x58); /* 0x2B098CA9: lea ecx, [ebp - 0x58] */ 7838 MEM8(ebp + (-0x4)) = (uint8_t)(0x45u); /* 0x2B098CAC: mov byte ptr [ebp - 4], 0x45 */ 7839 MEM32(ebp + (-0x5C)) = 0x00400000u; /* 0x2B098CB0: mov dword ptr [ebp - 0x5c], 0x400000 */ 7840 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098CB7: call dword ptr [0x2b0b5164] */ 7841 RECOMP_FLAGS_IN(); 7842 ecx = ebp + (-0x24); /* 0x2B098CBD: lea ecx, [ebp - 0x24] */ 7843 PUSH32(esp, ecx); /* 0x2B098CC0: push ecx */ 7844 ecx = ebp + (-0x48); /* 0x2B098CC1: lea ecx, [ebp - 0x48] */ 7845 MEM8(ebp + (-0x4)) = (uint8_t)(0x46u); /* 0x2B098CC4: mov byte ptr [ebp - 4], 0x46 */ 7846 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098CC8: call dword ptr [0x2b0b5164] */ 7847 RECOMP_FLAGS_IN(); 7848 eax = MEM32(ebx + 0x4); /* 0x2B098CCE: mov eax, dword ptr [ebx + 4] */ 7849 edx = ebp + (-0x5C); /* 0x2B098CD1: lea edx, [ebp - 0x5c] */ 7850 PUSH32(esp, edx); /* 0x2B098CD4: push edx */ 7851 PUSH32(esp, eax); /* 0x2B098CD5: push eax */ 7852 eax = ebp + 0x8; /* 0x2B098CD6: lea eax, [ebp + 8] */ 7853 PUSH32(esp, eax); /* 0x2B098CD9: push eax */ 7854 ecx = ebx; /* 0x2B098CDA: mov ecx, ebx */ 7855 MEM8(ebp + (-0x4)) = (uint8_t)(0x47u); /* 0x2B098CDC: mov byte ptr [ebp - 4], 0x47 */ 7856 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098CE0: call 0x2b09b3d0 */ /* not lifted */ 7857 RECOMP_FLAGS_IN(); 7858 MEM8(ebp + (-0x4)) = (uint8_t)(0x48u); /* 0x2B098CE5: mov byte ptr [ebp - 4], 0x48 */ 7859 PUSH32(esp, 1); /* 0x2B098CE9: push 1 */ 7860 ecx = ebp + (-0x48); /* 0x2B098CEB: lea ecx, [ebp - 0x48] */ 7861 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098CEE: call dword ptr [0x2b0b514c] */ 7862 RECOMP_FLAGS_IN(); 7863 PUSH32(esp, 1); /* 0x2B098CF4: push 1 */ 7864 ecx = ebp + (-0x58); /* 0x2B098CF6: lea ecx, [ebp - 0x58] */ 7865 MEM8(ebp + (-0x4)) = (uint8_t)(0x45u); /* 0x2B098CF9: mov byte ptr [ebp - 4], 0x45 */ 7866 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098CFD: call dword ptr [0x2b0b514c] */ 7867 RECOMP_FLAGS_IN(); 7868 PUSH32(esp, 1); /* 0x2B098D03: push 1 */ 7869 ecx = ebp + (-0x34); /* 0x2B098D05: lea ecx, [ebp - 0x34] */ 7870 MEM8(ebp + (-0x4)) = (uint8_t)(0x44u); /* 0x2B098D08: mov byte ptr [ebp - 4], 0x44 */ 7871 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098D0C: call dword ptr [0x2b0b514c] */ 7872 RECOMP_FLAGS_IN(); 7873 PUSH32(esp, 1); /* 0x2B098D12: push 1 */ 7874 ecx = ebp + (-0x24); /* 0x2B098D14: lea ecx, [ebp - 0x24] */ 7875 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098D17: mov byte ptr [ebp - 4], 2 */ 7876 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098D1B: call dword ptr [0x2b0b514c] */ 7877 RECOMP_FLAGS_IN(); 7878 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098D21: mov cl, byte ptr [ebp + 0xb] */ 7879 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098D24: mov byte ptr [ebp - 0x24], cl */ 7880 PUSH32(esp, 0); /* 0x2B098D27: push 0 */ 7881 ecx = ebp + (-0x24); /* 0x2B098D29: lea ecx, [ebp - 0x24] */ 7882 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098D2C: call dword ptr [0x2b0b514c] */ 7883 RECOMP_FLAGS_IN(); 7884 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7885 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098D32: or ecx, 0xffffffff */ 7886 _cf = 0; 7887 _flag_k = FK_TEST; 7888 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7889 eax = 0; /* 0x2B098D35: xor eax, eax */ 7890 _cf = 0; 7891 _flag_k = FK_TEST; 7892 edi = 0x2B0ED988u; /* 0x2B098D37: mov edi, 0x2b0ed988 */ 7893 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; } /* 0x2B098D3C: repne scasb al, byte ptr es:[edi] */ 7894 ecx = ~ecx; /* 0x2B098D3E: not ecx */ 7895 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7896 ecx = ecx - 1; /* 0x2B098D40: dec ecx */ 7897 _flag_k = FK_DEC; 7898 PUSH32(esp, ecx); /* 0x2B098D41: push ecx */ 7899 PUSH32(esp, 0x2B0ED988u); /* 0x2B098D42: push 0x2b0ed988 */ 7900 ecx = ebp + (-0x24); /* 0x2B098D47: lea ecx, [ebp - 0x24] */ 7901 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098D4A: call dword ptr [0x2b0b5148] */ 7902 RECOMP_FLAGS_IN(); 7903 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098D50: mov dl, byte ptr [ebp + 0xb] */ 7904 PUSH32(esp, 0); /* 0x2B098D53: push 0 */ 7905 ecx = ebp + (-0x34); /* 0x2B098D55: lea ecx, [ebp - 0x34] */ 7906 MEM8(ebp + (-0x4)) = (uint8_t)(0x49u); /* 0x2B098D58: mov byte ptr [ebp - 4], 0x49 */ 7907 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098D5C: mov byte ptr [ebp - 0x34], dl */ 7908 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098D5F: call dword ptr [0x2b0b514c] */ 7909 RECOMP_FLAGS_IN(); 7910 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7911 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098D65: or ecx, 0xffffffff */ 7912 _cf = 0; 7913 _flag_k = FK_TEST; 7914 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7915 eax = 0; /* 0x2B098D68: xor eax, eax */ 7916 _cf = 0; 7917 _flag_k = FK_TEST; 7918 edi = 0x2B0ED964u; /* 0x2B098D6A: mov edi, 0x2b0ed964 */ 7919 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; } /* 0x2B098D6F: repne scasb al, byte ptr es:[edi] */ 7920 ecx = ~ecx; /* 0x2B098D71: not ecx */ 7921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7922 ecx = ecx - 1; /* 0x2B098D73: dec ecx */ 7923 _flag_k = FK_DEC; 7924 PUSH32(esp, ecx); /* 0x2B098D74: push ecx */ 7925 PUSH32(esp, 0x2B0ED964u); /* 0x2B098D75: push 0x2b0ed964 */ 7926 ecx = ebp + (-0x34); /* 0x2B098D7A: lea ecx, [ebp - 0x34] */ 7927 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098D7D: call dword ptr [0x2b0b5148] */ 7928 RECOMP_FLAGS_IN(); 7929 eax = ebp + (-0x34); /* 0x2B098D83: lea eax, [ebp - 0x34] */ 7930 PUSH32(esp, eax); /* 0x2B098D86: push eax */ 7931 ecx = ebp + (-0x58); /* 0x2B098D87: lea ecx, [ebp - 0x58] */ 7932 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Au); /* 0x2B098D8A: mov byte ptr [ebp - 4], 0x4a */ 7933 MEM32(ebp + (-0x5C)) = 0x100u; /* 0x2B098D8E: mov dword ptr [ebp - 0x5c], 0x100 */ 7934 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098D95: call dword ptr [0x2b0b5164] */ 7935 RECOMP_FLAGS_IN(); 7936 ecx = ebp + (-0x24); /* 0x2B098D9B: lea ecx, [ebp - 0x24] */ 7937 PUSH32(esp, ecx); /* 0x2B098D9E: push ecx */ 7938 ecx = ebp + (-0x48); /* 0x2B098D9F: lea ecx, [ebp - 0x48] */ 7939 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Bu); /* 0x2B098DA2: mov byte ptr [ebp - 4], 0x4b */ 7940 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098DA6: call dword ptr [0x2b0b5164] */ 7941 RECOMP_FLAGS_IN(); 7942 eax = MEM32(ebx + 0x4); /* 0x2B098DAC: mov eax, dword ptr [ebx + 4] */ 7943 edx = ebp + (-0x5C); /* 0x2B098DAF: lea edx, [ebp - 0x5c] */ 7944 PUSH32(esp, edx); /* 0x2B098DB2: push edx */ 7945 PUSH32(esp, eax); /* 0x2B098DB3: push eax */ 7946 eax = ebp + 0x8; /* 0x2B098DB4: lea eax, [ebp + 8] */ 7947 PUSH32(esp, eax); /* 0x2B098DB7: push eax */ 7948 ecx = ebx; /* 0x2B098DB8: mov ecx, ebx */ 7949 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Cu); /* 0x2B098DBA: mov byte ptr [ebp - 4], 0x4c */ 7950 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098DBE: call 0x2b09b3d0 */ /* not lifted */ 7951 RECOMP_FLAGS_IN(); 7952 PUSH32(esp, 1); /* 0x2B098DC3: push 1 */ 7953 ecx = ebp + (-0x48); /* 0x2B098DC5: lea ecx, [ebp - 0x48] */ 7954 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Du); /* 0x2B098DC8: mov byte ptr [ebp - 4], 0x4d */ 7955 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098DCC: call dword ptr [0x2b0b514c] */ 7956 RECOMP_FLAGS_IN(); 7957 PUSH32(esp, 1); /* 0x2B098DD2: push 1 */ 7958 ecx = ebp + (-0x58); /* 0x2B098DD4: lea ecx, [ebp - 0x58] */ 7959 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Au); /* 0x2B098DD7: mov byte ptr [ebp - 4], 0x4a */ 7960 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098DDB: call dword ptr [0x2b0b514c] */ 7961 RECOMP_FLAGS_IN(); 7962 PUSH32(esp, 1); /* 0x2B098DE1: push 1 */ 7963 ecx = ebp + (-0x34); /* 0x2B098DE3: lea ecx, [ebp - 0x34] */ 7964 MEM8(ebp + (-0x4)) = (uint8_t)(0x49u); /* 0x2B098DE6: mov byte ptr [ebp - 4], 0x49 */ 7965 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098DEA: call dword ptr [0x2b0b514c] */ 7966 RECOMP_FLAGS_IN(); 7967 PUSH32(esp, 1); /* 0x2B098DF0: push 1 */ 7968 ecx = ebp + (-0x24); /* 0x2B098DF2: lea ecx, [ebp - 0x24] */ 7969 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098DF5: mov byte ptr [ebp - 4], 2 */ 7970 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098DF9: call dword ptr [0x2b0b514c] */ 7971 RECOMP_FLAGS_IN(); 7972 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098DFF: mov cl, byte ptr [ebp + 0xb] */ 7973 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098E02: mov byte ptr [ebp - 0x24], cl */ 7974 PUSH32(esp, 0); /* 0x2B098E05: push 0 */ 7975 ecx = ebp + (-0x24); /* 0x2B098E07: lea ecx, [ebp - 0x24] */ 7976 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098E0A: call dword ptr [0x2b0b514c] */ 7977 RECOMP_FLAGS_IN(); 7978 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7979 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098E10: or ecx, 0xffffffff */ 7980 _cf = 0; 7981 _flag_k = FK_TEST; 7982 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7983 eax = 0; /* 0x2B098E13: xor eax, eax */ 7984 _cf = 0; 7985 _flag_k = FK_TEST; 7986 edi = 0x2B0ED934u; /* 0x2B098E15: mov edi, 0x2b0ed934 */ 7987 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; } /* 0x2B098E1A: repne scasb al, byte ptr es:[edi] */ 7988 ecx = ~ecx; /* 0x2B098E1C: not ecx */ 7989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7990 ecx = ecx - 1; /* 0x2B098E1E: dec ecx */ 7991 _flag_k = FK_DEC; 7992 PUSH32(esp, ecx); /* 0x2B098E1F: push ecx */ 7993 PUSH32(esp, 0x2B0ED934u); /* 0x2B098E20: push 0x2b0ed934 */ 7994 ecx = ebp + (-0x24); /* 0x2B098E25: lea ecx, [ebp - 0x24] */ 7995 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098E28: call dword ptr [0x2b0b5148] */ 7996 RECOMP_FLAGS_IN(); 7997 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098E2E: mov dl, byte ptr [ebp + 0xb] */ 7998 PUSH32(esp, 0); /* 0x2B098E31: push 0 */ 7999 ecx = ebp + (-0x34); /* 0x2B098E33: lea ecx, [ebp - 0x34] */ 8000 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Eu); /* 0x2B098E36: mov byte ptr [ebp - 4], 0x4e */ 8001 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098E3A: mov byte ptr [ebp - 0x34], dl */ 8002 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098E3D: call dword ptr [0x2b0b514c] */ 8003 RECOMP_FLAGS_IN(); 8004 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8005 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098E43: or ecx, 0xffffffff */ 8006 _cf = 0; 8007 _flag_k = FK_TEST; 8008 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8009 eax = 0; /* 0x2B098E46: xor eax, eax */ 8010 _cf = 0; 8011 _flag_k = FK_TEST; 8012 edi = 0x2B0ED908u; /* 0x2B098E48: mov edi, 0x2b0ed908 */ 8013 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; } /* 0x2B098E4D: repne scasb al, byte ptr es:[edi] */ 8014 ecx = ~ecx; /* 0x2B098E4F: not ecx */ 8015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8016 ecx = ecx - 1; /* 0x2B098E51: dec ecx */ 8017 _flag_k = FK_DEC; 8018 PUSH32(esp, ecx); /* 0x2B098E52: push ecx */ 8019 PUSH32(esp, 0x2B0ED908u); /* 0x2B098E53: push 0x2b0ed908 */ 8020 ecx = ebp + (-0x34); /* 0x2B098E58: lea ecx, [ebp - 0x34] */ 8021 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098E5B: call dword ptr [0x2b0b5148] */ 8022 RECOMP_FLAGS_IN(); 8023 eax = ebp + (-0x34); /* 0x2B098E61: lea eax, [ebp - 0x34] */ 8024 PUSH32(esp, eax); /* 0x2B098E64: push eax */ 8025 ecx = ebp + (-0x58); /* 0x2B098E65: lea ecx, [ebp - 0x58] */ 8026 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Fu); /* 0x2B098E68: mov byte ptr [ebp - 4], 0x4f */ 8027 MEM32(ebp + (-0x5C)) = 0x00200000u; /* 0x2B098E6C: mov dword ptr [ebp - 0x5c], 0x200000 */ 8028 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098E73: call dword ptr [0x2b0b5164] */ 8029 RECOMP_FLAGS_IN(); 8030 ecx = ebp + (-0x24); /* 0x2B098E79: lea ecx, [ebp - 0x24] */ 8031 PUSH32(esp, ecx); /* 0x2B098E7C: push ecx */ 8032 ecx = ebp + (-0x48); /* 0x2B098E7D: lea ecx, [ebp - 0x48] */ 8033 MEM8(ebp + (-0x4)) = (uint8_t)(0x50u); /* 0x2B098E80: mov byte ptr [ebp - 4], 0x50 */ 8034 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098E84: call dword ptr [0x2b0b5164] */ 8035 RECOMP_FLAGS_IN(); 8036 eax = MEM32(ebx + 0x4); /* 0x2B098E8A: mov eax, dword ptr [ebx + 4] */ 8037 edx = ebp + (-0x5C); /* 0x2B098E8D: lea edx, [ebp - 0x5c] */ 8038 PUSH32(esp, edx); /* 0x2B098E90: push edx */ 8039 PUSH32(esp, eax); /* 0x2B098E91: push eax */ 8040 eax = ebp + 0x8; /* 0x2B098E92: lea eax, [ebp + 8] */ 8041 PUSH32(esp, eax); /* 0x2B098E95: push eax */ 8042 ecx = ebx; /* 0x2B098E96: mov ecx, ebx */ 8043 MEM8(ebp + (-0x4)) = (uint8_t)(0x51u); /* 0x2B098E98: mov byte ptr [ebp - 4], 0x51 */ 8044 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098E9C: call 0x2b09b3d0 */ /* not lifted */ 8045 RECOMP_FLAGS_IN(); 8046 PUSH32(esp, 1); /* 0x2B098EA1: push 1 */ 8047 ecx = ebp + (-0x48); /* 0x2B098EA3: lea ecx, [ebp - 0x48] */ 8048 MEM8(ebp + (-0x4)) = (uint8_t)(0x52u); /* 0x2B098EA6: mov byte ptr [ebp - 4], 0x52 */ 8049 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098EAA: call dword ptr [0x2b0b514c] */ 8050 RECOMP_FLAGS_IN(); 8051 PUSH32(esp, 1); /* 0x2B098EB0: push 1 */ 8052 ecx = ebp + (-0x58); /* 0x2B098EB2: lea ecx, [ebp - 0x58] */ 8053 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Fu); /* 0x2B098EB5: mov byte ptr [ebp - 4], 0x4f */ 8054 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098EB9: call dword ptr [0x2b0b514c] */ 8055 RECOMP_FLAGS_IN(); 8056 PUSH32(esp, 1); /* 0x2B098EBF: push 1 */ 8057 ecx = ebp + (-0x34); /* 0x2B098EC1: lea ecx, [ebp - 0x34] */ 8058 MEM8(ebp + (-0x4)) = (uint8_t)(0x4Eu); /* 0x2B098EC4: mov byte ptr [ebp - 4], 0x4e */ 8059 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098EC8: call dword ptr [0x2b0b514c] */ 8060 RECOMP_FLAGS_IN(); 8061 PUSH32(esp, 1); /* 0x2B098ECE: push 1 */ 8062 ecx = ebp + (-0x24); /* 0x2B098ED0: lea ecx, [ebp - 0x24] */ 8063 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098ED3: mov byte ptr [ebp - 4], 2 */ 8064 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098ED7: call dword ptr [0x2b0b514c] */ 8065 RECOMP_FLAGS_IN(); 8066 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098EDD: mov cl, byte ptr [ebp + 0xb] */ 8067 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098EE0: mov byte ptr [ebp - 0x24], cl */ 8068 PUSH32(esp, 0); /* 0x2B098EE3: push 0 */ 8069 ecx = ebp + (-0x24); /* 0x2B098EE5: lea ecx, [ebp - 0x24] */ 8070 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098EE8: call dword ptr [0x2b0b514c] */ 8071 RECOMP_FLAGS_IN(); 8072 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8073 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098EEE: or ecx, 0xffffffff */ 8074 _cf = 0; 8075 _flag_k = FK_TEST; 8076 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8077 eax = 0; /* 0x2B098EF1: xor eax, eax */ 8078 _cf = 0; 8079 _flag_k = FK_TEST; 8080 edi = 0x2B0ED8E0u; /* 0x2B098EF3: mov edi, 0x2b0ed8e0 */ 8081 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; } /* 0x2B098EF8: repne scasb al, byte ptr es:[edi] */ 8082 ecx = ~ecx; /* 0x2B098EFA: not ecx */ 8083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8084 ecx = ecx - 1; /* 0x2B098EFC: dec ecx */ 8085 _flag_k = FK_DEC; 8086 PUSH32(esp, ecx); /* 0x2B098EFD: push ecx */ 8087 PUSH32(esp, 0x2B0ED8E0u); /* 0x2B098EFE: push 0x2b0ed8e0 */ 8088 ecx = ebp + (-0x24); /* 0x2B098F03: lea ecx, [ebp - 0x24] */ 8089 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098F06: call dword ptr [0x2b0b5148] */ 8090 RECOMP_FLAGS_IN(); 8091 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098F0C: mov dl, byte ptr [ebp + 0xb] */ 8092 PUSH32(esp, 0); /* 0x2B098F0F: push 0 */ 8093 ecx = ebp + (-0x34); /* 0x2B098F11: lea ecx, [ebp - 0x34] */ 8094 MEM8(ebp + (-0x4)) = (uint8_t)(0x53u); /* 0x2B098F14: mov byte ptr [ebp - 4], 0x53 */ 8095 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098F18: mov byte ptr [ebp - 0x34], dl */ 8096 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098F1B: call dword ptr [0x2b0b514c] */ 8097 RECOMP_FLAGS_IN(); 8098 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8099 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098F21: or ecx, 0xffffffff */ 8100 _cf = 0; 8101 _flag_k = FK_TEST; 8102 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8103 eax = 0; /* 0x2B098F24: xor eax, eax */ 8104 _cf = 0; 8105 _flag_k = FK_TEST; 8106 edi = 0x2B0EDBE8u; /* 0x2B098F26: mov edi, 0x2b0edbe8 */ 8107 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; } /* 0x2B098F2B: repne scasb al, byte ptr es:[edi] */ 8108 ecx = ~ecx; /* 0x2B098F2D: not ecx */ 8109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8110 ecx = ecx - 1; /* 0x2B098F2F: dec ecx */ 8111 _flag_k = FK_DEC; 8112 PUSH32(esp, ecx); /* 0x2B098F30: push ecx */ 8113 PUSH32(esp, 0x2B0EDBE8u); /* 0x2B098F31: push 0x2b0edbe8 */ 8114 ecx = ebp + (-0x34); /* 0x2B098F36: lea ecx, [ebp - 0x34] */ 8115 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098F39: call dword ptr [0x2b0b5148] */ 8116 RECOMP_FLAGS_IN(); 8117 eax = ebp + (-0x34); /* 0x2B098F3F: lea eax, [ebp - 0x34] */ 8118 PUSH32(esp, eax); /* 0x2B098F42: push eax */ 8119 ecx = ebp + (-0x58); /* 0x2B098F43: lea ecx, [ebp - 0x58] */ 8120 MEM8(ebp + (-0x4)) = (uint8_t)(0x54u); /* 0x2B098F46: mov byte ptr [ebp - 4], 0x54 */ 8121 MEM32(ebp + (-0x5C)) = 0x40u; /* 0x2B098F4A: mov dword ptr [ebp - 0x5c], 0x40 */ 8122 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098F51: call dword ptr [0x2b0b5164] */ 8123 RECOMP_FLAGS_IN(); 8124 ecx = ebp + (-0x24); /* 0x2B098F57: lea ecx, [ebp - 0x24] */ 8125 PUSH32(esp, ecx); /* 0x2B098F5A: push ecx */ 8126 ecx = ebp + (-0x48); /* 0x2B098F5B: lea ecx, [ebp - 0x48] */ 8127 MEM8(ebp + (-0x4)) = (uint8_t)(0x55u); /* 0x2B098F5E: mov byte ptr [ebp - 4], 0x55 */ 8128 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B098F62: call dword ptr [0x2b0b5164] */ 8129 RECOMP_FLAGS_IN(); 8130 eax = MEM32(ebx + 0x4); /* 0x2B098F68: mov eax, dword ptr [ebx + 4] */ 8131 edx = ebp + (-0x5C); /* 0x2B098F6B: lea edx, [ebp - 0x5c] */ 8132 PUSH32(esp, edx); /* 0x2B098F6E: push edx */ 8133 PUSH32(esp, eax); /* 0x2B098F6F: push eax */ 8134 eax = ebp + 0x8; /* 0x2B098F70: lea eax, [ebp + 8] */ 8135 PUSH32(esp, eax); /* 0x2B098F73: push eax */ 8136 ecx = ebx; /* 0x2B098F74: mov ecx, ebx */ 8137 MEM8(ebp + (-0x4)) = (uint8_t)(0x56u); /* 0x2B098F76: mov byte ptr [ebp - 4], 0x56 */ 8138 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B098F7A: call 0x2b09b3d0 */ /* not lifted */ 8139 RECOMP_FLAGS_IN(); 8140 PUSH32(esp, 1); /* 0x2B098F7F: push 1 */ 8141 ecx = ebp + (-0x48); /* 0x2B098F81: lea ecx, [ebp - 0x48] */ 8142 MEM8(ebp + (-0x4)) = (uint8_t)(0x57u); /* 0x2B098F84: mov byte ptr [ebp - 4], 0x57 */ 8143 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098F88: call dword ptr [0x2b0b514c] */ 8144 RECOMP_FLAGS_IN(); 8145 PUSH32(esp, 1); /* 0x2B098F8E: push 1 */ 8146 ecx = ebp + (-0x58); /* 0x2B098F90: lea ecx, [ebp - 0x58] */ 8147 MEM8(ebp + (-0x4)) = (uint8_t)(0x54u); /* 0x2B098F93: mov byte ptr [ebp - 4], 0x54 */ 8148 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098F97: call dword ptr [0x2b0b514c] */ 8149 RECOMP_FLAGS_IN(); 8150 PUSH32(esp, 1); /* 0x2B098F9D: push 1 */ 8151 ecx = ebp + (-0x34); /* 0x2B098F9F: lea ecx, [ebp - 0x34] */ 8152 MEM8(ebp + (-0x4)) = (uint8_t)(0x53u); /* 0x2B098FA2: mov byte ptr [ebp - 4], 0x53 */ 8153 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098FA6: call dword ptr [0x2b0b514c] */ 8154 RECOMP_FLAGS_IN(); 8155 PUSH32(esp, 1); /* 0x2B098FAC: push 1 */ 8156 ecx = ebp + (-0x24); /* 0x2B098FAE: lea ecx, [ebp - 0x24] */ 8157 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B098FB1: mov byte ptr [ebp - 4], 2 */ 8158 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098FB5: call dword ptr [0x2b0b514c] */ 8159 RECOMP_FLAGS_IN(); 8160 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B098FBB: mov cl, byte ptr [ebp + 0xb] */ 8161 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B098FBE: mov byte ptr [ebp - 0x24], cl */ 8162 PUSH32(esp, 0); /* 0x2B098FC1: push 0 */ 8163 ecx = ebp + (-0x24); /* 0x2B098FC3: lea ecx, [ebp - 0x24] */ 8164 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098FC6: call dword ptr [0x2b0b514c] */ 8165 RECOMP_FLAGS_IN(); 8166 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8167 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098FCC: or ecx, 0xffffffff */ 8168 _cf = 0; 8169 _flag_k = FK_TEST; 8170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8171 eax = 0; /* 0x2B098FCF: xor eax, eax */ 8172 _cf = 0; 8173 _flag_k = FK_TEST; 8174 edi = 0x2B0ED8ACu; /* 0x2B098FD1: mov edi, 0x2b0ed8ac */ 8175 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; } /* 0x2B098FD6: repne scasb al, byte ptr es:[edi] */ 8176 ecx = ~ecx; /* 0x2B098FD8: not ecx */ 8177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8178 ecx = ecx - 1; /* 0x2B098FDA: dec ecx */ 8179 _flag_k = FK_DEC; 8180 PUSH32(esp, ecx); /* 0x2B098FDB: push ecx */ 8181 PUSH32(esp, 0x2B0ED8ACu); /* 0x2B098FDC: push 0x2b0ed8ac */ 8182 ecx = ebp + (-0x24); /* 0x2B098FE1: lea ecx, [ebp - 0x24] */ 8183 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B098FE4: call dword ptr [0x2b0b5148] */ 8184 RECOMP_FLAGS_IN(); 8185 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B098FEA: mov dl, byte ptr [ebp + 0xb] */ 8186 PUSH32(esp, 0); /* 0x2B098FED: push 0 */ 8187 ecx = ebp + (-0x34); /* 0x2B098FEF: lea ecx, [ebp - 0x34] */ 8188 MEM8(ebp + (-0x4)) = (uint8_t)(0x58u); /* 0x2B098FF2: mov byte ptr [ebp - 4], 0x58 */ 8189 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B098FF6: mov byte ptr [ebp - 0x34], dl */ 8190 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B098FF9: call dword ptr [0x2b0b514c] */ 8191 RECOMP_FLAGS_IN(); 8192 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8193 ecx = ecx | 0xFFFFFFFFu; /* 0x2B098FFF: or ecx, 0xffffffff */ 8194 _cf = 0; 8195 _flag_k = FK_TEST; 8196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8197 eax = 0; /* 0x2B099002: xor eax, eax */ 8198 _cf = 0; 8199 _flag_k = FK_TEST; 8200 edi = 0x2B0ED880u; /* 0x2B099004: mov edi, 0x2b0ed880 */ 8201 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; } /* 0x2B099009: repne scasb al, byte ptr es:[edi] */ 8202 ecx = ~ecx; /* 0x2B09900B: not ecx */ 8203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8204 ecx = ecx - 1; /* 0x2B09900D: dec ecx */ 8205 _flag_k = FK_DEC; 8206 PUSH32(esp, ecx); /* 0x2B09900E: push ecx */ 8207 PUSH32(esp, 0x2B0ED880u); /* 0x2B09900F: push 0x2b0ed880 */ 8208 ecx = ebp + (-0x34); /* 0x2B099014: lea ecx, [ebp - 0x34] */ 8209 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B099017: call dword ptr [0x2b0b5148] */ 8210 RECOMP_FLAGS_IN(); 8211 eax = ebp + (-0x34); /* 0x2B09901D: lea eax, [ebp - 0x34] */ 8212 PUSH32(esp, eax); /* 0x2B099020: push eax */ 8213 ecx = ebp + (-0x58); /* 0x2B099021: lea ecx, [ebp - 0x58] */ 8214 MEM8(ebp + (-0x4)) = (uint8_t)(0x59u); /* 0x2B099024: mov byte ptr [ebp - 4], 0x59 */ 8215 MEM32(ebp + (-0x5C)) = 0x00040000u; /* 0x2B099028: mov dword ptr [ebp - 0x5c], 0x40000 */ 8216 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09902F: call dword ptr [0x2b0b5164] */ 8217 RECOMP_FLAGS_IN(); 8218 ecx = ebp + (-0x24); /* 0x2B099035: lea ecx, [ebp - 0x24] */ 8219 PUSH32(esp, ecx); /* 0x2B099038: push ecx */ 8220 ecx = ebp + (-0x48); /* 0x2B099039: lea ecx, [ebp - 0x48] */ 8221 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Au); /* 0x2B09903C: mov byte ptr [ebp - 4], 0x5a */ 8222 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B099040: call dword ptr [0x2b0b5164] */ 8223 RECOMP_FLAGS_IN(); 8224 eax = MEM32(ebx + 0x4); /* 0x2B099046: mov eax, dword ptr [ebx + 4] */ 8225 edx = ebp + (-0x5C); /* 0x2B099049: lea edx, [ebp - 0x5c] */ 8226 PUSH32(esp, edx); /* 0x2B09904C: push edx */ 8227 PUSH32(esp, eax); /* 0x2B09904D: push eax */ 8228 eax = ebp + 0x8; /* 0x2B09904E: lea eax, [ebp + 8] */ 8229 PUSH32(esp, eax); /* 0x2B099051: push eax */ 8230 ecx = ebx; /* 0x2B099052: mov ecx, ebx */ 8231 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Bu); /* 0x2B099054: mov byte ptr [ebp - 4], 0x5b */ 8232 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B099058: call 0x2b09b3d0 */ /* not lifted */ 8233 RECOMP_FLAGS_IN(); 8234 PUSH32(esp, 1); /* 0x2B09905D: push 1 */ 8235 ecx = ebp + (-0x48); /* 0x2B09905F: lea ecx, [ebp - 0x48] */ 8236 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Cu); /* 0x2B099062: mov byte ptr [ebp - 4], 0x5c */ 8237 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099066: call dword ptr [0x2b0b514c] */ 8238 RECOMP_FLAGS_IN(); 8239 PUSH32(esp, 1); /* 0x2B09906C: push 1 */ 8240 ecx = ebp + (-0x58); /* 0x2B09906E: lea ecx, [ebp - 0x58] */ 8241 MEM8(ebp + (-0x4)) = (uint8_t)(0x59u); /* 0x2B099071: mov byte ptr [ebp - 4], 0x59 */ 8242 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099075: call dword ptr [0x2b0b514c] */ 8243 RECOMP_FLAGS_IN(); 8244 PUSH32(esp, 1); /* 0x2B09907B: push 1 */ 8245 ecx = ebp + (-0x34); /* 0x2B09907D: lea ecx, [ebp - 0x34] */ 8246 MEM8(ebp + (-0x4)) = (uint8_t)(0x58u); /* 0x2B099080: mov byte ptr [ebp - 4], 0x58 */ 8247 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099084: call dword ptr [0x2b0b514c] */ 8248 RECOMP_FLAGS_IN(); 8249 PUSH32(esp, 1); /* 0x2B09908A: push 1 */ 8250 ecx = ebp + (-0x24); /* 0x2B09908C: lea ecx, [ebp - 0x24] */ 8251 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09908F: mov byte ptr [ebp - 4], 2 */ 8252 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099093: call dword ptr [0x2b0b514c] */ 8253 RECOMP_FLAGS_IN(); 8254 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B099099: mov cl, byte ptr [ebp + 0xb] */ 8255 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B09909C: mov byte ptr [ebp - 0x24], cl */ 8256 PUSH32(esp, 0); /* 0x2B09909F: push 0 */ 8257 ecx = ebp + (-0x24); /* 0x2B0990A1: lea ecx, [ebp - 0x24] */ 8258 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0990A4: call dword ptr [0x2b0b514c] */ 8259 RECOMP_FLAGS_IN(); 8260 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8261 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0990AA: or ecx, 0xffffffff */ 8262 _cf = 0; 8263 _flag_k = FK_TEST; 8264 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8265 eax = 0; /* 0x2B0990AD: xor eax, eax */ 8266 _cf = 0; 8267 _flag_k = FK_TEST; 8268 edi = 0x2B0ED84Cu; /* 0x2B0990AF: mov edi, 0x2b0ed84c */ 8269 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; } /* 0x2B0990B4: repne scasb al, byte ptr es:[edi] */ 8270 ecx = ~ecx; /* 0x2B0990B6: not ecx */ 8271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8272 ecx = ecx - 1; /* 0x2B0990B8: dec ecx */ 8273 _flag_k = FK_DEC; 8274 PUSH32(esp, ecx); /* 0x2B0990B9: push ecx */ 8275 PUSH32(esp, 0x2B0ED84Cu); /* 0x2B0990BA: push 0x2b0ed84c */ 8276 ecx = ebp + (-0x24); /* 0x2B0990BF: lea ecx, [ebp - 0x24] */ 8277 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0990C2: call dword ptr [0x2b0b5148] */ 8278 RECOMP_FLAGS_IN(); 8279 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B0990C8: mov dl, byte ptr [ebp + 0xb] */ 8280 PUSH32(esp, 0); /* 0x2B0990CB: push 0 */ 8281 ecx = ebp + (-0x34); /* 0x2B0990CD: lea ecx, [ebp - 0x34] */ 8282 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Du); /* 0x2B0990D0: mov byte ptr [ebp - 4], 0x5d */ 8283 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B0990D4: mov byte ptr [ebp - 0x34], dl */ 8284 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0990D7: call dword ptr [0x2b0b514c] */ 8285 RECOMP_FLAGS_IN(); 8286 edi = 0x2B0ED818u; /* 0x2B0990DD: mov edi, 0x2b0ed818 */ 8287 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8288 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0990E2: or ecx, 0xffffffff */ 8289 _cf = 0; 8290 _flag_k = FK_TEST; 8291 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8292 eax = 0; /* 0x2B0990E5: xor eax, eax */ 8293 _cf = 0; 8294 _flag_k = FK_TEST; 8295 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; } /* 0x2B0990E7: repne scasb al, byte ptr es:[edi] */ 8296 ecx = ~ecx; /* 0x2B0990E9: not ecx */ 8297 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8298 ecx = ecx - 1; /* 0x2B0990EB: dec ecx */ 8299 _flag_k = FK_DEC; 8300 PUSH32(esp, ecx); /* 0x2B0990EC: push ecx */ 8301 PUSH32(esp, 0x2B0ED818u); /* 0x2B0990ED: push 0x2b0ed818 */ 8302 ecx = ebp + (-0x34); /* 0x2B0990F2: lea ecx, [ebp - 0x34] */ 8303 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0990F5: call dword ptr [0x2b0b5148] */ 8304 RECOMP_FLAGS_IN(); 8305 eax = ebp + (-0x34); /* 0x2B0990FB: lea eax, [ebp - 0x34] */ 8306 PUSH32(esp, eax); /* 0x2B0990FE: push eax */ 8307 ecx = ebp + (-0x58); /* 0x2B0990FF: lea ecx, [ebp - 0x58] */ 8308 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Eu); /* 0x2B099102: mov byte ptr [ebp - 4], 0x5e */ 8309 MEM32(ebp + (-0x5C)) = 0x4000u; /* 0x2B099106: mov dword ptr [ebp - 0x5c], 0x4000 */ 8310 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09910D: call dword ptr [0x2b0b5164] */ 8311 RECOMP_FLAGS_IN(); 8312 ecx = ebp + (-0x24); /* 0x2B099113: lea ecx, [ebp - 0x24] */ 8313 PUSH32(esp, ecx); /* 0x2B099116: push ecx */ 8314 ecx = ebp + (-0x48); /* 0x2B099117: lea ecx, [ebp - 0x48] */ 8315 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Fu); /* 0x2B09911A: mov byte ptr [ebp - 4], 0x5f */ 8316 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B09911E: call dword ptr [0x2b0b5164] */ 8317 RECOMP_FLAGS_IN(); 8318 eax = MEM32(ebx + 0x4); /* 0x2B099124: mov eax, dword ptr [ebx + 4] */ 8319 edx = ebp + (-0x5C); /* 0x2B099127: lea edx, [ebp - 0x5c] */ 8320 PUSH32(esp, edx); /* 0x2B09912A: push edx */ 8321 PUSH32(esp, eax); /* 0x2B09912B: push eax */ 8322 eax = ebp + 0x8; /* 0x2B09912C: lea eax, [ebp + 8] */ 8323 PUSH32(esp, eax); /* 0x2B09912F: push eax */ 8324 ecx = ebx; /* 0x2B099130: mov ecx, ebx */ 8325 MEM8(ebp + (-0x4)) = (uint8_t)(0x60u); /* 0x2B099132: mov byte ptr [ebp - 4], 0x60 */ 8326 RECOMP_ICALL(0x2B09B3D0u); /* 0x2B099136: call 0x2b09b3d0 */ /* not lifted */ 8327 RECOMP_FLAGS_IN(); 8328 PUSH32(esp, 1); /* 0x2B09913B: push 1 */ 8329 ecx = ebp + (-0x48); /* 0x2B09913D: lea ecx, [ebp - 0x48] */ 8330 MEM8(ebp + (-0x4)) = (uint8_t)(0x61u); /* 0x2B099140: mov byte ptr [ebp - 4], 0x61 */ 8331 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099144: call dword ptr [0x2b0b514c] */ 8332 RECOMP_FLAGS_IN(); 8333 PUSH32(esp, 1); /* 0x2B09914A: push 1 */ 8334 ecx = ebp + (-0x58); /* 0x2B09914C: lea ecx, [ebp - 0x58] */ 8335 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Eu); /* 0x2B09914F: mov byte ptr [ebp - 4], 0x5e */ 8336 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099153: call dword ptr [0x2b0b514c] */ 8337 RECOMP_FLAGS_IN(); 8338 PUSH32(esp, 1); /* 0x2B099159: push 1 */ 8339 ecx = ebp + (-0x34); /* 0x2B09915B: lea ecx, [ebp - 0x34] */ 8340 MEM8(ebp + (-0x4)) = (uint8_t)(0x5Du); /* 0x2B09915E: mov byte ptr [ebp - 4], 0x5d */ 8341 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099162: call dword ptr [0x2b0b514c] */ 8342 RECOMP_FLAGS_IN(); 8343 PUSH32(esp, 1); /* 0x2B099168: push 1 */ 8344 ecx = ebp + (-0x24); /* 0x2B09916A: lea ecx, [ebp - 0x24] */ 8345 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09916D: mov byte ptr [ebp - 4], 2 */ 8346 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099171: call dword ptr [0x2b0b514c] */ 8347 RECOMP_FLAGS_IN(); 8348 ecx = ebp + 0xB; /* 0x2B099177: lea ecx, [ebp + 0xb] */ 8349 PUSH32(esp, ecx); /* 0x2B09917A: push ecx */ 8350 PUSH32(esp, 0x2B0ED7ECu); /* 0x2B09917B: push 0x2b0ed7ec */ 8351 ecx = ebp + (-0x24); /* 0x2B099180: lea ecx, [ebp - 0x24] */ 8352 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099183: call dword ptr [0x2b0b5040] */ 8353 RECOMP_FLAGS_IN(); 8354 edx = ebp + (-0xD); /* 0x2B099189: lea edx, [ebp - 0xd] */ 8355 PUSH32(esp, edx); /* 0x2B09918C: push edx */ 8356 PUSH32(esp, 0x2B0ED7B8u); /* 0x2B09918D: push 0x2b0ed7b8 */ 8357 ecx = ebp + (-0x34); /* 0x2B099192: lea ecx, [ebp - 0x34] */ 8358 MEM8(ebp + (-0x4)) = (uint8_t)(0x62u); /* 0x2B099195: mov byte ptr [ebp - 4], 0x62 */ 8359 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099199: call dword ptr [0x2b0b5040] */ 8360 RECOMP_FLAGS_IN(); 8361 eax = ebp + (-0x24); /* 0x2B09919F: lea eax, [ebp - 0x24] */ 8362 PUSH32(esp, eax); /* 0x2B0991A2: push eax */ 8363 ecx = ebp + (-0x34); /* 0x2B0991A3: lea ecx, [ebp - 0x34] */ 8364 PUSH32(esp, ecx); /* 0x2B0991A6: push ecx */ 8365 PUSH32(esp, 4); /* 0x2B0991A7: push 4 */ 8366 ecx = ebp + (-0x58); /* 0x2B0991A9: lea ecx, [ebp - 0x58] */ 8367 MEM8(ebp + (-0x4)) = (uint8_t)(0x63u); /* 0x2B0991AC: mov byte ptr [ebp - 4], 0x63 */ 8368 RECOMP_ICALL(0x2B099630u); /* 0x2B0991B0: call 0x2b099630 */ /* not lifted */ 8369 RECOMP_FLAGS_IN(); 8370 PUSH32(esp, eax); /* 0x2B0991B5: push eax */ 8371 ecx = ebx; /* 0x2B0991B6: mov ecx, ebx */ 8372 MEM8(ebp + (-0x4)) = (uint8_t)(0x64u); /* 0x2B0991B8: mov byte ptr [ebp - 4], 0x64 */ 8373 RECOMP_ICALL(0x2B09B370u); /* 0x2B0991BC: call 0x2b09b370 */ /* not lifted */ 8374 RECOMP_FLAGS_IN(); 8375 ecx = ebp + (-0x58); /* 0x2B0991C1: lea ecx, [ebp - 0x58] */ 8376 MEM8(ebp + (-0x4)) = (uint8_t)(0x63u); /* 0x2B0991C4: mov byte ptr [ebp - 4], 0x63 */ 8377 RECOMP_ICALL(0x2B099770u); /* 0x2B0991C8: call 0x2b099770 */ /* not lifted */ 8378 RECOMP_FLAGS_IN(); 8379 MEM8(ebp + (-0x4)) = (uint8_t)(0x62u); /* 0x2B0991CD: mov byte ptr [ebp - 4], 0x62 */ 8380 PUSH32(esp, 1); /* 0x2B0991D1: push 1 */ 8381 ecx = ebp + (-0x34); /* 0x2B0991D3: lea ecx, [ebp - 0x34] */ 8382 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0991D6: call dword ptr [0x2b0b514c] */ 8383 RECOMP_FLAGS_IN(); 8384 PUSH32(esp, 1); /* 0x2B0991DC: push 1 */ 8385 ecx = ebp + (-0x24); /* 0x2B0991DE: lea ecx, [ebp - 0x24] */ 8386 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0991E1: mov byte ptr [ebp - 4], 2 */ 8387 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0991E5: call dword ptr [0x2b0b514c] */ 8388 RECOMP_FLAGS_IN(); 8389 edx = ebp + 0xB; /* 0x2B0991EB: lea edx, [ebp + 0xb] */ 8390 PUSH32(esp, edx); /* 0x2B0991EE: push edx */ 8391 PUSH32(esp, 0x2B0ED790u); /* 0x2B0991EF: push 0x2b0ed790 */ 8392 ecx = ebp + (-0x24); /* 0x2B0991F4: lea ecx, [ebp - 0x24] */ 8393 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0991F7: call dword ptr [0x2b0b5040] */ 8394 RECOMP_FLAGS_IN(); 8395 eax = ebp + (-0xD); /* 0x2B0991FD: lea eax, [ebp - 0xd] */ 8396 PUSH32(esp, eax); /* 0x2B099200: push eax */ 8397 PUSH32(esp, 0x2B0ED764u); /* 0x2B099201: push 0x2b0ed764 */ 8398 ecx = ebp + (-0x34); /* 0x2B099206: lea ecx, [ebp - 0x34] */ 8399 MEM8(ebp + (-0x4)) = (uint8_t)(0x65u); /* 0x2B099209: mov byte ptr [ebp - 4], 0x65 */ 8400 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B09920D: call dword ptr [0x2b0b5040] */ 8401 RECOMP_FLAGS_IN(); 8402 ecx = ebp + (-0x24); /* 0x2B099213: lea ecx, [ebp - 0x24] */ 8403 PUSH32(esp, ecx); /* 0x2B099216: push ecx */ 8404 edx = ebp + (-0x34); /* 0x2B099217: lea edx, [ebp - 0x34] */ 8405 PUSH32(esp, edx); /* 0x2B09921A: push edx */ 8406 PUSH32(esp, 2); /* 0x2B09921B: push 2 */ 8407 ecx = ebp + (-0x58); /* 0x2B09921D: lea ecx, [ebp - 0x58] */ 8408 MEM8(ebp + (-0x4)) = (uint8_t)(0x66u); /* 0x2B099220: mov byte ptr [ebp - 4], 0x66 */ 8409 RECOMP_ICALL(0x2B099630u); /* 0x2B099224: call 0x2b099630 */ /* not lifted */ 8410 RECOMP_FLAGS_IN(); 8411 PUSH32(esp, eax); /* 0x2B099229: push eax */ 8412 ecx = ebx; /* 0x2B09922A: mov ecx, ebx */ 8413 MEM8(ebp + (-0x4)) = (uint8_t)(0x67u); /* 0x2B09922C: mov byte ptr [ebp - 4], 0x67 */ 8414 RECOMP_ICALL(0x2B09B370u); /* 0x2B099230: call 0x2b09b370 */ /* not lifted */ 8415 RECOMP_FLAGS_IN(); 8416 ecx = ebp + (-0x58); /* 0x2B099235: lea ecx, [ebp - 0x58] */ 8417 MEM8(ebp + (-0x4)) = (uint8_t)(0x66u); /* 0x2B099238: mov byte ptr [ebp - 4], 0x66 */ 8418 RECOMP_ICALL(0x2B099770u); /* 0x2B09923C: call 0x2b099770 */ /* not lifted */ 8419 RECOMP_FLAGS_IN(); 8420 PUSH32(esp, 1); /* 0x2B099241: push 1 */ 8421 ecx = ebp + (-0x34); /* 0x2B099243: lea ecx, [ebp - 0x34] */ 8422 MEM8(ebp + (-0x4)) = (uint8_t)(0x65u); /* 0x2B099246: mov byte ptr [ebp - 4], 0x65 */ 8423 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09924A: call dword ptr [0x2b0b514c] */ 8424 RECOMP_FLAGS_IN(); 8425 PUSH32(esp, 1); /* 0x2B099250: push 1 */ 8426 ecx = ebp + (-0x24); /* 0x2B099252: lea ecx, [ebp - 0x24] */ 8427 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B099255: mov byte ptr [ebp - 4], 2 */ 8428 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099259: call dword ptr [0x2b0b514c] */ 8429 RECOMP_FLAGS_IN(); 8430 eax = ebp + 0xB; /* 0x2B09925F: lea eax, [ebp + 0xb] */ 8431 PUSH32(esp, eax); /* 0x2B099262: push eax */ 8432 PUSH32(esp, 0x2B0ED738u); /* 0x2B099263: push 0x2b0ed738 */ 8433 ecx = ebp + (-0x24); /* 0x2B099268: lea ecx, [ebp - 0x24] */ 8434 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B09926B: call dword ptr [0x2b0b5040] */ 8435 RECOMP_FLAGS_IN(); 8436 ecx = ebp + (-0xD); /* 0x2B099271: lea ecx, [ebp - 0xd] */ 8437 PUSH32(esp, ecx); /* 0x2B099274: push ecx */ 8438 PUSH32(esp, 0x2B0ED70Cu); /* 0x2B099275: push 0x2b0ed70c */ 8439 ecx = ebp + (-0x34); /* 0x2B09927A: lea ecx, [ebp - 0x34] */ 8440 MEM8(ebp + (-0x4)) = (uint8_t)(0x68u); /* 0x2B09927D: mov byte ptr [ebp - 4], 0x68 */ 8441 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099281: call dword ptr [0x2b0b5040] */ 8442 RECOMP_FLAGS_IN(); 8443 edx = ebp + (-0x24); /* 0x2B099287: lea edx, [ebp - 0x24] */ 8444 PUSH32(esp, edx); /* 0x2B09928A: push edx */ 8445 eax = ebp + (-0x34); /* 0x2B09928B: lea eax, [ebp - 0x34] */ 8446 PUSH32(esp, eax); /* 0x2B09928E: push eax */ 8447 PUSH32(esp, 0x00020000u); /* 0x2B09928F: push 0x20000 */ 8448 ecx = ebp + (-0x58); /* 0x2B099294: lea ecx, [ebp - 0x58] */ 8449 MEM8(ebp + (-0x4)) = (uint8_t)(0x69u); /* 0x2B099297: mov byte ptr [ebp - 4], 0x69 */ 8450 RECOMP_ICALL(0x2B099630u); /* 0x2B09929B: call 0x2b099630 */ /* not lifted */ 8451 RECOMP_FLAGS_IN(); 8452 PUSH32(esp, eax); /* 0x2B0992A0: push eax */ 8453 ecx = ebx; /* 0x2B0992A1: mov ecx, ebx */ 8454 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Au); /* 0x2B0992A3: mov byte ptr [ebp - 4], 0x6a */ 8455 RECOMP_ICALL(0x2B09B370u); /* 0x2B0992A7: call 0x2b09b370 */ /* not lifted */ 8456 RECOMP_FLAGS_IN(); 8457 ecx = ebp + (-0x58); /* 0x2B0992AC: lea ecx, [ebp - 0x58] */ 8458 MEM8(ebp + (-0x4)) = (uint8_t)(0x69u); /* 0x2B0992AF: mov byte ptr [ebp - 4], 0x69 */ 8459 RECOMP_ICALL(0x2B099770u); /* 0x2B0992B3: call 0x2b099770 */ /* not lifted */ 8460 RECOMP_FLAGS_IN(); 8461 PUSH32(esp, 1); /* 0x2B0992B8: push 1 */ 8462 ecx = ebp + (-0x34); /* 0x2B0992BA: lea ecx, [ebp - 0x34] */ 8463 MEM8(ebp + (-0x4)) = (uint8_t)(0x68u); /* 0x2B0992BD: mov byte ptr [ebp - 4], 0x68 */ 8464 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0992C1: call dword ptr [0x2b0b514c] */ 8465 RECOMP_FLAGS_IN(); 8466 PUSH32(esp, 1); /* 0x2B0992C7: push 1 */ 8467 ecx = ebp + (-0x24); /* 0x2B0992C9: lea ecx, [ebp - 0x24] */ 8468 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0992CC: mov byte ptr [ebp - 4], 2 */ 8469 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0992D0: call dword ptr [0x2b0b514c] */ 8470 RECOMP_FLAGS_IN(); 8471 ecx = ebp + 0xB; /* 0x2B0992D6: lea ecx, [ebp + 0xb] */ 8472 PUSH32(esp, ecx); /* 0x2B0992D9: push ecx */ 8473 PUSH32(esp, 0x2B0ED6E4u); /* 0x2B0992DA: push 0x2b0ed6e4 */ 8474 ecx = ebp + (-0x24); /* 0x2B0992DF: lea ecx, [ebp - 0x24] */ 8475 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0992E2: call dword ptr [0x2b0b5040] */ 8476 RECOMP_FLAGS_IN(); 8477 edx = ebp + (-0xD); /* 0x2B0992E8: lea edx, [ebp - 0xd] */ 8478 PUSH32(esp, edx); /* 0x2B0992EB: push edx */ 8479 PUSH32(esp, 0x2B0ED6C0u); /* 0x2B0992EC: push 0x2b0ed6c0 */ 8480 ecx = ebp + (-0x34); /* 0x2B0992F1: lea ecx, [ebp - 0x34] */ 8481 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Bu); /* 0x2B0992F4: mov byte ptr [ebp - 4], 0x6b */ 8482 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0992F8: call dword ptr [0x2b0b5040] */ 8483 RECOMP_FLAGS_IN(); 8484 eax = ebp + (-0x24); /* 0x2B0992FE: lea eax, [ebp - 0x24] */ 8485 PUSH32(esp, eax); /* 0x2B099301: push eax */ 8486 ecx = ebp + (-0x34); /* 0x2B099302: lea ecx, [ebp - 0x34] */ 8487 PUSH32(esp, ecx); /* 0x2B099305: push ecx */ 8488 PUSH32(esp, 0x00100000u); /* 0x2B099306: push 0x100000 */ 8489 ecx = ebp + (-0x58); /* 0x2B09930B: lea ecx, [ebp - 0x58] */ 8490 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Cu); /* 0x2B09930E: mov byte ptr [ebp - 4], 0x6c */ 8491 RECOMP_ICALL(0x2B099630u); /* 0x2B099312: call 0x2b099630 */ /* not lifted */ 8492 RECOMP_FLAGS_IN(); 8493 PUSH32(esp, eax); /* 0x2B099317: push eax */ 8494 ecx = ebx; /* 0x2B099318: mov ecx, ebx */ 8495 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Du); /* 0x2B09931A: mov byte ptr [ebp - 4], 0x6d */ 8496 RECOMP_ICALL(0x2B09B370u); /* 0x2B09931E: call 0x2b09b370 */ /* not lifted */ 8497 RECOMP_FLAGS_IN(); 8498 ecx = ebp + (-0x58); /* 0x2B099323: lea ecx, [ebp - 0x58] */ 8499 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Cu); /* 0x2B099326: mov byte ptr [ebp - 4], 0x6c */ 8500 RECOMP_ICALL(0x2B099770u); /* 0x2B09932A: call 0x2b099770 */ /* not lifted */ 8501 RECOMP_FLAGS_IN(); 8502 PUSH32(esp, 1); /* 0x2B09932F: push 1 */ 8503 ecx = ebp + (-0x34); /* 0x2B099331: lea ecx, [ebp - 0x34] */ 8504 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Bu); /* 0x2B099334: mov byte ptr [ebp - 4], 0x6b */ 8505 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099338: call dword ptr [0x2b0b514c] */ 8506 RECOMP_FLAGS_IN(); 8507 PUSH32(esp, 1); /* 0x2B09933E: push 1 */ 8508 ecx = ebp + (-0x24); /* 0x2B099340: lea ecx, [ebp - 0x24] */ 8509 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B099343: mov byte ptr [ebp - 4], 2 */ 8510 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099347: call dword ptr [0x2b0b514c] */ 8511 RECOMP_FLAGS_IN(); 8512 edx = ebp + 0xB; /* 0x2B09934D: lea edx, [ebp + 0xb] */ 8513 PUSH32(esp, edx); /* 0x2B099350: push edx */ 8514 PUSH32(esp, 0x2B0ED690u); /* 0x2B099351: push 0x2b0ed690 */ 8515 ecx = ebp + (-0x24); /* 0x2B099356: lea ecx, [ebp - 0x24] */ 8516 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099359: call dword ptr [0x2b0b5040] */ 8517 RECOMP_FLAGS_IN(); 8518 eax = ebp + (-0xD); /* 0x2B09935F: lea eax, [ebp - 0xd] */ 8519 PUSH32(esp, eax); /* 0x2B099362: push eax */ 8520 PUSH32(esp, 0x2B0EDA38u); /* 0x2B099363: push 0x2b0eda38 */ 8521 ecx = ebp + (-0x34); /* 0x2B099368: lea ecx, [ebp - 0x34] */ 8522 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Eu); /* 0x2B09936B: mov byte ptr [ebp - 4], 0x6e */ 8523 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B09936F: call dword ptr [0x2b0b5040] */ 8524 RECOMP_FLAGS_IN(); 8525 ecx = ebp + (-0x24); /* 0x2B099375: lea ecx, [ebp - 0x24] */ 8526 PUSH32(esp, ecx); /* 0x2B099378: push ecx */ 8527 edx = ebp + (-0x34); /* 0x2B099379: lea edx, [ebp - 0x34] */ 8528 PUSH32(esp, edx); /* 0x2B09937C: push edx */ 8529 PUSH32(esp, 0x00080000u); /* 0x2B09937D: push 0x80000 */ 8530 ecx = ebp + (-0x58); /* 0x2B099382: lea ecx, [ebp - 0x58] */ 8531 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Fu); /* 0x2B099385: mov byte ptr [ebp - 4], 0x6f */ 8532 RECOMP_ICALL(0x2B099630u); /* 0x2B099389: call 0x2b099630 */ /* not lifted */ 8533 RECOMP_FLAGS_IN(); 8534 PUSH32(esp, eax); /* 0x2B09938E: push eax */ 8535 ecx = ebx; /* 0x2B09938F: mov ecx, ebx */ 8536 MEM8(ebp + (-0x4)) = (uint8_t)(0x70u); /* 0x2B099391: mov byte ptr [ebp - 4], 0x70 */ 8537 RECOMP_ICALL(0x2B09B370u); /* 0x2B099395: call 0x2b09b370 */ /* not lifted */ 8538 RECOMP_FLAGS_IN(); 8539 ecx = ebp + (-0x58); /* 0x2B09939A: lea ecx, [ebp - 0x58] */ 8540 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Fu); /* 0x2B09939D: mov byte ptr [ebp - 4], 0x6f */ 8541 RECOMP_ICALL(0x2B099770u); /* 0x2B0993A1: call 0x2b099770 */ /* not lifted */ 8542 RECOMP_FLAGS_IN(); 8543 PUSH32(esp, 1); /* 0x2B0993A6: push 1 */ 8544 ecx = ebp + (-0x34); /* 0x2B0993A8: lea ecx, [ebp - 0x34] */ 8545 MEM8(ebp + (-0x4)) = (uint8_t)(0x6Eu); /* 0x2B0993AB: mov byte ptr [ebp - 4], 0x6e */ 8546 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0993AF: call dword ptr [0x2b0b514c] */ 8547 RECOMP_FLAGS_IN(); 8548 PUSH32(esp, 1); /* 0x2B0993B5: push 1 */ 8549 ecx = ebp + (-0x24); /* 0x2B0993B7: lea ecx, [ebp - 0x24] */ 8550 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0993BA: mov byte ptr [ebp - 4], 2 */ 8551 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0993BE: call dword ptr [0x2b0b514c] */ 8552 RECOMP_FLAGS_IN(); 8553 eax = ebp + 0xB; /* 0x2B0993C4: lea eax, [ebp + 0xb] */ 8554 PUSH32(esp, eax); /* 0x2B0993C7: push eax */ 8555 PUSH32(esp, 0x2B0ED66Cu); /* 0x2B0993C8: push 0x2b0ed66c */ 8556 ecx = ebp + (-0x24); /* 0x2B0993CD: lea ecx, [ebp - 0x24] */ 8557 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0993D0: call dword ptr [0x2b0b5040] */ 8558 RECOMP_FLAGS_IN(); 8559 ecx = ebp + (-0xD); /* 0x2B0993D6: lea ecx, [ebp - 0xd] */ 8560 MEM8(ebp + (-0x4)) = (uint8_t)(0x71u); /* 0x2B0993D9: mov byte ptr [ebp - 4], 0x71 */ 8561 PUSH32(esp, ecx); /* 0x2B0993DD: push ecx */ 8562 PUSH32(esp, 0x2B0ED648u); /* 0x2B0993DE: push 0x2b0ed648 */ 8563 ecx = ebp + (-0x34); /* 0x2B0993E3: lea ecx, [ebp - 0x34] */ 8564 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0993E6: call dword ptr [0x2b0b5040] */ 8565 RECOMP_FLAGS_IN(); 8566 edx = ebp + (-0x24); /* 0x2B0993EC: lea edx, [ebp - 0x24] */ 8567 PUSH32(esp, edx); /* 0x2B0993EF: push edx */ 8568 eax = ebp + (-0x34); /* 0x2B0993F0: lea eax, [ebp - 0x34] */ 8569 PUSH32(esp, eax); /* 0x2B0993F3: push eax */ 8570 SET_LO8(ebx, 0x72u); /* 0x2B0993F4: mov bl, 0x72 */ 8571 PUSH32(esp, 8); /* 0x2B0993F6: push 8 */ 8572 ecx = ebp + (-0x58); /* 0x2B0993F8: lea ecx, [ebp - 0x58] */ 8573 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0993FB: mov byte ptr [ebp - 4], bl */ 8574 RECOMP_ICALL(0x2B099630u); /* 0x2B0993FE: call 0x2b099630 */ /* not lifted */ 8575 RECOMP_FLAGS_IN(); 8576 ecx = MEM32(ebp + (-0x14)); /* 0x2B099403: mov ecx, dword ptr [ebp - 0x14] */ 8577 esi = ecx + 0x30; /* 0x2B099406: lea esi, [ecx + 0x30] */ 8578 PUSH32(esp, eax); /* 0x2B099409: push eax */ 8579 ecx = esi; /* 0x2B09940A: mov ecx, esi */ 8580 MEM8(ebp + (-0x4)) = (uint8_t)(0x73u); /* 0x2B09940C: mov byte ptr [ebp - 4], 0x73 */ 8581 RECOMP_ICALL(0x2B09B370u); /* 0x2B099410: call 0x2b09b370 */ /* not lifted */ 8582 RECOMP_FLAGS_IN(); 8583 ecx = ebp + (-0x58); /* 0x2B099415: lea ecx, [ebp - 0x58] */ 8584 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B099418: mov byte ptr [ebp - 4], bl */ 8585 RECOMP_ICALL(0x2B099770u); /* 0x2B09941B: call 0x2b099770 */ /* not lifted */ 8586 RECOMP_FLAGS_IN(); 8587 PUSH32(esp, 1); /* 0x2B099420: push 1 */ 8588 ecx = ebp + (-0x34); /* 0x2B099422: lea ecx, [ebp - 0x34] */ 8589 MEM8(ebp + (-0x4)) = (uint8_t)(0x71u); /* 0x2B099425: mov byte ptr [ebp - 4], 0x71 */ 8590 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099429: call dword ptr [0x2b0b514c] */ 8591 RECOMP_FLAGS_IN(); 8592 PUSH32(esp, 1); /* 0x2B09942F: push 1 */ 8593 ecx = ebp + (-0x24); /* 0x2B099431: lea ecx, [ebp - 0x24] */ 8594 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B099434: mov byte ptr [ebp - 4], 2 */ 8595 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099438: call dword ptr [0x2b0b514c] */ 8596 RECOMP_FLAGS_IN(); 8597 edx = ebp + 0xB; /* 0x2B09943E: lea edx, [ebp + 0xb] */ 8598 PUSH32(esp, edx); /* 0x2B099441: push edx */ 8599 PUSH32(esp, 0x2B0ED624u); /* 0x2B099442: push 0x2b0ed624 */ 8600 ecx = ebp + (-0x24); /* 0x2B099447: lea ecx, [ebp - 0x24] */ 8601 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B09944A: call dword ptr [0x2b0b5040] */ 8602 RECOMP_FLAGS_IN(); 8603 eax = ebp + (-0xD); /* 0x2B099450: lea eax, [ebp - 0xd] */ 8604 PUSH32(esp, eax); /* 0x2B099453: push eax */ 8605 PUSH32(esp, 0x2B0ED964u); /* 0x2B099454: push 0x2b0ed964 */ 8606 ecx = ebp + (-0x34); /* 0x2B099459: lea ecx, [ebp - 0x34] */ 8607 MEM8(ebp + (-0x4)) = (uint8_t)(0x74u); /* 0x2B09945C: mov byte ptr [ebp - 4], 0x74 */ 8608 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099460: call dword ptr [0x2b0b5040] */ 8609 RECOMP_FLAGS_IN(); 8610 ecx = ebp + (-0x24); /* 0x2B099466: lea ecx, [ebp - 0x24] */ 8611 PUSH32(esp, ecx); /* 0x2B099469: push ecx */ 8612 edx = ebp + (-0x34); /* 0x2B09946A: lea edx, [ebp - 0x34] */ 8613 PUSH32(esp, edx); /* 0x2B09946D: push edx */ 8614 SET_LO8(ebx, 0x75u); /* 0x2B09946E: mov bl, 0x75 */ 8615 PUSH32(esp, 0x10u); /* 0x2B099470: push 0x10 */ 8616 ecx = ebp + (-0x58); /* 0x2B099472: lea ecx, [ebp - 0x58] */ 8617 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B099475: mov byte ptr [ebp - 4], bl */ 8618 RECOMP_ICALL(0x2B099630u); /* 0x2B099478: call 0x2b099630 */ /* not lifted */ 8619 RECOMP_FLAGS_IN(); 8620 PUSH32(esp, eax); /* 0x2B09947D: push eax */ 8621 ecx = esi; /* 0x2B09947E: mov ecx, esi */ 8622 MEM8(ebp + (-0x4)) = (uint8_t)(0x76u); /* 0x2B099480: mov byte ptr [ebp - 4], 0x76 */ 8623 RECOMP_ICALL(0x2B09B370u); /* 0x2B099484: call 0x2b09b370 */ /* not lifted */ 8624 RECOMP_FLAGS_IN(); 8625 ecx = ebp + (-0x58); /* 0x2B099489: lea ecx, [ebp - 0x58] */ 8626 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09948C: mov byte ptr [ebp - 4], bl */ 8627 RECOMP_ICALL(0x2B099770u); /* 0x2B09948F: call 0x2b099770 */ /* not lifted */ 8628 RECOMP_FLAGS_IN(); 8629 PUSH32(esp, 1); /* 0x2B099494: push 1 */ 8630 ecx = ebp + (-0x34); /* 0x2B099496: lea ecx, [ebp - 0x34] */ 8631 MEM8(ebp + (-0x4)) = (uint8_t)(0x74u); /* 0x2B099499: mov byte ptr [ebp - 4], 0x74 */ 8632 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09949D: call dword ptr [0x2b0b514c] */ 8633 RECOMP_FLAGS_IN(); 8634 PUSH32(esp, 1); /* 0x2B0994A3: push 1 */ 8635 ecx = ebp + (-0x24); /* 0x2B0994A5: lea ecx, [ebp - 0x24] */ 8636 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0994A8: mov byte ptr [ebp - 4], 2 */ 8637 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0994AC: call dword ptr [0x2b0b514c] */ 8638 RECOMP_FLAGS_IN(); 8639 eax = ebp + 0xB; /* 0x2B0994B2: lea eax, [ebp + 0xb] */ 8640 PUSH32(esp, eax); /* 0x2B0994B5: push eax */ 8641 PUSH32(esp, 0x2B0ED600u); /* 0x2B0994B6: push 0x2b0ed600 */ 8642 ecx = ebp + (-0x24); /* 0x2B0994BB: lea ecx, [ebp - 0x24] */ 8643 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0994BE: call dword ptr [0x2b0b5040] */ 8644 RECOMP_FLAGS_IN(); 8645 ecx = ebp + (-0xD); /* 0x2B0994C4: lea ecx, [ebp - 0xd] */ 8646 PUSH32(esp, ecx); /* 0x2B0994C7: push ecx */ 8647 PUSH32(esp, 0x2B0ED5D4u); /* 0x2B0994C8: push 0x2b0ed5d4 */ 8648 ecx = ebp + (-0x34); /* 0x2B0994CD: lea ecx, [ebp - 0x34] */ 8649 MEM8(ebp + (-0x4)) = (uint8_t)(0x77u); /* 0x2B0994D0: mov byte ptr [ebp - 4], 0x77 */ 8650 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0994D4: call dword ptr [0x2b0b5040] */ 8651 RECOMP_FLAGS_IN(); 8652 edx = ebp + (-0x24); /* 0x2B0994DA: lea edx, [ebp - 0x24] */ 8653 PUSH32(esp, edx); /* 0x2B0994DD: push edx */ 8654 eax = ebp + (-0x34); /* 0x2B0994DE: lea eax, [ebp - 0x34] */ 8655 PUSH32(esp, eax); /* 0x2B0994E1: push eax */ 8656 SET_LO8(ebx, 0x78u); /* 0x2B0994E2: mov bl, 0x78 */ 8657 PUSH32(esp, 2); /* 0x2B0994E4: push 2 */ 8658 ecx = ebp + (-0x58); /* 0x2B0994E6: lea ecx, [ebp - 0x58] */ 8659 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0994E9: mov byte ptr [ebp - 4], bl */ 8660 RECOMP_ICALL(0x2B099630u); /* 0x2B0994EC: call 0x2b099630 */ /* not lifted */ 8661 RECOMP_FLAGS_IN(); 8662 PUSH32(esp, eax); /* 0x2B0994F1: push eax */ 8663 ecx = esi; /* 0x2B0994F2: mov ecx, esi */ 8664 MEM8(ebp + (-0x4)) = (uint8_t)(0x79u); /* 0x2B0994F4: mov byte ptr [ebp - 4], 0x79 */ 8665 RECOMP_ICALL(0x2B09B370u); /* 0x2B0994F8: call 0x2b09b370 */ /* not lifted */ 8666 RECOMP_FLAGS_IN(); 8667 ecx = ebp + (-0x58); /* 0x2B0994FD: lea ecx, [ebp - 0x58] */ 8668 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B099500: mov byte ptr [ebp - 4], bl */ 8669 RECOMP_ICALL(0x2B099770u); /* 0x2B099503: call 0x2b099770 */ /* not lifted */ 8670 RECOMP_FLAGS_IN(); 8671 PUSH32(esp, 1); /* 0x2B099508: push 1 */ 8672 ecx = ebp + (-0x34); /* 0x2B09950A: lea ecx, [ebp - 0x34] */ 8673 MEM8(ebp + (-0x4)) = (uint8_t)(0x77u); /* 0x2B09950D: mov byte ptr [ebp - 4], 0x77 */ 8674 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099511: call dword ptr [0x2b0b514c] */ 8675 RECOMP_FLAGS_IN(); 8676 PUSH32(esp, 1); /* 0x2B099517: push 1 */ 8677 ecx = ebp + (-0x24); /* 0x2B099519: lea ecx, [ebp - 0x24] */ 8678 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09951C: mov byte ptr [ebp - 4], 2 */ 8679 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099520: call dword ptr [0x2b0b514c] */ 8680 RECOMP_FLAGS_IN(); 8681 ecx = ebp + 0xB; /* 0x2B099526: lea ecx, [ebp + 0xb] */ 8682 PUSH32(esp, ecx); /* 0x2B099529: push ecx */ 8683 PUSH32(esp, 0x2B0ED5B0u); /* 0x2B09952A: push 0x2b0ed5b0 */ 8684 ecx = ebp + (-0x24); /* 0x2B09952F: lea ecx, [ebp - 0x24] */ 8685 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099532: call dword ptr [0x2b0b5040] */ 8686 RECOMP_FLAGS_IN(); 8687 edx = ebp + (-0xD); /* 0x2B099538: lea edx, [ebp - 0xd] */ 8688 PUSH32(esp, edx); /* 0x2B09953B: push edx */ 8689 PUSH32(esp, 0x2B0ED580u); /* 0x2B09953C: push 0x2b0ed580 */ 8690 ecx = ebp + (-0x34); /* 0x2B099541: lea ecx, [ebp - 0x34] */ 8691 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Au); /* 0x2B099544: mov byte ptr [ebp - 4], 0x7a */ 8692 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B099548: call dword ptr [0x2b0b5040] */ 8693 RECOMP_FLAGS_IN(); 8694 eax = ebp + (-0x24); /* 0x2B09954E: lea eax, [ebp - 0x24] */ 8695 PUSH32(esp, eax); /* 0x2B099551: push eax */ 8696 ecx = ebp + (-0x34); /* 0x2B099552: lea ecx, [ebp - 0x34] */ 8697 PUSH32(esp, ecx); /* 0x2B099555: push ecx */ 8698 SET_LO8(ebx, 0x7Bu); /* 0x2B099556: mov bl, 0x7b */ 8699 PUSH32(esp, 4); /* 0x2B099558: push 4 */ 8700 ecx = ebp + (-0x58); /* 0x2B09955A: lea ecx, [ebp - 0x58] */ 8701 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09955D: mov byte ptr [ebp - 4], bl */ 8702 RECOMP_ICALL(0x2B099630u); /* 0x2B099560: call 0x2b099630 */ /* not lifted */ 8703 RECOMP_FLAGS_IN(); 8704 PUSH32(esp, eax); /* 0x2B099565: push eax */ 8705 ecx = esi; /* 0x2B099566: mov ecx, esi */ 8706 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Cu); /* 0x2B099568: mov byte ptr [ebp - 4], 0x7c */ 8707 RECOMP_ICALL(0x2B09B370u); /* 0x2B09956C: call 0x2b09b370 */ /* not lifted */ 8708 RECOMP_FLAGS_IN(); 8709 ecx = ebp + (-0x58); /* 0x2B099571: lea ecx, [ebp - 0x58] */ 8710 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B099574: mov byte ptr [ebp - 4], bl */ 8711 RECOMP_ICALL(0x2B099770u); /* 0x2B099577: call 0x2b099770 */ /* not lifted */ 8712 RECOMP_FLAGS_IN(); 8713 PUSH32(esp, 1); /* 0x2B09957C: push 1 */ 8714 ecx = ebp + (-0x34); /* 0x2B09957E: lea ecx, [ebp - 0x34] */ 8715 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Au); /* 0x2B099581: mov byte ptr [ebp - 4], 0x7a */ 8716 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099585: call dword ptr [0x2b0b514c] */ 8717 RECOMP_FLAGS_IN(); 8718 PUSH32(esp, 1); /* 0x2B09958B: push 1 */ 8719 ecx = ebp + (-0x24); /* 0x2B09958D: lea ecx, [ebp - 0x24] */ 8720 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B099590: mov byte ptr [ebp - 4], 2 */ 8721 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B099594: call dword ptr [0x2b0b514c] */ 8722 RECOMP_FLAGS_IN(); 8723 edx = ebp + 0xB; /* 0x2B09959A: lea edx, [ebp + 0xb] */ 8724 PUSH32(esp, edx); /* 0x2B09959D: push edx */ 8725 PUSH32(esp, 0x2B0ED558u); /* 0x2B09959E: push 0x2b0ed558 */ 8726 ecx = ebp + (-0x24); /* 0x2B0995A3: lea ecx, [ebp - 0x24] */ 8727 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0995A6: call dword ptr [0x2b0b5040] */ 8728 RECOMP_FLAGS_IN(); 8729 eax = ebp + (-0xD); /* 0x2B0995AC: lea eax, [ebp - 0xd] */ 8730 PUSH32(esp, eax); /* 0x2B0995AF: push eax */ 8731 PUSH32(esp, 0x2B0EDA38u); /* 0x2B0995B0: push 0x2b0eda38 */ 8732 ecx = ebp + (-0x34); /* 0x2B0995B5: lea ecx, [ebp - 0x34] */ 8733 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Du); /* 0x2B0995B8: mov byte ptr [ebp - 4], 0x7d */ 8734 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B0995BC: call dword ptr [0x2b0b5040] */ 8735 RECOMP_FLAGS_IN(); 8736 SET_LO8(ebx, 0x7Eu); /* 0x2B0995C2: mov bl, 0x7e */ 8737 ecx = ebp + (-0x24); /* 0x2B0995C4: lea ecx, [ebp - 0x24] */ 8738 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0995C7: mov byte ptr [ebp - 4], bl */ 8739 PUSH32(esp, ecx); /* 0x2B0995CA: push ecx */ 8740 edx = ebp + (-0x34); /* 0x2B0995CB: lea edx, [ebp - 0x34] */ 8741 PUSH32(esp, edx); /* 0x2B0995CE: push edx */ 8742 PUSH32(esp, 0x00080000u); /* 0x2B0995CF: push 0x80000 */ 8743 ecx = ebp + (-0x58); /* 0x2B0995D4: lea ecx, [ebp - 0x58] */ 8744 RECOMP_ICALL(0x2B099630u); /* 0x2B0995D7: call 0x2b099630 */ /* not lifted */ 8745 RECOMP_FLAGS_IN(); 8746 PUSH32(esp, eax); /* 0x2B0995DC: push eax */ 8747 ecx = esi; /* 0x2B0995DD: mov ecx, esi */ 8748 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Fu); /* 0x2B0995DF: mov byte ptr [ebp - 4], 0x7f */ 8749 RECOMP_ICALL(0x2B09B370u); /* 0x2B0995E3: call 0x2b09b370 */ /* not lifted */ 8750 RECOMP_FLAGS_IN(); 8751 ecx = ebp + (-0x58); /* 0x2B0995E8: lea ecx, [ebp - 0x58] */ 8752 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0995EB: mov byte ptr [ebp - 4], bl */ 8753 RECOMP_ICALL(0x2B099770u); /* 0x2B0995EE: call 0x2b099770 */ /* not lifted */ 8754 RECOMP_FLAGS_IN(); 8755 PUSH32(esp, 1); /* 0x2B0995F3: push 1 */ 8756 ecx = ebp + (-0x34); /* 0x2B0995F5: lea ecx, [ebp - 0x34] */ 8757 MEM8(ebp + (-0x4)) = (uint8_t)(0x7Du); /* 0x2B0995F8: mov byte ptr [ebp - 4], 0x7d */ 8758 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0995FC: call dword ptr [0x2b0b514c] */ 8759 RECOMP_FLAGS_IN(); 8760 PUSH32(esp, 1); /* 0x2B099602: push 1 */ 8761 ecx = ebp + (-0x24); /* 0x2B099604: lea ecx, [ebp - 0x24] */ 8762 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B099607: mov byte ptr [ebp - 4], 2 */ 8763 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09960B: call dword ptr [0x2b0b514c] */ 8764 RECOMP_FLAGS_IN(); 8765 ecx = MEM32(ebp + (-0xC)); /* 0x2B099611: mov ecx, dword ptr [ebp - 0xc] */ 8766 eax = MEM32(ebp + (-0x14)); /* 0x2B099614: mov eax, dword ptr [ebp - 0x14] */ 8767 edi = POP32_VAL(esp); /* 0x2B099617: pop edi */ 8768 esi = POP32_VAL(esp); /* 0x2B099618: pop esi */ 8769 ebx = POP32_VAL(esp); /* 0x2B099619: pop ebx */ 8770 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09961A: mov dword ptr fs:[0], ecx */ 8771 esp = ebp; /* 0x2B099621: mov esp, ebp */ 8772 ebp = POP32_VAL(esp); /* 0x2B099623: pop ebp */ 8773 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B099624: ret 4 */ 8774 RECOMP_REGS_OUT(); 8775 } 8776 8777 void sub_2B099630(void) { 8778 int _fpu_cmp = 0; 8779 uint32_t _cf = 0; 8780 int _df = 1; 8781 uint32_t _flag_k = FK_NONE; 8782 uint32_t _flag_a = 0, _flag_b = 0; 8783 uint32_t _itail_tgt = 0; 8784 RECOMP_REGS_LOCALS 8785 RECOMP_ENTER(0x2B099630u); 8786 8787 L_2B099630: 8788 PUSH32(esp, ebp); /* 0x2B099630: push ebp */ 8789 ebp = esp; /* 0x2B099631: mov ebp, esp */ 8790 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099633: push -1 */ 8791 PUSH32(esp, 0x2B0B370Cu); /* 0x2B099635: push 0x2b0b370c */ 8792 eax = MEM32(FS_BASE + (0)); /* 0x2B09963A: mov eax, dword ptr fs:[0] */ 8793 PUSH32(esp, eax); /* 0x2B099640: push eax */ 8794 MEM32(FS_BASE + (0)) = esp; /* 0x2B099641: mov dword ptr fs:[0], esp */ 8795 PUSH32(esp, ecx); /* 0x2B099648: push ecx */ 8796 eax = MEM32(ebp + 0x8); /* 0x2B099649: mov eax, dword ptr [ebp + 8] */ 8797 MEM32(ecx) = eax; /* 0x2B09964C: mov dword ptr [ecx], eax */ 8798 PUSH32(esp, ebx); /* 0x2B09964E: push ebx */ 8799 ebx = ecx + 0x4; /* 0x2B09964F: lea ebx, [ecx + 4] */ 8800 PUSH32(esp, esi); /* 0x2B099652: push esi */ 8801 esi = MEM32(ebp + 0xC); /* 0x2B099653: mov esi, dword ptr [ebp + 0xc] */ 8802 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8803 edx = 0; /* 0x2B099656: xor edx, edx */ 8804 _cf = 0; 8805 _flag_k = FK_TEST; 8806 MEM32(ebp + (-0x10)) = ecx; /* 0x2B099658: mov dword ptr [ebp - 0x10], ecx */ 8807 SET_LO8(ecx, MEM8(esi)); /* 0x2B09965B: mov cl, byte ptr [esi] */ 8808 MEM8(ebx) = (uint8_t)(LO8(ecx)); /* 0x2B09965D: mov byte ptr [ebx], cl */ 8809 MEM32(ebx + 0x4) = edx; /* 0x2B09965F: mov dword ptr [ebx + 4], edx */ 8810 MEM32(ebx + 0x8) = edx; /* 0x2B099662: mov dword ptr [ebx + 8], edx */ 8811 MEM32(ebx + 0xC) = edx; /* 0x2B099665: mov dword ptr [ebx + 0xc], edx */ 8812 eax = MEM32(0x2B0B515C); /* 0x2B099668: mov eax, dword ptr [0x2b0b515c] */ 8813 ecx = MEM32(esi + 0x8); /* 0x2B09966D: mov ecx, dword ptr [esi + 8] */ 8814 eax = MEM32(eax); /* 0x2B099670: mov eax, dword ptr [eax] */ 8815 PUSH32(esp, edi); /* 0x2B099672: push edi */ 8816 edi = ecx; /* 0x2B099673: mov edi, ecx */ 8817 /* cmp eax, edi */ /* 0x2B099675: cmp eax, edi */ 8818 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8820 _flag_k = FK_CMP; 8821 MEM32(ebp + 0x8) = edi; /* 0x2B099677: mov dword ptr [ebp + 8], edi */ 8822 if (CMP_AE(_flag_a, _flag_b)) goto L_2B099681; /* 0x2B09967A: jae 0x2b099681 */ 8823 L_2B09967C: 8824 MEM32(ebp + 0x8) = eax; /* 0x2B09967C: mov dword ptr [ebp + 8], eax */ 8825 edi = eax; /* 0x2B09967F: mov edi, eax */ 8826 L_2B099681: 8827 /* cmp ebx, esi */ /* 0x2B099681: cmp ebx, esi */ 8828 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 8829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8830 _flag_k = FK_CMP; 8831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0996A0; /* 0x2B099683: jne 0x2b0996a0 */ 8832 L_2B099685: 8833 PUSH32(esp, eax); /* 0x2B099685: push eax */ 8834 PUSH32(esp, edi); /* 0x2B099686: push edi */ 8835 ecx = ebx; /* 0x2B099687: mov ecx, ebx */ 8836 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B099689: call dword ptr [0x2b0b51ac] */ 8837 RECOMP_FLAGS_IN(); 8838 PUSH32(esp, 0); /* 0x2B09968F: push 0 */ 8839 PUSH32(esp, 0); /* 0x2B099691: push 0 */ 8840 ecx = ebx; /* 0x2B099693: mov ecx, ebx */ 8841 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B099695: call dword ptr [0x2b0b51ac] */ 8842 RECOMP_FLAGS_IN(); 8843 goto L_2B099721; /* 0x2B09969B: jmp 0x2b099721 */ 8844 L_2B0996A0: 8845 /* cmp edi, edx */ /* 0x2B0996A0: cmp edi, edx */ 8846 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8848 _flag_k = FK_CMP; 8849 if (CMP_BE(_flag_a, _flag_b)) goto L_2B0996E4; /* 0x2B0996A2: jbe 0x2b0996e4 */ 8850 L_2B0996A4: 8851 /* cmp edi, ecx */ /* 0x2B0996A4: cmp edi, ecx */ 8852 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8854 _flag_k = FK_CMP; 8855 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0996E4; /* 0x2B0996A6: jne 0x2b0996e4 */ 8856 L_2B0996A8: 8857 eax = MEM32(esi + 0x4); /* 0x2B0996A8: mov eax, dword ptr [esi + 4] */ 8858 /* cmp eax, edx */ /* 0x2B0996AB: cmp eax, edx */ 8859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8861 _flag_k = FK_CMP; 8862 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0996B4; /* 0x2B0996AD: jne 0x2b0996b4 */ 8863 L_2B0996AF: 8864 eax = MEM32(0x2B0B513C); /* 0x2B0996AF: mov eax, dword ptr [0x2b0b513c] */ 8865 L_2B0996B4: 8866 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B0996B4: cmp byte ptr [eax - 1], 0xfe */ 8867 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 8868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8869 _flag_k = FK_NARROW(FK_CMP, 24); 8870 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0996E4; /* 0x2B0996B8: jae 0x2b0996e4 */ 8871 L_2B0996BA: 8872 PUSH32(esp, 1); /* 0x2B0996BA: push 1 */ 8873 ecx = ebx; /* 0x2B0996BC: mov ecx, ebx */ 8874 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0996BE: call dword ptr [0x2b0b514c] */ 8875 RECOMP_FLAGS_IN(); 8876 eax = MEM32(esi + 0x4); /* 0x2B0996C4: mov eax, dword ptr [esi + 4] */ 8877 /* test eax, eax */ /* 0x2B0996C7: test eax, eax */ 8878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8879 _cf = 0; 8880 _flag_k = FK_TEST; 8881 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0996D0; /* 0x2B0996C9: jne 0x2b0996d0 */ 8882 L_2B0996CB: 8883 eax = MEM32(0x2B0B513C); /* 0x2B0996CB: mov eax, dword ptr [0x2b0b513c] */ 8884 L_2B0996D0: 8885 MEM32(ebx + 0x4) = eax; /* 0x2B0996D0: mov dword ptr [ebx + 4], eax */ 8886 ecx = MEM32(esi + 0x8); /* 0x2B0996D3: mov ecx, dword ptr [esi + 8] */ 8887 MEM32(ebx + 0x8) = ecx; /* 0x2B0996D6: mov dword ptr [ebx + 8], ecx */ 8888 esi = MEM32(esi + 0xC); /* 0x2B0996D9: mov esi, dword ptr [esi + 0xc] */ 8889 MEM32(ebx + 0xC) = esi; /* 0x2B0996DC: mov dword ptr [ebx + 0xc], esi */ 8890 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 8891 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B0996DF: inc byte ptr [eax - 1] */ 8892 _flag_k = FK_NARROW(FK_INC, 24); 8893 goto L_2B099721; /* 0x2B0996E2: jmp 0x2b099721 */ 8894 L_2B0996E4: 8895 PUSH32(esp, 1); /* 0x2B0996E4: push 1 */ 8896 PUSH32(esp, edi); /* 0x2B0996E6: push edi */ 8897 ecx = ebx; /* 0x2B0996E7: mov ecx, ebx */ 8898 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0996E9: call dword ptr [0x2b0b5154] */ 8899 RECOMP_FLAGS_IN(); 8900 /* test LO8(eax), LO8(eax) */ /* 0x2B0996EF: test al, al */ 8901 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8902 _cf = 0; 8903 _flag_k = FK_NARROW(FK_TEST, 24); 8904 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099721; /* 0x2B0996F1: je 0x2b099721 */ 8905 L_2B0996F3: 8906 esi = MEM32(esi + 0x4); /* 0x2B0996F3: mov esi, dword ptr [esi + 4] */ 8907 /* test esi, esi */ /* 0x2B0996F6: test esi, esi */ 8908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8909 _cf = 0; 8910 _flag_k = FK_TEST; 8911 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B099700; /* 0x2B0996F8: jne 0x2b099700 */ 8912 L_2B0996FA: 8913 esi = MEM32(0x2B0B513C); /* 0x2B0996FA: mov esi, dword ptr [0x2b0b513c] */ 8914 L_2B099700: 8915 eax = MEM32(ebx + 0x4); /* 0x2B099700: mov eax, dword ptr [ebx + 4] */ 8916 ecx = edi; /* 0x2B099703: mov ecx, edi */ 8917 edx = ecx; /* 0x2B099705: mov edx, ecx */ 8918 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B099707: shr ecx, 2 */ 8919 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8920 ecx = ecx >> 2u; /* 0x2B099707: shr ecx, 2 */ 8921 edi = eax; /* 0x2B09970A: mov edi, eax */ 8922 eax = MEM32(ebp + 0x8); /* 0x2B09970C: mov eax, dword ptr [ebp + 8] */ 8923 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09970F: 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; } 8924 ecx = edx; /* 0x2B099711: mov ecx, edx */ 8925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8926 ecx = ecx & 3; /* 0x2B099713: and ecx, 3 */ 8927 _cf = 0; 8928 _flag_k = FK_TEST; 8929 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B099716: 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; } 8930 PUSH32(esp, eax); /* 0x2B099718: push eax */ 8931 ecx = ebx; /* 0x2B099719: mov ecx, ebx */ 8932 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09971B: call dword ptr [0x2b0b5150] */ 8933 RECOMP_FLAGS_IN(); 8934 L_2B099721: 8935 eax = MEM32(ebp + 0x10); /* 0x2B099721: mov eax, dword ptr [ebp + 0x10] */ 8936 SET_LO8(edx, MEM8(eax)); /* 0x2B099724: mov dl, byte ptr [eax] */ 8937 esi = MEM32(ebp + (-0x10)); /* 0x2B099726: mov esi, dword ptr [ebp - 0x10] */ 8938 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8939 edi = 0; /* 0x2B099729: xor edi, edi */ 8940 _cf = 0; 8941 _flag_k = FK_TEST; 8942 ecx = esi + 0x14; /* 0x2B09972B: lea ecx, [esi + 0x14] */ 8943 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B09972E: mov byte ptr [ecx], dl */ 8944 MEM32(ecx + 0x4) = edi; /* 0x2B099730: mov dword ptr [ecx + 4], edi */ 8945 MEM32(ecx + 0x8) = edi; /* 0x2B099733: mov dword ptr [ecx + 8], edi */ 8946 MEM32(ecx + 0xC) = edi; /* 0x2B099736: mov dword ptr [ecx + 0xc], edi */ 8947 edx = MEM32(0x2B0B515C); /* 0x2B099739: mov edx, dword ptr [0x2b0b515c] */ 8948 edx = MEM32(edx); /* 0x2B09973F: mov edx, dword ptr [edx] */ 8949 PUSH32(esp, edx); /* 0x2B099741: push edx */ 8950 PUSH32(esp, edi); /* 0x2B099742: push edi */ 8951 PUSH32(esp, eax); /* 0x2B099743: push eax */ 8952 MEM32(ebp + (-0x4)) = edi; /* 0x2B099744: mov dword ptr [ebp - 4], edi */ 8953 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B099747: call dword ptr [0x2b0b5158] */ 8954 RECOMP_FLAGS_IN(); 8955 ecx = MEM32(ebp + (-0xC)); /* 0x2B09974D: mov ecx, dword ptr [ebp - 0xc] */ 8956 edi = POP32_VAL(esp); /* 0x2B099750: pop edi */ 8957 eax = esi; /* 0x2B099751: mov eax, esi */ 8958 esi = POP32_VAL(esp); /* 0x2B099753: pop esi */ 8959 ebx = POP32_VAL(esp); /* 0x2B099754: pop ebx */ 8960 MEM32(FS_BASE + (0)) = ecx; /* 0x2B099755: mov dword ptr fs:[0], ecx */ 8961 esp = ebp; /* 0x2B09975C: mov esp, ebp */ 8962 ebp = POP32_VAL(esp); /* 0x2B09975E: pop ebp */ 8963 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09975F: ret 0xc */ 8964 RECOMP_REGS_OUT(); 8965 } 8966 8967 void sub_2B099721(void) { 8968 int _fpu_cmp = 0; 8969 uint32_t _cf = 0; 8970 int _df = 1; 8971 uint32_t _flag_k = FK_NONE; 8972 uint32_t _flag_a = 0, _flag_b = 0; 8973 uint32_t _itail_tgt = 0; 8974 RECOMP_REGS_LOCALS 8975 RECOMP_ENTER(0x2B099721u); 8976 8977 L_2B099721: 8978 eax = MEM32(ebp + 0x10); /* 0x2B099721: mov eax, dword ptr [ebp + 0x10] */ 8979 SET_LO8(edx, MEM8(eax)); /* 0x2B099724: mov dl, byte ptr [eax] */ 8980 esi = MEM32(ebp + (-0x10)); /* 0x2B099726: mov esi, dword ptr [ebp - 0x10] */ 8981 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8982 edi = 0; /* 0x2B099729: xor edi, edi */ 8983 _cf = 0; 8984 _flag_k = FK_TEST; 8985 ecx = esi + 0x14; /* 0x2B09972B: lea ecx, [esi + 0x14] */ 8986 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B09972E: mov byte ptr [ecx], dl */ 8987 MEM32(ecx + 0x4) = edi; /* 0x2B099730: mov dword ptr [ecx + 4], edi */ 8988 MEM32(ecx + 0x8) = edi; /* 0x2B099733: mov dword ptr [ecx + 8], edi */ 8989 MEM32(ecx + 0xC) = edi; /* 0x2B099736: mov dword ptr [ecx + 0xc], edi */ 8990 edx = MEM32(0x2B0B515C); /* 0x2B099739: mov edx, dword ptr [0x2b0b515c] */ 8991 edx = MEM32(edx); /* 0x2B09973F: mov edx, dword ptr [edx] */ 8992 PUSH32(esp, edx); /* 0x2B099741: push edx */ 8993 PUSH32(esp, edi); /* 0x2B099742: push edi */ 8994 PUSH32(esp, eax); /* 0x2B099743: push eax */ 8995 MEM32(ebp + (-0x4)) = edi; /* 0x2B099744: mov dword ptr [ebp - 4], edi */ 8996 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B099747: call dword ptr [0x2b0b5158] */ 8997 RECOMP_FLAGS_IN(); 8998 ecx = MEM32(ebp + (-0xC)); /* 0x2B09974D: mov ecx, dword ptr [ebp - 0xc] */ 8999 edi = POP32_VAL(esp); /* 0x2B099750: pop edi */ 9000 eax = esi; /* 0x2B099751: mov eax, esi */ 9001 esi = POP32_VAL(esp); /* 0x2B099753: pop esi */ 9002 ebx = POP32_VAL(esp); /* 0x2B099754: pop ebx */ 9003 MEM32(FS_BASE + (0)) = ecx; /* 0x2B099755: mov dword ptr fs:[0], ecx */ 9004 esp = ebp; /* 0x2B09975C: mov esp, ebp */ 9005 ebp = POP32_VAL(esp); /* 0x2B09975E: pop ebp */ 9006 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09975F: ret 0xc */ 9007 RECOMP_REGS_OUT(); 9008 } 9009 9010 void sub_2B099770(void) { 9011 int _fpu_cmp = 0; 9012 uint32_t _cf = 0; 9013 int _df = 1; 9014 uint32_t _flag_k = FK_NONE; 9015 uint32_t _flag_a = 0, _flag_b = 0; 9016 uint32_t _itail_tgt = 0; 9017 RECOMP_REGS_LOCALS 9018 RECOMP_ENTER(0x2B099770u); 9019 9020 L_2B099770: 9021 PUSH32(esp, ebx); /* 0x2B099770: push ebx */ 9022 PUSH32(esp, esi); /* 0x2B099771: push esi */ 9023 esi = ecx; /* 0x2B099772: mov esi, ecx */ 9024 eax = MEM32(esi + 0x18); /* 0x2B099774: mov eax, dword ptr [esi + 0x18] */ 9025 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9026 ebx = 0; /* 0x2B099777: xor ebx, ebx */ 9027 _cf = 0; 9028 _flag_k = FK_TEST; 9029 /* cmp eax, ebx */ /* 0x2B099779: cmp eax, ebx */ 9030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9032 _flag_k = FK_CMP; 9033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099799; /* 0x2B09977B: je 0x2b099799 */ 9034 L_2B09977D: 9035 ecx = eax + (-0x1); /* 0x2B09977D: lea ecx, [eax - 1] */ 9036 SET_LO8(eax, MEM8(ecx)); /* 0x2B099780: mov al, byte ptr [ecx] */ 9037 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B099782: cmp al, bl */ 9038 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9040 _flag_k = FK_NARROW(FK_CMP, 24); 9041 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099790; /* 0x2B099784: je 0x2b099790 */ 9042 L_2B099786: 9043 /* cmp LO8(eax), 0xFFu */ /* 0x2B099786: cmp al, 0xff */ 9044 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 9045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9046 _flag_k = FK_NARROW(FK_CMP, 24); 9047 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099790; /* 0x2B099788: je 0x2b099790 */ 9048 L_2B09978A: 9049 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9050 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09978A: dec al */ 9051 _flag_k = FK_NARROW(FK_DEC, 24); 9052 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09978C: mov byte ptr [ecx], al */ 9053 goto L_2B099799; /* 0x2B09978E: jmp 0x2b099799 */ 9054 L_2B099790: 9055 PUSH32(esp, ecx); /* 0x2B099790: push ecx */ 9056 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099791: call 0x2b0ab1ba */ /* not lifted */ 9057 RECOMP_FLAGS_IN(); 9058 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9059 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9060 esp = esp + 4; /* 0x2B099796: add esp, 4 */ 9061 _flag_k = FK_ADD; 9062 L_2B099799: 9063 MEM32(esi + 0x18) = ebx; /* 0x2B099799: mov dword ptr [esi + 0x18], ebx */ 9064 MEM32(esi + 0x1C) = ebx; /* 0x2B09979C: mov dword ptr [esi + 0x1c], ebx */ 9065 MEM32(esi + 0x20) = ebx; /* 0x2B09979F: mov dword ptr [esi + 0x20], ebx */ 9066 eax = MEM32(esi + 0x8); /* 0x2B0997A2: mov eax, dword ptr [esi + 8] */ 9067 /* cmp eax, ebx */ /* 0x2B0997A5: cmp eax, ebx */ 9068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9070 _flag_k = FK_CMP; 9071 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997CF; /* 0x2B0997A7: je 0x2b0997cf */ 9072 L_2B0997A9: 9073 ecx = eax + (-0x1); /* 0x2B0997A9: lea ecx, [eax - 1] */ 9074 SET_LO8(eax, MEM8(ecx)); /* 0x2B0997AC: mov al, byte ptr [ecx] */ 9075 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0997AE: cmp al, bl */ 9076 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9078 _flag_k = FK_NARROW(FK_CMP, 24); 9079 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997C6; /* 0x2B0997B0: je 0x2b0997c6 */ 9080 L_2B0997B2: 9081 /* cmp LO8(eax), 0xFFu */ /* 0x2B0997B2: cmp al, 0xff */ 9082 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 9083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9084 _flag_k = FK_NARROW(FK_CMP, 24); 9085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997C6; /* 0x2B0997B4: je 0x2b0997c6 */ 9086 L_2B0997B6: 9087 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9088 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0997B6: dec al */ 9089 _flag_k = FK_NARROW(FK_DEC, 24); 9090 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0997B8: mov byte ptr [ecx], al */ 9091 MEM32(esi + 0x8) = ebx; /* 0x2B0997BA: mov dword ptr [esi + 8], ebx */ 9092 MEM32(esi + 0xC) = ebx; /* 0x2B0997BD: mov dword ptr [esi + 0xc], ebx */ 9093 MEM32(esi + 0x10) = ebx; /* 0x2B0997C0: mov dword ptr [esi + 0x10], ebx */ 9094 esi = POP32_VAL(esp); /* 0x2B0997C3: pop esi */ 9095 ebx = POP32_VAL(esp); /* 0x2B0997C4: pop ebx */ 9096 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0997C5: ret */ 9097 L_2B0997C6: 9098 PUSH32(esp, ecx); /* 0x2B0997C6: push ecx */ 9099 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0997C7: call 0x2b0ab1ba */ /* not lifted */ 9100 RECOMP_FLAGS_IN(); 9101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9103 esp = esp + 4; /* 0x2B0997CC: add esp, 4 */ 9104 _flag_k = FK_ADD; 9105 L_2B0997CF: 9106 MEM32(esi + 0x8) = ebx; /* 0x2B0997CF: mov dword ptr [esi + 8], ebx */ 9107 MEM32(esi + 0xC) = ebx; /* 0x2B0997D2: mov dword ptr [esi + 0xc], ebx */ 9108 MEM32(esi + 0x10) = ebx; /* 0x2B0997D5: mov dword ptr [esi + 0x10], ebx */ 9109 esi = POP32_VAL(esp); /* 0x2B0997D8: pop esi */ 9110 ebx = POP32_VAL(esp); /* 0x2B0997D9: pop ebx */ 9111 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0997DA: ret */ 9112 RECOMP_REGS_OUT(); 9113 } 9114 9115 void sub_2B099799(void) { 9116 int _fpu_cmp = 0; 9117 uint32_t _cf = 0; 9118 int _df = 1; 9119 uint32_t _flag_k = FK_NONE; 9120 uint32_t _flag_a = 0, _flag_b = 0; 9121 uint32_t _itail_tgt = 0; 9122 RECOMP_REGS_LOCALS 9123 RECOMP_ENTER(0x2B099799u); 9124 9125 L_2B099799: 9126 MEM32(esi + 0x18) = ebx; /* 0x2B099799: mov dword ptr [esi + 0x18], ebx */ 9127 MEM32(esi + 0x1C) = ebx; /* 0x2B09979C: mov dword ptr [esi + 0x1c], ebx */ 9128 MEM32(esi + 0x20) = ebx; /* 0x2B09979F: mov dword ptr [esi + 0x20], ebx */ 9129 eax = MEM32(esi + 0x8); /* 0x2B0997A2: mov eax, dword ptr [esi + 8] */ 9130 /* cmp eax, ebx */ /* 0x2B0997A5: cmp eax, ebx */ 9131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9133 _flag_k = FK_CMP; 9134 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997CF; /* 0x2B0997A7: je 0x2b0997cf */ 9135 L_2B0997A9: 9136 ecx = eax + (-0x1); /* 0x2B0997A9: lea ecx, [eax - 1] */ 9137 SET_LO8(eax, MEM8(ecx)); /* 0x2B0997AC: mov al, byte ptr [ecx] */ 9138 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0997AE: cmp al, bl */ 9139 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9141 _flag_k = FK_NARROW(FK_CMP, 24); 9142 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997C6; /* 0x2B0997B0: je 0x2b0997c6 */ 9143 L_2B0997B2: 9144 /* cmp LO8(eax), 0xFFu */ /* 0x2B0997B2: cmp al, 0xff */ 9145 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 9146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9147 _flag_k = FK_NARROW(FK_CMP, 24); 9148 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0997C6; /* 0x2B0997B4: je 0x2b0997c6 */ 9149 L_2B0997B6: 9150 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9151 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0997B6: dec al */ 9152 _flag_k = FK_NARROW(FK_DEC, 24); 9153 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0997B8: mov byte ptr [ecx], al */ 9154 MEM32(esi + 0x8) = ebx; /* 0x2B0997BA: mov dword ptr [esi + 8], ebx */ 9155 MEM32(esi + 0xC) = ebx; /* 0x2B0997BD: mov dword ptr [esi + 0xc], ebx */ 9156 MEM32(esi + 0x10) = ebx; /* 0x2B0997C0: mov dword ptr [esi + 0x10], ebx */ 9157 esi = POP32_VAL(esp); /* 0x2B0997C3: pop esi */ 9158 ebx = POP32_VAL(esp); /* 0x2B0997C4: pop ebx */ 9159 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0997C5: ret */ 9160 L_2B0997C6: 9161 PUSH32(esp, ecx); /* 0x2B0997C6: push ecx */ 9162 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0997C7: call 0x2b0ab1ba */ /* not lifted */ 9163 RECOMP_FLAGS_IN(); 9164 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9165 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9166 esp = esp + 4; /* 0x2B0997CC: add esp, 4 */ 9167 _flag_k = FK_ADD; 9168 L_2B0997CF: 9169 MEM32(esi + 0x8) = ebx; /* 0x2B0997CF: mov dword ptr [esi + 8], ebx */ 9170 MEM32(esi + 0xC) = ebx; /* 0x2B0997D2: mov dword ptr [esi + 0xc], ebx */ 9171 MEM32(esi + 0x10) = ebx; /* 0x2B0997D5: mov dword ptr [esi + 0x10], ebx */ 9172 esi = POP32_VAL(esp); /* 0x2B0997D8: pop esi */ 9173 ebx = POP32_VAL(esp); /* 0x2B0997D9: pop ebx */ 9174 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0997DA: ret */ 9175 RECOMP_REGS_OUT(); 9176 } 9177 9178 void sub_2B0997E0(void) { 9179 int _fpu_cmp = 0; 9180 uint32_t _cf = 0; 9181 int _df = 1; 9182 uint32_t _flag_k = FK_NONE; 9183 uint32_t _flag_a = 0, _flag_b = 0; 9184 uint32_t _itail_tgt = 0; 9185 RECOMP_REGS_LOCALS 9186 RECOMP_ENTER(0x2B0997E0u); 9187 9188 L_2B0997E0: 9189 PUSH32(esp, ebp); /* 0x2B0997E0: push ebp */ 9190 ebp = esp; /* 0x2B0997E1: mov ebp, esp */ 9191 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0997E3: push -1 */ 9192 PUSH32(esp, 0x2B0B3741u); /* 0x2B0997E5: push 0x2b0b3741 */ 9193 eax = MEM32(FS_BASE + (0)); /* 0x2B0997EA: mov eax, dword ptr fs:[0] */ 9194 PUSH32(esp, eax); /* 0x2B0997F0: push eax */ 9195 MEM32(FS_BASE + (0)) = esp; /* 0x2B0997F1: mov dword ptr fs:[0], esp */ 9196 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 9197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9198 esp = esp - 0x10u; /* 0x2B0997F8: sub esp, 0x10 */ 9199 _flag_k = FK_CMP; 9200 PUSH32(esp, ebx); /* 0x2B0997FB: push ebx */ 9201 PUSH32(esp, esi); /* 0x2B0997FC: push esi */ 9202 esi = ecx; /* 0x2B0997FD: mov esi, ecx */ 9203 PUSH32(esp, edi); /* 0x2B0997FF: push edi */ 9204 MEM32(ebp + (-0x14)) = esi; /* 0x2B099800: mov dword ptr [ebp - 0x14], esi */ 9205 PUSH32(esp, esi); /* 0x2B099803: push esi */ 9206 PUSH32(esp, 0xFEu); /* 0x2B099804: push 0xfe */ 9207 PUSH32(esp, 0xEu); /* 0x2B099809: push 0xe */ 9208 MEM32(ebp + (-0x4)) = 2; /* 0x2B09980B: mov dword ptr [ebp - 4], 2 */ 9209 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B099812: call dword ptr [0x2b0b53cc] */ 9210 RECOMP_FLAGS_IN(); 9211 ecx = eax; /* 0x2B099818: mov ecx, eax */ 9212 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B09981A: call dword ptr [0x2b0b5380] */ 9213 RECOMP_FLAGS_IN(); 9214 edi = MEM32(esi + 0x3C); /* 0x2B099820: mov edi, dword ptr [esi + 0x3c] */ 9215 /* test edi, edi */ /* 0x2B099823: test edi, edi */ 9216 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9217 _cf = 0; 9218 _flag_k = FK_TEST; 9219 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099838; /* 0x2B099825: je 0x2b099838 */ 9220 L_2B099827: 9221 ecx = edi; /* 0x2B099827: mov ecx, edi */ 9222 RECOMP_ICALL(MEM32(0x2B0B5A00)); /* 0x2B099829: call dword ptr [0x2b0b5a00] */ 9223 RECOMP_FLAGS_IN(); 9224 PUSH32(esp, edi); /* 0x2B09982F: push edi */ 9225 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099830: call 0x2b0ab1ba */ /* not lifted */ 9226 RECOMP_FLAGS_IN(); 9227 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9229 esp = esp + 4; /* 0x2B099835: add esp, 4 */ 9230 _flag_k = FK_ADD; 9231 L_2B099838: 9232 edi = MEM32(esi + 0x40); /* 0x2B099838: mov edi, dword ptr [esi + 0x40] */ 9233 /* test edi, edi */ /* 0x2B09983B: test edi, edi */ 9234 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9235 _cf = 0; 9236 _flag_k = FK_TEST; 9237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099850; /* 0x2B09983D: je 0x2b099850 */ 9238 L_2B09983F: 9239 ecx = edi; /* 0x2B09983F: mov ecx, edi */ 9240 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B099841: call dword ptr [0x2b0b5b2c] */ 9241 RECOMP_FLAGS_IN(); 9242 PUSH32(esp, edi); /* 0x2B099847: push edi */ 9243 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099848: call 0x2b0ab1ba */ /* not lifted */ 9244 RECOMP_FLAGS_IN(); 9245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9247 esp = esp + 4; /* 0x2B09984D: add esp, 4 */ 9248 _flag_k = FK_ADD; 9249 L_2B099850: 9250 ecx = MEM32(esi + 0x50); /* 0x2B099850: mov ecx, dword ptr [esi + 0x50] */ 9251 /* test ecx, ecx */ /* 0x2B099853: test ecx, ecx */ 9252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9253 _cf = 0; 9254 _flag_k = FK_TEST; 9255 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09985D; /* 0x2B099855: je 0x2b09985d */ 9256 L_2B099857: 9257 eax = MEM32(ecx); /* 0x2B099857: mov eax, dword ptr [ecx] */ 9258 PUSH32(esp, 1); /* 0x2B099859: push 1 */ 9259 RECOMP_ICALL(MEM32(eax)); /* 0x2B09985B: call dword ptr [eax] */ 9260 RECOMP_FLAGS_IN(); 9261 L_2B09985D: 9262 edi = MEM32(esi + 0x4C); /* 0x2B09985D: mov edi, dword ptr [esi + 0x4c] */ 9263 /* test edi, edi */ /* 0x2B099860: test edi, edi */ 9264 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9265 _cf = 0; 9266 _flag_k = FK_TEST; 9267 ebx = MEM32(0x2B0B5BC4); /* 0x2B099862: mov ebx, dword ptr [0x2b0b5bc4] */ 9268 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099877; /* 0x2B099868: je 0x2b099877 */ 9269 L_2B09986A: 9270 ecx = edi; /* 0x2B09986A: mov ecx, edi */ 9271 RECOMP_ICALL(ebx); /* 0x2B09986C: call ebx */ 9272 RECOMP_FLAGS_IN(); 9273 PUSH32(esp, edi); /* 0x2B09986E: push edi */ 9274 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09986F: call 0x2b0ab1ba */ /* not lifted */ 9275 RECOMP_FLAGS_IN(); 9276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9278 esp = esp + 4; /* 0x2B099874: add esp, 4 */ 9279 _flag_k = FK_ADD; 9280 L_2B099877: 9281 edi = MEM32(esi + 0x5C); /* 0x2B099877: mov edi, dword ptr [esi + 0x5c] */ 9282 /* test edi, edi */ /* 0x2B09987A: test edi, edi */ 9283 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9284 _cf = 0; 9285 _flag_k = FK_TEST; 9286 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09988F; /* 0x2B09987C: je 0x2b09988f */ 9287 L_2B09987E: 9288 ecx = edi; /* 0x2B09987E: mov ecx, edi */ 9289 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B099880: call dword ptr [0x2b0b5a68] */ 9290 RECOMP_FLAGS_IN(); 9291 PUSH32(esp, edi); /* 0x2B099886: push edi */ 9292 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099887: call 0x2b0ab1ba */ /* not lifted */ 9293 RECOMP_FLAGS_IN(); 9294 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9296 esp = esp + 4; /* 0x2B09988C: add esp, 4 */ 9297 _flag_k = FK_ADD; 9298 L_2B09988F: 9299 ecx = MEM32(esi + 0x64); /* 0x2B09988F: mov ecx, dword ptr [esi + 0x64] */ 9300 /* test ecx, ecx */ /* 0x2B099892: test ecx, ecx */ 9301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9302 _cf = 0; 9303 _flag_k = FK_TEST; 9304 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09989C; /* 0x2B099894: je 0x2b09989c */ 9305 L_2B099896: 9306 edx = MEM32(ecx); /* 0x2B099896: mov edx, dword ptr [ecx] */ 9307 PUSH32(esp, 1); /* 0x2B099898: push 1 */ 9308 RECOMP_ICALL(MEM32(edx)); /* 0x2B09989A: call dword ptr [edx] */ 9309 RECOMP_FLAGS_IN(); 9310 L_2B09989C: 9311 edi = MEM32(esi + 0x60); /* 0x2B09989C: mov edi, dword ptr [esi + 0x60] */ 9312 /* test edi, edi */ /* 0x2B09989F: test edi, edi */ 9313 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9314 _cf = 0; 9315 _flag_k = FK_TEST; 9316 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998B0; /* 0x2B0998A1: je 0x2b0998b0 */ 9317 L_2B0998A3: 9318 ecx = edi; /* 0x2B0998A3: mov ecx, edi */ 9319 RECOMP_ICALL(ebx); /* 0x2B0998A5: call ebx */ 9320 RECOMP_FLAGS_IN(); 9321 PUSH32(esp, edi); /* 0x2B0998A7: push edi */ 9322 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0998A8: call 0x2b0ab1ba */ /* not lifted */ 9323 RECOMP_FLAGS_IN(); 9324 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9326 esp = esp + 4; /* 0x2B0998AD: add esp, 4 */ 9327 _flag_k = FK_ADD; 9328 L_2B0998B0: 9329 ecx = MEM32(esi + 0x6C); /* 0x2B0998B0: mov ecx, dword ptr [esi + 0x6c] */ 9330 /* test ecx, ecx */ /* 0x2B0998B3: test ecx, ecx */ 9331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9332 _cf = 0; 9333 _flag_k = FK_TEST; 9334 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998BD; /* 0x2B0998B5: je 0x2b0998bd */ 9335 L_2B0998B7: 9336 eax = MEM32(ecx); /* 0x2B0998B7: mov eax, dword ptr [ecx] */ 9337 PUSH32(esp, 1); /* 0x2B0998B9: push 1 */ 9338 RECOMP_ICALL(MEM32(eax)); /* 0x2B0998BB: call dword ptr [eax] */ 9339 RECOMP_FLAGS_IN(); 9340 L_2B0998BD: 9341 edi = MEM32(esi + 0x68); /* 0x2B0998BD: mov edi, dword ptr [esi + 0x68] */ 9342 /* test edi, edi */ /* 0x2B0998C0: test edi, edi */ 9343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9344 _cf = 0; 9345 _flag_k = FK_TEST; 9346 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998D1; /* 0x2B0998C2: je 0x2b0998d1 */ 9347 L_2B0998C4: 9348 ecx = edi; /* 0x2B0998C4: mov ecx, edi */ 9349 RECOMP_ICALL(ebx); /* 0x2B0998C6: call ebx */ 9350 RECOMP_FLAGS_IN(); 9351 PUSH32(esp, edi); /* 0x2B0998C8: push edi */ 9352 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0998C9: call 0x2b0ab1ba */ /* not lifted */ 9353 RECOMP_FLAGS_IN(); 9354 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9356 esp = esp + 4; /* 0x2B0998CE: add esp, 4 */ 9357 _flag_k = FK_ADD; 9358 L_2B0998D1: 9359 ecx = MEM32(esi + 0x58); /* 0x2B0998D1: mov ecx, dword ptr [esi + 0x58] */ 9360 /* test ecx, ecx */ /* 0x2B0998D4: test ecx, ecx */ 9361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9362 _cf = 0; 9363 _flag_k = FK_TEST; 9364 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998DE; /* 0x2B0998D6: je 0x2b0998de */ 9365 L_2B0998D8: 9366 edx = MEM32(ecx); /* 0x2B0998D8: mov edx, dword ptr [ecx] */ 9367 PUSH32(esp, 1); /* 0x2B0998DA: push 1 */ 9368 RECOMP_ICALL(MEM32(edx)); /* 0x2B0998DC: call dword ptr [edx] */ 9369 RECOMP_FLAGS_IN(); 9370 L_2B0998DE: 9371 edi = MEM32(esi + 0x54); /* 0x2B0998DE: mov edi, dword ptr [esi + 0x54] */ 9372 /* test edi, edi */ /* 0x2B0998E1: test edi, edi */ 9373 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9374 _cf = 0; 9375 _flag_k = FK_TEST; 9376 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998F2; /* 0x2B0998E3: je 0x2b0998f2 */ 9377 L_2B0998E5: 9378 ecx = edi; /* 0x2B0998E5: mov ecx, edi */ 9379 RECOMP_ICALL(ebx); /* 0x2B0998E7: call ebx */ 9380 RECOMP_FLAGS_IN(); 9381 PUSH32(esp, edi); /* 0x2B0998E9: push edi */ 9382 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0998EA: call 0x2b0ab1ba */ /* not lifted */ 9383 RECOMP_FLAGS_IN(); 9384 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9385 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9386 esp = esp + 4; /* 0x2B0998EF: add esp, 4 */ 9387 _flag_k = FK_ADD; 9388 L_2B0998F2: 9389 ecx = MEM32(esi + 0x74); /* 0x2B0998F2: mov ecx, dword ptr [esi + 0x74] */ 9390 /* test ecx, ecx */ /* 0x2B0998F5: test ecx, ecx */ 9391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9392 _cf = 0; 9393 _flag_k = FK_TEST; 9394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0998FF; /* 0x2B0998F7: je 0x2b0998ff */ 9395 L_2B0998F9: 9396 eax = MEM32(ecx); /* 0x2B0998F9: mov eax, dword ptr [ecx] */ 9397 PUSH32(esp, 1); /* 0x2B0998FB: push 1 */ 9398 RECOMP_ICALL(MEM32(eax)); /* 0x2B0998FD: call dword ptr [eax] */ 9399 RECOMP_FLAGS_IN(); 9400 L_2B0998FF: 9401 edi = MEM32(esi + 0x48); /* 0x2B0998FF: mov edi, dword ptr [esi + 0x48] */ 9402 /* test edi, edi */ /* 0x2B099902: test edi, edi */ 9403 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9404 _cf = 0; 9405 _flag_k = FK_TEST; 9406 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099917; /* 0x2B099904: je 0x2b099917 */ 9407 L_2B099906: 9408 ecx = edi; /* 0x2B099906: mov ecx, edi */ 9409 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B099908: call dword ptr [0x2b0b5b2c] */ 9410 RECOMP_FLAGS_IN(); 9411 PUSH32(esp, edi); /* 0x2B09990E: push edi */ 9412 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09990F: call 0x2b0ab1ba */ /* not lifted */ 9413 RECOMP_FLAGS_IN(); 9414 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9415 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9416 esp = esp + 4; /* 0x2B099914: add esp, 4 */ 9417 _flag_k = FK_ADD; 9418 L_2B099917: 9419 ecx = MEM32(esi + 0x44); /* 0x2B099917: mov ecx, dword ptr [esi + 0x44] */ 9420 /* test ecx, ecx */ /* 0x2B09991A: test ecx, ecx */ 9421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9422 _cf = 0; 9423 _flag_k = FK_TEST; 9424 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099924; /* 0x2B09991C: je 0x2b099924 */ 9425 L_2B09991E: 9426 edx = MEM32(ecx); /* 0x2B09991E: mov edx, dword ptr [ecx] */ 9427 PUSH32(esp, 1); /* 0x2B099920: push 1 */ 9428 RECOMP_ICALL(MEM32(edx)); /* 0x2B099922: call dword ptr [edx] */ 9429 RECOMP_FLAGS_IN(); 9430 L_2B099924: 9431 edi = MEM32(esi + 0x70); /* 0x2B099924: mov edi, dword ptr [esi + 0x70] */ 9432 /* test edi, edi */ /* 0x2B099927: test edi, edi */ 9433 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9434 _cf = 0; 9435 _flag_k = FK_TEST; 9436 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09993C; /* 0x2B099929: je 0x2b09993c */ 9437 L_2B09992B: 9438 ecx = edi; /* 0x2B09992B: mov ecx, edi */ 9439 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B09992D: call dword ptr [0x2b0b5b30] */ 9440 RECOMP_FLAGS_IN(); 9441 PUSH32(esp, edi); /* 0x2B099933: push edi */ 9442 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099934: call 0x2b0ab1ba */ /* not lifted */ 9443 RECOMP_FLAGS_IN(); 9444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9446 esp = esp + 4; /* 0x2B099939: add esp, 4 */ 9447 _flag_k = FK_ADD; 9448 L_2B09993C: 9449 ebx = MEM32(esi + 0x34); /* 0x2B09993C: mov ebx, dword ptr [esi + 0x34] */ 9450 eax = MEM32(ebx); /* 0x2B09993F: mov eax, dword ptr [ebx] */ 9451 /* cmp eax, ebx */ /* 0x2B099941: cmp eax, ebx */ 9452 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9454 _flag_k = FK_CMP; 9455 edi = esi + 0x30; /* 0x2B099943: lea edi, [esi + 0x30] */ 9456 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B099946: mov byte ptr [ebp - 4], 1 */ 9457 MEM32(ebp + (-0x10)) = eax; /* 0x2B09994A: mov dword ptr [ebp - 0x10], eax */ 9458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099970; /* 0x2B09994D: je 0x2b099970 */ 9459 L_2B09994F: 9460 PUSH32(esp, 0); /* 0x2B09994F: push 0 */ 9461 eax = ebp + (-0x18); /* 0x2B099951: lea eax, [ebp - 0x18] */ 9462 PUSH32(esp, eax); /* 0x2B099954: push eax */ 9463 ecx = ebp + (-0x10); /* 0x2B099955: lea ecx, [ebp - 0x10] */ 9464 RECOMP_ICALL(0x2B005B00u); /* 0x2B099958: call 0x2b005b00 */ /* not lifted */ 9465 RECOMP_FLAGS_IN(); 9466 ecx = MEM32(eax); /* 0x2B09995D: mov ecx, dword ptr [eax] */ 9467 PUSH32(esp, ecx); /* 0x2B09995F: push ecx */ 9468 edx = ebp + (-0x1C); /* 0x2B099960: lea edx, [ebp - 0x1c] */ 9469 PUSH32(esp, edx); /* 0x2B099963: push edx */ 9470 ecx = edi; /* 0x2B099964: mov ecx, edi */ 9471 RECOMP_ICALL(0x2B09B4C0u); /* 0x2B099966: call 0x2b09b4c0 */ /* not lifted */ 9472 RECOMP_FLAGS_IN(); 9473 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B09996B: cmp dword ptr [ebp - 0x10], ebx */ 9474 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 9475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9476 _flag_k = FK_CMP; 9477 RECOMP_BACKEDGE(); 9478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09994F; /* 0x2B09996E: jne 0x2b09994f */ 9479 L_2B099970: 9480 eax = MEM32(edi + 0x4); /* 0x2B099970: mov eax, dword ptr [edi + 4] */ 9481 PUSH32(esp, eax); /* 0x2B099973: push eax */ 9482 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B099974: call 0x2b0ab1ba */ /* not lifted */ 9483 RECOMP_FLAGS_IN(); 9484 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9485 eax = 0; /* 0x2B099979: xor eax, eax */ 9486 _cf = 0; 9487 _flag_k = FK_TEST; 9488 MEM32(edi + 0x4) = eax; /* 0x2B09997B: mov dword ptr [edi + 4], eax */ 9489 MEM32(edi + 0x8) = eax; /* 0x2B09997E: mov dword ptr [edi + 8], eax */ 9490 ebx = MEM32(esi + 0x28); /* 0x2B099981: mov ebx, dword ptr [esi + 0x28] */ 9491 edi = esi + 0x24; /* 0x2B099984: lea edi, [esi + 0x24] */ 9492 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x2B099987: mov byte ptr [ebp - 4], al */ 9493 eax = MEM32(ebx); /* 0x2B09998A: mov eax, dword ptr [ebx] */ 9494 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9495 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9496 esp = esp + 4; /* 0x2B09998C: add esp, 4 */ 9497 _flag_k = FK_ADD; 9498 /* cmp eax, ebx */ /* 0x2B09998F: cmp eax, ebx */ 9499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9501 _flag_k = FK_CMP; 9502 MEM32(ebp + (-0x10)) = eax; /* 0x2B099991: mov dword ptr [ebp - 0x10], eax */ 9503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0999B7; /* 0x2B099994: je 0x2b0999b7 */ 9504 L_2B099996: 9505 PUSH32(esp, 0); /* 0x2B099996: push 0 */ 9506 eax = ebp + (-0x1C); /* 0x2B099998: lea eax, [ebp - 0x1c] */ 9507 PUSH32(esp, eax); /* 0x2B09999B: push eax */ 9508 ecx = ebp + (-0x10); /* 0x2B09999C: lea ecx, [ebp - 0x10] */ 9509 RECOMP_ICALL(0x2B005B00u); /* 0x2B09999F: call 0x2b005b00 */ /* not lifted */ 9510 RECOMP_FLAGS_IN(); 9511 ecx = MEM32(eax); /* 0x2B0999A4: mov ecx, dword ptr [eax] */ 9512 PUSH32(esp, ecx); /* 0x2B0999A6: push ecx */ 9513 edx = ebp + (-0x18); /* 0x2B0999A7: lea edx, [ebp - 0x18] */ 9514 PUSH32(esp, edx); /* 0x2B0999AA: push edx */ 9515 ecx = edi; /* 0x2B0999AB: mov ecx, edi */ 9516 RECOMP_ICALL(0x2B09B4C0u); /* 0x2B0999AD: call 0x2b09b4c0 */ /* not lifted */ 9517 RECOMP_FLAGS_IN(); 9518 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B0999B2: cmp dword ptr [ebp - 0x10], ebx */ 9519 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 9520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9521 _flag_k = FK_CMP; 9522 RECOMP_BACKEDGE(); 9523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B099996; /* 0x2B0999B5: jne 0x2b099996 */ 9524 L_2B0999B7: 9525 eax = MEM32(edi + 0x4); /* 0x2B0999B7: mov eax, dword ptr [edi + 4] */ 9526 PUSH32(esp, eax); /* 0x2B0999BA: push eax */ 9527 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0999BB: call 0x2b0ab1ba */ /* not lifted */ 9528 RECOMP_FLAGS_IN(); 9529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9530 ebx = 0; /* 0x2B0999C0: xor ebx, ebx */ 9531 _cf = 0; 9532 _flag_k = FK_TEST; 9533 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9534 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9535 esp = esp + 4; /* 0x2B0999C2: add esp, 4 */ 9536 _flag_k = FK_ADD; 9537 MEM32(edi + 0x4) = ebx; /* 0x2B0999C5: mov dword ptr [edi + 4], ebx */ 9538 MEM32(edi + 0x8) = ebx; /* 0x2B0999C8: mov dword ptr [edi + 8], ebx */ 9539 eax = MEM32(esi + 0x1C); /* 0x2B0999CB: mov eax, dword ptr [esi + 0x1c] */ 9540 ecx = MEM32(eax); /* 0x2B0999CE: mov ecx, dword ptr [eax] */ 9541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u); 9542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9543 esi = esi + 0x18u; /* 0x2B0999D0: add esi, 0x18 */ 9544 _flag_k = FK_ADD; 9545 PUSH32(esp, eax); /* 0x2B0999D3: push eax */ 9546 PUSH32(esp, ecx); /* 0x2B0999D4: push ecx */ 9547 eax = ebp + (-0x1C); /* 0x2B0999D5: lea eax, [ebp - 0x1c] */ 9548 PUSH32(esp, eax); /* 0x2B0999D8: push eax */ 9549 ecx = esi; /* 0x2B0999D9: mov ecx, esi */ 9550 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0999DB: mov dword ptr [ebp - 4], 0xffffffff */ 9551 RECOMP_ICALL(0x2B09B430u); /* 0x2B0999E2: call 0x2b09b430 */ /* not lifted */ 9552 RECOMP_FLAGS_IN(); 9553 ecx = MEM32(esi + 0x4); /* 0x2B0999E7: mov ecx, dword ptr [esi + 4] */ 9554 PUSH32(esp, ecx); /* 0x2B0999EA: push ecx */ 9555 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0999EB: call 0x2b0ab1ba */ /* not lifted */ 9556 RECOMP_FLAGS_IN(); 9557 ecx = MEM32(ebp + (-0xC)); /* 0x2B0999F0: mov ecx, dword ptr [ebp - 0xc] */ 9558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9560 esp = esp + 4; /* 0x2B0999F3: add esp, 4 */ 9561 _flag_k = FK_ADD; 9562 MEM32(esi + 0x4) = ebx; /* 0x2B0999F6: mov dword ptr [esi + 4], ebx */ 9563 MEM32(esi + 0x8) = ebx; /* 0x2B0999F9: mov dword ptr [esi + 8], ebx */ 9564 edi = POP32_VAL(esp); /* 0x2B0999FC: pop edi */ 9565 esi = POP32_VAL(esp); /* 0x2B0999FD: pop esi */ 9566 ebx = POP32_VAL(esp); /* 0x2B0999FE: pop ebx */ 9567 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0999FF: mov dword ptr fs:[0], ecx */ 9568 esp = ebp; /* 0x2B099A06: mov esp, ebp */ 9569 ebp = POP32_VAL(esp); /* 0x2B099A08: pop ebp */ 9570 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B099A09: ret */ 9571 RECOMP_REGS_OUT(); 9572 } 9573 9574 void sub_2B099A10(void) { 9575 int _fpu_cmp = 0; 9576 uint32_t _cf = 0; 9577 int _df = 1; 9578 uint32_t _flag_k = FK_NONE; 9579 uint32_t _flag_a = 0, _flag_b = 0; 9580 uint32_t _itail_tgt = 0; 9581 RECOMP_REGS_LOCALS 9582 RECOMP_ENTER(0x2B099A10u); 9583 9584 L_2B099A10: 9585 PUSH32(esp, ebp); /* 0x2B099A10: push ebp */ 9586 ebp = esp; /* 0x2B099A11: mov ebp, esp */ 9587 eax = MEM32(ebp + 0x8); /* 0x2B099A13: mov eax, dword ptr [ebp + 8] */ 9588 /* test eax, eax */ /* 0x2B099A16: test eax, eax */ 9589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9590 _cf = 0; 9591 _flag_k = FK_TEST; 9592 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099A21; /* 0x2B099A18: je 0x2b099a21 */ 9593 L_2B099A1A: 9594 MEM8(eax + 0x8C) = (uint8_t)(1); /* 0x2B099A1A: mov byte ptr [eax + 0x8c], 1 */ 9595 L_2B099A21: 9596 ebp = POP32_VAL(esp); /* 0x2B099A21: pop ebp */ 9597 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B099A22: ret */ 9598 RECOMP_REGS_OUT(); 9599 } 9600 9601 void sub_2B099A30(void) { 9602 int _fpu_cmp = 0; 9603 uint32_t _cf = 0; 9604 int _df = 1; 9605 uint32_t _flag_k = FK_NONE; 9606 uint32_t _flag_a = 0, _flag_b = 0; 9607 uint32_t _itail_tgt = 0; 9608 RECOMP_REGS_LOCALS 9609 RECOMP_ENTER(0x2B099A30u); 9610 9611 L_2B099A30: 9612 PUSH32(esp, ebp); /* 0x2B099A30: push ebp */ 9613 ebp = esp; /* 0x2B099A31: mov ebp, esp */ 9614 eax = MEM32(ebp + 0x8); /* 0x2B099A33: mov eax, dword ptr [ebp + 8] */ 9615 edx = MEM32(ecx + 0x4); /* 0x2B099A36: mov edx, dword ptr [ecx + 4] */ 9616 /* cmp edx, MEM32(eax + 0x4) */ /* 0x2B099A39: cmp edx, dword ptr [eax + 4] */ 9617 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 9618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9619 _flag_k = FK_CMP; 9620 if (CMP_NE(_flag_a, _flag_b)) goto L_2B099A4B; /* 0x2B099A3C: jne 0x2b099a4b */ 9621 L_2B099A3E: 9622 edx = MEM32(ecx); /* 0x2B099A3E: mov edx, dword ptr [ecx] */ 9623 /* cmp edx, MEM32(eax) */ /* 0x2B099A40: cmp edx, dword ptr [eax] */ 9624 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 9625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9626 _flag_k = FK_CMP; 9627 if (CMP_NE(_flag_a, _flag_b)) goto L_2B099A4B; /* 0x2B099A42: jne 0x2b099a4b */ 9628 L_2B099A44: 9629 MEM8(ecx + 0x8C) = (uint8_t)(1); /* 0x2B099A44: mov byte ptr [ecx + 0x8c], 1 */ 9630 L_2B099A4B: 9631 ebp = POP32_VAL(esp); /* 0x2B099A4B: pop ebp */ 9632 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B099A4C: ret 4 */ 9633 RECOMP_REGS_OUT(); 9634 } 9635 9636 void sub_2B099A50(void) { 9637 int _fpu_cmp = 0; 9638 uint32_t _cf = 0; 9639 int _df = 1; 9640 uint32_t _flag_k = FK_NONE; 9641 uint32_t _flag_a = 0, _flag_b = 0; 9642 uint32_t _itail_tgt = 0; 9643 RECOMP_REGS_LOCALS 9644 RECOMP_ENTER(0x2B099A50u); 9645 9646 L_2B099A50: 9647 PUSH32(esp, ebp); /* 0x2B099A50: push ebp */ 9648 ebp = esp; /* 0x2B099A51: mov ebp, esp */ 9649 PUSH32(esp, esi); /* 0x2B099A53: push esi */ 9650 esi = MEM32(ebp + 0x8); /* 0x2B099A54: mov esi, dword ptr [ebp + 8] */ 9651 /* test esi, esi */ /* 0x2B099A57: test esi, esi */ 9652 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9653 _cf = 0; 9654 _flag_k = FK_TEST; 9655 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099A71; /* 0x2B099A59: je 0x2b099a71 */ 9656 L_2B099A5B: 9657 PUSH32(esp, esi); /* 0x2B099A5B: push esi */ 9658 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B099A5C: call dword ptr [0x2b0b5d6c] */ 9659 RECOMP_FLAGS_IN(); 9660 ecx = eax; /* 0x2B099A62: mov ecx, eax */ 9661 RECOMP_ICALL(MEM32(0x2B0B5D00)); /* 0x2B099A64: call dword ptr [0x2b0b5d00] */ 9662 RECOMP_FLAGS_IN(); 9663 MEM8(esi + 0x8C) = (uint8_t)(1); /* 0x2B099A6A: mov byte ptr [esi + 0x8c], 1 */ 9664 L_2B099A71: 9665 esi = POP32_VAL(esp); /* 0x2B099A71: pop esi */ 9666 ebp = POP32_VAL(esp); /* 0x2B099A72: pop ebp */ 9667 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B099A73: ret */ 9668 RECOMP_REGS_OUT(); 9669 } 9670 9671 void sub_2B099A80(void) { 9672 int _fpu_cmp = 0; 9673 uint32_t _cf = 0; 9674 int _df = 1; 9675 uint32_t _flag_k = FK_NONE; 9676 uint32_t _flag_a = 0, _flag_b = 0; 9677 uint32_t _itail_tgt = 0; 9678 RECOMP_REGS_LOCALS 9679 RECOMP_ENTER(0x2B099A80u); 9680 9681 L_2B099A80: 9682 PUSH32(esp, ebp); /* 0x2B099A80: push ebp */ 9683 ebp = esp; /* 0x2B099A81: mov ebp, esp */ 9684 PUSH32(esp, esi); /* 0x2B099A83: push esi */ 9685 esi = MEM32(ebp + 0x8); /* 0x2B099A84: mov esi, dword ptr [ebp + 8] */ 9686 /* test esi, esi */ /* 0x2B099A87: test esi, esi */ 9687 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9688 _cf = 0; 9689 _flag_k = FK_TEST; 9690 if (TEST_Z(_flag_a, _flag_b)) goto L_2B099AAC; /* 0x2B099A89: je 0x2b099aac */ 9691 L_2B099A8B: 9692 PUSH32(esp, esi); /* 0x2B099A8B: push esi */ 9693 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B099A8C: call dword ptr [0x2b0b5d6c] */ 9694 RECOMP_FLAGS_IN(); 9695 ecx = eax; /* 0x2B099A92: mov ecx, eax */ 9696 RECOMP_ICALL(MEM32(0x2B0B5D04)); /* 0x2B099A94: call dword ptr [0x2b0b5d04] */ 9697 RECOMP_FLAGS_IN(); 9698 ecx = MEM32(esi + 0x54); /* 0x2B099A9A: mov ecx, dword ptr [esi + 0x54] */ 9699 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B099A9D: call dword ptr [0x2b0b5bac] */ 9700 RECOMP_FLAGS_IN(); 9701 ecx = MEM32(esi + 0x58); /* 0x2B099AA3: mov ecx, dword ptr [esi + 0x58] */ 9702 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B099AA6: call dword ptr [0x2b0b5b34] */ 9703 RECOMP_FLAGS_IN(); 9704 L_2B099AAC: 9705 esi = POP32_VAL(esp); /* 0x2B099AAC: pop esi */ 9706 ebp = POP32_VAL(esp); /* 0x2B099AAD: pop ebp */ 9707 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B099AAE: ret */ 9708 RECOMP_REGS_OUT(); 9709 } 9710 9711 void sub_2B099AB0(void) { 9712 int _fpu_cmp = 0; 9713 uint32_t _cf = 0; 9714 int _df = 1; 9715 uint32_t _flag_k = FK_NONE; 9716 uint32_t _flag_a = 0, _flag_b = 0; 9717 uint32_t _itail_tgt = 0; 9718 RECOMP_REGS_LOCALS 9719 RECOMP_ENTER(0x2B099AB0u); 9720 9721 L_2B099AB0: 9722 PUSH32(esp, ebp); /* 0x2B099AB0: push ebp */ 9723 ebp = esp; /* 0x2B099AB1: mov ebp, esp */ 9724 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099AB3: push -1 */ 9725 PUSH32(esp, 0x2B0B3858u); /* 0x2B099AB5: push 0x2b0b3858 */ 9726 eax = MEM32(FS_BASE + (0)); /* 0x2B099ABA: mov eax, dword ptr fs:[0] */ 9727 PUSH32(esp, eax); /* 0x2B099AC0: push eax */ 9728 MEM32(FS_BASE + (0)) = esp; /* 0x2B099AC1: mov dword ptr fs:[0], esp */ 9729 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB0u); 9730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9731 esp = esp - 0xB0u; /* 0x2B099AC8: sub esp, 0xb0 */ 9732 _flag_k = FK_CMP; 9733 PUSH32(esp, ebx); /* 0x2B099ACE: push ebx */ 9734 PUSH32(esp, esi); /* 0x2B099ACF: push esi */ 9735 PUSH32(esp, edi); /* 0x2B099AD0: push edi */ 9736 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9737 esi = 0; /* 0x2B099AD1: xor esi, esi */ 9738 _cf = 0; 9739 _flag_k = FK_TEST; 9740 PUSH32(esp, 0x40u); /* 0x2B099AD3: push 0x40 */ 9741 ebx = ecx; /* 0x2B099AD5: mov ebx, ecx */ 9742 MEM32(ebp + (-0x2C)) = esi; /* 0x2B099AD7: mov dword ptr [ebp - 0x2c], esi */ 9743 MEM32(ebp + (-0xA4)) = 0x6Bu; /* 0x2B099ADA: mov dword ptr [ebp - 0xa4], 0x6b */ 9744 MEM32(ebp + (-0xA0)) = 0x6Cu; /* 0x2B099AE4: mov dword ptr [ebp - 0xa0], 0x6c */ 9745 MEM32(ebp + (-0xA8)) = 0x6Du; /* 0x2B099AEE: mov dword ptr [ebp - 0xa8], 0x6d */ 9746 MEM32(ebp + (-0xAC)) = 0x6Eu; /* 0x2B099AF8: mov dword ptr [ebp - 0xac], 0x6e */ 9747 MEM32(ebp + (-0xB0)) = 0x6Fu; /* 0x2B099B02: mov dword ptr [ebp - 0xb0], 0x6f */ 9748 MEM32(ebp + (-0xB4)) = 0x70u; /* 0x2B099B0C: mov dword ptr [ebp - 0xb4], 0x70 */ 9749 MEM32(ebp + (-0xBC)) = 0x71u; /* 0x2B099B16: mov dword ptr [ebp - 0xbc], 0x71 */ 9750 MEM32(ebp + (-0xB8)) = 0x72u; /* 0x2B099B20: mov dword ptr [ebp - 0xb8], 0x72 */ 9751 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099B2A: call 0x2b0ab212 */ /* not lifted */ 9752 RECOMP_FLAGS_IN(); 9753 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9754 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9755 esp = esp + 4; /* 0x2B099B2F: add esp, 4 */ 9756 _flag_k = FK_ADD; 9757 MEM32(ebp + (-0x10)) = eax; /* 0x2B099B32: mov dword ptr [ebp - 0x10], eax */ 9758 /* cmp eax, esi */ /* 0x2B099B35: cmp eax, esi */ 9759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9761 _flag_k = FK_CMP; 9762 MEM32(ebp + (-0x4)) = esi; /* 0x2B099B37: mov dword ptr [ebp - 4], esi */ 9763 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099B5A; /* 0x2B099B3A: je 0x2b099b5a */ 9764 L_2B099B3C: 9765 ecx = MEM32(ebx + 0x88); /* 0x2B099B3C: mov ecx, dword ptr [ebx + 0x88] */ 9766 PUSH32(esp, ecx); /* 0x2B099B42: push ecx */ 9767 PUSH32(esp, ebx); /* 0x2B099B43: push ebx */ 9768 PUSH32(esp, 0x2B09A950u); /* 0x2B099B44: push 0x2b09a950 */ 9769 edx = ebp + (-0xBC); /* 0x2B099B49: lea edx, [ebp - 0xbc] */ 9770 PUSH32(esp, edx); /* 0x2B099B4F: push edx */ 9771 ecx = eax; /* 0x2B099B50: mov ecx, eax */ 9772 RECOMP_ICALL(MEM32(0x2B0B59F4)); /* 0x2B099B52: call dword ptr [0x2b0b59f4] */ 9773 RECOMP_FLAGS_IN(); 9774 goto L_2B099B5C; /* 0x2B099B58: jmp 0x2b099b5c */ 9775 L_2B099B5A: 9776 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9777 eax = 0; /* 0x2B099B5A: xor eax, eax */ 9778 _cf = 0; 9779 _flag_k = FK_TEST; 9780 L_2B099B5C: 9781 MEM32(ebx + 0x3C) = eax; /* 0x2B099B5C: mov dword ptr [ebx + 0x3c], eax */ 9782 eax = MEM32(eax + 0x3C); /* 0x2B099B5F: mov eax, dword ptr [eax + 0x3c] */ 9783 PUSH32(esp, 0x14u); /* 0x2B099B62: push 0x14 */ 9784 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099B64: mov dword ptr [ebp - 4], 0xffffffff */ 9785 MEM32(eax + 0x90) = 0x2B09A980u; /* 0x2B099B6B: mov dword ptr [eax + 0x90], 0x2b09a980 */ 9786 MEM32(eax + 0x94) = ebx; /* 0x2B099B75: mov dword ptr [eax + 0x94], ebx */ 9787 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099B7B: call 0x2b0ab212 */ /* not lifted */ 9788 RECOMP_FLAGS_IN(); 9789 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9791 esp = esp + 4; /* 0x2B099B80: add esp, 4 */ 9792 _flag_k = FK_ADD; 9793 MEM32(ebp + (-0x10)) = eax; /* 0x2B099B83: mov dword ptr [ebp - 0x10], eax */ 9794 /* cmp eax, esi */ /* 0x2B099B86: cmp eax, esi */ 9795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9797 _flag_k = FK_CMP; 9798 MEM32(ebp + (-0x4)) = 1; /* 0x2B099B88: mov dword ptr [ebp - 4], 1 */ 9799 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099BA2; /* 0x2B099B8F: je 0x2b099ba2 */ 9800 L_2B099B91: 9801 ecx = MEM32(ebx + 0x88); /* 0x2B099B91: mov ecx, dword ptr [ebx + 0x88] */ 9802 PUSH32(esp, ecx); /* 0x2B099B97: push ecx */ 9803 ecx = eax; /* 0x2B099B98: mov ecx, eax */ 9804 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B099B9A: call dword ptr [0x2b0b5b10] */ 9805 RECOMP_FLAGS_IN(); 9806 goto L_2B099BA4; /* 0x2B099BA0: jmp 0x2b099ba4 */ 9807 L_2B099BA2: 9808 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9809 eax = 0; /* 0x2B099BA2: xor eax, eax */ 9810 _cf = 0; 9811 _flag_k = FK_TEST; 9812 L_2B099BA4: 9813 PUSH32(esp, esi); /* 0x2B099BA4: push esi */ 9814 ecx = eax; /* 0x2B099BA5: mov ecx, eax */ 9815 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099BA7: mov dword ptr [ebp - 4], 0xffffffff */ 9816 MEM32(ebx + 0x40) = eax; /* 0x2B099BAE: mov dword ptr [ebx + 0x40], eax */ 9817 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B099BB1: call dword ptr [0x2b0b5b0c] */ 9818 RECOMP_FLAGS_IN(); 9819 ecx = MEM32(ebx + 0x40); /* 0x2B099BB7: mov ecx, dword ptr [ebx + 0x40] */ 9820 PUSH32(esp, 0xC8u); /* 0x2B099BBA: push 0xc8 */ 9821 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B099BBF: call dword ptr [0x2b0b5b08] */ 9822 RECOMP_FLAGS_IN(); 9823 edx = MEM32(ebx + 0x88); /* 0x2B099BC5: mov edx, dword ptr [ebx + 0x88] */ 9824 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9825 eax = 0; /* 0x2B099BCB: xor eax, eax */ 9826 _cf = 0; 9827 _flag_k = FK_TEST; 9828 ecx = 0xCu; /* 0x2B099BCD: mov ecx, 0xc */ 9829 edi = ebp + (-0x9C); /* 0x2B099BD2: lea edi, [ebp - 0x9c] */ 9830 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B099BD8: 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; } 9831 PUSH32(esp, 2); /* 0x2B099BDA: push 2 */ 9832 eax = ebp + (-0x14); /* 0x2B099BDC: lea eax, [ebp - 0x14] */ 9833 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9834 edx = edx + 1; /* 0x2B099BDF: inc edx */ 9835 _flag_k = FK_INC; 9836 PUSH32(esp, 0x47u); /* 0x2B099BE0: push 0x47 */ 9837 PUSH32(esp, eax); /* 0x2B099BE2: push eax */ 9838 MEM32(ebp + (-0x6C)) = esi; /* 0x2B099BE3: mov dword ptr [ebp - 0x6c], esi */ 9839 MEM32(ebp + (-0x68)) = esi; /* 0x2B099BE6: mov dword ptr [ebp - 0x68], esi */ 9840 MEM32(ebp + (-0x84)) = edx; /* 0x2B099BE9: mov dword ptr [ebp - 0x84], edx */ 9841 MEM32(ebp + (-0x7C)) = 0x47u; /* 0x2B099BEF: mov dword ptr [ebp - 0x7c], 0x47 */ 9842 MEM32(ebp + (-0x78)) = 0x48u; /* 0x2B099BF6: mov dword ptr [ebp - 0x78], 0x48 */ 9843 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B099BFD: call dword ptr [0x2b0b5f80] */ 9844 RECOMP_FLAGS_IN(); 9845 ecx = eax; /* 0x2B099C03: mov ecx, eax */ 9846 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B099C05: call dword ptr [0x2b0b5f7c] */ 9847 RECOMP_FLAGS_IN(); 9848 ecx = MEM32(eax); /* 0x2B099C0B: mov ecx, dword ptr [eax] */ 9849 MEM32(ebp + (-0x20)) = ecx; /* 0x2B099C0D: mov dword ptr [ebp - 0x20], ecx */ 9850 edx = MEM32(eax + 0x4); /* 0x2B099C10: mov edx, dword ptr [eax + 4] */ 9851 PUSH32(esp, 0x50u); /* 0x2B099C13: push 0x50 */ 9852 MEM32(ebp + (-0x1C)) = edx; /* 0x2B099C15: mov dword ptr [ebp - 0x1c], edx */ 9853 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099C18: call 0x2b0ab212 */ /* not lifted */ 9854 RECOMP_FLAGS_IN(); 9855 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9857 esp = esp + 4; /* 0x2B099C1D: add esp, 4 */ 9858 _flag_k = FK_ADD; 9859 MEM32(ebp + (-0x10)) = eax; /* 0x2B099C20: mov dword ptr [ebp - 0x10], eax */ 9860 /* cmp eax, esi */ /* 0x2B099C23: cmp eax, esi */ 9861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9863 _flag_k = FK_CMP; 9864 MEM32(ebp + (-0x4)) = 2; /* 0x2B099C25: mov dword ptr [ebp - 4], 2 */ 9865 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099C59; /* 0x2B099C2C: je 0x2b099c59 */ 9866 L_2B099C2E: 9867 ecx = MEM32(ebx + 0x88); /* 0x2B099C2E: mov ecx, dword ptr [ebx + 0x88] */ 9868 PUSH32(esp, esi); /* 0x2B099C34: push esi */ 9869 PUSH32(esp, 0x3F800000u); /* 0x2B099C35: push 0x3f800000 */ 9870 PUSH32(esp, 0x3F800000u); /* 0x2B099C3A: push 0x3f800000 */ 9871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 9872 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9873 ecx = ecx + 2; /* 0x2B099C3F: add ecx, 2 */ 9874 _flag_k = FK_ADD; 9875 PUSH32(esp, ecx); /* 0x2B099C42: push ecx */ 9876 edx = ebp + (-0x6C); /* 0x2B099C43: lea edx, [ebp - 0x6c] */ 9877 PUSH32(esp, edx); /* 0x2B099C46: push edx */ 9878 ecx = ebp + (-0x20); /* 0x2B099C47: lea ecx, [ebp - 0x20] */ 9879 PUSH32(esp, ecx); /* 0x2B099C4A: push ecx */ 9880 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099C4B: push -1 */ 9881 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099C4D: push -1 */ 9882 ecx = eax; /* 0x2B099C4F: mov ecx, eax */ 9883 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B099C51: call dword ptr [0x2b0b5bd8] */ 9884 RECOMP_FLAGS_IN(); 9885 goto L_2B099C5B; /* 0x2B099C57: jmp 0x2b099c5b */ 9886 L_2B099C59: 9887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9888 eax = 0; /* 0x2B099C59: xor eax, eax */ 9889 _cf = 0; 9890 _flag_k = FK_TEST; 9891 L_2B099C5B: 9892 PUSH32(esp, 1); /* 0x2B099C5B: push 1 */ 9893 MEM32(ebx + 0x4C) = eax; /* 0x2B099C5D: mov dword ptr [ebx + 0x4c], eax */ 9894 eax = MEM32(eax + 0x28); /* 0x2B099C60: mov eax, dword ptr [eax + 0x28] */ 9895 PUSH32(esp, esi); /* 0x2B099C63: push esi */ 9896 PUSH32(esp, esi); /* 0x2B099C64: push esi */ 9897 ecx = eax; /* 0x2B099C65: mov ecx, eax */ 9898 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099C67: mov dword ptr [ebp - 4], 0xffffffff */ 9899 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B099C6E: call dword ptr [0x2b0b564c] */ 9900 RECOMP_FLAGS_IN(); 9901 PUSH32(esp, 0xBCu); /* 0x2B099C74: push 0xbc */ 9902 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099C79: call 0x2b0ab212 */ /* not lifted */ 9903 RECOMP_FLAGS_IN(); 9904 edi = eax; /* 0x2B099C7E: mov edi, eax */ 9905 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9907 esp = esp + 4; /* 0x2B099C80: add esp, 4 */ 9908 _flag_k = FK_ADD; 9909 MEM32(ebp + (-0x10)) = edi; /* 0x2B099C83: mov dword ptr [ebp - 0x10], edi */ 9910 /* cmp edi, esi */ /* 0x2B099C86: cmp edi, esi */ 9911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9913 _flag_k = FK_CMP; 9914 MEM32(ebp + (-0x4)) = 3; /* 0x2B099C88: mov dword ptr [ebp - 4], 3 */ 9915 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099CAE; /* 0x2B099C8F: je 0x2b099cae */ 9916 L_2B099C91: 9917 edx = MEM32(ebx + 0x4C); /* 0x2B099C91: mov edx, dword ptr [ebx + 0x4c] */ 9918 PUSH32(esp, edx); /* 0x2B099C94: push edx */ 9919 eax = ebp + (-0x9C); /* 0x2B099C95: lea eax, [ebp - 0x9c] */ 9920 PUSH32(esp, eax); /* 0x2B099C9B: push eax */ 9921 ecx = edi; /* 0x2B099C9C: mov ecx, edi */ 9922 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B099C9E: call dword ptr [0x2b0b5afc] */ 9923 RECOMP_FLAGS_IN(); 9924 MEM32(edi) = 0x2B0B645Cu; /* 0x2B099CA4: mov dword ptr [edi], 0x2b0b645c */ 9925 ecx = edi; /* 0x2B099CAA: mov ecx, edi */ 9926 goto L_2B099CB0; /* 0x2B099CAC: jmp 0x2b099cb0 */ 9927 L_2B099CAE: 9928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9929 ecx = 0; /* 0x2B099CAE: xor ecx, ecx */ 9930 _cf = 0; 9931 _flag_k = FK_TEST; 9932 L_2B099CB0: 9933 PUSH32(esp, ebx); /* 0x2B099CB0: push ebx */ 9934 PUSH32(esp, 0x2B099A10u); /* 0x2B099CB1: push 0x2b099a10 */ 9935 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099CB6: mov dword ptr [ebp - 4], 0xffffffff */ 9936 MEM32(ebx + 0x50) = ecx; /* 0x2B099CBD: mov dword ptr [ebx + 0x50], ecx */ 9937 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B099CC0: call dword ptr [0x2b0b5820] */ 9938 RECOMP_FLAGS_IN(); 9939 PUSH32(esp, 2); /* 0x2B099CC6: push 2 */ 9940 ecx = ebp + (-0x14); /* 0x2B099CC8: lea ecx, [ebp - 0x14] */ 9941 PUSH32(esp, 0xFFu); /* 0x2B099CCB: push 0xff */ 9942 PUSH32(esp, ecx); /* 0x2B099CD0: push ecx */ 9943 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B099CD1: call dword ptr [0x2b0b5f80] */ 9944 RECOMP_FLAGS_IN(); 9945 ecx = eax; /* 0x2B099CD7: mov ecx, eax */ 9946 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B099CD9: call dword ptr [0x2b0b5f7c] */ 9947 RECOMP_FLAGS_IN(); 9948 edx = MEM32(eax); /* 0x2B099CDF: mov edx, dword ptr [eax] */ 9949 MEM32(ebp + (-0x20)) = edx; /* 0x2B099CE1: mov dword ptr [ebp - 0x20], edx */ 9950 eax = MEM32(eax + 0x4); /* 0x2B099CE4: mov eax, dword ptr [eax + 4] */ 9951 PUSH32(esp, 0x50u); /* 0x2B099CE7: push 0x50 */ 9952 MEM32(ebp + (-0x1C)) = eax; /* 0x2B099CE9: mov dword ptr [ebp - 0x1c], eax */ 9953 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099CEC: call 0x2b0ab212 */ /* not lifted */ 9954 RECOMP_FLAGS_IN(); 9955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9957 esp = esp + 4; /* 0x2B099CF1: add esp, 4 */ 9958 _flag_k = FK_ADD; 9959 MEM32(ebp + (-0x10)) = eax; /* 0x2B099CF4: mov dword ptr [ebp - 0x10], eax */ 9960 /* cmp eax, esi */ /* 0x2B099CF7: cmp eax, esi */ 9961 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9963 _flag_k = FK_CMP; 9964 MEM32(ebp + (-0x4)) = 4; /* 0x2B099CF9: mov dword ptr [ebp - 4], 4 */ 9965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099D2D; /* 0x2B099D00: je 0x2b099d2d */ 9966 L_2B099D02: 9967 ecx = MEM32(ebx + 0x88); /* 0x2B099D02: mov ecx, dword ptr [ebx + 0x88] */ 9968 PUSH32(esp, esi); /* 0x2B099D08: push esi */ 9969 PUSH32(esp, 0x3F800000u); /* 0x2B099D09: push 0x3f800000 */ 9970 PUSH32(esp, 0x3F800000u); /* 0x2B099D0E: push 0x3f800000 */ 9971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9973 ecx = ecx + 3; /* 0x2B099D13: add ecx, 3 */ 9974 _flag_k = FK_ADD; 9975 PUSH32(esp, ecx); /* 0x2B099D16: push ecx */ 9976 edx = ebp + (-0x6C); /* 0x2B099D17: lea edx, [ebp - 0x6c] */ 9977 PUSH32(esp, edx); /* 0x2B099D1A: push edx */ 9978 ecx = ebp + (-0x20); /* 0x2B099D1B: lea ecx, [ebp - 0x20] */ 9979 PUSH32(esp, ecx); /* 0x2B099D1E: push ecx */ 9980 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099D1F: push -1 */ 9981 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099D21: push -1 */ 9982 ecx = eax; /* 0x2B099D23: mov ecx, eax */ 9983 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B099D25: call dword ptr [0x2b0b5bd8] */ 9984 RECOMP_FLAGS_IN(); 9985 goto L_2B099D2F; /* 0x2B099D2B: jmp 0x2b099d2f */ 9986 L_2B099D2D: 9987 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9988 eax = 0; /* 0x2B099D2D: xor eax, eax */ 9989 _cf = 0; 9990 _flag_k = FK_TEST; 9991 L_2B099D2F: 9992 PUSH32(esp, 1); /* 0x2B099D2F: push 1 */ 9993 MEM32(ebx + 0x68) = eax; /* 0x2B099D31: mov dword ptr [ebx + 0x68], eax */ 9994 eax = MEM32(eax + 0x28); /* 0x2B099D34: mov eax, dword ptr [eax + 0x28] */ 9995 PUSH32(esp, esi); /* 0x2B099D37: push esi */ 9996 PUSH32(esp, esi); /* 0x2B099D38: push esi */ 9997 ecx = eax; /* 0x2B099D39: mov ecx, eax */ 9998 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099D3B: mov dword ptr [ebp - 4], 0xffffffff */ 9999 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B099D42: call dword ptr [0x2b0b564c] */ 10000 RECOMP_FLAGS_IN(); 10001 ecx = MEM32(ebx + 0x68); /* 0x2B099D48: mov ecx, dword ptr [ebx + 0x68] */ 10002 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B099D4B: call dword ptr [0x2b0b5bdc] */ 10003 RECOMP_FLAGS_IN(); 10004 ecx = MEM32(ebx + 0x68); /* 0x2B099D51: mov ecx, dword ptr [ebx + 0x68] */ 10005 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B099D54: call dword ptr [0x2b0b5bac] */ 10006 RECOMP_FLAGS_IN(); 10007 edx = MEM32(ebx + 0x88); /* 0x2B099D5A: mov edx, dword ptr [ebx + 0x88] */ 10008 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 10009 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10010 edx = edx + 3; /* 0x2B099D60: add edx, 3 */ 10011 _flag_k = FK_ADD; 10012 PUSH32(esp, 0xBCu); /* 0x2B099D63: push 0xbc */ 10013 MEM32(ebp + (-0x7C)) = 0xFFu; /* 0x2B099D68: mov dword ptr [ebp - 0x7c], 0xff */ 10014 MEM32(ebp + (-0x78)) = 0x100u; /* 0x2B099D6F: mov dword ptr [ebp - 0x78], 0x100 */ 10015 MEM32(ebp + (-0x84)) = edx; /* 0x2B099D76: mov dword ptr [ebp - 0x84], edx */ 10016 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099D7C: call 0x2b0ab212 */ /* not lifted */ 10017 RECOMP_FLAGS_IN(); 10018 edi = eax; /* 0x2B099D81: mov edi, eax */ 10019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10021 esp = esp + 4; /* 0x2B099D83: add esp, 4 */ 10022 _flag_k = FK_ADD; 10023 MEM32(ebp + (-0x10)) = edi; /* 0x2B099D86: mov dword ptr [ebp - 0x10], edi */ 10024 /* cmp edi, esi */ /* 0x2B099D89: cmp edi, esi */ 10025 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10027 _flag_k = FK_CMP; 10028 MEM32(ebp + (-0x4)) = 5; /* 0x2B099D8B: mov dword ptr [ebp - 4], 5 */ 10029 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099DB1; /* 0x2B099D92: je 0x2b099db1 */ 10030 L_2B099D94: 10031 eax = MEM32(ebx + 0x68); /* 0x2B099D94: mov eax, dword ptr [ebx + 0x68] */ 10032 PUSH32(esp, eax); /* 0x2B099D97: push eax */ 10033 ecx = ebp + (-0x9C); /* 0x2B099D98: lea ecx, [ebp - 0x9c] */ 10034 PUSH32(esp, ecx); /* 0x2B099D9E: push ecx */ 10035 ecx = edi; /* 0x2B099D9F: mov ecx, edi */ 10036 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B099DA1: call dword ptr [0x2b0b5afc] */ 10037 RECOMP_FLAGS_IN(); 10038 MEM32(edi) = 0x2B0B645Cu; /* 0x2B099DA7: mov dword ptr [edi], 0x2b0b645c */ 10039 ecx = edi; /* 0x2B099DAD: mov ecx, edi */ 10040 goto L_2B099DB3; /* 0x2B099DAF: jmp 0x2b099db3 */ 10041 L_2B099DB1: 10042 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10043 ecx = 0; /* 0x2B099DB1: xor ecx, ecx */ 10044 _cf = 0; 10045 _flag_k = FK_TEST; 10046 L_2B099DB3: 10047 PUSH32(esp, ebx); /* 0x2B099DB3: push ebx */ 10048 PUSH32(esp, 0x2B099A50u); /* 0x2B099DB4: push 0x2b099a50 */ 10049 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099DB9: mov dword ptr [ebp - 4], 0xffffffff */ 10050 MEM32(ebx + 0x6C) = ecx; /* 0x2B099DC0: mov dword ptr [ebx + 0x6c], ecx */ 10051 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B099DC3: call dword ptr [0x2b0b5820] */ 10052 RECOMP_FLAGS_IN(); 10053 ecx = MEM32(ebx + 0x6C); /* 0x2B099DC9: mov ecx, dword ptr [ebx + 0x6c] */ 10054 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B099DCC: call dword ptr [0x2b0b5b34] */ 10055 RECOMP_FLAGS_IN(); 10056 PUSH32(esp, 2); /* 0x2B099DD2: push 2 */ 10057 edx = ebp + (-0x14); /* 0x2B099DD4: lea edx, [ebp - 0x14] */ 10058 PUSH32(esp, 0x101u); /* 0x2B099DD7: push 0x101 */ 10059 PUSH32(esp, edx); /* 0x2B099DDC: push edx */ 10060 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B099DDD: call dword ptr [0x2b0b5f80] */ 10061 RECOMP_FLAGS_IN(); 10062 ecx = eax; /* 0x2B099DE3: mov ecx, eax */ 10063 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B099DE5: call dword ptr [0x2b0b5f7c] */ 10064 RECOMP_FLAGS_IN(); 10065 ecx = MEM32(eax); /* 0x2B099DEB: mov ecx, dword ptr [eax] */ 10066 MEM32(ebp + (-0x20)) = ecx; /* 0x2B099DED: mov dword ptr [ebp - 0x20], ecx */ 10067 edx = MEM32(eax + 0x4); /* 0x2B099DF0: mov edx, dword ptr [eax + 4] */ 10068 PUSH32(esp, 0x50u); /* 0x2B099DF3: push 0x50 */ 10069 MEM32(ebp + (-0x1C)) = edx; /* 0x2B099DF5: mov dword ptr [ebp - 0x1c], edx */ 10070 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099DF8: call 0x2b0ab212 */ /* not lifted */ 10071 RECOMP_FLAGS_IN(); 10072 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10074 esp = esp + 4; /* 0x2B099DFD: add esp, 4 */ 10075 _flag_k = FK_ADD; 10076 MEM32(ebp + (-0x10)) = eax; /* 0x2B099E00: mov dword ptr [ebp - 0x10], eax */ 10077 /* cmp eax, esi */ /* 0x2B099E03: cmp eax, esi */ 10078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10080 _flag_k = FK_CMP; 10081 MEM32(ebp + (-0x4)) = 6; /* 0x2B099E05: mov dword ptr [ebp - 4], 6 */ 10082 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099E39; /* 0x2B099E0C: je 0x2b099e39 */ 10083 L_2B099E0E: 10084 ecx = MEM32(ebx + 0x88); /* 0x2B099E0E: mov ecx, dword ptr [ebx + 0x88] */ 10085 PUSH32(esp, esi); /* 0x2B099E14: push esi */ 10086 PUSH32(esp, 0x3F800000u); /* 0x2B099E15: push 0x3f800000 */ 10087 PUSH32(esp, 0x3F800000u); /* 0x2B099E1A: push 0x3f800000 */ 10088 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10090 ecx = ecx + 3; /* 0x2B099E1F: add ecx, 3 */ 10091 _flag_k = FK_ADD; 10092 PUSH32(esp, ecx); /* 0x2B099E22: push ecx */ 10093 edx = ebp + (-0x6C); /* 0x2B099E23: lea edx, [ebp - 0x6c] */ 10094 PUSH32(esp, edx); /* 0x2B099E26: push edx */ 10095 ecx = ebp + (-0x20); /* 0x2B099E27: lea ecx, [ebp - 0x20] */ 10096 PUSH32(esp, ecx); /* 0x2B099E2A: push ecx */ 10097 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099E2B: push -1 */ 10098 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099E2D: push -1 */ 10099 ecx = eax; /* 0x2B099E2F: mov ecx, eax */ 10100 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B099E31: call dword ptr [0x2b0b5bd8] */ 10101 RECOMP_FLAGS_IN(); 10102 goto L_2B099E3B; /* 0x2B099E37: jmp 0x2b099e3b */ 10103 L_2B099E39: 10104 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10105 eax = 0; /* 0x2B099E39: xor eax, eax */ 10106 _cf = 0; 10107 _flag_k = FK_TEST; 10108 L_2B099E3B: 10109 PUSH32(esp, 1); /* 0x2B099E3B: push 1 */ 10110 MEM32(ebx + 0x60) = eax; /* 0x2B099E3D: mov dword ptr [ebx + 0x60], eax */ 10111 eax = MEM32(eax + 0x28); /* 0x2B099E40: mov eax, dword ptr [eax + 0x28] */ 10112 PUSH32(esp, esi); /* 0x2B099E43: push esi */ 10113 PUSH32(esp, esi); /* 0x2B099E44: push esi */ 10114 ecx = eax; /* 0x2B099E45: mov ecx, eax */ 10115 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099E47: mov dword ptr [ebp - 4], 0xffffffff */ 10116 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B099E4E: call dword ptr [0x2b0b564c] */ 10117 RECOMP_FLAGS_IN(); 10118 ecx = MEM32(ebx + 0x60); /* 0x2B099E54: mov ecx, dword ptr [ebx + 0x60] */ 10119 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B099E57: call dword ptr [0x2b0b5bdc] */ 10120 RECOMP_FLAGS_IN(); 10121 ecx = MEM32(ebx + 0x60); /* 0x2B099E5D: mov ecx, dword ptr [ebx + 0x60] */ 10122 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B099E60: call dword ptr [0x2b0b5bac] */ 10123 RECOMP_FLAGS_IN(); 10124 edx = MEM32(ebx + 0x88); /* 0x2B099E66: mov edx, dword ptr [ebx + 0x88] */ 10125 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 10126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10127 edx = edx + 3; /* 0x2B099E6C: add edx, 3 */ 10128 _flag_k = FK_ADD; 10129 PUSH32(esp, 0xBCu); /* 0x2B099E6F: push 0xbc */ 10130 MEM32(ebp + (-0x7C)) = 0x101u; /* 0x2B099E74: mov dword ptr [ebp - 0x7c], 0x101 */ 10131 MEM32(ebp + (-0x78)) = 0x102u; /* 0x2B099E7B: mov dword ptr [ebp - 0x78], 0x102 */ 10132 MEM32(ebp + (-0x84)) = edx; /* 0x2B099E82: mov dword ptr [ebp - 0x84], edx */ 10133 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099E88: call 0x2b0ab212 */ /* not lifted */ 10134 RECOMP_FLAGS_IN(); 10135 edi = eax; /* 0x2B099E8D: mov edi, eax */ 10136 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10138 esp = esp + 4; /* 0x2B099E8F: add esp, 4 */ 10139 _flag_k = FK_ADD; 10140 MEM32(ebp + (-0x10)) = edi; /* 0x2B099E92: mov dword ptr [ebp - 0x10], edi */ 10141 /* cmp edi, esi */ /* 0x2B099E95: cmp edi, esi */ 10142 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10144 _flag_k = FK_CMP; 10145 MEM32(ebp + (-0x4)) = 7; /* 0x2B099E97: mov dword ptr [ebp - 4], 7 */ 10146 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099EBD; /* 0x2B099E9E: je 0x2b099ebd */ 10147 L_2B099EA0: 10148 eax = MEM32(ebx + 0x60); /* 0x2B099EA0: mov eax, dword ptr [ebx + 0x60] */ 10149 PUSH32(esp, eax); /* 0x2B099EA3: push eax */ 10150 ecx = ebp + (-0x9C); /* 0x2B099EA4: lea ecx, [ebp - 0x9c] */ 10151 PUSH32(esp, ecx); /* 0x2B099EAA: push ecx */ 10152 ecx = edi; /* 0x2B099EAB: mov ecx, edi */ 10153 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B099EAD: call dword ptr [0x2b0b5afc] */ 10154 RECOMP_FLAGS_IN(); 10155 MEM32(edi) = 0x2B0B645Cu; /* 0x2B099EB3: mov dword ptr [edi], 0x2b0b645c */ 10156 ecx = edi; /* 0x2B099EB9: mov ecx, edi */ 10157 goto L_2B099EBF; /* 0x2B099EBB: jmp 0x2b099ebf */ 10158 L_2B099EBD: 10159 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10160 ecx = 0; /* 0x2B099EBD: xor ecx, ecx */ 10161 _cf = 0; 10162 _flag_k = FK_TEST; 10163 L_2B099EBF: 10164 PUSH32(esp, ebx); /* 0x2B099EBF: push ebx */ 10165 PUSH32(esp, 0x2B099A50u); /* 0x2B099EC0: push 0x2b099a50 */ 10166 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099EC5: mov dword ptr [ebp - 4], 0xffffffff */ 10167 MEM32(ebx + 0x64) = ecx; /* 0x2B099ECC: mov dword ptr [ebx + 0x64], ecx */ 10168 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B099ECF: call dword ptr [0x2b0b5820] */ 10169 RECOMP_FLAGS_IN(); 10170 ecx = MEM32(ebx + 0x64); /* 0x2B099ED5: mov ecx, dword ptr [ebx + 0x64] */ 10171 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B099ED8: call dword ptr [0x2b0b5b34] */ 10172 RECOMP_FLAGS_IN(); 10173 PUSH32(esp, 2); /* 0x2B099EDE: push 2 */ 10174 edx = ebp + (-0x14); /* 0x2B099EE0: lea edx, [ebp - 0x14] */ 10175 PUSH32(esp, 0x103u); /* 0x2B099EE3: push 0x103 */ 10176 PUSH32(esp, edx); /* 0x2B099EE8: push edx */ 10177 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B099EE9: call dword ptr [0x2b0b5f80] */ 10178 RECOMP_FLAGS_IN(); 10179 ecx = eax; /* 0x2B099EEF: mov ecx, eax */ 10180 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B099EF1: call dword ptr [0x2b0b5f7c] */ 10181 RECOMP_FLAGS_IN(); 10182 ecx = MEM32(eax); /* 0x2B099EF7: mov ecx, dword ptr [eax] */ 10183 MEM32(ebp + (-0x20)) = ecx; /* 0x2B099EF9: mov dword ptr [ebp - 0x20], ecx */ 10184 edx = MEM32(eax + 0x4); /* 0x2B099EFC: mov edx, dword ptr [eax + 4] */ 10185 PUSH32(esp, 0x50u); /* 0x2B099EFF: push 0x50 */ 10186 MEM32(ebp + (-0x1C)) = edx; /* 0x2B099F01: mov dword ptr [ebp - 0x1c], edx */ 10187 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099F04: call 0x2b0ab212 */ /* not lifted */ 10188 RECOMP_FLAGS_IN(); 10189 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10191 esp = esp + 4; /* 0x2B099F09: add esp, 4 */ 10192 _flag_k = FK_ADD; 10193 MEM32(ebp + (-0x10)) = eax; /* 0x2B099F0C: mov dword ptr [ebp - 0x10], eax */ 10194 /* cmp eax, esi */ /* 0x2B099F0F: cmp eax, esi */ 10195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10197 _flag_k = FK_CMP; 10198 MEM32(ebp + (-0x4)) = 8; /* 0x2B099F11: mov dword ptr [ebp - 4], 8 */ 10199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099F45; /* 0x2B099F18: je 0x2b099f45 */ 10200 L_2B099F1A: 10201 ecx = MEM32(ebx + 0x88); /* 0x2B099F1A: mov ecx, dword ptr [ebx + 0x88] */ 10202 PUSH32(esp, esi); /* 0x2B099F20: push esi */ 10203 PUSH32(esp, 0x3F800000u); /* 0x2B099F21: push 0x3f800000 */ 10204 PUSH32(esp, 0x3F800000u); /* 0x2B099F26: push 0x3f800000 */ 10205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10206 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10207 ecx = ecx + 3; /* 0x2B099F2B: add ecx, 3 */ 10208 _flag_k = FK_ADD; 10209 PUSH32(esp, ecx); /* 0x2B099F2E: push ecx */ 10210 edx = ebp + (-0x6C); /* 0x2B099F2F: lea edx, [ebp - 0x6c] */ 10211 PUSH32(esp, edx); /* 0x2B099F32: push edx */ 10212 ecx = ebp + (-0x20); /* 0x2B099F33: lea ecx, [ebp - 0x20] */ 10213 PUSH32(esp, ecx); /* 0x2B099F36: push ecx */ 10214 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099F37: push -1 */ 10215 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B099F39: push -1 */ 10216 ecx = eax; /* 0x2B099F3B: mov ecx, eax */ 10217 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B099F3D: call dword ptr [0x2b0b5bd8] */ 10218 RECOMP_FLAGS_IN(); 10219 goto L_2B099F47; /* 0x2B099F43: jmp 0x2b099f47 */ 10220 L_2B099F45: 10221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10222 eax = 0; /* 0x2B099F45: xor eax, eax */ 10223 _cf = 0; 10224 _flag_k = FK_TEST; 10225 L_2B099F47: 10226 PUSH32(esp, 1); /* 0x2B099F47: push 1 */ 10227 MEM32(ebx + 0x54) = eax; /* 0x2B099F49: mov dword ptr [ebx + 0x54], eax */ 10228 eax = MEM32(eax + 0x28); /* 0x2B099F4C: mov eax, dword ptr [eax + 0x28] */ 10229 PUSH32(esp, esi); /* 0x2B099F4F: push esi */ 10230 PUSH32(esp, esi); /* 0x2B099F50: push esi */ 10231 ecx = eax; /* 0x2B099F51: mov ecx, eax */ 10232 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099F53: mov dword ptr [ebp - 4], 0xffffffff */ 10233 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B099F5A: call dword ptr [0x2b0b564c] */ 10234 RECOMP_FLAGS_IN(); 10235 ecx = MEM32(ebx + 0x54); /* 0x2B099F60: mov ecx, dword ptr [ebx + 0x54] */ 10236 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B099F63: call dword ptr [0x2b0b5bdc] */ 10237 RECOMP_FLAGS_IN(); 10238 ecx = MEM32(ebx + 0x54); /* 0x2B099F69: mov ecx, dword ptr [ebx + 0x54] */ 10239 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B099F6C: call dword ptr [0x2b0b5bac] */ 10240 RECOMP_FLAGS_IN(); 10241 edx = MEM32(ebx + 0x88); /* 0x2B099F72: mov edx, dword ptr [ebx + 0x88] */ 10242 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 10243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10244 edx = edx + 3; /* 0x2B099F78: add edx, 3 */ 10245 _flag_k = FK_ADD; 10246 PUSH32(esp, 0xBCu); /* 0x2B099F7B: push 0xbc */ 10247 MEM32(ebp + (-0x7C)) = 0x103u; /* 0x2B099F80: mov dword ptr [ebp - 0x7c], 0x103 */ 10248 MEM32(ebp + (-0x78)) = 0x104u; /* 0x2B099F87: mov dword ptr [ebp - 0x78], 0x104 */ 10249 MEM32(ebp + (-0x84)) = edx; /* 0x2B099F8E: mov dword ptr [ebp - 0x84], edx */ 10250 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099F94: call 0x2b0ab212 */ /* not lifted */ 10251 RECOMP_FLAGS_IN(); 10252 edi = eax; /* 0x2B099F99: mov edi, eax */ 10253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10255 esp = esp + 4; /* 0x2B099F9B: add esp, 4 */ 10256 _flag_k = FK_ADD; 10257 MEM32(ebp + (-0x10)) = edi; /* 0x2B099F9E: mov dword ptr [ebp - 0x10], edi */ 10258 /* cmp edi, esi */ /* 0x2B099FA1: cmp edi, esi */ 10259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10261 _flag_k = FK_CMP; 10262 MEM32(ebp + (-0x4)) = 9; /* 0x2B099FA3: mov dword ptr [ebp - 4], 9 */ 10263 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B099FC9; /* 0x2B099FAA: je 0x2b099fc9 */ 10264 L_2B099FAC: 10265 eax = MEM32(ebx + 0x54); /* 0x2B099FAC: mov eax, dword ptr [ebx + 0x54] */ 10266 PUSH32(esp, eax); /* 0x2B099FAF: push eax */ 10267 ecx = ebp + (-0x9C); /* 0x2B099FB0: lea ecx, [ebp - 0x9c] */ 10268 PUSH32(esp, ecx); /* 0x2B099FB6: push ecx */ 10269 ecx = edi; /* 0x2B099FB7: mov ecx, edi */ 10270 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B099FB9: call dword ptr [0x2b0b5afc] */ 10271 RECOMP_FLAGS_IN(); 10272 MEM32(edi) = 0x2B0B645Cu; /* 0x2B099FBF: mov dword ptr [edi], 0x2b0b645c */ 10273 ecx = edi; /* 0x2B099FC5: mov ecx, edi */ 10274 goto L_2B099FCB; /* 0x2B099FC7: jmp 0x2b099fcb */ 10275 L_2B099FC9: 10276 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10277 ecx = 0; /* 0x2B099FC9: xor ecx, ecx */ 10278 _cf = 0; 10279 _flag_k = FK_TEST; 10280 L_2B099FCB: 10281 PUSH32(esp, ebx); /* 0x2B099FCB: push ebx */ 10282 PUSH32(esp, 0x2B099A80u); /* 0x2B099FCC: push 0x2b099a80 */ 10283 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B099FD1: mov dword ptr [ebp - 4], 0xffffffff */ 10284 MEM32(ebx + 0x58) = ecx; /* 0x2B099FD8: mov dword ptr [ebx + 0x58], ecx */ 10285 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B099FDB: call dword ptr [0x2b0b5820] */ 10286 RECOMP_FLAGS_IN(); 10287 ecx = MEM32(ebx + 0x58); /* 0x2B099FE1: mov ecx, dword ptr [ebx + 0x58] */ 10288 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B099FE4: call dword ptr [0x2b0b5b34] */ 10289 RECOMP_FLAGS_IN(); 10290 PUSH32(esp, 0xB4u); /* 0x2B099FEA: push 0xb4 */ 10291 RECOMP_ICALL(0x2B0AB212u); /* 0x2B099FEF: call 0x2b0ab212 */ /* not lifted */ 10292 RECOMP_FLAGS_IN(); 10293 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10294 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10295 esp = esp + 4; /* 0x2B099FF4: add esp, 4 */ 10296 _flag_k = FK_ADD; 10297 MEM32(ebp + (-0x10)) = eax; /* 0x2B099FF7: mov dword ptr [ebp - 0x10], eax */ 10298 /* cmp eax, esi */ /* 0x2B099FFA: cmp eax, esi */ 10299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10301 _flag_k = FK_CMP; 10302 MEM32(ebp + (-0x4)) = 0xAu; /* 0x2B099FFC: mov dword ptr [ebp - 4], 0xa */ 10303 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A02E; /* 0x2B09A003: je 0x2b09a02e */ 10304 L_2B09A005: 10305 edx = MEM32(ebx + 0x88); /* 0x2B09A005: mov edx, dword ptr [ebx + 0x88] */ 10306 PUSH32(esp, esi); /* 0x2B09A00B: push esi */ 10307 PUSH32(esp, esi); /* 0x2B09A00C: push esi */ 10308 PUSH32(esp, esi); /* 0x2B09A00D: push esi */ 10309 PUSH32(esp, esi); /* 0x2B09A00E: push esi */ 10310 PUSH32(esp, esi); /* 0x2B09A00F: push esi */ 10311 ecx = 0x40u; /* 0x2B09A010: mov ecx, 0x40 */ 10312 PUSH32(esp, esi); /* 0x2B09A015: push esi */ 10313 MEM32(ebp + (-0x28)) = ecx; /* 0x2B09A016: mov dword ptr [ebp - 0x28], ecx */ 10314 MEM32(ebp + (-0x24)) = ecx; /* 0x2B09A019: mov dword ptr [ebp - 0x24], ecx */ 10315 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 10316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10317 edx = edx + 2; /* 0x2B09A01C: add edx, 2 */ 10318 _flag_k = FK_ADD; 10319 PUSH32(esp, edx); /* 0x2B09A01F: push edx */ 10320 ecx = ebp + (-0x28); /* 0x2B09A020: lea ecx, [ebp - 0x28] */ 10321 PUSH32(esp, ecx); /* 0x2B09A023: push ecx */ 10322 ecx = eax; /* 0x2B09A024: mov ecx, eax */ 10323 RECOMP_ICALL(MEM32(0x2B0B5A04)); /* 0x2B09A026: call dword ptr [0x2b0b5a04] */ 10324 RECOMP_FLAGS_IN(); 10325 goto L_2B09A030; /* 0x2B09A02C: jmp 0x2b09a030 */ 10326 L_2B09A02E: 10327 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10328 eax = 0; /* 0x2B09A02E: xor eax, eax */ 10329 _cf = 0; 10330 _flag_k = FK_TEST; 10331 L_2B09A030: 10332 SET_LO8(edx, MEM8(ebp + (-0x15))); /* 0x2B09A030: mov dl, byte ptr [ebp - 0x15] */ 10333 MEM32(ebx + 0x5C) = eax; /* 0x2B09A033: mov dword ptr [ebx + 0x5c], eax */ 10334 MEM32(eax + 0x2C) = 0x2B09AA70u; /* 0x2B09A036: mov dword ptr [eax + 0x2c], 0x2b09aa70 */ 10335 MEM32(eax + 0x30) = ebx; /* 0x2B09A03D: mov dword ptr [eax + 0x30], ebx */ 10336 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(edx)); /* 0x2B09A040: mov byte ptr [ebp - 0x40], dl */ 10337 MEM32(ebp + (-0x3C)) = esi; /* 0x2B09A043: mov dword ptr [ebp - 0x3c], esi */ 10338 MEM32(ebp + (-0x38)) = esi; /* 0x2B09A046: mov dword ptr [ebp - 0x38], esi */ 10339 MEM32(ebp + (-0x34)) = esi; /* 0x2B09A049: mov dword ptr [ebp - 0x34], esi */ 10340 MEM32(ebp + (-0x30)) = esi; /* 0x2B09A04C: mov dword ptr [ebp - 0x30], esi */ 10341 PUSH32(esp, 0x12u); /* 0x2B09A04F: push 0x12 */ 10342 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09A051: push -1 */ 10343 ecx = ebp + (-0x40); /* 0x2B09A053: lea ecx, [ebp - 0x40] */ 10344 MEM32(ebp + (-0x4)) = 0xBu; /* 0x2B09A056: mov dword ptr [ebp - 4], 0xb */ 10345 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B09A05D: call dword ptr [0x2b0b5a74] */ 10346 RECOMP_FLAGS_IN(); 10347 SET_LO8(eax, MEM8(ebx + 0x15)); /* 0x2B09A063: mov al, byte ptr [ebx + 0x15] */ 10348 /* test LO8(eax), LO8(eax) */ /* 0x2B09A066: test al, al */ 10349 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10350 _cf = 0; 10351 _flag_k = FK_NARROW(FK_TEST, 24); 10352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A0D9; /* 0x2B09A068: je 0x2b09a0d9 */ 10353 L_2B09A06A: 10354 edx = MEM32(ebp + (-0x38)); /* 0x2B09A06A: mov edx, dword ptr [ebp - 0x38] */ 10355 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10356 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09A06D: or ecx, 0xffffffff */ 10357 _cf = 0; 10358 _flag_k = FK_TEST; 10359 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10360 eax = 0; /* 0x2B09A070: xor eax, eax */ 10361 _cf = 0; 10362 _flag_k = FK_TEST; 10363 edi = 0x2B0EDEBCu; /* 0x2B09A072: mov edi, 0x2b0edebc */ 10364 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; } /* 0x2B09A077: repne scasb al, byte ptr es:[edi] */ 10365 eax = MEM32(0x2B0B515C); /* 0x2B09A079: mov eax, dword ptr [0x2b0b515c] */ 10366 ecx = ~ecx; /* 0x2B09A07E: not ecx */ 10367 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10368 ecx = ecx - 1; /* 0x2B09A080: dec ecx */ 10369 _flag_k = FK_DEC; 10370 edi = ecx; /* 0x2B09A081: mov edi, ecx */ 10371 ecx = MEM32(eax); /* 0x2B09A083: mov ecx, dword ptr [eax] */ 10372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10374 ecx = ecx - edx; /* 0x2B09A085: sub ecx, edx */ 10375 _flag_k = FK_CMP; 10376 /* cmp ecx, edi */ /* 0x2B09A087: cmp ecx, edi */ 10377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 10378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10379 _flag_k = FK_CMP; 10380 if (CMP_A(_flag_a, _flag_b)) goto L_2B09A091; /* 0x2B09A089: ja 0x2b09a091 */ 10381 L_2B09A08B: 10382 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09A08B: call dword ptr [0x2b0b51a8] */ 10383 RECOMP_FLAGS_IN(); 10384 L_2B09A091: 10385 /* cmp edi, esi */ /* 0x2B09A091: cmp edi, esi */ 10386 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10388 _flag_k = FK_CMP; 10389 if (CMP_BE(_flag_a, _flag_b)) goto L_2B09A14B; /* 0x2B09A093: jbe 0x2b09a14b */ 10390 L_2B09A099: 10391 edx = MEM32(ebp + (-0x38)); /* 0x2B09A099: mov edx, dword ptr [ebp - 0x38] */ 10392 eax = edx + edi; /* 0x2B09A09C: lea eax, [edx + edi] */ 10393 PUSH32(esp, esi); /* 0x2B09A09F: push esi */ 10394 PUSH32(esp, eax); /* 0x2B09A0A0: push eax */ 10395 ecx = ebp + (-0x40); /* 0x2B09A0A1: lea ecx, [ebp - 0x40] */ 10396 MEM32(ebp + (-0x24)) = eax; /* 0x2B09A0A4: mov dword ptr [ebp - 0x24], eax */ 10397 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09A0A7: call dword ptr [0x2b0b5154] */ 10398 RECOMP_FLAGS_IN(); 10399 /* test LO8(eax), LO8(eax) */ /* 0x2B09A0AD: test al, al */ 10400 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10401 _cf = 0; 10402 _flag_k = FK_NARROW(FK_TEST, 24); 10403 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A14B; /* 0x2B09A0AF: je 0x2b09a14b */ 10404 L_2B09A0B5: 10405 ecx = MEM32(ebp + (-0x38)); /* 0x2B09A0B5: mov ecx, dword ptr [ebp - 0x38] */ 10406 eax = MEM32(ebp + (-0x3C)); /* 0x2B09A0B8: mov eax, dword ptr [ebp - 0x3c] */ 10407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10408 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10409 eax = eax + ecx; /* 0x2B09A0BB: add eax, ecx */ 10410 _flag_k = FK_ADD; 10411 ecx = edi; /* 0x2B09A0BD: mov ecx, edi */ 10412 edx = ecx; /* 0x2B09A0BF: mov edx, ecx */ 10413 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09A0C1: shr ecx, 2 */ 10414 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10415 ecx = ecx >> 2u; /* 0x2B09A0C1: shr ecx, 2 */ 10416 edi = eax; /* 0x2B09A0C4: mov edi, eax */ 10417 eax = MEM32(ebp + (-0x24)); /* 0x2B09A0C6: mov eax, dword ptr [ebp - 0x24] */ 10418 esi = 0x2B0EDEBCu; /* 0x2B09A0C9: mov esi, 0x2b0edebc */ 10419 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09A0CE: 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; } 10420 ecx = edx; /* 0x2B09A0D0: mov ecx, edx */ 10421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10422 ecx = ecx & 3; /* 0x2B09A0D2: and ecx, 3 */ 10423 _cf = 0; 10424 _flag_k = FK_TEST; 10425 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09A0D5: 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; } 10426 goto L_2B09A13F; /* 0x2B09A0D7: jmp 0x2b09a13f */ 10427 L_2B09A0D9: 10428 edx = MEM32(0x2B0B515C); /* 0x2B09A0D9: mov edx, dword ptr [0x2b0b515c] */ 10429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10430 eax = 0; /* 0x2B09A0DF: xor eax, eax */ 10431 _cf = 0; 10432 _flag_k = FK_TEST; 10433 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10434 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09A0E1: or ecx, 0xffffffff */ 10435 _cf = 0; 10436 _flag_k = FK_TEST; 10437 edi = 0x2B0EDE58u; /* 0x2B09A0E4: mov edi, 0x2b0ede58 */ 10438 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; } /* 0x2B09A0E9: repne scasb al, byte ptr es:[edi] */ 10439 eax = MEM32(edx); /* 0x2B09A0EB: mov eax, dword ptr [edx] */ 10440 edx = MEM32(ebp + (-0x38)); /* 0x2B09A0ED: mov edx, dword ptr [ebp - 0x38] */ 10441 ecx = ~ecx; /* 0x2B09A0F0: not ecx */ 10442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10443 ecx = ecx - 1; /* 0x2B09A0F2: dec ecx */ 10444 _flag_k = FK_DEC; 10445 edi = ecx; /* 0x2B09A0F3: mov edi, ecx */ 10446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10448 eax = eax - edx; /* 0x2B09A0F5: sub eax, edx */ 10449 _flag_k = FK_CMP; 10450 /* cmp eax, edi */ /* 0x2B09A0F7: cmp eax, edi */ 10451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10453 _flag_k = FK_CMP; 10454 if (CMP_A(_flag_a, _flag_b)) goto L_2B09A101; /* 0x2B09A0F9: ja 0x2b09a101 */ 10455 L_2B09A0FB: 10456 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09A0FB: call dword ptr [0x2b0b51a8] */ 10457 RECOMP_FLAGS_IN(); 10458 L_2B09A101: 10459 /* cmp edi, esi */ /* 0x2B09A101: cmp edi, esi */ 10460 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10462 _flag_k = FK_CMP; 10463 if (CMP_BE(_flag_a, _flag_b)) goto L_2B09A14B; /* 0x2B09A103: jbe 0x2b09a14b */ 10464 L_2B09A105: 10465 ecx = MEM32(ebp + (-0x38)); /* 0x2B09A105: mov ecx, dword ptr [ebp - 0x38] */ 10466 eax = ecx + edi; /* 0x2B09A108: lea eax, [ecx + edi] */ 10467 PUSH32(esp, esi); /* 0x2B09A10B: push esi */ 10468 PUSH32(esp, eax); /* 0x2B09A10C: push eax */ 10469 ecx = ebp + (-0x40); /* 0x2B09A10D: lea ecx, [ebp - 0x40] */ 10470 MEM32(ebp + (-0x24)) = eax; /* 0x2B09A110: mov dword ptr [ebp - 0x24], eax */ 10471 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09A113: call dword ptr [0x2b0b5154] */ 10472 RECOMP_FLAGS_IN(); 10473 /* test LO8(eax), LO8(eax) */ /* 0x2B09A119: test al, al */ 10474 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10475 _cf = 0; 10476 _flag_k = FK_NARROW(FK_TEST, 24); 10477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A14B; /* 0x2B09A11B: je 0x2b09a14b */ 10478 L_2B09A11D: 10479 edx = MEM32(ebp + (-0x3C)); /* 0x2B09A11D: mov edx, dword ptr [ebp - 0x3c] */ 10480 eax = MEM32(ebp + (-0x38)); /* 0x2B09A120: mov eax, dword ptr [ebp - 0x38] */ 10481 ecx = edi; /* 0x2B09A123: mov ecx, edi */ 10482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10484 eax = eax + edx; /* 0x2B09A125: add eax, edx */ 10485 _flag_k = FK_ADD; 10486 edx = ecx; /* 0x2B09A127: mov edx, ecx */ 10487 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09A129: shr ecx, 2 */ 10488 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10489 ecx = ecx >> 2u; /* 0x2B09A129: shr ecx, 2 */ 10490 edi = eax; /* 0x2B09A12C: mov edi, eax */ 10491 eax = MEM32(ebp + (-0x24)); /* 0x2B09A12E: mov eax, dword ptr [ebp - 0x24] */ 10492 esi = 0x2B0EDE58u; /* 0x2B09A131: mov esi, 0x2b0ede58 */ 10493 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09A136: 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; } 10494 ecx = edx; /* 0x2B09A138: mov ecx, edx */ 10495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10496 ecx = ecx & 3; /* 0x2B09A13A: and ecx, 3 */ 10497 _cf = 0; 10498 _flag_k = FK_TEST; 10499 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09A13D: 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; } 10500 L_2B09A13F: 10501 ecx = MEM32(ebp + (-0x3C)); /* 0x2B09A13F: mov ecx, dword ptr [ebp - 0x3c] */ 10502 MEM32(ebp + (-0x38)) = eax; /* 0x2B09A142: mov dword ptr [ebp - 0x38], eax */ 10503 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B09A145: mov byte ptr [ecx + eax], 0 */ 10504 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10505 esi = 0; /* 0x2B09A149: xor esi, esi */ 10506 _cf = 0; 10507 _flag_k = FK_TEST; 10508 L_2B09A14B: 10509 ecx = MEM32(ebx + 0x5C); /* 0x2B09A14B: mov ecx, dword ptr [ebx + 0x5c] */ 10510 edx = ebp + (-0x40); /* 0x2B09A14E: lea edx, [ebp - 0x40] */ 10511 PUSH32(esp, edx); /* 0x2B09A151: push edx */ 10512 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09A152: call dword ptr [0x2b0b59d4] */ 10513 RECOMP_FLAGS_IN(); 10514 PUSH32(esp, 0x70u); /* 0x2B09A158: push 0x70 */ 10515 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09A15A: call 0x2b0ab212 */ /* not lifted */ 10516 RECOMP_FLAGS_IN(); 10517 edi = eax; /* 0x2B09A15F: mov edi, eax */ 10518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10520 esp = esp + 4; /* 0x2B09A161: add esp, 4 */ 10521 _flag_k = FK_ADD; 10522 MEM32(ebp + (-0x10)) = edi; /* 0x2B09A164: mov dword ptr [ebp - 0x10], edi */ 10523 /* cmp edi, esi */ /* 0x2B09A167: cmp edi, esi */ 10524 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10526 _flag_k = FK_CMP; 10527 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B09A169: mov byte ptr [ebp - 4], 0xc */ 10528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A1AA; /* 0x2B09A16D: je 0x2b09a1aa */ 10529 L_2B09A16F: 10530 edx = MEM32(ebx + 0x88); /* 0x2B09A16F: mov edx, dword ptr [ebx + 0x88] */ 10531 PUSH32(esp, esi); /* 0x2B09A175: push esi */ 10532 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09A176: push -1 */ 10533 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09A178: push -1 */ 10534 PUSH32(esp, 0x3Du); /* 0x2B09A17A: push 0x3d */ 10535 PUSH32(esp, esi); /* 0x2B09A17C: push esi */ 10536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10538 esp = esp - 0x10u; /* 0x2B09A17D: sub esp, 0x10 */ 10539 _flag_k = FK_CMP; 10540 ecx = esp; /* 0x2B09A180: mov ecx, esp */ 10541 MEM32(ecx) = esi; /* 0x2B09A182: mov dword ptr [ecx], esi */ 10542 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10543 eax = 0; /* 0x2B09A184: xor eax, eax */ 10544 _cf = 0; 10545 _flag_k = FK_TEST; 10546 MEM32(ecx + 0x4) = eax; /* 0x2B09A186: mov dword ptr [ecx + 4], eax */ 10547 eax = 1; /* 0x2B09A189: mov eax, 1 */ 10548 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10550 edx = edx + 4; /* 0x2B09A18E: add edx, 4 */ 10551 _flag_k = FK_ADD; 10552 PUSH32(esp, edx); /* 0x2B09A191: push edx */ 10553 MEM32(ecx + 0x8) = eax; /* 0x2B09A192: mov dword ptr [ecx + 8], eax */ 10554 PUSH32(esp, esi); /* 0x2B09A195: push esi */ 10555 MEM32(ecx + 0xC) = eax; /* 0x2B09A196: mov dword ptr [ecx + 0xc], eax */ 10556 PUSH32(esp, esi); /* 0x2B09A199: push esi */ 10557 ecx = edi; /* 0x2B09A19A: mov ecx, edi */ 10558 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B09A19C: call dword ptr [0x2b0b5c00] */ 10559 RECOMP_FLAGS_IN(); 10560 MEM32(edi) = 0x2B0B6164u; /* 0x2B09A1A2: mov dword ptr [edi], 0x2b0b6164 */ 10561 goto L_2B09A1AC; /* 0x2B09A1A8: jmp 0x2b09a1ac */ 10562 L_2B09A1AA: 10563 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10564 edi = 0; /* 0x2B09A1AA: xor edi, edi */ 10565 _cf = 0; 10566 _flag_k = FK_TEST; 10567 L_2B09A1AC: 10568 PUSH32(esp, 0x14u); /* 0x2B09A1AC: push 0x14 */ 10569 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09A1AE: mov byte ptr [ebp - 4], 0xb */ 10570 MEM32(ebx + 0x74) = edi; /* 0x2B09A1B2: mov dword ptr [ebx + 0x74], edi */ 10571 MEM32(ebx + 0x44) = esi; /* 0x2B09A1B5: mov dword ptr [ebx + 0x44], esi */ 10572 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09A1B8: call 0x2b0ab212 */ /* not lifted */ 10573 RECOMP_FLAGS_IN(); 10574 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10576 esp = esp + 4; /* 0x2B09A1BD: add esp, 4 */ 10577 _flag_k = FK_ADD; 10578 MEM32(ebp + (-0x10)) = eax; /* 0x2B09A1C0: mov dword ptr [ebp - 0x10], eax */ 10579 /* cmp eax, esi */ /* 0x2B09A1C3: cmp eax, esi */ 10580 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10582 _flag_k = FK_CMP; 10583 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B09A1C5: mov byte ptr [ebp - 4], 0xd */ 10584 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A1DD; /* 0x2B09A1C9: je 0x2b09a1dd */ 10585 L_2B09A1CB: 10586 ecx = MEM32(ebx + 0x88); /* 0x2B09A1CB: mov ecx, dword ptr [ebx + 0x88] */ 10587 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10588 ecx = ecx + 1; /* 0x2B09A1D1: inc ecx */ 10589 _flag_k = FK_INC; 10590 PUSH32(esp, ecx); /* 0x2B09A1D2: push ecx */ 10591 ecx = eax; /* 0x2B09A1D3: mov ecx, eax */ 10592 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B09A1D5: call dword ptr [0x2b0b5b10] */ 10593 RECOMP_FLAGS_IN(); 10594 goto L_2B09A1DF; /* 0x2B09A1DB: jmp 0x2b09a1df */ 10595 L_2B09A1DD: 10596 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10597 eax = 0; /* 0x2B09A1DD: xor eax, eax */ 10598 _cf = 0; 10599 _flag_k = FK_TEST; 10600 L_2B09A1DF: 10601 ecx = 0x36u; /* 0x2B09A1DF: mov ecx, 0x36 */ 10602 edx = ebp + (-0x14); /* 0x2B09A1E4: lea edx, [ebp - 0x14] */ 10603 MEM32(ebp + (-0x14)) = ecx; /* 0x2B09A1E7: mov dword ptr [ebp - 0x14], ecx */ 10604 MEM32(ebp + (-0x10)) = ecx; /* 0x2B09A1EA: mov dword ptr [ebp - 0x10], ecx */ 10605 PUSH32(esp, edx); /* 0x2B09A1ED: push edx */ 10606 ecx = eax; /* 0x2B09A1EE: mov ecx, eax */ 10607 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09A1F0: mov byte ptr [ebp - 4], 0xb */ 10608 MEM32(ebx + 0x48) = eax; /* 0x2B09A1F4: mov dword ptr [ebx + 0x48], eax */ 10609 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B09A1F7: call dword ptr [0x2b0b5b04] */ 10610 RECOMP_FLAGS_IN(); 10611 ecx = MEM32(ebx + 0x48); /* 0x2B09A1FD: mov ecx, dword ptr [ebx + 0x48] */ 10612 PUSH32(esp, 0x006666BBu); /* 0x2B09A200: push 0x6666bb */ 10613 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B09A205: call dword ptr [0x2b0b5b0c] */ 10614 RECOMP_FLAGS_IN(); 10615 ecx = MEM32(ebx + 0x48); /* 0x2B09A20B: mov ecx, dword ptr [ebx + 0x48] */ 10616 PUSH32(esp, 0xE6u); /* 0x2B09A20E: push 0xe6 */ 10617 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B09A213: call dword ptr [0x2b0b5b08] */ 10618 RECOMP_FLAGS_IN(); 10619 SET_LO8(eax, MEM8(ebx + 0x15)); /* 0x2B09A219: mov al, byte ptr [ebx + 0x15] */ 10620 /* test LO8(eax), LO8(eax) */ /* 0x2B09A21C: test al, al */ 10621 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10622 _cf = 0; 10623 _flag_k = FK_NARROW(FK_TEST, 24); 10624 PUSH32(esp, 8); /* 0x2B09A21E: push 8 */ 10625 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A320; /* 0x2B09A220: je 0x2b09a320 */ 10626 L_2B09A226: 10627 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09A226: call 0x2b0ab212 */ /* not lifted */ 10628 RECOMP_FLAGS_IN(); 10629 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10630 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10631 esp = esp + 4; /* 0x2B09A22B: add esp, 4 */ 10632 _flag_k = FK_ADD; 10633 MEM32(ebp + (-0x10)) = eax; /* 0x2B09A22E: mov dword ptr [ebp - 0x10], eax */ 10634 /* cmp eax, esi */ /* 0x2B09A231: cmp eax, esi */ 10635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10637 _flag_k = FK_CMP; 10638 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B09A233: mov byte ptr [ebp - 4], 0xe */ 10639 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A2B8; /* 0x2B09A237: je 0x2b09a2b8 */ 10640 L_2B09A239: 10641 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x2B09A239: mov al, byte ptr [ebp - 0x15] */ 10642 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10643 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09A23C: or ecx, 0xffffffff */ 10644 _cf = 0; 10645 _flag_k = FK_TEST; 10646 MEM8(ebp + (-0x5C)) = (uint8_t)(LO8(eax)); /* 0x2B09A23F: mov byte ptr [ebp - 0x5c], al */ 10647 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10648 eax = 0; /* 0x2B09A242: xor eax, eax */ 10649 _cf = 0; 10650 _flag_k = FK_TEST; 10651 edi = 0x2B0EDE44u; /* 0x2B09A244: mov edi, 0x2b0ede44 */ 10652 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; } /* 0x2B09A249: repne scasb al, byte ptr es:[edi] */ 10653 ecx = ~ecx; /* 0x2B09A24B: not ecx */ 10654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10655 ecx = ecx - 1; /* 0x2B09A24D: dec ecx */ 10656 _flag_k = FK_DEC; 10657 PUSH32(esp, 1); /* 0x2B09A24E: push 1 */ 10658 MEM32(ebp + (-0x24)) = ecx; /* 0x2B09A250: mov dword ptr [ebp - 0x24], ecx */ 10659 PUSH32(esp, ecx); /* 0x2B09A253: push ecx */ 10660 ecx = ebp + (-0x5C); /* 0x2B09A254: lea ecx, [ebp - 0x5c] */ 10661 MEM32(ebp + (-0x58)) = esi; /* 0x2B09A257: mov dword ptr [ebp - 0x58], esi */ 10662 MEM32(ebp + (-0x54)) = esi; /* 0x2B09A25A: mov dword ptr [ebp - 0x54], esi */ 10663 MEM32(ebp + (-0x50)) = esi; /* 0x2B09A25D: mov dword ptr [ebp - 0x50], esi */ 10664 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09A260: call dword ptr [0x2b0b5154] */ 10665 RECOMP_FLAGS_IN(); 10666 /* test LO8(eax), LO8(eax) */ /* 0x2B09A266: test al, al */ 10667 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10668 _cf = 0; 10669 _flag_k = FK_NARROW(FK_TEST, 24); 10670 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A291; /* 0x2B09A268: je 0x2b09a291 */ 10671 L_2B09A26A: 10672 eax = MEM32(ebp + (-0x24)); /* 0x2B09A26A: mov eax, dword ptr [ebp - 0x24] */ 10673 edi = MEM32(ebp + (-0x58)); /* 0x2B09A26D: mov edi, dword ptr [ebp - 0x58] */ 10674 ecx = eax; /* 0x2B09A270: mov ecx, eax */ 10675 edx = ecx; /* 0x2B09A272: mov edx, ecx */ 10676 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09A274: shr ecx, 2 */ 10677 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10678 ecx = ecx >> 2u; /* 0x2B09A274: shr ecx, 2 */ 10679 esi = 0x2B0EDE44u; /* 0x2B09A277: mov esi, 0x2b0ede44 */ 10680 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09A27C: 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; } 10681 ecx = edx; /* 0x2B09A27E: mov ecx, edx */ 10682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10683 ecx = ecx & 3; /* 0x2B09A280: and ecx, 3 */ 10684 _cf = 0; 10685 _flag_k = FK_TEST; 10686 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09A283: 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; } 10687 PUSH32(esp, eax); /* 0x2B09A285: push eax */ 10688 ecx = ebp + (-0x5C); /* 0x2B09A286: lea ecx, [ebp - 0x5c] */ 10689 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09A289: call dword ptr [0x2b0b5150] */ 10690 RECOMP_FLAGS_IN(); 10691 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10692 esi = 0; /* 0x2B09A28F: xor esi, esi */ 10693 _cf = 0; 10694 _flag_k = FK_TEST; 10695 L_2B09A291: 10696 MEM32(ebp + (-0x4C)) = esi; /* 0x2B09A291: mov dword ptr [ebp - 0x4c], esi */ 10697 MEM32(ebp + (-0x2C)) = 1; /* 0x2B09A294: mov dword ptr [ebp - 0x2c], 1 */ 10698 eax = MEM32(ebx + 0x88); /* 0x2B09A29B: mov eax, dword ptr [ebx + 0x88] */ 10699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10700 eax = eax + 1; /* 0x2B09A2A1: inc eax */ 10701 _flag_k = FK_INC; 10702 PUSH32(esp, eax); /* 0x2B09A2A2: push eax */ 10703 PUSH32(esp, 4); /* 0x2B09A2A3: push 4 */ 10704 ecx = ebp + (-0x5C); /* 0x2B09A2A5: lea ecx, [ebp - 0x5c] */ 10705 PUSH32(esp, ecx); /* 0x2B09A2A8: push ecx */ 10706 ecx = MEM32(ebp + (-0x10)); /* 0x2B09A2A9: mov ecx, dword ptr [ebp - 0x10] */ 10707 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B09A2AC: mov byte ptr [ebp - 4], 0xf */ 10708 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B09A2B0: call dword ptr [0x2b0b5b20] */ 10709 RECOMP_FLAGS_IN(); 10710 goto L_2B09A2BA; /* 0x2B09A2B6: jmp 0x2b09a2ba */ 10711 L_2B09A2B8: 10712 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10713 eax = 0; /* 0x2B09A2B8: xor eax, eax */ 10714 _cf = 0; 10715 _flag_k = FK_TEST; 10716 L_2B09A2BA: 10717 MEM32(ebx + 0x70) = eax; /* 0x2B09A2BA: mov dword ptr [ebx + 0x70], eax */ 10718 /* test MEM8(ebp + (-0x2C)), 1 */ /* 0x2B09A2BD: test byte ptr [ebp - 0x2c], 1 */ 10719 _flag_a = (uint32_t)(MEM8(ebp + (-0x2C))) << 24; _flag_b = (uint32_t)(1) << 24; 10720 _cf = 0; 10721 _flag_k = FK_NARROW(FK_TEST, 24); 10722 MEM32(ebp + (-0x4)) = 0xBu; /* 0x2B09A2C1: mov dword ptr [ebp - 4], 0xb */ 10723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A417; /* 0x2B09A2C8: je 0x2b09a417 */ 10724 L_2B09A2CE: 10725 edi = MEM32(ebp + (-0x4C)); /* 0x2B09A2CE: mov edi, dword ptr [ebp - 0x4c] */ 10726 /* cmp edi, esi */ /* 0x2B09A2D1: cmp edi, esi */ 10727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10729 _flag_k = FK_CMP; 10730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A312; /* 0x2B09A2D3: je 0x2b09a312 */ 10731 L_2B09A2D5: 10732 edx = MEM32(edi + 0x2C); /* 0x2B09A2D5: mov edx, dword ptr [edi + 0x2c] */ 10733 eax = edi + 0x2C; /* 0x2B09A2D8: lea eax, [edi + 0x2c] */ 10734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 10735 edx = edx - 1; /* 0x2B09A2DB: dec edx */ 10736 _flag_k = FK_DEC; 10737 ecx = edx; /* 0x2B09A2DC: mov ecx, edx */ 10738 /* cmp ecx, esi */ /* 0x2B09A2DE: cmp ecx, esi */ 10739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 10740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10741 _flag_k = FK_CMP; 10742 MEM32(eax) = edx; /* 0x2B09A2E0: mov dword ptr [eax], edx */ 10743 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A312; /* 0x2B09A2E2: jne 0x2b09a312 */ 10744 L_2B09A2E4: 10745 /* cmp edi, esi */ /* 0x2B09A2E4: cmp edi, esi */ 10746 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10748 _flag_k = FK_CMP; 10749 MEM32(ebp + (-0x10)) = edi; /* 0x2B09A2E6: mov dword ptr [ebp - 0x10], edi */ 10750 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A312; /* 0x2B09A2E9: je 0x2b09a312 */ 10751 L_2B09A2EB: 10752 PUSH32(esp, 1); /* 0x2B09A2EB: push 1 */ 10753 ecx = edi + 0x1C; /* 0x2B09A2ED: lea ecx, [edi + 0x1c] */ 10754 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B09A2F0: mov byte ptr [ebp - 4], 0x12 */ 10755 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A2F4: call dword ptr [0x2b0b514c] */ 10756 RECOMP_FLAGS_IN(); 10757 PUSH32(esp, 1); /* 0x2B09A2FA: push 1 */ 10758 ecx = edi + 0xC; /* 0x2B09A2FC: lea ecx, [edi + 0xc] */ 10759 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B09A2FF: mov byte ptr [ebp - 4], 0x11 */ 10760 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A303: call dword ptr [0x2b0b514c] */ 10761 RECOMP_FLAGS_IN(); 10762 PUSH32(esp, edi); /* 0x2B09A309: push edi */ 10763 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A30A: call 0x2b0ab1ba */ /* not lifted */ 10764 RECOMP_FLAGS_IN(); 10765 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10766 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10767 esp = esp + 4; /* 0x2B09A30F: add esp, 4 */ 10768 _flag_k = FK_ADD; 10769 L_2B09A312: 10770 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09A312: mov byte ptr [ebp - 4], 0xb */ 10771 PUSH32(esp, 1); /* 0x2B09A316: push 1 */ 10772 ecx = ebp + (-0x5C); /* 0x2B09A318: lea ecx, [ebp - 0x5c] */ 10773 goto L_2B09A411; /* 0x2B09A31B: jmp 0x2b09a411 */ 10774 L_2B09A320: 10775 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09A320: call 0x2b0ab212 */ /* not lifted */ 10776 RECOMP_FLAGS_IN(); 10777 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10778 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10779 esp = esp + 4; /* 0x2B09A325: add esp, 4 */ 10780 _flag_k = FK_ADD; 10781 MEM32(ebp + (-0x24)) = eax; /* 0x2B09A328: mov dword ptr [ebp - 0x24], eax */ 10782 /* cmp eax, esi */ /* 0x2B09A32B: cmp eax, esi */ 10783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10785 _flag_k = FK_CMP; 10786 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B09A32D: mov byte ptr [ebp - 4], 0x13 */ 10787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A3B2; /* 0x2B09A331: je 0x2b09a3b2 */ 10788 L_2B09A333: 10789 SET_LO8(edx, MEM8(ebp + (-0x15))); /* 0x2B09A333: mov dl, byte ptr [ebp - 0x15] */ 10790 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10791 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09A336: or ecx, 0xffffffff */ 10792 _cf = 0; 10793 _flag_k = FK_TEST; 10794 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10795 eax = 0; /* 0x2B09A339: xor eax, eax */ 10796 _cf = 0; 10797 _flag_k = FK_TEST; 10798 edi = 0x2B0EDE2Cu; /* 0x2B09A33B: mov edi, 0x2b0ede2c */ 10799 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; } /* 0x2B09A340: repne scasb al, byte ptr es:[edi] */ 10800 ecx = ~ecx; /* 0x2B09A342: not ecx */ 10801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10802 ecx = ecx - 1; /* 0x2B09A344: dec ecx */ 10803 _flag_k = FK_DEC; 10804 PUSH32(esp, 1); /* 0x2B09A345: push 1 */ 10805 MEM32(ebp + (-0x10)) = ecx; /* 0x2B09A347: mov dword ptr [ebp - 0x10], ecx */ 10806 PUSH32(esp, ecx); /* 0x2B09A34A: push ecx */ 10807 ecx = ebp + (-0x5C); /* 0x2B09A34B: lea ecx, [ebp - 0x5c] */ 10808 MEM8(ebp + (-0x5C)) = (uint8_t)(LO8(edx)); /* 0x2B09A34E: mov byte ptr [ebp - 0x5c], dl */ 10809 MEM32(ebp + (-0x58)) = esi; /* 0x2B09A351: mov dword ptr [ebp - 0x58], esi */ 10810 MEM32(ebp + (-0x54)) = esi; /* 0x2B09A354: mov dword ptr [ebp - 0x54], esi */ 10811 MEM32(ebp + (-0x50)) = esi; /* 0x2B09A357: mov dword ptr [ebp - 0x50], esi */ 10812 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09A35A: call dword ptr [0x2b0b5154] */ 10813 RECOMP_FLAGS_IN(); 10814 /* test LO8(eax), LO8(eax) */ /* 0x2B09A360: test al, al */ 10815 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10816 _cf = 0; 10817 _flag_k = FK_NARROW(FK_TEST, 24); 10818 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A38B; /* 0x2B09A362: je 0x2b09a38b */ 10819 L_2B09A364: 10820 eax = MEM32(ebp + (-0x10)); /* 0x2B09A364: mov eax, dword ptr [ebp - 0x10] */ 10821 edi = MEM32(ebp + (-0x58)); /* 0x2B09A367: mov edi, dword ptr [ebp - 0x58] */ 10822 ecx = eax; /* 0x2B09A36A: mov ecx, eax */ 10823 edx = ecx; /* 0x2B09A36C: mov edx, ecx */ 10824 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09A36E: shr ecx, 2 */ 10825 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10826 ecx = ecx >> 2u; /* 0x2B09A36E: shr ecx, 2 */ 10827 esi = 0x2B0EDE2Cu; /* 0x2B09A371: mov esi, 0x2b0ede2c */ 10828 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09A376: 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; } 10829 ecx = edx; /* 0x2B09A378: mov ecx, edx */ 10830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10831 ecx = ecx & 3; /* 0x2B09A37A: and ecx, 3 */ 10832 _cf = 0; 10833 _flag_k = FK_TEST; 10834 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09A37D: 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; } 10835 PUSH32(esp, eax); /* 0x2B09A37F: push eax */ 10836 ecx = ebp + (-0x5C); /* 0x2B09A380: lea ecx, [ebp - 0x5c] */ 10837 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09A383: call dword ptr [0x2b0b5150] */ 10838 RECOMP_FLAGS_IN(); 10839 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10840 esi = 0; /* 0x2B09A389: xor esi, esi */ 10841 _cf = 0; 10842 _flag_k = FK_TEST; 10843 L_2B09A38B: 10844 MEM32(ebp + (-0x4C)) = esi; /* 0x2B09A38B: mov dword ptr [ebp - 0x4c], esi */ 10845 MEM32(ebp + (-0x2C)) = 2; /* 0x2B09A38E: mov dword ptr [ebp - 0x2c], 2 */ 10846 eax = MEM32(ebx + 0x88); /* 0x2B09A395: mov eax, dword ptr [ebx + 0x88] */ 10847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10848 eax = eax + 1; /* 0x2B09A39B: inc eax */ 10849 _flag_k = FK_INC; 10850 PUSH32(esp, eax); /* 0x2B09A39C: push eax */ 10851 PUSH32(esp, 4); /* 0x2B09A39D: push 4 */ 10852 ecx = ebp + (-0x5C); /* 0x2B09A39F: lea ecx, [ebp - 0x5c] */ 10853 PUSH32(esp, ecx); /* 0x2B09A3A2: push ecx */ 10854 ecx = MEM32(ebp + (-0x24)); /* 0x2B09A3A3: mov ecx, dword ptr [ebp - 0x24] */ 10855 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B09A3A6: mov byte ptr [ebp - 4], 0x14 */ 10856 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B09A3AA: call dword ptr [0x2b0b5b20] */ 10857 RECOMP_FLAGS_IN(); 10858 goto L_2B09A3B4; /* 0x2B09A3B0: jmp 0x2b09a3b4 */ 10859 L_2B09A3B2: 10860 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10861 eax = 0; /* 0x2B09A3B2: xor eax, eax */ 10862 _cf = 0; 10863 _flag_k = FK_TEST; 10864 L_2B09A3B4: 10865 MEM32(ebx + 0x70) = eax; /* 0x2B09A3B4: mov dword ptr [ebx + 0x70], eax */ 10866 /* test MEM8(ebp + (-0x2C)), 2 */ /* 0x2B09A3B7: test byte ptr [ebp - 0x2c], 2 */ 10867 _flag_a = (uint32_t)(MEM8(ebp + (-0x2C))) << 24; _flag_b = (uint32_t)(2) << 24; 10868 _cf = 0; 10869 _flag_k = FK_NARROW(FK_TEST, 24); 10870 MEM32(ebp + (-0x4)) = 0xBu; /* 0x2B09A3BB: mov dword ptr [ebp - 4], 0xb */ 10871 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A417; /* 0x2B09A3C2: je 0x2b09a417 */ 10872 L_2B09A3C4: 10873 edi = MEM32(ebp + (-0x4C)); /* 0x2B09A3C4: mov edi, dword ptr [ebp - 0x4c] */ 10874 /* cmp edi, esi */ /* 0x2B09A3C7: cmp edi, esi */ 10875 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10877 _flag_k = FK_CMP; 10878 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A408; /* 0x2B09A3C9: je 0x2b09a408 */ 10879 L_2B09A3CB: 10880 edx = MEM32(edi + 0x2C); /* 0x2B09A3CB: mov edx, dword ptr [edi + 0x2c] */ 10881 eax = edi + 0x2C; /* 0x2B09A3CE: lea eax, [edi + 0x2c] */ 10882 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 10883 edx = edx - 1; /* 0x2B09A3D1: dec edx */ 10884 _flag_k = FK_DEC; 10885 ecx = edx; /* 0x2B09A3D2: mov ecx, edx */ 10886 /* cmp ecx, esi */ /* 0x2B09A3D4: cmp ecx, esi */ 10887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 10888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10889 _flag_k = FK_CMP; 10890 MEM32(eax) = edx; /* 0x2B09A3D6: mov dword ptr [eax], edx */ 10891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A408; /* 0x2B09A3D8: jne 0x2b09a408 */ 10892 L_2B09A3DA: 10893 /* cmp edi, esi */ /* 0x2B09A3DA: cmp edi, esi */ 10894 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10896 _flag_k = FK_CMP; 10897 MEM32(ebp + (-0x10)) = edi; /* 0x2B09A3DC: mov dword ptr [ebp - 0x10], edi */ 10898 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A408; /* 0x2B09A3DF: je 0x2b09a408 */ 10899 L_2B09A3E1: 10900 PUSH32(esp, 1); /* 0x2B09A3E1: push 1 */ 10901 ecx = edi + 0x1C; /* 0x2B09A3E3: lea ecx, [edi + 0x1c] */ 10902 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B09A3E6: mov byte ptr [ebp - 4], 0x17 */ 10903 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A3EA: call dword ptr [0x2b0b514c] */ 10904 RECOMP_FLAGS_IN(); 10905 PUSH32(esp, 1); /* 0x2B09A3F0: push 1 */ 10906 ecx = edi + 0xC; /* 0x2B09A3F2: lea ecx, [edi + 0xc] */ 10907 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B09A3F5: mov byte ptr [ebp - 4], 0x16 */ 10908 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A3F9: call dword ptr [0x2b0b514c] */ 10909 RECOMP_FLAGS_IN(); 10910 PUSH32(esp, edi); /* 0x2B09A3FF: push edi */ 10911 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A400: call 0x2b0ab1ba */ /* not lifted */ 10912 RECOMP_FLAGS_IN(); 10913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10915 esp = esp + 4; /* 0x2B09A405: add esp, 4 */ 10916 _flag_k = FK_ADD; 10917 L_2B09A408: 10918 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09A408: mov byte ptr [ebp - 4], 0xb */ 10919 PUSH32(esp, 1); /* 0x2B09A40C: push 1 */ 10920 ecx = ebp + (-0x5C); /* 0x2B09A40E: lea ecx, [ebp - 0x5c] */ 10921 L_2B09A411: 10922 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A411: call dword ptr [0x2b0b514c] */ 10923 RECOMP_FLAGS_IN(); 10924 L_2B09A417: 10925 edx = MEM32(ebx + 0x70); /* 0x2B09A417: mov edx, dword ptr [ebx + 0x70] */ 10926 ecx = MEM32(edx + 0x4); /* 0x2B09A41A: mov ecx, dword ptr [edx + 4] */ 10927 PUSH32(esp, 0x00BBBBBBu); /* 0x2B09A41D: push 0xbbbbbb */ 10928 RECOMP_ICALL(MEM32(0x2B0B5B48)); /* 0x2B09A422: call dword ptr [0x2b0b5b48] */ 10929 RECOMP_FLAGS_IN(); 10930 eax = MEM32(0x2B0B6048); /* 0x2B09A428: mov eax, dword ptr [0x2b0b6048] */ 10931 edi = MEM32(0x2B0B602C); /* 0x2B09A42D: mov edi, dword ptr [0x2b0b602c] */ 10932 PUSH32(esp, 2); /* 0x2B09A433: push 2 */ 10933 MEM32(ebp + (-0x48)) = esi; /* 0x2B09A435: mov dword ptr [ebp - 0x48], esi */ 10934 MEM32(ebp + (-0x44)) = esi; /* 0x2B09A438: mov dword ptr [ebp - 0x44], esi */ 10935 ecx = MEM32(eax); /* 0x2B09A43B: mov ecx, dword ptr [eax] */ 10936 PUSH32(esp, 0x2B0EDE20u); /* 0x2B09A43D: push 0x2b0ede20 */ 10937 RECOMP_ICALL(edi); /* 0x2B09A442: call edi */ 10938 RECOMP_FLAGS_IN(); 10939 ecx = MEM32(0x2B0B6048); /* 0x2B09A444: mov ecx, dword ptr [0x2b0b6048] */ 10940 PUSH32(esp, 2); /* 0x2B09A44A: push 2 */ 10941 MEM32(ebp + (-0x48)) = eax; /* 0x2B09A44C: mov dword ptr [ebp - 0x48], eax */ 10942 ecx = MEM32(ecx); /* 0x2B09A44F: mov ecx, dword ptr [ecx] */ 10943 PUSH32(esp, 0x2B0EDE14u); /* 0x2B09A451: push 0x2b0ede14 */ 10944 RECOMP_ICALL(edi); /* 0x2B09A456: call edi */ 10945 RECOMP_FLAGS_IN(); 10946 edx = MEM32(0x2B0B6048); /* 0x2B09A458: mov edx, dword ptr [0x2b0b6048] */ 10947 PUSH32(esp, 2); /* 0x2B09A45E: push 2 */ 10948 MEM32(ebp + (-0x44)) = eax; /* 0x2B09A460: mov dword ptr [ebp - 0x44], eax */ 10949 ecx = MEM32(edx); /* 0x2B09A463: mov ecx, dword ptr [edx] */ 10950 PUSH32(esp, 0x2B0EDE08u); /* 0x2B09A465: push 0x2b0ede08 */ 10951 RECOMP_ICALL(edi); /* 0x2B09A46A: call edi */ 10952 RECOMP_FLAGS_IN(); 10953 MEM32(ebp + (-0x64)) = eax; /* 0x2B09A46C: mov dword ptr [ebp - 0x64], eax */ 10954 eax = MEM32(0x2B0B6048); /* 0x2B09A46F: mov eax, dword ptr [0x2b0b6048] */ 10955 ecx = MEM32(eax); /* 0x2B09A474: mov ecx, dword ptr [eax] */ 10956 PUSH32(esp, 2); /* 0x2B09A476: push 2 */ 10957 PUSH32(esp, 0x2B0EDDFCu); /* 0x2B09A478: push 0x2b0eddfc */ 10958 RECOMP_ICALL(edi); /* 0x2B09A47D: call edi */ 10959 RECOMP_FLAGS_IN(); 10960 MEM32(ebp + (-0x60)) = eax; /* 0x2B09A47F: mov dword ptr [ebp - 0x60], eax */ 10961 /* cmp MEM32(ebp + (-0x48)), esi */ /* 0x2B09A482: cmp dword ptr [ebp - 0x48], esi */ 10962 _flag_a = (uint32_t)(MEM32(ebp + (-0x48))); _flag_b = (uint32_t)(esi); 10963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10964 _flag_k = FK_CMP; 10965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A48C; /* 0x2B09A485: je 0x2b09a48c */ 10966 L_2B09A487: 10967 /* cmp MEM32(ebp + (-0x44)), esi */ /* 0x2B09A487: cmp dword ptr [ebp - 0x44], esi */ 10968 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(esi); 10969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10970 _flag_k = FK_CMP; 10971 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A49A; /* 0x2B09A48A: jne 0x2b09a49a */ 10972 L_2B09A48C: 10973 MEM32(ebp + (-0x48)) = 0x15Eu; /* 0x2B09A48C: mov dword ptr [ebp - 0x48], 0x15e */ 10974 MEM32(ebp + (-0x44)) = 0x140u; /* 0x2B09A493: mov dword ptr [ebp - 0x44], 0x140 */ 10975 L_2B09A49A: 10976 ecx = ebp + (-0x48); /* 0x2B09A49A: lea ecx, [ebp - 0x48] */ 10977 PUSH32(esp, ecx); /* 0x2B09A49D: push ecx */ 10978 ecx = ebx; /* 0x2B09A49E: mov ecx, ebx */ 10979 RECOMP_ICALL(0x2B09A880u); /* 0x2B09A4A0: call 0x2b09a880 */ /* not lifted */ 10980 RECOMP_FLAGS_IN(); 10981 ecx = ebx; /* 0x2B09A4A5: mov ecx, ebx */ 10982 RECOMP_ICALL(0x2B09A5D0u); /* 0x2B09A4A7: call 0x2b09a5d0 */ /* not lifted */ 10983 RECOMP_FLAGS_IN(); 10984 /* cmp MEM32(ebp + (-0x64)), esi */ /* 0x2B09A4AC: cmp dword ptr [ebp - 0x64], esi */ 10985 _flag_a = (uint32_t)(MEM32(ebp + (-0x64))); _flag_b = (uint32_t)(esi); 10986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10987 _flag_k = FK_CMP; 10988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A4F8; /* 0x2B09A4AF: jne 0x2b09a4f8 */ 10989 L_2B09A4B1: 10990 /* cmp MEM32(ebp + (-0x60)), esi */ /* 0x2B09A4B1: cmp dword ptr [ebp - 0x60], esi */ 10991 _flag_a = (uint32_t)(MEM32(ebp + (-0x60))); _flag_b = (uint32_t)(esi); 10992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10993 _flag_k = FK_CMP; 10994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A4F8; /* 0x2B09A4B4: jne 0x2b09a4f8 */ 10995 L_2B09A4B6: 10996 edi = MEM32(0x2B0B5690); /* 0x2B09A4B6: mov edi, dword ptr [0x2b0b5690] */ 10997 RECOMP_ICALL(edi); /* 0x2B09A4BC: call edi */ 10998 RECOMP_FLAGS_IN(); 10999 ecx = eax; /* 0x2B09A4BE: mov ecx, eax */ 11000 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B09A4C0: call dword ptr [0x2b0b5688] */ 11001 RECOMP_FLAGS_IN(); 11002 MEM32(ebp + (-0x10)) = eax; /* 0x2B09A4C6: mov dword ptr [ebp - 0x10], eax */ 11003 RECOMP_ICALL(edi); /* 0x2B09A4C9: call edi */ 11004 RECOMP_FLAGS_IN(); 11005 ecx = eax; /* 0x2B09A4CB: mov ecx, eax */ 11006 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B09A4CD: call dword ptr [0x2b0b568c] */ 11007 RECOMP_FLAGS_IN(); 11008 edx = MEM32(ebx + 0x80); /* 0x2B09A4D3: mov edx, dword ptr [ebx + 0x80] */ 11009 ecx = eax; /* 0x2B09A4D9: mov ecx, eax */ 11010 eax = MEM32(ebp + (-0x10)); /* 0x2B09A4DB: mov eax, dword ptr [ebp - 0x10] */ 11011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11013 eax = eax - edx; /* 0x2B09A4DE: sub eax, edx */ 11014 _flag_k = FK_CMP; 11015 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A4E0: cdq */ 11016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11018 eax = eax - edx; /* 0x2B09A4E1: sub eax, edx */ 11019 _flag_k = FK_CMP; 11020 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A4E3: sar eax, 1 */ 11021 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11022 eax = (uint32_t)((int32_t)eax >> 1u); 11023 MEM32(ebp + (-0x64)) = eax; /* 0x2B09A4E5: mov dword ptr [ebp - 0x64], eax */ 11024 eax = ecx; /* 0x2B09A4E8: mov eax, ecx */ 11025 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x84)); 11026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11027 eax = eax - MEM32(ebx + 0x84); /* 0x2B09A4EA: sub eax, dword ptr [ebx + 0x84] */ 11028 _flag_k = FK_CMP; 11029 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A4F0: cdq */ 11030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11032 eax = eax - edx; /* 0x2B09A4F1: sub eax, edx */ 11033 _flag_k = FK_CMP; 11034 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A4F3: sar eax, 1 */ 11035 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11036 eax = (uint32_t)((int32_t)eax >> 1u); 11037 MEM32(ebp + (-0x60)) = eax; /* 0x2B09A4F5: mov dword ptr [ebp - 0x60], eax */ 11038 L_2B09A4F8: 11039 edx = ebp + (-0x64); /* 0x2B09A4F8: lea edx, [ebp - 0x64] */ 11040 PUSH32(esp, edx); /* 0x2B09A4FB: push edx */ 11041 ecx = ebx; /* 0x2B09A4FC: mov ecx, ebx */ 11042 RECOMP_ICALL(0x2B09A630u); /* 0x2B09A4FE: call 0x2b09a630 */ /* not lifted */ 11043 RECOMP_FLAGS_IN(); 11044 edi = MEM32(ebp + (-0x30)); /* 0x2B09A503: mov edi, dword ptr [ebp - 0x30] */ 11045 /* cmp edi, esi */ /* 0x2B09A506: cmp edi, esi */ 11046 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11048 _flag_k = FK_CMP; 11049 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A508: je 0x2b09a57e */ 11050 L_2B09A50A: 11051 edx = MEM32(edi + 0x2C); /* 0x2B09A50A: mov edx, dword ptr [edi + 0x2c] */ 11052 eax = edi + 0x2C; /* 0x2B09A50D: lea eax, [edi + 0x2c] */ 11053 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 11054 edx = edx - 1; /* 0x2B09A510: dec edx */ 11055 _flag_k = FK_DEC; 11056 ecx = edx; /* 0x2B09A511: mov ecx, edx */ 11057 /* cmp ecx, esi */ /* 0x2B09A513: cmp ecx, esi */ 11058 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11060 _flag_k = FK_CMP; 11061 MEM32(eax) = edx; /* 0x2B09A515: mov dword ptr [eax], edx */ 11062 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A517: jne 0x2b09a57e */ 11063 L_2B09A519: 11064 /* cmp edi, esi */ /* 0x2B09A519: cmp edi, esi */ 11065 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11067 _flag_k = FK_CMP; 11068 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A51B: je 0x2b09a57e */ 11069 L_2B09A51D: 11070 eax = MEM32(edi + 0x20); /* 0x2B09A51D: mov eax, dword ptr [edi + 0x20] */ 11071 /* cmp eax, esi */ /* 0x2B09A520: cmp eax, esi */ 11072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11074 _flag_k = FK_CMP; 11075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A540; /* 0x2B09A522: je 0x2b09a540 */ 11076 L_2B09A524: 11077 ecx = eax + (-0x1); /* 0x2B09A524: lea ecx, [eax - 1] */ 11078 SET_LO8(eax, MEM8(ecx)); /* 0x2B09A527: mov al, byte ptr [ecx] */ 11079 /* test LO8(eax), LO8(eax) */ /* 0x2B09A529: test al, al */ 11080 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11081 _cf = 0; 11082 _flag_k = FK_NARROW(FK_TEST, 24); 11083 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A537; /* 0x2B09A52B: je 0x2b09a537 */ 11084 L_2B09A52D: 11085 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A52D: cmp al, 0xff */ 11086 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11088 _flag_k = FK_NARROW(FK_CMP, 24); 11089 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A537; /* 0x2B09A52F: je 0x2b09a537 */ 11090 L_2B09A531: 11091 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11092 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A531: dec al */ 11093 _flag_k = FK_NARROW(FK_DEC, 24); 11094 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09A533: mov byte ptr [ecx], al */ 11095 goto L_2B09A540; /* 0x2B09A535: jmp 0x2b09a540 */ 11096 L_2B09A537: 11097 PUSH32(esp, ecx); /* 0x2B09A537: push ecx */ 11098 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A538: call 0x2b0ab1ba */ /* not lifted */ 11099 RECOMP_FLAGS_IN(); 11100 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11102 esp = esp + 4; /* 0x2B09A53D: add esp, 4 */ 11103 _flag_k = FK_ADD; 11104 L_2B09A540: 11105 MEM32(edi + 0x20) = esi; /* 0x2B09A540: mov dword ptr [edi + 0x20], esi */ 11106 MEM32(edi + 0x24) = esi; /* 0x2B09A543: mov dword ptr [edi + 0x24], esi */ 11107 MEM32(edi + 0x28) = esi; /* 0x2B09A546: mov dword ptr [edi + 0x28], esi */ 11108 eax = MEM32(edi + 0x10); /* 0x2B09A549: mov eax, dword ptr [edi + 0x10] */ 11109 /* cmp eax, esi */ /* 0x2B09A54C: cmp eax, esi */ 11110 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11112 _flag_k = FK_CMP; 11113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A56C; /* 0x2B09A54E: je 0x2b09a56c */ 11114 L_2B09A550: 11115 ecx = eax + (-0x1); /* 0x2B09A550: lea ecx, [eax - 1] */ 11116 SET_LO8(eax, MEM8(ecx)); /* 0x2B09A553: mov al, byte ptr [ecx] */ 11117 /* test LO8(eax), LO8(eax) */ /* 0x2B09A555: test al, al */ 11118 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11119 _cf = 0; 11120 _flag_k = FK_NARROW(FK_TEST, 24); 11121 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A557: je 0x2b09a563 */ 11122 L_2B09A559: 11123 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A559: cmp al, 0xff */ 11124 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11126 _flag_k = FK_NARROW(FK_CMP, 24); 11127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A55B: je 0x2b09a563 */ 11128 L_2B09A55D: 11129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11130 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A55D: dec al */ 11131 _flag_k = FK_NARROW(FK_DEC, 24); 11132 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09A55F: mov byte ptr [ecx], al */ 11133 goto L_2B09A56C; /* 0x2B09A561: jmp 0x2b09a56c */ 11134 L_2B09A563: 11135 PUSH32(esp, ecx); /* 0x2B09A563: push ecx */ 11136 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A564: call 0x2b0ab1ba */ /* not lifted */ 11137 RECOMP_FLAGS_IN(); 11138 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11140 esp = esp + 4; /* 0x2B09A569: add esp, 4 */ 11141 _flag_k = FK_ADD; 11142 L_2B09A56C: 11143 PUSH32(esp, edi); /* 0x2B09A56C: push edi */ 11144 MEM32(edi + 0x10) = esi; /* 0x2B09A56D: mov dword ptr [edi + 0x10], esi */ 11145 MEM32(edi + 0x14) = esi; /* 0x2B09A570: mov dword ptr [edi + 0x14], esi */ 11146 MEM32(edi + 0x18) = esi; /* 0x2B09A573: mov dword ptr [edi + 0x18], esi */ 11147 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A576: call 0x2b0ab1ba */ /* not lifted */ 11148 RECOMP_FLAGS_IN(); 11149 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11151 esp = esp + 4; /* 0x2B09A57B: add esp, 4 */ 11152 _flag_k = FK_ADD; 11153 L_2B09A57E: 11154 ecx = MEM32(ebp + (-0x3C)); /* 0x2B09A57E: mov ecx, dword ptr [ebp - 0x3c] */ 11155 /* cmp ecx, esi */ /* 0x2B09A581: cmp ecx, esi */ 11156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11158 _flag_k = FK_CMP; 11159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5B0; /* 0x2B09A583: je 0x2b09a5b0 */ 11160 L_2B09A585: 11161 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B09A585: mov al, byte ptr [ecx - 1] */ 11162 /* test LO8(eax), LO8(eax) */ /* 0x2B09A588: test al, al */ 11163 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11164 _cf = 0; 11165 _flag_k = FK_NARROW(FK_TEST, 24); 11166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58A: je 0x2b09a5a6 */ 11167 L_2B09A58C: 11168 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A58C: cmp al, 0xff */ 11169 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11171 _flag_k = FK_NARROW(FK_CMP, 24); 11172 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58E: je 0x2b09a5a6 */ 11173 L_2B09A590: 11174 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11175 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A590: dec al */ 11176 _flag_k = FK_NARROW(FK_DEC, 24); 11177 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B09A592: mov byte ptr [ecx - 1], al */ 11178 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A595: mov ecx, dword ptr [ebp - 0xc] */ 11179 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A598: mov dword ptr fs:[0], ecx */ 11180 edi = POP32_VAL(esp); /* 0x2B09A59F: pop edi */ 11181 esi = POP32_VAL(esp); /* 0x2B09A5A0: pop esi */ 11182 ebx = POP32_VAL(esp); /* 0x2B09A5A1: pop ebx */ 11183 esp = ebp; /* 0x2B09A5A2: mov esp, ebp */ 11184 ebp = POP32_VAL(esp); /* 0x2B09A5A4: pop ebp */ 11185 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5A5: ret */ 11186 L_2B09A5A6: 11187 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11188 ecx = ecx - 1; /* 0x2B09A5A6: dec ecx */ 11189 _flag_k = FK_DEC; 11190 PUSH32(esp, ecx); /* 0x2B09A5A7: push ecx */ 11191 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A5A8: call 0x2b0ab1ba */ /* not lifted */ 11192 RECOMP_FLAGS_IN(); 11193 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11195 esp = esp + 4; /* 0x2B09A5AD: add esp, 4 */ 11196 _flag_k = FK_ADD; 11197 L_2B09A5B0: 11198 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A5B0: mov ecx, dword ptr [ebp - 0xc] */ 11199 edi = POP32_VAL(esp); /* 0x2B09A5B3: pop edi */ 11200 esi = POP32_VAL(esp); /* 0x2B09A5B4: pop esi */ 11201 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A5B5: mov dword ptr fs:[0], ecx */ 11202 ebx = POP32_VAL(esp); /* 0x2B09A5BC: pop ebx */ 11203 esp = ebp; /* 0x2B09A5BD: mov esp, ebp */ 11204 ebp = POP32_VAL(esp); /* 0x2B09A5BF: pop ebp */ 11205 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5C0: ret */ 11206 RECOMP_REGS_OUT(); 11207 } 11208 11209 void sub_2B09A411(void) { 11210 int _fpu_cmp = 0; 11211 uint32_t _cf = 0; 11212 int _df = 1; 11213 uint32_t _flag_k = FK_NONE; 11214 uint32_t _flag_a = 0, _flag_b = 0; 11215 uint32_t _itail_tgt = 0; 11216 RECOMP_REGS_LOCALS 11217 RECOMP_ENTER(0x2B09A411u); 11218 11219 L_2B09A411: 11220 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09A411: call dword ptr [0x2b0b514c] */ 11221 RECOMP_FLAGS_IN(); 11222 edx = MEM32(ebx + 0x70); /* 0x2B09A417: mov edx, dword ptr [ebx + 0x70] */ 11223 ecx = MEM32(edx + 0x4); /* 0x2B09A41A: mov ecx, dword ptr [edx + 4] */ 11224 PUSH32(esp, 0x00BBBBBBu); /* 0x2B09A41D: push 0xbbbbbb */ 11225 RECOMP_ICALL(MEM32(0x2B0B5B48)); /* 0x2B09A422: call dword ptr [0x2b0b5b48] */ 11226 RECOMP_FLAGS_IN(); 11227 eax = MEM32(0x2B0B6048); /* 0x2B09A428: mov eax, dword ptr [0x2b0b6048] */ 11228 edi = MEM32(0x2B0B602C); /* 0x2B09A42D: mov edi, dword ptr [0x2b0b602c] */ 11229 PUSH32(esp, 2); /* 0x2B09A433: push 2 */ 11230 MEM32(ebp + (-0x48)) = esi; /* 0x2B09A435: mov dword ptr [ebp - 0x48], esi */ 11231 MEM32(ebp + (-0x44)) = esi; /* 0x2B09A438: mov dword ptr [ebp - 0x44], esi */ 11232 ecx = MEM32(eax); /* 0x2B09A43B: mov ecx, dword ptr [eax] */ 11233 PUSH32(esp, 0x2B0EDE20u); /* 0x2B09A43D: push 0x2b0ede20 */ 11234 RECOMP_ICALL(edi); /* 0x2B09A442: call edi */ 11235 RECOMP_FLAGS_IN(); 11236 ecx = MEM32(0x2B0B6048); /* 0x2B09A444: mov ecx, dword ptr [0x2b0b6048] */ 11237 PUSH32(esp, 2); /* 0x2B09A44A: push 2 */ 11238 MEM32(ebp + (-0x48)) = eax; /* 0x2B09A44C: mov dword ptr [ebp - 0x48], eax */ 11239 ecx = MEM32(ecx); /* 0x2B09A44F: mov ecx, dword ptr [ecx] */ 11240 PUSH32(esp, 0x2B0EDE14u); /* 0x2B09A451: push 0x2b0ede14 */ 11241 RECOMP_ICALL(edi); /* 0x2B09A456: call edi */ 11242 RECOMP_FLAGS_IN(); 11243 edx = MEM32(0x2B0B6048); /* 0x2B09A458: mov edx, dword ptr [0x2b0b6048] */ 11244 PUSH32(esp, 2); /* 0x2B09A45E: push 2 */ 11245 MEM32(ebp + (-0x44)) = eax; /* 0x2B09A460: mov dword ptr [ebp - 0x44], eax */ 11246 ecx = MEM32(edx); /* 0x2B09A463: mov ecx, dword ptr [edx] */ 11247 PUSH32(esp, 0x2B0EDE08u); /* 0x2B09A465: push 0x2b0ede08 */ 11248 RECOMP_ICALL(edi); /* 0x2B09A46A: call edi */ 11249 RECOMP_FLAGS_IN(); 11250 MEM32(ebp + (-0x64)) = eax; /* 0x2B09A46C: mov dword ptr [ebp - 0x64], eax */ 11251 eax = MEM32(0x2B0B6048); /* 0x2B09A46F: mov eax, dword ptr [0x2b0b6048] */ 11252 ecx = MEM32(eax); /* 0x2B09A474: mov ecx, dword ptr [eax] */ 11253 PUSH32(esp, 2); /* 0x2B09A476: push 2 */ 11254 PUSH32(esp, 0x2B0EDDFCu); /* 0x2B09A478: push 0x2b0eddfc */ 11255 RECOMP_ICALL(edi); /* 0x2B09A47D: call edi */ 11256 RECOMP_FLAGS_IN(); 11257 MEM32(ebp + (-0x60)) = eax; /* 0x2B09A47F: mov dword ptr [ebp - 0x60], eax */ 11258 /* cmp MEM32(ebp + (-0x48)), esi */ /* 0x2B09A482: cmp dword ptr [ebp - 0x48], esi */ 11259 _flag_a = (uint32_t)(MEM32(ebp + (-0x48))); _flag_b = (uint32_t)(esi); 11260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11261 _flag_k = FK_CMP; 11262 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A48C; /* 0x2B09A485: je 0x2b09a48c */ 11263 L_2B09A487: 11264 /* cmp MEM32(ebp + (-0x44)), esi */ /* 0x2B09A487: cmp dword ptr [ebp - 0x44], esi */ 11265 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(esi); 11266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11267 _flag_k = FK_CMP; 11268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A49A; /* 0x2B09A48A: jne 0x2b09a49a */ 11269 L_2B09A48C: 11270 MEM32(ebp + (-0x48)) = 0x15Eu; /* 0x2B09A48C: mov dword ptr [ebp - 0x48], 0x15e */ 11271 MEM32(ebp + (-0x44)) = 0x140u; /* 0x2B09A493: mov dword ptr [ebp - 0x44], 0x140 */ 11272 L_2B09A49A: 11273 ecx = ebp + (-0x48); /* 0x2B09A49A: lea ecx, [ebp - 0x48] */ 11274 PUSH32(esp, ecx); /* 0x2B09A49D: push ecx */ 11275 ecx = ebx; /* 0x2B09A49E: mov ecx, ebx */ 11276 RECOMP_ICALL(0x2B09A880u); /* 0x2B09A4A0: call 0x2b09a880 */ /* not lifted */ 11277 RECOMP_FLAGS_IN(); 11278 ecx = ebx; /* 0x2B09A4A5: mov ecx, ebx */ 11279 RECOMP_ICALL(0x2B09A5D0u); /* 0x2B09A4A7: call 0x2b09a5d0 */ /* not lifted */ 11280 RECOMP_FLAGS_IN(); 11281 /* cmp MEM32(ebp + (-0x64)), esi */ /* 0x2B09A4AC: cmp dword ptr [ebp - 0x64], esi */ 11282 _flag_a = (uint32_t)(MEM32(ebp + (-0x64))); _flag_b = (uint32_t)(esi); 11283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11284 _flag_k = FK_CMP; 11285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A4F8; /* 0x2B09A4AF: jne 0x2b09a4f8 */ 11286 L_2B09A4B1: 11287 /* cmp MEM32(ebp + (-0x60)), esi */ /* 0x2B09A4B1: cmp dword ptr [ebp - 0x60], esi */ 11288 _flag_a = (uint32_t)(MEM32(ebp + (-0x60))); _flag_b = (uint32_t)(esi); 11289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11290 _flag_k = FK_CMP; 11291 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A4F8; /* 0x2B09A4B4: jne 0x2b09a4f8 */ 11292 L_2B09A4B6: 11293 edi = MEM32(0x2B0B5690); /* 0x2B09A4B6: mov edi, dword ptr [0x2b0b5690] */ 11294 RECOMP_ICALL(edi); /* 0x2B09A4BC: call edi */ 11295 RECOMP_FLAGS_IN(); 11296 ecx = eax; /* 0x2B09A4BE: mov ecx, eax */ 11297 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B09A4C0: call dword ptr [0x2b0b5688] */ 11298 RECOMP_FLAGS_IN(); 11299 MEM32(ebp + (-0x10)) = eax; /* 0x2B09A4C6: mov dword ptr [ebp - 0x10], eax */ 11300 RECOMP_ICALL(edi); /* 0x2B09A4C9: call edi */ 11301 RECOMP_FLAGS_IN(); 11302 ecx = eax; /* 0x2B09A4CB: mov ecx, eax */ 11303 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B09A4CD: call dword ptr [0x2b0b568c] */ 11304 RECOMP_FLAGS_IN(); 11305 edx = MEM32(ebx + 0x80); /* 0x2B09A4D3: mov edx, dword ptr [ebx + 0x80] */ 11306 ecx = eax; /* 0x2B09A4D9: mov ecx, eax */ 11307 eax = MEM32(ebp + (-0x10)); /* 0x2B09A4DB: mov eax, dword ptr [ebp - 0x10] */ 11308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11310 eax = eax - edx; /* 0x2B09A4DE: sub eax, edx */ 11311 _flag_k = FK_CMP; 11312 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A4E0: cdq */ 11313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11315 eax = eax - edx; /* 0x2B09A4E1: sub eax, edx */ 11316 _flag_k = FK_CMP; 11317 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A4E3: sar eax, 1 */ 11318 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11319 eax = (uint32_t)((int32_t)eax >> 1u); 11320 MEM32(ebp + (-0x64)) = eax; /* 0x2B09A4E5: mov dword ptr [ebp - 0x64], eax */ 11321 eax = ecx; /* 0x2B09A4E8: mov eax, ecx */ 11322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x84)); 11323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11324 eax = eax - MEM32(ebx + 0x84); /* 0x2B09A4EA: sub eax, dword ptr [ebx + 0x84] */ 11325 _flag_k = FK_CMP; 11326 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A4F0: cdq */ 11327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11329 eax = eax - edx; /* 0x2B09A4F1: sub eax, edx */ 11330 _flag_k = FK_CMP; 11331 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A4F3: sar eax, 1 */ 11332 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11333 eax = (uint32_t)((int32_t)eax >> 1u); 11334 MEM32(ebp + (-0x60)) = eax; /* 0x2B09A4F5: mov dword ptr [ebp - 0x60], eax */ 11335 L_2B09A4F8: 11336 edx = ebp + (-0x64); /* 0x2B09A4F8: lea edx, [ebp - 0x64] */ 11337 PUSH32(esp, edx); /* 0x2B09A4FB: push edx */ 11338 ecx = ebx; /* 0x2B09A4FC: mov ecx, ebx */ 11339 RECOMP_ICALL(0x2B09A630u); /* 0x2B09A4FE: call 0x2b09a630 */ /* not lifted */ 11340 RECOMP_FLAGS_IN(); 11341 edi = MEM32(ebp + (-0x30)); /* 0x2B09A503: mov edi, dword ptr [ebp - 0x30] */ 11342 /* cmp edi, esi */ /* 0x2B09A506: cmp edi, esi */ 11343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11345 _flag_k = FK_CMP; 11346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A508: je 0x2b09a57e */ 11347 L_2B09A50A: 11348 edx = MEM32(edi + 0x2C); /* 0x2B09A50A: mov edx, dword ptr [edi + 0x2c] */ 11349 eax = edi + 0x2C; /* 0x2B09A50D: lea eax, [edi + 0x2c] */ 11350 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 11351 edx = edx - 1; /* 0x2B09A510: dec edx */ 11352 _flag_k = FK_DEC; 11353 ecx = edx; /* 0x2B09A511: mov ecx, edx */ 11354 /* cmp ecx, esi */ /* 0x2B09A513: cmp ecx, esi */ 11355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11357 _flag_k = FK_CMP; 11358 MEM32(eax) = edx; /* 0x2B09A515: mov dword ptr [eax], edx */ 11359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A517: jne 0x2b09a57e */ 11360 L_2B09A519: 11361 /* cmp edi, esi */ /* 0x2B09A519: cmp edi, esi */ 11362 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11364 _flag_k = FK_CMP; 11365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A57E; /* 0x2B09A51B: je 0x2b09a57e */ 11366 L_2B09A51D: 11367 eax = MEM32(edi + 0x20); /* 0x2B09A51D: mov eax, dword ptr [edi + 0x20] */ 11368 /* cmp eax, esi */ /* 0x2B09A520: cmp eax, esi */ 11369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11371 _flag_k = FK_CMP; 11372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A540; /* 0x2B09A522: je 0x2b09a540 */ 11373 L_2B09A524: 11374 ecx = eax + (-0x1); /* 0x2B09A524: lea ecx, [eax - 1] */ 11375 SET_LO8(eax, MEM8(ecx)); /* 0x2B09A527: mov al, byte ptr [ecx] */ 11376 /* test LO8(eax), LO8(eax) */ /* 0x2B09A529: test al, al */ 11377 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11378 _cf = 0; 11379 _flag_k = FK_NARROW(FK_TEST, 24); 11380 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A537; /* 0x2B09A52B: je 0x2b09a537 */ 11381 L_2B09A52D: 11382 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A52D: cmp al, 0xff */ 11383 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11385 _flag_k = FK_NARROW(FK_CMP, 24); 11386 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A537; /* 0x2B09A52F: je 0x2b09a537 */ 11387 L_2B09A531: 11388 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11389 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A531: dec al */ 11390 _flag_k = FK_NARROW(FK_DEC, 24); 11391 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09A533: mov byte ptr [ecx], al */ 11392 goto L_2B09A540; /* 0x2B09A535: jmp 0x2b09a540 */ 11393 L_2B09A537: 11394 PUSH32(esp, ecx); /* 0x2B09A537: push ecx */ 11395 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A538: call 0x2b0ab1ba */ /* not lifted */ 11396 RECOMP_FLAGS_IN(); 11397 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11398 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11399 esp = esp + 4; /* 0x2B09A53D: add esp, 4 */ 11400 _flag_k = FK_ADD; 11401 L_2B09A540: 11402 MEM32(edi + 0x20) = esi; /* 0x2B09A540: mov dword ptr [edi + 0x20], esi */ 11403 MEM32(edi + 0x24) = esi; /* 0x2B09A543: mov dword ptr [edi + 0x24], esi */ 11404 MEM32(edi + 0x28) = esi; /* 0x2B09A546: mov dword ptr [edi + 0x28], esi */ 11405 eax = MEM32(edi + 0x10); /* 0x2B09A549: mov eax, dword ptr [edi + 0x10] */ 11406 /* cmp eax, esi */ /* 0x2B09A54C: cmp eax, esi */ 11407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11409 _flag_k = FK_CMP; 11410 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A56C; /* 0x2B09A54E: je 0x2b09a56c */ 11411 L_2B09A550: 11412 ecx = eax + (-0x1); /* 0x2B09A550: lea ecx, [eax - 1] */ 11413 SET_LO8(eax, MEM8(ecx)); /* 0x2B09A553: mov al, byte ptr [ecx] */ 11414 /* test LO8(eax), LO8(eax) */ /* 0x2B09A555: test al, al */ 11415 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11416 _cf = 0; 11417 _flag_k = FK_NARROW(FK_TEST, 24); 11418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A557: je 0x2b09a563 */ 11419 L_2B09A559: 11420 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A559: cmp al, 0xff */ 11421 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11423 _flag_k = FK_NARROW(FK_CMP, 24); 11424 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A55B: je 0x2b09a563 */ 11425 L_2B09A55D: 11426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11427 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A55D: dec al */ 11428 _flag_k = FK_NARROW(FK_DEC, 24); 11429 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09A55F: mov byte ptr [ecx], al */ 11430 goto L_2B09A56C; /* 0x2B09A561: jmp 0x2b09a56c */ 11431 L_2B09A563: 11432 PUSH32(esp, ecx); /* 0x2B09A563: push ecx */ 11433 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A564: call 0x2b0ab1ba */ /* not lifted */ 11434 RECOMP_FLAGS_IN(); 11435 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11437 esp = esp + 4; /* 0x2B09A569: add esp, 4 */ 11438 _flag_k = FK_ADD; 11439 L_2B09A56C: 11440 PUSH32(esp, edi); /* 0x2B09A56C: push edi */ 11441 MEM32(edi + 0x10) = esi; /* 0x2B09A56D: mov dword ptr [edi + 0x10], esi */ 11442 MEM32(edi + 0x14) = esi; /* 0x2B09A570: mov dword ptr [edi + 0x14], esi */ 11443 MEM32(edi + 0x18) = esi; /* 0x2B09A573: mov dword ptr [edi + 0x18], esi */ 11444 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A576: call 0x2b0ab1ba */ /* not lifted */ 11445 RECOMP_FLAGS_IN(); 11446 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11447 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11448 esp = esp + 4; /* 0x2B09A57B: add esp, 4 */ 11449 _flag_k = FK_ADD; 11450 L_2B09A57E: 11451 ecx = MEM32(ebp + (-0x3C)); /* 0x2B09A57E: mov ecx, dword ptr [ebp - 0x3c] */ 11452 /* cmp ecx, esi */ /* 0x2B09A581: cmp ecx, esi */ 11453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11455 _flag_k = FK_CMP; 11456 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5B0; /* 0x2B09A583: je 0x2b09a5b0 */ 11457 L_2B09A585: 11458 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B09A585: mov al, byte ptr [ecx - 1] */ 11459 /* test LO8(eax), LO8(eax) */ /* 0x2B09A588: test al, al */ 11460 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11461 _cf = 0; 11462 _flag_k = FK_NARROW(FK_TEST, 24); 11463 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58A: je 0x2b09a5a6 */ 11464 L_2B09A58C: 11465 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A58C: cmp al, 0xff */ 11466 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11468 _flag_k = FK_NARROW(FK_CMP, 24); 11469 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58E: je 0x2b09a5a6 */ 11470 L_2B09A590: 11471 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11472 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A590: dec al */ 11473 _flag_k = FK_NARROW(FK_DEC, 24); 11474 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B09A592: mov byte ptr [ecx - 1], al */ 11475 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A595: mov ecx, dword ptr [ebp - 0xc] */ 11476 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A598: mov dword ptr fs:[0], ecx */ 11477 edi = POP32_VAL(esp); /* 0x2B09A59F: pop edi */ 11478 esi = POP32_VAL(esp); /* 0x2B09A5A0: pop esi */ 11479 ebx = POP32_VAL(esp); /* 0x2B09A5A1: pop ebx */ 11480 esp = ebp; /* 0x2B09A5A2: mov esp, ebp */ 11481 ebp = POP32_VAL(esp); /* 0x2B09A5A4: pop ebp */ 11482 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5A5: ret */ 11483 L_2B09A5A6: 11484 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11485 ecx = ecx - 1; /* 0x2B09A5A6: dec ecx */ 11486 _flag_k = FK_DEC; 11487 PUSH32(esp, ecx); /* 0x2B09A5A7: push ecx */ 11488 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A5A8: call 0x2b0ab1ba */ /* not lifted */ 11489 RECOMP_FLAGS_IN(); 11490 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11492 esp = esp + 4; /* 0x2B09A5AD: add esp, 4 */ 11493 _flag_k = FK_ADD; 11494 L_2B09A5B0: 11495 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A5B0: mov ecx, dword ptr [ebp - 0xc] */ 11496 edi = POP32_VAL(esp); /* 0x2B09A5B3: pop edi */ 11497 esi = POP32_VAL(esp); /* 0x2B09A5B4: pop esi */ 11498 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A5B5: mov dword ptr fs:[0], ecx */ 11499 ebx = POP32_VAL(esp); /* 0x2B09A5BC: pop ebx */ 11500 esp = ebp; /* 0x2B09A5BD: mov esp, ebp */ 11501 ebp = POP32_VAL(esp); /* 0x2B09A5BF: pop ebp */ 11502 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5C0: ret */ 11503 RECOMP_REGS_OUT(); 11504 } 11505 11506 void sub_2B09A540(void) { 11507 int _fpu_cmp = 0; 11508 uint32_t _cf = 0; 11509 int _df = 1; 11510 uint32_t _flag_k = FK_NONE; 11511 uint32_t _flag_a = 0, _flag_b = 0; 11512 uint32_t _itail_tgt = 0; 11513 RECOMP_REGS_LOCALS 11514 RECOMP_ENTER(0x2B09A540u); 11515 11516 L_2B09A540: 11517 MEM32(edi + 0x20) = esi; /* 0x2B09A540: mov dword ptr [edi + 0x20], esi */ 11518 MEM32(edi + 0x24) = esi; /* 0x2B09A543: mov dword ptr [edi + 0x24], esi */ 11519 MEM32(edi + 0x28) = esi; /* 0x2B09A546: mov dword ptr [edi + 0x28], esi */ 11520 eax = MEM32(edi + 0x10); /* 0x2B09A549: mov eax, dword ptr [edi + 0x10] */ 11521 /* cmp eax, esi */ /* 0x2B09A54C: cmp eax, esi */ 11522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11524 _flag_k = FK_CMP; 11525 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A56C; /* 0x2B09A54E: je 0x2b09a56c */ 11526 L_2B09A550: 11527 ecx = eax + (-0x1); /* 0x2B09A550: lea ecx, [eax - 1] */ 11528 SET_LO8(eax, MEM8(ecx)); /* 0x2B09A553: mov al, byte ptr [ecx] */ 11529 /* test LO8(eax), LO8(eax) */ /* 0x2B09A555: test al, al */ 11530 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11531 _cf = 0; 11532 _flag_k = FK_NARROW(FK_TEST, 24); 11533 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A557: je 0x2b09a563 */ 11534 L_2B09A559: 11535 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A559: cmp al, 0xff */ 11536 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11538 _flag_k = FK_NARROW(FK_CMP, 24); 11539 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A563; /* 0x2B09A55B: je 0x2b09a563 */ 11540 L_2B09A55D: 11541 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11542 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A55D: dec al */ 11543 _flag_k = FK_NARROW(FK_DEC, 24); 11544 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09A55F: mov byte ptr [ecx], al */ 11545 goto L_2B09A56C; /* 0x2B09A561: jmp 0x2b09a56c */ 11546 L_2B09A563: 11547 PUSH32(esp, ecx); /* 0x2B09A563: push ecx */ 11548 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A564: call 0x2b0ab1ba */ /* not lifted */ 11549 RECOMP_FLAGS_IN(); 11550 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11552 esp = esp + 4; /* 0x2B09A569: add esp, 4 */ 11553 _flag_k = FK_ADD; 11554 L_2B09A56C: 11555 PUSH32(esp, edi); /* 0x2B09A56C: push edi */ 11556 MEM32(edi + 0x10) = esi; /* 0x2B09A56D: mov dword ptr [edi + 0x10], esi */ 11557 MEM32(edi + 0x14) = esi; /* 0x2B09A570: mov dword ptr [edi + 0x14], esi */ 11558 MEM32(edi + 0x18) = esi; /* 0x2B09A573: mov dword ptr [edi + 0x18], esi */ 11559 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A576: call 0x2b0ab1ba */ /* not lifted */ 11560 RECOMP_FLAGS_IN(); 11561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11563 esp = esp + 4; /* 0x2B09A57B: add esp, 4 */ 11564 _flag_k = FK_ADD; 11565 ecx = MEM32(ebp + (-0x3C)); /* 0x2B09A57E: mov ecx, dword ptr [ebp - 0x3c] */ 11566 /* cmp ecx, esi */ /* 0x2B09A581: cmp ecx, esi */ 11567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11569 _flag_k = FK_CMP; 11570 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5B0; /* 0x2B09A583: je 0x2b09a5b0 */ 11571 L_2B09A585: 11572 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B09A585: mov al, byte ptr [ecx - 1] */ 11573 /* test LO8(eax), LO8(eax) */ /* 0x2B09A588: test al, al */ 11574 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11575 _cf = 0; 11576 _flag_k = FK_NARROW(FK_TEST, 24); 11577 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58A: je 0x2b09a5a6 */ 11578 L_2B09A58C: 11579 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A58C: cmp al, 0xff */ 11580 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11582 _flag_k = FK_NARROW(FK_CMP, 24); 11583 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58E: je 0x2b09a5a6 */ 11584 L_2B09A590: 11585 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11586 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A590: dec al */ 11587 _flag_k = FK_NARROW(FK_DEC, 24); 11588 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B09A592: mov byte ptr [ecx - 1], al */ 11589 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A595: mov ecx, dword ptr [ebp - 0xc] */ 11590 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A598: mov dword ptr fs:[0], ecx */ 11591 edi = POP32_VAL(esp); /* 0x2B09A59F: pop edi */ 11592 esi = POP32_VAL(esp); /* 0x2B09A5A0: pop esi */ 11593 ebx = POP32_VAL(esp); /* 0x2B09A5A1: pop ebx */ 11594 esp = ebp; /* 0x2B09A5A2: mov esp, ebp */ 11595 ebp = POP32_VAL(esp); /* 0x2B09A5A4: pop ebp */ 11596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5A5: ret */ 11597 L_2B09A5A6: 11598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11599 ecx = ecx - 1; /* 0x2B09A5A6: dec ecx */ 11600 _flag_k = FK_DEC; 11601 PUSH32(esp, ecx); /* 0x2B09A5A7: push ecx */ 11602 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A5A8: call 0x2b0ab1ba */ /* not lifted */ 11603 RECOMP_FLAGS_IN(); 11604 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11605 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11606 esp = esp + 4; /* 0x2B09A5AD: add esp, 4 */ 11607 _flag_k = FK_ADD; 11608 L_2B09A5B0: 11609 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A5B0: mov ecx, dword ptr [ebp - 0xc] */ 11610 edi = POP32_VAL(esp); /* 0x2B09A5B3: pop edi */ 11611 esi = POP32_VAL(esp); /* 0x2B09A5B4: pop esi */ 11612 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A5B5: mov dword ptr fs:[0], ecx */ 11613 ebx = POP32_VAL(esp); /* 0x2B09A5BC: pop ebx */ 11614 esp = ebp; /* 0x2B09A5BD: mov esp, ebp */ 11615 ebp = POP32_VAL(esp); /* 0x2B09A5BF: pop ebp */ 11616 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5C0: ret */ 11617 RECOMP_REGS_OUT(); 11618 } 11619 11620 void sub_2B09A56C(void) { 11621 int _fpu_cmp = 0; 11622 uint32_t _cf = 0; 11623 int _df = 1; 11624 uint32_t _flag_k = FK_NONE; 11625 uint32_t _flag_a = 0, _flag_b = 0; 11626 uint32_t _itail_tgt = 0; 11627 RECOMP_REGS_LOCALS 11628 RECOMP_ENTER(0x2B09A56Cu); 11629 11630 L_2B09A56C: 11631 PUSH32(esp, edi); /* 0x2B09A56C: push edi */ 11632 MEM32(edi + 0x10) = esi; /* 0x2B09A56D: mov dword ptr [edi + 0x10], esi */ 11633 MEM32(edi + 0x14) = esi; /* 0x2B09A570: mov dword ptr [edi + 0x14], esi */ 11634 MEM32(edi + 0x18) = esi; /* 0x2B09A573: mov dword ptr [edi + 0x18], esi */ 11635 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A576: call 0x2b0ab1ba */ /* not lifted */ 11636 RECOMP_FLAGS_IN(); 11637 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11638 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11639 esp = esp + 4; /* 0x2B09A57B: add esp, 4 */ 11640 _flag_k = FK_ADD; 11641 ecx = MEM32(ebp + (-0x3C)); /* 0x2B09A57E: mov ecx, dword ptr [ebp - 0x3c] */ 11642 /* cmp ecx, esi */ /* 0x2B09A581: cmp ecx, esi */ 11643 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11645 _flag_k = FK_CMP; 11646 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5B0; /* 0x2B09A583: je 0x2b09a5b0 */ 11647 L_2B09A585: 11648 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B09A585: mov al, byte ptr [ecx - 1] */ 11649 /* test LO8(eax), LO8(eax) */ /* 0x2B09A588: test al, al */ 11650 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11651 _cf = 0; 11652 _flag_k = FK_NARROW(FK_TEST, 24); 11653 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58A: je 0x2b09a5a6 */ 11654 L_2B09A58C: 11655 /* cmp LO8(eax), 0xFFu */ /* 0x2B09A58C: cmp al, 0xff */ 11656 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11658 _flag_k = FK_NARROW(FK_CMP, 24); 11659 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09A5A6; /* 0x2B09A58E: je 0x2b09a5a6 */ 11660 L_2B09A590: 11661 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11662 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09A590: dec al */ 11663 _flag_k = FK_NARROW(FK_DEC, 24); 11664 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B09A592: mov byte ptr [ecx - 1], al */ 11665 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A595: mov ecx, dword ptr [ebp - 0xc] */ 11666 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A598: mov dword ptr fs:[0], ecx */ 11667 edi = POP32_VAL(esp); /* 0x2B09A59F: pop edi */ 11668 esi = POP32_VAL(esp); /* 0x2B09A5A0: pop esi */ 11669 ebx = POP32_VAL(esp); /* 0x2B09A5A1: pop ebx */ 11670 esp = ebp; /* 0x2B09A5A2: mov esp, ebp */ 11671 ebp = POP32_VAL(esp); /* 0x2B09A5A4: pop ebp */ 11672 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5A5: ret */ 11673 L_2B09A5A6: 11674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11675 ecx = ecx - 1; /* 0x2B09A5A6: dec ecx */ 11676 _flag_k = FK_DEC; 11677 PUSH32(esp, ecx); /* 0x2B09A5A7: push ecx */ 11678 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09A5A8: call 0x2b0ab1ba */ /* not lifted */ 11679 RECOMP_FLAGS_IN(); 11680 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11681 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11682 esp = esp + 4; /* 0x2B09A5AD: add esp, 4 */ 11683 _flag_k = FK_ADD; 11684 L_2B09A5B0: 11685 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A5B0: mov ecx, dword ptr [ebp - 0xc] */ 11686 edi = POP32_VAL(esp); /* 0x2B09A5B3: pop edi */ 11687 esi = POP32_VAL(esp); /* 0x2B09A5B4: pop esi */ 11688 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09A5B5: mov dword ptr fs:[0], ecx */ 11689 ebx = POP32_VAL(esp); /* 0x2B09A5BC: pop ebx */ 11690 esp = ebp; /* 0x2B09A5BD: mov esp, ebp */ 11691 ebp = POP32_VAL(esp); /* 0x2B09A5BF: pop ebp */ 11692 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A5C0: ret */ 11693 RECOMP_REGS_OUT(); 11694 } 11695 11696 void sub_2B09A5D0(void) { 11697 int _fpu_cmp = 0; 11698 uint32_t _cf = 0; 11699 int _df = 1; 11700 uint32_t _flag_k = FK_NONE; 11701 uint32_t _flag_a = 0, _flag_b = 0; 11702 uint32_t _itail_tgt = 0; 11703 RECOMP_REGS_LOCALS 11704 RECOMP_ENTER(0x2B09A5D0u); 11705 11706 L_2B09A5D0: 11707 PUSH32(esp, ebp); /* 0x2B09A5D0: push ebp */ 11708 ebp = esp; /* 0x2B09A5D1: mov ebp, esp */ 11709 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11711 esp = esp - 8; /* 0x2B09A5D3: sub esp, 8 */ 11712 _flag_k = FK_CMP; 11713 eax = MEM32(ecx + 0x68); /* 0x2B09A5D6: mov eax, dword ptr [ecx + 0x68] */ 11714 eax = MEM32(eax + 0x34); /* 0x2B09A5D9: mov eax, dword ptr [eax + 0x34] */ 11715 edx = MEM32(ecx + 0x70); /* 0x2B09A5DC: mov edx, dword ptr [ecx + 0x70] */ 11716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x3Cu); 11717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11718 eax = eax + 0x3Cu; /* 0x2B09A5DF: add eax, 0x3c */ 11719 _flag_k = FK_ADD; 11720 /* test edx, edx */ /* 0x2B09A5E2: test edx, edx */ 11721 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11722 _cf = 0; 11723 _flag_k = FK_TEST; 11724 PUSH32(esp, esi); /* 0x2B09A5E4: push esi */ 11725 esi = 0x103u; /* 0x2B09A5E5: mov esi, 0x103 */ 11726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A5F9; /* 0x2B09A5EA: je 0x2b09a5f9 */ 11727 L_2B09A5EC: 11728 edx = MEM32(edx + 0x4); /* 0x2B09A5EC: mov edx, dword ptr [edx + 4] */ 11729 edx = MEM32(edx + 0x34); /* 0x2B09A5EF: mov edx, dword ptr [edx + 0x34] */ 11730 /* cmp edx, eax */ /* 0x2B09A5F2: cmp edx, eax */ 11731 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11733 _flag_k = FK_CMP; 11734 if (CMP_LE(_flag_a, _flag_b)) goto L_2B09A5F9; /* 0x2B09A5F4: jle 0x2b09a5f9 */ 11735 L_2B09A5F6: 11736 eax = edx + 0x14; /* 0x2B09A5F6: lea eax, [edx + 0x14] */ 11737 L_2B09A5F9: 11738 edx = MEM32(ecx + 0x3C); /* 0x2B09A5F9: mov edx, dword ptr [ecx + 0x3c] */ 11739 edx = MEM32(edx + 0x3C); /* 0x2B09A5FC: mov edx, dword ptr [edx + 0x3c] */ 11740 MEM32(edx + 0x6C) = eax; /* 0x2B09A5FF: mov dword ptr [edx + 0x6c], eax */ 11741 MEM32(edx + 0x70) = esi; /* 0x2B09A602: mov dword ptr [edx + 0x70], esi */ 11742 /* cmp MEM32(ecx + 0x80), eax */ /* 0x2B09A605: cmp dword ptr [ecx + 0x80], eax */ 11743 _flag_a = (uint32_t)(MEM32(ecx + 0x80)); _flag_b = (uint32_t)(eax); 11744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11745 _flag_k = FK_CMP; 11746 esi = POP32_VAL(esp); /* 0x2B09A60B: pop esi */ 11747 if (CMP_GE(_flag_a, _flag_b)) goto L_2B09A623; /* 0x2B09A60C: jge 0x2b09a623 */ 11748 L_2B09A60E: 11749 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A60E: mov dword ptr [ebp - 8], eax */ 11750 eax = MEM32(ecx + 0x84); /* 0x2B09A611: mov eax, dword ptr [ecx + 0x84] */ 11751 edx = ebp + (-0x8); /* 0x2B09A617: lea edx, [ebp - 8] */ 11752 PUSH32(esp, edx); /* 0x2B09A61A: push edx */ 11753 MEM32(ebp + (-0x4)) = eax; /* 0x2B09A61B: mov dword ptr [ebp - 4], eax */ 11754 RECOMP_ICALL(0x2B09A880u); /* 0x2B09A61E: call 0x2b09a880 */ /* not lifted */ 11755 RECOMP_FLAGS_IN(); 11756 L_2B09A623: 11757 esp = ebp; /* 0x2B09A623: mov esp, ebp */ 11758 ebp = POP32_VAL(esp); /* 0x2B09A625: pop ebp */ 11759 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A626: ret */ 11760 RECOMP_REGS_OUT(); 11761 } 11762 11763 void sub_2B09A630(void) { 11764 int _fpu_cmp = 0; 11765 uint32_t _cf = 0; 11766 int _df = 1; 11767 uint32_t _flag_k = FK_NONE; 11768 uint32_t _flag_a = 0, _flag_b = 0; 11769 uint32_t _itail_tgt = 0; 11770 RECOMP_REGS_LOCALS 11771 RECOMP_ENTER(0x2B09A630u); 11772 11773 L_2B09A630: 11774 PUSH32(esp, ebp); /* 0x2B09A630: push ebp */ 11775 ebp = esp; /* 0x2B09A631: mov ebp, esp */ 11776 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 11777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11778 esp = esp - 0x20u; /* 0x2B09A633: sub esp, 0x20 */ 11779 _flag_k = FK_CMP; 11780 eax = MEM32(ebp + 0x8); /* 0x2B09A636: mov eax, dword ptr [ebp + 8] */ 11781 PUSH32(esp, ebx); /* 0x2B09A639: push ebx */ 11782 PUSH32(esp, esi); /* 0x2B09A63A: push esi */ 11783 esi = ecx; /* 0x2B09A63B: mov esi, ecx */ 11784 ecx = MEM32(eax); /* 0x2B09A63D: mov ecx, dword ptr [eax] */ 11785 ebx = esi + 0x78; /* 0x2B09A63F: lea ebx, [esi + 0x78] */ 11786 MEM32(ebx) = ecx; /* 0x2B09A642: mov dword ptr [ebx], ecx */ 11787 edx = MEM32(eax + 0x4); /* 0x2B09A644: mov edx, dword ptr [eax + 4] */ 11788 PUSH32(esp, edi); /* 0x2B09A647: push edi */ 11789 edi = MEM32(0x2B0B5690); /* 0x2B09A648: mov edi, dword ptr [0x2b0b5690] */ 11790 MEM32(ebx + 0x4) = edx; /* 0x2B09A64E: mov dword ptr [ebx + 4], edx */ 11791 RECOMP_ICALL(edi); /* 0x2B09A651: call edi */ 11792 RECOMP_FLAGS_IN(); 11793 ecx = eax; /* 0x2B09A653: mov ecx, eax */ 11794 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B09A655: call dword ptr [0x2b0b5688] */ 11795 RECOMP_FLAGS_IN(); 11796 MEM32(ebp + 0x8) = eax; /* 0x2B09A65B: mov dword ptr [ebp + 8], eax */ 11797 RECOMP_ICALL(edi); /* 0x2B09A65E: call edi */ 11798 RECOMP_FLAGS_IN(); 11799 ecx = eax; /* 0x2B09A660: mov ecx, eax */ 11800 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B09A662: call dword ptr [0x2b0b568c] */ 11801 RECOMP_FLAGS_IN(); 11802 ecx = MEM32(ebx); /* 0x2B09A668: mov ecx, dword ptr [ebx] */ 11803 /* cmp ecx, MEM32(ebp + 0x8) */ /* 0x2B09A66A: cmp ecx, dword ptr [ebp + 8] */ 11804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 11805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11806 _flag_k = FK_CMP; 11807 if (CMP_G(_flag_a, _flag_b)) goto L_2B09A673; /* 0x2B09A66D: jg 0x2b09a673 */ 11808 L_2B09A66F: 11809 /* test ecx, ecx */ /* 0x2B09A66F: test ecx, ecx */ 11810 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11811 _cf = 0; 11812 _flag_k = FK_TEST; 11813 if (TEST_NS(_flag_a, _flag_b)) goto L_2B09A679; /* 0x2B09A671: jge 0x2b09a679 */ 11814 L_2B09A673: 11815 MEM32(ebx) = 0; /* 0x2B09A673: mov dword ptr [ebx], 0 */ 11816 L_2B09A679: 11817 ecx = MEM32(esi + 0x7C); /* 0x2B09A679: mov ecx, dword ptr [esi + 0x7c] */ 11818 /* cmp ecx, eax */ /* 0x2B09A67C: cmp ecx, eax */ 11819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11821 _flag_k = FK_CMP; 11822 if (CMP_G(_flag_a, _flag_b)) goto L_2B09A684; /* 0x2B09A67E: jg 0x2b09a684 */ 11823 L_2B09A680: 11824 /* test ecx, ecx */ /* 0x2B09A680: test ecx, ecx */ 11825 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11826 _cf = 0; 11827 _flag_k = FK_TEST; 11828 if (TEST_NS(_flag_a, _flag_b)) goto L_2B09A68B; /* 0x2B09A682: jge 0x2b09a68b */ 11829 L_2B09A684: 11830 MEM32(esi + 0x7C) = 0; /* 0x2B09A684: mov dword ptr [esi + 0x7c], 0 */ 11831 L_2B09A68B: 11832 ecx = MEM32(esi + 0x3C); /* 0x2B09A68B: mov ecx, dword ptr [esi + 0x3c] */ 11833 PUSH32(esp, ebx); /* 0x2B09A68E: push ebx */ 11834 RECOMP_ICALL(MEM32(0x2B0B59EC)); /* 0x2B09A68F: call dword ptr [0x2b0b59ec] */ 11835 RECOMP_FLAGS_IN(); 11836 ecx = MEM32(esi + 0x74); /* 0x2B09A695: mov ecx, dword ptr [esi + 0x74] */ 11837 eax = MEM32(ecx); /* 0x2B09A698: mov eax, dword ptr [ecx] */ 11838 PUSH32(esp, ebx); /* 0x2B09A69A: push ebx */ 11839 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B09A69B: call dword ptr [eax + 0x14] */ 11840 RECOMP_FLAGS_IN(); 11841 ecx = ebp + (-0x18); /* 0x2B09A69E: lea ecx, [ebp - 0x18] */ 11842 PUSH32(esp, ecx); /* 0x2B09A6A1: push ecx */ 11843 ecx = MEM32(esi + 0x3C); /* 0x2B09A6A2: mov ecx, dword ptr [esi + 0x3c] */ 11844 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B09A6A5: call dword ptr [0x2b0b59f0] */ 11845 RECOMP_FLAGS_IN(); 11846 edx = MEM32(eax); /* 0x2B09A6AB: mov edx, dword ptr [eax] */ 11847 ecx = ebp + (-0x20); /* 0x2B09A6AD: lea ecx, [ebp - 0x20] */ 11848 MEM32(ebp + (-0x10)) = edx; /* 0x2B09A6B0: mov dword ptr [ebp - 0x10], edx */ 11849 eax = MEM32(eax + 0x4); /* 0x2B09A6B3: mov eax, dword ptr [eax + 4] */ 11850 PUSH32(esp, ecx); /* 0x2B09A6B6: push ecx */ 11851 ecx = MEM32(esi + 0x3C); /* 0x2B09A6B7: mov ecx, dword ptr [esi + 0x3c] */ 11852 MEM32(ebp + (-0xC)) = eax; /* 0x2B09A6BA: mov dword ptr [ebp - 0xc], eax */ 11853 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B09A6BD: call dword ptr [0x2b0b59fc] */ 11854 RECOMP_FLAGS_IN(); 11855 edx = MEM32(eax); /* 0x2B09A6C3: mov edx, dword ptr [eax] */ 11856 edi = MEM32(eax + 0x4); /* 0x2B09A6C5: mov edi, dword ptr [eax + 4] */ 11857 ecx = MEM32(esi + 0x40); /* 0x2B09A6C8: mov ecx, dword ptr [esi + 0x40] */ 11858 eax = ebp + (-0x10); /* 0x2B09A6CB: lea eax, [ebp - 0x10] */ 11859 PUSH32(esp, eax); /* 0x2B09A6CE: push eax */ 11860 MEM32(ebp + (-0x18)) = edx; /* 0x2B09A6CF: mov dword ptr [ebp - 0x18], edx */ 11861 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B09A6D2: call dword ptr [0x2b0b5b00] */ 11862 RECOMP_FLAGS_IN(); 11863 ecx = MEM32(ebp + (-0x18)); /* 0x2B09A6D8: mov ecx, dword ptr [ebp - 0x18] */ 11864 eax = ecx + (-0x36); /* 0x2B09A6DB: lea eax, [ecx - 0x36] */ 11865 ecx = MEM32(esi + 0x48); /* 0x2B09A6DE: mov ecx, dword ptr [esi + 0x48] */ 11866 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A6E1: cdq */ 11867 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11869 eax = eax - edx; /* 0x2B09A6E2: sub eax, edx */ 11870 _flag_k = FK_CMP; 11871 edx = MEM32(ebp + (-0x10)); /* 0x2B09A6E4: mov edx, dword ptr [ebp - 0x10] */ 11872 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A6E7: sar eax, 1 */ 11873 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11874 eax = (uint32_t)((int32_t)eax >> 1u); 11875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11877 eax = eax + edx; /* 0x2B09A6E9: add eax, edx */ 11878 _flag_k = FK_ADD; 11879 edx = MEM32(ebp + (-0xC)); /* 0x2B09A6EB: mov edx, dword ptr [ebp - 0xc] */ 11880 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A6EE: mov dword ptr [ebp - 8], eax */ 11881 eax = ebp + (-0x8); /* 0x2B09A6F1: lea eax, [ebp - 8] */ 11882 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x1Eu); 11883 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11884 edx = edx + 0x1Eu; /* 0x2B09A6F4: add edx, 0x1e */ 11885 _flag_k = FK_ADD; 11886 PUSH32(esp, eax); /* 0x2B09A6F7: push eax */ 11887 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A6F8: mov dword ptr [ebp - 4], edx */ 11888 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B09A6FB: call dword ptr [0x2b0b5b00] */ 11889 RECOMP_FLAGS_IN(); 11890 ecx = MEM32(esi + 0x44); /* 0x2B09A701: mov ecx, dword ptr [esi + 0x44] */ 11891 /* test ecx, ecx */ /* 0x2B09A704: 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_2B09A72D; /* 0x2B09A706: je 0x2b09a72d */ 11896 L_2B09A708: 11897 edx = MEM32(ebp + (-0x18)); /* 0x2B09A708: mov edx, dword ptr [ebp - 0x18] */ 11898 eax = edx + (-0x30); /* 0x2B09A70B: lea eax, [edx - 0x30] */ 11899 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A70E: cdq */ 11900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11902 eax = eax - edx; /* 0x2B09A70F: sub eax, edx */ 11903 _flag_k = FK_CMP; 11904 edx = MEM32(ebp + (-0x10)); /* 0x2B09A711: mov edx, dword ptr [ebp - 0x10] */ 11905 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A714: sar eax, 1 */ 11906 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11907 eax = (uint32_t)((int32_t)eax >> 1u); 11908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11910 eax = eax + edx; /* 0x2B09A716: add eax, edx */ 11911 _flag_k = FK_ADD; 11912 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A718: mov dword ptr [ebp - 8], eax */ 11913 eax = MEM32(ebp + (-0xC)); /* 0x2B09A71B: mov eax, dword ptr [ebp - 0xc] */ 11914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x21u); 11915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11916 eax = eax + 0x21u; /* 0x2B09A71E: add eax, 0x21 */ 11917 _flag_k = FK_ADD; 11918 MEM32(ebp + (-0x4)) = eax; /* 0x2B09A721: mov dword ptr [ebp - 4], eax */ 11919 edx = MEM32(ecx); /* 0x2B09A724: mov edx, dword ptr [ecx] */ 11920 eax = ebp + (-0x8); /* 0x2B09A726: lea eax, [ebp - 8] */ 11921 PUSH32(esp, eax); /* 0x2B09A729: push eax */ 11922 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B09A72A: call dword ptr [edx + 0x14] */ 11923 RECOMP_FLAGS_IN(); 11924 L_2B09A72D: 11925 ecx = MEM32(esi + 0x70); /* 0x2B09A72D: mov ecx, dword ptr [esi + 0x70] */ 11926 /* test ecx, ecx */ /* 0x2B09A730: test ecx, ecx */ 11927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11928 _cf = 0; 11929 _flag_k = FK_TEST; 11930 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A760; /* 0x2B09A732: je 0x2b09a760 */ 11931 L_2B09A734: 11932 edx = MEM32(ecx + 0x4); /* 0x2B09A734: mov edx, dword ptr [ecx + 4] */ 11933 eax = MEM32(ebp + (-0x18)); /* 0x2B09A737: mov eax, dword ptr [ebp - 0x18] */ 11934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x34)); 11935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11936 eax = eax - MEM32(edx + 0x34); /* 0x2B09A73A: sub eax, dword ptr [edx + 0x34] */ 11937 _flag_k = FK_CMP; 11938 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A73D: cdq */ 11939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11941 eax = eax - edx; /* 0x2B09A73E: sub eax, edx */ 11942 _flag_k = FK_CMP; 11943 edx = MEM32(ebp + (-0x10)); /* 0x2B09A740: mov edx, dword ptr [ebp - 0x10] */ 11944 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A743: sar eax, 1 */ 11945 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11946 eax = (uint32_t)((int32_t)eax >> 1u); 11947 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11948 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11949 eax = eax + edx; /* 0x2B09A745: add eax, edx */ 11950 _flag_k = FK_ADD; 11951 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A747: mov dword ptr [ebp - 8], eax */ 11952 eax = MEM32(ebp + (-0xC)); /* 0x2B09A74A: mov eax, dword ptr [ebp - 0xc] */ 11953 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5); 11954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11955 eax = eax + 5; /* 0x2B09A74D: add eax, 5 */ 11956 _flag_k = FK_ADD; 11957 edx = ebp + (-0x8); /* 0x2B09A750: lea edx, [ebp - 8] */ 11958 MEM32(ebp + (-0x4)) = eax; /* 0x2B09A753: mov dword ptr [ebp - 4], eax */ 11959 ecx = MEM32(ecx + 0x4); /* 0x2B09A756: mov ecx, dword ptr [ecx + 4] */ 11960 PUSH32(esp, edx); /* 0x2B09A759: push edx */ 11961 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B09A75A: call dword ptr [0x2b0b5bb8] */ 11962 RECOMP_FLAGS_IN(); 11963 L_2B09A760: 11964 ecx = MEM32(ebp + (-0xC)); /* 0x2B09A760: mov ecx, dword ptr [ebp - 0xc] */ 11965 eax = MEM32(ebp + (-0x10)); /* 0x2B09A763: mov eax, dword ptr [ebp - 0x10] */ 11966 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x5Fu); 11967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11968 ecx = ecx + 0x5Fu; /* 0x2B09A766: add ecx, 0x5f */ 11969 _flag_k = FK_ADD; 11970 edx = ebp + (-0x8); /* 0x2B09A769: lea edx, [ebp - 8] */ 11971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 11972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11973 eax = eax + 2; /* 0x2B09A76C: add eax, 2 */ 11974 _flag_k = FK_ADD; 11975 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09A76F: mov dword ptr [ebp - 4], ecx */ 11976 ecx = MEM32(esi + 0x5C); /* 0x2B09A772: mov ecx, dword ptr [esi + 0x5c] */ 11977 PUSH32(esp, edx); /* 0x2B09A775: push edx */ 11978 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A776: mov dword ptr [ebp - 8], eax */ 11979 RECOMP_ICALL(MEM32(0x2B0B5A08)); /* 0x2B09A779: call dword ptr [0x2b0b5a08] */ 11980 RECOMP_FLAGS_IN(); 11981 ecx = MEM32(esi + 0x4C); /* 0x2B09A77F: mov ecx, dword ptr [esi + 0x4c] */ 11982 edx = MEM32(ecx + 0x34); /* 0x2B09A782: mov edx, dword ptr [ecx + 0x34] */ 11983 eax = MEM32(esi + 0x80); /* 0x2B09A785: mov eax, dword ptr [esi + 0x80] */ 11984 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11986 eax = eax - edx; /* 0x2B09A78B: sub eax, edx */ 11987 _flag_k = FK_CMP; 11988 edx = MEM32(ebx); /* 0x2B09A78D: mov edx, dword ptr [ebx] */ 11989 eax = eax + edx + (-0x3); /* 0x2B09A78F: lea eax, [eax + edx - 3] */ 11990 edx = MEM32(esi + 0x7C); /* 0x2B09A793: mov edx, dword ptr [esi + 0x7c] */ 11991 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A796: mov dword ptr [ebp - 8], eax */ 11992 eax = ebp + (-0x8); /* 0x2B09A799: lea eax, [ebp - 8] */ 11993 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 11994 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11995 edx = edx + 2; /* 0x2B09A79C: add edx, 2 */ 11996 _flag_k = FK_ADD; 11997 PUSH32(esp, eax); /* 0x2B09A79F: push eax */ 11998 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A7A0: mov dword ptr [ebp - 4], edx */ 11999 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B09A7A3: call dword ptr [0x2b0b5bb8] */ 12000 RECOMP_FLAGS_IN(); 12001 ecx = MEM32(esi + 0x60); /* 0x2B09A7A9: mov ecx, dword ptr [esi + 0x60] */ 12002 edx = MEM32(ecx + 0x34); /* 0x2B09A7AC: mov edx, dword ptr [ecx + 0x34] */ 12003 eax = MEM32(ebp + (-0x18)); /* 0x2B09A7AF: mov eax, dword ptr [ebp - 0x18] */ 12004 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12006 eax = eax - edx; /* 0x2B09A7B2: sub eax, edx */ 12007 _flag_k = FK_CMP; 12008 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A7B4: cdq */ 12009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12011 eax = eax - edx; /* 0x2B09A7B5: sub eax, edx */ 12012 _flag_k = FK_CMP; 12013 edx = MEM32(ebp + (-0x10)); /* 0x2B09A7B7: mov edx, dword ptr [ebp - 0x10] */ 12014 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A7BA: sar eax, 1 */ 12015 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12016 eax = (uint32_t)((int32_t)eax >> 1u); 12017 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12019 eax = eax + edx; /* 0x2B09A7BC: add eax, edx */ 12020 _flag_k = FK_ADD; 12021 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A7BE: mov dword ptr [ebp - 8], eax */ 12022 eax = MEM32(ecx + 0x38); /* 0x2B09A7C1: mov eax, dword ptr [ecx + 0x38] */ 12023 edx = edi; /* 0x2B09A7C4: mov edx, edi */ 12024 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12026 edx = edx - eax; /* 0x2B09A7C6: sub edx, eax */ 12027 _flag_k = FK_CMP; 12028 eax = MEM32(ebp + (-0xC)); /* 0x2B09A7C8: mov eax, dword ptr [ebp - 0xc] */ 12029 edx = edx + eax + (-0x5); /* 0x2B09A7CB: lea edx, [edx + eax - 5] */ 12030 eax = ebp + (-0x8); /* 0x2B09A7CF: lea eax, [ebp - 8] */ 12031 PUSH32(esp, eax); /* 0x2B09A7D2: push eax */ 12032 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A7D3: mov dword ptr [ebp - 4], edx */ 12033 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B09A7D6: call dword ptr [0x2b0b5bb8] */ 12034 RECOMP_FLAGS_IN(); 12035 ecx = MEM32(esi + 0x68); /* 0x2B09A7DC: mov ecx, dword ptr [esi + 0x68] */ 12036 edx = MEM32(ecx + 0x34); /* 0x2B09A7DF: mov edx, dword ptr [ecx + 0x34] */ 12037 eax = MEM32(ebp + (-0x18)); /* 0x2B09A7E2: mov eax, dword ptr [ebp - 0x18] */ 12038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12040 eax = eax - edx; /* 0x2B09A7E5: sub eax, edx */ 12041 _flag_k = FK_CMP; 12042 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A7E7: cdq */ 12043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12045 eax = eax - edx; /* 0x2B09A7E8: sub eax, edx */ 12046 _flag_k = FK_CMP; 12047 edx = MEM32(ebp + (-0x10)); /* 0x2B09A7EA: mov edx, dword ptr [ebp - 0x10] */ 12048 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A7ED: sar eax, 1 */ 12049 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12050 eax = (uint32_t)((int32_t)eax >> 1u); 12051 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12052 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12053 eax = eax + edx; /* 0x2B09A7EF: add eax, edx */ 12054 _flag_k = FK_ADD; 12055 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A7F1: mov dword ptr [ebp - 8], eax */ 12056 eax = MEM32(ecx + 0x38); /* 0x2B09A7F4: mov eax, dword ptr [ecx + 0x38] */ 12057 edx = edi; /* 0x2B09A7F7: mov edx, edi */ 12058 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12060 edx = edx - eax; /* 0x2B09A7F9: sub edx, eax */ 12061 _flag_k = FK_CMP; 12062 eax = MEM32(ebp + (-0xC)); /* 0x2B09A7FB: mov eax, dword ptr [ebp - 0xc] */ 12063 edx = edx + eax + (-0x5); /* 0x2B09A7FE: lea edx, [edx + eax - 5] */ 12064 eax = ebp + (-0x8); /* 0x2B09A802: lea eax, [ebp - 8] */ 12065 PUSH32(esp, eax); /* 0x2B09A805: push eax */ 12066 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A806: mov dword ptr [ebp - 4], edx */ 12067 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B09A809: call dword ptr [0x2b0b5bb8] */ 12068 RECOMP_FLAGS_IN(); 12069 ecx = MEM32(esi + 0x54); /* 0x2B09A80F: mov ecx, dword ptr [esi + 0x54] */ 12070 edx = MEM32(ecx + 0x34); /* 0x2B09A812: mov edx, dword ptr [ecx + 0x34] */ 12071 eax = MEM32(ebp + (-0x18)); /* 0x2B09A815: mov eax, dword ptr [ebp - 0x18] */ 12072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12074 eax = eax - edx; /* 0x2B09A818: sub eax, edx */ 12075 _flag_k = FK_CMP; 12076 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B09A81A: cdq */ 12077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12079 eax = eax - edx; /* 0x2B09A81B: sub eax, edx */ 12080 _flag_k = FK_CMP; 12081 edx = MEM32(ebp + (-0x10)); /* 0x2B09A81D: mov edx, dword ptr [ebp - 0x10] */ 12082 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B09A820: sar eax, 1 */ 12083 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12084 eax = (uint32_t)((int32_t)eax >> 1u); 12085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12086 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12087 eax = eax + edx; /* 0x2B09A822: add eax, edx */ 12088 _flag_k = FK_ADD; 12089 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A824: mov dword ptr [ebp - 8], eax */ 12090 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x38)); 12091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12092 edi = edi - MEM32(ecx + 0x38); /* 0x2B09A827: sub edi, dword ptr [ecx + 0x38] */ 12093 _flag_k = FK_CMP; 12094 edx = MEM32(ebp + (-0xC)); /* 0x2B09A82A: mov edx, dword ptr [ebp - 0xc] */ 12095 eax = edi + edx + (-0x5); /* 0x2B09A82D: lea eax, [edi + edx - 5] */ 12096 edx = ebp + (-0x8); /* 0x2B09A831: lea edx, [ebp - 8] */ 12097 PUSH32(esp, edx); /* 0x2B09A834: push edx */ 12098 MEM32(ebp + (-0x4)) = eax; /* 0x2B09A835: mov dword ptr [ebp - 4], eax */ 12099 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B09A838: call dword ptr [0x2b0b5bb8] */ 12100 RECOMP_FLAGS_IN(); 12101 PUSH32(esp, 1); /* 0x2B09A83E: push 1 */ 12102 PUSH32(esp, 2); /* 0x2B09A840: push 2 */ 12103 eax = MEM32(ebx); /* 0x2B09A842: mov eax, dword ptr [ebx] */ 12104 ecx = MEM32(0x2B0B6048); /* 0x2B09A844: mov ecx, dword ptr [0x2b0b6048] */ 12105 ecx = MEM32(ecx); /* 0x2B09A84A: mov ecx, dword ptr [ecx] */ 12106 edi = MEM32(0x2B0B604C); /* 0x2B09A84C: mov edi, dword ptr [0x2b0b604c] */ 12107 PUSH32(esp, eax); /* 0x2B09A852: push eax */ 12108 PUSH32(esp, 0x2B0EDE08u); /* 0x2B09A853: push 0x2b0ede08 */ 12109 RECOMP_ICALL(edi); /* 0x2B09A858: call edi */ 12110 RECOMP_FLAGS_IN(); 12111 edx = MEM32(esi + 0x7C); /* 0x2B09A85A: mov edx, dword ptr [esi + 0x7c] */ 12112 eax = MEM32(0x2B0B6048); /* 0x2B09A85D: mov eax, dword ptr [0x2b0b6048] */ 12113 ecx = MEM32(eax); /* 0x2B09A862: mov ecx, dword ptr [eax] */ 12114 PUSH32(esp, 1); /* 0x2B09A864: push 1 */ 12115 PUSH32(esp, 2); /* 0x2B09A866: push 2 */ 12116 PUSH32(esp, edx); /* 0x2B09A868: push edx */ 12117 PUSH32(esp, 0x2B0EDDFCu); /* 0x2B09A869: push 0x2b0eddfc */ 12118 RECOMP_ICALL(edi); /* 0x2B09A86E: call edi */ 12119 RECOMP_FLAGS_IN(); 12120 edi = POP32_VAL(esp); /* 0x2B09A870: pop edi */ 12121 esi = POP32_VAL(esp); /* 0x2B09A871: pop esi */ 12122 ebx = POP32_VAL(esp); /* 0x2B09A872: pop ebx */ 12123 esp = ebp; /* 0x2B09A873: mov esp, ebp */ 12124 ebp = POP32_VAL(esp); /* 0x2B09A875: pop ebp */ 12125 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09A876: ret 4 */ 12126 RECOMP_REGS_OUT(); 12127 } 12128 12129 void sub_2B09A880(void) { 12130 int _fpu_cmp = 0; 12131 uint32_t _cf = 0; 12132 int _df = 1; 12133 uint32_t _flag_k = FK_NONE; 12134 uint32_t _flag_a = 0, _flag_b = 0; 12135 uint32_t _itail_tgt = 0; 12136 RECOMP_REGS_LOCALS 12137 RECOMP_ENTER(0x2B09A880u); 12138 12139 L_2B09A880: 12140 PUSH32(esp, ebp); /* 0x2B09A880: push ebp */ 12141 ebp = esp; /* 0x2B09A881: mov ebp, esp */ 12142 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 12143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12144 esp = esp - 0x18u; /* 0x2B09A883: sub esp, 0x18 */ 12145 _flag_k = FK_CMP; 12146 PUSH32(esp, esi); /* 0x2B09A886: push esi */ 12147 PUSH32(esp, edi); /* 0x2B09A887: push edi */ 12148 edi = MEM32(ebp + 0x8); /* 0x2B09A888: mov edi, dword ptr [ebp + 8] */ 12149 eax = MEM32(edi); /* 0x2B09A88B: mov eax, dword ptr [edi] */ 12150 esi = ecx; /* 0x2B09A88D: mov esi, ecx */ 12151 MEM32(esi + 0x80) = eax; /* 0x2B09A88F: mov dword ptr [esi + 0x80], eax */ 12152 ecx = MEM32(edi + 0x4); /* 0x2B09A895: mov ecx, dword ptr [edi + 4] */ 12153 MEM32(esi + 0x84) = ecx; /* 0x2B09A898: mov dword ptr [esi + 0x84], ecx */ 12154 ecx = MEM32(esi + 0x3C); /* 0x2B09A89E: mov ecx, dword ptr [esi + 0x3c] */ 12155 PUSH32(esp, edi); /* 0x2B09A8A1: push edi */ 12156 RECOMP_ICALL(MEM32(0x2B0B59F8)); /* 0x2B09A8A2: call dword ptr [0x2b0b59f8] */ 12157 RECOMP_FLAGS_IN(); 12158 ecx = MEM32(esi + 0x74); /* 0x2B09A8A8: mov ecx, dword ptr [esi + 0x74] */ 12159 edx = MEM32(ecx); /* 0x2B09A8AB: mov edx, dword ptr [ecx] */ 12160 PUSH32(esp, edi); /* 0x2B09A8AD: push edi */ 12161 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B09A8AE: call dword ptr [edx + 0x18] */ 12162 RECOMP_FLAGS_IN(); 12163 ecx = MEM32(esi + 0x3C); /* 0x2B09A8B1: mov ecx, dword ptr [esi + 0x3c] */ 12164 eax = ebp + (-0x18); /* 0x2B09A8B4: lea eax, [ebp - 0x18] */ 12165 PUSH32(esp, eax); /* 0x2B09A8B7: push eax */ 12166 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B09A8B8: call dword ptr [0x2b0b59fc] */ 12167 RECOMP_FLAGS_IN(); 12168 ecx = MEM32(eax); /* 0x2B09A8BE: mov ecx, dword ptr [eax] */ 12169 MEM32(ebp + (-0x8)) = ecx; /* 0x2B09A8C0: mov dword ptr [ebp - 8], ecx */ 12170 edx = MEM32(eax + 0x4); /* 0x2B09A8C3: mov edx, dword ptr [eax + 4] */ 12171 ecx = MEM32(esi + 0x40); /* 0x2B09A8C6: mov ecx, dword ptr [esi + 0x40] */ 12172 eax = ebp + (-0x8); /* 0x2B09A8C9: lea eax, [ebp - 8] */ 12173 PUSH32(esp, eax); /* 0x2B09A8CC: push eax */ 12174 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A8CD: mov dword ptr [ebp - 4], edx */ 12175 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B09A8D0: call dword ptr [0x2b0b5b04] */ 12176 RECOMP_FLAGS_IN(); 12177 ecx = MEM32(ebp + (-0x8)); /* 0x2B09A8D6: mov ecx, dword ptr [ebp - 8] */ 12178 eax = MEM32(ebp + (-0x4)); /* 0x2B09A8D9: mov eax, dword ptr [ebp - 4] */ 12179 edx = MEM32(esi + 0x68); /* 0x2B09A8DC: mov edx, dword ptr [esi + 0x68] */ 12180 MEM32(ebp + (-0xC)) = eax; /* 0x2B09A8DF: mov dword ptr [ebp - 0xc], eax */ 12181 MEM32(ebp + (-0x10)) = ecx; /* 0x2B09A8E2: mov dword ptr [ebp - 0x10], ecx */ 12182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x38)); 12183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12184 eax = eax - MEM32(edx + 0x38); /* 0x2B09A8E5: sub eax, dword ptr [edx + 0x38] */ 12185 _flag_k = FK_CMP; 12186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x69u); 12187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12188 eax = eax - 0x69u; /* 0x2B09A8E8: sub eax, 0x69 */ 12189 _flag_k = FK_CMP; 12190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 12191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12192 ecx = ecx - 4; /* 0x2B09A8EB: sub ecx, 4 */ 12193 _flag_k = FK_CMP; 12194 MEM32(ebp + (-0xC)) = eax; /* 0x2B09A8EE: mov dword ptr [ebp - 0xc], eax */ 12195 eax = ebp + (-0x10); /* 0x2B09A8F1: lea eax, [ebp - 0x10] */ 12196 MEM32(ebp + (-0x10)) = ecx; /* 0x2B09A8F4: mov dword ptr [ebp - 0x10], ecx */ 12197 ecx = MEM32(esi + 0x5C); /* 0x2B09A8F7: mov ecx, dword ptr [esi + 0x5c] */ 12198 PUSH32(esp, eax); /* 0x2B09A8FA: push eax */ 12199 RECOMP_ICALL(MEM32(0x2B0B57D4)); /* 0x2B09A8FB: call dword ptr [0x2b0b57d4] */ 12200 RECOMP_FLAGS_IN(); 12201 ecx = MEM32(esi + 0x80); /* 0x2B09A901: mov ecx, dword ptr [esi + 0x80] */ 12202 edx = MEM32(0x2B0B6048); /* 0x2B09A907: mov edx, dword ptr [0x2b0b6048] */ 12203 edi = MEM32(0x2B0B604C); /* 0x2B09A90D: mov edi, dword ptr [0x2b0b604c] */ 12204 PUSH32(esp, 1); /* 0x2B09A913: push 1 */ 12205 PUSH32(esp, 2); /* 0x2B09A915: push 2 */ 12206 PUSH32(esp, ecx); /* 0x2B09A917: push ecx */ 12207 ecx = MEM32(edx); /* 0x2B09A918: mov ecx, dword ptr [edx] */ 12208 PUSH32(esp, 0x2B0EDE20u); /* 0x2B09A91A: push 0x2b0ede20 */ 12209 RECOMP_ICALL(edi); /* 0x2B09A91F: call edi */ 12210 RECOMP_FLAGS_IN(); 12211 eax = MEM32(esi + 0x84); /* 0x2B09A921: mov eax, dword ptr [esi + 0x84] */ 12212 ecx = MEM32(0x2B0B6048); /* 0x2B09A927: mov ecx, dword ptr [0x2b0b6048] */ 12213 ecx = MEM32(ecx); /* 0x2B09A92D: mov ecx, dword ptr [ecx] */ 12214 PUSH32(esp, 1); /* 0x2B09A92F: push 1 */ 12215 PUSH32(esp, 2); /* 0x2B09A931: push 2 */ 12216 PUSH32(esp, eax); /* 0x2B09A933: push eax */ 12217 PUSH32(esp, 0x2B0EDE14u); /* 0x2B09A934: push 0x2b0ede14 */ 12218 RECOMP_ICALL(edi); /* 0x2B09A939: call edi */ 12219 RECOMP_FLAGS_IN(); 12220 edx = esi + 0x78; /* 0x2B09A93B: lea edx, [esi + 0x78] */ 12221 PUSH32(esp, edx); /* 0x2B09A93E: push edx */ 12222 ecx = esi; /* 0x2B09A93F: mov ecx, esi */ 12223 RECOMP_ICALL(0x2B09A630u); /* 0x2B09A941: call 0x2b09a630 */ /* not lifted */ 12224 RECOMP_FLAGS_IN(); 12225 edi = POP32_VAL(esp); /* 0x2B09A946: pop edi */ 12226 esi = POP32_VAL(esp); /* 0x2B09A947: pop esi */ 12227 esp = ebp; /* 0x2B09A948: mov esp, ebp */ 12228 ebp = POP32_VAL(esp); /* 0x2B09A94A: pop ebp */ 12229 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09A94B: ret 4 */ 12230 RECOMP_REGS_OUT(); 12231 } 12232 12233 void sub_2B09A950(void) { 12234 int _fpu_cmp = 0; 12235 uint32_t _cf = 0; 12236 int _df = 1; 12237 uint32_t _flag_k = FK_NONE; 12238 uint32_t _flag_a = 0, _flag_b = 0; 12239 uint32_t _itail_tgt = 0; 12240 RECOMP_REGS_LOCALS 12241 RECOMP_ENTER(0x2B09A950u); 12242 12243 L_2B09A950: 12244 PUSH32(esp, ebp); /* 0x2B09A950: push ebp */ 12245 ebp = esp; /* 0x2B09A951: mov ebp, esp */ 12246 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12248 esp = esp - 8; /* 0x2B09A953: sub esp, 8 */ 12249 _flag_k = FK_CMP; 12250 ecx = MEM32(ebp + 0x8); /* 0x2B09A956: mov ecx, dword ptr [ebp + 8] */ 12251 /* test ecx, ecx */ /* 0x2B09A959: test ecx, ecx */ 12252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12253 _cf = 0; 12254 _flag_k = FK_TEST; 12255 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A97C; /* 0x2B09A95B: je 0x2b09a97c */ 12256 L_2B09A95D: 12257 eax = MEM32(ecx + 0x78); /* 0x2B09A95D: mov eax, dword ptr [ecx + 0x78] */ 12258 edx = MEM32(ecx + 0x7C); /* 0x2B09A960: mov edx, dword ptr [ecx + 0x7c] */ 12259 PUSH32(esp, esi); /* 0x2B09A963: push esi */ 12260 esi = MEM32(ebp + 0xC); /* 0x2B09A964: mov esi, dword ptr [ebp + 0xc] */ 12261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 12262 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12263 eax = eax + MEM32(esi); /* 0x2B09A967: add eax, dword ptr [esi] */ 12264 _flag_k = FK_ADD; 12265 MEM32(ebp + (-0x8)) = eax; /* 0x2B09A969: mov dword ptr [ebp - 8], eax */ 12266 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12268 edx = edx + MEM32(esi + 0x4); /* 0x2B09A96C: add edx, dword ptr [esi + 4] */ 12269 _flag_k = FK_ADD; 12270 eax = ebp + (-0x8); /* 0x2B09A96F: lea eax, [ebp - 8] */ 12271 PUSH32(esp, eax); /* 0x2B09A972: push eax */ 12272 MEM32(ebp + (-0x4)) = edx; /* 0x2B09A973: mov dword ptr [ebp - 4], edx */ 12273 RECOMP_ICALL(0x2B09A630u); /* 0x2B09A976: call 0x2b09a630 */ /* not lifted */ 12274 RECOMP_FLAGS_IN(); 12275 esi = POP32_VAL(esp); /* 0x2B09A97B: pop esi */ 12276 L_2B09A97C: 12277 esp = ebp; /* 0x2B09A97C: mov esp, ebp */ 12278 ebp = POP32_VAL(esp); /* 0x2B09A97E: pop ebp */ 12279 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A97F: ret */ 12280 RECOMP_REGS_OUT(); 12281 } 12282 12283 void sub_2B09A980(void) { 12284 int _fpu_cmp = 0; 12285 uint32_t _cf = 0; 12286 int _df = 1; 12287 uint32_t _flag_k = FK_NONE; 12288 uint32_t _flag_a = 0, _flag_b = 0; 12289 uint32_t _itail_tgt = 0; 12290 RECOMP_REGS_LOCALS 12291 RECOMP_ENTER(0x2B09A980u); 12292 12293 L_2B09A980: 12294 PUSH32(esp, ebp); /* 0x2B09A980: push ebp */ 12295 ebp = esp; /* 0x2B09A981: mov ebp, esp */ 12296 ecx = MEM32(ebp + 0x8); /* 0x2B09A983: mov ecx, dword ptr [ebp + 8] */ 12297 /* test ecx, ecx */ /* 0x2B09A986: test ecx, ecx */ 12298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12299 _cf = 0; 12300 _flag_k = FK_TEST; 12301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09A99A; /* 0x2B09A988: je 0x2b09a99a */ 12302 L_2B09A98A: 12303 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B09A98A: mov al, byte ptr [ebp + 0x10] */ 12304 /* test LO8(eax), LO8(eax) */ /* 0x2B09A98D: test al, al */ 12305 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12306 _cf = 0; 12307 _flag_k = FK_NARROW(FK_TEST, 24); 12308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09A99A; /* 0x2B09A98F: jne 0x2b09a99a */ 12309 L_2B09A991: 12310 eax = MEM32(ebp + 0xC); /* 0x2B09A991: mov eax, dword ptr [ebp + 0xc] */ 12311 PUSH32(esp, eax); /* 0x2B09A994: push eax */ 12312 RECOMP_ICALL(0x2B09A880u); /* 0x2B09A995: call 0x2b09a880 */ /* not lifted */ 12313 RECOMP_FLAGS_IN(); 12314 L_2B09A99A: 12315 ebp = POP32_VAL(esp); /* 0x2B09A99A: pop ebp */ 12316 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09A99B: ret */ 12317 RECOMP_REGS_OUT(); 12318 } 12319 12320 void sub_2B09A9A0(void) { 12321 int _fpu_cmp = 0; 12322 uint32_t _cf = 0; 12323 int _df = 1; 12324 uint32_t _flag_k = FK_NONE; 12325 uint32_t _flag_a = 0, _flag_b = 0; 12326 uint32_t _itail_tgt = 0; 12327 RECOMP_REGS_LOCALS 12328 RECOMP_ENTER(0x2B09A9A0u); 12329 12330 L_2B09A9A0: 12331 PUSH32(esp, ebp); /* 0x2B09A9A0: push ebp */ 12332 ebp = esp; /* 0x2B09A9A1: mov ebp, esp */ 12333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12335 esp = esp - 0xCu; /* 0x2B09A9A3: sub esp, 0xc */ 12336 _flag_k = FK_CMP; 12337 PUSH32(esp, esi); /* 0x2B09A9A6: push esi */ 12338 eax = ebp + (-0xC); /* 0x2B09A9A7: lea eax, [ebp - 0xc] */ 12339 PUSH32(esp, eax); /* 0x2B09A9AA: push eax */ 12340 esi = ecx; /* 0x2B09A9AB: mov esi, ecx */ 12341 MEM32(ebp + (-0xC)) = 0; /* 0x2B09A9AD: mov dword ptr [ebp - 0xc], 0 */ 12342 MEM32(ebp + (-0x8)) = 0; /* 0x2B09A9B4: mov dword ptr [ebp - 8], 0 */ 12343 MEM32(ebp + (-0x4)) = 0; /* 0x2B09A9BB: mov dword ptr [ebp - 4], 0 */ 12344 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09A9C2: call dword ptr [0x2b0b5d6c] */ 12345 RECOMP_FLAGS_IN(); 12346 ecx = eax; /* 0x2B09A9C8: mov ecx, eax */ 12347 RECOMP_ICALL(MEM32(0x2B0B5F04)); /* 0x2B09A9CA: call dword ptr [0x2b0b5f04] */ 12348 RECOMP_FLAGS_IN(); 12349 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2B09A9D0: fld dword ptr [ebp - 0xc] */ 12350 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x90)); /* 0x2B09A9D3: fcomp dword ptr [esi + 0x90] */ 12351 fp_pop(); 12352 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B09A9D9: fnstsw ax */ 12353 /* test HI8(eax), 0x40u */ /* 0x2B09A9DB: test ah, 0x40 */ 12354 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 12355 _cf = 0; 12356 _flag_k = FK_NARROW(FK_TEST, 24); 12357 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AA00; /* 0x2B09A9DE: je 0x2b09aa00 */ 12358 L_2B09A9E0: 12359 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B09A9E0: fld dword ptr [ebp - 8] */ 12360 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x94)); /* 0x2B09A9E3: fcomp dword ptr [esi + 0x94] */ 12361 fp_pop(); 12362 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B09A9E9: fnstsw ax */ 12363 /* test HI8(eax), 0x40u */ /* 0x2B09A9EB: test ah, 0x40 */ 12364 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 12365 _cf = 0; 12366 _flag_k = FK_NARROW(FK_TEST, 24); 12367 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AA00; /* 0x2B09A9EE: je 0x2b09aa00 */ 12368 L_2B09A9F0: 12369 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B09A9F0: fld dword ptr [ebp - 4] */ 12370 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x98)); /* 0x2B09A9F3: fcomp dword ptr [esi + 0x98] */ 12371 fp_pop(); 12372 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B09A9F9: fnstsw ax */ 12373 /* test HI8(eax), 0x40u */ /* 0x2B09A9FB: test ah, 0x40 */ 12374 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 12375 _cf = 0; 12376 _flag_k = FK_NARROW(FK_TEST, 24); 12377 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AA5D; /* 0x2B09A9FE: jne 0x2b09aa5d */ 12378 L_2B09AA00: 12379 ecx = MEM32(ebp + (-0xC)); /* 0x2B09AA00: mov ecx, dword ptr [ebp - 0xc] */ 12380 edx = MEM32(ebp + (-0x8)); /* 0x2B09AA03: mov edx, dword ptr [ebp - 8] */ 12381 eax = MEM32(ebp + (-0x4)); /* 0x2B09AA06: mov eax, dword ptr [ebp - 4] */ 12382 PUSH32(esp, ebx); /* 0x2B09AA09: push ebx */ 12383 MEM32(esi + 0x90) = ecx; /* 0x2B09AA0A: mov dword ptr [esi + 0x90], ecx */ 12384 ecx = MEM32(esi + 0x68); /* 0x2B09AA10: mov ecx, dword ptr [esi + 0x68] */ 12385 PUSH32(esp, edi); /* 0x2B09AA13: push edi */ 12386 edi = MEM32(0x2B0B5BAC); /* 0x2B09AA14: mov edi, dword ptr [0x2b0b5bac] */ 12387 MEM32(esi + 0x94) = edx; /* 0x2B09AA1A: mov dword ptr [esi + 0x94], edx */ 12388 MEM32(esi + 0x98) = eax; /* 0x2B09AA20: mov dword ptr [esi + 0x98], eax */ 12389 RECOMP_ICALL(edi); /* 0x2B09AA26: call edi */ 12390 RECOMP_FLAGS_IN(); 12391 ecx = MEM32(esi + 0x6C); /* 0x2B09AA28: mov ecx, dword ptr [esi + 0x6c] */ 12392 ebx = MEM32(0x2B0B5B34); /* 0x2B09AA2B: mov ebx, dword ptr [0x2b0b5b34] */ 12393 RECOMP_ICALL(ebx); /* 0x2B09AA31: call ebx */ 12394 RECOMP_FLAGS_IN(); 12395 ecx = MEM32(esi + 0x60); /* 0x2B09AA33: mov ecx, dword ptr [esi + 0x60] */ 12396 RECOMP_ICALL(edi); /* 0x2B09AA36: call edi */ 12397 RECOMP_FLAGS_IN(); 12398 ecx = MEM32(esi + 0x64); /* 0x2B09AA38: mov ecx, dword ptr [esi + 0x64] */ 12399 RECOMP_ICALL(ebx); /* 0x2B09AA3B: call ebx */ 12400 RECOMP_FLAGS_IN(); 12401 /* cmp MEM32(esi), 0 */ /* 0x2B09AA3D: cmp dword ptr [esi], 0 */ 12402 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 12403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12404 _flag_k = FK_CMP; 12405 edi = POP32_VAL(esp); /* 0x2B09AA40: pop edi */ 12406 ebx = POP32_VAL(esp); /* 0x2B09AA41: pop ebx */ 12407 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AA4B; /* 0x2B09AA42: jne 0x2b09aa4b */ 12408 L_2B09AA44: 12409 eax = MEM32(esi + 0x4); /* 0x2B09AA44: mov eax, dword ptr [esi + 4] */ 12410 /* test eax, eax */ /* 0x2B09AA47: test eax, eax */ 12411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12412 _cf = 0; 12413 _flag_k = FK_TEST; 12414 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AA5D; /* 0x2B09AA49: je 0x2b09aa5d */ 12415 L_2B09AA4B: 12416 ecx = MEM32(esi + 0x54); /* 0x2B09AA4B: mov ecx, dword ptr [esi + 0x54] */ 12417 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B09AA4E: call dword ptr [0x2b0b5bb4] */ 12418 RECOMP_FLAGS_IN(); 12419 ecx = MEM32(esi + 0x58); /* 0x2B09AA54: mov ecx, dword ptr [esi + 0x58] */ 12420 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B09AA57: call dword ptr [0x2b0b5b3c] */ 12421 RECOMP_FLAGS_IN(); 12422 L_2B09AA5D: 12423 SET_LO8(eax, MEM8(esi + 0x8C)); /* 0x2B09AA5D: mov al, byte ptr [esi + 0x8c] */ 12424 esi = POP32_VAL(esp); /* 0x2B09AA63: pop esi */ 12425 esp = ebp; /* 0x2B09AA64: mov esp, ebp */ 12426 ebp = POP32_VAL(esp); /* 0x2B09AA66: pop ebp */ 12427 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09AA67: ret */ 12428 RECOMP_REGS_OUT(); 12429 } 12430 12431 void sub_2B09AA70(void) { 12432 int _fpu_cmp = 0; 12433 uint32_t _cf = 0; 12434 int _df = 1; 12435 uint32_t _flag_k = FK_NONE; 12436 uint32_t _flag_a = 0, _flag_b = 0; 12437 uint32_t _itail_tgt = 0; 12438 RECOMP_REGS_LOCALS 12439 RECOMP_ENTER(0x2B09AA70u); 12440 12441 L_2B09AA70: 12442 PUSH32(esp, ebp); /* 0x2B09AA70: push ebp */ 12443 ebp = esp; /* 0x2B09AA71: mov ebp, esp */ 12444 eax = MEM32(ebp + 0xC); /* 0x2B09AA73: mov eax, dword ptr [ebp + 0xc] */ 12445 ecx = MEM32(eax + 0x8); /* 0x2B09AA76: mov ecx, dword ptr [eax + 8] */ 12446 eax = MEM32(eax + 0x4); /* 0x2B09AA79: mov eax, dword ptr [eax + 4] */ 12447 /* test eax, eax */ /* 0x2B09AA7C: test eax, eax */ 12448 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12449 _cf = 0; 12450 _flag_k = FK_TEST; 12451 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AA85; /* 0x2B09AA7E: jne 0x2b09aa85 */ 12452 L_2B09AA80: 12453 eax = MEM32(0x2B0B513C); /* 0x2B09AA80: mov eax, dword ptr [0x2b0b513c] */ 12454 L_2B09AA85: 12455 PUSH32(esp, ecx); /* 0x2B09AA85: push ecx */ 12456 PUSH32(esp, eax); /* 0x2B09AA86: push eax */ 12457 PUSH32(esp, 0x8Du); /* 0x2B09AA87: push 0x8d */ 12458 PUSH32(esp, 3); /* 0x2B09AA8C: push 3 */ 12459 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09AA8E: call dword ptr [0x2b0b53cc] */ 12460 RECOMP_FLAGS_IN(); 12461 ecx = eax; /* 0x2B09AA94: mov ecx, eax */ 12462 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B09AA96: call dword ptr [0x2b0b53c4] */ 12463 RECOMP_FLAGS_IN(); 12464 ebp = POP32_VAL(esp); /* 0x2B09AA9C: pop ebp */ 12465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09AA9D: ret */ 12466 RECOMP_REGS_OUT(); 12467 } 12468 12469 void sub_2B09AAA0(void) { 12470 int _fpu_cmp = 0; 12471 uint32_t _cf = 0; 12472 int _df = 1; 12473 uint32_t _flag_k = FK_NONE; 12474 uint32_t _flag_a = 0, _flag_b = 0; 12475 uint32_t _itail_tgt = 0; 12476 RECOMP_REGS_LOCALS 12477 RECOMP_ENTER(0x2B09AAA0u); 12478 12479 L_2B09AAA0: 12480 PUSH32(esp, ebp); /* 0x2B09AAA0: push ebp */ 12481 ebp = esp; /* 0x2B09AAA1: mov ebp, esp */ 12482 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09AAA3: push -1 */ 12483 PUSH32(esp, 0x2B0B3894u); /* 0x2B09AAA5: push 0x2b0b3894 */ 12484 eax = MEM32(FS_BASE + (0)); /* 0x2B09AAAA: mov eax, dword ptr fs:[0] */ 12485 PUSH32(esp, eax); /* 0x2B09AAB0: push eax */ 12486 MEM32(FS_BASE + (0)) = esp; /* 0x2B09AAB1: mov dword ptr fs:[0], esp */ 12487 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x440u); 12488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12489 esp = esp - 0x440u; /* 0x2B09AAB8: sub esp, 0x440 */ 12490 _flag_k = FK_CMP; 12491 eax = MEM32(ebp + 0x8); /* 0x2B09AABE: mov eax, dword ptr [ebp + 8] */ 12492 PUSH32(esp, esi); /* 0x2B09AAC1: push esi */ 12493 esi = ecx; /* 0x2B09AAC2: mov esi, ecx */ 12494 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B09AAC4: mov cl, byte ptr [ebp + 0xb] */ 12495 PUSH32(esp, edi); /* 0x2B09AAC7: push edi */ 12496 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(ecx)); /* 0x2B09AAC8: mov byte ptr [ebp - 0x34], cl */ 12497 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12498 edi = 0; /* 0x2B09AACB: xor edi, edi */ 12499 _cf = 0; 12500 _flag_k = FK_TEST; 12501 PUSH32(esp, edi); /* 0x2B09AACD: push edi */ 12502 ecx = ebp + (-0x34); /* 0x2B09AACE: lea ecx, [ebp - 0x34] */ 12503 MEM32(ebp + (-0x20)) = esi; /* 0x2B09AAD1: mov dword ptr [ebp - 0x20], esi */ 12504 MEM32(esi + 0x10) = eax; /* 0x2B09AAD4: mov dword ptr [esi + 0x10], eax */ 12505 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AAD7: call dword ptr [0x2b0b514c] */ 12506 RECOMP_FLAGS_IN(); 12507 MEM32(ebp + (-0x24)) = edi; /* 0x2B09AADD: mov dword ptr [ebp - 0x24], edi */ 12508 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B09AAE0: mov al, byte ptr [esi + 0xc] */ 12509 /* test LO8(eax), LO8(eax) */ /* 0x2B09AAE3: test al, al */ 12510 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12511 _cf = 0; 12512 _flag_k = FK_NARROW(FK_TEST, 24); 12513 MEM32(ebp + (-0x4)) = edi; /* 0x2B09AAE5: mov dword ptr [ebp - 4], edi */ 12514 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AB00; /* 0x2B09AAE8: jne 0x2b09ab00 */ 12515 L_2B09AAEA: 12516 /* cmp MEM32(esi + 0x8), 1 */ /* 0x2B09AAEA: cmp dword ptr [esi + 8], 1 */ 12517 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(1); 12518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12519 _flag_k = FK_CMP; 12520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AAF8; /* 0x2B09AAEE: jne 0x2b09aaf8 */ 12521 L_2B09AAF0: 12522 edx = esi + 0x18; /* 0x2B09AAF0: lea edx, [esi + 0x18] */ 12523 MEM32(ebp + (-0x1C)) = edx; /* 0x2B09AAF3: mov dword ptr [ebp - 0x1c], edx */ 12524 goto L_2B09AB06; /* 0x2B09AAF6: jmp 0x2b09ab06 */ 12525 L_2B09AAF8: 12526 eax = esi + 0x24; /* 0x2B09AAF8: lea eax, [esi + 0x24] */ 12527 MEM32(ebp + (-0x1C)) = eax; /* 0x2B09AAFB: mov dword ptr [ebp - 0x1c], eax */ 12528 goto L_2B09AB06; /* 0x2B09AAFE: jmp 0x2b09ab06 */ 12529 L_2B09AB00: 12530 ecx = esi + 0x30; /* 0x2B09AB00: lea ecx, [esi + 0x30] */ 12531 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B09AB03: mov dword ptr [ebp - 0x1c], ecx */ 12532 L_2B09AB06: 12533 edx = MEM32(ebp + (-0x1C)); /* 0x2B09AB06: mov edx, dword ptr [ebp - 0x1c] */ 12534 eax = MEM32(edx + 0x4); /* 0x2B09AB09: mov eax, dword ptr [edx + 4] */ 12535 PUSH32(esp, ebx); /* 0x2B09AB0C: push ebx */ 12536 ebx = MEM32(eax); /* 0x2B09AB0D: mov ebx, dword ptr [eax] */ 12537 /* cmp ebx, eax */ /* 0x2B09AB0F: cmp ebx, eax */ 12538 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12540 _flag_k = FK_CMP; 12541 MEM32(ebp + (-0x14)) = edi; /* 0x2B09AB11: mov dword ptr [ebp - 0x14], edi */ 12542 SET_LO8(edx, 0xEEu); /* 0x2B09AB14: mov dl, 0xee */ 12543 SET_LO8(ecx, 0x80u); /* 0x2B09AB16: mov cl, 0x80 */ 12544 MEM32(ebp + (-0x18)) = edi; /* 0x2B09AB18: mov dword ptr [ebp - 0x18], edi */ 12545 MEM8(ebp + (-0x14)) = (uint8_t)(LO8(edx)); /* 0x2B09AB1B: mov byte ptr [ebp - 0x14], dl */ 12546 MEM8(ebp + (-0x13)) = (uint8_t)(LO8(ecx)); /* 0x2B09AB1E: mov byte ptr [ebp - 0x13], cl */ 12547 MEM8(ebp + (-0x12)) = (uint8_t)(0x81u); /* 0x2B09AB21: mov byte ptr [ebp - 0x12], 0x81 */ 12548 MEM8(ebp + (-0x18)) = (uint8_t)(LO8(edx)); /* 0x2B09AB25: mov byte ptr [ebp - 0x18], dl */ 12549 MEM8(ebp + (-0x17)) = (uint8_t)(LO8(ecx)); /* 0x2B09AB28: mov byte ptr [ebp - 0x17], cl */ 12550 MEM8(ebp + (-0x16)) = (uint8_t)(0x82u); /* 0x2B09AB2B: mov byte ptr [ebp - 0x16], 0x82 */ 12551 MEM8(ebp + (-0xD)) = (uint8_t)(0); /* 0x2B09AB2F: mov byte ptr [ebp - 0xd], 0 */ 12552 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09AC11; /* 0x2B09AB33: je 0x2b09ac11 */ 12553 L_2B09AB39: 12554 goto L_2B09AB3D; /* 0x2B09AB39: jmp 0x2b09ab3d */ 12555 L_2B09AB3B: 12556 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12557 edi = 0; /* 0x2B09AB3B: xor edi, edi */ 12558 _cf = 0; 12559 _flag_k = FK_TEST; 12560 L_2B09AB3D: 12561 eax = MEM32(ebx + 0x8); /* 0x2B09AB3D: mov eax, dword ptr [ebx + 8] */ 12562 ecx = MEM32(esi + 0x10); /* 0x2B09AB40: mov ecx, dword ptr [esi + 0x10] */ 12563 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B09AB43: mov dl, byte ptr [ebp - 0xd] */ 12564 /* test ecx, eax */ /* 0x2B09AB46: test ecx, eax */ 12565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12566 _cf = 0; 12567 _flag_k = FK_TEST; 12568 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B09AB48: setne al */ 12569 _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24; 12570 SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x2B09AB4B: or dl, al */ 12571 _cf = 0; 12572 _flag_k = FK_NARROW(FK_TEST, 24); 12573 /* test LO8(eax), LO8(eax) */ /* 0x2B09AB4D: test al, al */ 12574 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12575 _cf = 0; 12576 _flag_k = FK_NARROW(FK_TEST, 24); 12577 MEM8(ebp + (-0xD)) = (uint8_t)(LO8(edx)); /* 0x2B09AB4F: mov byte ptr [ebp - 0xd], dl */ 12578 edx = ebp + (-0x14); /* 0x2B09AB52: lea edx, [ebp - 0x14] */ 12579 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AB5A; /* 0x2B09AB55: je 0x2b09ab5a */ 12580 L_2B09AB57: 12581 edx = ebp + (-0x18); /* 0x2B09AB57: lea edx, [ebp - 0x18] */ 12582 L_2B09AB5A: 12583 ecx = MEM32(ebx + 0x20); /* 0x2B09AB5A: mov ecx, dword ptr [ebx + 0x20] */ 12584 /* cmp ecx, edi */ /* 0x2B09AB5D: cmp ecx, edi */ 12585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 12586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12587 _flag_k = FK_CMP; 12588 esi = MEM32(0x2B0B513C); /* 0x2B09AB5F: mov esi, dword ptr [0x2b0b513c] */ 12589 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AB69; /* 0x2B09AB65: jne 0x2b09ab69 */ 12590 L_2B09AB67: 12591 ecx = esi; /* 0x2B09AB67: mov ecx, esi */ 12592 L_2B09AB69: 12593 eax = MEM32(ebx + 0x10); /* 0x2B09AB69: mov eax, dword ptr [ebx + 0x10] */ 12594 /* cmp eax, edi */ /* 0x2B09AB6C: cmp eax, edi */ 12595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12597 _flag_k = FK_CMP; 12598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AB72; /* 0x2B09AB6E: jne 0x2b09ab72 */ 12599 L_2B09AB70: 12600 eax = esi; /* 0x2B09AB70: mov eax, esi */ 12601 L_2B09AB72: 12602 PUSH32(esp, ecx); /* 0x2B09AB72: push ecx */ 12603 PUSH32(esp, eax); /* 0x2B09AB73: push eax */ 12604 PUSH32(esp, edx); /* 0x2B09AB74: push edx */ 12605 PUSH32(esp, 0x2B0EDFF4u); /* 0x2B09AB75: push 0x2b0edff4 */ 12606 ecx = ebp + (-0x44C); /* 0x2B09AB7A: lea ecx, [ebp - 0x44c] */ 12607 PUSH32(esp, 0x400u); /* 0x2B09AB80: push 0x400 */ 12608 PUSH32(esp, ecx); /* 0x2B09AB85: push ecx */ 12609 RECOMP_ICALL(0x2B012180u); /* 0x2B09AB86: call 0x2b012180 */ /* not lifted */ 12610 RECOMP_FLAGS_IN(); 12611 edx = MEM32(0x2B0B515C); /* 0x2B09AB8B: mov edx, dword ptr [0x2b0b515c] */ 12612 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12613 eax = 0; /* 0x2B09AB91: xor eax, eax */ 12614 _cf = 0; 12615 _flag_k = FK_TEST; 12616 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12617 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09AB93: or ecx, 0xffffffff */ 12618 _cf = 0; 12619 _flag_k = FK_TEST; 12620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 12621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12622 esp = esp + 0x18u; /* 0x2B09AB96: add esp, 0x18 */ 12623 _flag_k = FK_ADD; 12624 edi = ebp + (-0x44C); /* 0x2B09AB99: lea edi, [ebp - 0x44c] */ 12625 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; } /* 0x2B09AB9F: repne scasb al, byte ptr es:[edi] */ 12626 eax = MEM32(edx); /* 0x2B09ABA1: mov eax, dword ptr [edx] */ 12627 edx = MEM32(ebp + (-0x2C)); /* 0x2B09ABA3: mov edx, dword ptr [ebp - 0x2c] */ 12628 ecx = ~ecx; /* 0x2B09ABA6: not ecx */ 12629 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12630 ecx = ecx - 1; /* 0x2B09ABA8: dec ecx */ 12631 _flag_k = FK_DEC; 12632 esi = ecx; /* 0x2B09ABA9: mov esi, ecx */ 12633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12635 eax = eax - edx; /* 0x2B09ABAB: sub eax, edx */ 12636 _flag_k = FK_CMP; 12637 /* cmp eax, esi */ /* 0x2B09ABAD: cmp eax, esi */ 12638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12640 _flag_k = FK_CMP; 12641 if (CMP_A(_flag_a, _flag_b)) goto L_2B09ABB7; /* 0x2B09ABAF: ja 0x2b09abb7 */ 12642 L_2B09ABB1: 12643 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09ABB1: call dword ptr [0x2b0b51a8] */ 12644 RECOMP_FLAGS_IN(); 12645 L_2B09ABB7: 12646 /* test esi, esi */ /* 0x2B09ABB7: test esi, esi */ 12647 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12648 _cf = 0; 12649 _flag_k = FK_TEST; 12650 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AC00; /* 0x2B09ABB9: jbe 0x2b09ac00 */ 12651 L_2B09ABBB: 12652 ecx = MEM32(ebp + (-0x2C)); /* 0x2B09ABBB: mov ecx, dword ptr [ebp - 0x2c] */ 12653 eax = ecx + esi; /* 0x2B09ABBE: lea eax, [ecx + esi] */ 12654 PUSH32(esp, 0); /* 0x2B09ABC1: push 0 */ 12655 PUSH32(esp, eax); /* 0x2B09ABC3: push eax */ 12656 ecx = ebp + (-0x34); /* 0x2B09ABC4: lea ecx, [ebp - 0x34] */ 12657 MEM32(ebp + (-0x38)) = eax; /* 0x2B09ABC7: mov dword ptr [ebp - 0x38], eax */ 12658 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09ABCA: call dword ptr [0x2b0b5154] */ 12659 RECOMP_FLAGS_IN(); 12660 /* test LO8(eax), LO8(eax) */ /* 0x2B09ABD0: test al, al */ 12661 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12662 _cf = 0; 12663 _flag_k = FK_NARROW(FK_TEST, 24); 12664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AC00; /* 0x2B09ABD2: je 0x2b09ac00 */ 12665 L_2B09ABD4: 12666 edx = MEM32(ebp + (-0x2C)); /* 0x2B09ABD4: mov edx, dword ptr [ebp - 0x2c] */ 12667 eax = MEM32(ebp + (-0x30)); /* 0x2B09ABD7: mov eax, dword ptr [ebp - 0x30] */ 12668 ecx = esi; /* 0x2B09ABDA: mov ecx, esi */ 12669 edi = eax + edx; /* 0x2B09ABDC: lea edi, [eax + edx] */ 12670 eax = MEM32(ebp + (-0x38)); /* 0x2B09ABDF: mov eax, dword ptr [ebp - 0x38] */ 12671 edx = ecx; /* 0x2B09ABE2: mov edx, ecx */ 12672 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09ABE4: shr ecx, 2 */ 12673 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12674 ecx = ecx >> 2u; /* 0x2B09ABE4: shr ecx, 2 */ 12675 esi = ebp + (-0x44C); /* 0x2B09ABE7: lea esi, [ebp - 0x44c] */ 12676 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09ABED: 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; } 12677 ecx = edx; /* 0x2B09ABEF: mov ecx, edx */ 12678 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12679 ecx = ecx & 3; /* 0x2B09ABF1: and ecx, 3 */ 12680 _cf = 0; 12681 _flag_k = FK_TEST; 12682 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09ABF4: 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; } 12683 PUSH32(esp, eax); /* 0x2B09ABF6: push eax */ 12684 ecx = ebp + (-0x34); /* 0x2B09ABF7: lea ecx, [ebp - 0x34] */ 12685 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09ABFA: call dword ptr [0x2b0b5150] */ 12686 RECOMP_FLAGS_IN(); 12687 L_2B09AC00: 12688 ecx = MEM32(ebp + (-0x1C)); /* 0x2B09AC00: mov ecx, dword ptr [ebp - 0x1c] */ 12689 ebx = MEM32(ebx); /* 0x2B09AC03: mov ebx, dword ptr [ebx] */ 12690 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B09AC05: cmp ebx, dword ptr [ecx + 4] */ 12691 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12693 _flag_k = FK_CMP; 12694 esi = MEM32(ebp + (-0x20)); /* 0x2B09AC08: mov esi, dword ptr [ebp - 0x20] */ 12695 RECOMP_BACKEDGE(); 12696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AB3B; /* 0x2B09AC0B: jne 0x2b09ab3b */ 12697 L_2B09AC11: 12698 ecx = MEM32(esi + 0x68); /* 0x2B09AC11: mov ecx, dword ptr [esi + 0x68] */ 12699 edi = MEM32(0x2B0B5BAC); /* 0x2B09AC14: mov edi, dword ptr [0x2b0b5bac] */ 12700 RECOMP_ICALL(edi); /* 0x2B09AC1A: call edi */ 12701 RECOMP_FLAGS_IN(); 12702 ecx = MEM32(esi + 0x6C); /* 0x2B09AC1C: mov ecx, dword ptr [esi + 0x6c] */ 12703 ebx = MEM32(0x2B0B5B34); /* 0x2B09AC1F: mov ebx, dword ptr [0x2b0b5b34] */ 12704 RECOMP_ICALL(ebx); /* 0x2B09AC25: call ebx */ 12705 RECOMP_FLAGS_IN(); 12706 ecx = MEM32(esi + 0x60); /* 0x2B09AC27: mov ecx, dword ptr [esi + 0x60] */ 12707 RECOMP_ICALL(edi); /* 0x2B09AC2A: call edi */ 12708 RECOMP_FLAGS_IN(); 12709 ecx = MEM32(esi + 0x64); /* 0x2B09AC2C: mov ecx, dword ptr [esi + 0x64] */ 12710 RECOMP_ICALL(ebx); /* 0x2B09AC2F: call ebx */ 12711 RECOMP_FLAGS_IN(); 12712 ecx = MEM32(esi + 0x54); /* 0x2B09AC31: mov ecx, dword ptr [esi + 0x54] */ 12713 RECOMP_ICALL(edi); /* 0x2B09AC34: call edi */ 12714 RECOMP_FLAGS_IN(); 12715 ecx = MEM32(esi + 0x58); /* 0x2B09AC36: mov ecx, dword ptr [esi + 0x58] */ 12716 RECOMP_ICALL(ebx); /* 0x2B09AC39: call ebx */ 12717 RECOMP_FLAGS_IN(); 12718 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B09AC3B: mov al, byte ptr [esi + 0x14] */ 12719 /* test LO8(eax), LO8(eax) */ /* 0x2B09AC3E: test al, al */ 12720 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12721 _cf = 0; 12722 _flag_k = FK_NARROW(FK_TEST, 24); 12723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AC92; /* 0x2B09AC40: je 0x2b09ac92 */ 12724 L_2B09AC42: 12725 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B09AC42: mov al, byte ptr [ebp - 0xd] */ 12726 /* test LO8(eax), LO8(eax) */ /* 0x2B09AC45: test al, al */ 12727 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12728 _cf = 0; 12729 _flag_k = FK_NARROW(FK_TEST, 24); 12730 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AC7E; /* 0x2B09AC47: jne 0x2b09ac7e */ 12731 L_2B09AC49: 12732 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B09AC49: mov al, byte ptr [esi + 0xc] */ 12733 /* test LO8(eax), LO8(eax) */ /* 0x2B09AC4C: test al, al */ 12734 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12735 _cf = 0; 12736 _flag_k = FK_NARROW(FK_TEST, 24); 12737 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AC67; /* 0x2B09AC4E: je 0x2b09ac67 */ 12738 L_2B09AC50: 12739 ecx = MEM32(esi + 0x68); /* 0x2B09AC50: mov ecx, dword ptr [esi + 0x68] */ 12740 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B09AC53: call dword ptr [0x2b0b5bb4] */ 12741 RECOMP_FLAGS_IN(); 12742 ecx = MEM32(esi + 0x6C); /* 0x2B09AC59: mov ecx, dword ptr [esi + 0x6c] */ 12743 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B09AC5C: call dword ptr [0x2b0b5b3c] */ 12744 RECOMP_FLAGS_IN(); 12745 goto L_2B09AD00; /* 0x2B09AC62: jmp 0x2b09ad00 */ 12746 L_2B09AC67: 12747 ecx = MEM32(esi + 0x60); /* 0x2B09AC67: mov ecx, dword ptr [esi + 0x60] */ 12748 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B09AC6A: call dword ptr [0x2b0b5bb4] */ 12749 RECOMP_FLAGS_IN(); 12750 ecx = MEM32(esi + 0x64); /* 0x2B09AC70: mov ecx, dword ptr [esi + 0x64] */ 12751 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B09AC73: call dword ptr [0x2b0b5b3c] */ 12752 RECOMP_FLAGS_IN(); 12753 goto L_2B09AD00; /* 0x2B09AC79: jmp 0x2b09ad00 */ 12754 L_2B09AC7E: 12755 ecx = MEM32(esi + 0x54); /* 0x2B09AC7E: mov ecx, dword ptr [esi + 0x54] */ 12756 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B09AC81: call dword ptr [0x2b0b5bb4] */ 12757 RECOMP_FLAGS_IN(); 12758 ecx = MEM32(esi + 0x58); /* 0x2B09AC87: mov ecx, dword ptr [esi + 0x58] */ 12759 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B09AC8A: call dword ptr [0x2b0b5b3c] */ 12760 RECOMP_FLAGS_IN(); 12761 goto L_2B09AD00; /* 0x2B09AC90: jmp 0x2b09ad00 */ 12762 L_2B09AC92: 12763 edx = MEM32(0x2B0B515C); /* 0x2B09AC92: mov edx, dword ptr [0x2b0b515c] */ 12764 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12765 eax = 0; /* 0x2B09AC98: xor eax, eax */ 12766 _cf = 0; 12767 _flag_k = FK_TEST; 12768 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12769 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09AC9A: or ecx, 0xffffffff */ 12770 _cf = 0; 12771 _flag_k = FK_TEST; 12772 edi = 0x2B0EDFC8u; /* 0x2B09AC9D: mov edi, 0x2b0edfc8 */ 12773 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; } /* 0x2B09ACA2: repne scasb al, byte ptr es:[edi] */ 12774 eax = MEM32(edx); /* 0x2B09ACA4: mov eax, dword ptr [edx] */ 12775 edx = MEM32(ebp + (-0x2C)); /* 0x2B09ACA6: mov edx, dword ptr [ebp - 0x2c] */ 12776 ecx = ~ecx; /* 0x2B09ACA9: not ecx */ 12777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12778 ecx = ecx - 1; /* 0x2B09ACAB: dec ecx */ 12779 _flag_k = FK_DEC; 12780 edi = ecx; /* 0x2B09ACAC: mov edi, ecx */ 12781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12783 eax = eax - edx; /* 0x2B09ACAE: sub eax, edx */ 12784 _flag_k = FK_CMP; 12785 /* cmp eax, edi */ /* 0x2B09ACB0: cmp eax, edi */ 12786 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12788 _flag_k = FK_CMP; 12789 if (CMP_A(_flag_a, _flag_b)) goto L_2B09ACBA; /* 0x2B09ACB2: ja 0x2b09acba */ 12790 L_2B09ACB4: 12791 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09ACB4: call dword ptr [0x2b0b51a8] */ 12792 RECOMP_FLAGS_IN(); 12793 L_2B09ACBA: 12794 /* test edi, edi */ /* 0x2B09ACBA: test edi, edi */ 12795 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12796 _cf = 0; 12797 _flag_k = FK_TEST; 12798 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD00; /* 0x2B09ACBC: jbe 0x2b09ad00 */ 12799 L_2B09ACBE: 12800 ecx = MEM32(ebp + (-0x2C)); /* 0x2B09ACBE: mov ecx, dword ptr [ebp - 0x2c] */ 12801 ebx = ecx + edi; /* 0x2B09ACC1: lea ebx, [ecx + edi] */ 12802 PUSH32(esp, 0); /* 0x2B09ACC4: push 0 */ 12803 PUSH32(esp, ebx); /* 0x2B09ACC6: push ebx */ 12804 ecx = ebp + (-0x34); /* 0x2B09ACC7: lea ecx, [ebp - 0x34] */ 12805 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09ACCA: call dword ptr [0x2b0b5154] */ 12806 RECOMP_FLAGS_IN(); 12807 /* test LO8(eax), LO8(eax) */ /* 0x2B09ACD0: test al, al */ 12808 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12809 _cf = 0; 12810 _flag_k = FK_NARROW(FK_TEST, 24); 12811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD00; /* 0x2B09ACD2: je 0x2b09ad00 */ 12812 L_2B09ACD4: 12813 edx = MEM32(ebp + (-0x2C)); /* 0x2B09ACD4: mov edx, dword ptr [ebp - 0x2c] */ 12814 eax = MEM32(ebp + (-0x30)); /* 0x2B09ACD7: mov eax, dword ptr [ebp - 0x30] */ 12815 ecx = edi; /* 0x2B09ACDA: mov ecx, edi */ 12816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12817 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12818 eax = eax + edx; /* 0x2B09ACDC: add eax, edx */ 12819 _flag_k = FK_ADD; 12820 edx = ecx; /* 0x2B09ACDE: mov edx, ecx */ 12821 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09ACE0: shr ecx, 2 */ 12822 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12823 ecx = ecx >> 2u; /* 0x2B09ACE0: shr ecx, 2 */ 12824 edi = eax; /* 0x2B09ACE3: mov edi, eax */ 12825 esi = 0x2B0EDFC8u; /* 0x2B09ACE5: mov esi, 0x2b0edfc8 */ 12826 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09ACEA: 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; } 12827 ecx = edx; /* 0x2B09ACEC: mov ecx, edx */ 12828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12829 ecx = ecx & 3; /* 0x2B09ACEE: and ecx, 3 */ 12830 _cf = 0; 12831 _flag_k = FK_TEST; 12832 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09ACF1: 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; } 12833 PUSH32(esp, ebx); /* 0x2B09ACF3: push ebx */ 12834 ecx = ebp + (-0x34); /* 0x2B09ACF4: lea ecx, [ebp - 0x34] */ 12835 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09ACF7: call dword ptr [0x2b0b5150] */ 12836 RECOMP_FLAGS_IN(); 12837 esi = MEM32(ebp + (-0x20)); /* 0x2B09ACFD: mov esi, dword ptr [ebp - 0x20] */ 12838 L_2B09AD00: 12839 ecx = MEM32(esi + 0x5C); /* 0x2B09AD00: mov ecx, dword ptr [esi + 0x5c] */ 12840 eax = ebp + (-0x34); /* 0x2B09AD03: lea eax, [ebp - 0x34] */ 12841 PUSH32(esp, eax); /* 0x2B09AD06: push eax */ 12842 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09AD07: call dword ptr [0x2b0b59d4] */ 12843 RECOMP_FLAGS_IN(); 12844 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B09AD0D: mov al, byte ptr [ebp - 0xd] */ 12845 /* test LO8(eax), LO8(eax) */ /* 0x2B09AD10: test al, al */ 12846 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12847 _cf = 0; 12848 _flag_k = FK_NARROW(FK_TEST, 24); 12849 ebx = POP32_VAL(esp); /* 0x2B09AD12: pop ebx */ 12850 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AD94; /* 0x2B09AD13: jne 0x2b09ad94 */ 12851 L_2B09AD15: 12852 esi = MEM32(ebp + 0x8); /* 0x2B09AD15: mov esi, dword ptr [ebp + 8] */ 12853 /* test esi, esi */ /* 0x2B09AD18: test esi, esi */ 12854 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12855 _cf = 0; 12856 _flag_k = FK_TEST; 12857 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD94; /* 0x2B09AD1A: je 0x2b09ad94 */ 12858 L_2B09AD1C: 12859 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B09AD1C: mov cl, byte ptr [ebp + 0xb] */ 12860 MEM8(ebp + (-0x4C)) = (uint8_t)(LO8(ecx)); /* 0x2B09AD1F: mov byte ptr [ebp - 0x4c], cl */ 12861 PUSH32(esp, 0); /* 0x2B09AD22: push 0 */ 12862 ecx = ebp + (-0x4C); /* 0x2B09AD24: lea ecx, [ebp - 0x4c] */ 12863 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AD27: call dword ptr [0x2b0b514c] */ 12864 RECOMP_FLAGS_IN(); 12865 MEM32(ebp + (-0x3C)) = 0; /* 0x2B09AD2D: mov dword ptr [ebp - 0x3c], 0 */ 12866 PUSH32(esp, esi); /* 0x2B09AD34: push esi */ 12867 edx = ebp + (-0x4C); /* 0x2B09AD35: lea edx, [ebp - 0x4c] */ 12868 PUSH32(esp, 0x2B0EDF1Cu); /* 0x2B09AD38: push 0x2b0edf1c */ 12869 PUSH32(esp, edx); /* 0x2B09AD3D: push edx */ 12870 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B09AD3E: mov byte ptr [ebp - 4], 1 */ 12871 RECOMP_ICALL(0x2B00F1E0u); /* 0x2B09AD42: call 0x2b00f1e0 */ /* not lifted */ 12872 RECOMP_FLAGS_IN(); 12873 PUSH32(esp, 0); /* 0x2B09AD47: push 0 */ 12874 PUSH32(esp, 0); /* 0x2B09AD49: push 0 */ 12875 PUSH32(esp, 0); /* 0x2B09AD4B: push 0 */ 12876 eax = ebp + (-0x4C); /* 0x2B09AD4D: lea eax, [ebp - 0x4c] */ 12877 PUSH32(esp, eax); /* 0x2B09AD50: push eax */ 12878 PUSH32(esp, 0x2B0EDF10u); /* 0x2B09AD51: push 0x2b0edf10 */ 12879 RECOMP_ICALL(0x2B089D20u); /* 0x2B09AD56: call 0x2b089d20 */ /* not lifted */ 12880 RECOMP_FLAGS_IN(); 12881 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 12882 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12883 esp = esp + 0x20u; /* 0x2B09AD5B: add esp, 0x20 */ 12884 _flag_k = FK_ADD; 12885 eax = MEM32(ebp + (-0x3C)); /* 0x2B09AD5E: mov eax, dword ptr [ebp - 0x3c] */ 12886 /* test eax, eax */ /* 0x2B09AD61: test eax, eax */ 12887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12888 _cf = 0; 12889 _flag_k = FK_TEST; 12890 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09AD63: mov byte ptr [ebp - 4], 2 */ 12891 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD67: je 0x2b09ad85 */ 12892 L_2B09AD69: 12893 esi = MEM32(eax + 0x2C); /* 0x2B09AD69: mov esi, dword ptr [eax + 0x2c] */ 12894 ecx = eax; /* 0x2B09AD6C: mov ecx, eax */ 12895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 12896 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12897 eax = eax + 0x2Cu; /* 0x2B09AD6E: add eax, 0x2c */ 12898 _flag_k = FK_ADD; 12899 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12900 esi = esi - 1; /* 0x2B09AD71: dec esi */ 12901 _flag_k = FK_DEC; 12902 edx = esi; /* 0x2B09AD72: mov edx, esi */ 12903 /* test edx, edx */ /* 0x2B09AD74: test edx, edx */ 12904 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12905 _cf = 0; 12906 _flag_k = FK_TEST; 12907 MEM32(eax) = esi; /* 0x2B09AD76: mov dword ptr [eax], esi */ 12908 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD78: jne 0x2b09ad85 */ 12909 L_2B09AD7A: 12910 /* test ecx, ecx */ /* 0x2B09AD7A: test ecx, ecx */ 12911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12912 _cf = 0; 12913 _flag_k = FK_TEST; 12914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD7C: je 0x2b09ad85 */ 12915 L_2B09AD7E: 12916 PUSH32(esp, 1); /* 0x2B09AD7E: push 1 */ 12917 RECOMP_ICALL(0x2B007900u); /* 0x2B09AD80: call 0x2b007900 */ /* not lifted */ 12918 RECOMP_FLAGS_IN(); 12919 L_2B09AD85: 12920 PUSH32(esp, 1); /* 0x2B09AD85: push 1 */ 12921 ecx = ebp + (-0x4C); /* 0x2B09AD87: lea ecx, [ebp - 0x4c] */ 12922 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09AD8A: mov byte ptr [ebp - 4], 0 */ 12923 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AD8E: call dword ptr [0x2b0b514c] */ 12924 RECOMP_FLAGS_IN(); 12925 L_2B09AD94: 12926 eax = MEM32(ebp + (-0x24)); /* 0x2B09AD94: mov eax, dword ptr [ebp - 0x24] */ 12927 /* test eax, eax */ /* 0x2B09AD97: test eax, eax */ 12928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12929 _cf = 0; 12930 _flag_k = FK_TEST; 12931 MEM32(ebp + (-0x4)) = 3; /* 0x2B09AD99: mov dword ptr [ebp - 4], 3 */ 12932 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADA0: je 0x2b09adbe */ 12933 L_2B09ADA2: 12934 esi = MEM32(eax + 0x2C); /* 0x2B09ADA2: mov esi, dword ptr [eax + 0x2c] */ 12935 ecx = eax; /* 0x2B09ADA5: mov ecx, eax */ 12936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 12937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12938 eax = eax + 0x2Cu; /* 0x2B09ADA7: add eax, 0x2c */ 12939 _flag_k = FK_ADD; 12940 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12941 esi = esi - 1; /* 0x2B09ADAA: dec esi */ 12942 _flag_k = FK_DEC; 12943 edx = esi; /* 0x2B09ADAB: mov edx, esi */ 12944 /* test edx, edx */ /* 0x2B09ADAD: test edx, edx */ 12945 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12946 _cf = 0; 12947 _flag_k = FK_TEST; 12948 MEM32(eax) = esi; /* 0x2B09ADAF: mov dword ptr [eax], esi */ 12949 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADB1: jne 0x2b09adbe */ 12950 L_2B09ADB3: 12951 /* test ecx, ecx */ /* 0x2B09ADB3: test ecx, ecx */ 12952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12953 _cf = 0; 12954 _flag_k = FK_TEST; 12955 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADB5: je 0x2b09adbe */ 12956 L_2B09ADB7: 12957 PUSH32(esp, 1); /* 0x2B09ADB7: push 1 */ 12958 RECOMP_ICALL(0x2B007900u); /* 0x2B09ADB9: call 0x2b007900 */ /* not lifted */ 12959 RECOMP_FLAGS_IN(); 12960 L_2B09ADBE: 12961 PUSH32(esp, 1); /* 0x2B09ADBE: push 1 */ 12962 ecx = ebp + (-0x34); /* 0x2B09ADC0: lea ecx, [ebp - 0x34] */ 12963 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09ADC3: mov dword ptr [ebp - 4], 0xffffffff */ 12964 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09ADCA: call dword ptr [0x2b0b514c] */ 12965 RECOMP_FLAGS_IN(); 12966 ecx = MEM32(ebp + (-0xC)); /* 0x2B09ADD0: mov ecx, dword ptr [ebp - 0xc] */ 12967 edi = POP32_VAL(esp); /* 0x2B09ADD3: pop edi */ 12968 esi = POP32_VAL(esp); /* 0x2B09ADD4: pop esi */ 12969 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09ADD5: mov dword ptr fs:[0], ecx */ 12970 esp = ebp; /* 0x2B09ADDC: mov esp, ebp */ 12971 ebp = POP32_VAL(esp); /* 0x2B09ADDE: pop ebp */ 12972 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09ADDF: ret 4 */ 12973 RECOMP_REGS_OUT(); 12974 } 12975 12976 void sub_2B09AD00(void) { 12977 int _fpu_cmp = 0; 12978 uint32_t _cf = 0; 12979 int _df = 1; 12980 uint32_t _flag_k = FK_NONE; 12981 uint32_t _flag_a = 0, _flag_b = 0; 12982 uint32_t _itail_tgt = 0; 12983 RECOMP_REGS_LOCALS 12984 RECOMP_ENTER(0x2B09AD00u); 12985 12986 L_2B09AD00: 12987 ecx = MEM32(esi + 0x5C); /* 0x2B09AD00: mov ecx, dword ptr [esi + 0x5c] */ 12988 eax = ebp + (-0x34); /* 0x2B09AD03: lea eax, [ebp - 0x34] */ 12989 PUSH32(esp, eax); /* 0x2B09AD06: push eax */ 12990 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09AD07: call dword ptr [0x2b0b59d4] */ 12991 RECOMP_FLAGS_IN(); 12992 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B09AD0D: mov al, byte ptr [ebp - 0xd] */ 12993 /* test LO8(eax), LO8(eax) */ /* 0x2B09AD10: test al, al */ 12994 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12995 _cf = 0; 12996 _flag_k = FK_NARROW(FK_TEST, 24); 12997 ebx = POP32_VAL(esp); /* 0x2B09AD12: pop ebx */ 12998 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AD94; /* 0x2B09AD13: jne 0x2b09ad94 */ 12999 L_2B09AD15: 13000 esi = MEM32(ebp + 0x8); /* 0x2B09AD15: mov esi, dword ptr [ebp + 8] */ 13001 /* test esi, esi */ /* 0x2B09AD18: test esi, esi */ 13002 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13003 _cf = 0; 13004 _flag_k = FK_TEST; 13005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD94; /* 0x2B09AD1A: je 0x2b09ad94 */ 13006 L_2B09AD1C: 13007 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B09AD1C: mov cl, byte ptr [ebp + 0xb] */ 13008 MEM8(ebp + (-0x4C)) = (uint8_t)(LO8(ecx)); /* 0x2B09AD1F: mov byte ptr [ebp - 0x4c], cl */ 13009 PUSH32(esp, 0); /* 0x2B09AD22: push 0 */ 13010 ecx = ebp + (-0x4C); /* 0x2B09AD24: lea ecx, [ebp - 0x4c] */ 13011 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AD27: call dword ptr [0x2b0b514c] */ 13012 RECOMP_FLAGS_IN(); 13013 MEM32(ebp + (-0x3C)) = 0; /* 0x2B09AD2D: mov dword ptr [ebp - 0x3c], 0 */ 13014 PUSH32(esp, esi); /* 0x2B09AD34: push esi */ 13015 edx = ebp + (-0x4C); /* 0x2B09AD35: lea edx, [ebp - 0x4c] */ 13016 PUSH32(esp, 0x2B0EDF1Cu); /* 0x2B09AD38: push 0x2b0edf1c */ 13017 PUSH32(esp, edx); /* 0x2B09AD3D: push edx */ 13018 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B09AD3E: mov byte ptr [ebp - 4], 1 */ 13019 RECOMP_ICALL(0x2B00F1E0u); /* 0x2B09AD42: call 0x2b00f1e0 */ /* not lifted */ 13020 RECOMP_FLAGS_IN(); 13021 PUSH32(esp, 0); /* 0x2B09AD47: push 0 */ 13022 PUSH32(esp, 0); /* 0x2B09AD49: push 0 */ 13023 PUSH32(esp, 0); /* 0x2B09AD4B: push 0 */ 13024 eax = ebp + (-0x4C); /* 0x2B09AD4D: lea eax, [ebp - 0x4c] */ 13025 PUSH32(esp, eax); /* 0x2B09AD50: push eax */ 13026 PUSH32(esp, 0x2B0EDF10u); /* 0x2B09AD51: push 0x2b0edf10 */ 13027 RECOMP_ICALL(0x2B089D20u); /* 0x2B09AD56: call 0x2b089d20 */ /* not lifted */ 13028 RECOMP_FLAGS_IN(); 13029 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 13030 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13031 esp = esp + 0x20u; /* 0x2B09AD5B: add esp, 0x20 */ 13032 _flag_k = FK_ADD; 13033 eax = MEM32(ebp + (-0x3C)); /* 0x2B09AD5E: mov eax, dword ptr [ebp - 0x3c] */ 13034 /* test eax, eax */ /* 0x2B09AD61: test eax, eax */ 13035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13036 _cf = 0; 13037 _flag_k = FK_TEST; 13038 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09AD63: mov byte ptr [ebp - 4], 2 */ 13039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD67: je 0x2b09ad85 */ 13040 L_2B09AD69: 13041 esi = MEM32(eax + 0x2C); /* 0x2B09AD69: mov esi, dword ptr [eax + 0x2c] */ 13042 ecx = eax; /* 0x2B09AD6C: mov ecx, eax */ 13043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13045 eax = eax + 0x2Cu; /* 0x2B09AD6E: add eax, 0x2c */ 13046 _flag_k = FK_ADD; 13047 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13048 esi = esi - 1; /* 0x2B09AD71: dec esi */ 13049 _flag_k = FK_DEC; 13050 edx = esi; /* 0x2B09AD72: mov edx, esi */ 13051 /* test edx, edx */ /* 0x2B09AD74: test edx, edx */ 13052 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 13053 _cf = 0; 13054 _flag_k = FK_TEST; 13055 MEM32(eax) = esi; /* 0x2B09AD76: mov dword ptr [eax], esi */ 13056 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD78: jne 0x2b09ad85 */ 13057 L_2B09AD7A: 13058 /* test ecx, ecx */ /* 0x2B09AD7A: test ecx, ecx */ 13059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13060 _cf = 0; 13061 _flag_k = FK_TEST; 13062 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AD85; /* 0x2B09AD7C: je 0x2b09ad85 */ 13063 L_2B09AD7E: 13064 PUSH32(esp, 1); /* 0x2B09AD7E: push 1 */ 13065 RECOMP_ICALL(0x2B007900u); /* 0x2B09AD80: call 0x2b007900 */ /* not lifted */ 13066 RECOMP_FLAGS_IN(); 13067 L_2B09AD85: 13068 PUSH32(esp, 1); /* 0x2B09AD85: push 1 */ 13069 ecx = ebp + (-0x4C); /* 0x2B09AD87: lea ecx, [ebp - 0x4c] */ 13070 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09AD8A: mov byte ptr [ebp - 4], 0 */ 13071 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AD8E: call dword ptr [0x2b0b514c] */ 13072 RECOMP_FLAGS_IN(); 13073 L_2B09AD94: 13074 eax = MEM32(ebp + (-0x24)); /* 0x2B09AD94: mov eax, dword ptr [ebp - 0x24] */ 13075 /* test eax, eax */ /* 0x2B09AD97: test eax, eax */ 13076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13077 _cf = 0; 13078 _flag_k = FK_TEST; 13079 MEM32(ebp + (-0x4)) = 3; /* 0x2B09AD99: mov dword ptr [ebp - 4], 3 */ 13080 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADA0: je 0x2b09adbe */ 13081 L_2B09ADA2: 13082 esi = MEM32(eax + 0x2C); /* 0x2B09ADA2: mov esi, dword ptr [eax + 0x2c] */ 13083 ecx = eax; /* 0x2B09ADA5: mov ecx, eax */ 13084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13086 eax = eax + 0x2Cu; /* 0x2B09ADA7: add eax, 0x2c */ 13087 _flag_k = FK_ADD; 13088 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13089 esi = esi - 1; /* 0x2B09ADAA: dec esi */ 13090 _flag_k = FK_DEC; 13091 edx = esi; /* 0x2B09ADAB: mov edx, esi */ 13092 /* test edx, edx */ /* 0x2B09ADAD: test edx, edx */ 13093 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 13094 _cf = 0; 13095 _flag_k = FK_TEST; 13096 MEM32(eax) = esi; /* 0x2B09ADAF: mov dword ptr [eax], esi */ 13097 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADB1: jne 0x2b09adbe */ 13098 L_2B09ADB3: 13099 /* test ecx, ecx */ /* 0x2B09ADB3: test ecx, ecx */ 13100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13101 _cf = 0; 13102 _flag_k = FK_TEST; 13103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09ADBE; /* 0x2B09ADB5: je 0x2b09adbe */ 13104 L_2B09ADB7: 13105 PUSH32(esp, 1); /* 0x2B09ADB7: push 1 */ 13106 RECOMP_ICALL(0x2B007900u); /* 0x2B09ADB9: call 0x2b007900 */ /* not lifted */ 13107 RECOMP_FLAGS_IN(); 13108 L_2B09ADBE: 13109 PUSH32(esp, 1); /* 0x2B09ADBE: push 1 */ 13110 ecx = ebp + (-0x34); /* 0x2B09ADC0: lea ecx, [ebp - 0x34] */ 13111 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09ADC3: mov dword ptr [ebp - 4], 0xffffffff */ 13112 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09ADCA: call dword ptr [0x2b0b514c] */ 13113 RECOMP_FLAGS_IN(); 13114 ecx = MEM32(ebp + (-0xC)); /* 0x2B09ADD0: mov ecx, dword ptr [ebp - 0xc] */ 13115 edi = POP32_VAL(esp); /* 0x2B09ADD3: pop edi */ 13116 esi = POP32_VAL(esp); /* 0x2B09ADD4: pop esi */ 13117 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09ADD5: mov dword ptr fs:[0], ecx */ 13118 esp = ebp; /* 0x2B09ADDC: mov esp, ebp */ 13119 ebp = POP32_VAL(esp); /* 0x2B09ADDE: pop ebp */ 13120 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09ADDF: ret 4 */ 13121 RECOMP_REGS_OUT(); 13122 } 13123 13124 void sub_2B09ADF0(void) { 13125 int _fpu_cmp = 0; 13126 uint32_t _cf = 0; 13127 int _df = 1; 13128 uint32_t _flag_k = FK_NONE; 13129 uint32_t _flag_a = 0, _flag_b = 0; 13130 uint32_t _itail_tgt = 0; 13131 RECOMP_REGS_LOCALS 13132 RECOMP_ENTER(0x2B09ADF0u); 13133 13134 L_2B09ADF0: 13135 PUSH32(esp, ebp); /* 0x2B09ADF0: push ebp */ 13136 ebp = esp; /* 0x2B09ADF1: mov ebp, esp */ 13137 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09ADF3: push -1 */ 13138 PUSH32(esp, 0x2B0B3953u); /* 0x2B09ADF5: push 0x2b0b3953 */ 13139 eax = MEM32(FS_BASE + (0)); /* 0x2B09ADFA: mov eax, dword ptr fs:[0] */ 13140 PUSH32(esp, eax); /* 0x2B09AE00: push eax */ 13141 MEM32(FS_BASE + (0)) = esp; /* 0x2B09AE01: mov dword ptr fs:[0], esp */ 13142 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 13143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13144 esp = esp - 0x5Cu; /* 0x2B09AE08: sub esp, 0x5c */ 13145 _flag_k = FK_CMP; 13146 PUSH32(esp, ebx); /* 0x2B09AE0B: push ebx */ 13147 PUSH32(esp, esi); /* 0x2B09AE0C: push esi */ 13148 PUSH32(esp, edi); /* 0x2B09AE0D: push edi */ 13149 edi = MEM32(ebp + 0x8); /* 0x2B09AE0E: mov edi, dword ptr [ebp + 8] */ 13150 PUSH32(esp, 0x184u); /* 0x2B09AE11: push 0x184 */ 13151 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13152 ebx = 0; /* 0x2B09AE16: xor ebx, ebx */ 13153 _cf = 0; 13154 _flag_k = FK_TEST; 13155 PUSH32(esp, edi); /* 0x2B09AE18: push edi */ 13156 esi = ecx; /* 0x2B09AE19: mov esi, ecx */ 13157 MEM32(ebp + (-0x14)) = ebx; /* 0x2B09AE1B: mov dword ptr [ebp - 0x14], ebx */ 13158 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09AE1E: call dword ptr [0x2b0b5d6c] */ 13159 RECOMP_FLAGS_IN(); 13160 ecx = eax; /* 0x2B09AE24: mov ecx, eax */ 13161 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B09AE26: call dword ptr [0x2b0b5ee0] */ 13162 RECOMP_FLAGS_IN(); 13163 PUSH32(esp, edi); /* 0x2B09AE2C: push edi */ 13164 MEM32(ebp + (-0x14)) = eax; /* 0x2B09AE2D: mov dword ptr [ebp - 0x14], eax */ 13165 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09AE30: call dword ptr [0x2b0b5d6c] */ 13166 RECOMP_FLAGS_IN(); 13167 ecx = eax; /* 0x2B09AE36: mov ecx, eax */ 13168 RECOMP_ICALL(MEM32(0x2B0B5D08)); /* 0x2B09AE38: call dword ptr [0x2b0b5d08] */ 13169 RECOMP_FLAGS_IN(); 13170 /* test LO8(eax), LO8(eax) */ /* 0x2B09AE3E: test al, al */ 13171 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13172 _cf = 0; 13173 _flag_k = FK_NARROW(FK_TEST, 24); 13174 MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2B09AE40: mov byte ptr [ebp - 0xd], al */ 13175 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AEF5; /* 0x2B09AE43: jne 0x2b09aef5 */ 13176 L_2B09AE49: 13177 eax = MEM32(ebp + (-0x14)); /* 0x2B09AE49: mov eax, dword ptr [ebp - 0x14] */ 13178 /* test eax, eax */ /* 0x2B09AE4C: test eax, eax */ 13179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13180 _cf = 0; 13181 _flag_k = FK_TEST; 13182 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AE5B; /* 0x2B09AE4E: je 0x2b09ae5b */ 13183 L_2B09AE50: 13184 /* cmp eax, 0x499602D2u */ /* 0x2B09AE50: cmp eax, 0x499602d2 */ 13185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 13186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13187 _flag_k = FK_CMP; 13188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AEF5; /* 0x2B09AE55: jne 0x2b09aef5 */ 13189 L_2B09AE5B: 13190 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09AE5B: mov al, byte ptr [ebp + 0xb] */ 13191 PUSH32(esp, 0); /* 0x2B09AE5E: push 0 */ 13192 ecx = ebp + (-0x40); /* 0x2B09AE60: lea ecx, [ebp - 0x40] */ 13193 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B09AE63: mov byte ptr [ebp - 0x40], al */ 13194 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AE66: call dword ptr [0x2b0b514c] */ 13195 RECOMP_FLAGS_IN(); 13196 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13197 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09AE6C: or ecx, 0xffffffff */ 13198 _cf = 0; 13199 _flag_k = FK_TEST; 13200 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13201 eax = 0; /* 0x2B09AE6F: xor eax, eax */ 13202 _cf = 0; 13203 _flag_k = FK_TEST; 13204 edi = 0x2B0EE044u; /* 0x2B09AE71: mov edi, 0x2b0ee044 */ 13205 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; } /* 0x2B09AE76: repne scasb al, byte ptr es:[edi] */ 13206 ecx = ~ecx; /* 0x2B09AE78: not ecx */ 13207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13208 ecx = ecx - 1; /* 0x2B09AE7A: dec ecx */ 13209 _flag_k = FK_DEC; 13210 PUSH32(esp, ecx); /* 0x2B09AE7B: push ecx */ 13211 PUSH32(esp, 0x2B0EE044u); /* 0x2B09AE7C: push 0x2b0ee044 */ 13212 ecx = ebp + (-0x40); /* 0x2B09AE81: lea ecx, [ebp - 0x40] */ 13213 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09AE84: call dword ptr [0x2b0b5148] */ 13214 RECOMP_FLAGS_IN(); 13215 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13216 esi = 0; /* 0x2B09AE8A: xor esi, esi */ 13217 _cf = 0; 13218 _flag_k = FK_TEST; 13219 MEM32(ebp + (-0x30)) = esi; /* 0x2B09AE8C: mov dword ptr [ebp - 0x30], esi */ 13220 PUSH32(esp, esi); /* 0x2B09AE8F: push esi */ 13221 PUSH32(esp, esi); /* 0x2B09AE90: push esi */ 13222 PUSH32(esp, esi); /* 0x2B09AE91: push esi */ 13223 ecx = ebp + (-0x40); /* 0x2B09AE92: lea ecx, [ebp - 0x40] */ 13224 PUSH32(esp, ecx); /* 0x2B09AE95: push ecx */ 13225 PUSH32(esp, 0x2B0EDF10u); /* 0x2B09AE96: push 0x2b0edf10 */ 13226 MEM32(ebp + (-0x4)) = esi; /* 0x2B09AE9B: mov dword ptr [ebp - 4], esi */ 13227 RECOMP_ICALL(0x2B089D20u); /* 0x2B09AE9E: call 0x2b089d20 */ /* not lifted */ 13228 RECOMP_FLAGS_IN(); 13229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 13230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13231 esp = esp + 0x14u; /* 0x2B09AEA3: add esp, 0x14 */ 13232 _flag_k = FK_ADD; 13233 eax = MEM32(ebp + (-0x30)); /* 0x2B09AEA6: mov eax, dword ptr [ebp - 0x30] */ 13234 /* cmp eax, esi */ /* 0x2B09AEA9: cmp eax, esi */ 13235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13237 _flag_k = FK_CMP; 13238 MEM32(ebp + (-0x4)) = 1; /* 0x2B09AEAB: mov dword ptr [ebp - 4], 1 */ 13239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09AED0; /* 0x2B09AEB2: je 0x2b09aed0 */ 13240 L_2B09AEB4: 13241 edi = MEM32(eax + 0x2C); /* 0x2B09AEB4: mov edi, dword ptr [eax + 0x2c] */ 13242 ecx = eax; /* 0x2B09AEB7: mov ecx, eax */ 13243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13245 eax = eax + 0x2Cu; /* 0x2B09AEB9: add eax, 0x2c */ 13246 _flag_k = FK_ADD; 13247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 13248 edi = edi - 1; /* 0x2B09AEBC: dec edi */ 13249 _flag_k = FK_DEC; 13250 edx = edi; /* 0x2B09AEBD: mov edx, edi */ 13251 /* cmp edx, esi */ /* 0x2B09AEBF: cmp edx, esi */ 13252 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 13253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13254 _flag_k = FK_CMP; 13255 MEM32(eax) = edi; /* 0x2B09AEC1: mov dword ptr [eax], edi */ 13256 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09AED0; /* 0x2B09AEC3: jne 0x2b09aed0 */ 13257 L_2B09AEC5: 13258 /* cmp ecx, esi */ /* 0x2B09AEC5: cmp ecx, esi */ 13259 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13261 _flag_k = FK_CMP; 13262 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09AED0; /* 0x2B09AEC7: je 0x2b09aed0 */ 13263 L_2B09AEC9: 13264 PUSH32(esp, 1); /* 0x2B09AEC9: push 1 */ 13265 RECOMP_ICALL(0x2B007900u); /* 0x2B09AECB: call 0x2b007900 */ /* not lifted */ 13266 RECOMP_FLAGS_IN(); 13267 L_2B09AED0: 13268 PUSH32(esp, 1); /* 0x2B09AED0: push 1 */ 13269 ecx = ebp + (-0x40); /* 0x2B09AED2: lea ecx, [ebp - 0x40] */ 13270 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09AED5: mov dword ptr [ebp - 4], 0xffffffff */ 13271 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AEDC: call dword ptr [0x2b0b514c] */ 13272 RECOMP_FLAGS_IN(); 13273 edi = POP32_VAL(esp); /* 0x2B09AEE2: pop edi */ 13274 esi = POP32_VAL(esp); /* 0x2B09AEE3: pop esi */ 13275 ebx = POP32_VAL(esp); /* 0x2B09AEE4: pop ebx */ 13276 ecx = MEM32(ebp + (-0xC)); /* 0x2B09AEE5: mov ecx, dword ptr [ebp - 0xc] */ 13277 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09AEE8: mov dword ptr fs:[0], ecx */ 13278 esp = ebp; /* 0x2B09AEEF: mov esp, ebp */ 13279 ebp = POP32_VAL(esp); /* 0x2B09AEF1: pop ebp */ 13280 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09AEF2: ret 4 */ 13281 L_2B09AEF5: 13282 PUSH32(esp, edi); /* 0x2B09AEF5: push edi */ 13283 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09AEF6: call dword ptr [0x2b0b5d6c] */ 13284 RECOMP_FLAGS_IN(); 13285 ecx = eax; /* 0x2B09AEFC: mov ecx, eax */ 13286 RECOMP_ICALL(MEM32(0x2B0B5F2C)); /* 0x2B09AEFE: call dword ptr [0x2b0b5f2c] */ 13287 RECOMP_FLAGS_IN(); 13288 edx = MEM32(ebp + (-0x14)); /* 0x2B09AF04: mov edx, dword ptr [ebp - 0x14] */ 13289 MEM8(esi + 0x14) = (uint8_t)(LO8(eax)); /* 0x2B09AF07: mov byte ptr [esi + 0x14], al */ 13290 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B09AF0A: mov al, byte ptr [ebp - 0xd] */ 13291 MEM32(esi + 0x8) = edx; /* 0x2B09AF0D: mov dword ptr [esi + 8], edx */ 13292 MEM8(esi + 0xC) = (uint8_t)(LO8(eax)); /* 0x2B09AF10: mov byte ptr [esi + 0xc], al */ 13293 ecx = MEM32(edi); /* 0x2B09AF13: mov ecx, dword ptr [edi] */ 13294 MEM32(esi) = ecx; /* 0x2B09AF15: mov dword ptr [esi], ecx */ 13295 edx = MEM32(edi + 0x4); /* 0x2B09AF17: mov edx, dword ptr [edi + 4] */ 13296 edi = MEM32(esi + 0x70); /* 0x2B09AF1A: mov edi, dword ptr [esi + 0x70] */ 13297 /* test edi, edi */ /* 0x2B09AF1D: test edi, edi */ 13298 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13299 _cf = 0; 13300 _flag_k = FK_TEST; 13301 MEM32(esi + 0x4) = edx; /* 0x2B09AF1F: mov dword ptr [esi + 4], edx */ 13302 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AF35; /* 0x2B09AF22: je 0x2b09af35 */ 13303 L_2B09AF24: 13304 ecx = edi; /* 0x2B09AF24: mov ecx, edi */ 13305 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B09AF26: call dword ptr [0x2b0b5b30] */ 13306 RECOMP_FLAGS_IN(); 13307 PUSH32(esp, edi); /* 0x2B09AF2C: push edi */ 13308 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09AF2D: call 0x2b0ab1ba */ /* not lifted */ 13309 RECOMP_FLAGS_IN(); 13310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13312 esp = esp + 4; /* 0x2B09AF32: add esp, 4 */ 13313 _flag_k = FK_ADD; 13314 L_2B09AF35: 13315 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B09AF35: mov al, byte ptr [esi + 0xc] */ 13316 /* test LO8(eax), LO8(eax) */ /* 0x2B09AF38: test al, al */ 13317 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13318 _cf = 0; 13319 _flag_k = FK_NARROW(FK_TEST, 24); 13320 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B0C9; /* 0x2B09AF3A: jne 0x2b09b0c9 */ 13321 L_2B09AF40: 13322 /* cmp MEM32(esi + 0x8), 1 */ /* 0x2B09AF40: cmp dword ptr [esi + 8], 1 */ 13323 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(1); 13324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13325 _flag_k = FK_CMP; 13326 PUSH32(esp, 8); /* 0x2B09AF44: push 8 */ 13327 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B008; /* 0x2B09AF46: jne 0x2b09b008 */ 13328 L_2B09AF4C: 13329 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09AF4C: call 0x2b0ab212 */ /* not lifted */ 13330 RECOMP_FLAGS_IN(); 13331 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13332 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13333 esp = esp + 4; /* 0x2B09AF51: add esp, 4 */ 13334 _flag_k = FK_ADD; 13335 MEM32(ebp + (-0x18)) = eax; /* 0x2B09AF54: mov dword ptr [ebp - 0x18], eax */ 13336 /* test eax, eax */ /* 0x2B09AF57: test eax, eax */ 13337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13338 _cf = 0; 13339 _flag_k = FK_TEST; 13340 MEM32(ebp + (-0x4)) = 2; /* 0x2B09AF59: mov dword ptr [ebp - 4], 2 */ 13341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AFBD; /* 0x2B09AF60: je 0x2b09afbd */ 13342 L_2B09AF62: 13343 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09AF62: mov al, byte ptr [ebp + 0xb] */ 13344 PUSH32(esp, 0); /* 0x2B09AF65: push 0 */ 13345 ecx = ebp + (-0x40); /* 0x2B09AF67: lea ecx, [ebp - 0x40] */ 13346 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B09AF6A: mov byte ptr [ebp - 0x40], al */ 13347 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09AF6D: call dword ptr [0x2b0b514c] */ 13348 RECOMP_FLAGS_IN(); 13349 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13350 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09AF73: or ecx, 0xffffffff */ 13351 _cf = 0; 13352 _flag_k = FK_TEST; 13353 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13354 eax = 0; /* 0x2B09AF76: xor eax, eax */ 13355 _cf = 0; 13356 _flag_k = FK_TEST; 13357 edi = 0x2B0EE02Cu; /* 0x2B09AF78: mov edi, 0x2b0ee02c */ 13358 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; } /* 0x2B09AF7D: repne scasb al, byte ptr es:[edi] */ 13359 ecx = ~ecx; /* 0x2B09AF7F: not ecx */ 13360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13361 ecx = ecx - 1; /* 0x2B09AF81: dec ecx */ 13362 _flag_k = FK_DEC; 13363 PUSH32(esp, ecx); /* 0x2B09AF82: push ecx */ 13364 PUSH32(esp, 0x2B0EE02Cu); /* 0x2B09AF83: push 0x2b0ee02c */ 13365 ecx = ebp + (-0x40); /* 0x2B09AF88: lea ecx, [ebp - 0x40] */ 13366 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09AF8B: call dword ptr [0x2b0b5148] */ 13367 RECOMP_FLAGS_IN(); 13368 ebx = 1; /* 0x2B09AF91: mov ebx, 1 */ 13369 MEM32(ebp + (-0x30)) = 0; /* 0x2B09AF96: mov dword ptr [ebp - 0x30], 0 */ 13370 MEM32(ebp + (-0x14)) = ebx; /* 0x2B09AF9D: mov dword ptr [ebp - 0x14], ebx */ 13371 ecx = MEM32(esi + 0x88); /* 0x2B09AFA0: mov ecx, dword ptr [esi + 0x88] */ 13372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13373 ecx = ecx + 1; /* 0x2B09AFA6: inc ecx */ 13374 _flag_k = FK_INC; 13375 PUSH32(esp, ecx); /* 0x2B09AFA7: push ecx */ 13376 ecx = MEM32(ebp + (-0x18)); /* 0x2B09AFA8: mov ecx, dword ptr [ebp - 0x18] */ 13377 PUSH32(esp, 4); /* 0x2B09AFAB: push 4 */ 13378 edx = ebp + (-0x40); /* 0x2B09AFAD: lea edx, [ebp - 0x40] */ 13379 PUSH32(esp, edx); /* 0x2B09AFB0: push edx */ 13380 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B09AFB1: mov byte ptr [ebp - 4], 3 */ 13381 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B09AFB5: call dword ptr [0x2b0b5b20] */ 13382 RECOMP_FLAGS_IN(); 13383 goto L_2B09AFBF; /* 0x2B09AFBB: jmp 0x2b09afbf */ 13384 L_2B09AFBD: 13385 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13386 eax = 0; /* 0x2B09AFBD: xor eax, eax */ 13387 _cf = 0; 13388 _flag_k = FK_TEST; 13389 L_2B09AFBF: 13390 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 13391 edi = edi | 0xFFFFFFFFu; /* 0x2B09AFBF: or edi, 0xffffffff */ 13392 _cf = 0; 13393 _flag_k = FK_TEST; 13394 /* test LO8(ebx), 1 */ /* 0x2B09AFC2: test bl, 1 */ 13395 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 13396 _cf = 0; 13397 _flag_k = FK_NARROW(FK_TEST, 24); 13398 MEM32(esi + 0x70) = eax; /* 0x2B09AFC5: mov dword ptr [esi + 0x70], eax */ 13399 MEM32(ebp + (-0x4)) = edi; /* 0x2B09AFC8: mov dword ptr [ebp - 4], edi */ 13400 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B188; /* 0x2B09AFCB: je 0x2b09b188 */ 13401 L_2B09AFD1: 13402 eax = MEM32(ebp + (-0x30)); /* 0x2B09AFD1: mov eax, dword ptr [ebp - 0x30] */ 13403 /* test eax, eax */ /* 0x2B09AFD4: test eax, eax */ 13404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13405 _cf = 0; 13406 _flag_k = FK_TEST; 13407 MEM32(ebp + (-0x4)) = 5; /* 0x2B09AFD6: mov dword ptr [ebp - 4], 5 */ 13408 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AFFB; /* 0x2B09AFDD: je 0x2b09affb */ 13409 L_2B09AFDF: 13410 ebx = MEM32(eax + 0x2C); /* 0x2B09AFDF: mov ebx, dword ptr [eax + 0x2c] */ 13411 ecx = eax; /* 0x2B09AFE2: mov ecx, eax */ 13412 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13414 eax = eax + 0x2Cu; /* 0x2B09AFE4: add eax, 0x2c */ 13415 _flag_k = FK_ADD; 13416 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 13417 ebx = ebx - 1; /* 0x2B09AFE7: dec ebx */ 13418 _flag_k = FK_DEC; 13419 edx = ebx; /* 0x2B09AFE8: mov edx, ebx */ 13420 /* test edx, edx */ /* 0x2B09AFEA: test edx, edx */ 13421 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 13422 _cf = 0; 13423 _flag_k = FK_TEST; 13424 MEM32(eax) = ebx; /* 0x2B09AFEC: mov dword ptr [eax], ebx */ 13425 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09AFFB; /* 0x2B09AFEE: jne 0x2b09affb */ 13426 L_2B09AFF0: 13427 /* test ecx, ecx */ /* 0x2B09AFF0: test ecx, ecx */ 13428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13429 _cf = 0; 13430 _flag_k = FK_TEST; 13431 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09AFFB; /* 0x2B09AFF2: je 0x2b09affb */ 13432 L_2B09AFF4: 13433 PUSH32(esp, 1); /* 0x2B09AFF4: push 1 */ 13434 RECOMP_ICALL(0x2B007900u); /* 0x2B09AFF6: call 0x2b007900 */ /* not lifted */ 13435 RECOMP_FLAGS_IN(); 13436 L_2B09AFFB: 13437 MEM32(ebp + (-0x4)) = edi; /* 0x2B09AFFB: mov dword ptr [ebp - 4], edi */ 13438 PUSH32(esp, 1); /* 0x2B09AFFE: push 1 */ 13439 ecx = ebp + (-0x40); /* 0x2B09B000: lea ecx, [ebp - 0x40] */ 13440 goto L_2B09B182; /* 0x2B09B003: jmp 0x2b09b182 */ 13441 L_2B09B008: 13442 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B008: call 0x2b0ab212 */ /* not lifted */ 13443 RECOMP_FLAGS_IN(); 13444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13446 esp = esp + 4; /* 0x2B09B00D: add esp, 4 */ 13447 _flag_k = FK_ADD; 13448 MEM32(ebp + (-0x18)) = eax; /* 0x2B09B010: mov dword ptr [ebp - 0x18], eax */ 13449 /* test eax, eax */ /* 0x2B09B013: test eax, eax */ 13450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13451 _cf = 0; 13452 _flag_k = FK_TEST; 13453 MEM32(ebp + (-0x4)) = 6; /* 0x2B09B015: mov dword ptr [ebp - 4], 6 */ 13454 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B079; /* 0x2B09B01C: je 0x2b09b079 */ 13455 L_2B09B01E: 13456 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09B01E: mov al, byte ptr [ebp + 0xb] */ 13457 PUSH32(esp, 0); /* 0x2B09B021: push 0 */ 13458 ecx = ebp + (-0x40); /* 0x2B09B023: lea ecx, [ebp - 0x40] */ 13459 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B09B026: mov byte ptr [ebp - 0x40], al */ 13460 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B029: call dword ptr [0x2b0b514c] */ 13461 RECOMP_FLAGS_IN(); 13462 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13463 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09B02F: or ecx, 0xffffffff */ 13464 _cf = 0; 13465 _flag_k = FK_TEST; 13466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13467 eax = 0; /* 0x2B09B032: xor eax, eax */ 13468 _cf = 0; 13469 _flag_k = FK_TEST; 13470 edi = 0x2B0EE018u; /* 0x2B09B034: mov edi, 0x2b0ee018 */ 13471 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; } /* 0x2B09B039: repne scasb al, byte ptr es:[edi] */ 13472 ecx = ~ecx; /* 0x2B09B03B: not ecx */ 13473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13474 ecx = ecx - 1; /* 0x2B09B03D: dec ecx */ 13475 _flag_k = FK_DEC; 13476 PUSH32(esp, ecx); /* 0x2B09B03E: push ecx */ 13477 PUSH32(esp, 0x2B0EE018u); /* 0x2B09B03F: push 0x2b0ee018 */ 13478 ecx = ebp + (-0x40); /* 0x2B09B044: lea ecx, [ebp - 0x40] */ 13479 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09B047: call dword ptr [0x2b0b5148] */ 13480 RECOMP_FLAGS_IN(); 13481 ebx = 2; /* 0x2B09B04D: mov ebx, 2 */ 13482 MEM32(ebp + (-0x30)) = 0; /* 0x2B09B052: mov dword ptr [ebp - 0x30], 0 */ 13483 MEM32(ebp + (-0x14)) = ebx; /* 0x2B09B059: mov dword ptr [ebp - 0x14], ebx */ 13484 ecx = MEM32(esi + 0x88); /* 0x2B09B05C: mov ecx, dword ptr [esi + 0x88] */ 13485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13486 ecx = ecx + 1; /* 0x2B09B062: inc ecx */ 13487 _flag_k = FK_INC; 13488 PUSH32(esp, ecx); /* 0x2B09B063: push ecx */ 13489 ecx = MEM32(ebp + (-0x18)); /* 0x2B09B064: mov ecx, dword ptr [ebp - 0x18] */ 13490 PUSH32(esp, 4); /* 0x2B09B067: push 4 */ 13491 edx = ebp + (-0x40); /* 0x2B09B069: lea edx, [ebp - 0x40] */ 13492 PUSH32(esp, edx); /* 0x2B09B06C: push edx */ 13493 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B09B06D: mov byte ptr [ebp - 4], 7 */ 13494 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B09B071: call dword ptr [0x2b0b5b20] */ 13495 RECOMP_FLAGS_IN(); 13496 goto L_2B09B07B; /* 0x2B09B077: jmp 0x2b09b07b */ 13497 L_2B09B079: 13498 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13499 eax = 0; /* 0x2B09B079: xor eax, eax */ 13500 _cf = 0; 13501 _flag_k = FK_TEST; 13502 L_2B09B07B: 13503 /* test LO8(ebx), 2 */ /* 0x2B09B07B: test bl, 2 */ 13504 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 13505 _cf = 0; 13506 _flag_k = FK_NARROW(FK_TEST, 24); 13507 MEM32(esi + 0x70) = eax; /* 0x2B09B07E: mov dword ptr [esi + 0x70], eax */ 13508 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B081: mov dword ptr [ebp - 4], 0xffffffff */ 13509 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B188; /* 0x2B09B088: je 0x2b09b188 */ 13510 L_2B09B08E: 13511 eax = MEM32(ebp + (-0x30)); /* 0x2B09B08E: mov eax, dword ptr [ebp - 0x30] */ 13512 /* test eax, eax */ /* 0x2B09B091: test eax, eax */ 13513 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13514 _cf = 0; 13515 _flag_k = FK_TEST; 13516 MEM32(ebp + (-0x4)) = 9; /* 0x2B09B093: mov dword ptr [ebp - 4], 9 */ 13517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B0B8; /* 0x2B09B09A: je 0x2b09b0b8 */ 13518 L_2B09B09C: 13519 edi = MEM32(eax + 0x2C); /* 0x2B09B09C: mov edi, dword ptr [eax + 0x2c] */ 13520 ecx = eax; /* 0x2B09B09F: mov ecx, eax */ 13521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13523 eax = eax + 0x2Cu; /* 0x2B09B0A1: add eax, 0x2c */ 13524 _flag_k = FK_ADD; 13525 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 13526 edi = edi - 1; /* 0x2B09B0A4: dec edi */ 13527 _flag_k = FK_DEC; 13528 edx = edi; /* 0x2B09B0A5: mov edx, edi */ 13529 /* test edx, edx */ /* 0x2B09B0A7: test edx, edx */ 13530 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 13531 _cf = 0; 13532 _flag_k = FK_TEST; 13533 MEM32(eax) = edi; /* 0x2B09B0A9: mov dword ptr [eax], edi */ 13534 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B0B8; /* 0x2B09B0AB: jne 0x2b09b0b8 */ 13535 L_2B09B0AD: 13536 /* test ecx, ecx */ /* 0x2B09B0AD: test ecx, ecx */ 13537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13538 _cf = 0; 13539 _flag_k = FK_TEST; 13540 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B0B8; /* 0x2B09B0AF: je 0x2b09b0b8 */ 13541 L_2B09B0B1: 13542 PUSH32(esp, 1); /* 0x2B09B0B1: push 1 */ 13543 RECOMP_ICALL(0x2B007900u); /* 0x2B09B0B3: call 0x2b007900 */ /* not lifted */ 13544 RECOMP_FLAGS_IN(); 13545 L_2B09B0B8: 13546 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B0B8: mov dword ptr [ebp - 4], 0xffffffff */ 13547 PUSH32(esp, 1); /* 0x2B09B0BF: push 1 */ 13548 ecx = ebp + (-0x40); /* 0x2B09B0C1: lea ecx, [ebp - 0x40] */ 13549 goto L_2B09B182; /* 0x2B09B0C4: jmp 0x2b09b182 */ 13550 L_2B09B0C9: 13551 PUSH32(esp, 8); /* 0x2B09B0C9: push 8 */ 13552 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B0CB: call 0x2b0ab212 */ /* not lifted */ 13553 RECOMP_FLAGS_IN(); 13554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13556 esp = esp + 4; /* 0x2B09B0D0: add esp, 4 */ 13557 _flag_k = FK_ADD; 13558 MEM32(ebp + (-0x18)) = eax; /* 0x2B09B0D3: mov dword ptr [ebp - 0x18], eax */ 13559 /* test eax, eax */ /* 0x2B09B0D6: test eax, eax */ 13560 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13561 _cf = 0; 13562 _flag_k = FK_TEST; 13563 MEM32(ebp + (-0x4)) = 0xAu; /* 0x2B09B0D8: mov dword ptr [ebp - 4], 0xa */ 13564 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B13B; /* 0x2B09B0DF: je 0x2b09b13b */ 13565 L_2B09B0E1: 13566 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09B0E1: mov al, byte ptr [ebp + 0xb] */ 13567 PUSH32(esp, 0); /* 0x2B09B0E4: push 0 */ 13568 ecx = ebp + (-0x40); /* 0x2B09B0E6: lea ecx, [ebp - 0x40] */ 13569 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B09B0E9: mov byte ptr [ebp - 0x40], al */ 13570 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B0EC: call dword ptr [0x2b0b514c] */ 13571 RECOMP_FLAGS_IN(); 13572 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13573 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09B0F2: or ecx, 0xffffffff */ 13574 _cf = 0; 13575 _flag_k = FK_TEST; 13576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13577 eax = 0; /* 0x2B09B0F5: xor eax, eax */ 13578 _cf = 0; 13579 _flag_k = FK_TEST; 13580 edi = 0x2B0EE008u; /* 0x2B09B0F7: mov edi, 0x2b0ee008 */ 13581 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; } /* 0x2B09B0FC: repne scasb al, byte ptr es:[edi] */ 13582 ecx = ~ecx; /* 0x2B09B0FE: not ecx */ 13583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13584 ecx = ecx - 1; /* 0x2B09B100: dec ecx */ 13585 _flag_k = FK_DEC; 13586 PUSH32(esp, ecx); /* 0x2B09B101: push ecx */ 13587 PUSH32(esp, 0x2B0EE008u); /* 0x2B09B102: push 0x2b0ee008 */ 13588 ecx = ebp + (-0x40); /* 0x2B09B107: lea ecx, [ebp - 0x40] */ 13589 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09B10A: call dword ptr [0x2b0b5148] */ 13590 RECOMP_FLAGS_IN(); 13591 ebx = 4; /* 0x2B09B110: mov ebx, 4 */ 13592 MEM32(ebp + (-0x30)) = 0; /* 0x2B09B115: mov dword ptr [ebp - 0x30], 0 */ 13593 MEM32(ebp + (-0x14)) = ebx; /* 0x2B09B11C: mov dword ptr [ebp - 0x14], ebx */ 13594 ecx = MEM32(esi + 0x88); /* 0x2B09B11F: mov ecx, dword ptr [esi + 0x88] */ 13595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13596 ecx = ecx + 1; /* 0x2B09B125: inc ecx */ 13597 _flag_k = FK_INC; 13598 PUSH32(esp, ecx); /* 0x2B09B126: push ecx */ 13599 ecx = MEM32(ebp + (-0x18)); /* 0x2B09B127: mov ecx, dword ptr [ebp - 0x18] */ 13600 PUSH32(esp, ebx); /* 0x2B09B12A: push ebx */ 13601 edx = ebp + (-0x40); /* 0x2B09B12B: lea edx, [ebp - 0x40] */ 13602 PUSH32(esp, edx); /* 0x2B09B12E: push edx */ 13603 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09B12F: mov byte ptr [ebp - 4], 0xb */ 13604 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B09B133: call dword ptr [0x2b0b5b20] */ 13605 RECOMP_FLAGS_IN(); 13606 goto L_2B09B13D; /* 0x2B09B139: jmp 0x2b09b13d */ 13607 L_2B09B13B: 13608 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13609 eax = 0; /* 0x2B09B13B: xor eax, eax */ 13610 _cf = 0; 13611 _flag_k = FK_TEST; 13612 L_2B09B13D: 13613 /* test LO8(ebx), 4 */ /* 0x2B09B13D: test bl, 4 */ 13614 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(4) << 24; 13615 _cf = 0; 13616 _flag_k = FK_NARROW(FK_TEST, 24); 13617 MEM32(esi + 0x70) = eax; /* 0x2B09B140: mov dword ptr [esi + 0x70], eax */ 13618 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B143: mov dword ptr [ebp - 4], 0xffffffff */ 13619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B188; /* 0x2B09B14A: je 0x2b09b188 */ 13620 L_2B09B14C: 13621 eax = MEM32(ebp + (-0x30)); /* 0x2B09B14C: mov eax, dword ptr [ebp - 0x30] */ 13622 /* test eax, eax */ /* 0x2B09B14F: test eax, eax */ 13623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13624 _cf = 0; 13625 _flag_k = FK_TEST; 13626 MEM32(ebp + (-0x4)) = 0xDu; /* 0x2B09B151: mov dword ptr [ebp - 4], 0xd */ 13627 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B176; /* 0x2B09B158: je 0x2b09b176 */ 13628 L_2B09B15A: 13629 edi = MEM32(eax + 0x2C); /* 0x2B09B15A: mov edi, dword ptr [eax + 0x2c] */ 13630 ecx = eax; /* 0x2B09B15D: mov ecx, eax */ 13631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13633 eax = eax + 0x2Cu; /* 0x2B09B15F: add eax, 0x2c */ 13634 _flag_k = FK_ADD; 13635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 13636 edi = edi - 1; /* 0x2B09B162: dec edi */ 13637 _flag_k = FK_DEC; 13638 edx = edi; /* 0x2B09B163: mov edx, edi */ 13639 /* test edx, edx */ /* 0x2B09B165: test edx, edx */ 13640 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 13641 _cf = 0; 13642 _flag_k = FK_TEST; 13643 MEM32(eax) = edi; /* 0x2B09B167: mov dword ptr [eax], edi */ 13644 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B176; /* 0x2B09B169: jne 0x2b09b176 */ 13645 L_2B09B16B: 13646 /* test ecx, ecx */ /* 0x2B09B16B: test ecx, ecx */ 13647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13648 _cf = 0; 13649 _flag_k = FK_TEST; 13650 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B176; /* 0x2B09B16D: je 0x2b09b176 */ 13651 L_2B09B16F: 13652 PUSH32(esp, 1); /* 0x2B09B16F: push 1 */ 13653 RECOMP_ICALL(0x2B007900u); /* 0x2B09B171: call 0x2b007900 */ /* not lifted */ 13654 RECOMP_FLAGS_IN(); 13655 L_2B09B176: 13656 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B176: mov dword ptr [ebp - 4], 0xffffffff */ 13657 PUSH32(esp, 1); /* 0x2B09B17D: push 1 */ 13658 ecx = ebp + (-0x40); /* 0x2B09B17F: lea ecx, [ebp - 0x40] */ 13659 L_2B09B182: 13660 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B182: call dword ptr [0x2b0b514c] */ 13661 RECOMP_FLAGS_IN(); 13662 L_2B09B188: 13663 eax = MEM32(esi + 0x70); /* 0x2B09B188: mov eax, dword ptr [esi + 0x70] */ 13664 ecx = MEM32(eax + 0x4); /* 0x2B09B18B: mov ecx, dword ptr [eax + 4] */ 13665 PUSH32(esp, 0x00BBBBBBu); /* 0x2B09B18E: push 0xbbbbbb */ 13666 RECOMP_ICALL(MEM32(0x2B0B5B48)); /* 0x2B09B193: call dword ptr [0x2b0b5b48] */ 13667 RECOMP_FLAGS_IN(); 13668 ecx = esi; /* 0x2B09B199: mov ecx, esi */ 13669 RECOMP_ICALL(0x2B09A5D0u); /* 0x2B09B19B: call 0x2b09a5d0 */ /* not lifted */ 13670 RECOMP_FLAGS_IN(); 13671 ecx = MEM32(esi + 0x44); /* 0x2B09B1A0: mov ecx, dword ptr [esi + 0x44] */ 13672 /* test ecx, ecx */ /* 0x2B09B1A3: test ecx, ecx */ 13673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13674 _cf = 0; 13675 _flag_k = FK_TEST; 13676 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B1AD; /* 0x2B09B1A5: je 0x2b09b1ad */ 13677 L_2B09B1A7: 13678 edx = MEM32(ecx); /* 0x2B09B1A7: mov edx, dword ptr [ecx] */ 13679 PUSH32(esp, 1); /* 0x2B09B1A9: push 1 */ 13680 RECOMP_ICALL(MEM32(edx)); /* 0x2B09B1AB: call dword ptr [edx] */ 13681 RECOMP_FLAGS_IN(); 13682 L_2B09B1AD: 13683 edx = MEM32(esi); /* 0x2B09B1AD: mov edx, dword ptr [esi] */ 13684 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13685 eax = 0; /* 0x2B09B1AF: xor eax, eax */ 13686 _cf = 0; 13687 _flag_k = FK_TEST; 13688 ecx = 0xAu; /* 0x2B09B1B1: mov ecx, 0xa */ 13689 edi = ebp + (-0x68); /* 0x2B09B1B6: lea edi, [ebp - 0x68] */ 13690 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09B1B9: 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; } 13691 ecx = MEM32(esi + 0x88); /* 0x2B09B1BB: mov ecx, dword ptr [esi + 0x88] */ 13692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 13693 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13694 ecx = ecx + 2; /* 0x2B09B1C1: add ecx, 2 */ 13695 _flag_k = FK_ADD; 13696 eax = 0x30u; /* 0x2B09B1C4: mov eax, 0x30 */ 13697 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B09B1C9: mov dword ptr [ebp - 0x5c], ecx */ 13698 ecx = MEM32(esi + 0x4); /* 0x2B09B1CC: mov ecx, dword ptr [esi + 4] */ 13699 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13700 ebx = 0; /* 0x2B09B1CF: xor ebx, ebx */ 13701 _cf = 0; 13702 _flag_k = FK_TEST; 13703 PUSH32(esp, 0xB0u); /* 0x2B09B1D1: push 0xb0 */ 13704 MEM32(ebp + (-0x60)) = ebx; /* 0x2B09B1D6: mov dword ptr [ebp - 0x60], ebx */ 13705 MEM32(ebp + (-0x4C)) = eax; /* 0x2B09B1D9: mov dword ptr [ebp - 0x4c], eax */ 13706 MEM32(ebp + (-0x68)) = edx; /* 0x2B09B1DC: mov dword ptr [ebp - 0x68], edx */ 13707 MEM32(ebp + (-0x64)) = ecx; /* 0x2B09B1DF: mov dword ptr [ebp - 0x64], ecx */ 13708 MEM32(ebp + (-0x44)) = eax; /* 0x2B09B1E2: mov dword ptr [ebp - 0x44], eax */ 13709 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B1E5: call 0x2b0ab212 */ /* not lifted */ 13710 RECOMP_FLAGS_IN(); 13711 edi = eax; /* 0x2B09B1EA: mov edi, eax */ 13712 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13713 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13714 esp = esp + 4; /* 0x2B09B1EC: add esp, 4 */ 13715 _flag_k = FK_ADD; 13716 MEM32(ebp + (-0x18)) = edi; /* 0x2B09B1EF: mov dword ptr [ebp - 0x18], edi */ 13717 /* cmp edi, ebx */ /* 0x2B09B1F2: cmp edi, ebx */ 13718 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13720 _flag_k = FK_CMP; 13721 MEM32(ebp + (-0x4)) = 0xEu; /* 0x2B09B1F4: mov dword ptr [ebp - 4], 0xe */ 13722 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B216; /* 0x2B09B1FB: je 0x2b09b216 */ 13723 L_2B09B1FD: 13724 PUSH32(esp, ebx); /* 0x2B09B1FD: push ebx */ 13725 PUSH32(esp, ebx); /* 0x2B09B1FE: push ebx */ 13726 PUSH32(esp, 1); /* 0x2B09B1FF: push 1 */ 13727 PUSH32(esp, ebx); /* 0x2B09B201: push ebx */ 13728 edx = ebp + (-0x68); /* 0x2B09B202: lea edx, [ebp - 0x68] */ 13729 PUSH32(esp, edx); /* 0x2B09B205: push edx */ 13730 ecx = edi; /* 0x2B09B206: mov ecx, edi */ 13731 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B09B208: call dword ptr [0x2b0b589c] */ 13732 RECOMP_FLAGS_IN(); 13733 MEM32(edi) = 0x2B0B6958u; /* 0x2B09B20E: mov dword ptr [edi], 0x2b0b6958 */ 13734 goto L_2B09B218; /* 0x2B09B214: jmp 0x2b09b218 */ 13735 L_2B09B216: 13736 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13737 edi = 0; /* 0x2B09B216: xor edi, edi */ 13738 _cf = 0; 13739 _flag_k = FK_TEST; 13740 L_2B09B218: 13741 MEM32(esi + 0x44) = edi; /* 0x2B09B218: mov dword ptr [esi + 0x44], edi */ 13742 MEM8(edi + 0x24) = (uint8_t)(0); /* 0x2B09B21B: mov byte ptr [edi + 0x24], 0 */ 13743 eax = MEM32(esi + 0x44); /* 0x2B09B21F: mov eax, dword ptr [esi + 0x44] */ 13744 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B09B222: mov byte ptr [eax + 8], 0 */ 13745 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09B226: mov al, byte ptr [ebp + 0xb] */ 13746 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13747 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09B229: or ecx, 0xffffffff */ 13748 _cf = 0; 13749 _flag_k = FK_TEST; 13750 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09B22C: mov dword ptr [ebp - 4], ecx */ 13751 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B09B22F: mov byte ptr [ebp - 0x2c], al */ 13752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13753 eax = 0; /* 0x2B09B232: xor eax, eax */ 13754 _cf = 0; 13755 _flag_k = FK_TEST; 13756 edi = 0x2B0EE648u; /* 0x2B09B234: mov edi, 0x2b0ee648 */ 13757 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; } /* 0x2B09B239: repne scasb al, byte ptr es:[edi] */ 13758 ecx = ~ecx; /* 0x2B09B23B: not ecx */ 13759 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13760 ecx = ecx - 1; /* 0x2B09B23D: dec ecx */ 13761 _flag_k = FK_DEC; 13762 PUSH32(esp, ecx); /* 0x2B09B23E: push ecx */ 13763 PUSH32(esp, 0x2B0EE648u); /* 0x2B09B23F: push 0x2b0ee648 */ 13764 ecx = ebp + (-0x2C); /* 0x2B09B244: lea ecx, [ebp - 0x2c] */ 13765 MEM32(ebp + (-0x28)) = ebx; /* 0x2B09B247: mov dword ptr [ebp - 0x28], ebx */ 13766 MEM32(ebp + (-0x24)) = ebx; /* 0x2B09B24A: mov dword ptr [ebp - 0x24], ebx */ 13767 MEM32(ebp + (-0x20)) = ebx; /* 0x2B09B24D: mov dword ptr [ebp - 0x20], ebx */ 13768 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09B250: call dword ptr [0x2b0b5148] */ 13769 RECOMP_FLAGS_IN(); 13770 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B09B256: mov dword ptr [ebp - 0x1c], ebx */ 13771 ecx = ebp + (-0x2C); /* 0x2B09B259: lea ecx, [ebp - 0x2c] */ 13772 PUSH32(esp, ecx); /* 0x2B09B25C: push ecx */ 13773 ecx = MEM32(esi + 0x5C); /* 0x2B09B25D: mov ecx, dword ptr [esi + 0x5c] */ 13774 MEM32(ebp + (-0x4)) = 0xFu; /* 0x2B09B260: mov dword ptr [ebp - 4], 0xf */ 13775 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09B267: call dword ptr [0x2b0b59d4] */ 13776 RECOMP_FLAGS_IN(); 13777 eax = MEM32(ebp + (-0x1C)); /* 0x2B09B26D: mov eax, dword ptr [ebp - 0x1c] */ 13778 /* cmp eax, ebx */ /* 0x2B09B270: cmp eax, ebx */ 13779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13781 _flag_k = FK_CMP; 13782 MEM32(ebp + (-0x4)) = 0x10u; /* 0x2B09B272: mov dword ptr [ebp - 4], 0x10 */ 13783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B279: je 0x2b09b2a0 */ 13784 L_2B09B27B: 13785 edx = MEM32(eax + 0x2C); /* 0x2B09B27B: mov edx, dword ptr [eax + 0x2c] */ 13786 edi = eax; /* 0x2B09B27E: mov edi, eax */ 13787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13789 eax = eax + 0x2Cu; /* 0x2B09B280: add eax, 0x2c */ 13790 _flag_k = FK_ADD; 13791 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 13792 edx = edx - 1; /* 0x2B09B283: dec edx */ 13793 _flag_k = FK_DEC; 13794 ecx = edx; /* 0x2B09B284: mov ecx, edx */ 13795 /* cmp ecx, ebx */ /* 0x2B09B286: cmp ecx, ebx */ 13796 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13798 _flag_k = FK_CMP; 13799 MEM32(eax) = edx; /* 0x2B09B288: mov dword ptr [eax], edx */ 13800 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28A: jne 0x2b09b2a0 */ 13801 L_2B09B28C: 13802 /* cmp edi, ebx */ /* 0x2B09B28C: cmp edi, ebx */ 13803 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13805 _flag_k = FK_CMP; 13806 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28E: je 0x2b09b2a0 */ 13807 L_2B09B290: 13808 ecx = edi; /* 0x2B09B290: mov ecx, edi */ 13809 RECOMP_ICALL(0x2B005B40u); /* 0x2B09B292: call 0x2b005b40 */ /* not lifted */ 13810 RECOMP_FLAGS_IN(); 13811 PUSH32(esp, edi); /* 0x2B09B297: push edi */ 13812 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B298: call 0x2b0ab1ba */ /* not lifted */ 13813 RECOMP_FLAGS_IN(); 13814 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13815 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13816 esp = esp + 4; /* 0x2B09B29D: add esp, 4 */ 13817 _flag_k = FK_ADD; 13818 L_2B09B2A0: 13819 PUSH32(esp, 1); /* 0x2B09B2A0: push 1 */ 13820 ecx = ebp + (-0x2C); /* 0x2B09B2A2: lea ecx, [ebp - 0x2c] */ 13821 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B2A5: mov dword ptr [ebp - 4], 0xffffffff */ 13822 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B2AC: call dword ptr [0x2b0b514c] */ 13823 RECOMP_FLAGS_IN(); 13824 PUSH32(esp, esi); /* 0x2B09B2B2: push esi */ 13825 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09B2B3: call dword ptr [0x2b0b5d6c] */ 13826 RECOMP_FLAGS_IN(); 13827 ecx = eax; /* 0x2B09B2B9: mov ecx, eax */ 13828 RECOMP_ICALL(MEM32(0x2B0B5D04)); /* 0x2B09B2BB: call dword ptr [0x2b0b5d04] */ 13829 RECOMP_FLAGS_IN(); 13830 edx = MEM32(ebp + 0x8); /* 0x2B09B2C1: mov edx, dword ptr [ebp + 8] */ 13831 PUSH32(esp, edx); /* 0x2B09B2C4: push edx */ 13832 PUSH32(esp, 0x105u); /* 0x2B09B2C5: push 0x105 */ 13833 PUSH32(esp, 0xEu); /* 0x2B09B2CA: push 0xe */ 13834 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B2CC: call dword ptr [0x2b0b53cc] */ 13835 RECOMP_FLAGS_IN(); 13836 ecx = eax; /* 0x2B09B2D2: mov ecx, eax */ 13837 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B09B2D4: call dword ptr [0x2b0b5380] */ 13838 RECOMP_FLAGS_IN(); 13839 eax = esi + 0x78; /* 0x2B09B2DA: lea eax, [esi + 0x78] */ 13840 PUSH32(esp, eax); /* 0x2B09B2DD: push eax */ 13841 ecx = esi; /* 0x2B09B2DE: mov ecx, esi */ 13842 RECOMP_ICALL(0x2B09A630u); /* 0x2B09B2E0: call 0x2b09a630 */ /* not lifted */ 13843 RECOMP_FLAGS_IN(); 13844 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B2E5: mov ecx, dword ptr [ebp - 0xc] */ 13845 edi = POP32_VAL(esp); /* 0x2B09B2E8: pop edi */ 13846 esi = POP32_VAL(esp); /* 0x2B09B2E9: pop esi */ 13847 ebx = POP32_VAL(esp); /* 0x2B09B2EA: pop ebx */ 13848 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B2EB: mov dword ptr fs:[0], ecx */ 13849 esp = ebp; /* 0x2B09B2F2: mov esp, ebp */ 13850 ebp = POP32_VAL(esp); /* 0x2B09B2F4: pop ebp */ 13851 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09B2F5: ret 4 */ 13852 RECOMP_REGS_OUT(); 13853 } 13854 13855 void sub_2B09B182(void) { 13856 int _fpu_cmp = 0; 13857 uint32_t _cf = 0; 13858 int _df = 1; 13859 uint32_t _flag_k = FK_NONE; 13860 uint32_t _flag_a = 0, _flag_b = 0; 13861 uint32_t _itail_tgt = 0; 13862 RECOMP_REGS_LOCALS 13863 RECOMP_ENTER(0x2B09B182u); 13864 13865 L_2B09B182: 13866 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B182: call dword ptr [0x2b0b514c] */ 13867 RECOMP_FLAGS_IN(); 13868 eax = MEM32(esi + 0x70); /* 0x2B09B188: mov eax, dword ptr [esi + 0x70] */ 13869 ecx = MEM32(eax + 0x4); /* 0x2B09B18B: mov ecx, dword ptr [eax + 4] */ 13870 PUSH32(esp, 0x00BBBBBBu); /* 0x2B09B18E: push 0xbbbbbb */ 13871 RECOMP_ICALL(MEM32(0x2B0B5B48)); /* 0x2B09B193: call dword ptr [0x2b0b5b48] */ 13872 RECOMP_FLAGS_IN(); 13873 ecx = esi; /* 0x2B09B199: mov ecx, esi */ 13874 RECOMP_ICALL(0x2B09A5D0u); /* 0x2B09B19B: call 0x2b09a5d0 */ /* not lifted */ 13875 RECOMP_FLAGS_IN(); 13876 ecx = MEM32(esi + 0x44); /* 0x2B09B1A0: mov ecx, dword ptr [esi + 0x44] */ 13877 /* test ecx, ecx */ /* 0x2B09B1A3: test ecx, ecx */ 13878 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13879 _cf = 0; 13880 _flag_k = FK_TEST; 13881 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B1AD; /* 0x2B09B1A5: je 0x2b09b1ad */ 13882 L_2B09B1A7: 13883 edx = MEM32(ecx); /* 0x2B09B1A7: mov edx, dword ptr [ecx] */ 13884 PUSH32(esp, 1); /* 0x2B09B1A9: push 1 */ 13885 RECOMP_ICALL(MEM32(edx)); /* 0x2B09B1AB: call dword ptr [edx] */ 13886 RECOMP_FLAGS_IN(); 13887 L_2B09B1AD: 13888 edx = MEM32(esi); /* 0x2B09B1AD: mov edx, dword ptr [esi] */ 13889 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13890 eax = 0; /* 0x2B09B1AF: xor eax, eax */ 13891 _cf = 0; 13892 _flag_k = FK_TEST; 13893 ecx = 0xAu; /* 0x2B09B1B1: mov ecx, 0xa */ 13894 edi = ebp + (-0x68); /* 0x2B09B1B6: lea edi, [ebp - 0x68] */ 13895 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09B1B9: 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; } 13896 ecx = MEM32(esi + 0x88); /* 0x2B09B1BB: mov ecx, dword ptr [esi + 0x88] */ 13897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 13898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13899 ecx = ecx + 2; /* 0x2B09B1C1: add ecx, 2 */ 13900 _flag_k = FK_ADD; 13901 eax = 0x30u; /* 0x2B09B1C4: mov eax, 0x30 */ 13902 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B09B1C9: mov dword ptr [ebp - 0x5c], ecx */ 13903 ecx = MEM32(esi + 0x4); /* 0x2B09B1CC: mov ecx, dword ptr [esi + 4] */ 13904 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13905 ebx = 0; /* 0x2B09B1CF: xor ebx, ebx */ 13906 _cf = 0; 13907 _flag_k = FK_TEST; 13908 PUSH32(esp, 0xB0u); /* 0x2B09B1D1: push 0xb0 */ 13909 MEM32(ebp + (-0x60)) = ebx; /* 0x2B09B1D6: mov dword ptr [ebp - 0x60], ebx */ 13910 MEM32(ebp + (-0x4C)) = eax; /* 0x2B09B1D9: mov dword ptr [ebp - 0x4c], eax */ 13911 MEM32(ebp + (-0x68)) = edx; /* 0x2B09B1DC: mov dword ptr [ebp - 0x68], edx */ 13912 MEM32(ebp + (-0x64)) = ecx; /* 0x2B09B1DF: mov dword ptr [ebp - 0x64], ecx */ 13913 MEM32(ebp + (-0x44)) = eax; /* 0x2B09B1E2: mov dword ptr [ebp - 0x44], eax */ 13914 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B1E5: call 0x2b0ab212 */ /* not lifted */ 13915 RECOMP_FLAGS_IN(); 13916 edi = eax; /* 0x2B09B1EA: mov edi, eax */ 13917 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13918 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13919 esp = esp + 4; /* 0x2B09B1EC: add esp, 4 */ 13920 _flag_k = FK_ADD; 13921 MEM32(ebp + (-0x18)) = edi; /* 0x2B09B1EF: mov dword ptr [ebp - 0x18], edi */ 13922 /* cmp edi, ebx */ /* 0x2B09B1F2: cmp edi, ebx */ 13923 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13925 _flag_k = FK_CMP; 13926 MEM32(ebp + (-0x4)) = 0xEu; /* 0x2B09B1F4: mov dword ptr [ebp - 4], 0xe */ 13927 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B216; /* 0x2B09B1FB: je 0x2b09b216 */ 13928 L_2B09B1FD: 13929 PUSH32(esp, ebx); /* 0x2B09B1FD: push ebx */ 13930 PUSH32(esp, ebx); /* 0x2B09B1FE: push ebx */ 13931 PUSH32(esp, 1); /* 0x2B09B1FF: push 1 */ 13932 PUSH32(esp, ebx); /* 0x2B09B201: push ebx */ 13933 edx = ebp + (-0x68); /* 0x2B09B202: lea edx, [ebp - 0x68] */ 13934 PUSH32(esp, edx); /* 0x2B09B205: push edx */ 13935 ecx = edi; /* 0x2B09B206: mov ecx, edi */ 13936 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B09B208: call dword ptr [0x2b0b589c] */ 13937 RECOMP_FLAGS_IN(); 13938 MEM32(edi) = 0x2B0B6958u; /* 0x2B09B20E: mov dword ptr [edi], 0x2b0b6958 */ 13939 goto L_2B09B218; /* 0x2B09B214: jmp 0x2b09b218 */ 13940 L_2B09B216: 13941 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13942 edi = 0; /* 0x2B09B216: xor edi, edi */ 13943 _cf = 0; 13944 _flag_k = FK_TEST; 13945 L_2B09B218: 13946 MEM32(esi + 0x44) = edi; /* 0x2B09B218: mov dword ptr [esi + 0x44], edi */ 13947 MEM8(edi + 0x24) = (uint8_t)(0); /* 0x2B09B21B: mov byte ptr [edi + 0x24], 0 */ 13948 eax = MEM32(esi + 0x44); /* 0x2B09B21F: mov eax, dword ptr [esi + 0x44] */ 13949 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B09B222: mov byte ptr [eax + 8], 0 */ 13950 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09B226: mov al, byte ptr [ebp + 0xb] */ 13951 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13952 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09B229: or ecx, 0xffffffff */ 13953 _cf = 0; 13954 _flag_k = FK_TEST; 13955 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09B22C: mov dword ptr [ebp - 4], ecx */ 13956 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B09B22F: mov byte ptr [ebp - 0x2c], al */ 13957 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13958 eax = 0; /* 0x2B09B232: xor eax, eax */ 13959 _cf = 0; 13960 _flag_k = FK_TEST; 13961 edi = 0x2B0EE648u; /* 0x2B09B234: mov edi, 0x2b0ee648 */ 13962 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; } /* 0x2B09B239: repne scasb al, byte ptr es:[edi] */ 13963 ecx = ~ecx; /* 0x2B09B23B: not ecx */ 13964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13965 ecx = ecx - 1; /* 0x2B09B23D: dec ecx */ 13966 _flag_k = FK_DEC; 13967 PUSH32(esp, ecx); /* 0x2B09B23E: push ecx */ 13968 PUSH32(esp, 0x2B0EE648u); /* 0x2B09B23F: push 0x2b0ee648 */ 13969 ecx = ebp + (-0x2C); /* 0x2B09B244: lea ecx, [ebp - 0x2c] */ 13970 MEM32(ebp + (-0x28)) = ebx; /* 0x2B09B247: mov dword ptr [ebp - 0x28], ebx */ 13971 MEM32(ebp + (-0x24)) = ebx; /* 0x2B09B24A: mov dword ptr [ebp - 0x24], ebx */ 13972 MEM32(ebp + (-0x20)) = ebx; /* 0x2B09B24D: mov dword ptr [ebp - 0x20], ebx */ 13973 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09B250: call dword ptr [0x2b0b5148] */ 13974 RECOMP_FLAGS_IN(); 13975 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B09B256: mov dword ptr [ebp - 0x1c], ebx */ 13976 ecx = ebp + (-0x2C); /* 0x2B09B259: lea ecx, [ebp - 0x2c] */ 13977 PUSH32(esp, ecx); /* 0x2B09B25C: push ecx */ 13978 ecx = MEM32(esi + 0x5C); /* 0x2B09B25D: mov ecx, dword ptr [esi + 0x5c] */ 13979 MEM32(ebp + (-0x4)) = 0xFu; /* 0x2B09B260: mov dword ptr [ebp - 4], 0xf */ 13980 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09B267: call dword ptr [0x2b0b59d4] */ 13981 RECOMP_FLAGS_IN(); 13982 eax = MEM32(ebp + (-0x1C)); /* 0x2B09B26D: mov eax, dword ptr [ebp - 0x1c] */ 13983 /* cmp eax, ebx */ /* 0x2B09B270: cmp eax, ebx */ 13984 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13986 _flag_k = FK_CMP; 13987 MEM32(ebp + (-0x4)) = 0x10u; /* 0x2B09B272: mov dword ptr [ebp - 4], 0x10 */ 13988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B279: je 0x2b09b2a0 */ 13989 L_2B09B27B: 13990 edx = MEM32(eax + 0x2C); /* 0x2B09B27B: mov edx, dword ptr [eax + 0x2c] */ 13991 edi = eax; /* 0x2B09B27E: mov edi, eax */ 13992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 13993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13994 eax = eax + 0x2Cu; /* 0x2B09B280: add eax, 0x2c */ 13995 _flag_k = FK_ADD; 13996 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 13997 edx = edx - 1; /* 0x2B09B283: dec edx */ 13998 _flag_k = FK_DEC; 13999 ecx = edx; /* 0x2B09B284: mov ecx, edx */ 14000 /* cmp ecx, ebx */ /* 0x2B09B286: cmp ecx, ebx */ 14001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14003 _flag_k = FK_CMP; 14004 MEM32(eax) = edx; /* 0x2B09B288: mov dword ptr [eax], edx */ 14005 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28A: jne 0x2b09b2a0 */ 14006 L_2B09B28C: 14007 /* cmp edi, ebx */ /* 0x2B09B28C: cmp edi, ebx */ 14008 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 14009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14010 _flag_k = FK_CMP; 14011 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28E: je 0x2b09b2a0 */ 14012 L_2B09B290: 14013 ecx = edi; /* 0x2B09B290: mov ecx, edi */ 14014 RECOMP_ICALL(0x2B005B40u); /* 0x2B09B292: call 0x2b005b40 */ /* not lifted */ 14015 RECOMP_FLAGS_IN(); 14016 PUSH32(esp, edi); /* 0x2B09B297: push edi */ 14017 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B298: call 0x2b0ab1ba */ /* not lifted */ 14018 RECOMP_FLAGS_IN(); 14019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14021 esp = esp + 4; /* 0x2B09B29D: add esp, 4 */ 14022 _flag_k = FK_ADD; 14023 L_2B09B2A0: 14024 PUSH32(esp, 1); /* 0x2B09B2A0: push 1 */ 14025 ecx = ebp + (-0x2C); /* 0x2B09B2A2: lea ecx, [ebp - 0x2c] */ 14026 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B2A5: mov dword ptr [ebp - 4], 0xffffffff */ 14027 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B2AC: call dword ptr [0x2b0b514c] */ 14028 RECOMP_FLAGS_IN(); 14029 PUSH32(esp, esi); /* 0x2B09B2B2: push esi */ 14030 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09B2B3: call dword ptr [0x2b0b5d6c] */ 14031 RECOMP_FLAGS_IN(); 14032 ecx = eax; /* 0x2B09B2B9: mov ecx, eax */ 14033 RECOMP_ICALL(MEM32(0x2B0B5D04)); /* 0x2B09B2BB: call dword ptr [0x2b0b5d04] */ 14034 RECOMP_FLAGS_IN(); 14035 edx = MEM32(ebp + 0x8); /* 0x2B09B2C1: mov edx, dword ptr [ebp + 8] */ 14036 PUSH32(esp, edx); /* 0x2B09B2C4: push edx */ 14037 PUSH32(esp, 0x105u); /* 0x2B09B2C5: push 0x105 */ 14038 PUSH32(esp, 0xEu); /* 0x2B09B2CA: push 0xe */ 14039 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B2CC: call dword ptr [0x2b0b53cc] */ 14040 RECOMP_FLAGS_IN(); 14041 ecx = eax; /* 0x2B09B2D2: mov ecx, eax */ 14042 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B09B2D4: call dword ptr [0x2b0b5380] */ 14043 RECOMP_FLAGS_IN(); 14044 eax = esi + 0x78; /* 0x2B09B2DA: lea eax, [esi + 0x78] */ 14045 PUSH32(esp, eax); /* 0x2B09B2DD: push eax */ 14046 ecx = esi; /* 0x2B09B2DE: mov ecx, esi */ 14047 RECOMP_ICALL(0x2B09A630u); /* 0x2B09B2E0: call 0x2b09a630 */ /* not lifted */ 14048 RECOMP_FLAGS_IN(); 14049 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B2E5: mov ecx, dword ptr [ebp - 0xc] */ 14050 edi = POP32_VAL(esp); /* 0x2B09B2E8: pop edi */ 14051 esi = POP32_VAL(esp); /* 0x2B09B2E9: pop esi */ 14052 ebx = POP32_VAL(esp); /* 0x2B09B2EA: pop ebx */ 14053 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B2EB: mov dword ptr fs:[0], ecx */ 14054 esp = ebp; /* 0x2B09B2F2: mov esp, ebp */ 14055 ebp = POP32_VAL(esp); /* 0x2B09B2F4: pop ebp */ 14056 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09B2F5: ret 4 */ 14057 RECOMP_REGS_OUT(); 14058 } 14059 14060 void sub_2B09B218(void) { 14061 int _fpu_cmp = 0; 14062 uint32_t _cf = 0; 14063 int _df = 1; 14064 uint32_t _flag_k = FK_NONE; 14065 uint32_t _flag_a = 0, _flag_b = 0; 14066 uint32_t _itail_tgt = 0; 14067 RECOMP_REGS_LOCALS 14068 RECOMP_ENTER(0x2B09B218u); 14069 14070 L_2B09B218: 14071 MEM32(esi + 0x44) = edi; /* 0x2B09B218: mov dword ptr [esi + 0x44], edi */ 14072 MEM8(edi + 0x24) = (uint8_t)(0); /* 0x2B09B21B: mov byte ptr [edi + 0x24], 0 */ 14073 eax = MEM32(esi + 0x44); /* 0x2B09B21F: mov eax, dword ptr [esi + 0x44] */ 14074 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B09B222: mov byte ptr [eax + 8], 0 */ 14075 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B09B226: mov al, byte ptr [ebp + 0xb] */ 14076 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14077 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09B229: or ecx, 0xffffffff */ 14078 _cf = 0; 14079 _flag_k = FK_TEST; 14080 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09B22C: mov dword ptr [ebp - 4], ecx */ 14081 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B09B22F: mov byte ptr [ebp - 0x2c], al */ 14082 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14083 eax = 0; /* 0x2B09B232: xor eax, eax */ 14084 _cf = 0; 14085 _flag_k = FK_TEST; 14086 edi = 0x2B0EE648u; /* 0x2B09B234: mov edi, 0x2b0ee648 */ 14087 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; } /* 0x2B09B239: repne scasb al, byte ptr es:[edi] */ 14088 ecx = ~ecx; /* 0x2B09B23B: not ecx */ 14089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14090 ecx = ecx - 1; /* 0x2B09B23D: dec ecx */ 14091 _flag_k = FK_DEC; 14092 PUSH32(esp, ecx); /* 0x2B09B23E: push ecx */ 14093 PUSH32(esp, 0x2B0EE648u); /* 0x2B09B23F: push 0x2b0ee648 */ 14094 ecx = ebp + (-0x2C); /* 0x2B09B244: lea ecx, [ebp - 0x2c] */ 14095 MEM32(ebp + (-0x28)) = ebx; /* 0x2B09B247: mov dword ptr [ebp - 0x28], ebx */ 14096 MEM32(ebp + (-0x24)) = ebx; /* 0x2B09B24A: mov dword ptr [ebp - 0x24], ebx */ 14097 MEM32(ebp + (-0x20)) = ebx; /* 0x2B09B24D: mov dword ptr [ebp - 0x20], ebx */ 14098 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B09B250: call dword ptr [0x2b0b5148] */ 14099 RECOMP_FLAGS_IN(); 14100 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B09B256: mov dword ptr [ebp - 0x1c], ebx */ 14101 ecx = ebp + (-0x2C); /* 0x2B09B259: lea ecx, [ebp - 0x2c] */ 14102 PUSH32(esp, ecx); /* 0x2B09B25C: push ecx */ 14103 ecx = MEM32(esi + 0x5C); /* 0x2B09B25D: mov ecx, dword ptr [esi + 0x5c] */ 14104 MEM32(ebp + (-0x4)) = 0xFu; /* 0x2B09B260: mov dword ptr [ebp - 4], 0xf */ 14105 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09B267: call dword ptr [0x2b0b59d4] */ 14106 RECOMP_FLAGS_IN(); 14107 eax = MEM32(ebp + (-0x1C)); /* 0x2B09B26D: mov eax, dword ptr [ebp - 0x1c] */ 14108 /* cmp eax, ebx */ /* 0x2B09B270: cmp eax, ebx */ 14109 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14111 _flag_k = FK_CMP; 14112 MEM32(ebp + (-0x4)) = 0x10u; /* 0x2B09B272: mov dword ptr [ebp - 4], 0x10 */ 14113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B279: je 0x2b09b2a0 */ 14114 L_2B09B27B: 14115 edx = MEM32(eax + 0x2C); /* 0x2B09B27B: mov edx, dword ptr [eax + 0x2c] */ 14116 edi = eax; /* 0x2B09B27E: mov edi, eax */ 14117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 14118 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14119 eax = eax + 0x2Cu; /* 0x2B09B280: add eax, 0x2c */ 14120 _flag_k = FK_ADD; 14121 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14122 edx = edx - 1; /* 0x2B09B283: dec edx */ 14123 _flag_k = FK_DEC; 14124 ecx = edx; /* 0x2B09B284: mov ecx, edx */ 14125 /* cmp ecx, ebx */ /* 0x2B09B286: cmp ecx, ebx */ 14126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14128 _flag_k = FK_CMP; 14129 MEM32(eax) = edx; /* 0x2B09B288: mov dword ptr [eax], edx */ 14130 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28A: jne 0x2b09b2a0 */ 14131 L_2B09B28C: 14132 /* cmp edi, ebx */ /* 0x2B09B28C: cmp edi, ebx */ 14133 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 14134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14135 _flag_k = FK_CMP; 14136 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B2A0; /* 0x2B09B28E: je 0x2b09b2a0 */ 14137 L_2B09B290: 14138 ecx = edi; /* 0x2B09B290: mov ecx, edi */ 14139 RECOMP_ICALL(0x2B005B40u); /* 0x2B09B292: call 0x2b005b40 */ /* not lifted */ 14140 RECOMP_FLAGS_IN(); 14141 PUSH32(esp, edi); /* 0x2B09B297: push edi */ 14142 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B298: call 0x2b0ab1ba */ /* not lifted */ 14143 RECOMP_FLAGS_IN(); 14144 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14146 esp = esp + 4; /* 0x2B09B29D: add esp, 4 */ 14147 _flag_k = FK_ADD; 14148 L_2B09B2A0: 14149 PUSH32(esp, 1); /* 0x2B09B2A0: push 1 */ 14150 ecx = ebp + (-0x2C); /* 0x2B09B2A2: lea ecx, [ebp - 0x2c] */ 14151 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B2A5: mov dword ptr [ebp - 4], 0xffffffff */ 14152 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09B2AC: call dword ptr [0x2b0b514c] */ 14153 RECOMP_FLAGS_IN(); 14154 PUSH32(esp, esi); /* 0x2B09B2B2: push esi */ 14155 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09B2B3: call dword ptr [0x2b0b5d6c] */ 14156 RECOMP_FLAGS_IN(); 14157 ecx = eax; /* 0x2B09B2B9: mov ecx, eax */ 14158 RECOMP_ICALL(MEM32(0x2B0B5D04)); /* 0x2B09B2BB: call dword ptr [0x2b0b5d04] */ 14159 RECOMP_FLAGS_IN(); 14160 edx = MEM32(ebp + 0x8); /* 0x2B09B2C1: mov edx, dword ptr [ebp + 8] */ 14161 PUSH32(esp, edx); /* 0x2B09B2C4: push edx */ 14162 PUSH32(esp, 0x105u); /* 0x2B09B2C5: push 0x105 */ 14163 PUSH32(esp, 0xEu); /* 0x2B09B2CA: push 0xe */ 14164 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B2CC: call dword ptr [0x2b0b53cc] */ 14165 RECOMP_FLAGS_IN(); 14166 ecx = eax; /* 0x2B09B2D2: mov ecx, eax */ 14167 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B09B2D4: call dword ptr [0x2b0b5380] */ 14168 RECOMP_FLAGS_IN(); 14169 eax = esi + 0x78; /* 0x2B09B2DA: lea eax, [esi + 0x78] */ 14170 PUSH32(esp, eax); /* 0x2B09B2DD: push eax */ 14171 ecx = esi; /* 0x2B09B2DE: mov ecx, esi */ 14172 RECOMP_ICALL(0x2B09A630u); /* 0x2B09B2E0: call 0x2b09a630 */ /* not lifted */ 14173 RECOMP_FLAGS_IN(); 14174 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B2E5: mov ecx, dword ptr [ebp - 0xc] */ 14175 edi = POP32_VAL(esp); /* 0x2B09B2E8: pop edi */ 14176 esi = POP32_VAL(esp); /* 0x2B09B2E9: pop esi */ 14177 ebx = POP32_VAL(esp); /* 0x2B09B2EA: pop ebx */ 14178 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B2EB: mov dword ptr fs:[0], ecx */ 14179 esp = ebp; /* 0x2B09B2F2: mov esp, ebp */ 14180 ebp = POP32_VAL(esp); /* 0x2B09B2F4: pop ebp */ 14181 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09B2F5: ret 4 */ 14182 RECOMP_REGS_OUT(); 14183 } 14184 14185 void sub_2B09B300(void) { 14186 int _fpu_cmp = 0; 14187 uint32_t _cf = 0; 14188 int _df = 1; 14189 uint32_t _flag_k = FK_NONE; 14190 uint32_t _flag_a = 0, _flag_b = 0; 14191 uint32_t _itail_tgt = 0; 14192 RECOMP_REGS_LOCALS 14193 RECOMP_ENTER(0x2B09B300u); 14194 14195 L_2B09B300: 14196 PUSH32(esp, ebp); /* 0x2B09B300: push ebp */ 14197 ebp = esp; /* 0x2B09B301: mov ebp, esp */ 14198 PUSH32(esp, ecx); /* 0x2B09B303: push ecx */ 14199 PUSH32(esp, ebx); /* 0x2B09B304: push ebx */ 14200 ebx = ecx; /* 0x2B09B305: mov ebx, ecx */ 14201 eax = MEM32(ebx + 0x4); /* 0x2B09B307: mov eax, dword ptr [ebx + 4] */ 14202 PUSH32(esp, edi); /* 0x2B09B30A: push edi */ 14203 edi = MEM32(eax); /* 0x2B09B30B: mov edi, dword ptr [eax] */ 14204 /* cmp edi, eax */ /* 0x2B09B30D: cmp edi, eax */ 14205 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14207 _flag_k = FK_CMP; 14208 MEM32(ebp + (-0x4)) = eax; /* 0x2B09B30F: mov dword ptr [ebp - 4], eax */ 14209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B348; /* 0x2B09B312: je 0x2b09b348 */ 14210 L_2B09B314: 14211 PUSH32(esp, esi); /* 0x2B09B314: push esi */ 14212 L_2B09B315: 14213 esi = edi; /* 0x2B09B315: mov esi, edi */ 14214 eax = MEM32(esi + 0x4); /* 0x2B09B317: mov eax, dword ptr [esi + 4] */ 14215 ecx = MEM32(esi); /* 0x2B09B31A: mov ecx, dword ptr [esi] */ 14216 edi = MEM32(edi); /* 0x2B09B31C: mov edi, dword ptr [edi] */ 14217 MEM32(eax) = ecx; /* 0x2B09B31E: mov dword ptr [eax], ecx */ 14218 edx = MEM32(esi); /* 0x2B09B320: mov edx, dword ptr [esi] */ 14219 eax = MEM32(esi + 0x4); /* 0x2B09B322: mov eax, dword ptr [esi + 4] */ 14220 ecx = esi + 0x8; /* 0x2B09B325: lea ecx, [esi + 8] */ 14221 MEM32(edx + 0x4) = eax; /* 0x2B09B328: mov dword ptr [edx + 4], eax */ 14222 RECOMP_ICALL(0x2B099770u); /* 0x2B09B32B: call 0x2b099770 */ /* not lifted */ 14223 RECOMP_FLAGS_IN(); 14224 PUSH32(esp, esi); /* 0x2B09B330: push esi */ 14225 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B331: call 0x2b0ab1ba */ /* not lifted */ 14226 RECOMP_FLAGS_IN(); 14227 ecx = MEM32(ebx + 0x8); /* 0x2B09B336: mov ecx, dword ptr [ebx + 8] */ 14228 eax = MEM32(ebp + (-0x4)); /* 0x2B09B339: mov eax, dword ptr [ebp - 4] */ 14229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14231 esp = esp + 4; /* 0x2B09B33C: add esp, 4 */ 14232 _flag_k = FK_ADD; 14233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14234 ecx = ecx - 1; /* 0x2B09B33F: dec ecx */ 14235 _flag_k = FK_DEC; 14236 /* cmp edi, eax */ /* 0x2B09B340: cmp edi, eax */ 14237 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14239 _flag_k = FK_CMP; 14240 MEM32(ebx + 0x8) = ecx; /* 0x2B09B342: mov dword ptr [ebx + 8], ecx */ 14241 RECOMP_BACKEDGE(); 14242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B315; /* 0x2B09B345: jne 0x2b09b315 */ 14243 L_2B09B347: 14244 esi = POP32_VAL(esp); /* 0x2B09B347: pop esi */ 14245 L_2B09B348: 14246 ecx = MEM32(ebx + 0x4); /* 0x2B09B348: mov ecx, dword ptr [ebx + 4] */ 14247 PUSH32(esp, ecx); /* 0x2B09B34B: push ecx */ 14248 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B34C: call 0x2b0ab1ba */ /* not lifted */ 14249 RECOMP_FLAGS_IN(); 14250 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14252 esp = esp + 4; /* 0x2B09B351: add esp, 4 */ 14253 _flag_k = FK_ADD; 14254 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14255 eax = 0; /* 0x2B09B354: xor eax, eax */ 14256 _cf = 0; 14257 _flag_k = FK_TEST; 14258 edi = POP32_VAL(esp); /* 0x2B09B356: pop edi */ 14259 MEM32(ebx + 0x4) = eax; /* 0x2B09B357: mov dword ptr [ebx + 4], eax */ 14260 MEM32(ebx + 0x8) = eax; /* 0x2B09B35A: mov dword ptr [ebx + 8], eax */ 14261 ebx = POP32_VAL(esp); /* 0x2B09B35D: pop ebx */ 14262 esp = ebp; /* 0x2B09B35E: mov esp, ebp */ 14263 ebp = POP32_VAL(esp); /* 0x2B09B360: pop ebp */ 14264 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B361: ret */ 14265 RECOMP_REGS_OUT(); 14266 } 14267 14268 void sub_2B09B370(void) { 14269 int _fpu_cmp = 0; 14270 uint32_t _cf = 0; 14271 int _df = 1; 14272 uint32_t _flag_k = FK_NONE; 14273 uint32_t _flag_a = 0, _flag_b = 0; 14274 uint32_t _itail_tgt = 0; 14275 RECOMP_REGS_LOCALS 14276 RECOMP_ENTER(0x2B09B370u); 14277 14278 L_2B09B370: 14279 PUSH32(esp, ebp); /* 0x2B09B370: push ebp */ 14280 ebp = esp; /* 0x2B09B371: mov ebp, esp */ 14281 PUSH32(esp, ebx); /* 0x2B09B373: push ebx */ 14282 PUSH32(esp, esi); /* 0x2B09B374: push esi */ 14283 PUSH32(esp, edi); /* 0x2B09B375: push edi */ 14284 edi = ecx; /* 0x2B09B376: mov edi, ecx */ 14285 esi = MEM32(edi + 0x4); /* 0x2B09B378: mov esi, dword ptr [edi + 4] */ 14286 ebx = MEM32(esi + 0x4); /* 0x2B09B37B: mov ebx, dword ptr [esi + 4] */ 14287 PUSH32(esp, 0x2Cu); /* 0x2B09B37E: push 0x2c */ 14288 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B380: call 0x2b0ab212 */ /* not lifted */ 14289 RECOMP_FLAGS_IN(); 14290 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14292 esp = esp + 4; /* 0x2B09B385: add esp, 4 */ 14293 _flag_k = FK_ADD; 14294 /* test esi, esi */ /* 0x2B09B388: test esi, esi */ 14295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14296 _cf = 0; 14297 _flag_k = FK_TEST; 14298 ecx = esi; /* 0x2B09B38A: mov ecx, esi */ 14299 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B390; /* 0x2B09B38C: jne 0x2b09b390 */ 14300 L_2B09B38E: 14301 ecx = eax; /* 0x2B09B38E: mov ecx, eax */ 14302 L_2B09B390: 14303 /* test ebx, ebx */ /* 0x2B09B390: test ebx, ebx */ 14304 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 14305 _cf = 0; 14306 _flag_k = FK_TEST; 14307 MEM32(eax) = ecx; /* 0x2B09B392: mov dword ptr [eax], ecx */ 14308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B398; /* 0x2B09B394: jne 0x2b09b398 */ 14309 L_2B09B396: 14310 ebx = eax; /* 0x2B09B396: mov ebx, eax */ 14311 L_2B09B398: 14312 edx = MEM32(ebp + 0x8); /* 0x2B09B398: mov edx, dword ptr [ebp + 8] */ 14313 MEM32(eax + 0x4) = ebx; /* 0x2B09B39B: mov dword ptr [eax + 4], ebx */ 14314 MEM32(esi + 0x4) = eax; /* 0x2B09B39E: mov dword ptr [esi + 4], eax */ 14315 ecx = MEM32(eax + 0x4); /* 0x2B09B3A1: mov ecx, dword ptr [eax + 4] */ 14316 MEM32(ecx) = eax; /* 0x2B09B3A4: mov dword ptr [ecx], eax */ 14317 PUSH32(esp, edx); /* 0x2B09B3A6: push edx */ 14318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 14319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14320 eax = eax + 8; /* 0x2B09B3A7: add eax, 8 */ 14321 _flag_k = FK_ADD; 14322 PUSH32(esp, eax); /* 0x2B09B3AA: push eax */ 14323 RECOMP_ICALL(0x2B09B500u); /* 0x2B09B3AB: call 0x2b09b500 */ /* not lifted */ 14324 RECOMP_FLAGS_IN(); 14325 eax = MEM32(edi + 0x8); /* 0x2B09B3B0: mov eax, dword ptr [edi + 8] */ 14326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14328 esp = esp + 8; /* 0x2B09B3B3: add esp, 8 */ 14329 _flag_k = FK_ADD; 14330 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14331 eax = eax + 1; /* 0x2B09B3B6: inc eax */ 14332 _flag_k = FK_INC; 14333 MEM32(edi + 0x8) = eax; /* 0x2B09B3B7: mov dword ptr [edi + 8], eax */ 14334 edi = POP32_VAL(esp); /* 0x2B09B3BA: pop edi */ 14335 esi = POP32_VAL(esp); /* 0x2B09B3BB: pop esi */ 14336 ebx = POP32_VAL(esp); /* 0x2B09B3BC: pop ebx */ 14337 ebp = POP32_VAL(esp); /* 0x2B09B3BD: pop ebp */ 14338 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09B3BE: ret 4 */ 14339 RECOMP_REGS_OUT(); 14340 } 14341 14342 void sub_2B09B3D0(void) { 14343 int _fpu_cmp = 0; 14344 uint32_t _cf = 0; 14345 int _df = 1; 14346 uint32_t _flag_k = FK_NONE; 14347 uint32_t _flag_a = 0, _flag_b = 0; 14348 uint32_t _itail_tgt = 0; 14349 RECOMP_REGS_LOCALS 14350 RECOMP_ENTER(0x2B09B3D0u); 14351 14352 L_2B09B3D0: 14353 PUSH32(esp, ebp); /* 0x2B09B3D0: push ebp */ 14354 ebp = esp; /* 0x2B09B3D1: mov ebp, esp */ 14355 PUSH32(esp, ebx); /* 0x2B09B3D3: push ebx */ 14356 PUSH32(esp, esi); /* 0x2B09B3D4: push esi */ 14357 PUSH32(esp, edi); /* 0x2B09B3D5: push edi */ 14358 edi = MEM32(ebp + 0xC); /* 0x2B09B3D6: mov edi, dword ptr [ebp + 0xc] */ 14359 eax = MEM32(edi + 0x4); /* 0x2B09B3D9: mov eax, dword ptr [edi + 4] */ 14360 PUSH32(esp, 0x2Cu); /* 0x2B09B3DC: push 0x2c */ 14361 ebx = ecx; /* 0x2B09B3DE: mov ebx, ecx */ 14362 MEM32(ebp + 0xC) = eax; /* 0x2B09B3E0: mov dword ptr [ebp + 0xc], eax */ 14363 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B3E3: call 0x2b0ab212 */ /* not lifted */ 14364 RECOMP_FLAGS_IN(); 14365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14367 esp = esp + 4; /* 0x2B09B3E8: add esp, 4 */ 14368 _flag_k = FK_ADD; 14369 /* test edi, edi */ /* 0x2B09B3EB: test edi, edi */ 14370 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14371 _cf = 0; 14372 _flag_k = FK_TEST; 14373 esi = eax; /* 0x2B09B3ED: mov esi, eax */ 14374 eax = edi; /* 0x2B09B3EF: mov eax, edi */ 14375 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B3F5; /* 0x2B09B3F1: jne 0x2b09b3f5 */ 14376 L_2B09B3F3: 14377 eax = esi; /* 0x2B09B3F3: mov eax, esi */ 14378 L_2B09B3F5: 14379 MEM32(esi) = eax; /* 0x2B09B3F5: mov dword ptr [esi], eax */ 14380 eax = MEM32(ebp + 0xC); /* 0x2B09B3F7: mov eax, dword ptr [ebp + 0xc] */ 14381 /* test eax, eax */ /* 0x2B09B3FA: test eax, eax */ 14382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14383 _cf = 0; 14384 _flag_k = FK_TEST; 14385 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B400; /* 0x2B09B3FC: jne 0x2b09b400 */ 14386 L_2B09B3FE: 14387 eax = esi; /* 0x2B09B3FE: mov eax, esi */ 14388 L_2B09B400: 14389 edx = MEM32(ebp + 0x10); /* 0x2B09B400: mov edx, dword ptr [ebp + 0x10] */ 14390 MEM32(esi + 0x4) = eax; /* 0x2B09B403: mov dword ptr [esi + 4], eax */ 14391 MEM32(edi + 0x4) = esi; /* 0x2B09B406: mov dword ptr [edi + 4], esi */ 14392 ecx = MEM32(esi + 0x4); /* 0x2B09B409: mov ecx, dword ptr [esi + 4] */ 14393 PUSH32(esp, edx); /* 0x2B09B40C: push edx */ 14394 eax = esi + 0x8; /* 0x2B09B40D: lea eax, [esi + 8] */ 14395 PUSH32(esp, eax); /* 0x2B09B410: push eax */ 14396 MEM32(ecx) = esi; /* 0x2B09B411: mov dword ptr [ecx], esi */ 14397 RECOMP_ICALL(0x2B09B500u); /* 0x2B09B413: call 0x2b09b500 */ /* not lifted */ 14398 RECOMP_FLAGS_IN(); 14399 eax = MEM32(ebx + 0x8); /* 0x2B09B418: mov eax, dword ptr [ebx + 8] */ 14400 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14402 esp = esp + 8; /* 0x2B09B41B: add esp, 8 */ 14403 _flag_k = FK_ADD; 14404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14405 eax = eax + 1; /* 0x2B09B41E: inc eax */ 14406 _flag_k = FK_INC; 14407 MEM32(ebx + 0x8) = eax; /* 0x2B09B41F: mov dword ptr [ebx + 8], eax */ 14408 eax = MEM32(ebp + 0x8); /* 0x2B09B422: mov eax, dword ptr [ebp + 8] */ 14409 edi = POP32_VAL(esp); /* 0x2B09B425: pop edi */ 14410 MEM32(eax) = esi; /* 0x2B09B426: mov dword ptr [eax], esi */ 14411 esi = POP32_VAL(esp); /* 0x2B09B428: pop esi */ 14412 ebx = POP32_VAL(esp); /* 0x2B09B429: pop ebx */ 14413 ebp = POP32_VAL(esp); /* 0x2B09B42A: pop ebp */ 14414 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09B42B: ret 0xc */ 14415 RECOMP_REGS_OUT(); 14416 } 14417 14418 void sub_2B09B430(void) { 14419 int _fpu_cmp = 0; 14420 uint32_t _cf = 0; 14421 int _df = 1; 14422 uint32_t _flag_k = FK_NONE; 14423 uint32_t _flag_a = 0, _flag_b = 0; 14424 uint32_t _itail_tgt = 0; 14425 RECOMP_REGS_LOCALS 14426 RECOMP_ENTER(0x2B09B430u); 14427 14428 L_2B09B430: 14429 PUSH32(esp, ebp); /* 0x2B09B430: push ebp */ 14430 ebp = esp; /* 0x2B09B431: mov ebp, esp */ 14431 eax = MEM32(ebp + 0x10); /* 0x2B09B433: mov eax, dword ptr [ebp + 0x10] */ 14432 PUSH32(esp, ebx); /* 0x2B09B436: push ebx */ 14433 PUSH32(esp, edi); /* 0x2B09B437: push edi */ 14434 edi = MEM32(ebp + 0xC); /* 0x2B09B438: mov edi, dword ptr [ebp + 0xc] */ 14435 /* cmp edi, eax */ /* 0x2B09B43B: cmp edi, eax */ 14436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14438 _flag_k = FK_CMP; 14439 ebx = ecx; /* 0x2B09B43D: mov ebx, ecx */ 14440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B480; /* 0x2B09B43F: je 0x2b09b480 */ 14441 L_2B09B441: 14442 PUSH32(esp, esi); /* 0x2B09B441: push esi */ 14443 L_2B09B442: 14444 esi = edi; /* 0x2B09B442: mov esi, edi */ 14445 eax = MEM32(esi + 0x4); /* 0x2B09B444: mov eax, dword ptr [esi + 4] */ 14446 ecx = MEM32(esi); /* 0x2B09B447: mov ecx, dword ptr [esi] */ 14447 edi = MEM32(edi); /* 0x2B09B449: mov edi, dword ptr [edi] */ 14448 MEM32(eax) = ecx; /* 0x2B09B44B: mov dword ptr [eax], ecx */ 14449 edx = MEM32(esi); /* 0x2B09B44D: mov edx, dword ptr [esi] */ 14450 eax = MEM32(esi + 0x4); /* 0x2B09B44F: mov eax, dword ptr [esi + 4] */ 14451 ecx = esi + 0x8; /* 0x2B09B452: lea ecx, [esi + 8] */ 14452 MEM32(edx + 0x4) = eax; /* 0x2B09B455: mov dword ptr [edx + 4], eax */ 14453 RECOMP_ICALL(0x2B099770u); /* 0x2B09B458: call 0x2b099770 */ /* not lifted */ 14454 RECOMP_FLAGS_IN(); 14455 PUSH32(esp, esi); /* 0x2B09B45D: push esi */ 14456 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B45E: call 0x2b0ab1ba */ /* not lifted */ 14457 RECOMP_FLAGS_IN(); 14458 ecx = MEM32(ebx + 0x8); /* 0x2B09B463: mov ecx, dword ptr [ebx + 8] */ 14459 eax = MEM32(ebp + 0x10); /* 0x2B09B466: mov eax, dword ptr [ebp + 0x10] */ 14460 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14462 esp = esp + 4; /* 0x2B09B469: add esp, 4 */ 14463 _flag_k = FK_ADD; 14464 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14465 ecx = ecx - 1; /* 0x2B09B46C: dec ecx */ 14466 _flag_k = FK_DEC; 14467 /* cmp edi, eax */ /* 0x2B09B46D: cmp edi, eax */ 14468 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14470 _flag_k = FK_CMP; 14471 MEM32(ebx + 0x8) = ecx; /* 0x2B09B46F: mov dword ptr [ebx + 8], ecx */ 14472 RECOMP_BACKEDGE(); 14473 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B442; /* 0x2B09B472: jne 0x2b09b442 */ 14474 L_2B09B474: 14475 eax = MEM32(ebp + 0x8); /* 0x2B09B474: mov eax, dword ptr [ebp + 8] */ 14476 esi = POP32_VAL(esp); /* 0x2B09B477: pop esi */ 14477 MEM32(eax) = edi; /* 0x2B09B478: mov dword ptr [eax], edi */ 14478 edi = POP32_VAL(esp); /* 0x2B09B47A: pop edi */ 14479 ebx = POP32_VAL(esp); /* 0x2B09B47B: pop ebx */ 14480 ebp = POP32_VAL(esp); /* 0x2B09B47C: pop ebp */ 14481 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09B47D: ret 0xc */ 14482 L_2B09B480: 14483 eax = MEM32(ebp + 0x8); /* 0x2B09B480: mov eax, dword ptr [ebp + 8] */ 14484 MEM32(eax) = edi; /* 0x2B09B483: mov dword ptr [eax], edi */ 14485 edi = POP32_VAL(esp); /* 0x2B09B485: pop edi */ 14486 ebx = POP32_VAL(esp); /* 0x2B09B486: pop ebx */ 14487 ebp = POP32_VAL(esp); /* 0x2B09B487: pop ebp */ 14488 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09B488: ret 0xc */ 14489 RECOMP_REGS_OUT(); 14490 } 14491 14492 void sub_2B09B490(void) { 14493 int _fpu_cmp = 0; 14494 uint32_t _cf = 0; 14495 int _df = 1; 14496 uint32_t _flag_k = FK_NONE; 14497 uint32_t _flag_a = 0, _flag_b = 0; 14498 uint32_t _itail_tgt = 0; 14499 RECOMP_REGS_LOCALS 14500 RECOMP_ENTER(0x2B09B490u); 14501 14502 L_2B09B490: 14503 PUSH32(esp, ebp); /* 0x2B09B490: push ebp */ 14504 ebp = esp; /* 0x2B09B491: mov ebp, esp */ 14505 PUSH32(esp, 0x2Cu); /* 0x2B09B493: push 0x2c */ 14506 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B495: call 0x2b0ab212 */ /* not lifted */ 14507 RECOMP_FLAGS_IN(); 14508 ecx = MEM32(ebp + 0x8); /* 0x2B09B49A: mov ecx, dword ptr [ebp + 8] */ 14509 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14510 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14511 esp = esp + 4; /* 0x2B09B49D: add esp, 4 */ 14512 _flag_k = FK_ADD; 14513 /* test ecx, ecx */ /* 0x2B09B4A0: test ecx, ecx */ 14514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14515 _cf = 0; 14516 _flag_k = FK_TEST; 14517 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B4A6; /* 0x2B09B4A2: jne 0x2b09b4a6 */ 14518 L_2B09B4A4: 14519 ecx = eax; /* 0x2B09B4A4: mov ecx, eax */ 14520 L_2B09B4A6: 14521 MEM32(eax) = ecx; /* 0x2B09B4A6: mov dword ptr [eax], ecx */ 14522 ecx = MEM32(ebp + 0xC); /* 0x2B09B4A8: mov ecx, dword ptr [ebp + 0xc] */ 14523 /* test ecx, ecx */ /* 0x2B09B4AB: test ecx, ecx */ 14524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14525 _cf = 0; 14526 _flag_k = FK_TEST; 14527 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B4B6; /* 0x2B09B4AD: je 0x2b09b4b6 */ 14528 L_2B09B4AF: 14529 MEM32(eax + 0x4) = ecx; /* 0x2B09B4AF: mov dword ptr [eax + 4], ecx */ 14530 ebp = POP32_VAL(esp); /* 0x2B09B4B2: pop ebp */ 14531 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09B4B3: ret 8 */ 14532 L_2B09B4B6: 14533 MEM32(eax + 0x4) = eax; /* 0x2B09B4B6: mov dword ptr [eax + 4], eax */ 14534 ebp = POP32_VAL(esp); /* 0x2B09B4B9: pop ebp */ 14535 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09B4BA: ret 8 */ 14536 RECOMP_REGS_OUT(); 14537 } 14538 14539 void sub_2B09B4C0(void) { 14540 int _fpu_cmp = 0; 14541 uint32_t _cf = 0; 14542 int _df = 1; 14543 uint32_t _flag_k = FK_NONE; 14544 uint32_t _flag_a = 0, _flag_b = 0; 14545 uint32_t _itail_tgt = 0; 14546 RECOMP_REGS_LOCALS 14547 RECOMP_ENTER(0x2B09B4C0u); 14548 14549 L_2B09B4C0: 14550 PUSH32(esp, ebp); /* 0x2B09B4C0: push ebp */ 14551 ebp = esp; /* 0x2B09B4C1: mov ebp, esp */ 14552 PUSH32(esp, ebx); /* 0x2B09B4C3: push ebx */ 14553 PUSH32(esp, esi); /* 0x2B09B4C4: push esi */ 14554 esi = MEM32(ebp + 0xC); /* 0x2B09B4C5: mov esi, dword ptr [ebp + 0xc] */ 14555 eax = MEM32(esi + 0x4); /* 0x2B09B4C8: mov eax, dword ptr [esi + 4] */ 14556 ebx = MEM32(esi); /* 0x2B09B4CB: mov ebx, dword ptr [esi] */ 14557 PUSH32(esp, edi); /* 0x2B09B4CD: push edi */ 14558 edi = ecx; /* 0x2B09B4CE: mov edi, ecx */ 14559 ecx = MEM32(esi); /* 0x2B09B4D0: mov ecx, dword ptr [esi] */ 14560 MEM32(eax) = ecx; /* 0x2B09B4D2: mov dword ptr [eax], ecx */ 14561 edx = MEM32(esi); /* 0x2B09B4D4: mov edx, dword ptr [esi] */ 14562 eax = MEM32(esi + 0x4); /* 0x2B09B4D6: mov eax, dword ptr [esi + 4] */ 14563 ecx = esi + 0x8; /* 0x2B09B4D9: lea ecx, [esi + 8] */ 14564 MEM32(edx + 0x4) = eax; /* 0x2B09B4DC: mov dword ptr [edx + 4], eax */ 14565 RECOMP_ICALL(0x2B099770u); /* 0x2B09B4DF: call 0x2b099770 */ /* not lifted */ 14566 RECOMP_FLAGS_IN(); 14567 PUSH32(esp, esi); /* 0x2B09B4E4: push esi */ 14568 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B4E5: call 0x2b0ab1ba */ /* not lifted */ 14569 RECOMP_FLAGS_IN(); 14570 eax = MEM32(edi + 0x8); /* 0x2B09B4EA: mov eax, dword ptr [edi + 8] */ 14571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14573 esp = esp + 4; /* 0x2B09B4ED: add esp, 4 */ 14574 _flag_k = FK_ADD; 14575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14576 eax = eax - 1; /* 0x2B09B4F0: dec eax */ 14577 _flag_k = FK_DEC; 14578 MEM32(edi + 0x8) = eax; /* 0x2B09B4F1: mov dword ptr [edi + 8], eax */ 14579 eax = MEM32(ebp + 0x8); /* 0x2B09B4F4: mov eax, dword ptr [ebp + 8] */ 14580 edi = POP32_VAL(esp); /* 0x2B09B4F7: pop edi */ 14581 esi = POP32_VAL(esp); /* 0x2B09B4F8: pop esi */ 14582 MEM32(eax) = ebx; /* 0x2B09B4F9: mov dword ptr [eax], ebx */ 14583 ebx = POP32_VAL(esp); /* 0x2B09B4FB: pop ebx */ 14584 ebp = POP32_VAL(esp); /* 0x2B09B4FC: pop ebp */ 14585 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09B4FD: ret 8 */ 14586 RECOMP_REGS_OUT(); 14587 } 14588 14589 void sub_2B09B500(void) { 14590 int _fpu_cmp = 0; 14591 uint32_t _cf = 0; 14592 int _df = 1; 14593 uint32_t _flag_k = FK_NONE; 14594 uint32_t _flag_a = 0, _flag_b = 0; 14595 uint32_t _itail_tgt = 0; 14596 RECOMP_REGS_LOCALS 14597 RECOMP_ENTER(0x2B09B500u); 14598 14599 L_2B09B500: 14600 PUSH32(esp, ebp); /* 0x2B09B500: push ebp */ 14601 ebp = esp; /* 0x2B09B501: mov ebp, esp */ 14602 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09B503: push -1 */ 14603 PUSH32(esp, 0x2B0B397Du); /* 0x2B09B505: push 0x2b0b397d */ 14604 eax = MEM32(FS_BASE + (0)); /* 0x2B09B50A: mov eax, dword ptr fs:[0] */ 14605 PUSH32(esp, eax); /* 0x2B09B510: push eax */ 14606 MEM32(FS_BASE + (0)) = esp; /* 0x2B09B511: mov dword ptr fs:[0], esp */ 14607 PUSH32(esp, ecx); /* 0x2B09B518: push ecx */ 14608 PUSH32(esp, ebx); /* 0x2B09B519: push ebx */ 14609 ebx = MEM32(ebp + 0x8); /* 0x2B09B51A: mov ebx, dword ptr [ebp + 8] */ 14610 PUSH32(esp, esi); /* 0x2B09B51D: push esi */ 14611 PUSH32(esp, edi); /* 0x2B09B51E: push edi */ 14612 MEM32(ebp + (-0x10)) = ebx; /* 0x2B09B51F: mov dword ptr [ebp - 0x10], ebx */ 14613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14614 edi = 0; /* 0x2B09B522: xor edi, edi */ 14615 _cf = 0; 14616 _flag_k = FK_TEST; 14617 /* cmp ebx, edi */ /* 0x2B09B524: cmp ebx, edi */ 14618 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 14619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14620 _flag_k = FK_CMP; 14621 MEM32(ebp + (-0x4)) = edi; /* 0x2B09B526: mov dword ptr [ebp - 4], edi */ 14622 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B648; /* 0x2B09B529: je 0x2b09b648 */ 14623 L_2B09B52F: 14624 esi = MEM32(ebp + 0xC); /* 0x2B09B52F: mov esi, dword ptr [ebp + 0xc] */ 14625 eax = MEM32(esi); /* 0x2B09B532: mov eax, dword ptr [esi] */ 14626 MEM32(ebx) = eax; /* 0x2B09B534: mov dword ptr [ebx], eax */ 14627 SET_LO8(edx, MEM8(esi + 0x4)); /* 0x2B09B536: mov dl, byte ptr [esi + 4] */ 14628 eax = esi + 0x4; /* 0x2B09B539: lea eax, [esi + 4] */ 14629 ecx = ebx + 0x4; /* 0x2B09B53C: lea ecx, [ebx + 4] */ 14630 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B09B53F: mov byte ptr [ecx], dl */ 14631 MEM32(ecx + 0x4) = edi; /* 0x2B09B541: mov dword ptr [ecx + 4], edi */ 14632 MEM32(ecx + 0x8) = edi; /* 0x2B09B544: mov dword ptr [ecx + 8], edi */ 14633 MEM32(ecx + 0xC) = edi; /* 0x2B09B547: mov dword ptr [ecx + 0xc], edi */ 14634 edx = MEM32(0x2B0B515C); /* 0x2B09B54A: mov edx, dword ptr [0x2b0b515c] */ 14635 edx = MEM32(edx); /* 0x2B09B550: mov edx, dword ptr [edx] */ 14636 PUSH32(esp, edx); /* 0x2B09B552: push edx */ 14637 PUSH32(esp, edi); /* 0x2B09B553: push edi */ 14638 PUSH32(esp, eax); /* 0x2B09B554: push eax */ 14639 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B09B555: call dword ptr [0x2b0b5158] */ 14640 RECOMP_FLAGS_IN(); 14641 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B09B55B: mov al, byte ptr [esi + 0x14] */ 14642 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 14643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14644 esi = esi + 0x14u; /* 0x2B09B55E: add esi, 0x14 */ 14645 _flag_k = FK_ADD; 14646 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x14u); 14647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14648 ebx = ebx + 0x14u; /* 0x2B09B561: add ebx, 0x14 */ 14649 _flag_k = FK_ADD; 14650 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B09B564: mov byte ptr [ebx], al */ 14651 MEM32(ebx + 0x4) = edi; /* 0x2B09B566: mov dword ptr [ebx + 4], edi */ 14652 MEM32(ebx + 0x8) = edi; /* 0x2B09B569: mov dword ptr [ebx + 8], edi */ 14653 MEM32(ebx + 0xC) = edi; /* 0x2B09B56C: mov dword ptr [ebx + 0xc], edi */ 14654 ecx = MEM32(0x2B0B515C); /* 0x2B09B56F: mov ecx, dword ptr [0x2b0b515c] */ 14655 edx = MEM32(esi + 0x8); /* 0x2B09B575: mov edx, dword ptr [esi + 8] */ 14656 ecx = MEM32(ecx); /* 0x2B09B578: mov ecx, dword ptr [ecx] */ 14657 eax = edx; /* 0x2B09B57A: mov eax, edx */ 14658 /* cmp ecx, eax */ /* 0x2B09B57C: cmp ecx, eax */ 14659 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14661 _flag_k = FK_CMP; 14662 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B09B57E: mov byte ptr [ebp - 4], 1 */ 14663 MEM32(ebp + 0xC) = eax; /* 0x2B09B582: mov dword ptr [ebp + 0xc], eax */ 14664 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09B58C; /* 0x2B09B585: jae 0x2b09b58c */ 14665 L_2B09B587: 14666 MEM32(ebp + 0xC) = ecx; /* 0x2B09B587: mov dword ptr [ebp + 0xc], ecx */ 14667 eax = ecx; /* 0x2B09B58A: mov eax, ecx */ 14668 L_2B09B58C: 14669 /* cmp ebx, esi */ /* 0x2B09B58C: cmp ebx, esi */ 14670 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 14671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14672 _flag_k = FK_CMP; 14673 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B5B5; /* 0x2B09B58E: jne 0x2b09b5b5 */ 14674 L_2B09B590: 14675 PUSH32(esp, ecx); /* 0x2B09B590: push ecx */ 14676 PUSH32(esp, eax); /* 0x2B09B591: push eax */ 14677 ecx = ebx; /* 0x2B09B592: mov ecx, ebx */ 14678 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B09B594: call dword ptr [0x2b0b51ac] */ 14679 RECOMP_FLAGS_IN(); 14680 PUSH32(esp, edi); /* 0x2B09B59A: push edi */ 14681 PUSH32(esp, edi); /* 0x2B09B59B: push edi */ 14682 ecx = ebx; /* 0x2B09B59C: mov ecx, ebx */ 14683 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B09B59E: call dword ptr [0x2b0b51ac] */ 14684 RECOMP_FLAGS_IN(); 14685 edi = POP32_VAL(esp); /* 0x2B09B5A4: pop edi */ 14686 esi = POP32_VAL(esp); /* 0x2B09B5A5: pop esi */ 14687 ebx = POP32_VAL(esp); /* 0x2B09B5A6: pop ebx */ 14688 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B5A7: mov ecx, dword ptr [ebp - 0xc] */ 14689 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B5AA: mov dword ptr fs:[0], ecx */ 14690 esp = ebp; /* 0x2B09B5B1: mov esp, ebp */ 14691 ebp = POP32_VAL(esp); /* 0x2B09B5B3: pop ebp */ 14692 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B5B4: ret */ 14693 L_2B09B5B5: 14694 /* cmp eax, edi */ /* 0x2B09B5B5: cmp eax, edi */ 14695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14697 _flag_k = FK_CMP; 14698 if (CMP_BE(_flag_a, _flag_b)) goto L_2B09B60D; /* 0x2B09B5B7: jbe 0x2b09b60d */ 14699 L_2B09B5B9: 14700 /* cmp eax, edx */ /* 0x2B09B5B9: cmp eax, edx */ 14701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14703 _flag_k = FK_CMP; 14704 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B60D; /* 0x2B09B5BB: jne 0x2b09b60d */ 14705 L_2B09B5BD: 14706 ecx = MEM32(esi + 0x4); /* 0x2B09B5BD: mov ecx, dword ptr [esi + 4] */ 14707 /* cmp ecx, edi */ /* 0x2B09B5C0: cmp ecx, edi */ 14708 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14710 _flag_k = FK_CMP; 14711 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B5CA; /* 0x2B09B5C2: jne 0x2b09b5ca */ 14712 L_2B09B5C4: 14713 ecx = MEM32(0x2B0B513C); /* 0x2B09B5C4: mov ecx, dword ptr [0x2b0b513c] */ 14714 L_2B09B5CA: 14715 /* cmp MEM8(ecx + (-0x1)), 0xFEu */ /* 0x2B09B5CA: cmp byte ptr [ecx - 1], 0xfe */ 14716 _flag_a = (uint32_t)(MEM8(ecx + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 14717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14718 _flag_k = FK_NARROW(FK_CMP, 24); 14719 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09B60D; /* 0x2B09B5CE: jae 0x2b09b60d */ 14720 L_2B09B5D0: 14721 MEM32(ebx + 0x4) = edi; /* 0x2B09B5D0: mov dword ptr [ebx + 4], edi */ 14722 MEM32(ebx + 0x8) = edi; /* 0x2B09B5D3: mov dword ptr [ebx + 8], edi */ 14723 MEM32(ebx + 0xC) = edi; /* 0x2B09B5D6: mov dword ptr [ebx + 0xc], edi */ 14724 eax = MEM32(esi + 0x4); /* 0x2B09B5D9: mov eax, dword ptr [esi + 4] */ 14725 /* cmp eax, edi */ /* 0x2B09B5DC: cmp eax, edi */ 14726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14728 _flag_k = FK_CMP; 14729 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B5E5; /* 0x2B09B5DE: jne 0x2b09b5e5 */ 14730 L_2B09B5E0: 14731 eax = MEM32(0x2B0B513C); /* 0x2B09B5E0: mov eax, dword ptr [0x2b0b513c] */ 14732 L_2B09B5E5: 14733 MEM32(ebx + 0x4) = eax; /* 0x2B09B5E5: mov dword ptr [ebx + 4], eax */ 14734 edx = MEM32(esi + 0x8); /* 0x2B09B5E8: mov edx, dword ptr [esi + 8] */ 14735 MEM32(ebx + 0x8) = edx; /* 0x2B09B5EB: mov dword ptr [ebx + 8], edx */ 14736 ecx = MEM32(esi + 0xC); /* 0x2B09B5EE: mov ecx, dword ptr [esi + 0xc] */ 14737 MEM32(ebx + 0xC) = ecx; /* 0x2B09B5F1: mov dword ptr [ebx + 0xc], ecx */ 14738 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B09B5F4: mov cl, byte ptr [eax - 1] */ 14739 edi = POP32_VAL(esp); /* 0x2B09B5F7: pop edi */ 14740 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 14741 SET_LO8(ecx, LO8(ecx) + 1); /* 0x2B09B5F8: inc cl */ 14742 _flag_k = FK_NARROW(FK_INC, 24); 14743 esi = POP32_VAL(esp); /* 0x2B09B5FA: pop esi */ 14744 MEM8(eax + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B09B5FB: mov byte ptr [eax - 1], cl */ 14745 ebx = POP32_VAL(esp); /* 0x2B09B5FE: pop ebx */ 14746 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B5FF: mov ecx, dword ptr [ebp - 0xc] */ 14747 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B602: mov dword ptr fs:[0], ecx */ 14748 esp = ebp; /* 0x2B09B609: mov esp, ebp */ 14749 ebp = POP32_VAL(esp); /* 0x2B09B60B: pop ebp */ 14750 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B60C: ret */ 14751 L_2B09B60D: 14752 PUSH32(esp, 1); /* 0x2B09B60D: push 1 */ 14753 PUSH32(esp, eax); /* 0x2B09B60F: push eax */ 14754 ecx = ebx; /* 0x2B09B610: mov ecx, ebx */ 14755 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B09B612: call dword ptr [0x2b0b5154] */ 14756 RECOMP_FLAGS_IN(); 14757 /* test LO8(eax), LO8(eax) */ /* 0x2B09B618: test al, al */ 14758 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14759 _cf = 0; 14760 _flag_k = FK_NARROW(FK_TEST, 24); 14761 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B648; /* 0x2B09B61A: je 0x2b09b648 */ 14762 L_2B09B61C: 14763 esi = MEM32(esi + 0x4); /* 0x2B09B61C: mov esi, dword ptr [esi + 4] */ 14764 /* cmp esi, edi */ /* 0x2B09B61F: cmp esi, edi */ 14765 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14767 _flag_k = FK_CMP; 14768 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09B629; /* 0x2B09B621: jne 0x2b09b629 */ 14769 L_2B09B623: 14770 esi = MEM32(0x2B0B513C); /* 0x2B09B623: mov esi, dword ptr [0x2b0b513c] */ 14771 L_2B09B629: 14772 ecx = MEM32(ebp + 0xC); /* 0x2B09B629: mov ecx, dword ptr [ebp + 0xc] */ 14773 edi = MEM32(ebx + 0x4); /* 0x2B09B62C: mov edi, dword ptr [ebx + 4] */ 14774 edx = ecx; /* 0x2B09B62F: mov edx, ecx */ 14775 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B09B631: shr ecx, 2 */ 14776 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14777 ecx = ecx >> 2u; /* 0x2B09B631: shr ecx, 2 */ 14778 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09B634: 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; } 14779 ecx = edx; /* 0x2B09B636: mov ecx, edx */ 14780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14781 ecx = ecx & 3; /* 0x2B09B638: and ecx, 3 */ 14782 _cf = 0; 14783 _flag_k = FK_TEST; 14784 eax = edx; /* 0x2B09B63B: mov eax, edx */ 14785 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B09B63D: 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; } 14786 PUSH32(esp, eax); /* 0x2B09B63F: push eax */ 14787 ecx = ebx; /* 0x2B09B640: mov ecx, ebx */ 14788 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B09B642: call dword ptr [0x2b0b5150] */ 14789 RECOMP_FLAGS_IN(); 14790 L_2B09B648: 14791 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B648: mov ecx, dword ptr [ebp - 0xc] */ 14792 edi = POP32_VAL(esp); /* 0x2B09B64B: pop edi */ 14793 esi = POP32_VAL(esp); /* 0x2B09B64C: pop esi */ 14794 ebx = POP32_VAL(esp); /* 0x2B09B64D: pop ebx */ 14795 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B64E: mov dword ptr fs:[0], ecx */ 14796 esp = ebp; /* 0x2B09B655: mov esp, ebp */ 14797 ebp = POP32_VAL(esp); /* 0x2B09B657: pop ebp */ 14798 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B658: ret */ 14799 RECOMP_REGS_OUT(); 14800 } 14801 14802 void sub_2B09B660(void) { 14803 int _fpu_cmp = 0; 14804 uint32_t _cf = 0; 14805 int _df = 1; 14806 uint32_t _flag_k = FK_NONE; 14807 uint32_t _flag_a = 0, _flag_b = 0; 14808 uint32_t _itail_tgt = 0; 14809 RECOMP_REGS_LOCALS 14810 RECOMP_ENTER(0x2B09B660u); 14811 14812 L_2B09B660: 14813 PUSH32(esp, ebx); /* 0x2B09B660: push ebx */ 14814 PUSH32(esp, esi); /* 0x2B09B661: push esi */ 14815 esi = MEM32(0x2B0B53CC); /* 0x2B09B662: mov esi, dword ptr [0x2b0b53cc] */ 14816 PUSH32(esp, edi); /* 0x2B09B668: push edi */ 14817 ebx = ecx; /* 0x2B09B669: mov ebx, ecx */ 14818 RECOMP_ICALL(esi); /* 0x2B09B66B: call esi */ 14819 RECOMP_FLAGS_IN(); 14820 ecx = eax; /* 0x2B09B66D: mov ecx, eax */ 14821 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B09B66F: call dword ptr [0x2b0b5374] */ 14822 RECOMP_FLAGS_IN(); 14823 PUSH32(esp, 0); /* 0x2B09B675: push 0 */ 14824 PUSH32(esp, 0x2Au); /* 0x2B09B677: push 0x2a */ 14825 PUSH32(esp, 1); /* 0x2B09B679: push 1 */ 14826 RECOMP_ICALL(esi); /* 0x2B09B67B: call esi */ 14827 RECOMP_FLAGS_IN(); 14828 ecx = eax; /* 0x2B09B67D: mov ecx, eax */ 14829 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B09B67F: call dword ptr [0x2b0b5378] */ 14830 RECOMP_FLAGS_IN(); 14831 PUSH32(esp, 0x2B09B7E0u); /* 0x2B09B685: push 0x2b09b7e0 */ 14832 RECOMP_ICALL(esi); /* 0x2B09B68A: call esi */ 14833 RECOMP_FLAGS_IN(); 14834 ecx = eax; /* 0x2B09B68C: mov ecx, eax */ 14835 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B09B68E: call dword ptr [0x2b0b537c] */ 14836 RECOMP_FLAGS_IN(); 14837 PUSH32(esp, 0x2B001520u); /* 0x2B09B694: push 0x2b001520 */ 14838 PUSH32(esp, 5); /* 0x2B09B699: push 5 */ 14839 RECOMP_ICALL(esi); /* 0x2B09B69B: call esi */ 14840 RECOMP_FLAGS_IN(); 14841 edi = MEM32(0x2B0B5324); /* 0x2B09B69D: mov edi, dword ptr [0x2b0b5324] */ 14842 ecx = eax; /* 0x2B09B6A3: mov ecx, eax */ 14843 RECOMP_ICALL(edi); /* 0x2B09B6A5: call edi */ 14844 RECOMP_FLAGS_IN(); 14845 PUSH32(esp, 0x2B09B7B0u); /* 0x2B09B6A7: push 0x2b09b7b0 */ 14846 PUSH32(esp, 6); /* 0x2B09B6AC: push 6 */ 14847 RECOMP_ICALL(esi); /* 0x2B09B6AE: call esi */ 14848 RECOMP_FLAGS_IN(); 14849 ecx = eax; /* 0x2B09B6B0: mov ecx, eax */ 14850 RECOMP_ICALL(edi); /* 0x2B09B6B2: call edi */ 14851 RECOMP_FLAGS_IN(); 14852 PUSH32(esp, 0x2B09B820u); /* 0x2B09B6B4: push 0x2b09b820 */ 14853 PUSH32(esp, 0x106u); /* 0x2B09B6B9: push 0x106 */ 14854 RECOMP_ICALL(esi); /* 0x2B09B6BE: call esi */ 14855 RECOMP_FLAGS_IN(); 14856 ecx = eax; /* 0x2B09B6C0: mov ecx, eax */ 14857 RECOMP_ICALL(edi); /* 0x2B09B6C2: call edi */ 14858 RECOMP_FLAGS_IN(); 14859 PUSH32(esp, 0x2B09B8F0u); /* 0x2B09B6C4: push 0x2b09b8f0 */ 14860 PUSH32(esp, 0xC7u); /* 0x2B09B6C9: push 0xc7 */ 14861 RECOMP_ICALL(esi); /* 0x2B09B6CE: call esi */ 14862 RECOMP_FLAGS_IN(); 14863 ecx = eax; /* 0x2B09B6D0: mov ecx, eax */ 14864 RECOMP_ICALL(edi); /* 0x2B09B6D2: call edi */ 14865 RECOMP_FLAGS_IN(); 14866 PUSH32(esp, 0x2B09B930u); /* 0x2B09B6D4: push 0x2b09b930 */ 14867 PUSH32(esp, 0x107u); /* 0x2B09B6D9: push 0x107 */ 14868 RECOMP_ICALL(esi); /* 0x2B09B6DE: call esi */ 14869 RECOMP_FLAGS_IN(); 14870 ecx = eax; /* 0x2B09B6E0: mov ecx, eax */ 14871 RECOMP_ICALL(edi); /* 0x2B09B6E2: call edi */ 14872 RECOMP_FLAGS_IN(); 14873 PUSH32(esp, 0x2B09B980u); /* 0x2B09B6E4: push 0x2b09b980 */ 14874 PUSH32(esp, 0xFEu); /* 0x2B09B6E9: push 0xfe */ 14875 RECOMP_ICALL(esi); /* 0x2B09B6EE: call esi */ 14876 RECOMP_FLAGS_IN(); 14877 ecx = eax; /* 0x2B09B6F0: mov ecx, eax */ 14878 RECOMP_ICALL(edi); /* 0x2B09B6F2: call edi */ 14879 RECOMP_FLAGS_IN(); 14880 PUSH32(esp, 0x2B09B9C0u); /* 0x2B09B6F4: push 0x2b09b9c0 */ 14881 PUSH32(esp, 0xA7u); /* 0x2B09B6F9: push 0xa7 */ 14882 RECOMP_ICALL(esi); /* 0x2B09B6FE: call esi */ 14883 RECOMP_FLAGS_IN(); 14884 ecx = eax; /* 0x2B09B700: mov ecx, eax */ 14885 RECOMP_ICALL(edi); /* 0x2B09B702: call edi */ 14886 RECOMP_FLAGS_IN(); 14887 edi = POP32_VAL(esp); /* 0x2B09B704: pop edi */ 14888 esi = POP32_VAL(esp); /* 0x2B09B705: pop esi */ 14889 eax = ebx; /* 0x2B09B706: mov eax, ebx */ 14890 MEM32(0x2B0EF12C) = 0; /* 0x2B09B708: mov dword ptr [0x2b0ef12c], 0 */ 14891 ebx = POP32_VAL(esp); /* 0x2B09B712: pop ebx */ 14892 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B713: ret */ 14893 RECOMP_REGS_OUT(); 14894 } 14895 14896 void sub_2B09B720(void) { 14897 int _fpu_cmp = 0; 14898 uint32_t _cf = 0; 14899 int _df = 1; 14900 uint32_t _flag_k = FK_NONE; 14901 uint32_t _flag_a = 0, _flag_b = 0; 14902 uint32_t _itail_tgt = 0; 14903 RECOMP_REGS_LOCALS 14904 RECOMP_ENTER(0x2B09B720u); 14905 14906 L_2B09B720: 14907 RECOMP_ICALL(0x2B09B7B0u); /* 0x2B09B720: call 0x2b09b7b0 */ /* not lifted */ 14908 RECOMP_FLAGS_IN(); 14909 MEM32(0x2B0EF12C) = 0; /* 0x2B09B725: mov dword ptr [0x2b0ef12c], 0 */ 14910 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B72F: ret */ 14911 RECOMP_REGS_OUT(); 14912 } 14913 14914 void sub_2B09B730(void) { 14915 int _fpu_cmp = 0; 14916 uint32_t _cf = 0; 14917 int _df = 1; 14918 uint32_t _flag_k = FK_NONE; 14919 uint32_t _flag_a = 0, _flag_b = 0; 14920 uint32_t _itail_tgt = 0; 14921 RECOMP_REGS_LOCALS 14922 RECOMP_ENTER(0x2B09B730u); 14923 14924 L_2B09B730: 14925 PUSH32(esp, ebp); /* 0x2B09B730: push ebp */ 14926 ebp = esp; /* 0x2B09B731: mov ebp, esp */ 14927 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09B733: push -1 */ 14928 PUSH32(esp, 0x2B0B399Bu); /* 0x2B09B735: push 0x2b0b399b */ 14929 eax = MEM32(FS_BASE + (0)); /* 0x2B09B73A: mov eax, dword ptr fs:[0] */ 14930 PUSH32(esp, eax); /* 0x2B09B740: push eax */ 14931 MEM32(FS_BASE + (0)) = esp; /* 0x2B09B741: mov dword ptr fs:[0], esp */ 14932 PUSH32(esp, ecx); /* 0x2B09B748: push ecx */ 14933 eax = MEM32(0x2B0EF128); /* 0x2B09B749: mov eax, dword ptr [0x2b0ef128] */ 14934 /* test eax, eax */ /* 0x2B09B74E: test eax, eax */ 14935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14936 _cf = 0; 14937 _flag_k = FK_TEST; 14938 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09B78B; /* 0x2B09B750: jne 0x2b09b78b */ 14939 L_2B09B752: 14940 PUSH32(esp, 1); /* 0x2B09B752: push 1 */ 14941 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B754: call 0x2b0ab212 */ /* not lifted */ 14942 RECOMP_FLAGS_IN(); 14943 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14944 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14945 esp = esp + 4; /* 0x2B09B759: add esp, 4 */ 14946 _flag_k = FK_ADD; 14947 MEM32(ebp + (-0x10)) = eax; /* 0x2B09B75C: mov dword ptr [ebp - 0x10], eax */ 14948 /* test eax, eax */ /* 0x2B09B75F: test eax, eax */ 14949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14950 _cf = 0; 14951 _flag_k = FK_TEST; 14952 MEM32(ebp + (-0x4)) = 0; /* 0x2B09B761: mov dword ptr [ebp - 4], 0 */ 14953 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B784; /* 0x2B09B768: je 0x2b09b784 */ 14954 L_2B09B76A: 14955 ecx = eax; /* 0x2B09B76A: mov ecx, eax */ 14956 RECOMP_ICALL(0x2B09B660u); /* 0x2B09B76C: call 0x2b09b660 */ /* not lifted */ 14957 RECOMP_FLAGS_IN(); 14958 MEM32(0x2B0EF128) = eax; /* 0x2B09B771: mov dword ptr [0x2b0ef128], eax */ 14959 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B776: mov ecx, dword ptr [ebp - 0xc] */ 14960 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B779: mov dword ptr fs:[0], ecx */ 14961 esp = ebp; /* 0x2B09B780: mov esp, ebp */ 14962 ebp = POP32_VAL(esp); /* 0x2B09B782: pop ebp */ 14963 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B783: ret */ 14964 L_2B09B784: 14965 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14966 eax = 0; /* 0x2B09B784: xor eax, eax */ 14967 _cf = 0; 14968 _flag_k = FK_TEST; 14969 MEM32(0x2B0EF128) = eax; /* 0x2B09B786: mov dword ptr [0x2b0ef128], eax */ 14970 L_2B09B78B: 14971 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B78B: mov ecx, dword ptr [ebp - 0xc] */ 14972 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B78E: mov dword ptr fs:[0], ecx */ 14973 esp = ebp; /* 0x2B09B795: mov esp, ebp */ 14974 ebp = POP32_VAL(esp); /* 0x2B09B797: pop ebp */ 14975 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B798: ret */ 14976 RECOMP_REGS_OUT(); 14977 } 14978 14979 void sub_2B09B7A0(void) { 14980 int _fpu_cmp = 0; 14981 uint32_t _cf = 0; 14982 int _df = 1; 14983 uint32_t _flag_k = FK_NONE; 14984 uint32_t _flag_a = 0, _flag_b = 0; 14985 uint32_t _itail_tgt = 0; 14986 RECOMP_REGS_LOCALS 14987 RECOMP_ENTER(0x2B09B7A0u); 14988 14989 L_2B09B7A0: 14990 eax = MEM32(0x2B0EF128); /* 0x2B09B7A0: mov eax, dword ptr [0x2b0ef128] */ 14991 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B7A5: ret */ 14992 RECOMP_REGS_OUT(); 14993 } 14994 14995 void sub_2B09B7B0(void) { 14996 int _fpu_cmp = 0; 14997 uint32_t _cf = 0; 14998 int _df = 1; 14999 uint32_t _flag_k = FK_NONE; 15000 uint32_t _flag_a = 0, _flag_b = 0; 15001 uint32_t _itail_tgt = 0; 15002 RECOMP_REGS_LOCALS 15003 RECOMP_ENTER(0x2B09B7B0u); 15004 15005 L_2B09B7B0: 15006 PUSH32(esp, esi); /* 0x2B09B7B0: push esi */ 15007 esi = MEM32(0x2B0EF12C); /* 0x2B09B7B1: mov esi, dword ptr [0x2b0ef12c] */ 15008 /* test esi, esi */ /* 0x2B09B7B7: test esi, esi */ 15009 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15010 _cf = 0; 15011 _flag_k = FK_TEST; 15012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B7CB; /* 0x2B09B7B9: je 0x2b09b7cb */ 15013 L_2B09B7BB: 15014 ecx = esi; /* 0x2B09B7BB: mov ecx, esi */ 15015 RECOMP_ICALL(0x2B0997E0u); /* 0x2B09B7BD: call 0x2b0997e0 */ /* not lifted */ 15016 RECOMP_FLAGS_IN(); 15017 PUSH32(esp, esi); /* 0x2B09B7C2: push esi */ 15018 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B7C3: call 0x2b0ab1ba */ /* not lifted */ 15019 RECOMP_FLAGS_IN(); 15020 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15021 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15022 esp = esp + 4; /* 0x2B09B7C8: add esp, 4 */ 15023 _flag_k = FK_ADD; 15024 L_2B09B7CB: 15025 MEM32(0x2B0EF12C) = 0; /* 0x2B09B7CB: mov dword ptr [0x2b0ef12c], 0 */ 15026 esi = POP32_VAL(esp); /* 0x2B09B7D5: pop esi */ 15027 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B7D6: ret */ 15028 RECOMP_REGS_OUT(); 15029 } 15030 15031 void sub_2B09B7E0(void) { 15032 int _fpu_cmp = 0; 15033 uint32_t _cf = 0; 15034 int _df = 1; 15035 uint32_t _flag_k = FK_NONE; 15036 uint32_t _flag_a = 0, _flag_b = 0; 15037 uint32_t _itail_tgt = 0; 15038 RECOMP_REGS_LOCALS 15039 RECOMP_ENTER(0x2B09B7E0u); 15040 15041 L_2B09B7E0: 15042 ecx = MEM32(0x2B0EF12C); /* 0x2B09B7E0: mov ecx, dword ptr [0x2b0ef12c] */ 15043 /* test ecx, ecx */ /* 0x2B09B7E6: test ecx, ecx */ 15044 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15045 _cf = 0; 15046 _flag_k = FK_TEST; 15047 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B819; /* 0x2B09B7E8: je 0x2b09b819 */ 15048 L_2B09B7EA: 15049 RECOMP_ICALL(0x2B09A9A0u); /* 0x2B09B7EA: call 0x2b09a9a0 */ /* not lifted */ 15050 RECOMP_FLAGS_IN(); 15051 /* test LO8(eax), LO8(eax) */ /* 0x2B09B7EF: test al, al */ 15052 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15053 _cf = 0; 15054 _flag_k = FK_NARROW(FK_TEST, 24); 15055 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B819; /* 0x2B09B7F1: je 0x2b09b819 */ 15056 L_2B09B7F3: 15057 PUSH32(esp, esi); /* 0x2B09B7F3: push esi */ 15058 esi = MEM32(0x2B0EF12C); /* 0x2B09B7F4: mov esi, dword ptr [0x2b0ef12c] */ 15059 /* test esi, esi */ /* 0x2B09B7FA: test esi, esi */ 15060 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15061 _cf = 0; 15062 _flag_k = FK_TEST; 15063 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B80E; /* 0x2B09B7FC: je 0x2b09b80e */ 15064 L_2B09B7FE: 15065 ecx = esi; /* 0x2B09B7FE: mov ecx, esi */ 15066 RECOMP_ICALL(0x2B0997E0u); /* 0x2B09B800: call 0x2b0997e0 */ /* not lifted */ 15067 RECOMP_FLAGS_IN(); 15068 PUSH32(esp, esi); /* 0x2B09B805: push esi */ 15069 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B806: call 0x2b0ab1ba */ /* not lifted */ 15070 RECOMP_FLAGS_IN(); 15071 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15073 esp = esp + 4; /* 0x2B09B80B: add esp, 4 */ 15074 _flag_k = FK_ADD; 15075 L_2B09B80E: 15076 MEM32(0x2B0EF12C) = 0; /* 0x2B09B80E: mov dword ptr [0x2b0ef12c], 0 */ 15077 esi = POP32_VAL(esp); /* 0x2B09B818: pop esi */ 15078 L_2B09B819: 15079 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B819: ret */ 15080 RECOMP_REGS_OUT(); 15081 } 15082 15083 void sub_2B09B820(void) { 15084 int _fpu_cmp = 0; 15085 uint32_t _cf = 0; 15086 int _df = 1; 15087 uint32_t _flag_k = FK_NONE; 15088 uint32_t _flag_a = 0, _flag_b = 0; 15089 uint32_t _itail_tgt = 0; 15090 RECOMP_REGS_LOCALS 15091 RECOMP_ENTER(0x2B09B820u); 15092 15093 L_2B09B820: 15094 PUSH32(esp, ebp); /* 0x2B09B820: push ebp */ 15095 ebp = esp; /* 0x2B09B821: mov ebp, esp */ 15096 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09B823: push -1 */ 15097 PUSH32(esp, 0x2B0B39BBu); /* 0x2B09B825: push 0x2b0b39bb */ 15098 eax = MEM32(FS_BASE + (0)); /* 0x2B09B82A: mov eax, dword ptr fs:[0] */ 15099 PUSH32(esp, eax); /* 0x2B09B830: push eax */ 15100 MEM32(FS_BASE + (0)) = esp; /* 0x2B09B831: mov dword ptr fs:[0], esp */ 15101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15103 esp = esp - 8; /* 0x2B09B838: sub esp, 8 */ 15104 _flag_k = FK_CMP; 15105 PUSH32(esp, ebx); /* 0x2B09B83B: push ebx */ 15106 PUSH32(esp, esi); /* 0x2B09B83C: push esi */ 15107 PUSH32(esp, edi); /* 0x2B09B83D: push edi */ 15108 edi = MEM32(0x2B0B53CC); /* 0x2B09B83E: mov edi, dword ptr [0x2b0b53cc] */ 15109 MEM32(ebp + (-0x10)) = 1; /* 0x2B09B844: mov dword ptr [ebp - 0x10], 1 */ 15110 RECOMP_ICALL(edi); /* 0x2B09B84B: call edi */ 15111 RECOMP_FLAGS_IN(); 15112 ebx = MEM32(0x2B0B539C); /* 0x2B09B84D: mov ebx, dword ptr [0x2b0b539c] */ 15113 ecx = eax; /* 0x2B09B853: mov ecx, eax */ 15114 RECOMP_ICALL(ebx); /* 0x2B09B855: call ebx */ 15115 RECOMP_FLAGS_IN(); 15116 /* test LO8(eax), 0x20u */ /* 0x2B09B857: test al, 0x20 */ 15117 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 15118 _cf = 0; 15119 _flag_k = FK_NARROW(FK_TEST, 24); 15120 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B869; /* 0x2B09B859: je 0x2b09b869 */ 15121 L_2B09B85B: 15122 eax = ebp + (-0x10); /* 0x2B09B85B: lea eax, [ebp - 0x10] */ 15123 PUSH32(esp, eax); /* 0x2B09B85E: push eax */ 15124 RECOMP_ICALL(edi); /* 0x2B09B85F: call edi */ 15125 RECOMP_FLAGS_IN(); 15126 ecx = eax; /* 0x2B09B861: mov ecx, eax */ 15127 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B09B863: call dword ptr [0x2b0b53a8] */ 15128 RECOMP_FLAGS_IN(); 15129 L_2B09B869: 15130 esi = MEM32(0x2B0EF12C); /* 0x2B09B869: mov esi, dword ptr [0x2b0ef12c] */ 15131 /* test esi, esi */ /* 0x2B09B86F: test esi, esi */ 15132 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15133 _cf = 0; 15134 _flag_k = FK_TEST; 15135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B883; /* 0x2B09B871: je 0x2b09b883 */ 15136 L_2B09B873: 15137 ecx = esi; /* 0x2B09B873: mov ecx, esi */ 15138 RECOMP_ICALL(0x2B0997E0u); /* 0x2B09B875: call 0x2b0997e0 */ /* not lifted */ 15139 RECOMP_FLAGS_IN(); 15140 PUSH32(esp, esi); /* 0x2B09B87A: push esi */ 15141 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09B87B: call 0x2b0ab1ba */ /* not lifted */ 15142 RECOMP_FLAGS_IN(); 15143 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15145 esp = esp + 4; /* 0x2B09B880: add esp, 4 */ 15146 _flag_k = FK_ADD; 15147 L_2B09B883: 15148 PUSH32(esp, 0x9Cu); /* 0x2B09B883: push 0x9c */ 15149 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09B888: call 0x2b0ab212 */ /* not lifted */ 15150 RECOMP_FLAGS_IN(); 15151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15153 esp = esp + 4; /* 0x2B09B88D: add esp, 4 */ 15154 _flag_k = FK_ADD; 15155 MEM32(ebp + (-0x14)) = eax; /* 0x2B09B890: mov dword ptr [ebp - 0x14], eax */ 15156 /* test eax, eax */ /* 0x2B09B893: test eax, eax */ 15157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15158 _cf = 0; 15159 _flag_k = FK_TEST; 15160 MEM32(ebp + (-0x4)) = 0; /* 0x2B09B895: mov dword ptr [ebp - 4], 0 */ 15161 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B8B0; /* 0x2B09B89C: je 0x2b09b8b0 */ 15162 L_2B09B89E: 15163 esi = MEM32(ebp + (-0x10)); /* 0x2B09B89E: mov esi, dword ptr [ebp - 0x10] */ 15164 /* test esi, esi */ /* 0x2B09B8A1: test esi, esi */ 15165 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15166 _cf = 0; 15167 _flag_k = FK_TEST; 15168 SET_LO8(ecx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B09B8A3: setne cl */ 15169 PUSH32(esp, ecx); /* 0x2B09B8A6: push ecx */ 15170 ecx = eax; /* 0x2B09B8A7: mov ecx, eax */ 15171 RECOMP_ICALL(0x2B098030u); /* 0x2B09B8A9: call 0x2b098030 */ /* not lifted */ 15172 RECOMP_FLAGS_IN(); 15173 goto L_2B09B8B2; /* 0x2B09B8AE: jmp 0x2b09b8b2 */ 15174 L_2B09B8B0: 15175 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15176 eax = 0; /* 0x2B09B8B0: xor eax, eax */ 15177 _cf = 0; 15178 _flag_k = FK_TEST; 15179 L_2B09B8B2: 15180 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09B8B2: mov dword ptr [ebp - 4], 0xffffffff */ 15181 MEM32(0x2B0EF12C) = eax; /* 0x2B09B8B9: mov dword ptr [0x2b0ef12c], eax */ 15182 RECOMP_ICALL(edi); /* 0x2B09B8BE: call edi */ 15183 RECOMP_FLAGS_IN(); 15184 ecx = eax; /* 0x2B09B8C0: mov ecx, eax */ 15185 RECOMP_ICALL(ebx); /* 0x2B09B8C2: call ebx */ 15186 RECOMP_FLAGS_IN(); 15187 /* test eax, 0x00020000u */ /* 0x2B09B8C4: test eax, 0x20000 */ 15188 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 15189 _cf = 0; 15190 _flag_k = FK_TEST; 15191 edi = POP32_VAL(esp); /* 0x2B09B8C9: pop edi */ 15192 esi = POP32_VAL(esp); /* 0x2B09B8CA: pop esi */ 15193 ebx = POP32_VAL(esp); /* 0x2B09B8CB: pop ebx */ 15194 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09B8D3; /* 0x2B09B8CC: je 0x2b09b8d3 */ 15195 L_2B09B8CE: 15196 RECOMP_ICALL(0x2B09B8F0u); /* 0x2B09B8CE: call 0x2b09b8f0 */ /* not lifted */ 15197 RECOMP_FLAGS_IN(); 15198 L_2B09B8D3: 15199 ecx = MEM32(ebp + (-0xC)); /* 0x2B09B8D3: mov ecx, dword ptr [ebp - 0xc] */ 15200 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09B8D6: mov dword ptr fs:[0], ecx */ 15201 esp = ebp; /* 0x2B09B8DD: mov esp, ebp */ 15202 ebp = POP32_VAL(esp); /* 0x2B09B8DF: pop ebp */ 15203 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B8E0: ret */ 15204 RECOMP_REGS_OUT(); 15205 } 15206 15207 void sub_2B09B8F0(void) { 15208 int _fpu_cmp = 0; 15209 uint32_t _cf = 0; 15210 int _df = 1; 15211 uint32_t _flag_k = FK_NONE; 15212 uint32_t _flag_a = 0, _flag_b = 0; 15213 uint32_t _itail_tgt = 0; 15214 RECOMP_REGS_LOCALS 15215 RECOMP_ENTER(0x2B09B8F0u); 15216 15217 L_2B09B8F0: 15218 PUSH32(esp, ebp); /* 0x2B09B8F0: push ebp */ 15219 ebp = esp; /* 0x2B09B8F1: mov ebp, esp */ 15220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15222 esp = esp - 8; /* 0x2B09B8F3: sub esp, 8 */ 15223 _flag_k = FK_CMP; 15224 ecx = MEM32(0x2B0EF12C); /* 0x2B09B8F6: mov ecx, dword ptr [0x2b0ef12c] */ 15225 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15226 eax = 0; /* 0x2B09B8FC: xor eax, eax */ 15227 _cf = 0; 15228 _flag_k = FK_TEST; 15229 /* cmp ecx, eax */ /* 0x2B09B8FE: cmp ecx, eax */ 15230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15232 _flag_k = FK_CMP; 15233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B929; /* 0x2B09B900: je 0x2b09b929 */ 15234 L_2B09B902: 15235 MEM32(ebp + (-0x8)) = eax; /* 0x2B09B902: mov dword ptr [ebp - 8], eax */ 15236 MEM32(ebp + (-0x4)) = eax; /* 0x2B09B905: mov dword ptr [ebp - 4], eax */ 15237 eax = ebp + (-0x8); /* 0x2B09B908: lea eax, [ebp - 8] */ 15238 PUSH32(esp, eax); /* 0x2B09B90B: push eax */ 15239 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B90C: call dword ptr [0x2b0b53cc] */ 15240 RECOMP_FLAGS_IN(); 15241 ecx = eax; /* 0x2B09B912: mov ecx, eax */ 15242 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B09B914: call dword ptr [0x2b0b53ac] */ 15243 RECOMP_FLAGS_IN(); 15244 ecx = ebp + (-0x8); /* 0x2B09B91A: lea ecx, [ebp - 8] */ 15245 PUSH32(esp, ecx); /* 0x2B09B91D: push ecx */ 15246 ecx = MEM32(0x2B0EF12C); /* 0x2B09B91E: mov ecx, dword ptr [0x2b0ef12c] */ 15247 RECOMP_ICALL(0x2B09ADF0u); /* 0x2B09B924: call 0x2b09adf0 */ /* not lifted */ 15248 RECOMP_FLAGS_IN(); 15249 L_2B09B929: 15250 esp = ebp; /* 0x2B09B929: mov esp, ebp */ 15251 ebp = POP32_VAL(esp); /* 0x2B09B92B: pop ebp */ 15252 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B92C: ret */ 15253 RECOMP_REGS_OUT(); 15254 } 15255 15256 void sub_2B09B930(void) { 15257 int _fpu_cmp = 0; 15258 uint32_t _cf = 0; 15259 int _df = 1; 15260 uint32_t _flag_k = FK_NONE; 15261 uint32_t _flag_a = 0, _flag_b = 0; 15262 uint32_t _itail_tgt = 0; 15263 RECOMP_REGS_LOCALS 15264 RECOMP_ENTER(0x2B09B930u); 15265 15266 L_2B09B930: 15267 PUSH32(esp, ebp); /* 0x2B09B930: push ebp */ 15268 ebp = esp; /* 0x2B09B931: mov ebp, esp */ 15269 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15271 esp = esp - 0x10u; /* 0x2B09B933: sub esp, 0x10 */ 15272 _flag_k = FK_CMP; 15273 ecx = MEM32(0x2B0EF12C); /* 0x2B09B936: mov ecx, dword ptr [0x2b0ef12c] */ 15274 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15275 eax = 0; /* 0x2B09B93C: xor eax, eax */ 15276 _cf = 0; 15277 _flag_k = FK_TEST; 15278 /* cmp ecx, eax */ /* 0x2B09B93E: cmp ecx, eax */ 15279 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15281 _flag_k = FK_CMP; 15282 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B973; /* 0x2B09B940: je 0x2b09b973 */ 15283 L_2B09B942: 15284 MEM32(ebp + (-0x10)) = eax; /* 0x2B09B942: mov dword ptr [ebp - 0x10], eax */ 15285 MEM32(ebp + (-0xC)) = eax; /* 0x2B09B945: mov dword ptr [ebp - 0xc], eax */ 15286 MEM32(ebp + (-0x8)) = eax; /* 0x2B09B948: mov dword ptr [ebp - 8], eax */ 15287 MEM32(ebp + (-0x4)) = eax; /* 0x2B09B94B: mov dword ptr [ebp - 4], eax */ 15288 eax = ebp + (-0x8); /* 0x2B09B94E: lea eax, [ebp - 8] */ 15289 PUSH32(esp, eax); /* 0x2B09B951: push eax */ 15290 ecx = ebp + (-0x10); /* 0x2B09B952: lea ecx, [ebp - 0x10] */ 15291 PUSH32(esp, ecx); /* 0x2B09B955: push ecx */ 15292 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B956: call dword ptr [0x2b0b53cc] */ 15293 RECOMP_FLAGS_IN(); 15294 ecx = eax; /* 0x2B09B95C: mov ecx, eax */ 15295 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B09B95E: call dword ptr [0x2b0b5364] */ 15296 RECOMP_FLAGS_IN(); 15297 edx = MEM32(ebp + (-0x4)); /* 0x2B09B964: mov edx, dword ptr [ebp - 4] */ 15298 ecx = MEM32(0x2B0EF12C); /* 0x2B09B967: mov ecx, dword ptr [0x2b0ef12c] */ 15299 PUSH32(esp, edx); /* 0x2B09B96D: push edx */ 15300 RECOMP_ICALL(0x2B09AAA0u); /* 0x2B09B96E: call 0x2b09aaa0 */ /* not lifted */ 15301 RECOMP_FLAGS_IN(); 15302 L_2B09B973: 15303 esp = ebp; /* 0x2B09B973: mov esp, ebp */ 15304 ebp = POP32_VAL(esp); /* 0x2B09B975: pop ebp */ 15305 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B976: ret */ 15306 RECOMP_REGS_OUT(); 15307 } 15308 15309 void sub_2B09B980(void) { 15310 int _fpu_cmp = 0; 15311 uint32_t _cf = 0; 15312 int _df = 1; 15313 uint32_t _flag_k = FK_NONE; 15314 uint32_t _flag_a = 0, _flag_b = 0; 15315 uint32_t _itail_tgt = 0; 15316 RECOMP_REGS_LOCALS 15317 RECOMP_ENTER(0x2B09B980u); 15318 15319 L_2B09B980: 15320 PUSH32(esp, ebp); /* 0x2B09B980: push ebp */ 15321 ebp = esp; /* 0x2B09B981: mov ebp, esp */ 15322 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15324 esp = esp - 8; /* 0x2B09B983: sub esp, 8 */ 15325 _flag_k = FK_CMP; 15326 ecx = MEM32(0x2B0EF12C); /* 0x2B09B986: mov ecx, dword ptr [0x2b0ef12c] */ 15327 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15328 eax = 0; /* 0x2B09B98C: xor eax, eax */ 15329 _cf = 0; 15330 _flag_k = FK_TEST; 15331 /* cmp ecx, eax */ /* 0x2B09B98E: cmp ecx, eax */ 15332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15334 _flag_k = FK_CMP; 15335 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09B9B9; /* 0x2B09B990: je 0x2b09b9b9 */ 15336 L_2B09B992: 15337 MEM32(ebp + (-0x8)) = eax; /* 0x2B09B992: mov dword ptr [ebp - 8], eax */ 15338 MEM32(ebp + (-0x4)) = eax; /* 0x2B09B995: mov dword ptr [ebp - 4], eax */ 15339 eax = ebp + (-0x8); /* 0x2B09B998: lea eax, [ebp - 8] */ 15340 PUSH32(esp, eax); /* 0x2B09B99B: push eax */ 15341 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09B99C: call dword ptr [0x2b0b53cc] */ 15342 RECOMP_FLAGS_IN(); 15343 ecx = eax; /* 0x2B09B9A2: mov ecx, eax */ 15344 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B09B9A4: call dword ptr [0x2b0b53ac] */ 15345 RECOMP_FLAGS_IN(); 15346 ecx = ebp + (-0x8); /* 0x2B09B9AA: lea ecx, [ebp - 8] */ 15347 PUSH32(esp, ecx); /* 0x2B09B9AD: push ecx */ 15348 ecx = MEM32(0x2B0EF12C); /* 0x2B09B9AE: mov ecx, dword ptr [0x2b0ef12c] */ 15349 RECOMP_ICALL(0x2B099A30u); /* 0x2B09B9B4: call 0x2b099a30 */ /* not lifted */ 15350 RECOMP_FLAGS_IN(); 15351 L_2B09B9B9: 15352 esp = ebp; /* 0x2B09B9B9: mov esp, ebp */ 15353 ebp = POP32_VAL(esp); /* 0x2B09B9BB: pop ebp */ 15354 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09B9BC: ret */ 15355 RECOMP_REGS_OUT(); 15356 }