client/game/ddr.dll/lifted-0016.c (669150B)
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_2B03D840(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(0x2B03D840u); 17 18 L_2B03D840: 19 ecx = MEM32(0x2B0EEA14); /* 0x2B03D840: mov ecx, dword ptr [0x2b0eea14] */ 20 /* test ecx, ecx */ /* 0x2B03D846: test ecx, ecx */ 21 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 22 _cf = 0; 23 _flag_k = FK_TEST; 24 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D84F; /* 0x2B03D848: je 0x2b03d84f */ 25 L_2B03D84A: 26 goto L_2B03E950; /* 0x2B03D84A: jmp 0x2b03e950 */ 27 L_2B03D84F: 28 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D84F: ret */ 29 L_2B03E950: 30 PUSH32(esp, esi); /* 0x2B03E950: push esi */ 31 esi = ecx; /* 0x2B03E951: mov esi, ecx */ 32 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E953: mov al, byte ptr [esi + 0x18] */ 33 /* test LO8(eax), LO8(eax) */ /* 0x2B03E956: test al, al */ 34 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35 _cf = 0; 36 _flag_k = FK_NARROW(FK_TEST, 24); 37 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E987; /* 0x2B03E958: je 0x2b03e987 */ 38 L_2B03E95A: 39 ecx = MEM32(esi + 0x38); /* 0x2B03E95A: mov ecx, dword ptr [esi + 0x38] */ 40 eax = 0xFFu; /* 0x2B03E95D: mov eax, 0xff */ 41 /* cmp ecx, eax */ /* 0x2B03E962: cmp ecx, eax */ 42 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 43 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 44 _flag_k = FK_CMP; 45 MEM32(esi + 0x34) = 0x40A00000u; /* 0x2B03E964: mov dword ptr [esi + 0x34], 0x40a00000 */ 46 MEM8(esi + 0x3C) = (uint8_t)(0); /* 0x2B03E96B: mov byte ptr [esi + 0x3c], 0 */ 47 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E987; /* 0x2B03E96F: je 0x2b03e987 */ 48 L_2B03E971: 49 ecx = MEM32(esi + 0x4C); /* 0x2B03E971: mov ecx, dword ptr [esi + 0x4c] */ 50 PUSH32(esp, eax); /* 0x2B03E974: push eax */ 51 MEM32(esi + 0x38) = eax; /* 0x2B03E975: mov dword ptr [esi + 0x38], eax */ 52 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03E978: call dword ptr [0x2b0b5be0] */ 53 RECOMP_FLAGS_IN(); 54 ecx = MEM32(esi + 0x4C); /* 0x2B03E97E: mov ecx, dword ptr [esi + 0x4c] */ 55 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03E981: call dword ptr [0x2b0b5bb4] */ 56 RECOMP_FLAGS_IN(); 57 L_2B03E987: 58 esi = POP32_VAL(esp); /* 0x2B03E987: pop esi */ 59 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E988: ret */ 60 RECOMP_REGS_OUT(); 61 } 62 63 void sub_2B03D850(void) { 64 int _fpu_cmp = 0; 65 uint32_t _cf = 0; 66 int _df = 1; 67 uint32_t _flag_k = FK_NONE; 68 uint32_t _flag_a = 0, _flag_b = 0; 69 uint32_t _itail_tgt = 0; 70 RECOMP_REGS_LOCALS 71 RECOMP_ENTER(0x2B03D850u); 72 73 L_2B03D850: 74 MEM32(0x2B0EEA10) = 0; /* 0x2B03D850: mov dword ptr [0x2b0eea10], 0 */ 75 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D85A: ret */ 76 RECOMP_REGS_OUT(); 77 } 78 79 void sub_2B03D860(void) { 80 int _fpu_cmp = 0; 81 uint32_t _cf = 0; 82 int _df = 1; 83 uint32_t _flag_k = FK_NONE; 84 uint32_t _flag_a = 0, _flag_b = 0; 85 uint32_t _itail_tgt = 0; 86 RECOMP_REGS_LOCALS 87 RECOMP_ENTER(0x2B03D860u); 88 89 L_2B03D860: 90 PUSH32(esp, ebp); /* 0x2B03D860: push ebp */ 91 ebp = esp; /* 0x2B03D861: mov ebp, esp */ 92 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03D863: push -1 */ 93 PUSH32(esp, 0x2B0AEA3Bu); /* 0x2B03D865: push 0x2b0aea3b */ 94 eax = MEM32(FS_BASE + (0)); /* 0x2B03D86A: mov eax, dword ptr fs:[0] */ 95 PUSH32(esp, eax); /* 0x2B03D870: push eax */ 96 MEM32(FS_BASE + (0)) = esp; /* 0x2B03D871: mov dword ptr fs:[0], esp */ 97 PUSH32(esp, ecx); /* 0x2B03D878: push ecx */ 98 PUSH32(esp, 0x50u); /* 0x2B03D879: push 0x50 */ 99 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D87B: call 0x2b0ab212 */ /* not lifted */ 100 RECOMP_FLAGS_IN(); 101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 103 esp = esp + 4; /* 0x2B03D880: add esp, 4 */ 104 _flag_k = FK_ADD; 105 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D883: mov dword ptr [ebp - 0x10], eax */ 106 /* test eax, eax */ /* 0x2B03D886: test eax, eax */ 107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 108 _cf = 0; 109 _flag_k = FK_TEST; 110 MEM32(ebp + (-0x4)) = 0; /* 0x2B03D888: mov dword ptr [ebp - 4], 0 */ 111 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D8AB; /* 0x2B03D88F: je 0x2b03d8ab */ 112 L_2B03D891: 113 ecx = eax; /* 0x2B03D891: mov ecx, eax */ 114 RECOMP_ICALL(0x2B03E040u); /* 0x2B03D893: call 0x2b03e040 */ /* not lifted */ 115 RECOMP_FLAGS_IN(); 116 MEM32(0x2B0EEA14) = eax; /* 0x2B03D898: mov dword ptr [0x2b0eea14], eax */ 117 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D89D: mov ecx, dword ptr [ebp - 0xc] */ 118 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D8A0: mov dword ptr fs:[0], ecx */ 119 esp = ebp; /* 0x2B03D8A7: mov esp, ebp */ 120 ebp = POP32_VAL(esp); /* 0x2B03D8A9: pop ebp */ 121 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D8AA: ret */ 122 L_2B03D8AB: 123 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D8AB: mov ecx, dword ptr [ebp - 0xc] */ 124 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 125 eax = 0; /* 0x2B03D8AE: xor eax, eax */ 126 _cf = 0; 127 _flag_k = FK_TEST; 128 MEM32(0x2B0EEA14) = eax; /* 0x2B03D8B0: mov dword ptr [0x2b0eea14], eax */ 129 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D8B5: mov dword ptr fs:[0], ecx */ 130 esp = ebp; /* 0x2B03D8BC: mov esp, ebp */ 131 ebp = POP32_VAL(esp); /* 0x2B03D8BE: pop ebp */ 132 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D8BF: ret */ 133 RECOMP_REGS_OUT(); 134 } 135 136 void sub_2B03D8C0(void) { 137 int _fpu_cmp = 0; 138 uint32_t _cf = 0; 139 int _df = 1; 140 uint32_t _flag_k = FK_NONE; 141 uint32_t _flag_a = 0, _flag_b = 0; 142 uint32_t _itail_tgt = 0; 143 RECOMP_REGS_LOCALS 144 RECOMP_ENTER(0x2B03D8C0u); 145 146 L_2B03D8C0: 147 PUSH32(esp, esi); /* 0x2B03D8C0: push esi */ 148 esi = MEM32(0x2B0EEA14); /* 0x2B03D8C1: mov esi, dword ptr [0x2b0eea14] */ 149 /* test esi, esi */ /* 0x2B03D8C7: test esi, esi */ 150 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 151 _cf = 0; 152 _flag_k = FK_TEST; 153 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D8DB; /* 0x2B03D8C9: je 0x2b03d8db */ 154 L_2B03D8CB: 155 ecx = esi; /* 0x2B03D8CB: mov ecx, esi */ 156 RECOMP_ICALL(0x2B03E510u); /* 0x2B03D8CD: call 0x2b03e510 */ /* not lifted */ 157 RECOMP_FLAGS_IN(); 158 PUSH32(esp, esi); /* 0x2B03D8D2: push esi */ 159 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03D8D3: call 0x2b0ab1ba */ /* not lifted */ 160 RECOMP_FLAGS_IN(); 161 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 162 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 163 esp = esp + 4; /* 0x2B03D8D8: add esp, 4 */ 164 _flag_k = FK_ADD; 165 L_2B03D8DB: 166 MEM32(0x2B0EEA14) = 0; /* 0x2B03D8DB: mov dword ptr [0x2b0eea14], 0 */ 167 esi = POP32_VAL(esp); /* 0x2B03D8E5: pop esi */ 168 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D8E6: ret */ 169 RECOMP_REGS_OUT(); 170 } 171 172 void sub_2B03D8F0(void) { 173 int _fpu_cmp = 0; 174 uint32_t _cf = 0; 175 int _df = 1; 176 uint32_t _flag_k = FK_NONE; 177 uint32_t _flag_a = 0, _flag_b = 0; 178 uint32_t _itail_tgt = 0; 179 RECOMP_REGS_LOCALS 180 RECOMP_ENTER(0x2B03D8F0u); 181 182 L_2B03D8F0: 183 ecx = MEM32(0x2B0EEA14); /* 0x2B03D8F0: mov ecx, dword ptr [0x2b0eea14] */ 184 goto L_2B03E8B0; /* 0x2B03D8F6: jmp 0x2b03e8b0 */ 185 L_2B03E8B0: 186 PUSH32(esp, ebp); /* 0x2B03E8B0: push ebp */ 187 ebp = esp; /* 0x2B03E8B1: mov ebp, esp */ 188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 190 esp = esp - 0x28u; /* 0x2B03E8B3: sub esp, 0x28 */ 191 _flag_k = FK_CMP; 192 eax = MEM32(0x2B0B58C8); /* 0x2B03E8B6: mov eax, dword ptr [0x2b0b58c8] */ 193 PUSH32(esp, ebx); /* 0x2B03E8BB: push ebx */ 194 ebx = ecx; /* 0x2B03E8BC: mov ebx, ecx */ 195 /* cmp MEM8(eax), 0 */ /* 0x2B03E8BE: cmp byte ptr [eax], 0 */ 196 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 198 _flag_k = FK_NARROW(FK_CMP, 24); 199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E93F; /* 0x2B03E8C1: je 0x2b03e93f */ 200 L_2B03E8C3: 201 PUSH32(esp, esi); /* 0x2B03E8C3: push esi */ 202 PUSH32(esp, edi); /* 0x2B03E8C4: push edi */ 203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 204 esi = 0; /* 0x2B03E8C5: xor esi, esi */ 205 _cf = 0; 206 _flag_k = FK_TEST; 207 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 208 eax = 0; /* 0x2B03E8C7: xor eax, eax */ 209 _cf = 0; 210 _flag_k = FK_TEST; 211 MEM32(ebp + (-0x28)) = esi; /* 0x2B03E8C9: mov dword ptr [ebp - 0x28], esi */ 212 MEM32(ebp + (-0x24)) = esi; /* 0x2B03E8CC: mov dword ptr [ebp - 0x24], esi */ 213 ecx = 0xAu; /* 0x2B03E8CF: mov ecx, 0xa */ 214 edi = ebp + (-0x28); /* 0x2B03E8D4: lea edi, [ebp - 0x28] */ 215 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E8D7: 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; } 216 MEM32(ebp + (-0xC)) = 0x30u; /* 0x2B03E8D9: mov dword ptr [ebp - 0xc], 0x30 */ 217 MEM32(ebp + (-0x10)) = 0xDu; /* 0x2B03E8E0: mov dword ptr [ebp - 0x10], 0xd */ 218 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03E8E7: call dword ptr [0x2b0b5d6c] */ 219 RECOMP_FLAGS_IN(); 220 ecx = eax; /* 0x2B03E8ED: mov ecx, eax */ 221 RECOMP_ICALL(MEM32(0x2B0B5EE8)); /* 0x2B03E8EF: call dword ptr [0x2b0b5ee8] */ 222 RECOMP_FLAGS_IN(); 223 edi = eax; /* 0x2B03E8F5: mov edi, eax */ 224 /* cmp edi, esi */ /* 0x2B03E8F7: cmp edi, esi */ 225 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 227 _flag_k = FK_CMP; 228 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E92E; /* 0x2B03E8F9: je 0x2b03e92e */ 229 L_2B03E8FB: 230 ecx = MEM32(ebx); /* 0x2B03E8FB: mov ecx, dword ptr [ebx] */ 231 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B03E8FD: call dword ptr [0x2b0b58cc] */ 232 RECOMP_FLAGS_IN(); 233 eax = MEM32(edi + 0x8); /* 0x2B03E903: mov eax, dword ptr [edi + 8] */ 234 /* test eax, eax */ /* 0x2B03E906: test eax, eax */ 235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 236 _cf = 0; 237 _flag_k = FK_TEST; 238 ecx = MEM32(edi + 0x4); /* 0x2B03E908: mov ecx, dword ptr [edi + 4] */ 239 esi = MEM32(ecx); /* 0x2B03E90B: mov esi, dword ptr [ecx] */ 240 if (TEST_LE(_flag_a, _flag_b)) goto L_2B03E92E; /* 0x2B03E90D: jle 0x2b03e92e */ 241 L_2B03E90F: 242 edi = eax; /* 0x2B03E90F: mov edi, eax */ 243 L_2B03E911: 244 edx = MEM32(esi + 0x8); /* 0x2B03E911: mov edx, dword ptr [esi + 8] */ 245 ecx = ebp + (-0x28); /* 0x2B03E914: lea ecx, [ebp - 0x28] */ 246 MEM32(ebp + (-0x28)) = edx; /* 0x2B03E917: mov dword ptr [ebp - 0x28], edx */ 247 eax = MEM32(esi + 0xC); /* 0x2B03E91A: mov eax, dword ptr [esi + 0xc] */ 248 PUSH32(esp, ecx); /* 0x2B03E91D: push ecx */ 249 ecx = MEM32(ebx); /* 0x2B03E91E: mov ecx, dword ptr [ebx] */ 250 MEM32(ebp + (-0x24)) = eax; /* 0x2B03E920: mov dword ptr [ebp - 0x24], eax */ 251 RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B03E923: call dword ptr [0x2b0b58d0] */ 252 RECOMP_FLAGS_IN(); 253 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 254 edi = edi - 1; /* 0x2B03E929: dec edi */ 255 _flag_k = FK_DEC; 256 esi = MEM32(esi); /* 0x2B03E92A: mov esi, dword ptr [esi] */ 257 RECOMP_BACKEDGE(); 258 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B03E911; /* 0x2B03E92C: jne 0x2b03e911 */ 259 L_2B03E92E: 260 ecx = MEM32(ebx); /* 0x2B03E92E: mov ecx, dword ptr [ebx] */ 261 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B03E930: call dword ptr [0x2b0b58d4] */ 262 RECOMP_FLAGS_IN(); 263 ecx = ebx; /* 0x2B03E936: mov ecx, ebx */ 264 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E938: call 0x2b03e6f0 */ /* not lifted */ 265 RECOMP_FLAGS_IN(); 266 edi = POP32_VAL(esp); /* 0x2B03E93D: pop edi */ 267 esi = POP32_VAL(esp); /* 0x2B03E93E: pop esi */ 268 L_2B03E93F: 269 ebx = POP32_VAL(esp); /* 0x2B03E93F: pop ebx */ 270 esp = ebp; /* 0x2B03E940: mov esp, ebp */ 271 ebp = POP32_VAL(esp); /* 0x2B03E942: pop ebp */ 272 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E943: ret */ 273 RECOMP_REGS_OUT(); 274 } 275 276 void sub_2B03D900(void) { 277 int _fpu_cmp = 0; 278 uint32_t _cf = 0; 279 int _df = 1; 280 uint32_t _flag_k = FK_NONE; 281 uint32_t _flag_a = 0, _flag_b = 0; 282 uint32_t _itail_tgt = 0; 283 RECOMP_REGS_LOCALS 284 RECOMP_ENTER(0x2B03D900u); 285 286 L_2B03D900: 287 PUSH32(esp, ebp); /* 0x2B03D900: push ebp */ 288 ebp = esp; /* 0x2B03D901: mov ebp, esp */ 289 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 291 esp = esp - 0x10u; /* 0x2B03D903: sub esp, 0x10 */ 292 _flag_k = FK_CMP; 293 PUSH32(esp, ebx); /* 0x2B03D906: push ebx */ 294 PUSH32(esp, esi); /* 0x2B03D907: push esi */ 295 esi = MEM32(0x2B0B53CC); /* 0x2B03D908: mov esi, dword ptr [0x2b0b53cc] */ 296 PUSH32(esp, edi); /* 0x2B03D90E: push edi */ 297 RECOMP_ICALL(esi); /* 0x2B03D90F: call esi */ 298 RECOMP_FLAGS_IN(); 299 ecx = eax; /* 0x2B03D911: mov ecx, eax */ 300 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03D913: call dword ptr [0x2b0b53a4] */ 301 RECOMP_FLAGS_IN(); 302 edi = eax; /* 0x2B03D919: mov edi, eax */ 303 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 304 eax = 0; /* 0x2B03D91B: xor eax, eax */ 305 _cf = 0; 306 _flag_k = FK_TEST; 307 MEM32(ebp + (-0x8)) = eax; /* 0x2B03D91D: mov dword ptr [ebp - 8], eax */ 308 MEM32(ebp + (-0x4)) = eax; /* 0x2B03D920: mov dword ptr [ebp - 4], eax */ 309 eax = ebp + (-0x8); /* 0x2B03D923: lea eax, [ebp - 8] */ 310 PUSH32(esp, eax); /* 0x2B03D926: push eax */ 311 RECOMP_ICALL(esi); /* 0x2B03D927: call esi */ 312 RECOMP_FLAGS_IN(); 313 ecx = eax; /* 0x2B03D929: mov ecx, eax */ 314 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03D92B: call dword ptr [0x2b0b53ac] */ 315 RECOMP_FLAGS_IN(); 316 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D931: call dword ptr [0x2b0b596c] */ 317 RECOMP_FLAGS_IN(); 318 ecx = eax; /* 0x2B03D937: mov ecx, eax */ 319 RECOMP_ICALL(MEM32(0x2B0B5914)); /* 0x2B03D939: call dword ptr [0x2b0b5914] */ 320 RECOMP_FLAGS_IN(); 321 ebx = eax; /* 0x2B03D93F: mov ebx, eax */ 322 /* test ebx, ebx */ /* 0x2B03D941: test ebx, ebx */ 323 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 324 _cf = 0; 325 _flag_k = FK_TEST; 326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DACC; /* 0x2B03D943: je 0x2b03dacc */ 327 L_2B03D949: 328 SET_LO8(eax, MEM8(edi + 0x70)); /* 0x2B03D949: mov al, byte ptr [edi + 0x70] */ 329 /* test LO8(eax), LO8(eax) */ /* 0x2B03D94C: test al, al */ 330 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 331 _cf = 0; 332 _flag_k = FK_NARROW(FK_TEST, 24); 333 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D9CB; /* 0x2B03D94E: je 0x2b03d9cb */ 334 L_2B03D950: 335 /* cmp MEM32(ebx + 0x88), 0xDu */ /* 0x2B03D950: cmp dword ptr [ebx + 0x88], 0xd */ 336 _flag_a = (uint32_t)(MEM32(ebx + 0x88)); _flag_b = (uint32_t)(0xDu); 337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 338 _flag_k = FK_CMP; 339 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03D98E; /* 0x2B03D957: jne 0x2b03d98e */ 340 L_2B03D959: 341 edx = MEM32(0x2B0EEA14); /* 0x2B03D959: mov edx, dword ptr [0x2b0eea14] */ 342 ecx = ebp + (-0x8); /* 0x2B03D95F: lea ecx, [ebp - 8] */ 343 PUSH32(esp, ecx); /* 0x2B03D962: push ecx */ 344 ecx = MEM32(edx); /* 0x2B03D963: mov ecx, dword ptr [edx] */ 345 PUSH32(esp, edi); /* 0x2B03D965: push edi */ 346 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03D966: call dword ptr [0x2b0b5918] */ 347 RECOMP_FLAGS_IN(); 348 PUSH32(esp, 0); /* 0x2B03D96C: push 0 */ 349 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D96E: call dword ptr [0x2b0b596c] */ 350 RECOMP_FLAGS_IN(); 351 ecx = eax; /* 0x2B03D974: mov ecx, eax */ 352 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D976: call dword ptr [0x2b0b591c] */ 353 RECOMP_FLAGS_IN(); 354 ecx = MEM32(0x2B0EEA14); /* 0x2B03D97C: mov ecx, dword ptr [0x2b0eea14] */ 355 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03D982: call 0x2b03e8b0 */ /* not lifted */ 356 RECOMP_FLAGS_IN(); 357 edi = POP32_VAL(esp); /* 0x2B03D987: pop edi */ 358 esi = POP32_VAL(esp); /* 0x2B03D988: pop esi */ 359 ebx = POP32_VAL(esp); /* 0x2B03D989: pop ebx */ 360 esp = ebp; /* 0x2B03D98A: mov esp, ebp */ 361 ebp = POP32_VAL(esp); /* 0x2B03D98C: pop ebp */ 362 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D98D: ret */ 363 L_2B03D98E: 364 eax = MEM32(0x2B0EEA14); /* 0x2B03D98E: mov eax, dword ptr [0x2b0eea14] */ 365 ecx = MEM32(eax); /* 0x2B03D993: mov ecx, dword ptr [eax] */ 366 PUSH32(esp, 0); /* 0x2B03D995: push 0 */ 367 PUSH32(esp, edi); /* 0x2B03D997: push edi */ 368 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03D998: call dword ptr [0x2b0b5918] */ 369 RECOMP_FLAGS_IN(); 370 ecx = ebp + (-0x8); /* 0x2B03D99E: lea ecx, [ebp - 8] */ 371 PUSH32(esp, ecx); /* 0x2B03D9A1: push ecx */ 372 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03D9A2: call dword ptr [0x2b0b5d6c] */ 373 RECOMP_FLAGS_IN(); 374 ecx = eax; /* 0x2B03D9A8: mov ecx, eax */ 375 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03D9AA: call dword ptr [0x2b0b5efc] */ 376 RECOMP_FLAGS_IN(); 377 /* test LO8(eax), LO8(eax) */ /* 0x2B03D9B0: test al, al */ 378 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 379 _cf = 0; 380 _flag_k = FK_NARROW(FK_TEST, 24); 381 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D9FA; /* 0x2B03D9B2: jne 0x2b03d9fa */ 382 L_2B03D9B4: 383 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9B4: call dword ptr [0x2b0b596c] */ 384 RECOMP_FLAGS_IN(); 385 PUSH32(esp, 1); /* 0x2B03D9BA: push 1 */ 386 ecx = eax; /* 0x2B03D9BC: mov ecx, eax */ 387 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D9BE: call dword ptr [0x2b0b591c] */ 388 RECOMP_FLAGS_IN(); 389 edi = POP32_VAL(esp); /* 0x2B03D9C4: pop edi */ 390 esi = POP32_VAL(esp); /* 0x2B03D9C5: pop esi */ 391 ebx = POP32_VAL(esp); /* 0x2B03D9C6: pop ebx */ 392 esp = ebp; /* 0x2B03D9C7: mov esp, ebp */ 393 ebp = POP32_VAL(esp); /* 0x2B03D9C9: pop ebp */ 394 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D9CA: ret */ 395 L_2B03D9CB: 396 esi = edi + 0x54; /* 0x2B03D9CB: lea esi, [edi + 0x54] */ 397 edx = ebp + (-0x10); /* 0x2B03D9CE: lea edx, [ebp - 0x10] */ 398 /* cmp edx, esi */ /* 0x2B03D9D1: cmp edx, esi */ 399 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 401 _flag_k = FK_CMP; 402 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D9E0; /* 0x2B03D9D3: je 0x2b03d9e0 */ 403 L_2B03D9D5: 404 eax = MEM32(esi); /* 0x2B03D9D5: mov eax, dword ptr [esi] */ 405 ecx = MEM32(esi + 0x4); /* 0x2B03D9D7: mov ecx, dword ptr [esi + 4] */ 406 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D9DA: mov dword ptr [ebp - 0x10], eax */ 407 MEM32(ebp + (-0xC)) = ecx; /* 0x2B03D9DD: mov dword ptr [ebp - 0xc], ecx */ 408 L_2B03D9E0: 409 edx = ebp + (-0x8); /* 0x2B03D9E0: lea edx, [ebp - 8] */ 410 PUSH32(esp, edx); /* 0x2B03D9E3: push edx */ 411 eax = ebp + (-0x10); /* 0x2B03D9E4: lea eax, [ebp - 0x10] */ 412 PUSH32(esp, eax); /* 0x2B03D9E7: push eax */ 413 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03D9E8: call dword ptr [0x2b0b5d6c] */ 414 RECOMP_FLAGS_IN(); 415 ecx = eax; /* 0x2B03D9EE: mov ecx, eax */ 416 RECOMP_ICALL(MEM32(0x2B0B5F00)); /* 0x2B03D9F0: call dword ptr [0x2b0b5f00] */ 417 RECOMP_FLAGS_IN(); 418 /* test LO8(eax), LO8(eax) */ /* 0x2B03D9F6: test al, al */ 419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 420 _cf = 0; 421 _flag_k = FK_NARROW(FK_TEST, 24); 422 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DA11; /* 0x2B03D9F8: je 0x2b03da11 */ 423 L_2B03D9FA: 424 PUSH32(esp, 0); /* 0x2B03D9FA: push 0 */ 425 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9FC: call dword ptr [0x2b0b596c] */ 426 RECOMP_FLAGS_IN(); 427 ecx = eax; /* 0x2B03DA02: mov ecx, eax */ 428 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DA04: call dword ptr [0x2b0b591c] */ 429 RECOMP_FLAGS_IN(); 430 edi = POP32_VAL(esp); /* 0x2B03DA0A: pop edi */ 431 esi = POP32_VAL(esp); /* 0x2B03DA0B: pop esi */ 432 ebx = POP32_VAL(esp); /* 0x2B03DA0C: pop ebx */ 433 esp = ebp; /* 0x2B03DA0D: mov esp, ebp */ 434 ebp = POP32_VAL(esp); /* 0x2B03DA0F: pop ebp */ 435 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DA10: ret */ 436 L_2B03DA11: 437 ecx = ebp + (-0x10); /* 0x2B03DA11: lea ecx, [ebp - 0x10] */ 438 /* cmp ecx, esi */ /* 0x2B03DA14: cmp ecx, esi */ 439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 441 _flag_k = FK_CMP; 442 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DA1F; /* 0x2B03DA16: je 0x2b03da1f */ 443 L_2B03DA18: 444 eax = MEM32(esi); /* 0x2B03DA18: mov eax, dword ptr [esi] */ 445 esi = MEM32(esi + 0x4); /* 0x2B03DA1A: mov esi, dword ptr [esi + 4] */ 446 goto L_2B03DA25; /* 0x2B03DA1D: jmp 0x2b03da25 */ 447 L_2B03DA1F: 448 esi = MEM32(ebp + (-0xC)); /* 0x2B03DA1F: mov esi, dword ptr [ebp - 0xc] */ 449 eax = MEM32(ebp + (-0x10)); /* 0x2B03DA22: mov eax, dword ptr [ebp - 0x10] */ 450 L_2B03DA25: 451 /* cmp esi, MEM32(ebp + (-0x4)) */ /* 0x2B03DA25: cmp esi, dword ptr [ebp - 4] */ 452 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 454 _flag_k = FK_CMP; 455 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA2F; /* 0x2B03DA28: jne 0x2b03da2f */ 456 L_2B03DA2A: 457 /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x2B03DA2A: cmp eax, dword ptr [ebp - 8] */ 458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 460 _flag_k = FK_CMP; 461 RECOMP_BACKEDGE(); 462 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D9B4; /* 0x2B03DA2D: je 0x2b03d9b4 */ 463 L_2B03DA2F: 464 /* cmp MEM32(ebx + 0x88), 0xDu */ /* 0x2B03DA2F: cmp dword ptr [ebx + 0x88], 0xd */ 465 _flag_a = (uint32_t)(MEM32(ebx + 0x88)); _flag_b = (uint32_t)(0xDu); 466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 467 _flag_k = FK_CMP; 468 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA7B; /* 0x2B03DA36: jne 0x2b03da7b */ 469 L_2B03DA38: 470 PUSH32(esp, 0); /* 0x2B03DA38: push 0 */ 471 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA3A: call dword ptr [0x2b0b596c] */ 472 RECOMP_FLAGS_IN(); 473 ecx = eax; /* 0x2B03DA40: mov ecx, eax */ 474 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DA42: call dword ptr [0x2b0b591c] */ 475 RECOMP_FLAGS_IN(); 476 PUSH32(esp, edi); /* 0x2B03DA48: push edi */ 477 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA49: call dword ptr [0x2b0b596c] */ 478 RECOMP_FLAGS_IN(); 479 ecx = eax; /* 0x2B03DA4F: mov ecx, eax */ 480 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DA51: call dword ptr [0x2b0b5920] */ 481 RECOMP_FLAGS_IN(); 482 eax = MEM32(0x2B0EEA14); /* 0x2B03DA57: mov eax, dword ptr [0x2b0eea14] */ 483 ecx = MEM32(eax); /* 0x2B03DA5C: mov ecx, dword ptr [eax] */ 484 edx = ebp + (-0x8); /* 0x2B03DA5E: lea edx, [ebp - 8] */ 485 PUSH32(esp, edx); /* 0x2B03DA61: push edx */ 486 PUSH32(esp, edi); /* 0x2B03DA62: push edi */ 487 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DA63: call dword ptr [0x2b0b5918] */ 488 RECOMP_FLAGS_IN(); 489 ecx = MEM32(0x2B0EEA14); /* 0x2B03DA69: mov ecx, dword ptr [0x2b0eea14] */ 490 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03DA6F: call 0x2b03e8b0 */ /* not lifted */ 491 RECOMP_FLAGS_IN(); 492 edi = POP32_VAL(esp); /* 0x2B03DA74: pop edi */ 493 esi = POP32_VAL(esp); /* 0x2B03DA75: pop esi */ 494 ebx = POP32_VAL(esp); /* 0x2B03DA76: pop ebx */ 495 esp = ebp; /* 0x2B03DA77: mov esp, ebp */ 496 ebp = POP32_VAL(esp); /* 0x2B03DA79: pop ebp */ 497 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DA7A: ret */ 498 L_2B03DA7B: 499 ecx = ebp + (-0x8); /* 0x2B03DA7B: lea ecx, [ebp - 8] */ 500 PUSH32(esp, ecx); /* 0x2B03DA7E: push ecx */ 501 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DA7F: call dword ptr [0x2b0b5d6c] */ 502 RECOMP_FLAGS_IN(); 503 ecx = eax; /* 0x2B03DA85: mov ecx, eax */ 504 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03DA87: call dword ptr [0x2b0b5efc] */ 505 RECOMP_FLAGS_IN(); 506 /* test LO8(eax), LO8(eax) */ /* 0x2B03DA8D: test al, al */ 507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 508 _cf = 0; 509 _flag_k = FK_NARROW(FK_TEST, 24); 510 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03DA9B; /* 0x2B03DA8F: jne 0x2b03da9b */ 511 L_2B03DA91: 512 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA91: call dword ptr [0x2b0b596c] */ 513 RECOMP_FLAGS_IN(); 514 PUSH32(esp, 1); /* 0x2B03DA97: push 1 */ 515 goto L_2B03DAA3; /* 0x2B03DA99: jmp 0x2b03daa3 */ 516 L_2B03DA9B: 517 PUSH32(esp, 0); /* 0x2B03DA9B: push 0 */ 518 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA9D: call dword ptr [0x2b0b596c] */ 519 RECOMP_FLAGS_IN(); 520 L_2B03DAA3: 521 ecx = eax; /* 0x2B03DAA3: mov ecx, eax */ 522 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DAA5: call dword ptr [0x2b0b591c] */ 523 RECOMP_FLAGS_IN(); 524 PUSH32(esp, edi); /* 0x2B03DAAB: push edi */ 525 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DAAC: call dword ptr [0x2b0b596c] */ 526 RECOMP_FLAGS_IN(); 527 ecx = eax; /* 0x2B03DAB2: mov ecx, eax */ 528 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DAB4: call dword ptr [0x2b0b5920] */ 529 RECOMP_FLAGS_IN(); 530 eax = MEM32(0x2B0EEA14); /* 0x2B03DABA: mov eax, dword ptr [0x2b0eea14] */ 531 ecx = MEM32(eax); /* 0x2B03DABF: mov ecx, dword ptr [eax] */ 532 edx = ebp + (-0x8); /* 0x2B03DAC1: lea edx, [ebp - 8] */ 533 PUSH32(esp, edx); /* 0x2B03DAC4: push edx */ 534 PUSH32(esp, edi); /* 0x2B03DAC5: push edi */ 535 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DAC6: call dword ptr [0x2b0b5918] */ 536 RECOMP_FLAGS_IN(); 537 L_2B03DACC: 538 edi = POP32_VAL(esp); /* 0x2B03DACC: pop edi */ 539 esi = POP32_VAL(esp); /* 0x2B03DACD: pop esi */ 540 ebx = POP32_VAL(esp); /* 0x2B03DACE: pop ebx */ 541 esp = ebp; /* 0x2B03DACF: mov esp, ebp */ 542 ebp = POP32_VAL(esp); /* 0x2B03DAD1: pop ebp */ 543 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DAD2: ret */ 544 RECOMP_REGS_OUT(); 545 } 546 547 void sub_2B03D9B4(void) { 548 int _fpu_cmp = 0; 549 uint32_t _cf = 0; 550 int _df = 1; 551 uint32_t _flag_k = FK_NONE; 552 uint32_t _flag_a = 0, _flag_b = 0; 553 uint32_t _itail_tgt = 0; 554 RECOMP_REGS_LOCALS 555 RECOMP_ENTER(0x2B03D9B4u); 556 557 L_2B03D9B4: 558 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9B4: call dword ptr [0x2b0b596c] */ 559 RECOMP_FLAGS_IN(); 560 PUSH32(esp, 1); /* 0x2B03D9BA: push 1 */ 561 ecx = eax; /* 0x2B03D9BC: mov ecx, eax */ 562 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D9BE: call dword ptr [0x2b0b591c] */ 563 RECOMP_FLAGS_IN(); 564 edi = POP32_VAL(esp); /* 0x2B03D9C4: pop edi */ 565 esi = POP32_VAL(esp); /* 0x2B03D9C5: pop esi */ 566 ebx = POP32_VAL(esp); /* 0x2B03D9C6: pop ebx */ 567 esp = ebp; /* 0x2B03D9C7: mov esp, ebp */ 568 ebp = POP32_VAL(esp); /* 0x2B03D9C9: pop ebp */ 569 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D9CA: ret */ 570 RECOMP_REGS_OUT(); 571 } 572 573 void sub_2B03DA1A(void) { 574 int _fpu_cmp = 0; 575 uint32_t _cf = 0; 576 int _df = 1; 577 uint32_t _flag_k = FK_NONE; 578 uint32_t _flag_a = 0, _flag_b = 0; 579 uint32_t _itail_tgt = 0; 580 RECOMP_REGS_LOCALS 581 RECOMP_ENTER(0x2B03DA1Au); 582 583 goto L_2B03DA1A; 584 L_2B03D9B4: 585 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9B4: call dword ptr [0x2b0b596c] */ 586 RECOMP_FLAGS_IN(); 587 PUSH32(esp, 1); /* 0x2B03D9BA: push 1 */ 588 ecx = eax; /* 0x2B03D9BC: mov ecx, eax */ 589 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D9BE: call dword ptr [0x2b0b591c] */ 590 RECOMP_FLAGS_IN(); 591 edi = POP32_VAL(esp); /* 0x2B03D9C4: pop edi */ 592 esi = POP32_VAL(esp); /* 0x2B03D9C5: pop esi */ 593 ebx = POP32_VAL(esp); /* 0x2B03D9C6: pop ebx */ 594 esp = ebp; /* 0x2B03D9C7: mov esp, ebp */ 595 ebp = POP32_VAL(esp); /* 0x2B03D9C9: pop ebp */ 596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D9CA: ret */ 597 L_2B03DA1A: 598 esi = MEM32(esi + 0x4); /* 0x2B03DA1A: mov esi, dword ptr [esi + 4] */ 599 goto L_2B03DA25; /* 0x2B03DA1D: jmp 0x2b03da25 */ 600 L_2B03DA25: 601 /* cmp esi, MEM32(ebp + (-0x4)) */ /* 0x2B03DA25: cmp esi, dword ptr [ebp - 4] */ 602 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 604 _flag_k = FK_CMP; 605 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA2F; /* 0x2B03DA28: jne 0x2b03da2f */ 606 L_2B03DA2A: 607 /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x2B03DA2A: cmp eax, dword ptr [ebp - 8] */ 608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 610 _flag_k = FK_CMP; 611 RECOMP_BACKEDGE(); 612 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D9B4; /* 0x2B03DA2D: je 0x2b03d9b4 */ 613 L_2B03DA2F: 614 /* cmp MEM32(ebx + 0x88), 0xDu */ /* 0x2B03DA2F: cmp dword ptr [ebx + 0x88], 0xd */ 615 _flag_a = (uint32_t)(MEM32(ebx + 0x88)); _flag_b = (uint32_t)(0xDu); 616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 617 _flag_k = FK_CMP; 618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA7B; /* 0x2B03DA36: jne 0x2b03da7b */ 619 L_2B03DA38: 620 PUSH32(esp, 0); /* 0x2B03DA38: push 0 */ 621 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA3A: call dword ptr [0x2b0b596c] */ 622 RECOMP_FLAGS_IN(); 623 ecx = eax; /* 0x2B03DA40: mov ecx, eax */ 624 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DA42: call dword ptr [0x2b0b591c] */ 625 RECOMP_FLAGS_IN(); 626 PUSH32(esp, edi); /* 0x2B03DA48: push edi */ 627 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA49: call dword ptr [0x2b0b596c] */ 628 RECOMP_FLAGS_IN(); 629 ecx = eax; /* 0x2B03DA4F: mov ecx, eax */ 630 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DA51: call dword ptr [0x2b0b5920] */ 631 RECOMP_FLAGS_IN(); 632 eax = MEM32(0x2B0EEA14); /* 0x2B03DA57: mov eax, dword ptr [0x2b0eea14] */ 633 ecx = MEM32(eax); /* 0x2B03DA5C: mov ecx, dword ptr [eax] */ 634 edx = ebp + (-0x8); /* 0x2B03DA5E: lea edx, [ebp - 8] */ 635 PUSH32(esp, edx); /* 0x2B03DA61: push edx */ 636 PUSH32(esp, edi); /* 0x2B03DA62: push edi */ 637 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DA63: call dword ptr [0x2b0b5918] */ 638 RECOMP_FLAGS_IN(); 639 ecx = MEM32(0x2B0EEA14); /* 0x2B03DA69: mov ecx, dword ptr [0x2b0eea14] */ 640 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03DA6F: call 0x2b03e8b0 */ /* not lifted */ 641 RECOMP_FLAGS_IN(); 642 edi = POP32_VAL(esp); /* 0x2B03DA74: pop edi */ 643 esi = POP32_VAL(esp); /* 0x2B03DA75: pop esi */ 644 ebx = POP32_VAL(esp); /* 0x2B03DA76: pop ebx */ 645 esp = ebp; /* 0x2B03DA77: mov esp, ebp */ 646 ebp = POP32_VAL(esp); /* 0x2B03DA79: pop ebp */ 647 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DA7A: ret */ 648 L_2B03DA7B: 649 ecx = ebp + (-0x8); /* 0x2B03DA7B: lea ecx, [ebp - 8] */ 650 PUSH32(esp, ecx); /* 0x2B03DA7E: push ecx */ 651 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DA7F: call dword ptr [0x2b0b5d6c] */ 652 RECOMP_FLAGS_IN(); 653 ecx = eax; /* 0x2B03DA85: mov ecx, eax */ 654 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03DA87: call dword ptr [0x2b0b5efc] */ 655 RECOMP_FLAGS_IN(); 656 /* test LO8(eax), LO8(eax) */ /* 0x2B03DA8D: test al, al */ 657 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 658 _cf = 0; 659 _flag_k = FK_NARROW(FK_TEST, 24); 660 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03DA9B; /* 0x2B03DA8F: jne 0x2b03da9b */ 661 L_2B03DA91: 662 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA91: call dword ptr [0x2b0b596c] */ 663 RECOMP_FLAGS_IN(); 664 PUSH32(esp, 1); /* 0x2B03DA97: push 1 */ 665 goto L_2B03DAA3; /* 0x2B03DA99: jmp 0x2b03daa3 */ 666 L_2B03DA9B: 667 PUSH32(esp, 0); /* 0x2B03DA9B: push 0 */ 668 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA9D: call dword ptr [0x2b0b596c] */ 669 RECOMP_FLAGS_IN(); 670 L_2B03DAA3: 671 ecx = eax; /* 0x2B03DAA3: mov ecx, eax */ 672 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DAA5: call dword ptr [0x2b0b591c] */ 673 RECOMP_FLAGS_IN(); 674 PUSH32(esp, edi); /* 0x2B03DAAB: push edi */ 675 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DAAC: call dword ptr [0x2b0b596c] */ 676 RECOMP_FLAGS_IN(); 677 ecx = eax; /* 0x2B03DAB2: mov ecx, eax */ 678 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DAB4: call dword ptr [0x2b0b5920] */ 679 RECOMP_FLAGS_IN(); 680 eax = MEM32(0x2B0EEA14); /* 0x2B03DABA: mov eax, dword ptr [0x2b0eea14] */ 681 ecx = MEM32(eax); /* 0x2B03DABF: mov ecx, dword ptr [eax] */ 682 edx = ebp + (-0x8); /* 0x2B03DAC1: lea edx, [ebp - 8] */ 683 PUSH32(esp, edx); /* 0x2B03DAC4: push edx */ 684 PUSH32(esp, edi); /* 0x2B03DAC5: push edi */ 685 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DAC6: call dword ptr [0x2b0b5918] */ 686 RECOMP_FLAGS_IN(); 687 edi = POP32_VAL(esp); /* 0x2B03DACC: pop edi */ 688 esi = POP32_VAL(esp); /* 0x2B03DACD: pop esi */ 689 ebx = POP32_VAL(esp); /* 0x2B03DACE: pop ebx */ 690 esp = ebp; /* 0x2B03DACF: mov esp, ebp */ 691 ebp = POP32_VAL(esp); /* 0x2B03DAD1: pop ebp */ 692 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DAD2: ret */ 693 RECOMP_REGS_OUT(); 694 } 695 696 void sub_2B03DA1F(void) { 697 int _fpu_cmp = 0; 698 uint32_t _cf = 0; 699 int _df = 1; 700 uint32_t _flag_k = FK_NONE; 701 uint32_t _flag_a = 0, _flag_b = 0; 702 uint32_t _itail_tgt = 0; 703 RECOMP_REGS_LOCALS 704 RECOMP_ENTER(0x2B03DA1Fu); 705 706 goto L_2B03DA1F; 707 L_2B03D9B4: 708 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9B4: call dword ptr [0x2b0b596c] */ 709 RECOMP_FLAGS_IN(); 710 PUSH32(esp, 1); /* 0x2B03D9BA: push 1 */ 711 ecx = eax; /* 0x2B03D9BC: mov ecx, eax */ 712 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D9BE: call dword ptr [0x2b0b591c] */ 713 RECOMP_FLAGS_IN(); 714 edi = POP32_VAL(esp); /* 0x2B03D9C4: pop edi */ 715 esi = POP32_VAL(esp); /* 0x2B03D9C5: pop esi */ 716 ebx = POP32_VAL(esp); /* 0x2B03D9C6: pop ebx */ 717 esp = ebp; /* 0x2B03D9C7: mov esp, ebp */ 718 ebp = POP32_VAL(esp); /* 0x2B03D9C9: pop ebp */ 719 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D9CA: ret */ 720 L_2B03DA1F: 721 esi = MEM32(ebp + (-0xC)); /* 0x2B03DA1F: mov esi, dword ptr [ebp - 0xc] */ 722 eax = MEM32(ebp + (-0x10)); /* 0x2B03DA22: mov eax, dword ptr [ebp - 0x10] */ 723 /* cmp esi, MEM32(ebp + (-0x4)) */ /* 0x2B03DA25: cmp esi, dword ptr [ebp - 4] */ 724 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 726 _flag_k = FK_CMP; 727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA2F; /* 0x2B03DA28: jne 0x2b03da2f */ 728 L_2B03DA2A: 729 /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x2B03DA2A: cmp eax, dword ptr [ebp - 8] */ 730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_CMP; 733 RECOMP_BACKEDGE(); 734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D9B4; /* 0x2B03DA2D: je 0x2b03d9b4 */ 735 L_2B03DA2F: 736 /* cmp MEM32(ebx + 0x88), 0xDu */ /* 0x2B03DA2F: cmp dword ptr [ebx + 0x88], 0xd */ 737 _flag_a = (uint32_t)(MEM32(ebx + 0x88)); _flag_b = (uint32_t)(0xDu); 738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 739 _flag_k = FK_CMP; 740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA7B; /* 0x2B03DA36: jne 0x2b03da7b */ 741 L_2B03DA38: 742 PUSH32(esp, 0); /* 0x2B03DA38: push 0 */ 743 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA3A: call dword ptr [0x2b0b596c] */ 744 RECOMP_FLAGS_IN(); 745 ecx = eax; /* 0x2B03DA40: mov ecx, eax */ 746 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DA42: call dword ptr [0x2b0b591c] */ 747 RECOMP_FLAGS_IN(); 748 PUSH32(esp, edi); /* 0x2B03DA48: push edi */ 749 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA49: call dword ptr [0x2b0b596c] */ 750 RECOMP_FLAGS_IN(); 751 ecx = eax; /* 0x2B03DA4F: mov ecx, eax */ 752 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DA51: call dword ptr [0x2b0b5920] */ 753 RECOMP_FLAGS_IN(); 754 eax = MEM32(0x2B0EEA14); /* 0x2B03DA57: mov eax, dword ptr [0x2b0eea14] */ 755 ecx = MEM32(eax); /* 0x2B03DA5C: mov ecx, dword ptr [eax] */ 756 edx = ebp + (-0x8); /* 0x2B03DA5E: lea edx, [ebp - 8] */ 757 PUSH32(esp, edx); /* 0x2B03DA61: push edx */ 758 PUSH32(esp, edi); /* 0x2B03DA62: push edi */ 759 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DA63: call dword ptr [0x2b0b5918] */ 760 RECOMP_FLAGS_IN(); 761 ecx = MEM32(0x2B0EEA14); /* 0x2B03DA69: mov ecx, dword ptr [0x2b0eea14] */ 762 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03DA6F: call 0x2b03e8b0 */ /* not lifted */ 763 RECOMP_FLAGS_IN(); 764 edi = POP32_VAL(esp); /* 0x2B03DA74: pop edi */ 765 esi = POP32_VAL(esp); /* 0x2B03DA75: pop esi */ 766 ebx = POP32_VAL(esp); /* 0x2B03DA76: pop ebx */ 767 esp = ebp; /* 0x2B03DA77: mov esp, ebp */ 768 ebp = POP32_VAL(esp); /* 0x2B03DA79: pop ebp */ 769 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DA7A: ret */ 770 L_2B03DA7B: 771 ecx = ebp + (-0x8); /* 0x2B03DA7B: lea ecx, [ebp - 8] */ 772 PUSH32(esp, ecx); /* 0x2B03DA7E: push ecx */ 773 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DA7F: call dword ptr [0x2b0b5d6c] */ 774 RECOMP_FLAGS_IN(); 775 ecx = eax; /* 0x2B03DA85: mov ecx, eax */ 776 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03DA87: call dword ptr [0x2b0b5efc] */ 777 RECOMP_FLAGS_IN(); 778 /* test LO8(eax), LO8(eax) */ /* 0x2B03DA8D: test al, al */ 779 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 780 _cf = 0; 781 _flag_k = FK_NARROW(FK_TEST, 24); 782 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03DA9B; /* 0x2B03DA8F: jne 0x2b03da9b */ 783 L_2B03DA91: 784 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA91: call dword ptr [0x2b0b596c] */ 785 RECOMP_FLAGS_IN(); 786 PUSH32(esp, 1); /* 0x2B03DA97: push 1 */ 787 goto L_2B03DAA3; /* 0x2B03DA99: jmp 0x2b03daa3 */ 788 L_2B03DA9B: 789 PUSH32(esp, 0); /* 0x2B03DA9B: push 0 */ 790 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA9D: call dword ptr [0x2b0b596c] */ 791 RECOMP_FLAGS_IN(); 792 L_2B03DAA3: 793 ecx = eax; /* 0x2B03DAA3: mov ecx, eax */ 794 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DAA5: call dword ptr [0x2b0b591c] */ 795 RECOMP_FLAGS_IN(); 796 PUSH32(esp, edi); /* 0x2B03DAAB: push edi */ 797 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DAAC: call dword ptr [0x2b0b596c] */ 798 RECOMP_FLAGS_IN(); 799 ecx = eax; /* 0x2B03DAB2: mov ecx, eax */ 800 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DAB4: call dword ptr [0x2b0b5920] */ 801 RECOMP_FLAGS_IN(); 802 eax = MEM32(0x2B0EEA14); /* 0x2B03DABA: mov eax, dword ptr [0x2b0eea14] */ 803 ecx = MEM32(eax); /* 0x2B03DABF: mov ecx, dword ptr [eax] */ 804 edx = ebp + (-0x8); /* 0x2B03DAC1: lea edx, [ebp - 8] */ 805 PUSH32(esp, edx); /* 0x2B03DAC4: push edx */ 806 PUSH32(esp, edi); /* 0x2B03DAC5: push edi */ 807 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DAC6: call dword ptr [0x2b0b5918] */ 808 RECOMP_FLAGS_IN(); 809 edi = POP32_VAL(esp); /* 0x2B03DACC: pop edi */ 810 esi = POP32_VAL(esp); /* 0x2B03DACD: pop esi */ 811 ebx = POP32_VAL(esp); /* 0x2B03DACE: pop ebx */ 812 esp = ebp; /* 0x2B03DACF: mov esp, ebp */ 813 ebp = POP32_VAL(esp); /* 0x2B03DAD1: pop ebp */ 814 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DAD2: ret */ 815 RECOMP_REGS_OUT(); 816 } 817 818 void sub_2B03DA25(void) { 819 int _fpu_cmp = 0; 820 uint32_t _cf = 0; 821 int _df = 1; 822 uint32_t _flag_k = FK_NONE; 823 uint32_t _flag_a = 0, _flag_b = 0; 824 uint32_t _itail_tgt = 0; 825 RECOMP_REGS_LOCALS 826 RECOMP_ENTER(0x2B03DA25u); 827 828 goto L_2B03DA25; 829 L_2B03D9B4: 830 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03D9B4: call dword ptr [0x2b0b596c] */ 831 RECOMP_FLAGS_IN(); 832 PUSH32(esp, 1); /* 0x2B03D9BA: push 1 */ 833 ecx = eax; /* 0x2B03D9BC: mov ecx, eax */ 834 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03D9BE: call dword ptr [0x2b0b591c] */ 835 RECOMP_FLAGS_IN(); 836 edi = POP32_VAL(esp); /* 0x2B03D9C4: pop edi */ 837 esi = POP32_VAL(esp); /* 0x2B03D9C5: pop esi */ 838 ebx = POP32_VAL(esp); /* 0x2B03D9C6: pop ebx */ 839 esp = ebp; /* 0x2B03D9C7: mov esp, ebp */ 840 ebp = POP32_VAL(esp); /* 0x2B03D9C9: pop ebp */ 841 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D9CA: ret */ 842 L_2B03DA25: 843 /* cmp esi, MEM32(ebp + (-0x4)) */ /* 0x2B03DA25: cmp esi, dword ptr [ebp - 4] */ 844 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 846 _flag_k = FK_CMP; 847 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA2F; /* 0x2B03DA28: jne 0x2b03da2f */ 848 L_2B03DA2A: 849 /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x2B03DA2A: cmp eax, dword ptr [ebp - 8] */ 850 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 852 _flag_k = FK_CMP; 853 RECOMP_BACKEDGE(); 854 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D9B4; /* 0x2B03DA2D: je 0x2b03d9b4 */ 855 L_2B03DA2F: 856 /* cmp MEM32(ebx + 0x88), 0xDu */ /* 0x2B03DA2F: cmp dword ptr [ebx + 0x88], 0xd */ 857 _flag_a = (uint32_t)(MEM32(ebx + 0x88)); _flag_b = (uint32_t)(0xDu); 858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 859 _flag_k = FK_CMP; 860 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03DA7B; /* 0x2B03DA36: jne 0x2b03da7b */ 861 L_2B03DA38: 862 PUSH32(esp, 0); /* 0x2B03DA38: push 0 */ 863 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA3A: call dword ptr [0x2b0b596c] */ 864 RECOMP_FLAGS_IN(); 865 ecx = eax; /* 0x2B03DA40: mov ecx, eax */ 866 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DA42: call dword ptr [0x2b0b591c] */ 867 RECOMP_FLAGS_IN(); 868 PUSH32(esp, edi); /* 0x2B03DA48: push edi */ 869 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA49: call dword ptr [0x2b0b596c] */ 870 RECOMP_FLAGS_IN(); 871 ecx = eax; /* 0x2B03DA4F: mov ecx, eax */ 872 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DA51: call dword ptr [0x2b0b5920] */ 873 RECOMP_FLAGS_IN(); 874 eax = MEM32(0x2B0EEA14); /* 0x2B03DA57: mov eax, dword ptr [0x2b0eea14] */ 875 ecx = MEM32(eax); /* 0x2B03DA5C: mov ecx, dword ptr [eax] */ 876 edx = ebp + (-0x8); /* 0x2B03DA5E: lea edx, [ebp - 8] */ 877 PUSH32(esp, edx); /* 0x2B03DA61: push edx */ 878 PUSH32(esp, edi); /* 0x2B03DA62: push edi */ 879 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DA63: call dword ptr [0x2b0b5918] */ 880 RECOMP_FLAGS_IN(); 881 ecx = MEM32(0x2B0EEA14); /* 0x2B03DA69: mov ecx, dword ptr [0x2b0eea14] */ 882 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03DA6F: call 0x2b03e8b0 */ /* not lifted */ 883 RECOMP_FLAGS_IN(); 884 edi = POP32_VAL(esp); /* 0x2B03DA74: pop edi */ 885 esi = POP32_VAL(esp); /* 0x2B03DA75: pop esi */ 886 ebx = POP32_VAL(esp); /* 0x2B03DA76: pop ebx */ 887 esp = ebp; /* 0x2B03DA77: mov esp, ebp */ 888 ebp = POP32_VAL(esp); /* 0x2B03DA79: pop ebp */ 889 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DA7A: ret */ 890 L_2B03DA7B: 891 ecx = ebp + (-0x8); /* 0x2B03DA7B: lea ecx, [ebp - 8] */ 892 PUSH32(esp, ecx); /* 0x2B03DA7E: push ecx */ 893 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DA7F: call dword ptr [0x2b0b5d6c] */ 894 RECOMP_FLAGS_IN(); 895 ecx = eax; /* 0x2B03DA85: mov ecx, eax */ 896 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03DA87: call dword ptr [0x2b0b5efc] */ 897 RECOMP_FLAGS_IN(); 898 /* test LO8(eax), LO8(eax) */ /* 0x2B03DA8D: test al, al */ 899 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 900 _cf = 0; 901 _flag_k = FK_NARROW(FK_TEST, 24); 902 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03DA9B; /* 0x2B03DA8F: jne 0x2b03da9b */ 903 L_2B03DA91: 904 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA91: call dword ptr [0x2b0b596c] */ 905 RECOMP_FLAGS_IN(); 906 PUSH32(esp, 1); /* 0x2B03DA97: push 1 */ 907 goto L_2B03DAA3; /* 0x2B03DA99: jmp 0x2b03daa3 */ 908 L_2B03DA9B: 909 PUSH32(esp, 0); /* 0x2B03DA9B: push 0 */ 910 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DA9D: call dword ptr [0x2b0b596c] */ 911 RECOMP_FLAGS_IN(); 912 L_2B03DAA3: 913 ecx = eax; /* 0x2B03DAA3: mov ecx, eax */ 914 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DAA5: call dword ptr [0x2b0b591c] */ 915 RECOMP_FLAGS_IN(); 916 PUSH32(esp, edi); /* 0x2B03DAAB: push edi */ 917 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DAAC: call dword ptr [0x2b0b596c] */ 918 RECOMP_FLAGS_IN(); 919 ecx = eax; /* 0x2B03DAB2: mov ecx, eax */ 920 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DAB4: call dword ptr [0x2b0b5920] */ 921 RECOMP_FLAGS_IN(); 922 eax = MEM32(0x2B0EEA14); /* 0x2B03DABA: mov eax, dword ptr [0x2b0eea14] */ 923 ecx = MEM32(eax); /* 0x2B03DABF: mov ecx, dword ptr [eax] */ 924 edx = ebp + (-0x8); /* 0x2B03DAC1: lea edx, [ebp - 8] */ 925 PUSH32(esp, edx); /* 0x2B03DAC4: push edx */ 926 PUSH32(esp, edi); /* 0x2B03DAC5: push edi */ 927 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DAC6: call dword ptr [0x2b0b5918] */ 928 RECOMP_FLAGS_IN(); 929 edi = POP32_VAL(esp); /* 0x2B03DACC: pop edi */ 930 esi = POP32_VAL(esp); /* 0x2B03DACD: pop esi */ 931 ebx = POP32_VAL(esp); /* 0x2B03DACE: pop ebx */ 932 esp = ebp; /* 0x2B03DACF: mov esp, ebp */ 933 ebp = POP32_VAL(esp); /* 0x2B03DAD1: pop ebp */ 934 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DAD2: ret */ 935 RECOMP_REGS_OUT(); 936 } 937 938 void sub_2B03DAA3(void) { 939 int _fpu_cmp = 0; 940 uint32_t _cf = 0; 941 int _df = 1; 942 uint32_t _flag_k = FK_NONE; 943 uint32_t _flag_a = 0, _flag_b = 0; 944 uint32_t _itail_tgt = 0; 945 RECOMP_REGS_LOCALS 946 RECOMP_ENTER(0x2B03DAA3u); 947 948 L_2B03DAA3: 949 ecx = eax; /* 0x2B03DAA3: mov ecx, eax */ 950 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DAA5: call dword ptr [0x2b0b591c] */ 951 RECOMP_FLAGS_IN(); 952 PUSH32(esp, edi); /* 0x2B03DAAB: push edi */ 953 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DAAC: call dword ptr [0x2b0b596c] */ 954 RECOMP_FLAGS_IN(); 955 ecx = eax; /* 0x2B03DAB2: mov ecx, eax */ 956 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DAB4: call dword ptr [0x2b0b5920] */ 957 RECOMP_FLAGS_IN(); 958 eax = MEM32(0x2B0EEA14); /* 0x2B03DABA: mov eax, dword ptr [0x2b0eea14] */ 959 ecx = MEM32(eax); /* 0x2B03DABF: mov ecx, dword ptr [eax] */ 960 edx = ebp + (-0x8); /* 0x2B03DAC1: lea edx, [ebp - 8] */ 961 PUSH32(esp, edx); /* 0x2B03DAC4: push edx */ 962 PUSH32(esp, edi); /* 0x2B03DAC5: push edi */ 963 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DAC6: call dword ptr [0x2b0b5918] */ 964 RECOMP_FLAGS_IN(); 965 edi = POP32_VAL(esp); /* 0x2B03DACC: pop edi */ 966 esi = POP32_VAL(esp); /* 0x2B03DACD: pop esi */ 967 ebx = POP32_VAL(esp); /* 0x2B03DACE: pop ebx */ 968 esp = ebp; /* 0x2B03DACF: mov esp, ebp */ 969 ebp = POP32_VAL(esp); /* 0x2B03DAD1: pop ebp */ 970 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DAD2: ret */ 971 RECOMP_REGS_OUT(); 972 } 973 974 void sub_2B03DAE0(void) { 975 int _fpu_cmp = 0; 976 uint32_t _cf = 0; 977 int _df = 1; 978 uint32_t _flag_k = FK_NONE; 979 uint32_t _flag_a = 0, _flag_b = 0; 980 uint32_t _itail_tgt = 0; 981 RECOMP_REGS_LOCALS 982 RECOMP_ENTER(0x2B03DAE0u); 983 984 L_2B03DAE0: 985 PUSH32(esp, ebp); /* 0x2B03DAE0: push ebp */ 986 ebp = esp; /* 0x2B03DAE1: mov ebp, esp */ 987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 989 esp = esp - 8; /* 0x2B03DAE3: sub esp, 8 */ 990 _flag_k = FK_CMP; 991 eax = ebp + (-0x8); /* 0x2B03DAE6: lea eax, [ebp - 8] */ 992 PUSH32(esp, eax); /* 0x2B03DAE9: push eax */ 993 MEM32(ebp + (-0x8)) = 0; /* 0x2B03DAEA: mov dword ptr [ebp - 8], 0 */ 994 MEM32(ebp + (-0x4)) = 0; /* 0x2B03DAF1: mov dword ptr [ebp - 4], 0 */ 995 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DAF8: call dword ptr [0x2b0b53cc] */ 996 RECOMP_FLAGS_IN(); 997 ecx = eax; /* 0x2B03DAFE: mov ecx, eax */ 998 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03DB00: call dword ptr [0x2b0b53ac] */ 999 RECOMP_FLAGS_IN(); 1000 ecx = ebp + (-0x8); /* 0x2B03DB06: lea ecx, [ebp - 8] */ 1001 PUSH32(esp, ecx); /* 0x2B03DB09: push ecx */ 1002 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DB0A: call dword ptr [0x2b0b5d6c] */ 1003 RECOMP_FLAGS_IN(); 1004 ecx = eax; /* 0x2B03DB10: mov ecx, eax */ 1005 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B03DB12: call dword ptr [0x2b0b5efc] */ 1006 RECOMP_FLAGS_IN(); 1007 /* test LO8(eax), LO8(eax) */ /* 0x2B03DB18: test al, al */ 1008 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1009 _cf = 0; 1010 _flag_k = FK_NARROW(FK_TEST, 24); 1011 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03DB26; /* 0x2B03DB1A: jne 0x2b03db26 */ 1012 L_2B03DB1C: 1013 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DB1C: call dword ptr [0x2b0b596c] */ 1014 RECOMP_FLAGS_IN(); 1015 PUSH32(esp, 1); /* 0x2B03DB22: push 1 */ 1016 goto L_2B03DB2E; /* 0x2B03DB24: jmp 0x2b03db2e */ 1017 L_2B03DB26: 1018 PUSH32(esp, 0); /* 0x2B03DB26: push 0 */ 1019 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DB28: call dword ptr [0x2b0b596c] */ 1020 RECOMP_FLAGS_IN(); 1021 L_2B03DB2E: 1022 ecx = eax; /* 0x2B03DB2E: mov ecx, eax */ 1023 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B03DB30: call dword ptr [0x2b0b591c] */ 1024 RECOMP_FLAGS_IN(); 1025 ecx = MEM32(0x2B0EEA14); /* 0x2B03DB36: mov ecx, dword ptr [0x2b0eea14] */ 1026 RECOMP_ICALL(0x2B03E8B0u); /* 0x2B03DB3C: call 0x2b03e8b0 */ /* not lifted */ 1027 RECOMP_FLAGS_IN(); 1028 esp = ebp; /* 0x2B03DB41: mov esp, ebp */ 1029 ebp = POP32_VAL(esp); /* 0x2B03DB43: pop ebp */ 1030 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DB44: ret */ 1031 RECOMP_REGS_OUT(); 1032 } 1033 1034 void sub_2B03DB50(void) { 1035 int _fpu_cmp = 0; 1036 uint32_t _cf = 0; 1037 int _df = 1; 1038 uint32_t _flag_k = FK_NONE; 1039 uint32_t _flag_a = 0, _flag_b = 0; 1040 uint32_t _itail_tgt = 0; 1041 RECOMP_REGS_LOCALS 1042 RECOMP_ENTER(0x2B03DB50u); 1043 1044 L_2B03DB50: 1045 PUSH32(esp, ebp); /* 0x2B03DB50: push ebp */ 1046 ebp = esp; /* 0x2B03DB51: mov ebp, esp */ 1047 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1049 esp = esp - 0x10u; /* 0x2B03DB53: sub esp, 0x10 */ 1050 _flag_k = FK_CMP; 1051 PUSH32(esp, esi); /* 0x2B03DB56: push esi */ 1052 esi = MEM32(0x2B0B53CC); /* 0x2B03DB57: mov esi, dword ptr [0x2b0b53cc] */ 1053 PUSH32(esp, edi); /* 0x2B03DB5D: push edi */ 1054 RECOMP_ICALL(esi); /* 0x2B03DB5E: call esi */ 1055 RECOMP_FLAGS_IN(); 1056 ecx = eax; /* 0x2B03DB60: mov ecx, eax */ 1057 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03DB62: call dword ptr [0x2b0b53a4] */ 1058 RECOMP_FLAGS_IN(); 1059 edi = eax; /* 0x2B03DB68: mov edi, eax */ 1060 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1061 eax = 0; /* 0x2B03DB6A: xor eax, eax */ 1062 _cf = 0; 1063 _flag_k = FK_TEST; 1064 MEM32(ebp + (-0x10)) = eax; /* 0x2B03DB6C: mov dword ptr [ebp - 0x10], eax */ 1065 MEM32(ebp + (-0xC)) = eax; /* 0x2B03DB6F: mov dword ptr [ebp - 0xc], eax */ 1066 eax = ebp + (-0x10); /* 0x2B03DB72: lea eax, [ebp - 0x10] */ 1067 PUSH32(esp, eax); /* 0x2B03DB75: push eax */ 1068 RECOMP_ICALL(esi); /* 0x2B03DB76: call esi */ 1069 RECOMP_FLAGS_IN(); 1070 ecx = eax; /* 0x2B03DB78: mov ecx, eax */ 1071 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03DB7A: call dword ptr [0x2b0b53ac] */ 1072 RECOMP_FLAGS_IN(); 1073 eax = edi + 0x54; /* 0x2B03DB80: lea eax, [edi + 0x54] */ 1074 ecx = ebp + (-0x8); /* 0x2B03DB83: lea ecx, [ebp - 8] */ 1075 /* cmp ecx, eax */ /* 0x2B03DB86: cmp ecx, eax */ 1076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1078 _flag_k = FK_CMP; 1079 edi = POP32_VAL(esp); /* 0x2B03DB88: pop edi */ 1080 esi = POP32_VAL(esp); /* 0x2B03DB89: pop esi */ 1081 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DB97; /* 0x2B03DB8A: je 0x2b03db97 */ 1082 L_2B03DB8C: 1083 edx = MEM32(eax); /* 0x2B03DB8C: mov edx, dword ptr [eax] */ 1084 eax = MEM32(eax + 0x4); /* 0x2B03DB8E: mov eax, dword ptr [eax + 4] */ 1085 MEM32(ebp + (-0x8)) = edx; /* 0x2B03DB91: mov dword ptr [ebp - 8], edx */ 1086 MEM32(ebp + (-0x4)) = eax; /* 0x2B03DB94: mov dword ptr [ebp - 4], eax */ 1087 L_2B03DB97: 1088 ecx = ebp + (-0x8); /* 0x2B03DB97: lea ecx, [ebp - 8] */ 1089 PUSH32(esp, ecx); /* 0x2B03DB9A: push ecx */ 1090 edx = ebp + (-0x10); /* 0x2B03DB9B: lea edx, [ebp - 0x10] */ 1091 PUSH32(esp, edx); /* 0x2B03DB9E: push edx */ 1092 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DB9F: call dword ptr [0x2b0b5d6c] */ 1093 RECOMP_FLAGS_IN(); 1094 ecx = eax; /* 0x2B03DBA5: mov ecx, eax */ 1095 RECOMP_ICALL(MEM32(0x2B0B5EF8)); /* 0x2B03DBA7: call dword ptr [0x2b0b5ef8] */ 1096 RECOMP_FLAGS_IN(); 1097 esp = ebp; /* 0x2B03DBAD: mov esp, ebp */ 1098 ebp = POP32_VAL(esp); /* 0x2B03DBAF: pop ebp */ 1099 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DBB0: ret */ 1100 RECOMP_REGS_OUT(); 1101 } 1102 1103 void sub_2B03DBC0(void) { 1104 int _fpu_cmp = 0; 1105 uint32_t _cf = 0; 1106 int _df = 1; 1107 uint32_t _flag_k = FK_NONE; 1108 uint32_t _flag_a = 0, _flag_b = 0; 1109 uint32_t _itail_tgt = 0; 1110 RECOMP_REGS_LOCALS 1111 RECOMP_ENTER(0x2B03DBC0u); 1112 1113 L_2B03DBC0: 1114 PUSH32(esp, ebp); /* 0x2B03DBC0: push ebp */ 1115 ebp = esp; /* 0x2B03DBC1: mov ebp, esp */ 1116 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1118 esp = esp - 0x10u; /* 0x2B03DBC3: sub esp, 0x10 */ 1119 _flag_k = FK_CMP; 1120 PUSH32(esp, esi); /* 0x2B03DBC6: push esi */ 1121 esi = MEM32(0x2B0B53CC); /* 0x2B03DBC7: mov esi, dword ptr [0x2b0b53cc] */ 1122 PUSH32(esp, edi); /* 0x2B03DBCD: push edi */ 1123 RECOMP_ICALL(esi); /* 0x2B03DBCE: call esi */ 1124 RECOMP_FLAGS_IN(); 1125 ecx = eax; /* 0x2B03DBD0: mov ecx, eax */ 1126 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03DBD2: call dword ptr [0x2b0b53a4] */ 1127 RECOMP_FLAGS_IN(); 1128 edi = eax; /* 0x2B03DBD8: mov edi, eax */ 1129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1130 eax = 0; /* 0x2B03DBDA: xor eax, eax */ 1131 _cf = 0; 1132 _flag_k = FK_TEST; 1133 MEM32(ebp + (-0x10)) = eax; /* 0x2B03DBDC: mov dword ptr [ebp - 0x10], eax */ 1134 MEM32(ebp + (-0xC)) = eax; /* 0x2B03DBDF: mov dword ptr [ebp - 0xc], eax */ 1135 eax = ebp + (-0x10); /* 0x2B03DBE2: lea eax, [ebp - 0x10] */ 1136 PUSH32(esp, eax); /* 0x2B03DBE5: push eax */ 1137 RECOMP_ICALL(esi); /* 0x2B03DBE6: call esi */ 1138 RECOMP_FLAGS_IN(); 1139 ecx = eax; /* 0x2B03DBE8: mov ecx, eax */ 1140 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03DBEA: call dword ptr [0x2b0b53ac] */ 1141 RECOMP_FLAGS_IN(); 1142 eax = edi + 0x54; /* 0x2B03DBF0: lea eax, [edi + 0x54] */ 1143 ecx = ebp + (-0x8); /* 0x2B03DBF3: lea ecx, [ebp - 8] */ 1144 /* cmp ecx, eax */ /* 0x2B03DBF6: cmp ecx, eax */ 1145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1147 _flag_k = FK_CMP; 1148 edi = POP32_VAL(esp); /* 0x2B03DBF8: pop edi */ 1149 esi = POP32_VAL(esp); /* 0x2B03DBF9: pop esi */ 1150 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DC07; /* 0x2B03DBFA: je 0x2b03dc07 */ 1151 L_2B03DBFC: 1152 edx = MEM32(eax); /* 0x2B03DBFC: mov edx, dword ptr [eax] */ 1153 eax = MEM32(eax + 0x4); /* 0x2B03DBFE: mov eax, dword ptr [eax + 4] */ 1154 MEM32(ebp + (-0x8)) = edx; /* 0x2B03DC01: mov dword ptr [ebp - 8], edx */ 1155 MEM32(ebp + (-0x4)) = eax; /* 0x2B03DC04: mov dword ptr [ebp - 4], eax */ 1156 L_2B03DC07: 1157 ecx = ebp + (-0x8); /* 0x2B03DC07: lea ecx, [ebp - 8] */ 1158 PUSH32(esp, ecx); /* 0x2B03DC0A: push ecx */ 1159 edx = ebp + (-0x10); /* 0x2B03DC0B: lea edx, [ebp - 0x10] */ 1160 PUSH32(esp, edx); /* 0x2B03DC0E: push edx */ 1161 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DC0F: call dword ptr [0x2b0b5d6c] */ 1162 RECOMP_FLAGS_IN(); 1163 ecx = eax; /* 0x2B03DC15: mov ecx, eax */ 1164 RECOMP_ICALL(MEM32(0x2B0B5EF4)); /* 0x2B03DC17: call dword ptr [0x2b0b5ef4] */ 1165 RECOMP_FLAGS_IN(); 1166 esp = ebp; /* 0x2B03DC1D: mov esp, ebp */ 1167 ebp = POP32_VAL(esp); /* 0x2B03DC1F: pop ebp */ 1168 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DC20: ret */ 1169 RECOMP_REGS_OUT(); 1170 } 1171 1172 void sub_2B03DC30(void) { 1173 int _fpu_cmp = 0; 1174 uint32_t _cf = 0; 1175 int _df = 1; 1176 uint32_t _flag_k = FK_NONE; 1177 uint32_t _flag_a = 0, _flag_b = 0; 1178 uint32_t _itail_tgt = 0; 1179 RECOMP_REGS_LOCALS 1180 RECOMP_ENTER(0x2B03DC30u); 1181 1182 L_2B03DC30: 1183 PUSH32(esp, ebp); /* 0x2B03DC30: push ebp */ 1184 ebp = esp; /* 0x2B03DC31: mov ebp, esp */ 1185 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1187 esp = esp - 0x10u; /* 0x2B03DC33: sub esp, 0x10 */ 1188 _flag_k = FK_CMP; 1189 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1190 eax = 0; /* 0x2B03DC36: xor eax, eax */ 1191 _cf = 0; 1192 _flag_k = FK_TEST; 1193 MEM32(ebp + (-0x10)) = eax; /* 0x2B03DC38: mov dword ptr [ebp - 0x10], eax */ 1194 MEM32(ebp + (-0xC)) = eax; /* 0x2B03DC3B: mov dword ptr [ebp - 0xc], eax */ 1195 MEM32(ebp + (-0x8)) = eax; /* 0x2B03DC3E: mov dword ptr [ebp - 8], eax */ 1196 MEM32(ebp + (-0x4)) = eax; /* 0x2B03DC41: mov dword ptr [ebp - 4], eax */ 1197 eax = ebp + (-0x8); /* 0x2B03DC44: lea eax, [ebp - 8] */ 1198 PUSH32(esp, eax); /* 0x2B03DC47: push eax */ 1199 ecx = ebp + (-0x10); /* 0x2B03DC48: lea ecx, [ebp - 0x10] */ 1200 PUSH32(esp, ecx); /* 0x2B03DC4B: push ecx */ 1201 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DC4C: call dword ptr [0x2b0b53cc] */ 1202 RECOMP_FLAGS_IN(); 1203 ecx = eax; /* 0x2B03DC52: mov ecx, eax */ 1204 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B03DC54: call dword ptr [0x2b0b5364] */ 1205 RECOMP_FLAGS_IN(); 1206 edx = ebp + (-0x8); /* 0x2B03DC5A: lea edx, [ebp - 8] */ 1207 PUSH32(esp, edx); /* 0x2B03DC5D: push edx */ 1208 eax = ebp + (-0x10); /* 0x2B03DC5E: lea eax, [ebp - 0x10] */ 1209 PUSH32(esp, eax); /* 0x2B03DC61: push eax */ 1210 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DC62: call dword ptr [0x2b0b5d6c] */ 1211 RECOMP_FLAGS_IN(); 1212 ecx = eax; /* 0x2B03DC68: mov ecx, eax */ 1213 RECOMP_ICALL(MEM32(0x2B0B5EF4)); /* 0x2B03DC6A: call dword ptr [0x2b0b5ef4] */ 1214 RECOMP_FLAGS_IN(); 1215 esp = ebp; /* 0x2B03DC70: mov esp, ebp */ 1216 ebp = POP32_VAL(esp); /* 0x2B03DC72: pop ebp */ 1217 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DC73: ret */ 1218 RECOMP_REGS_OUT(); 1219 } 1220 1221 void sub_2B03DC80(void) { 1222 int _fpu_cmp = 0; 1223 uint32_t _cf = 0; 1224 int _df = 1; 1225 uint32_t _flag_k = FK_NONE; 1226 uint32_t _flag_a = 0, _flag_b = 0; 1227 uint32_t _itail_tgt = 0; 1228 RECOMP_REGS_LOCALS 1229 RECOMP_ENTER(0x2B03DC80u); 1230 1231 L_2B03DC80: 1232 PUSH32(esp, ebp); /* 0x2B03DC80: push ebp */ 1233 ebp = esp; /* 0x2B03DC81: mov ebp, esp */ 1234 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1236 esp = esp - 8; /* 0x2B03DC83: sub esp, 8 */ 1237 _flag_k = FK_CMP; 1238 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DC86: call dword ptr [0x2b0b53cc] */ 1239 RECOMP_FLAGS_IN(); 1240 ecx = eax; /* 0x2B03DC8C: mov ecx, eax */ 1241 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03DC8E: call dword ptr [0x2b0b53a4] */ 1242 RECOMP_FLAGS_IN(); 1243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 1244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1245 eax = eax + 0x54u; /* 0x2B03DC94: add eax, 0x54 */ 1246 _flag_k = FK_ADD; 1247 ecx = ebp + (-0x8); /* 0x2B03DC97: lea ecx, [ebp - 8] */ 1248 /* cmp ecx, eax */ /* 0x2B03DC9A: cmp ecx, eax */ 1249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1251 _flag_k = FK_CMP; 1252 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DCA9; /* 0x2B03DC9C: je 0x2b03dca9 */ 1253 L_2B03DC9E: 1254 edx = MEM32(eax); /* 0x2B03DC9E: mov edx, dword ptr [eax] */ 1255 eax = MEM32(eax + 0x4); /* 0x2B03DCA0: mov eax, dword ptr [eax + 4] */ 1256 MEM32(ebp + (-0x8)) = edx; /* 0x2B03DCA3: mov dword ptr [ebp - 8], edx */ 1257 MEM32(ebp + (-0x4)) = eax; /* 0x2B03DCA6: mov dword ptr [ebp - 4], eax */ 1258 L_2B03DCA9: 1259 ecx = ebp + (-0x8); /* 0x2B03DCA9: lea ecx, [ebp - 8] */ 1260 PUSH32(esp, ecx); /* 0x2B03DCAC: push ecx */ 1261 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DCAD: call dword ptr [0x2b0b5d6c] */ 1262 RECOMP_FLAGS_IN(); 1263 ecx = eax; /* 0x2B03DCB3: mov ecx, eax */ 1264 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B03DCB5: call dword ptr [0x2b0b5ef0] */ 1265 RECOMP_FLAGS_IN(); 1266 esp = ebp; /* 0x2B03DCBB: mov esp, ebp */ 1267 ebp = POP32_VAL(esp); /* 0x2B03DCBD: pop ebp */ 1268 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DCBE: ret */ 1269 RECOMP_REGS_OUT(); 1270 } 1271 1272 void sub_2B03DCC0(void) { 1273 int _fpu_cmp = 0; 1274 uint32_t _cf = 0; 1275 int _df = 1; 1276 uint32_t _flag_k = FK_NONE; 1277 uint32_t _flag_a = 0, _flag_b = 0; 1278 uint32_t _itail_tgt = 0; 1279 RECOMP_REGS_LOCALS 1280 RECOMP_ENTER(0x2B03DCC0u); 1281 1282 L_2B03DCC0: 1283 PUSH32(esp, ebp); /* 0x2B03DCC0: push ebp */ 1284 ebp = esp; /* 0x2B03DCC1: mov ebp, esp */ 1285 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1287 esp = esp - 0x10u; /* 0x2B03DCC3: sub esp, 0x10 */ 1288 _flag_k = FK_CMP; 1289 PUSH32(esp, ebx); /* 0x2B03DCC6: push ebx */ 1290 PUSH32(esp, esi); /* 0x2B03DCC7: push esi */ 1291 PUSH32(esp, edi); /* 0x2B03DCC8: push edi */ 1292 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DCC9: call dword ptr [0x2b0b53cc] */ 1293 RECOMP_FLAGS_IN(); 1294 ecx = eax; /* 0x2B03DCCF: mov ecx, eax */ 1295 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03DCD1: call dword ptr [0x2b0b53a4] */ 1296 RECOMP_FLAGS_IN(); 1297 edi = eax; /* 0x2B03DCD7: mov edi, eax */ 1298 ebx = edi + 0x54; /* 0x2B03DCD9: lea ebx, [edi + 0x54] */ 1299 PUSH32(esp, ebx); /* 0x2B03DCDC: push ebx */ 1300 ecx = ebp + (-0x10); /* 0x2B03DCDD: lea ecx, [ebp - 0x10] */ 1301 RECOMP_ICALL(0x2B007700u); /* 0x2B03DCE0: call 0x2b007700 */ /* not lifted */ 1302 RECOMP_FLAGS_IN(); 1303 eax = MEM32(ebp + (-0x10)); /* 0x2B03DCE5: mov eax, dword ptr [ebp - 0x10] */ 1304 ecx = MEM32(ebp + (-0xC)); /* 0x2B03DCE8: mov ecx, dword ptr [ebp - 0xc] */ 1305 esi = MEM32(0x2B0B5910); /* 0x2B03DCEB: mov esi, dword ptr [0x2b0b5910] */ 1306 MEM32(ebp + (-0x8)) = eax; /* 0x2B03DCF1: mov dword ptr [ebp - 8], eax */ 1307 eax = MEM32(0x2B0EEA14); /* 0x2B03DCF4: mov eax, dword ptr [0x2b0eea14] */ 1308 edx = ebp + (-0x8); /* 0x2B03DCF9: lea edx, [ebp - 8] */ 1309 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03DCFC: mov dword ptr [ebp - 4], ecx */ 1310 ecx = MEM32(eax); /* 0x2B03DCFF: mov ecx, dword ptr [eax] */ 1311 PUSH32(esp, edx); /* 0x2B03DD01: push edx */ 1312 RECOMP_ICALL(esi); /* 0x2B03DD02: call esi */ 1313 RECOMP_FLAGS_IN(); 1314 /* test LO8(eax), LO8(eax) */ /* 0x2B03DD04: test al, al */ 1315 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1316 _cf = 0; 1317 _flag_k = FK_NARROW(FK_TEST, 24); 1318 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DD12; /* 0x2B03DD06: je 0x2b03dd12 */ 1319 L_2B03DD08: 1320 ecx = MEM32(0x2B0EEA14); /* 0x2B03DD08: mov ecx, dword ptr [0x2b0eea14] */ 1321 esi = MEM32(ecx); /* 0x2B03DD0E: mov esi, dword ptr [ecx] */ 1322 goto L_2B03DD78; /* 0x2B03DD10: jmp 0x2b03dd78 */ 1323 L_2B03DD12: 1324 eax = MEM32(0x2B0EEA70); /* 0x2B03DD12: mov eax, dword ptr [0x2b0eea70] */ 1325 /* test eax, eax */ /* 0x2B03DD17: test eax, eax */ 1326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1327 _cf = 0; 1328 _flag_k = FK_TEST; 1329 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD19: je 0x2b03ddc0 */ 1330 L_2B03DD1F: 1331 eax = MEM32(0x2B0EEA74); /* 0x2B03DD1F: mov eax, dword ptr [0x2b0eea74] */ 1332 /* test eax, eax */ /* 0x2B03DD24: test eax, eax */ 1333 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1334 _cf = 0; 1335 _flag_k = FK_TEST; 1336 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD26: je 0x2b03ddc0 */ 1337 L_2B03DD2C: 1338 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B03DD2C: mov cl, byte ptr [eax + 0x30] */ 1339 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03DD2F: test cl, cl */ 1340 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1341 _cf = 0; 1342 _flag_k = FK_NARROW(FK_TEST, 24); 1343 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD31: je 0x2b03ddc0 */ 1344 L_2B03DD37: 1345 eax = MEM32(eax + 0x14); /* 0x2B03DD37: mov eax, dword ptr [eax + 0x14] */ 1346 edx = ebp + (-0x8); /* 0x2B03DD3A: lea edx, [ebp - 8] */ 1347 PUSH32(esp, edx); /* 0x2B03DD3D: push edx */ 1348 ecx = eax; /* 0x2B03DD3E: mov ecx, eax */ 1349 RECOMP_ICALL(esi); /* 0x2B03DD40: call esi */ 1350 RECOMP_FLAGS_IN(); 1351 /* test LO8(eax), LO8(eax) */ /* 0x2B03DD42: test al, al */ 1352 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1353 _cf = 0; 1354 _flag_k = FK_NARROW(FK_TEST, 24); 1355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DD50; /* 0x2B03DD44: je 0x2b03dd50 */ 1356 L_2B03DD46: 1357 eax = MEM32(0x2B0EEA74); /* 0x2B03DD46: mov eax, dword ptr [0x2b0eea74] */ 1358 esi = MEM32(eax + 0x14); /* 0x2B03DD4B: mov esi, dword ptr [eax + 0x14] */ 1359 goto L_2B03DD78; /* 0x2B03DD4E: jmp 0x2b03dd78 */ 1360 L_2B03DD50: 1361 eax = MEM32(0x2B0EEA78); /* 0x2B03DD50: mov eax, dword ptr [0x2b0eea78] */ 1362 /* test eax, eax */ /* 0x2B03DD55: test eax, eax */ 1363 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1364 _cf = 0; 1365 _flag_k = FK_TEST; 1366 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD57: je 0x2b03ddc0 */ 1367 L_2B03DD59: 1368 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B03DD59: mov cl, byte ptr [eax + 0x30] */ 1369 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03DD5C: test cl, cl */ 1370 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1371 _cf = 0; 1372 _flag_k = FK_NARROW(FK_TEST, 24); 1373 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD5E: je 0x2b03ddc0 */ 1374 L_2B03DD60: 1375 eax = MEM32(eax + 0x14); /* 0x2B03DD60: mov eax, dword ptr [eax + 0x14] */ 1376 ecx = ebp + (-0x8); /* 0x2B03DD63: lea ecx, [ebp - 8] */ 1377 PUSH32(esp, ecx); /* 0x2B03DD66: push ecx */ 1378 ecx = eax; /* 0x2B03DD67: mov ecx, eax */ 1379 RECOMP_ICALL(esi); /* 0x2B03DD69: call esi */ 1380 RECOMP_FLAGS_IN(); 1381 /* test LO8(eax), LO8(eax) */ /* 0x2B03DD6B: test al, al */ 1382 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1383 _cf = 0; 1384 _flag_k = FK_NARROW(FK_TEST, 24); 1385 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD6D: je 0x2b03ddc0 */ 1386 L_2B03DD6F: 1387 edx = MEM32(0x2B0EEA78); /* 0x2B03DD6F: mov edx, dword ptr [0x2b0eea78] */ 1388 esi = MEM32(edx + 0x14); /* 0x2B03DD75: mov esi, dword ptr [edx + 0x14] */ 1389 L_2B03DD78: 1390 /* test esi, esi */ /* 0x2B03DD78: test esi, esi */ 1391 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1392 _cf = 0; 1393 _flag_k = FK_TEST; 1394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DD7A: je 0x2b03ddc0 */ 1395 L_2B03DD7C: 1396 eax = ebp + (-0x10); /* 0x2B03DD7C: lea eax, [ebp - 0x10] */ 1397 /* cmp eax, ebx */ /* 0x2B03DD7F: cmp eax, ebx */ 1398 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1400 _flag_k = FK_CMP; 1401 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DD8E; /* 0x2B03DD81: je 0x2b03dd8e */ 1402 L_2B03DD83: 1403 ecx = MEM32(ebx); /* 0x2B03DD83: mov ecx, dword ptr [ebx] */ 1404 edx = MEM32(ebx + 0x4); /* 0x2B03DD85: mov edx, dword ptr [ebx + 4] */ 1405 MEM32(ebp + (-0x10)) = ecx; /* 0x2B03DD88: mov dword ptr [ebp - 0x10], ecx */ 1406 MEM32(ebp + (-0xC)) = edx; /* 0x2B03DD8B: mov dword ptr [ebp - 0xc], edx */ 1407 L_2B03DD8E: 1408 eax = ebp + (-0x10); /* 0x2B03DD8E: lea eax, [ebp - 0x10] */ 1409 PUSH32(esp, 1); /* 0x2B03DD91: push 1 */ 1410 PUSH32(esp, eax); /* 0x2B03DD93: push eax */ 1411 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DD94: call dword ptr [0x2b0b5d6c] */ 1412 RECOMP_FLAGS_IN(); 1413 ecx = eax; /* 0x2B03DD9A: mov ecx, eax */ 1414 RECOMP_ICALL(MEM32(0x2B0B5EEC)); /* 0x2B03DD9C: call dword ptr [0x2b0b5eec] */ 1415 RECOMP_FLAGS_IN(); 1416 /* test LO8(eax), LO8(eax) */ /* 0x2B03DDA2: test al, al */ 1417 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1418 _cf = 0; 1419 _flag_k = FK_NARROW(FK_TEST, 24); 1420 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DDC0; /* 0x2B03DDA4: je 0x2b03ddc0 */ 1421 L_2B03DDA6: 1422 PUSH32(esp, 0); /* 0x2B03DDA6: push 0 */ 1423 PUSH32(esp, edi); /* 0x2B03DDA8: push edi */ 1424 ecx = esi; /* 0x2B03DDA9: mov ecx, esi */ 1425 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DDAB: call dword ptr [0x2b0b5918] */ 1426 RECOMP_FLAGS_IN(); 1427 PUSH32(esp, edi); /* 0x2B03DDB1: push edi */ 1428 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DDB2: call dword ptr [0x2b0b596c] */ 1429 RECOMP_FLAGS_IN(); 1430 ecx = eax; /* 0x2B03DDB8: mov ecx, eax */ 1431 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DDBA: call dword ptr [0x2b0b5920] */ 1432 RECOMP_FLAGS_IN(); 1433 L_2B03DDC0: 1434 edi = POP32_VAL(esp); /* 0x2B03DDC0: pop edi */ 1435 esi = POP32_VAL(esp); /* 0x2B03DDC1: pop esi */ 1436 ebx = POP32_VAL(esp); /* 0x2B03DDC2: pop ebx */ 1437 esp = ebp; /* 0x2B03DDC3: mov esp, ebp */ 1438 ebp = POP32_VAL(esp); /* 0x2B03DDC5: pop ebp */ 1439 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DDC6: ret */ 1440 RECOMP_REGS_OUT(); 1441 } 1442 1443 void sub_2B03DDD0(void) { 1444 int _fpu_cmp = 0; 1445 uint32_t _cf = 0; 1446 int _df = 1; 1447 uint32_t _flag_k = FK_NONE; 1448 uint32_t _flag_a = 0, _flag_b = 0; 1449 uint32_t _itail_tgt = 0; 1450 RECOMP_REGS_LOCALS 1451 RECOMP_ENTER(0x2B03DDD0u); 1452 1453 L_2B03DDD0: 1454 PUSH32(esp, ebp); /* 0x2B03DDD0: push ebp */ 1455 ebp = esp; /* 0x2B03DDD1: mov ebp, esp */ 1456 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1458 esp = esp - 0xCu; /* 0x2B03DDD3: sub esp, 0xc */ 1459 _flag_k = FK_CMP; 1460 PUSH32(esp, esi); /* 0x2B03DDD6: push esi */ 1461 esi = MEM32(0x2B0B53CC); /* 0x2B03DDD7: mov esi, dword ptr [0x2b0b53cc] */ 1462 eax = ebp + (-0x4); /* 0x2B03DDDD: lea eax, [ebp - 4] */ 1463 PUSH32(esp, edi); /* 0x2B03DDE0: push edi */ 1464 PUSH32(esp, eax); /* 0x2B03DDE1: push eax */ 1465 RECOMP_ICALL(esi); /* 0x2B03DDE2: call esi */ 1466 RECOMP_FLAGS_IN(); 1467 ecx = eax; /* 0x2B03DDE4: mov ecx, eax */ 1468 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B03DDE6: call dword ptr [0x2b0b53a8] */ 1469 RECOMP_FLAGS_IN(); 1470 ecx = ebp + (-0xC); /* 0x2B03DDEC: lea ecx, [ebp - 0xc] */ 1471 PUSH32(esp, ecx); /* 0x2B03DDEF: push ecx */ 1472 MEM32(ebp + (-0xC)) = 0; /* 0x2B03DDF0: mov dword ptr [ebp - 0xc], 0 */ 1473 MEM32(ebp + (-0x8)) = 0; /* 0x2B03DDF7: mov dword ptr [ebp - 8], 0 */ 1474 RECOMP_ICALL(esi); /* 0x2B03DDFE: call esi */ 1475 RECOMP_FLAGS_IN(); 1476 ecx = eax; /* 0x2B03DE00: mov ecx, eax */ 1477 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03DE02: call dword ptr [0x2b0b53ac] */ 1478 RECOMP_FLAGS_IN(); 1479 eax = MEM32(0x2B0EEA14); /* 0x2B03DE08: mov eax, dword ptr [0x2b0eea14] */ 1480 ecx = MEM32(eax); /* 0x2B03DE0D: mov ecx, dword ptr [eax] */ 1481 esi = MEM32(0x2B0B5910); /* 0x2B03DE0F: mov esi, dword ptr [0x2b0b5910] */ 1482 edx = ebp + (-0xC); /* 0x2B03DE15: lea edx, [ebp - 0xc] */ 1483 PUSH32(esp, edx); /* 0x2B03DE18: push edx */ 1484 RECOMP_ICALL(esi); /* 0x2B03DE19: call esi */ 1485 RECOMP_FLAGS_IN(); 1486 /* test LO8(eax), LO8(eax) */ /* 0x2B03DE1B: test al, al */ 1487 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1488 _cf = 0; 1489 _flag_k = FK_NARROW(FK_TEST, 24); 1490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DE29; /* 0x2B03DE1D: je 0x2b03de29 */ 1491 L_2B03DE1F: 1492 ecx = MEM32(0x2B0EEA14); /* 0x2B03DE1F: mov ecx, dword ptr [0x2b0eea14] */ 1493 edi = MEM32(ecx); /* 0x2B03DE25: mov edi, dword ptr [ecx] */ 1494 goto L_2B03DE8F; /* 0x2B03DE27: jmp 0x2b03de8f */ 1495 L_2B03DE29: 1496 eax = MEM32(0x2B0EEA70); /* 0x2B03DE29: mov eax, dword ptr [0x2b0eea70] */ 1497 /* test eax, eax */ /* 0x2B03DE2E: test eax, eax */ 1498 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1499 _cf = 0; 1500 _flag_k = FK_TEST; 1501 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE30: je 0x2b03dee0 */ 1502 L_2B03DE36: 1503 eax = MEM32(0x2B0EEA74); /* 0x2B03DE36: mov eax, dword ptr [0x2b0eea74] */ 1504 /* test eax, eax */ /* 0x2B03DE3B: test eax, eax */ 1505 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1506 _cf = 0; 1507 _flag_k = FK_TEST; 1508 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE3D: je 0x2b03dee0 */ 1509 L_2B03DE43: 1510 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B03DE43: mov cl, byte ptr [eax + 0x30] */ 1511 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03DE46: test cl, cl */ 1512 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1513 _cf = 0; 1514 _flag_k = FK_NARROW(FK_TEST, 24); 1515 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE48: je 0x2b03dee0 */ 1516 L_2B03DE4E: 1517 eax = MEM32(eax + 0x14); /* 0x2B03DE4E: mov eax, dword ptr [eax + 0x14] */ 1518 edx = ebp + (-0xC); /* 0x2B03DE51: lea edx, [ebp - 0xc] */ 1519 PUSH32(esp, edx); /* 0x2B03DE54: push edx */ 1520 ecx = eax; /* 0x2B03DE55: mov ecx, eax */ 1521 RECOMP_ICALL(esi); /* 0x2B03DE57: call esi */ 1522 RECOMP_FLAGS_IN(); 1523 /* test LO8(eax), LO8(eax) */ /* 0x2B03DE59: test al, al */ 1524 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1525 _cf = 0; 1526 _flag_k = FK_NARROW(FK_TEST, 24); 1527 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DE67; /* 0x2B03DE5B: je 0x2b03de67 */ 1528 L_2B03DE5D: 1529 eax = MEM32(0x2B0EEA74); /* 0x2B03DE5D: mov eax, dword ptr [0x2b0eea74] */ 1530 edi = MEM32(eax + 0x14); /* 0x2B03DE62: mov edi, dword ptr [eax + 0x14] */ 1531 goto L_2B03DE8F; /* 0x2B03DE65: jmp 0x2b03de8f */ 1532 L_2B03DE67: 1533 eax = MEM32(0x2B0EEA78); /* 0x2B03DE67: mov eax, dword ptr [0x2b0eea78] */ 1534 /* test eax, eax */ /* 0x2B03DE6C: test eax, eax */ 1535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1536 _cf = 0; 1537 _flag_k = FK_TEST; 1538 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE6E: je 0x2b03dee0 */ 1539 L_2B03DE70: 1540 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B03DE70: mov cl, byte ptr [eax + 0x30] */ 1541 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03DE73: test cl, cl */ 1542 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1543 _cf = 0; 1544 _flag_k = FK_NARROW(FK_TEST, 24); 1545 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE75: je 0x2b03dee0 */ 1546 L_2B03DE77: 1547 eax = MEM32(eax + 0x14); /* 0x2B03DE77: mov eax, dword ptr [eax + 0x14] */ 1548 ecx = ebp + (-0xC); /* 0x2B03DE7A: lea ecx, [ebp - 0xc] */ 1549 PUSH32(esp, ecx); /* 0x2B03DE7D: push ecx */ 1550 ecx = eax; /* 0x2B03DE7E: mov ecx, eax */ 1551 RECOMP_ICALL(esi); /* 0x2B03DE80: call esi */ 1552 RECOMP_FLAGS_IN(); 1553 /* test LO8(eax), LO8(eax) */ /* 0x2B03DE82: test al, al */ 1554 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1555 _cf = 0; 1556 _flag_k = FK_NARROW(FK_TEST, 24); 1557 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE84: je 0x2b03dee0 */ 1558 L_2B03DE86: 1559 edx = MEM32(0x2B0EEA78); /* 0x2B03DE86: mov edx, dword ptr [0x2b0eea78] */ 1560 edi = MEM32(edx + 0x14); /* 0x2B03DE8C: mov edi, dword ptr [edx + 0x14] */ 1561 L_2B03DE8F: 1562 /* test edi, edi */ /* 0x2B03DE8F: test edi, edi */ 1563 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1564 _cf = 0; 1565 _flag_k = FK_TEST; 1566 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE91: je 0x2b03dee0 */ 1567 L_2B03DE93: 1568 eax = MEM32(ebp + (-0x4)); /* 0x2B03DE93: mov eax, dword ptr [ebp - 4] */ 1569 /* test eax, eax */ /* 0x2B03DE96: test eax, eax */ 1570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1571 _cf = 0; 1572 _flag_k = FK_TEST; 1573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DE98: je 0x2b03dee0 */ 1574 L_2B03DE9A: 1575 eax = ebp + (-0xC); /* 0x2B03DE9A: lea eax, [ebp - 0xc] */ 1576 PUSH32(esp, eax); /* 0x2B03DE9D: push eax */ 1577 ecx = edi; /* 0x2B03DE9E: mov ecx, edi */ 1578 RECOMP_ICALL(MEM32(0x2B0B5904)); /* 0x2B03DEA0: call dword ptr [0x2b0b5904] */ 1579 RECOMP_FLAGS_IN(); 1580 esi = eax; /* 0x2B03DEA6: mov esi, eax */ 1581 /* test esi, esi */ /* 0x2B03DEA8: test esi, esi */ 1582 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1583 _cf = 0; 1584 _flag_k = FK_TEST; 1585 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DEAA: je 0x2b03dee0 */ 1586 L_2B03DEAC: 1587 ecx = MEM32(ebp + (-0x4)); /* 0x2B03DEAC: mov ecx, dword ptr [ebp - 4] */ 1588 PUSH32(esp, ecx); /* 0x2B03DEAF: push ecx */ 1589 edx = ebp + (-0xC); /* 0x2B03DEB0: lea edx, [ebp - 0xc] */ 1590 PUSH32(esp, edx); /* 0x2B03DEB3: push edx */ 1591 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03DEB4: call dword ptr [0x2b0b5d6c] */ 1592 RECOMP_FLAGS_IN(); 1593 ecx = eax; /* 0x2B03DEBA: mov ecx, eax */ 1594 RECOMP_ICALL(MEM32(0x2B0B5EEC)); /* 0x2B03DEBC: call dword ptr [0x2b0b5eec] */ 1595 RECOMP_FLAGS_IN(); 1596 /* test LO8(eax), LO8(eax) */ /* 0x2B03DEC2: test al, al */ 1597 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1598 _cf = 0; 1599 _flag_k = FK_NARROW(FK_TEST, 24); 1600 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DEE0; /* 0x2B03DEC4: je 0x2b03dee0 */ 1601 L_2B03DEC6: 1602 PUSH32(esp, 0); /* 0x2B03DEC6: push 0 */ 1603 PUSH32(esp, esi); /* 0x2B03DEC8: push esi */ 1604 ecx = edi; /* 0x2B03DEC9: mov ecx, edi */ 1605 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B03DECB: call dword ptr [0x2b0b5918] */ 1606 RECOMP_FLAGS_IN(); 1607 PUSH32(esp, esi); /* 0x2B03DED1: push esi */ 1608 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03DED2: call dword ptr [0x2b0b596c] */ 1609 RECOMP_FLAGS_IN(); 1610 ecx = eax; /* 0x2B03DED8: mov ecx, eax */ 1611 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B03DEDA: call dword ptr [0x2b0b5920] */ 1612 RECOMP_FLAGS_IN(); 1613 L_2B03DEE0: 1614 RECOMP_ICALL(MEM32(0x2B0B5908)); /* 0x2B03DEE0: call dword ptr [0x2b0b5908] */ 1615 RECOMP_FLAGS_IN(); 1616 eax = MEM32(0x2B0B590C); /* 0x2B03DEE6: mov eax, dword ptr [0x2b0b590c] */ 1617 ecx = MEM32(eax); /* 0x2B03DEEB: mov ecx, dword ptr [eax] */ 1618 /* test ecx, ecx */ /* 0x2B03DEED: test ecx, ecx */ 1619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1620 _cf = 0; 1621 _flag_k = FK_TEST; 1622 edi = POP32_VAL(esp); /* 0x2B03DEEF: pop edi */ 1623 esi = POP32_VAL(esp); /* 0x2B03DEF0: pop esi */ 1624 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DF09; /* 0x2B03DEF1: je 0x2b03df09 */ 1625 L_2B03DEF3: 1626 eax = MEM32(ecx); /* 0x2B03DEF3: mov eax, dword ptr [ecx] */ 1627 PUSH32(esp, 1); /* 0x2B03DEF5: push 1 */ 1628 RECOMP_ICALL(MEM32(eax)); /* 0x2B03DEF7: call dword ptr [eax] */ 1629 RECOMP_FLAGS_IN(); 1630 ecx = MEM32(0x2B0B590C); /* 0x2B03DEF9: mov ecx, dword ptr [0x2b0b590c] */ 1631 MEM32(ecx) = 0; /* 0x2B03DEFF: mov dword ptr [ecx], 0 */ 1632 esp = ebp; /* 0x2B03DF05: mov esp, ebp */ 1633 ebp = POP32_VAL(esp); /* 0x2B03DF07: pop ebp */ 1634 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DF08: ret */ 1635 L_2B03DF09: 1636 MEM32(eax) = 0; /* 0x2B03DF09: mov dword ptr [eax], 0 */ 1637 esp = ebp; /* 0x2B03DF0F: mov esp, ebp */ 1638 ebp = POP32_VAL(esp); /* 0x2B03DF11: pop ebp */ 1639 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DF12: ret */ 1640 RECOMP_REGS_OUT(); 1641 } 1642 1643 void sub_2B03DF20(void) { 1644 int _fpu_cmp = 0; 1645 uint32_t _cf = 0; 1646 int _df = 1; 1647 uint32_t _flag_k = FK_NONE; 1648 uint32_t _flag_a = 0, _flag_b = 0; 1649 uint32_t _itail_tgt = 0; 1650 RECOMP_REGS_LOCALS 1651 RECOMP_ENTER(0x2B03DF20u); 1652 1653 L_2B03DF20: 1654 ecx = MEM32(0x2B0EEA14); /* 0x2B03DF20: mov ecx, dword ptr [0x2b0eea14] */ 1655 /* test ecx, ecx */ /* 0x2B03DF26: test ecx, ecx */ 1656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1657 _cf = 0; 1658 _flag_k = FK_TEST; 1659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DF2F; /* 0x2B03DF28: je 0x2b03df2f */ 1660 L_2B03DF2A: 1661 goto L_2B03E600; /* 0x2B03DF2A: jmp 0x2b03e600 */ 1662 L_2B03DF2F: 1663 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DF2F: ret */ 1664 L_2B03E600: 1665 PUSH32(esp, ebp); /* 0x2B03E600: push ebp */ 1666 ebp = esp; /* 0x2B03E601: mov ebp, esp */ 1667 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 1668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1669 esp = esp - 0x3Cu; /* 0x2B03E603: sub esp, 0x3c */ 1670 _flag_k = FK_CMP; 1671 PUSH32(esp, esi); /* 0x2B03E606: push esi */ 1672 esi = ecx; /* 0x2B03E607: mov esi, ecx */ 1673 _flag_a = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; _flag_b = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; 1674 MEM8(esi + 0x18) = (uint8_t)(MEM8(esi + 0x18) ^ 1); /* 0x2B03E609: xor byte ptr [esi + 0x18], 1 */ 1675 _cf = 0; 1676 _flag_k = FK_NARROW(FK_TEST, 24); 1677 ecx = esi; /* 0x2B03E60D: mov ecx, esi */ 1678 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E60F: call 0x2b03e950 */ /* not lifted */ 1679 RECOMP_FLAGS_IN(); 1680 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E614: mov al, byte ptr [esi + 0x18] */ 1681 /* test LO8(eax), LO8(eax) */ /* 0x2B03E617: test al, al */ 1682 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1683 _cf = 0; 1684 _flag_k = FK_NARROW(FK_TEST, 24); 1685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E6A2; /* 0x2B03E619: je 0x2b03e6a2 */ 1686 L_2B03E61F: 1687 PUSH32(esp, 2); /* 0x2B03E61F: push 2 */ 1688 PUSH32(esp, 0x21u); /* 0x2B03E621: push 0x21 */ 1689 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03E623: call dword ptr [0x2b0b5d6c] */ 1690 RECOMP_FLAGS_IN(); 1691 ecx = eax; /* 0x2B03E629: mov ecx, eax */ 1692 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B03E62B: call dword ptr [0x2b0b5d70] */ 1693 RECOMP_FLAGS_IN(); 1694 /* cmp eax, 3 */ /* 0x2B03E631: cmp eax, 3 */ 1695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 1696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1697 _flag_k = FK_CMP; 1698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E666; /* 0x2B03E634: je 0x2b03e666 */ 1699 L_2B03E636: 1700 /* cmp eax, 0x499602D2u */ /* 0x2B03E636: cmp eax, 0x499602d2 */ 1701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 1702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1703 _flag_k = FK_CMP; 1704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E666; /* 0x2B03E63B: je 0x2b03e666 */ 1705 L_2B03E63D: 1706 ecx = esi; /* 0x2B03E63D: mov ecx, esi */ 1707 RECOMP_ICALL(0x2B03E800u); /* 0x2B03E63F: call 0x2b03e800 */ /* not lifted */ 1708 RECOMP_FLAGS_IN(); 1709 ecx = esi; /* 0x2B03E644: mov ecx, esi */ 1710 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E646: call 0x2b03e6f0 */ /* not lifted */ 1711 RECOMP_FLAGS_IN(); 1712 ecx = MEM32(0x2B0EF104); /* 0x2B03E64B: mov ecx, dword ptr [0x2b0ef104] */ 1713 /* test ecx, ecx */ /* 0x2B03E651: test ecx, ecx */ 1714 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1715 _cf = 0; 1716 _flag_k = FK_TEST; 1717 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E6A9; /* 0x2B03E653: je 0x2b03e6a9 */ 1718 L_2B03E655: 1719 PUSH32(esp, 0); /* 0x2B03E655: push 0 */ 1720 PUSH32(esp, 0x2B0E6F60u); /* 0x2B03E657: push 0x2b0e6f60 */ 1721 RECOMP_ICALL(0x2B08D480u); /* 0x2B03E65C: call 0x2b08d480 */ /* not lifted */ 1722 RECOMP_FLAGS_IN(); 1723 esi = POP32_VAL(esp); /* 0x2B03E661: pop esi */ 1724 esp = ebp; /* 0x2B03E662: mov esp, ebp */ 1725 ebp = POP32_VAL(esp); /* 0x2B03E664: pop ebp */ 1726 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E665: ret */ 1727 L_2B03E666: 1728 PUSH32(esp, edi); /* 0x2B03E666: push edi */ 1729 ecx = 0xEu; /* 0x2B03E667: mov ecx, 0xe */ 1730 esi = 0x2B0E6F24u; /* 0x2B03E66C: mov esi, 0x2b0e6f24 */ 1731 edi = ebp + (-0x3C); /* 0x2B03E671: lea edi, [ebp - 0x3c] */ 1732 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E674: 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; } 1733 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B03E676: movsw word ptr es:[edi], word ptr [esi] */ 1734 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03E678: movsb byte ptr es:[edi], byte ptr [esi] */ 1735 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1736 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03E679: or ecx, 0xffffffff */ 1737 _cf = 0; 1738 _flag_k = FK_TEST; 1739 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1740 eax = 0; /* 0x2B03E67C: xor eax, eax */ 1741 _cf = 0; 1742 _flag_k = FK_TEST; 1743 edi = ebp + (-0x3C); /* 0x2B03E67E: lea edi, [ebp - 0x3c] */ 1744 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; } /* 0x2B03E681: repne scasb al, byte ptr es:[edi] */ 1745 ecx = ~ecx; /* 0x2B03E683: not ecx */ 1746 PUSH32(esp, ecx); /* 0x2B03E685: push ecx */ 1747 eax = ebp + (-0x3C); /* 0x2B03E686: lea eax, [ebp - 0x3c] */ 1748 PUSH32(esp, eax); /* 0x2B03E689: push eax */ 1749 PUSH32(esp, 0x3Fu); /* 0x2B03E68A: push 0x3f */ 1750 PUSH32(esp, 3); /* 0x2B03E68C: push 3 */ 1751 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03E68E: call dword ptr [0x2b0b53cc] */ 1752 RECOMP_FLAGS_IN(); 1753 ecx = eax; /* 0x2B03E694: mov ecx, eax */ 1754 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03E696: call dword ptr [0x2b0b53c4] */ 1755 RECOMP_FLAGS_IN(); 1756 edi = POP32_VAL(esp); /* 0x2B03E69C: pop edi */ 1757 esi = POP32_VAL(esp); /* 0x2B03E69D: pop esi */ 1758 esp = ebp; /* 0x2B03E69E: mov esp, ebp */ 1759 ebp = POP32_VAL(esp); /* 0x2B03E6A0: pop ebp */ 1760 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6A1: ret */ 1761 L_2B03E6A2: 1762 ecx = esi; /* 0x2B03E6A2: mov ecx, esi */ 1763 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E6A4: call 0x2b03e850 */ /* not lifted */ 1764 RECOMP_FLAGS_IN(); 1765 L_2B03E6A9: 1766 esi = POP32_VAL(esp); /* 0x2B03E6A9: pop esi */ 1767 esp = ebp; /* 0x2B03E6AA: mov esp, ebp */ 1768 ebp = POP32_VAL(esp); /* 0x2B03E6AC: pop ebp */ 1769 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6AD: ret */ 1770 RECOMP_REGS_OUT(); 1771 } 1772 1773 void sub_2B03DF30(void) { 1774 int _fpu_cmp = 0; 1775 uint32_t _cf = 0; 1776 int _df = 1; 1777 uint32_t _flag_k = FK_NONE; 1778 uint32_t _flag_a = 0, _flag_b = 0; 1779 uint32_t _itail_tgt = 0; 1780 RECOMP_REGS_LOCALS 1781 RECOMP_ENTER(0x2B03DF30u); 1782 1783 L_2B03DF30: 1784 ecx = MEM32(0x2B0EEA14); /* 0x2B03DF30: mov ecx, dword ptr [0x2b0eea14] */ 1785 /* test ecx, ecx */ /* 0x2B03DF36: test ecx, ecx */ 1786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1787 _cf = 0; 1788 _flag_k = FK_TEST; 1789 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DF3F; /* 0x2B03DF38: je 0x2b03df3f */ 1790 L_2B03DF3A: 1791 goto L_2B03E6B0; /* 0x2B03DF3A: jmp 0x2b03e6b0 */ 1792 L_2B03DF3F: 1793 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DF3F: ret */ 1794 L_2B03E6B0: 1795 PUSH32(esp, esi); /* 0x2B03E6B0: push esi */ 1796 esi = ecx; /* 0x2B03E6B1: mov esi, ecx */ 1797 _flag_a = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; _flag_b = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; 1798 MEM8(esi + 0x18) = (uint8_t)(MEM8(esi + 0x18) ^ 1); /* 0x2B03E6B3: xor byte ptr [esi + 0x18], 1 */ 1799 _cf = 0; 1800 _flag_k = FK_NARROW(FK_TEST, 24); 1801 ecx = esi; /* 0x2B03E6B7: mov ecx, esi */ 1802 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E6B9: call 0x2b03e950 */ /* not lifted */ 1803 RECOMP_FLAGS_IN(); 1804 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E6BE: mov al, byte ptr [esi + 0x18] */ 1805 /* test LO8(eax), LO8(eax) */ /* 0x2B03E6C1: test al, al */ 1806 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1807 _cf = 0; 1808 _flag_k = FK_NARROW(FK_TEST, 24); 1809 ecx = esi; /* 0x2B03E6C3: mov ecx, esi */ 1810 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E6DD; /* 0x2B03E6C5: jne 0x2b03e6dd */ 1811 L_2B03E6C7: 1812 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E6C7: call 0x2b03e850 */ /* not lifted */ 1813 RECOMP_FLAGS_IN(); 1814 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E6CC: mov al, byte ptr [esi + 0x18] */ 1815 _flag_a = (uint32_t)((LO8(eax) ^ 1)) << 24; _flag_b = (uint32_t)((LO8(eax) ^ 1)) << 24; 1816 SET_LO8(eax, LO8(eax) ^ 1); /* 0x2B03E6CF: xor al, 1 */ 1817 _cf = 0; 1818 _flag_k = FK_NARROW(FK_TEST, 24); 1819 ecx = esi; /* 0x2B03E6D1: mov ecx, esi */ 1820 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x2B03E6D3: mov byte ptr [esi + 0x18], al */ 1821 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E6D6: call 0x2b03e950 */ /* not lifted */ 1822 RECOMP_FLAGS_IN(); 1823 ecx = esi; /* 0x2B03E6DB: mov ecx, esi */ 1824 L_2B03E6DD: 1825 RECOMP_ICALL(0x2B03E800u); /* 0x2B03E6DD: call 0x2b03e800 */ /* not lifted */ 1826 RECOMP_FLAGS_IN(); 1827 ecx = esi; /* 0x2B03E6E2: mov ecx, esi */ 1828 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E6E4: call 0x2b03e6f0 */ /* not lifted */ 1829 RECOMP_FLAGS_IN(); 1830 esi = POP32_VAL(esp); /* 0x2B03E6E9: pop esi */ 1831 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6EA: ret */ 1832 RECOMP_REGS_OUT(); 1833 } 1834 1835 void sub_2B03DF40(void) { 1836 int _fpu_cmp = 0; 1837 uint32_t _cf = 0; 1838 int _df = 1; 1839 uint32_t _flag_k = FK_NONE; 1840 uint32_t _flag_a = 0, _flag_b = 0; 1841 uint32_t _itail_tgt = 0; 1842 RECOMP_REGS_LOCALS 1843 RECOMP_ENTER(0x2B03DF40u); 1844 1845 L_2B03DF40: 1846 PUSH32(esp, ebp); /* 0x2B03DF40: push ebp */ 1847 ebp = esp; /* 0x2B03DF41: mov ebp, esp */ 1848 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1850 esp = esp - 0x10u; /* 0x2B03DF43: sub esp, 0x10 */ 1851 _flag_k = FK_CMP; 1852 ecx = MEM32(0x2B0EEA14); /* 0x2B03DF46: mov ecx, dword ptr [0x2b0eea14] */ 1853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1854 eax = 0; /* 0x2B03DF4C: xor eax, eax */ 1855 _cf = 0; 1856 _flag_k = FK_TEST; 1857 /* cmp ecx, eax */ /* 0x2B03DF4E: cmp ecx, eax */ 1858 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1860 _flag_k = FK_CMP; 1861 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03DF87; /* 0x2B03DF50: je 0x2b03df87 */ 1862 L_2B03DF52: 1863 MEM32(ebp + (-0x10)) = eax; /* 0x2B03DF52: mov dword ptr [ebp - 0x10], eax */ 1864 MEM32(ebp + (-0xC)) = eax; /* 0x2B03DF55: mov dword ptr [ebp - 0xc], eax */ 1865 MEM32(ebp + (-0x8)) = eax; /* 0x2B03DF58: mov dword ptr [ebp - 8], eax */ 1866 MEM32(ebp + (-0x4)) = eax; /* 0x2B03DF5B: mov dword ptr [ebp - 4], eax */ 1867 eax = ebp + (-0x8); /* 0x2B03DF5E: lea eax, [ebp - 8] */ 1868 PUSH32(esp, eax); /* 0x2B03DF61: push eax */ 1869 ecx = ebp + (-0x10); /* 0x2B03DF62: lea ecx, [ebp - 0x10] */ 1870 PUSH32(esp, ecx); /* 0x2B03DF65: push ecx */ 1871 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DF66: call dword ptr [0x2b0b53cc] */ 1872 RECOMP_FLAGS_IN(); 1873 ecx = eax; /* 0x2B03DF6C: mov ecx, eax */ 1874 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B03DF6E: call dword ptr [0x2b0b5364] */ 1875 RECOMP_FLAGS_IN(); 1876 ecx = MEM32(0x2B0EEA14); /* 0x2B03DF74: mov ecx, dword ptr [0x2b0eea14] */ 1877 edx = ebp + (-0x8); /* 0x2B03DF7A: lea edx, [ebp - 8] */ 1878 PUSH32(esp, edx); /* 0x2B03DF7D: push edx */ 1879 eax = ebp + (-0x10); /* 0x2B03DF7E: lea eax, [ebp - 0x10] */ 1880 PUSH32(esp, eax); /* 0x2B03DF81: push eax */ 1881 RECOMP_ICALL(0x2B03EA50u); /* 0x2B03DF82: call 0x2b03ea50 */ /* not lifted */ 1882 RECOMP_FLAGS_IN(); 1883 L_2B03DF87: 1884 esp = ebp; /* 0x2B03DF87: mov esp, ebp */ 1885 ebp = POP32_VAL(esp); /* 0x2B03DF89: pop ebp */ 1886 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DF8A: ret */ 1887 RECOMP_REGS_OUT(); 1888 } 1889 1890 void sub_2B03DF90(void) { 1891 int _fpu_cmp = 0; 1892 uint32_t _cf = 0; 1893 int _df = 1; 1894 uint32_t _flag_k = FK_NONE; 1895 uint32_t _flag_a = 0, _flag_b = 0; 1896 uint32_t _itail_tgt = 0; 1897 RECOMP_REGS_LOCALS 1898 RECOMP_ENTER(0x2B03DF90u); 1899 1900 L_2B03DF90: 1901 PUSH32(esp, ebp); /* 0x2B03DF90: push ebp */ 1902 ebp = esp; /* 0x2B03DF91: mov ebp, esp */ 1903 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1905 esp = esp - 8; /* 0x2B03DF93: sub esp, 8 */ 1906 _flag_k = FK_CMP; 1907 eax = ebp + (-0x8); /* 0x2B03DF96: lea eax, [ebp - 8] */ 1908 PUSH32(esp, eax); /* 0x2B03DF99: push eax */ 1909 MEM32(ebp + (-0x8)) = 0; /* 0x2B03DF9A: mov dword ptr [ebp - 8], 0 */ 1910 MEM32(ebp + (-0x4)) = 0; /* 0x2B03DFA1: mov dword ptr [ebp - 4], 0 */ 1911 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DFA8: call dword ptr [0x2b0b53cc] */ 1912 RECOMP_FLAGS_IN(); 1913 ecx = eax; /* 0x2B03DFAE: mov ecx, eax */ 1914 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03DFB0: call dword ptr [0x2b0b53ac] */ 1915 RECOMP_FLAGS_IN(); 1916 ecx = MEM32(0x2B0EEA14); /* 0x2B03DFB6: mov ecx, dword ptr [0x2b0eea14] */ 1917 /* test ecx, ecx */ /* 0x2B03DFBC: test ecx, ecx */ 1918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1919 _cf = 0; 1920 _flag_k = FK_TEST; 1921 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DFC9; /* 0x2B03DFBE: je 0x2b03dfc9 */ 1922 L_2B03DFC0: 1923 edx = ebp + (-0x8); /* 0x2B03DFC0: lea edx, [ebp - 8] */ 1924 PUSH32(esp, edx); /* 0x2B03DFC3: push edx */ 1925 RECOMP_ICALL(0x2B03EA70u); /* 0x2B03DFC4: call 0x2b03ea70 */ /* not lifted */ 1926 RECOMP_FLAGS_IN(); 1927 L_2B03DFC9: 1928 esp = ebp; /* 0x2B03DFC9: mov esp, ebp */ 1929 ebp = POP32_VAL(esp); /* 0x2B03DFCB: pop ebp */ 1930 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03DFCC: ret */ 1931 RECOMP_REGS_OUT(); 1932 } 1933 1934 void sub_2B03DFD0(void) { 1935 int _fpu_cmp = 0; 1936 uint32_t _cf = 0; 1937 int _df = 1; 1938 uint32_t _flag_k = FK_NONE; 1939 uint32_t _flag_a = 0, _flag_b = 0; 1940 uint32_t _itail_tgt = 0; 1941 RECOMP_REGS_LOCALS 1942 RECOMP_ENTER(0x2B03DFD0u); 1943 1944 L_2B03DFD0: 1945 PUSH32(esp, ebp); /* 0x2B03DFD0: push ebp */ 1946 ebp = esp; /* 0x2B03DFD1: mov ebp, esp */ 1947 PUSH32(esp, ecx); /* 0x2B03DFD3: push ecx */ 1948 eax = ebp + (-0x4); /* 0x2B03DFD4: lea eax, [ebp - 4] */ 1949 PUSH32(esp, eax); /* 0x2B03DFD7: push eax */ 1950 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03DFD8: call dword ptr [0x2b0b53cc] */ 1951 RECOMP_FLAGS_IN(); 1952 ecx = eax; /* 0x2B03DFDE: mov ecx, eax */ 1953 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B03DFE0: call dword ptr [0x2b0b53a8] */ 1954 RECOMP_FLAGS_IN(); 1955 ecx = MEM32(0x2B0EEA14); /* 0x2B03DFE6: mov ecx, dword ptr [0x2b0eea14] */ 1956 /* test ecx, ecx */ /* 0x2B03DFEC: test ecx, ecx */ 1957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1958 _cf = 0; 1959 _flag_k = FK_TEST; 1960 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03DFFE; /* 0x2B03DFEE: je 0x2b03dffe */ 1961 L_2B03DFF0: 1962 edx = MEM32(ebp + (-0x4)); /* 0x2B03DFF0: mov edx, dword ptr [ebp - 4] */ 1963 /* test edx, edx */ /* 0x2B03DFF3: test edx, edx */ 1964 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1965 _cf = 0; 1966 _flag_k = FK_TEST; 1967 SET_LO8(edx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B03DFF5: setne dl */ 1968 PUSH32(esp, edx); /* 0x2B03DFF8: push edx */ 1969 RECOMP_ICALL(0x2B03EBD0u); /* 0x2B03DFF9: call 0x2b03ebd0 */ /* not lifted */ 1970 RECOMP_FLAGS_IN(); 1971 L_2B03DFFE: 1972 esp = ebp; /* 0x2B03DFFE: mov esp, ebp */ 1973 ebp = POP32_VAL(esp); /* 0x2B03E000: pop ebp */ 1974 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E001: ret */ 1975 RECOMP_REGS_OUT(); 1976 } 1977 1978 void sub_2B03E010(void) { 1979 int _fpu_cmp = 0; 1980 uint32_t _cf = 0; 1981 int _df = 1; 1982 uint32_t _flag_k = FK_NONE; 1983 uint32_t _flag_a = 0, _flag_b = 0; 1984 uint32_t _itail_tgt = 0; 1985 RECOMP_REGS_LOCALS 1986 RECOMP_ENTER(0x2B03E010u); 1987 1988 L_2B03E010: 1989 eax = MEM32(0x2B0EEA14); /* 0x2B03E010: mov eax, dword ptr [0x2b0eea14] */ 1990 /* test eax, eax */ /* 0x2B03E015: test eax, eax */ 1991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1992 _cf = 0; 1993 _flag_k = FK_TEST; 1994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E03B; /* 0x2B03E017: je 0x2b03e03b */ 1995 L_2B03E019: 1996 eax = MEM32(eax); /* 0x2B03E019: mov eax, dword ptr [eax] */ 1997 PUSH32(esp, esi); /* 0x2B03E01B: push esi */ 1998 esi = MEM32(eax + 0x2C); /* 0x2B03E01C: mov esi, dword ptr [eax + 0x2c] */ 1999 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B03E01F: call dword ptr [0x2b0b5b64] */ 2000 RECOMP_FLAGS_IN(); 2001 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x110)); 2002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2003 esi = esi - MEM32(eax + 0x110); /* 0x2B03E025: sub esi, dword ptr [eax + 0x110] */ 2004 _flag_k = FK_CMP; 2005 ecx = MEM32(0x2B0EEA14); /* 0x2B03E02B: mov ecx, dword ptr [0x2b0eea14] */ 2006 ecx = MEM32(ecx); /* 0x2B03E031: mov ecx, dword ptr [ecx] */ 2007 PUSH32(esp, esi); /* 0x2B03E033: push esi */ 2008 RECOMP_ICALL(MEM32(0x2B0B5900)); /* 0x2B03E034: call dword ptr [0x2b0b5900] */ 2009 RECOMP_FLAGS_IN(); 2010 esi = POP32_VAL(esp); /* 0x2B03E03A: pop esi */ 2011 L_2B03E03B: 2012 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E03B: ret */ 2013 RECOMP_REGS_OUT(); 2014 } 2015 2016 void sub_2B03E040(void) { 2017 int _fpu_cmp = 0; 2018 uint32_t _cf = 0; 2019 int _df = 1; 2020 uint32_t _flag_k = FK_NONE; 2021 uint32_t _flag_a = 0, _flag_b = 0; 2022 uint32_t _itail_tgt = 0; 2023 RECOMP_REGS_LOCALS 2024 RECOMP_ENTER(0x2B03E040u); 2025 2026 L_2B03E040: 2027 PUSH32(esp, ebp); /* 0x2B03E040: push ebp */ 2028 ebp = esp; /* 0x2B03E041: mov ebp, esp */ 2029 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03E043: push -1 */ 2030 PUSH32(esp, 0x2B0AEAA8u); /* 0x2B03E045: push 0x2b0aeaa8 */ 2031 eax = MEM32(FS_BASE + (0)); /* 0x2B03E04A: mov eax, dword ptr fs:[0] */ 2032 PUSH32(esp, eax); /* 0x2B03E050: push eax */ 2033 MEM32(FS_BASE + (0)) = esp; /* 0x2B03E051: mov dword ptr fs:[0], esp */ 2034 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 2035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2036 esp = esp - 0x58u; /* 0x2B03E058: sub esp, 0x58 */ 2037 _flag_k = FK_CMP; 2038 PUSH32(esp, ebx); /* 0x2B03E05B: push ebx */ 2039 PUSH32(esp, esi); /* 0x2B03E05C: push esi */ 2040 PUSH32(esp, edi); /* 0x2B03E05D: push edi */ 2041 esi = ecx; /* 0x2B03E05E: mov esi, ecx */ 2042 PUSH32(esp, 1); /* 0x2B03E060: push 1 */ 2043 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2044 ebx = 0; /* 0x2B03E062: xor ebx, ebx */ 2045 _cf = 0; 2046 _flag_k = FK_TEST; 2047 MEM32(esi + 0x4) = ebx; /* 0x2B03E064: mov dword ptr [esi + 4], ebx */ 2048 MEM32(esi + 0x8) = ebx; /* 0x2B03E067: mov dword ptr [esi + 8], ebx */ 2049 PUSH32(esp, 1); /* 0x2B03E06A: push 1 */ 2050 MEM32(esi + 0xC) = ebx; /* 0x2B03E06C: mov dword ptr [esi + 0xc], ebx */ 2051 MEM32(esi + 0x10) = ebx; /* 0x2B03E06F: mov dword ptr [esi + 0x10], ebx */ 2052 eax = MEM32(0x2B0B6048); /* 0x2B03E072: mov eax, dword ptr [0x2b0b6048] */ 2053 PUSH32(esp, esi); /* 0x2B03E077: push esi */ 2054 PUSH32(esp, 0x2B03E500u); /* 0x2B03E078: push 0x2b03e500 */ 2055 MEM32(0x2B0EEA1C) = esi; /* 0x2B03E07D: mov dword ptr [0x2b0eea1c], esi */ 2056 MEM32(0x2B0EEA18) = esi; /* 0x2B03E083: mov dword ptr [0x2b0eea18], esi */ 2057 MEM32(ebp + (-0x24)) = ebx; /* 0x2B03E089: mov dword ptr [ebp - 0x24], ebx */ 2058 MEM32(ebp + (-0x20)) = ebx; /* 0x2B03E08C: mov dword ptr [ebp - 0x20], ebx */ 2059 ecx = MEM32(eax); /* 0x2B03E08F: mov ecx, dword ptr [eax] */ 2060 PUSH32(esp, 0x2B0E6F14u); /* 0x2B03E091: push 0x2b0e6f14 */ 2061 RECOMP_ICALL(MEM32(0x2B0B6050)); /* 0x2B03E096: call dword ptr [0x2b0b6050] */ 2062 RECOMP_FLAGS_IN(); 2063 ecx = MEM32(0x2B0B6048); /* 0x2B03E09C: mov ecx, dword ptr [0x2b0b6048] */ 2064 ecx = MEM32(ecx); /* 0x2B03E0A2: mov ecx, dword ptr [ecx] */ 2065 PUSH32(esp, 1); /* 0x2B03E0A4: push 1 */ 2066 PUSH32(esp, 0x2B0E6F14u); /* 0x2B03E0A6: push 0x2b0e6f14 */ 2067 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B03E0AB: call dword ptr [0x2b0b602c] */ 2068 RECOMP_FLAGS_IN(); 2069 MEM32(esi + 0x40) = eax; /* 0x2B03E0B1: mov dword ptr [esi + 0x40], eax */ 2070 SET_LO8(eax, MEM8(0x2B0EEA0C)); /* 0x2B03E0B4: mov al, byte ptr [0x2b0eea0c] */ 2071 /* test LO8(eax), 1 */ /* 0x2B03E0B9: test al, 1 */ 2072 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2073 _cf = 0; 2074 _flag_k = FK_NARROW(FK_TEST, 24); 2075 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E0D7; /* 0x2B03E0BB: jne 0x2b03e0d7 */ 2076 L_2B03E0BD: 2077 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 2078 SET_LO8(eax, LO8(eax) | 1); /* 0x2B03E0BD: or al, 1 */ 2079 _cf = 0; 2080 _flag_k = FK_NARROW(FK_TEST, 24); 2081 MEM8(0x2B0EEA0C) = (uint8_t)(LO8(eax)); /* 0x2B03E0BF: mov byte ptr [0x2b0eea0c], al */ 2082 RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B03E0C4: call dword ptr [0x2b0b5690] */ 2083 RECOMP_FLAGS_IN(); 2084 ecx = eax; /* 0x2B03E0CA: mov ecx, eax */ 2085 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B03E0CC: call dword ptr [0x2b0b5688] */ 2086 RECOMP_FLAGS_IN(); 2087 MEM32(0x2B0EEA08) = eax; /* 0x2B03E0D2: mov dword ptr [0x2b0eea08], eax */ 2088 L_2B03E0D7: 2089 eax = 0x100u; /* 0x2B03E0D7: mov eax, 0x100 */ 2090 edi = esi + 0x20; /* 0x2B03E0DC: lea edi, [esi + 0x20] */ 2091 PUSH32(esp, 0x50u); /* 0x2B03E0DF: push 0x50 */ 2092 MEM32(edi) = ebx; /* 0x2B03E0E1: mov dword ptr [edi], ebx */ 2093 MEM32(esi + 0x24) = ebx; /* 0x2B03E0E3: mov dword ptr [esi + 0x24], ebx */ 2094 MEM32(ebp + (-0x1C)) = eax; /* 0x2B03E0E6: mov dword ptr [ebp - 0x1c], eax */ 2095 MEM32(ebp + (-0x18)) = eax; /* 0x2B03E0E9: mov dword ptr [ebp - 0x18], eax */ 2096 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E0EC: call 0x2b0ab212 */ /* not lifted */ 2097 RECOMP_FLAGS_IN(); 2098 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2099 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2100 esp = esp + 4; /* 0x2B03E0F1: add esp, 4 */ 2101 _flag_k = FK_ADD; 2102 MEM32(ebp + (-0x10)) = eax; /* 0x2B03E0F4: mov dword ptr [ebp - 0x10], eax */ 2103 /* cmp eax, ebx */ /* 0x2B03E0F7: cmp eax, ebx */ 2104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2106 _flag_k = FK_CMP; 2107 MEM32(ebp + (-0x4)) = ebx; /* 0x2B03E0F9: mov dword ptr [ebp - 4], ebx */ 2108 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E121; /* 0x2B03E0FC: je 0x2b03e121 */ 2109 L_2B03E0FE: 2110 PUSH32(esp, ebx); /* 0x2B03E0FE: push ebx */ 2111 PUSH32(esp, 0x3F800000u); /* 0x2B03E0FF: push 0x3f800000 */ 2112 PUSH32(esp, 0x3F800000u); /* 0x2B03E104: push 0x3f800000 */ 2113 PUSH32(esp, 0x4A38u); /* 0x2B03E109: push 0x4a38 */ 2114 PUSH32(esp, edi); /* 0x2B03E10E: push edi */ 2115 edx = ebp + (-0x1C); /* 0x2B03E10F: lea edx, [ebp - 0x1c] */ 2116 PUSH32(esp, edx); /* 0x2B03E112: push edx */ 2117 PUSH32(esp, 8); /* 0x2B03E113: push 8 */ 2118 PUSH32(esp, 8); /* 0x2B03E115: push 8 */ 2119 ecx = eax; /* 0x2B03E117: mov ecx, eax */ 2120 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B03E119: call dword ptr [0x2b0b5bd8] */ 2121 RECOMP_FLAGS_IN(); 2122 goto L_2B03E123; /* 0x2B03E11F: jmp 0x2b03e123 */ 2123 L_2B03E121: 2124 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2125 eax = 0; /* 0x2B03E121: xor eax, eax */ 2126 _cf = 0; 2127 _flag_k = FK_TEST; 2128 L_2B03E123: 2129 PUSH32(esp, 1); /* 0x2B03E123: push 1 */ 2130 MEM32(esi + 0x4C) = eax; /* 0x2B03E125: mov dword ptr [esi + 0x4c], eax */ 2131 eax = MEM32(eax + 0x28); /* 0x2B03E128: mov eax, dword ptr [eax + 0x28] */ 2132 PUSH32(esp, ebx); /* 0x2B03E12B: push ebx */ 2133 PUSH32(esp, ebx); /* 0x2B03E12C: push ebx */ 2134 ecx = eax; /* 0x2B03E12D: mov ecx, eax */ 2135 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E12F: mov dword ptr [ebp - 4], 0xffffffff */ 2136 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B03E136: call dword ptr [0x2b0b564c] */ 2137 RECOMP_FLAGS_IN(); 2138 PUSH32(esp, 0x38u); /* 0x2B03E13C: push 0x38 */ 2139 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E13E: call 0x2b0ab212 */ /* not lifted */ 2140 RECOMP_FLAGS_IN(); 2141 edi = eax; /* 0x2B03E143: mov edi, eax */ 2142 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2144 esp = esp + 4; /* 0x2B03E145: add esp, 4 */ 2145 _flag_k = FK_ADD; 2146 MEM32(ebp + (-0x10)) = edi; /* 0x2B03E148: mov dword ptr [ebp - 0x10], edi */ 2147 /* cmp edi, ebx */ /* 0x2B03E14B: cmp edi, ebx */ 2148 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2150 _flag_k = FK_CMP; 2151 MEM32(ebp + (-0x4)) = 1; /* 0x2B03E14D: mov dword ptr [ebp - 4], 1 */ 2152 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E17A; /* 0x2B03E154: je 0x2b03e17a */ 2153 L_2B03E156: 2154 eax = MEM32(esi + 0x4C); /* 0x2B03E156: mov eax, dword ptr [esi + 0x4c] */ 2155 PUSH32(esp, eax); /* 0x2B03E159: push eax */ 2156 PUSH32(esp, 0x4A38u); /* 0x2B03E15A: push 0x4a38 */ 2157 PUSH32(esp, 0x11Fu); /* 0x2B03E15F: push 0x11f */ 2158 ecx = ebp + (-0x24); /* 0x2B03E164: lea ecx, [ebp - 0x24] */ 2159 PUSH32(esp, ecx); /* 0x2B03E167: push ecx */ 2160 ecx = edi; /* 0x2B03E168: mov ecx, edi */ 2161 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03E16A: call dword ptr [0x2b0b5948] */ 2162 RECOMP_FLAGS_IN(); 2163 MEM32(edi) = 0x2B0B68F4u; /* 0x2B03E170: mov dword ptr [edi], 0x2b0b68f4 */ 2164 eax = edi; /* 0x2B03E176: mov eax, edi */ 2165 goto L_2B03E17C; /* 0x2B03E178: jmp 0x2b03e17c */ 2166 L_2B03E17A: 2167 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2168 eax = 0; /* 0x2B03E17A: xor eax, eax */ 2169 _cf = 0; 2170 _flag_k = FK_TEST; 2171 L_2B03E17C: 2172 MEM32(esi + 0x14) = eax; /* 0x2B03E17C: mov dword ptr [esi + 0x14], eax */ 2173 ecx = MEM32(eax + 0x14); /* 0x2B03E17F: mov ecx, dword ptr [eax + 0x14] */ 2174 edx = MEM32(ecx + 0xC); /* 0x2B03E182: mov edx, dword ptr [ecx + 0xc] */ 2175 MEM32(ebp + (-0x1C)) = edx; /* 0x2B03E185: mov dword ptr [ebp - 0x1c], edx */ 2176 eax = MEM32(eax + 0x14); /* 0x2B03E188: mov eax, dword ptr [eax + 0x14] */ 2177 eax = MEM32(eax + 0x8); /* 0x2B03E18B: mov eax, dword ptr [eax + 8] */ 2178 ecx = ebp + (-0x1C); /* 0x2B03E18E: lea ecx, [ebp - 0x1c] */ 2179 PUSH32(esp, ecx); /* 0x2B03E191: push ecx */ 2180 ecx = MEM32(esi + 0x4C); /* 0x2B03E192: mov ecx, dword ptr [esi + 0x4c] */ 2181 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E195: mov dword ptr [ebp - 4], 0xffffffff */ 2182 MEM32(ebp + (-0x18)) = eax; /* 0x2B03E19C: mov dword ptr [ebp - 0x18], eax */ 2183 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B03E19F: call dword ptr [0x2b0b5978] */ 2184 RECOMP_FLAGS_IN(); 2185 ecx = MEM32(esi + 0x4C); /* 0x2B03E1A5: mov ecx, dword ptr [esi + 0x4c] */ 2186 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B03E1A8: call dword ptr [0x2b0b5bac] */ 2187 RECOMP_FLAGS_IN(); 2188 edx = MEM32(esi + 0x14); /* 0x2B03E1AE: mov edx, dword ptr [esi + 0x14] */ 2189 eax = MEM32(edx + 0x14); /* 0x2B03E1B1: mov eax, dword ptr [edx + 0x14] */ 2190 eax = MEM32(eax + 0x8); /* 0x2B03E1B4: mov eax, dword ptr [eax + 8] */ 2191 PUSH32(esp, 0x70u); /* 0x2B03E1B7: push 0x70 */ 2192 MEM32(ebp + (-0x10)) = eax; /* 0x2B03E1B9: mov dword ptr [ebp - 0x10], eax */ 2193 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E1BC: call 0x2b0ab212 */ /* not lifted */ 2194 RECOMP_FLAGS_IN(); 2195 edi = eax; /* 0x2B03E1C1: mov edi, eax */ 2196 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2198 esp = esp + 4; /* 0x2B03E1C3: add esp, 4 */ 2199 _flag_k = FK_ADD; 2200 MEM32(ebp + (-0x14)) = edi; /* 0x2B03E1C6: mov dword ptr [ebp - 0x14], edi */ 2201 /* cmp edi, ebx */ /* 0x2B03E1C9: cmp edi, ebx */ 2202 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2204 _flag_k = FK_CMP; 2205 MEM32(ebp + (-0x4)) = 2; /* 0x2B03E1CB: mov dword ptr [ebp - 4], 2 */ 2206 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E215; /* 0x2B03E1D2: je 0x2b03e215 */ 2207 L_2B03E1D4: 2208 ecx = MEM32(esi + 0x4C); /* 0x2B03E1D4: mov ecx, dword ptr [esi + 0x4c] */ 2209 PUSH32(esp, ecx); /* 0x2B03E1D7: push ecx */ 2210 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03E1D8: push -1 */ 2211 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03E1DA: push -1 */ 2212 PUSH32(esp, 0xFu); /* 0x2B03E1DC: push 0xf */ 2213 PUSH32(esp, ebx); /* 0x2B03E1DE: push ebx */ 2214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2216 esp = esp - 0x10u; /* 0x2B03E1DF: sub esp, 0x10 */ 2217 _flag_k = FK_CMP; 2218 edx = esp; /* 0x2B03E1E2: mov edx, esp */ 2219 MEM32(edx) = ebx; /* 0x2B03E1E4: mov dword ptr [edx], ebx */ 2220 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2221 eax = 0; /* 0x2B03E1E6: xor eax, eax */ 2222 _cf = 0; 2223 _flag_k = FK_TEST; 2224 MEM32(edx + 0x4) = eax; /* 0x2B03E1E8: mov dword ptr [edx + 4], eax */ 2225 PUSH32(esp, 0x4A3Cu); /* 0x2B03E1EB: push 0x4a3c */ 2226 eax = 0xC0u; /* 0x2B03E1F0: mov eax, 0xc0 */ 2227 MEM32(edx + 0x8) = eax; /* 0x2B03E1F5: mov dword ptr [edx + 8], eax */ 2228 eax = MEM32(ebp + (-0x10)); /* 0x2B03E1F8: mov eax, dword ptr [ebp - 0x10] */ 2229 PUSH32(esp, 0x124u); /* 0x2B03E1FB: push 0x124 */ 2230 PUSH32(esp, 0xDu); /* 0x2B03E200: push 0xd */ 2231 ecx = edi; /* 0x2B03E202: mov ecx, edi */ 2232 MEM32(edx + 0xC) = eax; /* 0x2B03E204: mov dword ptr [edx + 0xc], eax */ 2233 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B03E207: call dword ptr [0x2b0b5c00] */ 2234 RECOMP_FLAGS_IN(); 2235 MEM32(edi) = 0x2B0B6164u; /* 0x2B03E20D: mov dword ptr [edi], 0x2b0b6164 */ 2236 goto L_2B03E217; /* 0x2B03E213: jmp 0x2b03e217 */ 2237 L_2B03E215: 2238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2239 edi = 0; /* 0x2B03E215: xor edi, edi */ 2240 _cf = 0; 2241 _flag_k = FK_TEST; 2242 L_2B03E217: 2243 PUSH32(esp, 0x2B0E6EF0u); /* 0x2B03E217: push 0x2b0e6ef0 */ 2244 ecx = edi; /* 0x2B03E21C: mov ecx, edi */ 2245 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E21E: mov dword ptr [ebp - 4], 0xffffffff */ 2246 MEM32(esi + 0x1C) = edi; /* 0x2B03E225: mov dword ptr [esi + 0x1c], edi */ 2247 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B03E228: call dword ptr [0x2b0b5c04] */ 2248 RECOMP_FLAGS_IN(); 2249 PUSH32(esp, 0x9Cu); /* 0x2B03E22E: push 0x9c */ 2250 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E233: call 0x2b0ab212 */ /* not lifted */ 2251 RECOMP_FLAGS_IN(); 2252 edi = eax; /* 0x2B03E238: mov edi, eax */ 2253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2255 esp = esp + 4; /* 0x2B03E23A: add esp, 4 */ 2256 _flag_k = FK_ADD; 2257 MEM32(ebp + (-0x14)) = edi; /* 0x2B03E23D: mov dword ptr [ebp - 0x14], edi */ 2258 /* cmp edi, ebx */ /* 0x2B03E240: cmp edi, ebx */ 2259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2261 _flag_k = FK_CMP; 2262 MEM32(ebp + (-0x4)) = 3; /* 0x2B03E242: mov dword ptr [ebp - 4], 3 */ 2263 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E27A; /* 0x2B03E249: je 0x2b03e27a */ 2264 L_2B03E24B: 2265 ecx = MEM32(esi + 0x4C); /* 0x2B03E24B: mov ecx, dword ptr [esi + 0x4c] */ 2266 edx = MEM32(ebp + (-0x18)); /* 0x2B03E24E: mov edx, dword ptr [ebp - 0x18] */ 2267 eax = MEM32(ebp + (-0x1C)); /* 0x2B03E251: mov eax, dword ptr [ebp - 0x1c] */ 2268 PUSH32(esp, ecx); /* 0x2B03E254: push ecx */ 2269 ecx = MEM32(ebp + (-0x20)); /* 0x2B03E255: mov ecx, dword ptr [ebp - 0x20] */ 2270 PUSH32(esp, 4); /* 0x2B03E258: push 4 */ 2271 PUSH32(esp, ebx); /* 0x2B03E25A: push ebx */ 2272 PUSH32(esp, 0x4A38u); /* 0x2B03E25B: push 0x4a38 */ 2273 PUSH32(esp, ebx); /* 0x2B03E260: push ebx */ 2274 PUSH32(esp, ebx); /* 0x2B03E261: push ebx */ 2275 PUSH32(esp, ebx); /* 0x2B03E262: push ebx */ 2276 PUSH32(esp, edx); /* 0x2B03E263: push edx */ 2277 edx = MEM32(ebp + (-0x24)); /* 0x2B03E264: mov edx, dword ptr [ebp - 0x24] */ 2278 PUSH32(esp, eax); /* 0x2B03E267: push eax */ 2279 PUSH32(esp, ecx); /* 0x2B03E268: push ecx */ 2280 PUSH32(esp, edx); /* 0x2B03E269: push edx */ 2281 ecx = edi; /* 0x2B03E26A: mov ecx, edi */ 2282 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B03E26C: call dword ptr [0x2b0b5af0] */ 2283 RECOMP_FLAGS_IN(); 2284 MEM32(edi) = 0x2B0B642Cu; /* 0x2B03E272: mov dword ptr [edi], 0x2b0b642c */ 2285 goto L_2B03E27C; /* 0x2B03E278: jmp 0x2b03e27c */ 2286 L_2B03E27A: 2287 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2288 edi = 0; /* 0x2B03E27A: xor edi, edi */ 2289 _cf = 0; 2290 _flag_k = FK_TEST; 2291 L_2B03E27C: 2292 PUSH32(esp, 0x9Cu); /* 0x2B03E27C: push 0x9c */ 2293 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E281: mov dword ptr [ebp - 4], 0xffffffff */ 2294 MEM32(esi + 0x28) = edi; /* 0x2B03E288: mov dword ptr [esi + 0x28], edi */ 2295 MEM32(ebp + (-0x18)) = 0x11u; /* 0x2B03E28B: mov dword ptr [ebp - 0x18], 0x11 */ 2296 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E292: call 0x2b0ab212 */ /* not lifted */ 2297 RECOMP_FLAGS_IN(); 2298 edi = eax; /* 0x2B03E297: mov edi, eax */ 2299 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2300 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2301 esp = esp + 4; /* 0x2B03E299: add esp, 4 */ 2302 _flag_k = FK_ADD; 2303 MEM32(ebp + (-0x14)) = edi; /* 0x2B03E29C: mov dword ptr [ebp - 0x14], edi */ 2304 /* cmp edi, ebx */ /* 0x2B03E29F: cmp edi, ebx */ 2305 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2307 _flag_k = FK_CMP; 2308 MEM32(ebp + (-0x4)) = 4; /* 0x2B03E2A1: mov dword ptr [ebp - 4], 4 */ 2309 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E2DB; /* 0x2B03E2A8: je 0x2b03e2db */ 2310 L_2B03E2AA: 2311 eax = MEM32(esi + 0x4C); /* 0x2B03E2AA: mov eax, dword ptr [esi + 0x4c] */ 2312 ecx = MEM32(ebp + (-0x18)); /* 0x2B03E2AD: mov ecx, dword ptr [ebp - 0x18] */ 2313 edx = MEM32(ebp + (-0x1C)); /* 0x2B03E2B0: mov edx, dword ptr [ebp - 0x1c] */ 2314 PUSH32(esp, eax); /* 0x2B03E2B3: push eax */ 2315 eax = MEM32(ebp + (-0x20)); /* 0x2B03E2B4: mov eax, dword ptr [ebp - 0x20] */ 2316 PUSH32(esp, 4); /* 0x2B03E2B7: push 4 */ 2317 PUSH32(esp, ebx); /* 0x2B03E2B9: push ebx */ 2318 PUSH32(esp, 0x4A39u); /* 0x2B03E2BA: push 0x4a39 */ 2319 PUSH32(esp, ebx); /* 0x2B03E2BF: push ebx */ 2320 PUSH32(esp, ebx); /* 0x2B03E2C0: push ebx */ 2321 PUSH32(esp, ebx); /* 0x2B03E2C1: push ebx */ 2322 PUSH32(esp, ecx); /* 0x2B03E2C2: push ecx */ 2323 ecx = MEM32(ebp + (-0x24)); /* 0x2B03E2C3: mov ecx, dword ptr [ebp - 0x24] */ 2324 PUSH32(esp, edx); /* 0x2B03E2C6: push edx */ 2325 PUSH32(esp, eax); /* 0x2B03E2C7: push eax */ 2326 PUSH32(esp, ecx); /* 0x2B03E2C8: push ecx */ 2327 ecx = edi; /* 0x2B03E2C9: mov ecx, edi */ 2328 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B03E2CB: call dword ptr [0x2b0b5af0] */ 2329 RECOMP_FLAGS_IN(); 2330 MEM32(edi) = 0x2B0B642Cu; /* 0x2B03E2D1: mov dword ptr [edi], 0x2b0b642c */ 2331 eax = edi; /* 0x2B03E2D7: mov eax, edi */ 2332 goto L_2B03E2DD; /* 0x2B03E2D9: jmp 0x2b03e2dd */ 2333 L_2B03E2DB: 2334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2335 eax = 0; /* 0x2B03E2DB: xor eax, eax */ 2336 _cf = 0; 2337 _flag_k = FK_TEST; 2338 L_2B03E2DD: 2339 MEM32(esi + 0x2C) = eax; /* 0x2B03E2DD: mov dword ptr [esi + 0x2c], eax */ 2340 MEM32(eax + 0x7C) = 0x2B03EA20u; /* 0x2B03E2E0: mov dword ptr [eax + 0x7c], 0x2b03ea20 */ 2341 MEM32(eax + 0x80) = esi; /* 0x2B03E2E7: mov dword ptr [eax + 0x80], esi */ 2342 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B03E2ED: mov byte ptr [eax + 0x24], 1 */ 2343 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B03E2F1: mov byte ptr [eax + 0x25], 1 */ 2344 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2345 eax = 0; /* 0x2B03E2F5: xor eax, eax */ 2346 _cf = 0; 2347 _flag_k = FK_TEST; 2348 ecx = 0xCu; /* 0x2B03E2F7: mov ecx, 0xc */ 2349 edi = ebp + (-0x64); /* 0x2B03E2FC: lea edi, [ebp - 0x64] */ 2350 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E2FF: 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; } 2351 PUSH32(esp, 0xBCu); /* 0x2B03E301: push 0xbc */ 2352 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E306: mov dword ptr [ebp - 4], 0xffffffff */ 2353 MEM32(ebp + (-0x54)) = 0xA4u; /* 0x2B03E30D: mov dword ptr [ebp - 0x54], 0xa4 */ 2354 MEM32(ebp + (-0x50)) = 2; /* 0x2B03E314: mov dword ptr [ebp - 0x50], 2 */ 2355 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B03E31B: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 2356 MEM32(ebp + (-0x4C)) = 0x4A3Au; /* 0x2B03E322: mov dword ptr [ebp - 0x4c], 0x4a3a */ 2357 MEM32(ebp + (-0x60)) = 0x1Fu; /* 0x2B03E329: mov dword ptr [ebp - 0x60], 0x1f */ 2358 MEM32(ebp + (-0x5C)) = 0xADu; /* 0x2B03E330: mov dword ptr [ebp - 0x5c], 0xad */ 2359 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B03E337: mov dword ptr [ebp - 0x44], 0x47 */ 2360 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B03E33E: mov dword ptr [ebp - 0x40], 0x48 */ 2361 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E345: call 0x2b0ab212 */ /* not lifted */ 2362 RECOMP_FLAGS_IN(); 2363 edi = eax; /* 0x2B03E34A: mov edi, eax */ 2364 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2365 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2366 esp = esp + 4; /* 0x2B03E34C: add esp, 4 */ 2367 _flag_k = FK_ADD; 2368 MEM32(ebp + (-0x14)) = edi; /* 0x2B03E34F: mov dword ptr [ebp - 0x14], edi */ 2369 /* cmp edi, ebx */ /* 0x2B03E352: cmp edi, ebx */ 2370 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2372 _flag_k = FK_CMP; 2373 MEM32(ebp + (-0x4)) = 5; /* 0x2B03E354: mov dword ptr [ebp - 4], 5 */ 2374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E377; /* 0x2B03E35B: je 0x2b03e377 */ 2375 L_2B03E35D: 2376 edx = MEM32(esi + 0x4C); /* 0x2B03E35D: mov edx, dword ptr [esi + 0x4c] */ 2377 PUSH32(esp, edx); /* 0x2B03E360: push edx */ 2378 eax = ebp + (-0x64); /* 0x2B03E361: lea eax, [ebp - 0x64] */ 2379 PUSH32(esp, eax); /* 0x2B03E364: push eax */ 2380 ecx = edi; /* 0x2B03E365: mov ecx, edi */ 2381 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B03E367: call dword ptr [0x2b0b5afc] */ 2382 RECOMP_FLAGS_IN(); 2383 MEM32(edi) = 0x2B0B645Cu; /* 0x2B03E36D: mov dword ptr [edi], 0x2b0b645c */ 2384 eax = edi; /* 0x2B03E373: mov eax, edi */ 2385 goto L_2B03E379; /* 0x2B03E375: jmp 0x2b03e379 */ 2386 L_2B03E377: 2387 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2388 eax = 0; /* 0x2B03E377: xor eax, eax */ 2389 _cf = 0; 2390 _flag_k = FK_TEST; 2391 L_2B03E379: 2392 ecx = MEM32(esi + 0x4C); /* 0x2B03E379: mov ecx, dword ptr [esi + 0x4c] */ 2393 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 2394 edi = edi | 0xFFFFFFFFu; /* 0x2B03E37C: or edi, 0xffffffff */ 2395 _cf = 0; 2396 _flag_k = FK_TEST; 2397 PUSH32(esp, 0x40u); /* 0x2B03E37F: push 0x40 */ 2398 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E381: mov dword ptr [ebp - 4], edi */ 2399 MEM32(esi + 0x30) = eax; /* 0x2B03E384: mov dword ptr [esi + 0x30], eax */ 2400 MEM8(esi + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B03E387: mov byte ptr [esi + 0x3c], bl */ 2401 MEM8(esi + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B03E38A: mov byte ptr [esi + 0x18], bl */ 2402 MEM32(esi + 0x34) = ebx; /* 0x2B03E38D: mov dword ptr [esi + 0x34], ebx */ 2403 MEM32(esi + 0x38) = 0x40u; /* 0x2B03E390: mov dword ptr [esi + 0x38], 0x40 */ 2404 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03E397: call dword ptr [0x2b0b5be0] */ 2405 RECOMP_FLAGS_IN(); 2406 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B03E39D: call dword ptr [0x2b0b5b64] */ 2407 RECOMP_FLAGS_IN(); 2408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 2409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2410 eax = eax + 0xD4u; /* 0x2B03E3A3: add eax, 0xd4 */ 2411 _flag_k = FK_ADD; 2412 ecx = ebp + (-0x34); /* 0x2B03E3A8: lea ecx, [ebp - 0x34] */ 2413 /* cmp ecx, eax */ /* 0x2B03E3AB: cmp ecx, eax */ 2414 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2416 _flag_k = FK_CMP; 2417 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3BA; /* 0x2B03E3AD: je 0x2b03e3ba */ 2418 L_2B03E3AF: 2419 edx = MEM32(eax); /* 0x2B03E3AF: mov edx, dword ptr [eax] */ 2420 MEM32(ebp + (-0x34)) = edx; /* 0x2B03E3B1: mov dword ptr [ebp - 0x34], edx */ 2421 eax = MEM32(eax + 0x4); /* 0x2B03E3B4: mov eax, dword ptr [eax + 4] */ 2422 MEM32(ebp + (-0x30)) = eax; /* 0x2B03E3B7: mov dword ptr [ebp - 0x30], eax */ 2423 L_2B03E3BA: 2424 ecx = MEM32(0x2B0B58EC); /* 0x2B03E3BA: mov ecx, dword ptr [0x2b0b58ec] */ 2425 /* cmp MEM32(ecx), ebx */ /* 0x2B03E3C0: cmp dword ptr [ecx], ebx */ 2426 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 2427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2428 _flag_k = FK_CMP; 2429 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E3F3; /* 0x2B03E3C2: jne 0x2b03e3f3 */ 2430 L_2B03E3C4: 2431 PUSH32(esp, 8); /* 0x2B03E3C4: push 8 */ 2432 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E3C6: call 0x2b0ab212 */ /* not lifted */ 2433 RECOMP_FLAGS_IN(); 2434 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2436 esp = esp + 4; /* 0x2B03E3CB: add esp, 4 */ 2437 _flag_k = FK_ADD; 2438 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E3CE: mov dword ptr [ebp - 0x14], eax */ 2439 /* cmp eax, ebx */ /* 0x2B03E3D1: cmp eax, ebx */ 2440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2442 _flag_k = FK_CMP; 2443 MEM32(ebp + (-0x4)) = 6; /* 0x2B03E3D3: mov dword ptr [ebp - 4], 6 */ 2444 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3E6; /* 0x2B03E3DA: je 0x2b03e3e6 */ 2445 L_2B03E3DC: 2446 ecx = eax; /* 0x2B03E3DC: mov ecx, eax */ 2447 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B03E3DE: call dword ptr [0x2b0b58f0] */ 2448 RECOMP_FLAGS_IN(); 2449 goto L_2B03E3E8; /* 0x2B03E3E4: jmp 0x2b03e3e8 */ 2450 L_2B03E3E6: 2451 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2452 eax = 0; /* 0x2B03E3E6: xor eax, eax */ 2453 _cf = 0; 2454 _flag_k = FK_TEST; 2455 L_2B03E3E8: 2456 edx = MEM32(0x2B0B58EC); /* 0x2B03E3E8: mov edx, dword ptr [0x2b0b58ec] */ 2457 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E3EE: mov dword ptr [ebp - 4], edi */ 2458 MEM32(edx) = eax; /* 0x2B03E3F1: mov dword ptr [edx], eax */ 2459 L_2B03E3F3: 2460 eax = MEM32(0x2B0B58EC); /* 0x2B03E3F3: mov eax, dword ptr [0x2b0b58ec] */ 2461 ecx = MEM32(eax); /* 0x2B03E3F8: mov ecx, dword ptr [eax] */ 2462 PUSH32(esp, 1); /* 0x2B03E3FA: push 1 */ 2463 edx = ebp + (-0x34); /* 0x2B03E3FC: lea edx, [ebp - 0x34] */ 2464 PUSH32(esp, edx); /* 0x2B03E3FF: push edx */ 2465 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B03E400: call dword ptr [0x2b0b58f4] */ 2466 RECOMP_FLAGS_IN(); 2467 PUSH32(esp, 0x64u); /* 0x2B03E406: push 0x64 */ 2468 edi = eax; /* 0x2B03E408: mov edi, eax */ 2469 MEM32(ebp + (-0x24)) = 6; /* 0x2B03E40A: mov dword ptr [ebp - 0x24], 6 */ 2470 MEM32(ebp + (-0x20)) = 0x16u; /* 0x2B03E411: mov dword ptr [ebp - 0x20], 0x16 */ 2471 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E418: call 0x2b0ab212 */ /* not lifted */ 2472 RECOMP_FLAGS_IN(); 2473 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2475 esp = esp + 4; /* 0x2B03E41D: add esp, 4 */ 2476 _flag_k = FK_ADD; 2477 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E420: mov dword ptr [ebp - 0x14], eax */ 2478 /* cmp eax, ebx */ /* 0x2B03E423: cmp eax, ebx */ 2479 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2481 _flag_k = FK_CMP; 2482 MEM32(ebp + (-0x4)) = 7; /* 0x2B03E425: mov dword ptr [ebp - 4], 7 */ 2483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E45C; /* 0x2B03E42C: je 0x2b03e45c */ 2484 L_2B03E42E: 2485 ecx = MEM32(esi + 0x4C); /* 0x2B03E42E: mov ecx, dword ptr [esi + 0x4c] */ 2486 PUSH32(esp, ecx); /* 0x2B03E431: push ecx */ 2487 PUSH32(esp, edi); /* 0x2B03E432: push edi */ 2488 PUSH32(esp, 0x30u); /* 0x2B03E433: push 0x30 */ 2489 PUSH32(esp, ebx); /* 0x2B03E435: push ebx */ 2490 PUSH32(esp, 0x4A39u); /* 0x2B03E436: push 0x4a39 */ 2491 PUSH32(esp, 0x9Au); /* 0x2B03E43B: push 0x9a */ 2492 PUSH32(esp, ebx); /* 0x2B03E440: push ebx */ 2493 PUSH32(esp, 0x9Fu); /* 0x2B03E441: push 0x9f */ 2494 PUSH32(esp, 0x36u); /* 0x2B03E446: push 0x36 */ 2495 PUSH32(esp, 0x36u); /* 0x2B03E448: push 0x36 */ 2496 PUSH32(esp, 3); /* 0x2B03E44A: push 3 */ 2497 PUSH32(esp, 3); /* 0x2B03E44C: push 3 */ 2498 edx = ebp + (-0x24); /* 0x2B03E44E: lea edx, [ebp - 0x24] */ 2499 PUSH32(esp, edx); /* 0x2B03E451: push edx */ 2500 ecx = eax; /* 0x2B03E452: mov ecx, eax */ 2501 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B03E454: call dword ptr [0x2b0b58f8] */ 2502 RECOMP_FLAGS_IN(); 2503 goto L_2B03E45E; /* 0x2B03E45A: jmp 0x2b03e45e */ 2504 L_2B03E45C: 2505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2506 eax = 0; /* 0x2B03E45C: xor eax, eax */ 2507 _cf = 0; 2508 _flag_k = FK_TEST; 2509 L_2B03E45E: 2510 MEM32(esi) = eax; /* 0x2B03E45E: mov dword ptr [esi], eax */ 2511 MEM32(eax + 0x5C) = 0x2B03E890u; /* 0x2B03E460: mov dword ptr [eax + 0x5c], 0x2b03e890 */ 2512 MEM32(eax + 0x60) = esi; /* 0x2B03E467: mov dword ptr [eax + 0x60], esi */ 2513 ecx = MEM32(esi); /* 0x2B03E46A: mov ecx, dword ptr [esi] */ 2514 PUSH32(esp, 0x1Eu); /* 0x2B03E46C: push 0x1e */ 2515 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E46E: mov dword ptr [ebp - 4], 0xffffffff */ 2516 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B03E475: call dword ptr [0x2b0b58fc] */ 2517 RECOMP_FLAGS_IN(); 2518 eax = MEM32(0x2B0B6048); /* 0x2B03E47B: mov eax, dword ptr [0x2b0b6048] */ 2519 edi = MEM32(0x2B0B602C); /* 0x2B03E480: mov edi, dword ptr [0x2b0b602c] */ 2520 PUSH32(esp, 1); /* 0x2B03E486: push 1 */ 2521 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B03E488: mov dword ptr [ebp - 0x2c], ebx */ 2522 MEM32(ebp + (-0x28)) = ebx; /* 0x2B03E48B: mov dword ptr [ebp - 0x28], ebx */ 2523 ecx = MEM32(eax); /* 0x2B03E48E: mov ecx, dword ptr [eax] */ 2524 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E490: push 0x2b0e6edc */ 2525 RECOMP_ICALL(edi); /* 0x2B03E495: call edi */ 2526 RECOMP_FLAGS_IN(); 2527 ecx = MEM32(0x2B0B6048); /* 0x2B03E497: mov ecx, dword ptr [0x2b0b6048] */ 2528 PUSH32(esp, 1); /* 0x2B03E49D: push 1 */ 2529 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03E49F: mov dword ptr [ebp - 0x2c], eax */ 2530 ecx = MEM32(ecx); /* 0x2B03E4A2: mov ecx, dword ptr [ecx] */ 2531 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E4A4: push 0x2b0e6ed0 */ 2532 RECOMP_ICALL(edi); /* 0x2B03E4A9: call edi */ 2533 RECOMP_FLAGS_IN(); 2534 edx = MEM32(esi + 0x14); /* 0x2B03E4AB: mov edx, dword ptr [esi + 0x14] */ 2535 MEM32(ebp + (-0x28)) = eax; /* 0x2B03E4AE: mov dword ptr [ebp - 0x28], eax */ 2536 ecx = MEM32(edx + 0x14); /* 0x2B03E4B1: mov ecx, dword ptr [edx + 0x14] */ 2537 edi = MEM32(ecx + 0xC); /* 0x2B03E4B4: mov edi, dword ptr [ecx + 0xc] */ 2538 edx = MEM32(0x2B0EEA08); /* 0x2B03E4B7: mov edx, dword ptr [0x2b0eea08] */ 2539 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 2540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2541 edx = edx - edi; /* 0x2B03E4BD: sub edx, edi */ 2542 _flag_k = FK_CMP; 2543 ecx = edx + (-0xC0); /* 0x2B03E4BF: lea ecx, [edx - 0xc0] */ 2544 /* cmp MEM32(ebp + (-0x2C)), ebx */ /* 0x2B03E4C5: cmp dword ptr [ebp - 0x2c], ebx */ 2545 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(ebx); 2546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2547 _flag_k = FK_CMP; 2548 MEM32(esi + 0x48) = ecx; /* 0x2B03E4C8: mov dword ptr [esi + 0x48], ecx */ 2549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CB: jne 0x2b03e4d4 */ 2550 L_2B03E4CD: 2551 /* cmp eax, ebx */ /* 0x2B03E4CD: cmp eax, ebx */ 2552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2554 _flag_k = FK_CMP; 2555 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CF: jne 0x2b03e4d4 */ 2556 L_2B03E4D1: 2557 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B03E4D1: mov dword ptr [ebp - 0x2c], ecx */ 2558 L_2B03E4D4: 2559 eax = ebp + (-0x2C); /* 0x2B03E4D4: lea eax, [ebp - 0x2c] */ 2560 PUSH32(esp, eax); /* 0x2B03E4D7: push eax */ 2561 ecx = esi; /* 0x2B03E4D8: mov ecx, esi */ 2562 RECOMP_ICALL(0x2B03E740u); /* 0x2B03E4DA: call 0x2b03e740 */ /* not lifted */ 2563 RECOMP_FLAGS_IN(); 2564 ecx = esi; /* 0x2B03E4DF: mov ecx, esi */ 2565 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E4E1: call 0x2b03e6f0 */ /* not lifted */ 2566 RECOMP_FLAGS_IN(); 2567 ecx = esi; /* 0x2B03E4E6: mov ecx, esi */ 2568 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E4E8: call 0x2b03e850 */ /* not lifted */ 2569 RECOMP_FLAGS_IN(); 2570 ecx = MEM32(ebp + (-0xC)); /* 0x2B03E4ED: mov ecx, dword ptr [ebp - 0xc] */ 2571 edi = POP32_VAL(esp); /* 0x2B03E4F0: pop edi */ 2572 eax = esi; /* 0x2B03E4F1: mov eax, esi */ 2573 esi = POP32_VAL(esp); /* 0x2B03E4F3: pop esi */ 2574 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03E4F4: mov dword ptr fs:[0], ecx */ 2575 ebx = POP32_VAL(esp); /* 0x2B03E4FB: pop ebx */ 2576 esp = ebp; /* 0x2B03E4FC: mov esp, ebp */ 2577 ebp = POP32_VAL(esp); /* 0x2B03E4FE: pop ebp */ 2578 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E4FF: ret */ 2579 RECOMP_REGS_OUT(); 2580 } 2581 2582 void sub_2B03E2DD(void) { 2583 int _fpu_cmp = 0; 2584 uint32_t _cf = 0; 2585 int _df = 1; 2586 uint32_t _flag_k = FK_NONE; 2587 uint32_t _flag_a = 0, _flag_b = 0; 2588 uint32_t _itail_tgt = 0; 2589 RECOMP_REGS_LOCALS 2590 RECOMP_ENTER(0x2B03E2DDu); 2591 2592 L_2B03E2DD: 2593 MEM32(esi + 0x2C) = eax; /* 0x2B03E2DD: mov dword ptr [esi + 0x2c], eax */ 2594 MEM32(eax + 0x7C) = 0x2B03EA20u; /* 0x2B03E2E0: mov dword ptr [eax + 0x7c], 0x2b03ea20 */ 2595 MEM32(eax + 0x80) = esi; /* 0x2B03E2E7: mov dword ptr [eax + 0x80], esi */ 2596 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B03E2ED: mov byte ptr [eax + 0x24], 1 */ 2597 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B03E2F1: mov byte ptr [eax + 0x25], 1 */ 2598 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2599 eax = 0; /* 0x2B03E2F5: xor eax, eax */ 2600 _cf = 0; 2601 _flag_k = FK_TEST; 2602 ecx = 0xCu; /* 0x2B03E2F7: mov ecx, 0xc */ 2603 edi = ebp + (-0x64); /* 0x2B03E2FC: lea edi, [ebp - 0x64] */ 2604 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E2FF: 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; } 2605 PUSH32(esp, 0xBCu); /* 0x2B03E301: push 0xbc */ 2606 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E306: mov dword ptr [ebp - 4], 0xffffffff */ 2607 MEM32(ebp + (-0x54)) = 0xA4u; /* 0x2B03E30D: mov dword ptr [ebp - 0x54], 0xa4 */ 2608 MEM32(ebp + (-0x50)) = 2; /* 0x2B03E314: mov dword ptr [ebp - 0x50], 2 */ 2609 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B03E31B: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 2610 MEM32(ebp + (-0x4C)) = 0x4A3Au; /* 0x2B03E322: mov dword ptr [ebp - 0x4c], 0x4a3a */ 2611 MEM32(ebp + (-0x60)) = 0x1Fu; /* 0x2B03E329: mov dword ptr [ebp - 0x60], 0x1f */ 2612 MEM32(ebp + (-0x5C)) = 0xADu; /* 0x2B03E330: mov dword ptr [ebp - 0x5c], 0xad */ 2613 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B03E337: mov dword ptr [ebp - 0x44], 0x47 */ 2614 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B03E33E: mov dword ptr [ebp - 0x40], 0x48 */ 2615 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E345: call 0x2b0ab212 */ /* not lifted */ 2616 RECOMP_FLAGS_IN(); 2617 edi = eax; /* 0x2B03E34A: mov edi, eax */ 2618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2620 esp = esp + 4; /* 0x2B03E34C: add esp, 4 */ 2621 _flag_k = FK_ADD; 2622 MEM32(ebp + (-0x14)) = edi; /* 0x2B03E34F: mov dword ptr [ebp - 0x14], edi */ 2623 /* cmp edi, ebx */ /* 0x2B03E352: cmp edi, ebx */ 2624 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2626 _flag_k = FK_CMP; 2627 MEM32(ebp + (-0x4)) = 5; /* 0x2B03E354: mov dword ptr [ebp - 4], 5 */ 2628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E377; /* 0x2B03E35B: je 0x2b03e377 */ 2629 L_2B03E35D: 2630 edx = MEM32(esi + 0x4C); /* 0x2B03E35D: mov edx, dword ptr [esi + 0x4c] */ 2631 PUSH32(esp, edx); /* 0x2B03E360: push edx */ 2632 eax = ebp + (-0x64); /* 0x2B03E361: lea eax, [ebp - 0x64] */ 2633 PUSH32(esp, eax); /* 0x2B03E364: push eax */ 2634 ecx = edi; /* 0x2B03E365: mov ecx, edi */ 2635 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B03E367: call dword ptr [0x2b0b5afc] */ 2636 RECOMP_FLAGS_IN(); 2637 MEM32(edi) = 0x2B0B645Cu; /* 0x2B03E36D: mov dword ptr [edi], 0x2b0b645c */ 2638 eax = edi; /* 0x2B03E373: mov eax, edi */ 2639 goto L_2B03E379; /* 0x2B03E375: jmp 0x2b03e379 */ 2640 L_2B03E377: 2641 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2642 eax = 0; /* 0x2B03E377: xor eax, eax */ 2643 _cf = 0; 2644 _flag_k = FK_TEST; 2645 L_2B03E379: 2646 ecx = MEM32(esi + 0x4C); /* 0x2B03E379: mov ecx, dword ptr [esi + 0x4c] */ 2647 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 2648 edi = edi | 0xFFFFFFFFu; /* 0x2B03E37C: or edi, 0xffffffff */ 2649 _cf = 0; 2650 _flag_k = FK_TEST; 2651 PUSH32(esp, 0x40u); /* 0x2B03E37F: push 0x40 */ 2652 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E381: mov dword ptr [ebp - 4], edi */ 2653 MEM32(esi + 0x30) = eax; /* 0x2B03E384: mov dword ptr [esi + 0x30], eax */ 2654 MEM8(esi + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B03E387: mov byte ptr [esi + 0x3c], bl */ 2655 MEM8(esi + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B03E38A: mov byte ptr [esi + 0x18], bl */ 2656 MEM32(esi + 0x34) = ebx; /* 0x2B03E38D: mov dword ptr [esi + 0x34], ebx */ 2657 MEM32(esi + 0x38) = 0x40u; /* 0x2B03E390: mov dword ptr [esi + 0x38], 0x40 */ 2658 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03E397: call dword ptr [0x2b0b5be0] */ 2659 RECOMP_FLAGS_IN(); 2660 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B03E39D: call dword ptr [0x2b0b5b64] */ 2661 RECOMP_FLAGS_IN(); 2662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 2663 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2664 eax = eax + 0xD4u; /* 0x2B03E3A3: add eax, 0xd4 */ 2665 _flag_k = FK_ADD; 2666 ecx = ebp + (-0x34); /* 0x2B03E3A8: lea ecx, [ebp - 0x34] */ 2667 /* cmp ecx, eax */ /* 0x2B03E3AB: cmp ecx, eax */ 2668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2670 _flag_k = FK_CMP; 2671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3BA; /* 0x2B03E3AD: je 0x2b03e3ba */ 2672 L_2B03E3AF: 2673 edx = MEM32(eax); /* 0x2B03E3AF: mov edx, dword ptr [eax] */ 2674 MEM32(ebp + (-0x34)) = edx; /* 0x2B03E3B1: mov dword ptr [ebp - 0x34], edx */ 2675 eax = MEM32(eax + 0x4); /* 0x2B03E3B4: mov eax, dword ptr [eax + 4] */ 2676 MEM32(ebp + (-0x30)) = eax; /* 0x2B03E3B7: mov dword ptr [ebp - 0x30], eax */ 2677 L_2B03E3BA: 2678 ecx = MEM32(0x2B0B58EC); /* 0x2B03E3BA: mov ecx, dword ptr [0x2b0b58ec] */ 2679 /* cmp MEM32(ecx), ebx */ /* 0x2B03E3C0: cmp dword ptr [ecx], ebx */ 2680 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 2681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2682 _flag_k = FK_CMP; 2683 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E3F3; /* 0x2B03E3C2: jne 0x2b03e3f3 */ 2684 L_2B03E3C4: 2685 PUSH32(esp, 8); /* 0x2B03E3C4: push 8 */ 2686 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E3C6: call 0x2b0ab212 */ /* not lifted */ 2687 RECOMP_FLAGS_IN(); 2688 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2690 esp = esp + 4; /* 0x2B03E3CB: add esp, 4 */ 2691 _flag_k = FK_ADD; 2692 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E3CE: mov dword ptr [ebp - 0x14], eax */ 2693 /* cmp eax, ebx */ /* 0x2B03E3D1: cmp eax, ebx */ 2694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2696 _flag_k = FK_CMP; 2697 MEM32(ebp + (-0x4)) = 6; /* 0x2B03E3D3: mov dword ptr [ebp - 4], 6 */ 2698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3E6; /* 0x2B03E3DA: je 0x2b03e3e6 */ 2699 L_2B03E3DC: 2700 ecx = eax; /* 0x2B03E3DC: mov ecx, eax */ 2701 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B03E3DE: call dword ptr [0x2b0b58f0] */ 2702 RECOMP_FLAGS_IN(); 2703 goto L_2B03E3E8; /* 0x2B03E3E4: jmp 0x2b03e3e8 */ 2704 L_2B03E3E6: 2705 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2706 eax = 0; /* 0x2B03E3E6: xor eax, eax */ 2707 _cf = 0; 2708 _flag_k = FK_TEST; 2709 L_2B03E3E8: 2710 edx = MEM32(0x2B0B58EC); /* 0x2B03E3E8: mov edx, dword ptr [0x2b0b58ec] */ 2711 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E3EE: mov dword ptr [ebp - 4], edi */ 2712 MEM32(edx) = eax; /* 0x2B03E3F1: mov dword ptr [edx], eax */ 2713 L_2B03E3F3: 2714 eax = MEM32(0x2B0B58EC); /* 0x2B03E3F3: mov eax, dword ptr [0x2b0b58ec] */ 2715 ecx = MEM32(eax); /* 0x2B03E3F8: mov ecx, dword ptr [eax] */ 2716 PUSH32(esp, 1); /* 0x2B03E3FA: push 1 */ 2717 edx = ebp + (-0x34); /* 0x2B03E3FC: lea edx, [ebp - 0x34] */ 2718 PUSH32(esp, edx); /* 0x2B03E3FF: push edx */ 2719 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B03E400: call dword ptr [0x2b0b58f4] */ 2720 RECOMP_FLAGS_IN(); 2721 PUSH32(esp, 0x64u); /* 0x2B03E406: push 0x64 */ 2722 edi = eax; /* 0x2B03E408: mov edi, eax */ 2723 MEM32(ebp + (-0x24)) = 6; /* 0x2B03E40A: mov dword ptr [ebp - 0x24], 6 */ 2724 MEM32(ebp + (-0x20)) = 0x16u; /* 0x2B03E411: mov dword ptr [ebp - 0x20], 0x16 */ 2725 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E418: call 0x2b0ab212 */ /* not lifted */ 2726 RECOMP_FLAGS_IN(); 2727 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2729 esp = esp + 4; /* 0x2B03E41D: add esp, 4 */ 2730 _flag_k = FK_ADD; 2731 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E420: mov dword ptr [ebp - 0x14], eax */ 2732 /* cmp eax, ebx */ /* 0x2B03E423: cmp eax, ebx */ 2733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2735 _flag_k = FK_CMP; 2736 MEM32(ebp + (-0x4)) = 7; /* 0x2B03E425: mov dword ptr [ebp - 4], 7 */ 2737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E45C; /* 0x2B03E42C: je 0x2b03e45c */ 2738 L_2B03E42E: 2739 ecx = MEM32(esi + 0x4C); /* 0x2B03E42E: mov ecx, dword ptr [esi + 0x4c] */ 2740 PUSH32(esp, ecx); /* 0x2B03E431: push ecx */ 2741 PUSH32(esp, edi); /* 0x2B03E432: push edi */ 2742 PUSH32(esp, 0x30u); /* 0x2B03E433: push 0x30 */ 2743 PUSH32(esp, ebx); /* 0x2B03E435: push ebx */ 2744 PUSH32(esp, 0x4A39u); /* 0x2B03E436: push 0x4a39 */ 2745 PUSH32(esp, 0x9Au); /* 0x2B03E43B: push 0x9a */ 2746 PUSH32(esp, ebx); /* 0x2B03E440: push ebx */ 2747 PUSH32(esp, 0x9Fu); /* 0x2B03E441: push 0x9f */ 2748 PUSH32(esp, 0x36u); /* 0x2B03E446: push 0x36 */ 2749 PUSH32(esp, 0x36u); /* 0x2B03E448: push 0x36 */ 2750 PUSH32(esp, 3); /* 0x2B03E44A: push 3 */ 2751 PUSH32(esp, 3); /* 0x2B03E44C: push 3 */ 2752 edx = ebp + (-0x24); /* 0x2B03E44E: lea edx, [ebp - 0x24] */ 2753 PUSH32(esp, edx); /* 0x2B03E451: push edx */ 2754 ecx = eax; /* 0x2B03E452: mov ecx, eax */ 2755 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B03E454: call dword ptr [0x2b0b58f8] */ 2756 RECOMP_FLAGS_IN(); 2757 goto L_2B03E45E; /* 0x2B03E45A: jmp 0x2b03e45e */ 2758 L_2B03E45C: 2759 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2760 eax = 0; /* 0x2B03E45C: xor eax, eax */ 2761 _cf = 0; 2762 _flag_k = FK_TEST; 2763 L_2B03E45E: 2764 MEM32(esi) = eax; /* 0x2B03E45E: mov dword ptr [esi], eax */ 2765 MEM32(eax + 0x5C) = 0x2B03E890u; /* 0x2B03E460: mov dword ptr [eax + 0x5c], 0x2b03e890 */ 2766 MEM32(eax + 0x60) = esi; /* 0x2B03E467: mov dword ptr [eax + 0x60], esi */ 2767 ecx = MEM32(esi); /* 0x2B03E46A: mov ecx, dword ptr [esi] */ 2768 PUSH32(esp, 0x1Eu); /* 0x2B03E46C: push 0x1e */ 2769 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E46E: mov dword ptr [ebp - 4], 0xffffffff */ 2770 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B03E475: call dword ptr [0x2b0b58fc] */ 2771 RECOMP_FLAGS_IN(); 2772 eax = MEM32(0x2B0B6048); /* 0x2B03E47B: mov eax, dword ptr [0x2b0b6048] */ 2773 edi = MEM32(0x2B0B602C); /* 0x2B03E480: mov edi, dword ptr [0x2b0b602c] */ 2774 PUSH32(esp, 1); /* 0x2B03E486: push 1 */ 2775 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B03E488: mov dword ptr [ebp - 0x2c], ebx */ 2776 MEM32(ebp + (-0x28)) = ebx; /* 0x2B03E48B: mov dword ptr [ebp - 0x28], ebx */ 2777 ecx = MEM32(eax); /* 0x2B03E48E: mov ecx, dword ptr [eax] */ 2778 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E490: push 0x2b0e6edc */ 2779 RECOMP_ICALL(edi); /* 0x2B03E495: call edi */ 2780 RECOMP_FLAGS_IN(); 2781 ecx = MEM32(0x2B0B6048); /* 0x2B03E497: mov ecx, dword ptr [0x2b0b6048] */ 2782 PUSH32(esp, 1); /* 0x2B03E49D: push 1 */ 2783 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03E49F: mov dword ptr [ebp - 0x2c], eax */ 2784 ecx = MEM32(ecx); /* 0x2B03E4A2: mov ecx, dword ptr [ecx] */ 2785 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E4A4: push 0x2b0e6ed0 */ 2786 RECOMP_ICALL(edi); /* 0x2B03E4A9: call edi */ 2787 RECOMP_FLAGS_IN(); 2788 edx = MEM32(esi + 0x14); /* 0x2B03E4AB: mov edx, dword ptr [esi + 0x14] */ 2789 MEM32(ebp + (-0x28)) = eax; /* 0x2B03E4AE: mov dword ptr [ebp - 0x28], eax */ 2790 ecx = MEM32(edx + 0x14); /* 0x2B03E4B1: mov ecx, dword ptr [edx + 0x14] */ 2791 edi = MEM32(ecx + 0xC); /* 0x2B03E4B4: mov edi, dword ptr [ecx + 0xc] */ 2792 edx = MEM32(0x2B0EEA08); /* 0x2B03E4B7: mov edx, dword ptr [0x2b0eea08] */ 2793 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 2794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2795 edx = edx - edi; /* 0x2B03E4BD: sub edx, edi */ 2796 _flag_k = FK_CMP; 2797 ecx = edx + (-0xC0); /* 0x2B03E4BF: lea ecx, [edx - 0xc0] */ 2798 /* cmp MEM32(ebp + (-0x2C)), ebx */ /* 0x2B03E4C5: cmp dword ptr [ebp - 0x2c], ebx */ 2799 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(ebx); 2800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2801 _flag_k = FK_CMP; 2802 MEM32(esi + 0x48) = ecx; /* 0x2B03E4C8: mov dword ptr [esi + 0x48], ecx */ 2803 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CB: jne 0x2b03e4d4 */ 2804 L_2B03E4CD: 2805 /* cmp eax, ebx */ /* 0x2B03E4CD: cmp eax, ebx */ 2806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2808 _flag_k = FK_CMP; 2809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CF: jne 0x2b03e4d4 */ 2810 L_2B03E4D1: 2811 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B03E4D1: mov dword ptr [ebp - 0x2c], ecx */ 2812 L_2B03E4D4: 2813 eax = ebp + (-0x2C); /* 0x2B03E4D4: lea eax, [ebp - 0x2c] */ 2814 PUSH32(esp, eax); /* 0x2B03E4D7: push eax */ 2815 ecx = esi; /* 0x2B03E4D8: mov ecx, esi */ 2816 RECOMP_ICALL(0x2B03E740u); /* 0x2B03E4DA: call 0x2b03e740 */ /* not lifted */ 2817 RECOMP_FLAGS_IN(); 2818 ecx = esi; /* 0x2B03E4DF: mov ecx, esi */ 2819 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E4E1: call 0x2b03e6f0 */ /* not lifted */ 2820 RECOMP_FLAGS_IN(); 2821 ecx = esi; /* 0x2B03E4E6: mov ecx, esi */ 2822 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E4E8: call 0x2b03e850 */ /* not lifted */ 2823 RECOMP_FLAGS_IN(); 2824 ecx = MEM32(ebp + (-0xC)); /* 0x2B03E4ED: mov ecx, dword ptr [ebp - 0xc] */ 2825 edi = POP32_VAL(esp); /* 0x2B03E4F0: pop edi */ 2826 eax = esi; /* 0x2B03E4F1: mov eax, esi */ 2827 esi = POP32_VAL(esp); /* 0x2B03E4F3: pop esi */ 2828 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03E4F4: mov dword ptr fs:[0], ecx */ 2829 ebx = POP32_VAL(esp); /* 0x2B03E4FB: pop ebx */ 2830 esp = ebp; /* 0x2B03E4FC: mov esp, ebp */ 2831 ebp = POP32_VAL(esp); /* 0x2B03E4FE: pop ebp */ 2832 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E4FF: ret */ 2833 RECOMP_REGS_OUT(); 2834 } 2835 2836 void sub_2B03E379(void) { 2837 int _fpu_cmp = 0; 2838 uint32_t _cf = 0; 2839 int _df = 1; 2840 uint32_t _flag_k = FK_NONE; 2841 uint32_t _flag_a = 0, _flag_b = 0; 2842 uint32_t _itail_tgt = 0; 2843 RECOMP_REGS_LOCALS 2844 RECOMP_ENTER(0x2B03E379u); 2845 2846 L_2B03E379: 2847 ecx = MEM32(esi + 0x4C); /* 0x2B03E379: mov ecx, dword ptr [esi + 0x4c] */ 2848 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 2849 edi = edi | 0xFFFFFFFFu; /* 0x2B03E37C: or edi, 0xffffffff */ 2850 _cf = 0; 2851 _flag_k = FK_TEST; 2852 PUSH32(esp, 0x40u); /* 0x2B03E37F: push 0x40 */ 2853 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E381: mov dword ptr [ebp - 4], edi */ 2854 MEM32(esi + 0x30) = eax; /* 0x2B03E384: mov dword ptr [esi + 0x30], eax */ 2855 MEM8(esi + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B03E387: mov byte ptr [esi + 0x3c], bl */ 2856 MEM8(esi + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B03E38A: mov byte ptr [esi + 0x18], bl */ 2857 MEM32(esi + 0x34) = ebx; /* 0x2B03E38D: mov dword ptr [esi + 0x34], ebx */ 2858 MEM32(esi + 0x38) = 0x40u; /* 0x2B03E390: mov dword ptr [esi + 0x38], 0x40 */ 2859 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03E397: call dword ptr [0x2b0b5be0] */ 2860 RECOMP_FLAGS_IN(); 2861 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B03E39D: call dword ptr [0x2b0b5b64] */ 2862 RECOMP_FLAGS_IN(); 2863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 2864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2865 eax = eax + 0xD4u; /* 0x2B03E3A3: add eax, 0xd4 */ 2866 _flag_k = FK_ADD; 2867 ecx = ebp + (-0x34); /* 0x2B03E3A8: lea ecx, [ebp - 0x34] */ 2868 /* cmp ecx, eax */ /* 0x2B03E3AB: cmp ecx, eax */ 2869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2871 _flag_k = FK_CMP; 2872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3BA; /* 0x2B03E3AD: je 0x2b03e3ba */ 2873 L_2B03E3AF: 2874 edx = MEM32(eax); /* 0x2B03E3AF: mov edx, dword ptr [eax] */ 2875 MEM32(ebp + (-0x34)) = edx; /* 0x2B03E3B1: mov dword ptr [ebp - 0x34], edx */ 2876 eax = MEM32(eax + 0x4); /* 0x2B03E3B4: mov eax, dword ptr [eax + 4] */ 2877 MEM32(ebp + (-0x30)) = eax; /* 0x2B03E3B7: mov dword ptr [ebp - 0x30], eax */ 2878 L_2B03E3BA: 2879 ecx = MEM32(0x2B0B58EC); /* 0x2B03E3BA: mov ecx, dword ptr [0x2b0b58ec] */ 2880 /* cmp MEM32(ecx), ebx */ /* 0x2B03E3C0: cmp dword ptr [ecx], ebx */ 2881 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 2882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2883 _flag_k = FK_CMP; 2884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E3F3; /* 0x2B03E3C2: jne 0x2b03e3f3 */ 2885 L_2B03E3C4: 2886 PUSH32(esp, 8); /* 0x2B03E3C4: push 8 */ 2887 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E3C6: call 0x2b0ab212 */ /* not lifted */ 2888 RECOMP_FLAGS_IN(); 2889 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2890 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2891 esp = esp + 4; /* 0x2B03E3CB: add esp, 4 */ 2892 _flag_k = FK_ADD; 2893 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E3CE: mov dword ptr [ebp - 0x14], eax */ 2894 /* cmp eax, ebx */ /* 0x2B03E3D1: cmp eax, ebx */ 2895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2897 _flag_k = FK_CMP; 2898 MEM32(ebp + (-0x4)) = 6; /* 0x2B03E3D3: mov dword ptr [ebp - 4], 6 */ 2899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E3E6; /* 0x2B03E3DA: je 0x2b03e3e6 */ 2900 L_2B03E3DC: 2901 ecx = eax; /* 0x2B03E3DC: mov ecx, eax */ 2902 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B03E3DE: call dword ptr [0x2b0b58f0] */ 2903 RECOMP_FLAGS_IN(); 2904 goto L_2B03E3E8; /* 0x2B03E3E4: jmp 0x2b03e3e8 */ 2905 L_2B03E3E6: 2906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2907 eax = 0; /* 0x2B03E3E6: xor eax, eax */ 2908 _cf = 0; 2909 _flag_k = FK_TEST; 2910 L_2B03E3E8: 2911 edx = MEM32(0x2B0B58EC); /* 0x2B03E3E8: mov edx, dword ptr [0x2b0b58ec] */ 2912 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E3EE: mov dword ptr [ebp - 4], edi */ 2913 MEM32(edx) = eax; /* 0x2B03E3F1: mov dword ptr [edx], eax */ 2914 L_2B03E3F3: 2915 eax = MEM32(0x2B0B58EC); /* 0x2B03E3F3: mov eax, dword ptr [0x2b0b58ec] */ 2916 ecx = MEM32(eax); /* 0x2B03E3F8: mov ecx, dword ptr [eax] */ 2917 PUSH32(esp, 1); /* 0x2B03E3FA: push 1 */ 2918 edx = ebp + (-0x34); /* 0x2B03E3FC: lea edx, [ebp - 0x34] */ 2919 PUSH32(esp, edx); /* 0x2B03E3FF: push edx */ 2920 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B03E400: call dword ptr [0x2b0b58f4] */ 2921 RECOMP_FLAGS_IN(); 2922 PUSH32(esp, 0x64u); /* 0x2B03E406: push 0x64 */ 2923 edi = eax; /* 0x2B03E408: mov edi, eax */ 2924 MEM32(ebp + (-0x24)) = 6; /* 0x2B03E40A: mov dword ptr [ebp - 0x24], 6 */ 2925 MEM32(ebp + (-0x20)) = 0x16u; /* 0x2B03E411: mov dword ptr [ebp - 0x20], 0x16 */ 2926 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E418: call 0x2b0ab212 */ /* not lifted */ 2927 RECOMP_FLAGS_IN(); 2928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2930 esp = esp + 4; /* 0x2B03E41D: add esp, 4 */ 2931 _flag_k = FK_ADD; 2932 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E420: mov dword ptr [ebp - 0x14], eax */ 2933 /* cmp eax, ebx */ /* 0x2B03E423: cmp eax, ebx */ 2934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2936 _flag_k = FK_CMP; 2937 MEM32(ebp + (-0x4)) = 7; /* 0x2B03E425: mov dword ptr [ebp - 4], 7 */ 2938 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E45C; /* 0x2B03E42C: je 0x2b03e45c */ 2939 L_2B03E42E: 2940 ecx = MEM32(esi + 0x4C); /* 0x2B03E42E: mov ecx, dword ptr [esi + 0x4c] */ 2941 PUSH32(esp, ecx); /* 0x2B03E431: push ecx */ 2942 PUSH32(esp, edi); /* 0x2B03E432: push edi */ 2943 PUSH32(esp, 0x30u); /* 0x2B03E433: push 0x30 */ 2944 PUSH32(esp, ebx); /* 0x2B03E435: push ebx */ 2945 PUSH32(esp, 0x4A39u); /* 0x2B03E436: push 0x4a39 */ 2946 PUSH32(esp, 0x9Au); /* 0x2B03E43B: push 0x9a */ 2947 PUSH32(esp, ebx); /* 0x2B03E440: push ebx */ 2948 PUSH32(esp, 0x9Fu); /* 0x2B03E441: push 0x9f */ 2949 PUSH32(esp, 0x36u); /* 0x2B03E446: push 0x36 */ 2950 PUSH32(esp, 0x36u); /* 0x2B03E448: push 0x36 */ 2951 PUSH32(esp, 3); /* 0x2B03E44A: push 3 */ 2952 PUSH32(esp, 3); /* 0x2B03E44C: push 3 */ 2953 edx = ebp + (-0x24); /* 0x2B03E44E: lea edx, [ebp - 0x24] */ 2954 PUSH32(esp, edx); /* 0x2B03E451: push edx */ 2955 ecx = eax; /* 0x2B03E452: mov ecx, eax */ 2956 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B03E454: call dword ptr [0x2b0b58f8] */ 2957 RECOMP_FLAGS_IN(); 2958 goto L_2B03E45E; /* 0x2B03E45A: jmp 0x2b03e45e */ 2959 L_2B03E45C: 2960 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2961 eax = 0; /* 0x2B03E45C: xor eax, eax */ 2962 _cf = 0; 2963 _flag_k = FK_TEST; 2964 L_2B03E45E: 2965 MEM32(esi) = eax; /* 0x2B03E45E: mov dword ptr [esi], eax */ 2966 MEM32(eax + 0x5C) = 0x2B03E890u; /* 0x2B03E460: mov dword ptr [eax + 0x5c], 0x2b03e890 */ 2967 MEM32(eax + 0x60) = esi; /* 0x2B03E467: mov dword ptr [eax + 0x60], esi */ 2968 ecx = MEM32(esi); /* 0x2B03E46A: mov ecx, dword ptr [esi] */ 2969 PUSH32(esp, 0x1Eu); /* 0x2B03E46C: push 0x1e */ 2970 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E46E: mov dword ptr [ebp - 4], 0xffffffff */ 2971 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B03E475: call dword ptr [0x2b0b58fc] */ 2972 RECOMP_FLAGS_IN(); 2973 eax = MEM32(0x2B0B6048); /* 0x2B03E47B: mov eax, dword ptr [0x2b0b6048] */ 2974 edi = MEM32(0x2B0B602C); /* 0x2B03E480: mov edi, dword ptr [0x2b0b602c] */ 2975 PUSH32(esp, 1); /* 0x2B03E486: push 1 */ 2976 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B03E488: mov dword ptr [ebp - 0x2c], ebx */ 2977 MEM32(ebp + (-0x28)) = ebx; /* 0x2B03E48B: mov dword ptr [ebp - 0x28], ebx */ 2978 ecx = MEM32(eax); /* 0x2B03E48E: mov ecx, dword ptr [eax] */ 2979 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E490: push 0x2b0e6edc */ 2980 RECOMP_ICALL(edi); /* 0x2B03E495: call edi */ 2981 RECOMP_FLAGS_IN(); 2982 ecx = MEM32(0x2B0B6048); /* 0x2B03E497: mov ecx, dword ptr [0x2b0b6048] */ 2983 PUSH32(esp, 1); /* 0x2B03E49D: push 1 */ 2984 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03E49F: mov dword ptr [ebp - 0x2c], eax */ 2985 ecx = MEM32(ecx); /* 0x2B03E4A2: mov ecx, dword ptr [ecx] */ 2986 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E4A4: push 0x2b0e6ed0 */ 2987 RECOMP_ICALL(edi); /* 0x2B03E4A9: call edi */ 2988 RECOMP_FLAGS_IN(); 2989 edx = MEM32(esi + 0x14); /* 0x2B03E4AB: mov edx, dword ptr [esi + 0x14] */ 2990 MEM32(ebp + (-0x28)) = eax; /* 0x2B03E4AE: mov dword ptr [ebp - 0x28], eax */ 2991 ecx = MEM32(edx + 0x14); /* 0x2B03E4B1: mov ecx, dword ptr [edx + 0x14] */ 2992 edi = MEM32(ecx + 0xC); /* 0x2B03E4B4: mov edi, dword ptr [ecx + 0xc] */ 2993 edx = MEM32(0x2B0EEA08); /* 0x2B03E4B7: mov edx, dword ptr [0x2b0eea08] */ 2994 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 2995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2996 edx = edx - edi; /* 0x2B03E4BD: sub edx, edi */ 2997 _flag_k = FK_CMP; 2998 ecx = edx + (-0xC0); /* 0x2B03E4BF: lea ecx, [edx - 0xc0] */ 2999 /* cmp MEM32(ebp + (-0x2C)), ebx */ /* 0x2B03E4C5: cmp dword ptr [ebp - 0x2c], ebx */ 3000 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(ebx); 3001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3002 _flag_k = FK_CMP; 3003 MEM32(esi + 0x48) = ecx; /* 0x2B03E4C8: mov dword ptr [esi + 0x48], ecx */ 3004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CB: jne 0x2b03e4d4 */ 3005 L_2B03E4CD: 3006 /* cmp eax, ebx */ /* 0x2B03E4CD: cmp eax, ebx */ 3007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3009 _flag_k = FK_CMP; 3010 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CF: jne 0x2b03e4d4 */ 3011 L_2B03E4D1: 3012 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B03E4D1: mov dword ptr [ebp - 0x2c], ecx */ 3013 L_2B03E4D4: 3014 eax = ebp + (-0x2C); /* 0x2B03E4D4: lea eax, [ebp - 0x2c] */ 3015 PUSH32(esp, eax); /* 0x2B03E4D7: push eax */ 3016 ecx = esi; /* 0x2B03E4D8: mov ecx, esi */ 3017 RECOMP_ICALL(0x2B03E740u); /* 0x2B03E4DA: call 0x2b03e740 */ /* not lifted */ 3018 RECOMP_FLAGS_IN(); 3019 ecx = esi; /* 0x2B03E4DF: mov ecx, esi */ 3020 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E4E1: call 0x2b03e6f0 */ /* not lifted */ 3021 RECOMP_FLAGS_IN(); 3022 ecx = esi; /* 0x2B03E4E6: mov ecx, esi */ 3023 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E4E8: call 0x2b03e850 */ /* not lifted */ 3024 RECOMP_FLAGS_IN(); 3025 ecx = MEM32(ebp + (-0xC)); /* 0x2B03E4ED: mov ecx, dword ptr [ebp - 0xc] */ 3026 edi = POP32_VAL(esp); /* 0x2B03E4F0: pop edi */ 3027 eax = esi; /* 0x2B03E4F1: mov eax, esi */ 3028 esi = POP32_VAL(esp); /* 0x2B03E4F3: pop esi */ 3029 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03E4F4: mov dword ptr fs:[0], ecx */ 3030 ebx = POP32_VAL(esp); /* 0x2B03E4FB: pop ebx */ 3031 esp = ebp; /* 0x2B03E4FC: mov esp, ebp */ 3032 ebp = POP32_VAL(esp); /* 0x2B03E4FE: pop ebp */ 3033 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E4FF: ret */ 3034 RECOMP_REGS_OUT(); 3035 } 3036 3037 void sub_2B03E3E8(void) { 3038 int _fpu_cmp = 0; 3039 uint32_t _cf = 0; 3040 int _df = 1; 3041 uint32_t _flag_k = FK_NONE; 3042 uint32_t _flag_a = 0, _flag_b = 0; 3043 uint32_t _itail_tgt = 0; 3044 RECOMP_REGS_LOCALS 3045 RECOMP_ENTER(0x2B03E3E8u); 3046 3047 L_2B03E3E8: 3048 edx = MEM32(0x2B0B58EC); /* 0x2B03E3E8: mov edx, dword ptr [0x2b0b58ec] */ 3049 MEM32(ebp + (-0x4)) = edi; /* 0x2B03E3EE: mov dword ptr [ebp - 4], edi */ 3050 MEM32(edx) = eax; /* 0x2B03E3F1: mov dword ptr [edx], eax */ 3051 eax = MEM32(0x2B0B58EC); /* 0x2B03E3F3: mov eax, dword ptr [0x2b0b58ec] */ 3052 ecx = MEM32(eax); /* 0x2B03E3F8: mov ecx, dword ptr [eax] */ 3053 PUSH32(esp, 1); /* 0x2B03E3FA: push 1 */ 3054 edx = ebp + (-0x34); /* 0x2B03E3FC: lea edx, [ebp - 0x34] */ 3055 PUSH32(esp, edx); /* 0x2B03E3FF: push edx */ 3056 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B03E400: call dword ptr [0x2b0b58f4] */ 3057 RECOMP_FLAGS_IN(); 3058 PUSH32(esp, 0x64u); /* 0x2B03E406: push 0x64 */ 3059 edi = eax; /* 0x2B03E408: mov edi, eax */ 3060 MEM32(ebp + (-0x24)) = 6; /* 0x2B03E40A: mov dword ptr [ebp - 0x24], 6 */ 3061 MEM32(ebp + (-0x20)) = 0x16u; /* 0x2B03E411: mov dword ptr [ebp - 0x20], 0x16 */ 3062 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03E418: call 0x2b0ab212 */ /* not lifted */ 3063 RECOMP_FLAGS_IN(); 3064 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3066 esp = esp + 4; /* 0x2B03E41D: add esp, 4 */ 3067 _flag_k = FK_ADD; 3068 MEM32(ebp + (-0x14)) = eax; /* 0x2B03E420: mov dword ptr [ebp - 0x14], eax */ 3069 /* cmp eax, ebx */ /* 0x2B03E423: cmp eax, ebx */ 3070 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3072 _flag_k = FK_CMP; 3073 MEM32(ebp + (-0x4)) = 7; /* 0x2B03E425: mov dword ptr [ebp - 4], 7 */ 3074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E45C; /* 0x2B03E42C: je 0x2b03e45c */ 3075 L_2B03E42E: 3076 ecx = MEM32(esi + 0x4C); /* 0x2B03E42E: mov ecx, dword ptr [esi + 0x4c] */ 3077 PUSH32(esp, ecx); /* 0x2B03E431: push ecx */ 3078 PUSH32(esp, edi); /* 0x2B03E432: push edi */ 3079 PUSH32(esp, 0x30u); /* 0x2B03E433: push 0x30 */ 3080 PUSH32(esp, ebx); /* 0x2B03E435: push ebx */ 3081 PUSH32(esp, 0x4A39u); /* 0x2B03E436: push 0x4a39 */ 3082 PUSH32(esp, 0x9Au); /* 0x2B03E43B: push 0x9a */ 3083 PUSH32(esp, ebx); /* 0x2B03E440: push ebx */ 3084 PUSH32(esp, 0x9Fu); /* 0x2B03E441: push 0x9f */ 3085 PUSH32(esp, 0x36u); /* 0x2B03E446: push 0x36 */ 3086 PUSH32(esp, 0x36u); /* 0x2B03E448: push 0x36 */ 3087 PUSH32(esp, 3); /* 0x2B03E44A: push 3 */ 3088 PUSH32(esp, 3); /* 0x2B03E44C: push 3 */ 3089 edx = ebp + (-0x24); /* 0x2B03E44E: lea edx, [ebp - 0x24] */ 3090 PUSH32(esp, edx); /* 0x2B03E451: push edx */ 3091 ecx = eax; /* 0x2B03E452: mov ecx, eax */ 3092 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B03E454: call dword ptr [0x2b0b58f8] */ 3093 RECOMP_FLAGS_IN(); 3094 goto L_2B03E45E; /* 0x2B03E45A: jmp 0x2b03e45e */ 3095 L_2B03E45C: 3096 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3097 eax = 0; /* 0x2B03E45C: xor eax, eax */ 3098 _cf = 0; 3099 _flag_k = FK_TEST; 3100 L_2B03E45E: 3101 MEM32(esi) = eax; /* 0x2B03E45E: mov dword ptr [esi], eax */ 3102 MEM32(eax + 0x5C) = 0x2B03E890u; /* 0x2B03E460: mov dword ptr [eax + 0x5c], 0x2b03e890 */ 3103 MEM32(eax + 0x60) = esi; /* 0x2B03E467: mov dword ptr [eax + 0x60], esi */ 3104 ecx = MEM32(esi); /* 0x2B03E46A: mov ecx, dword ptr [esi] */ 3105 PUSH32(esp, 0x1Eu); /* 0x2B03E46C: push 0x1e */ 3106 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E46E: mov dword ptr [ebp - 4], 0xffffffff */ 3107 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B03E475: call dword ptr [0x2b0b58fc] */ 3108 RECOMP_FLAGS_IN(); 3109 eax = MEM32(0x2B0B6048); /* 0x2B03E47B: mov eax, dword ptr [0x2b0b6048] */ 3110 edi = MEM32(0x2B0B602C); /* 0x2B03E480: mov edi, dword ptr [0x2b0b602c] */ 3111 PUSH32(esp, 1); /* 0x2B03E486: push 1 */ 3112 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B03E488: mov dword ptr [ebp - 0x2c], ebx */ 3113 MEM32(ebp + (-0x28)) = ebx; /* 0x2B03E48B: mov dword ptr [ebp - 0x28], ebx */ 3114 ecx = MEM32(eax); /* 0x2B03E48E: mov ecx, dword ptr [eax] */ 3115 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E490: push 0x2b0e6edc */ 3116 RECOMP_ICALL(edi); /* 0x2B03E495: call edi */ 3117 RECOMP_FLAGS_IN(); 3118 ecx = MEM32(0x2B0B6048); /* 0x2B03E497: mov ecx, dword ptr [0x2b0b6048] */ 3119 PUSH32(esp, 1); /* 0x2B03E49D: push 1 */ 3120 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03E49F: mov dword ptr [ebp - 0x2c], eax */ 3121 ecx = MEM32(ecx); /* 0x2B03E4A2: mov ecx, dword ptr [ecx] */ 3122 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E4A4: push 0x2b0e6ed0 */ 3123 RECOMP_ICALL(edi); /* 0x2B03E4A9: call edi */ 3124 RECOMP_FLAGS_IN(); 3125 edx = MEM32(esi + 0x14); /* 0x2B03E4AB: mov edx, dword ptr [esi + 0x14] */ 3126 MEM32(ebp + (-0x28)) = eax; /* 0x2B03E4AE: mov dword ptr [ebp - 0x28], eax */ 3127 ecx = MEM32(edx + 0x14); /* 0x2B03E4B1: mov ecx, dword ptr [edx + 0x14] */ 3128 edi = MEM32(ecx + 0xC); /* 0x2B03E4B4: mov edi, dword ptr [ecx + 0xc] */ 3129 edx = MEM32(0x2B0EEA08); /* 0x2B03E4B7: mov edx, dword ptr [0x2b0eea08] */ 3130 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3132 edx = edx - edi; /* 0x2B03E4BD: sub edx, edi */ 3133 _flag_k = FK_CMP; 3134 ecx = edx + (-0xC0); /* 0x2B03E4BF: lea ecx, [edx - 0xc0] */ 3135 /* cmp MEM32(ebp + (-0x2C)), ebx */ /* 0x2B03E4C5: cmp dword ptr [ebp - 0x2c], ebx */ 3136 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(ebx); 3137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3138 _flag_k = FK_CMP; 3139 MEM32(esi + 0x48) = ecx; /* 0x2B03E4C8: mov dword ptr [esi + 0x48], ecx */ 3140 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CB: jne 0x2b03e4d4 */ 3141 L_2B03E4CD: 3142 /* cmp eax, ebx */ /* 0x2B03E4CD: cmp eax, ebx */ 3143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3145 _flag_k = FK_CMP; 3146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CF: jne 0x2b03e4d4 */ 3147 L_2B03E4D1: 3148 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B03E4D1: mov dword ptr [ebp - 0x2c], ecx */ 3149 L_2B03E4D4: 3150 eax = ebp + (-0x2C); /* 0x2B03E4D4: lea eax, [ebp - 0x2c] */ 3151 PUSH32(esp, eax); /* 0x2B03E4D7: push eax */ 3152 ecx = esi; /* 0x2B03E4D8: mov ecx, esi */ 3153 RECOMP_ICALL(0x2B03E740u); /* 0x2B03E4DA: call 0x2b03e740 */ /* not lifted */ 3154 RECOMP_FLAGS_IN(); 3155 ecx = esi; /* 0x2B03E4DF: mov ecx, esi */ 3156 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E4E1: call 0x2b03e6f0 */ /* not lifted */ 3157 RECOMP_FLAGS_IN(); 3158 ecx = esi; /* 0x2B03E4E6: mov ecx, esi */ 3159 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E4E8: call 0x2b03e850 */ /* not lifted */ 3160 RECOMP_FLAGS_IN(); 3161 ecx = MEM32(ebp + (-0xC)); /* 0x2B03E4ED: mov ecx, dword ptr [ebp - 0xc] */ 3162 edi = POP32_VAL(esp); /* 0x2B03E4F0: pop edi */ 3163 eax = esi; /* 0x2B03E4F1: mov eax, esi */ 3164 esi = POP32_VAL(esp); /* 0x2B03E4F3: pop esi */ 3165 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03E4F4: mov dword ptr fs:[0], ecx */ 3166 ebx = POP32_VAL(esp); /* 0x2B03E4FB: pop ebx */ 3167 esp = ebp; /* 0x2B03E4FC: mov esp, ebp */ 3168 ebp = POP32_VAL(esp); /* 0x2B03E4FE: pop ebp */ 3169 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E4FF: ret */ 3170 RECOMP_REGS_OUT(); 3171 } 3172 3173 void sub_2B03E45E(void) { 3174 int _fpu_cmp = 0; 3175 uint32_t _cf = 0; 3176 int _df = 1; 3177 uint32_t _flag_k = FK_NONE; 3178 uint32_t _flag_a = 0, _flag_b = 0; 3179 uint32_t _itail_tgt = 0; 3180 RECOMP_REGS_LOCALS 3181 RECOMP_ENTER(0x2B03E45Eu); 3182 3183 L_2B03E45E: 3184 MEM32(esi) = eax; /* 0x2B03E45E: mov dword ptr [esi], eax */ 3185 MEM32(eax + 0x5C) = 0x2B03E890u; /* 0x2B03E460: mov dword ptr [eax + 0x5c], 0x2b03e890 */ 3186 MEM32(eax + 0x60) = esi; /* 0x2B03E467: mov dword ptr [eax + 0x60], esi */ 3187 ecx = MEM32(esi); /* 0x2B03E46A: mov ecx, dword ptr [esi] */ 3188 PUSH32(esp, 0x1Eu); /* 0x2B03E46C: push 0x1e */ 3189 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03E46E: mov dword ptr [ebp - 4], 0xffffffff */ 3190 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B03E475: call dword ptr [0x2b0b58fc] */ 3191 RECOMP_FLAGS_IN(); 3192 eax = MEM32(0x2B0B6048); /* 0x2B03E47B: mov eax, dword ptr [0x2b0b6048] */ 3193 edi = MEM32(0x2B0B602C); /* 0x2B03E480: mov edi, dword ptr [0x2b0b602c] */ 3194 PUSH32(esp, 1); /* 0x2B03E486: push 1 */ 3195 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B03E488: mov dword ptr [ebp - 0x2c], ebx */ 3196 MEM32(ebp + (-0x28)) = ebx; /* 0x2B03E48B: mov dword ptr [ebp - 0x28], ebx */ 3197 ecx = MEM32(eax); /* 0x2B03E48E: mov ecx, dword ptr [eax] */ 3198 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E490: push 0x2b0e6edc */ 3199 RECOMP_ICALL(edi); /* 0x2B03E495: call edi */ 3200 RECOMP_FLAGS_IN(); 3201 ecx = MEM32(0x2B0B6048); /* 0x2B03E497: mov ecx, dword ptr [0x2b0b6048] */ 3202 PUSH32(esp, 1); /* 0x2B03E49D: push 1 */ 3203 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03E49F: mov dword ptr [ebp - 0x2c], eax */ 3204 ecx = MEM32(ecx); /* 0x2B03E4A2: mov ecx, dword ptr [ecx] */ 3205 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E4A4: push 0x2b0e6ed0 */ 3206 RECOMP_ICALL(edi); /* 0x2B03E4A9: call edi */ 3207 RECOMP_FLAGS_IN(); 3208 edx = MEM32(esi + 0x14); /* 0x2B03E4AB: mov edx, dword ptr [esi + 0x14] */ 3209 MEM32(ebp + (-0x28)) = eax; /* 0x2B03E4AE: mov dword ptr [ebp - 0x28], eax */ 3210 ecx = MEM32(edx + 0x14); /* 0x2B03E4B1: mov ecx, dword ptr [edx + 0x14] */ 3211 edi = MEM32(ecx + 0xC); /* 0x2B03E4B4: mov edi, dword ptr [ecx + 0xc] */ 3212 edx = MEM32(0x2B0EEA08); /* 0x2B03E4B7: mov edx, dword ptr [0x2b0eea08] */ 3213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3215 edx = edx - edi; /* 0x2B03E4BD: sub edx, edi */ 3216 _flag_k = FK_CMP; 3217 ecx = edx + (-0xC0); /* 0x2B03E4BF: lea ecx, [edx - 0xc0] */ 3218 /* cmp MEM32(ebp + (-0x2C)), ebx */ /* 0x2B03E4C5: cmp dword ptr [ebp - 0x2c], ebx */ 3219 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(ebx); 3220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3221 _flag_k = FK_CMP; 3222 MEM32(esi + 0x48) = ecx; /* 0x2B03E4C8: mov dword ptr [esi + 0x48], ecx */ 3223 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CB: jne 0x2b03e4d4 */ 3224 L_2B03E4CD: 3225 /* cmp eax, ebx */ /* 0x2B03E4CD: cmp eax, ebx */ 3226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3228 _flag_k = FK_CMP; 3229 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E4D4; /* 0x2B03E4CF: jne 0x2b03e4d4 */ 3230 L_2B03E4D1: 3231 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B03E4D1: mov dword ptr [ebp - 0x2c], ecx */ 3232 L_2B03E4D4: 3233 eax = ebp + (-0x2C); /* 0x2B03E4D4: lea eax, [ebp - 0x2c] */ 3234 PUSH32(esp, eax); /* 0x2B03E4D7: push eax */ 3235 ecx = esi; /* 0x2B03E4D8: mov ecx, esi */ 3236 RECOMP_ICALL(0x2B03E740u); /* 0x2B03E4DA: call 0x2b03e740 */ /* not lifted */ 3237 RECOMP_FLAGS_IN(); 3238 ecx = esi; /* 0x2B03E4DF: mov ecx, esi */ 3239 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E4E1: call 0x2b03e6f0 */ /* not lifted */ 3240 RECOMP_FLAGS_IN(); 3241 ecx = esi; /* 0x2B03E4E6: mov ecx, esi */ 3242 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E4E8: call 0x2b03e850 */ /* not lifted */ 3243 RECOMP_FLAGS_IN(); 3244 ecx = MEM32(ebp + (-0xC)); /* 0x2B03E4ED: mov ecx, dword ptr [ebp - 0xc] */ 3245 edi = POP32_VAL(esp); /* 0x2B03E4F0: pop edi */ 3246 eax = esi; /* 0x2B03E4F1: mov eax, esi */ 3247 esi = POP32_VAL(esp); /* 0x2B03E4F3: pop esi */ 3248 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03E4F4: mov dword ptr fs:[0], ecx */ 3249 ebx = POP32_VAL(esp); /* 0x2B03E4FB: pop ebx */ 3250 esp = ebp; /* 0x2B03E4FC: mov esp, ebp */ 3251 ebp = POP32_VAL(esp); /* 0x2B03E4FE: pop ebp */ 3252 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E4FF: ret */ 3253 RECOMP_REGS_OUT(); 3254 } 3255 3256 void sub_2B03E500(void) { 3257 int _fpu_cmp = 0; 3258 uint32_t _cf = 0; 3259 int _df = 1; 3260 uint32_t _flag_k = FK_NONE; 3261 uint32_t _flag_a = 0, _flag_b = 0; 3262 uint32_t _itail_tgt = 0; 3263 RECOMP_REGS_LOCALS 3264 RECOMP_ENTER(0x2B03E500u); 3265 3266 L_2B03E500: 3267 PUSH32(esp, ebp); /* 0x2B03E500: push ebp */ 3268 ebp = esp; /* 0x2B03E501: mov ebp, esp */ 3269 eax = MEM32(ebp + 0xC); /* 0x2B03E503: mov eax, dword ptr [ebp + 0xc] */ 3270 ecx = MEM32(ebp + 0x8); /* 0x2B03E506: mov ecx, dword ptr [ebp + 8] */ 3271 MEM32(ecx + 0x40) = eax; /* 0x2B03E509: mov dword ptr [ecx + 0x40], eax */ 3272 ebp = POP32_VAL(esp); /* 0x2B03E50C: pop ebp */ 3273 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E50D: ret */ 3274 RECOMP_REGS_OUT(); 3275 } 3276 3277 void sub_2B03E510(void) { 3278 int _fpu_cmp = 0; 3279 uint32_t _cf = 0; 3280 int _df = 1; 3281 uint32_t _flag_k = FK_NONE; 3282 uint32_t _flag_a = 0, _flag_b = 0; 3283 uint32_t _itail_tgt = 0; 3284 RECOMP_REGS_LOCALS 3285 RECOMP_ENTER(0x2B03E510u); 3286 3287 L_2B03E510: 3288 PUSH32(esp, esi); /* 0x2B03E510: push esi */ 3289 esi = ecx; /* 0x2B03E511: mov esi, ecx */ 3290 eax = MEM32(esi + 0x20); /* 0x2B03E513: mov eax, dword ptr [esi + 0x20] */ 3291 /* cmp eax, MEM32(esi + 0x48) */ /* 0x2B03E516: cmp eax, dword ptr [esi + 0x48] */ 3292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x48)); 3293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3294 _flag_k = FK_CMP; 3295 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03E529; /* 0x2B03E519: jne 0x2b03e529 */ 3296 L_2B03E51B: 3297 eax = MEM32(esi + 0x24); /* 0x2B03E51B: mov eax, dword ptr [esi + 0x24] */ 3298 /* test eax, eax */ /* 0x2B03E51E: test eax, eax */ 3299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3300 _cf = 0; 3301 _flag_k = FK_TEST; 3302 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E529; /* 0x2B03E520: jne 0x2b03e529 */ 3303 L_2B03E522: 3304 MEM32(esi + 0x20) = 0; /* 0x2B03E522: mov dword ptr [esi + 0x20], 0 */ 3305 L_2B03E529: 3306 ecx = MEM32(esi + 0x20); /* 0x2B03E529: mov ecx, dword ptr [esi + 0x20] */ 3307 edx = MEM32(0x2B0B6048); /* 0x2B03E52C: mov edx, dword ptr [0x2b0b6048] */ 3308 PUSH32(esp, edi); /* 0x2B03E532: push edi */ 3309 edi = MEM32(0x2B0B604C); /* 0x2B03E533: mov edi, dword ptr [0x2b0b604c] */ 3310 PUSH32(esp, 1); /* 0x2B03E539: push 1 */ 3311 PUSH32(esp, 1); /* 0x2B03E53B: push 1 */ 3312 PUSH32(esp, ecx); /* 0x2B03E53D: push ecx */ 3313 ecx = MEM32(edx); /* 0x2B03E53E: mov ecx, dword ptr [edx] */ 3314 PUSH32(esp, 0x2B0E6EDCu); /* 0x2B03E540: push 0x2b0e6edc */ 3315 RECOMP_ICALL(edi); /* 0x2B03E545: call edi */ 3316 RECOMP_FLAGS_IN(); 3317 eax = MEM32(esi + 0x24); /* 0x2B03E547: mov eax, dword ptr [esi + 0x24] */ 3318 ecx = MEM32(0x2B0B6048); /* 0x2B03E54A: mov ecx, dword ptr [0x2b0b6048] */ 3319 ecx = MEM32(ecx); /* 0x2B03E550: mov ecx, dword ptr [ecx] */ 3320 PUSH32(esp, 1); /* 0x2B03E552: push 1 */ 3321 PUSH32(esp, 1); /* 0x2B03E554: push 1 */ 3322 PUSH32(esp, eax); /* 0x2B03E556: push eax */ 3323 PUSH32(esp, 0x2B0E6ED0u); /* 0x2B03E557: push 0x2b0e6ed0 */ 3324 RECOMP_ICALL(edi); /* 0x2B03E55C: call edi */ 3325 RECOMP_FLAGS_IN(); 3326 ecx = MEM32(esi + 0x2C); /* 0x2B03E55E: mov ecx, dword ptr [esi + 0x2c] */ 3327 /* test ecx, ecx */ /* 0x2B03E561: test ecx, ecx */ 3328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3329 _cf = 0; 3330 _flag_k = FK_TEST; 3331 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E56B; /* 0x2B03E563: je 0x2b03e56b */ 3332 L_2B03E565: 3333 edx = MEM32(ecx); /* 0x2B03E565: mov edx, dword ptr [ecx] */ 3334 PUSH32(esp, 1); /* 0x2B03E567: push 1 */ 3335 RECOMP_ICALL(MEM32(edx)); /* 0x2B03E569: call dword ptr [edx] */ 3336 RECOMP_FLAGS_IN(); 3337 L_2B03E56B: 3338 ecx = MEM32(esi + 0x30); /* 0x2B03E56B: mov ecx, dword ptr [esi + 0x30] */ 3339 /* test ecx, ecx */ /* 0x2B03E56E: test ecx, ecx */ 3340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3341 _cf = 0; 3342 _flag_k = FK_TEST; 3343 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E578; /* 0x2B03E570: je 0x2b03e578 */ 3344 L_2B03E572: 3345 eax = MEM32(ecx); /* 0x2B03E572: mov eax, dword ptr [ecx] */ 3346 PUSH32(esp, 1); /* 0x2B03E574: push 1 */ 3347 RECOMP_ICALL(MEM32(eax)); /* 0x2B03E576: call dword ptr [eax] */ 3348 RECOMP_FLAGS_IN(); 3349 L_2B03E578: 3350 ecx = MEM32(esi + 0x14); /* 0x2B03E578: mov ecx, dword ptr [esi + 0x14] */ 3351 /* test ecx, ecx */ /* 0x2B03E57B: test ecx, ecx */ 3352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3353 _cf = 0; 3354 _flag_k = FK_TEST; 3355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E585; /* 0x2B03E57D: je 0x2b03e585 */ 3356 L_2B03E57F: 3357 edx = MEM32(ecx); /* 0x2B03E57F: mov edx, dword ptr [ecx] */ 3358 PUSH32(esp, 1); /* 0x2B03E581: push 1 */ 3359 RECOMP_ICALL(MEM32(edx)); /* 0x2B03E583: call dword ptr [edx] */ 3360 RECOMP_FLAGS_IN(); 3361 L_2B03E585: 3362 ecx = MEM32(esi + 0x1C); /* 0x2B03E585: mov ecx, dword ptr [esi + 0x1c] */ 3363 /* test ecx, ecx */ /* 0x2B03E588: test ecx, ecx */ 3364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3365 _cf = 0; 3366 _flag_k = FK_TEST; 3367 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E592; /* 0x2B03E58A: je 0x2b03e592 */ 3368 L_2B03E58C: 3369 eax = MEM32(ecx); /* 0x2B03E58C: mov eax, dword ptr [ecx] */ 3370 PUSH32(esp, 1); /* 0x2B03E58E: push 1 */ 3371 RECOMP_ICALL(MEM32(eax)); /* 0x2B03E590: call dword ptr [eax] */ 3372 RECOMP_FLAGS_IN(); 3373 L_2B03E592: 3374 ecx = MEM32(esi + 0x28); /* 0x2B03E592: mov ecx, dword ptr [esi + 0x28] */ 3375 /* test ecx, ecx */ /* 0x2B03E595: test ecx, ecx */ 3376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3377 _cf = 0; 3378 _flag_k = FK_TEST; 3379 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E59F; /* 0x2B03E597: je 0x2b03e59f */ 3380 L_2B03E599: 3381 edx = MEM32(ecx); /* 0x2B03E599: mov edx, dword ptr [ecx] */ 3382 PUSH32(esp, 1); /* 0x2B03E59B: push 1 */ 3383 RECOMP_ICALL(MEM32(edx)); /* 0x2B03E59D: call dword ptr [edx] */ 3384 RECOMP_FLAGS_IN(); 3385 L_2B03E59F: 3386 edi = MEM32(esi); /* 0x2B03E59F: mov edi, dword ptr [esi] */ 3387 /* test edi, edi */ /* 0x2B03E5A1: test edi, edi */ 3388 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3389 _cf = 0; 3390 _flag_k = FK_TEST; 3391 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E5B6; /* 0x2B03E5A3: je 0x2b03e5b6 */ 3392 L_2B03E5A5: 3393 ecx = edi; /* 0x2B03E5A5: mov ecx, edi */ 3394 RECOMP_ICALL(MEM32(0x2B0B58E8)); /* 0x2B03E5A7: call dword ptr [0x2b0b58e8] */ 3395 RECOMP_FLAGS_IN(); 3396 PUSH32(esp, edi); /* 0x2B03E5AD: push edi */ 3397 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03E5AE: call 0x2b0ab1ba */ /* not lifted */ 3398 RECOMP_FLAGS_IN(); 3399 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3401 esp = esp + 4; /* 0x2B03E5B3: add esp, 4 */ 3402 _flag_k = FK_ADD; 3403 L_2B03E5B6: 3404 eax = MEM32(0x2B0B6048); /* 0x2B03E5B6: mov eax, dword ptr [0x2b0b6048] */ 3405 ecx = MEM32(eax); /* 0x2B03E5BB: mov ecx, dword ptr [eax] */ 3406 PUSH32(esp, 1); /* 0x2B03E5BD: push 1 */ 3407 PUSH32(esp, esi); /* 0x2B03E5BF: push esi */ 3408 PUSH32(esp, 0x2B03E500u); /* 0x2B03E5C0: push 0x2b03e500 */ 3409 PUSH32(esp, 0x2B0E6F14u); /* 0x2B03E5C5: push 0x2b0e6f14 */ 3410 RECOMP_ICALL(MEM32(0x2B0B6054)); /* 0x2B03E5CA: call dword ptr [0x2b0b6054] */ 3411 RECOMP_FLAGS_IN(); 3412 esi = MEM32(esi + 0x4C); /* 0x2B03E5D0: mov esi, dword ptr [esi + 0x4c] */ 3413 /* test esi, esi */ /* 0x2B03E5D3: test esi, esi */ 3414 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3415 _cf = 0; 3416 _flag_k = FK_TEST; 3417 edi = POP32_VAL(esp); /* 0x2B03E5D5: pop edi */ 3418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E5E9; /* 0x2B03E5D6: je 0x2b03e5e9 */ 3419 L_2B03E5D8: 3420 ecx = esi; /* 0x2B03E5D8: mov ecx, esi */ 3421 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03E5DA: call dword ptr [0x2b0b5bc4] */ 3422 RECOMP_FLAGS_IN(); 3423 PUSH32(esp, esi); /* 0x2B03E5E0: push esi */ 3424 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03E5E1: call 0x2b0ab1ba */ /* not lifted */ 3425 RECOMP_FLAGS_IN(); 3426 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3428 esp = esp + 4; /* 0x2B03E5E6: add esp, 4 */ 3429 _flag_k = FK_ADD; 3430 L_2B03E5E9: 3431 MEM32(0x2B0EEA1C) = 0; /* 0x2B03E5E9: mov dword ptr [0x2b0eea1c], 0 */ 3432 esi = POP32_VAL(esp); /* 0x2B03E5F3: pop esi */ 3433 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E5F4: ret */ 3434 RECOMP_REGS_OUT(); 3435 } 3436 3437 void sub_2B03E600(void) { 3438 int _fpu_cmp = 0; 3439 uint32_t _cf = 0; 3440 int _df = 1; 3441 uint32_t _flag_k = FK_NONE; 3442 uint32_t _flag_a = 0, _flag_b = 0; 3443 uint32_t _itail_tgt = 0; 3444 RECOMP_REGS_LOCALS 3445 RECOMP_ENTER(0x2B03E600u); 3446 3447 L_2B03E600: 3448 PUSH32(esp, ebp); /* 0x2B03E600: push ebp */ 3449 ebp = esp; /* 0x2B03E601: mov ebp, esp */ 3450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 3451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3452 esp = esp - 0x3Cu; /* 0x2B03E603: sub esp, 0x3c */ 3453 _flag_k = FK_CMP; 3454 PUSH32(esp, esi); /* 0x2B03E606: push esi */ 3455 esi = ecx; /* 0x2B03E607: mov esi, ecx */ 3456 _flag_a = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; _flag_b = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; 3457 MEM8(esi + 0x18) = (uint8_t)(MEM8(esi + 0x18) ^ 1); /* 0x2B03E609: xor byte ptr [esi + 0x18], 1 */ 3458 _cf = 0; 3459 _flag_k = FK_NARROW(FK_TEST, 24); 3460 ecx = esi; /* 0x2B03E60D: mov ecx, esi */ 3461 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E60F: call 0x2b03e950 */ /* not lifted */ 3462 RECOMP_FLAGS_IN(); 3463 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E614: mov al, byte ptr [esi + 0x18] */ 3464 /* test LO8(eax), LO8(eax) */ /* 0x2B03E617: test al, al */ 3465 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3466 _cf = 0; 3467 _flag_k = FK_NARROW(FK_TEST, 24); 3468 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E6A2; /* 0x2B03E619: je 0x2b03e6a2 */ 3469 L_2B03E61F: 3470 PUSH32(esp, 2); /* 0x2B03E61F: push 2 */ 3471 PUSH32(esp, 0x21u); /* 0x2B03E621: push 0x21 */ 3472 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03E623: call dword ptr [0x2b0b5d6c] */ 3473 RECOMP_FLAGS_IN(); 3474 ecx = eax; /* 0x2B03E629: mov ecx, eax */ 3475 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B03E62B: call dword ptr [0x2b0b5d70] */ 3476 RECOMP_FLAGS_IN(); 3477 /* cmp eax, 3 */ /* 0x2B03E631: cmp eax, 3 */ 3478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 3479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3480 _flag_k = FK_CMP; 3481 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E666; /* 0x2B03E634: je 0x2b03e666 */ 3482 L_2B03E636: 3483 /* cmp eax, 0x499602D2u */ /* 0x2B03E636: cmp eax, 0x499602d2 */ 3484 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 3485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3486 _flag_k = FK_CMP; 3487 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E666; /* 0x2B03E63B: je 0x2b03e666 */ 3488 L_2B03E63D: 3489 ecx = esi; /* 0x2B03E63D: mov ecx, esi */ 3490 RECOMP_ICALL(0x2B03E800u); /* 0x2B03E63F: call 0x2b03e800 */ /* not lifted */ 3491 RECOMP_FLAGS_IN(); 3492 ecx = esi; /* 0x2B03E644: mov ecx, esi */ 3493 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E646: call 0x2b03e6f0 */ /* not lifted */ 3494 RECOMP_FLAGS_IN(); 3495 ecx = MEM32(0x2B0EF104); /* 0x2B03E64B: mov ecx, dword ptr [0x2b0ef104] */ 3496 /* test ecx, ecx */ /* 0x2B03E651: test ecx, ecx */ 3497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3498 _cf = 0; 3499 _flag_k = FK_TEST; 3500 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E6A9; /* 0x2B03E653: je 0x2b03e6a9 */ 3501 L_2B03E655: 3502 PUSH32(esp, 0); /* 0x2B03E655: push 0 */ 3503 PUSH32(esp, 0x2B0E6F60u); /* 0x2B03E657: push 0x2b0e6f60 */ 3504 RECOMP_ICALL(0x2B08D480u); /* 0x2B03E65C: call 0x2b08d480 */ /* not lifted */ 3505 RECOMP_FLAGS_IN(); 3506 esi = POP32_VAL(esp); /* 0x2B03E661: pop esi */ 3507 esp = ebp; /* 0x2B03E662: mov esp, ebp */ 3508 ebp = POP32_VAL(esp); /* 0x2B03E664: pop ebp */ 3509 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E665: ret */ 3510 L_2B03E666: 3511 PUSH32(esp, edi); /* 0x2B03E666: push edi */ 3512 ecx = 0xEu; /* 0x2B03E667: mov ecx, 0xe */ 3513 esi = 0x2B0E6F24u; /* 0x2B03E66C: mov esi, 0x2b0e6f24 */ 3514 edi = ebp + (-0x3C); /* 0x2B03E671: lea edi, [ebp - 0x3c] */ 3515 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E674: 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; } 3516 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B03E676: movsw word ptr es:[edi], word ptr [esi] */ 3517 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03E678: movsb byte ptr es:[edi], byte ptr [esi] */ 3518 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3519 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03E679: or ecx, 0xffffffff */ 3520 _cf = 0; 3521 _flag_k = FK_TEST; 3522 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3523 eax = 0; /* 0x2B03E67C: xor eax, eax */ 3524 _cf = 0; 3525 _flag_k = FK_TEST; 3526 edi = ebp + (-0x3C); /* 0x2B03E67E: lea edi, [ebp - 0x3c] */ 3527 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; } /* 0x2B03E681: repne scasb al, byte ptr es:[edi] */ 3528 ecx = ~ecx; /* 0x2B03E683: not ecx */ 3529 PUSH32(esp, ecx); /* 0x2B03E685: push ecx */ 3530 eax = ebp + (-0x3C); /* 0x2B03E686: lea eax, [ebp - 0x3c] */ 3531 PUSH32(esp, eax); /* 0x2B03E689: push eax */ 3532 PUSH32(esp, 0x3Fu); /* 0x2B03E68A: push 0x3f */ 3533 PUSH32(esp, 3); /* 0x2B03E68C: push 3 */ 3534 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03E68E: call dword ptr [0x2b0b53cc] */ 3535 RECOMP_FLAGS_IN(); 3536 ecx = eax; /* 0x2B03E694: mov ecx, eax */ 3537 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03E696: call dword ptr [0x2b0b53c4] */ 3538 RECOMP_FLAGS_IN(); 3539 edi = POP32_VAL(esp); /* 0x2B03E69C: pop edi */ 3540 esi = POP32_VAL(esp); /* 0x2B03E69D: pop esi */ 3541 esp = ebp; /* 0x2B03E69E: mov esp, ebp */ 3542 ebp = POP32_VAL(esp); /* 0x2B03E6A0: pop ebp */ 3543 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6A1: ret */ 3544 L_2B03E6A2: 3545 ecx = esi; /* 0x2B03E6A2: mov ecx, esi */ 3546 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E6A4: call 0x2b03e850 */ /* not lifted */ 3547 RECOMP_FLAGS_IN(); 3548 L_2B03E6A9: 3549 esi = POP32_VAL(esp); /* 0x2B03E6A9: pop esi */ 3550 esp = ebp; /* 0x2B03E6AA: mov esp, ebp */ 3551 ebp = POP32_VAL(esp); /* 0x2B03E6AC: pop ebp */ 3552 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6AD: ret */ 3553 RECOMP_REGS_OUT(); 3554 } 3555 3556 void sub_2B03E6B0(void) { 3557 int _fpu_cmp = 0; 3558 uint32_t _cf = 0; 3559 int _df = 1; 3560 uint32_t _flag_k = FK_NONE; 3561 uint32_t _flag_a = 0, _flag_b = 0; 3562 uint32_t _itail_tgt = 0; 3563 RECOMP_REGS_LOCALS 3564 RECOMP_ENTER(0x2B03E6B0u); 3565 3566 L_2B03E6B0: 3567 PUSH32(esp, esi); /* 0x2B03E6B0: push esi */ 3568 esi = ecx; /* 0x2B03E6B1: mov esi, ecx */ 3569 _flag_a = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; _flag_b = (uint32_t)((MEM8(esi + 0x18) ^ 1)) << 24; 3570 MEM8(esi + 0x18) = (uint8_t)(MEM8(esi + 0x18) ^ 1); /* 0x2B03E6B3: xor byte ptr [esi + 0x18], 1 */ 3571 _cf = 0; 3572 _flag_k = FK_NARROW(FK_TEST, 24); 3573 ecx = esi; /* 0x2B03E6B7: mov ecx, esi */ 3574 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E6B9: call 0x2b03e950 */ /* not lifted */ 3575 RECOMP_FLAGS_IN(); 3576 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E6BE: mov al, byte ptr [esi + 0x18] */ 3577 /* test LO8(eax), LO8(eax) */ /* 0x2B03E6C1: test al, al */ 3578 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3579 _cf = 0; 3580 _flag_k = FK_NARROW(FK_TEST, 24); 3581 ecx = esi; /* 0x2B03E6C3: mov ecx, esi */ 3582 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E6DD; /* 0x2B03E6C5: jne 0x2b03e6dd */ 3583 L_2B03E6C7: 3584 RECOMP_ICALL(0x2B03E850u); /* 0x2B03E6C7: call 0x2b03e850 */ /* not lifted */ 3585 RECOMP_FLAGS_IN(); 3586 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E6CC: mov al, byte ptr [esi + 0x18] */ 3587 _flag_a = (uint32_t)((LO8(eax) ^ 1)) << 24; _flag_b = (uint32_t)((LO8(eax) ^ 1)) << 24; 3588 SET_LO8(eax, LO8(eax) ^ 1); /* 0x2B03E6CF: xor al, 1 */ 3589 _cf = 0; 3590 _flag_k = FK_NARROW(FK_TEST, 24); 3591 ecx = esi; /* 0x2B03E6D1: mov ecx, esi */ 3592 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x2B03E6D3: mov byte ptr [esi + 0x18], al */ 3593 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E6D6: call 0x2b03e950 */ /* not lifted */ 3594 RECOMP_FLAGS_IN(); 3595 ecx = esi; /* 0x2B03E6DB: mov ecx, esi */ 3596 L_2B03E6DD: 3597 RECOMP_ICALL(0x2B03E800u); /* 0x2B03E6DD: call 0x2b03e800 */ /* not lifted */ 3598 RECOMP_FLAGS_IN(); 3599 ecx = esi; /* 0x2B03E6E2: mov ecx, esi */ 3600 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E6E4: call 0x2b03e6f0 */ /* not lifted */ 3601 RECOMP_FLAGS_IN(); 3602 esi = POP32_VAL(esp); /* 0x2B03E6E9: pop esi */ 3603 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E6EA: ret */ 3604 RECOMP_REGS_OUT(); 3605 } 3606 3607 void sub_2B03E6F0(void) { 3608 int _fpu_cmp = 0; 3609 uint32_t _cf = 0; 3610 int _df = 1; 3611 uint32_t _flag_k = FK_NONE; 3612 uint32_t _flag_a = 0, _flag_b = 0; 3613 uint32_t _itail_tgt = 0; 3614 RECOMP_REGS_LOCALS 3615 RECOMP_ENTER(0x2B03E6F0u); 3616 3617 L_2B03E6F0: 3618 PUSH32(esp, ebp); /* 0x2B03E6F0: push ebp */ 3619 ebp = esp; /* 0x2B03E6F1: mov ebp, esp */ 3620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3622 esp = esp - 8; /* 0x2B03E6F3: sub esp, 8 */ 3623 _flag_k = FK_CMP; 3624 PUSH32(esp, esi); /* 0x2B03E6F6: push esi */ 3625 esi = ecx; /* 0x2B03E6F7: mov esi, ecx */ 3626 ecx = MEM32(esi); /* 0x2B03E6F9: mov ecx, dword ptr [esi] */ 3627 eax = ebp + (-0x8); /* 0x2B03E6FB: lea eax, [ebp - 8] */ 3628 PUSH32(esp, eax); /* 0x2B03E6FE: push eax */ 3629 MEM32(ebp + (-0x8)) = 6; /* 0x2B03E6FF: mov dword ptr [ebp - 8], 6 */ 3630 MEM32(ebp + (-0x4)) = 0x16u; /* 0x2B03E706: mov dword ptr [ebp - 4], 0x16 */ 3631 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B03E70D: call dword ptr [0x2b0b58e0] */ 3632 RECOMP_FLAGS_IN(); 3633 ecx = MEM32(esi + 0x30); /* 0x2B03E713: mov ecx, dword ptr [esi + 0x30] */ 3634 RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B03E716: call dword ptr [0x2b0b5960] */ 3635 RECOMP_FLAGS_IN(); 3636 ecx = MEM32(esi + 0x14); /* 0x2B03E71C: mov ecx, dword ptr [esi + 0x14] */ 3637 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B03E71F: mov byte ptr [ecx + 9], 1 */ 3638 ecx = MEM32(esi); /* 0x2B03E723: mov ecx, dword ptr [esi] */ 3639 PUSH32(esp, 0); /* 0x2B03E725: push 0 */ 3640 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B03E727: call dword ptr [0x2b0b58e4] */ 3641 RECOMP_FLAGS_IN(); 3642 ecx = MEM32(esi + 0x4C); /* 0x2B03E72D: mov ecx, dword ptr [esi + 0x4c] */ 3643 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B03E730: call dword ptr [0x2b0b5bdc] */ 3644 RECOMP_FLAGS_IN(); 3645 esi = POP32_VAL(esp); /* 0x2B03E736: pop esi */ 3646 esp = ebp; /* 0x2B03E737: mov esp, ebp */ 3647 ebp = POP32_VAL(esp); /* 0x2B03E739: pop ebp */ 3648 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E73A: ret */ 3649 RECOMP_REGS_OUT(); 3650 } 3651 3652 void sub_2B03E740(void) { 3653 int _fpu_cmp = 0; 3654 uint32_t _cf = 0; 3655 int _df = 1; 3656 uint32_t _flag_k = FK_NONE; 3657 uint32_t _flag_a = 0, _flag_b = 0; 3658 uint32_t _itail_tgt = 0; 3659 RECOMP_REGS_LOCALS 3660 RECOMP_ENTER(0x2B03E740u); 3661 3662 L_2B03E740: 3663 PUSH32(esp, ebp); /* 0x2B03E740: push ebp */ 3664 ebp = esp; /* 0x2B03E741: mov ebp, esp */ 3665 PUSH32(esp, esi); /* 0x2B03E743: push esi */ 3666 esi = ecx; /* 0x2B03E744: mov esi, ecx */ 3667 SET_LO8(ecx, MEM8(0x2B0EEA04)); /* 0x2B03E746: mov cl, byte ptr [0x2b0eea04] */ 3668 SET_LO8(eax, 1); /* 0x2B03E74C: mov al, 1 */ 3669 /* test LO8(eax), LO8(ecx) */ /* 0x2B03E74E: test al, cl */ 3670 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3671 _cf = 0; 3672 _flag_k = FK_NARROW(FK_TEST, 24); 3673 PUSH32(esp, edi); /* 0x2B03E750: push edi */ 3674 edi = MEM32(0x2B0B5690); /* 0x2B03E751: mov edi, dword ptr [0x2b0b5690] */ 3675 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E770; /* 0x2B03E757: jne 0x2b03e770 */ 3676 L_2B03E759: 3677 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 3678 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B03E759: or cl, al */ 3679 _cf = 0; 3680 _flag_k = FK_NARROW(FK_TEST, 24); 3681 MEM8(0x2B0EEA04) = (uint8_t)(LO8(ecx)); /* 0x2B03E75B: mov byte ptr [0x2b0eea04], cl */ 3682 RECOMP_ICALL(edi); /* 0x2B03E761: call edi */ 3683 RECOMP_FLAGS_IN(); 3684 ecx = eax; /* 0x2B03E763: mov ecx, eax */ 3685 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B03E765: call dword ptr [0x2b0b5688] */ 3686 RECOMP_FLAGS_IN(); 3687 MEM32(0x2B0EEA00) = eax; /* 0x2B03E76B: mov dword ptr [0x2b0eea00], eax */ 3688 L_2B03E770: 3689 SET_LO8(ecx, MEM8(0x2B0EEA04)); /* 0x2B03E770: mov cl, byte ptr [0x2b0eea04] */ 3690 SET_LO8(eax, 2); /* 0x2B03E776: mov al, 2 */ 3691 /* test LO8(eax), LO8(ecx) */ /* 0x2B03E778: test al, cl */ 3692 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3693 _cf = 0; 3694 _flag_k = FK_NARROW(FK_TEST, 24); 3695 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E793; /* 0x2B03E77A: jne 0x2b03e793 */ 3696 L_2B03E77C: 3697 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 3698 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B03E77C: or cl, al */ 3699 _cf = 0; 3700 _flag_k = FK_NARROW(FK_TEST, 24); 3701 MEM8(0x2B0EEA04) = (uint8_t)(LO8(ecx)); /* 0x2B03E77E: mov byte ptr [0x2b0eea04], cl */ 3702 RECOMP_ICALL(edi); /* 0x2B03E784: call edi */ 3703 RECOMP_FLAGS_IN(); 3704 ecx = eax; /* 0x2B03E786: mov ecx, eax */ 3705 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B03E788: call dword ptr [0x2b0b568c] */ 3706 RECOMP_FLAGS_IN(); 3707 MEM32(0x2B0EE9FC) = eax; /* 0x2B03E78E: mov dword ptr [0x2b0ee9fc], eax */ 3708 L_2B03E793: 3709 ecx = MEM32(ebp + 0x8); /* 0x2B03E793: mov ecx, dword ptr [ebp + 8] */ 3710 edx = MEM32(ecx); /* 0x2B03E796: mov edx, dword ptr [ecx] */ 3711 eax = esi + 0x20; /* 0x2B03E798: lea eax, [esi + 0x20] */ 3712 MEM32(eax) = edx; /* 0x2B03E79B: mov dword ptr [eax], edx */ 3713 ecx = MEM32(ecx + 0x4); /* 0x2B03E79D: mov ecx, dword ptr [ecx + 4] */ 3714 MEM32(eax + 0x4) = ecx; /* 0x2B03E7A0: mov dword ptr [eax + 4], ecx */ 3715 ecx = MEM32(eax); /* 0x2B03E7A3: mov ecx, dword ptr [eax] */ 3716 /* test ecx, ecx */ /* 0x2B03E7A5: test ecx, ecx */ 3717 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3718 _cf = 0; 3719 _flag_k = FK_TEST; 3720 if (TEST_NS(_flag_a, _flag_b)) goto L_2B03E7B1; /* 0x2B03E7A7: jge 0x2b03e7b1 */ 3721 L_2B03E7A9: 3722 MEM32(eax) = 0; /* 0x2B03E7A9: mov dword ptr [eax], 0 */ 3723 goto L_2B03E7C0; /* 0x2B03E7AF: jmp 0x2b03e7c0 */ 3724 L_2B03E7B1: 3725 edx = MEM32(0x2B0EEA00); /* 0x2B03E7B1: mov edx, dword ptr [0x2b0eea00] */ 3726 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFCEu); 3727 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3728 edx = edx + 0xFFFFFFCEu; /* 0x2B03E7B7: add edx, -0x32 */ 3729 _flag_k = FK_ADD; 3730 /* cmp ecx, edx */ /* 0x2B03E7BA: cmp ecx, edx */ 3731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3733 _flag_k = FK_CMP; 3734 if (CMP_LE(_flag_a, _flag_b)) goto L_2B03E7C0; /* 0x2B03E7BC: jle 0x2b03e7c0 */ 3735 L_2B03E7BE: 3736 MEM32(eax) = edx; /* 0x2B03E7BE: mov dword ptr [eax], edx */ 3737 L_2B03E7C0: 3738 ecx = MEM32(esi + 0x24); /* 0x2B03E7C0: mov ecx, dword ptr [esi + 0x24] */ 3739 /* test ecx, ecx */ /* 0x2B03E7C3: test ecx, ecx */ 3740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3741 _cf = 0; 3742 _flag_k = FK_TEST; 3743 if (TEST_NS(_flag_a, _flag_b)) goto L_2B03E7DE; /* 0x2B03E7C5: jge 0x2b03e7de */ 3744 L_2B03E7C7: 3745 ecx = MEM32(esi + 0x4C); /* 0x2B03E7C7: mov ecx, dword ptr [esi + 0x4c] */ 3746 PUSH32(esp, eax); /* 0x2B03E7CA: push eax */ 3747 MEM32(esi + 0x24) = 0; /* 0x2B03E7CB: mov dword ptr [esi + 0x24], 0 */ 3748 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B03E7D2: call dword ptr [0x2b0b5bb8] */ 3749 RECOMP_FLAGS_IN(); 3750 edi = POP32_VAL(esp); /* 0x2B03E7D8: pop edi */ 3751 esi = POP32_VAL(esp); /* 0x2B03E7D9: pop esi */ 3752 ebp = POP32_VAL(esp); /* 0x2B03E7DA: pop ebp */ 3753 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03E7DB: ret 4 */ 3754 L_2B03E7DE: 3755 edx = MEM32(0x2B0EE9FC); /* 0x2B03E7DE: mov edx, dword ptr [0x2b0ee9fc] */ 3756 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFCEu); 3757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3758 edx = edx + 0xFFFFFFCEu; /* 0x2B03E7E4: add edx, -0x32 */ 3759 _flag_k = FK_ADD; 3760 /* cmp ecx, edx */ /* 0x2B03E7E7: cmp ecx, edx */ 3761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3763 _flag_k = FK_CMP; 3764 if (CMP_LE(_flag_a, _flag_b)) goto L_2B03E7EE; /* 0x2B03E7E9: jle 0x2b03e7ee */ 3765 L_2B03E7EB: 3766 MEM32(esi + 0x24) = edx; /* 0x2B03E7EB: mov dword ptr [esi + 0x24], edx */ 3767 L_2B03E7EE: 3768 ecx = MEM32(esi + 0x4C); /* 0x2B03E7EE: mov ecx, dword ptr [esi + 0x4c] */ 3769 PUSH32(esp, eax); /* 0x2B03E7F1: push eax */ 3770 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B03E7F2: call dword ptr [0x2b0b5bb8] */ 3771 RECOMP_FLAGS_IN(); 3772 edi = POP32_VAL(esp); /* 0x2B03E7F8: pop edi */ 3773 esi = POP32_VAL(esp); /* 0x2B03E7F9: pop esi */ 3774 ebp = POP32_VAL(esp); /* 0x2B03E7FA: pop ebp */ 3775 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03E7FB: ret 4 */ 3776 RECOMP_REGS_OUT(); 3777 } 3778 3779 void sub_2B03E800(void) { 3780 int _fpu_cmp = 0; 3781 uint32_t _cf = 0; 3782 int _df = 1; 3783 uint32_t _flag_k = FK_NONE; 3784 uint32_t _flag_a = 0, _flag_b = 0; 3785 uint32_t _itail_tgt = 0; 3786 RECOMP_REGS_LOCALS 3787 RECOMP_ENTER(0x2B03E800u); 3788 3789 L_2B03E800: 3790 PUSH32(esp, esi); /* 0x2B03E800: push esi */ 3791 esi = ecx; /* 0x2B03E801: mov esi, ecx */ 3792 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E803: mov al, byte ptr [esi + 0x18] */ 3793 /* test LO8(eax), LO8(eax) */ /* 0x2B03E806: test al, al */ 3794 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3795 _cf = 0; 3796 _flag_k = FK_NARROW(FK_TEST, 24); 3797 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E840; /* 0x2B03E808: je 0x2b03e840 */ 3798 L_2B03E80A: 3799 eax = MEM32(esi + 0x2C); /* 0x2B03E80A: mov eax, dword ptr [esi + 0x2c] */ 3800 PUSH32(esp, ebx); /* 0x2B03E80D: push ebx */ 3801 SET_LO8(ebx, 1); /* 0x2B03E80E: mov bl, 1 */ 3802 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B03E810: mov byte ptr [eax + 8], bl */ 3803 ecx = MEM32(esi + 0x30); /* 0x2B03E813: mov ecx, dword ptr [esi + 0x30] */ 3804 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B03E816: call dword ptr [0x2b0b5b3c] */ 3805 RECOMP_FLAGS_IN(); 3806 ecx = MEM32(esi + 0x14); /* 0x2B03E81C: mov ecx, dword ptr [esi + 0x14] */ 3807 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B03E81F: mov byte ptr [ecx + 8], bl */ 3808 ecx = MEM32(esi); /* 0x2B03E822: mov ecx, dword ptr [esi] */ 3809 RECOMP_ICALL(MEM32(0x2B0B58DC)); /* 0x2B03E824: call dword ptr [0x2b0b58dc] */ 3810 RECOMP_FLAGS_IN(); 3811 ecx = MEM32(esi + 0x4C); /* 0x2B03E82A: mov ecx, dword ptr [esi + 0x4c] */ 3812 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03E82D: call dword ptr [0x2b0b5bb4] */ 3813 RECOMP_FLAGS_IN(); 3814 edx = MEM32(esi + 0x28); /* 0x2B03E833: mov edx, dword ptr [esi + 0x28] */ 3815 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B03E836: mov byte ptr [edx + 8], bl */ 3816 eax = MEM32(esi + 0x1C); /* 0x2B03E839: mov eax, dword ptr [esi + 0x1c] */ 3817 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B03E83C: mov byte ptr [eax + 8], bl */ 3818 ebx = POP32_VAL(esp); /* 0x2B03E83F: pop ebx */ 3819 L_2B03E840: 3820 esi = POP32_VAL(esp); /* 0x2B03E840: pop esi */ 3821 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E841: ret */ 3822 RECOMP_REGS_OUT(); 3823 } 3824 3825 void sub_2B03E850(void) { 3826 int _fpu_cmp = 0; 3827 uint32_t _cf = 0; 3828 int _df = 1; 3829 uint32_t _flag_k = FK_NONE; 3830 uint32_t _flag_a = 0, _flag_b = 0; 3831 uint32_t _itail_tgt = 0; 3832 RECOMP_REGS_LOCALS 3833 RECOMP_ENTER(0x2B03E850u); 3834 3835 L_2B03E850: 3836 PUSH32(esp, esi); /* 0x2B03E850: push esi */ 3837 esi = ecx; /* 0x2B03E851: mov esi, ecx */ 3838 ecx = MEM32(esi); /* 0x2B03E853: mov ecx, dword ptr [esi] */ 3839 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B03E855: call dword ptr [0x2b0b58d8] */ 3840 RECOMP_FLAGS_IN(); 3841 ecx = MEM32(esi + 0x4C); /* 0x2B03E85B: mov ecx, dword ptr [esi + 0x4c] */ 3842 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B03E85E: call dword ptr [0x2b0b5bac] */ 3843 RECOMP_FLAGS_IN(); 3844 ecx = MEM32(esi + 0x28); /* 0x2B03E864: mov ecx, dword ptr [esi + 0x28] */ 3845 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 3846 SET_LO8(eax, 0); /* 0x2B03E867: xor al, al */ 3847 _cf = 0; 3848 _flag_k = FK_NARROW(FK_TEST, 24); 3849 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03E869: mov byte ptr [ecx + 8], al */ 3850 edx = MEM32(esi + 0x14); /* 0x2B03E86C: mov edx, dword ptr [esi + 0x14] */ 3851 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03E86F: mov byte ptr [edx + 8], al */ 3852 ecx = MEM32(esi + 0x1C); /* 0x2B03E872: mov ecx, dword ptr [esi + 0x1c] */ 3853 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03E875: mov byte ptr [ecx + 8], al */ 3854 edx = MEM32(esi + 0x2C); /* 0x2B03E878: mov edx, dword ptr [esi + 0x2c] */ 3855 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03E87B: mov byte ptr [edx + 8], al */ 3856 ecx = MEM32(esi + 0x30); /* 0x2B03E87E: mov ecx, dword ptr [esi + 0x30] */ 3857 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B03E881: call dword ptr [0x2b0b5b34] */ 3858 RECOMP_FLAGS_IN(); 3859 esi = POP32_VAL(esp); /* 0x2B03E887: pop esi */ 3860 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E888: ret */ 3861 RECOMP_REGS_OUT(); 3862 } 3863 3864 void sub_2B03E890(void) { 3865 int _fpu_cmp = 0; 3866 uint32_t _cf = 0; 3867 int _df = 1; 3868 uint32_t _flag_k = FK_NONE; 3869 uint32_t _flag_a = 0, _flag_b = 0; 3870 uint32_t _itail_tgt = 0; 3871 RECOMP_REGS_LOCALS 3872 RECOMP_ENTER(0x2B03E890u); 3873 3874 L_2B03E890: 3875 PUSH32(esp, ebp); /* 0x2B03E890: push ebp */ 3876 ebp = esp; /* 0x2B03E891: mov ebp, esp */ 3877 PUSH32(esp, esi); /* 0x2B03E893: push esi */ 3878 esi = MEM32(ebp + 0x8); /* 0x2B03E894: mov esi, dword ptr [ebp + 8] */ 3879 ecx = esi; /* 0x2B03E897: mov ecx, esi */ 3880 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E899: call 0x2b03e6f0 */ /* not lifted */ 3881 RECOMP_FLAGS_IN(); 3882 ecx = esi; /* 0x2B03E89E: mov ecx, esi */ 3883 RECOMP_ICALL(0x2B03E950u); /* 0x2B03E8A0: call 0x2b03e950 */ /* not lifted */ 3884 RECOMP_FLAGS_IN(); 3885 esi = POP32_VAL(esp); /* 0x2B03E8A5: pop esi */ 3886 ebp = POP32_VAL(esp); /* 0x2B03E8A6: pop ebp */ 3887 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E8A7: ret */ 3888 RECOMP_REGS_OUT(); 3889 } 3890 3891 void sub_2B03E8B0(void) { 3892 int _fpu_cmp = 0; 3893 uint32_t _cf = 0; 3894 int _df = 1; 3895 uint32_t _flag_k = FK_NONE; 3896 uint32_t _flag_a = 0, _flag_b = 0; 3897 uint32_t _itail_tgt = 0; 3898 RECOMP_REGS_LOCALS 3899 RECOMP_ENTER(0x2B03E8B0u); 3900 3901 L_2B03E8B0: 3902 PUSH32(esp, ebp); /* 0x2B03E8B0: push ebp */ 3903 ebp = esp; /* 0x2B03E8B1: mov ebp, esp */ 3904 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 3905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3906 esp = esp - 0x28u; /* 0x2B03E8B3: sub esp, 0x28 */ 3907 _flag_k = FK_CMP; 3908 eax = MEM32(0x2B0B58C8); /* 0x2B03E8B6: mov eax, dword ptr [0x2b0b58c8] */ 3909 PUSH32(esp, ebx); /* 0x2B03E8BB: push ebx */ 3910 ebx = ecx; /* 0x2B03E8BC: mov ebx, ecx */ 3911 /* cmp MEM8(eax), 0 */ /* 0x2B03E8BE: cmp byte ptr [eax], 0 */ 3912 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 3913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3914 _flag_k = FK_NARROW(FK_CMP, 24); 3915 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E93F; /* 0x2B03E8C1: je 0x2b03e93f */ 3916 L_2B03E8C3: 3917 PUSH32(esp, esi); /* 0x2B03E8C3: push esi */ 3918 PUSH32(esp, edi); /* 0x2B03E8C4: push edi */ 3919 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3920 esi = 0; /* 0x2B03E8C5: xor esi, esi */ 3921 _cf = 0; 3922 _flag_k = FK_TEST; 3923 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3924 eax = 0; /* 0x2B03E8C7: xor eax, eax */ 3925 _cf = 0; 3926 _flag_k = FK_TEST; 3927 MEM32(ebp + (-0x28)) = esi; /* 0x2B03E8C9: mov dword ptr [ebp - 0x28], esi */ 3928 MEM32(ebp + (-0x24)) = esi; /* 0x2B03E8CC: mov dword ptr [ebp - 0x24], esi */ 3929 ecx = 0xAu; /* 0x2B03E8CF: mov ecx, 0xa */ 3930 edi = ebp + (-0x28); /* 0x2B03E8D4: lea edi, [ebp - 0x28] */ 3931 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03E8D7: 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; } 3932 MEM32(ebp + (-0xC)) = 0x30u; /* 0x2B03E8D9: mov dword ptr [ebp - 0xc], 0x30 */ 3933 MEM32(ebp + (-0x10)) = 0xDu; /* 0x2B03E8E0: mov dword ptr [ebp - 0x10], 0xd */ 3934 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03E8E7: call dword ptr [0x2b0b5d6c] */ 3935 RECOMP_FLAGS_IN(); 3936 ecx = eax; /* 0x2B03E8ED: mov ecx, eax */ 3937 RECOMP_ICALL(MEM32(0x2B0B5EE8)); /* 0x2B03E8EF: call dword ptr [0x2b0b5ee8] */ 3938 RECOMP_FLAGS_IN(); 3939 edi = eax; /* 0x2B03E8F5: mov edi, eax */ 3940 /* cmp edi, esi */ /* 0x2B03E8F7: cmp edi, esi */ 3941 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3943 _flag_k = FK_CMP; 3944 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E92E; /* 0x2B03E8F9: je 0x2b03e92e */ 3945 L_2B03E8FB: 3946 ecx = MEM32(ebx); /* 0x2B03E8FB: mov ecx, dword ptr [ebx] */ 3947 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B03E8FD: call dword ptr [0x2b0b58cc] */ 3948 RECOMP_FLAGS_IN(); 3949 eax = MEM32(edi + 0x8); /* 0x2B03E903: mov eax, dword ptr [edi + 8] */ 3950 /* test eax, eax */ /* 0x2B03E906: test eax, eax */ 3951 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3952 _cf = 0; 3953 _flag_k = FK_TEST; 3954 ecx = MEM32(edi + 0x4); /* 0x2B03E908: mov ecx, dword ptr [edi + 4] */ 3955 esi = MEM32(ecx); /* 0x2B03E90B: mov esi, dword ptr [ecx] */ 3956 if (TEST_LE(_flag_a, _flag_b)) goto L_2B03E92E; /* 0x2B03E90D: jle 0x2b03e92e */ 3957 L_2B03E90F: 3958 edi = eax; /* 0x2B03E90F: mov edi, eax */ 3959 L_2B03E911: 3960 edx = MEM32(esi + 0x8); /* 0x2B03E911: mov edx, dword ptr [esi + 8] */ 3961 ecx = ebp + (-0x28); /* 0x2B03E914: lea ecx, [ebp - 0x28] */ 3962 MEM32(ebp + (-0x28)) = edx; /* 0x2B03E917: mov dword ptr [ebp - 0x28], edx */ 3963 eax = MEM32(esi + 0xC); /* 0x2B03E91A: mov eax, dword ptr [esi + 0xc] */ 3964 PUSH32(esp, ecx); /* 0x2B03E91D: push ecx */ 3965 ecx = MEM32(ebx); /* 0x2B03E91E: mov ecx, dword ptr [ebx] */ 3966 MEM32(ebp + (-0x24)) = eax; /* 0x2B03E920: mov dword ptr [ebp - 0x24], eax */ 3967 RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B03E923: call dword ptr [0x2b0b58d0] */ 3968 RECOMP_FLAGS_IN(); 3969 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3970 edi = edi - 1; /* 0x2B03E929: dec edi */ 3971 _flag_k = FK_DEC; 3972 esi = MEM32(esi); /* 0x2B03E92A: mov esi, dword ptr [esi] */ 3973 RECOMP_BACKEDGE(); 3974 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B03E911; /* 0x2B03E92C: jne 0x2b03e911 */ 3975 L_2B03E92E: 3976 ecx = MEM32(ebx); /* 0x2B03E92E: mov ecx, dword ptr [ebx] */ 3977 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B03E930: call dword ptr [0x2b0b58d4] */ 3978 RECOMP_FLAGS_IN(); 3979 ecx = ebx; /* 0x2B03E936: mov ecx, ebx */ 3980 RECOMP_ICALL(0x2B03E6F0u); /* 0x2B03E938: call 0x2b03e6f0 */ /* not lifted */ 3981 RECOMP_FLAGS_IN(); 3982 edi = POP32_VAL(esp); /* 0x2B03E93D: pop edi */ 3983 esi = POP32_VAL(esp); /* 0x2B03E93E: pop esi */ 3984 L_2B03E93F: 3985 ebx = POP32_VAL(esp); /* 0x2B03E93F: pop ebx */ 3986 esp = ebp; /* 0x2B03E940: mov esp, ebp */ 3987 ebp = POP32_VAL(esp); /* 0x2B03E942: pop ebp */ 3988 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E943: ret */ 3989 RECOMP_REGS_OUT(); 3990 } 3991 3992 void sub_2B03E950(void) { 3993 int _fpu_cmp = 0; 3994 uint32_t _cf = 0; 3995 int _df = 1; 3996 uint32_t _flag_k = FK_NONE; 3997 uint32_t _flag_a = 0, _flag_b = 0; 3998 uint32_t _itail_tgt = 0; 3999 RECOMP_REGS_LOCALS 4000 RECOMP_ENTER(0x2B03E950u); 4001 4002 L_2B03E950: 4003 PUSH32(esp, esi); /* 0x2B03E950: push esi */ 4004 esi = ecx; /* 0x2B03E951: mov esi, ecx */ 4005 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E953: mov al, byte ptr [esi + 0x18] */ 4006 /* test LO8(eax), LO8(eax) */ /* 0x2B03E956: test al, al */ 4007 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4008 _cf = 0; 4009 _flag_k = FK_NARROW(FK_TEST, 24); 4010 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E987; /* 0x2B03E958: je 0x2b03e987 */ 4011 L_2B03E95A: 4012 ecx = MEM32(esi + 0x38); /* 0x2B03E95A: mov ecx, dword ptr [esi + 0x38] */ 4013 eax = 0xFFu; /* 0x2B03E95D: mov eax, 0xff */ 4014 /* cmp ecx, eax */ /* 0x2B03E962: cmp ecx, eax */ 4015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4017 _flag_k = FK_CMP; 4018 MEM32(esi + 0x34) = 0x40A00000u; /* 0x2B03E964: mov dword ptr [esi + 0x34], 0x40a00000 */ 4019 MEM8(esi + 0x3C) = (uint8_t)(0); /* 0x2B03E96B: mov byte ptr [esi + 0x3c], 0 */ 4020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03E987; /* 0x2B03E96F: je 0x2b03e987 */ 4021 L_2B03E971: 4022 ecx = MEM32(esi + 0x4C); /* 0x2B03E971: mov ecx, dword ptr [esi + 0x4c] */ 4023 PUSH32(esp, eax); /* 0x2B03E974: push eax */ 4024 MEM32(esi + 0x38) = eax; /* 0x2B03E975: mov dword ptr [esi + 0x38], eax */ 4025 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03E978: call dword ptr [0x2b0b5be0] */ 4026 RECOMP_FLAGS_IN(); 4027 ecx = MEM32(esi + 0x4C); /* 0x2B03E97E: mov ecx, dword ptr [esi + 0x4c] */ 4028 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03E981: call dword ptr [0x2b0b5bb4] */ 4029 RECOMP_FLAGS_IN(); 4030 L_2B03E987: 4031 esi = POP32_VAL(esp); /* 0x2B03E987: pop esi */ 4032 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03E988: ret */ 4033 RECOMP_REGS_OUT(); 4034 } 4035 4036 void sub_2B03E990(void) { 4037 int _fpu_cmp = 0; 4038 uint32_t _cf = 0; 4039 int _df = 1; 4040 uint32_t _flag_k = FK_NONE; 4041 uint32_t _flag_a = 0, _flag_b = 0; 4042 uint32_t _itail_tgt = 0; 4043 RECOMP_REGS_LOCALS 4044 RECOMP_ENTER(0x2B03E990u); 4045 4046 L_2B03E990: 4047 PUSH32(esp, esi); /* 0x2B03E990: push esi */ 4048 esi = ecx; /* 0x2B03E991: mov esi, ecx */ 4049 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x2B03E993: fld dword ptr [esi + 0x34] */ 4050 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B03E996: fcomp dword ptr [0x2b0b61b8] */ 4051 fp_pop(); 4052 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B03E99C: fnstsw ax */ 4053 /* test HI8(eax), 0x41u */ /* 0x2B03E99E: test ah, 0x41 */ 4054 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4055 _cf = 0; 4056 _flag_k = FK_NARROW(FK_TEST, 24); 4057 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E9C5; /* 0x2B03E9A1: jne 0x2b03e9c5 */ 4058 L_2B03E9A3: 4059 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B03E9A3: call dword ptr [0x2b0b53bc] */ 4060 RECOMP_FLAGS_IN(); 4061 eax = MEM32(eax + 0x14); /* 0x2B03E9A9: mov eax, dword ptr [eax + 0x14] */ 4062 fp_push(*(float*)&MEM32(eax)); /* 0x2B03E9AC: fld dword ptr [eax] */ 4063 _st[0] = (double)*(float*)ADDR(esi + 0x34) - _st[0]; /* 0x2B03E9AE: fsubr dword ptr [esi + 0x34] */ 4064 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x34) = _v; } /* 0x2B03E9B1: fst dword ptr [esi + 0x34] */ 4065 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B03E9B4: fcomp dword ptr [0x2b0b61b8] */ 4066 fp_pop(); 4067 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B03E9BA: fnstsw ax */ 4068 /* test HI8(eax), 0x41u */ /* 0x2B03E9BC: test ah, 0x41 */ 4069 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4070 _cf = 0; 4071 _flag_k = FK_NARROW(FK_TEST, 24); 4072 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E9C5; /* 0x2B03E9BF: je 0x2b03e9c5 */ 4073 L_2B03E9C1: 4074 MEM8(esi + 0x3C) = (uint8_t)(1); /* 0x2B03E9C1: mov byte ptr [esi + 0x3c], 1 */ 4075 L_2B03E9C5: 4076 SET_LO8(eax, MEM8(esi + 0x3C)); /* 0x2B03E9C5: mov al, byte ptr [esi + 0x3c] */ 4077 /* test LO8(eax), LO8(eax) */ /* 0x2B03E9C8: test al, al */ 4078 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4079 _cf = 0; 4080 _flag_k = FK_NARROW(FK_TEST, 24); 4081 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA1A; /* 0x2B03E9CA: je 0x2b03ea1a */ 4082 L_2B03E9CC: 4083 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E9CC: mov al, byte ptr [esi + 0x18] */ 4084 /* test LO8(eax), LO8(eax) */ /* 0x2B03E9CF: test al, al */ 4085 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4086 _cf = 0; 4087 _flag_k = FK_NARROW(FK_TEST, 24); 4088 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA1A; /* 0x2B03E9D1: je 0x2b03ea1a */ 4089 L_2B03E9D3: 4090 eax = MEM32(esi + 0x40); /* 0x2B03E9D3: mov eax, dword ptr [esi + 0x40] */ 4091 ecx = eax; /* 0x2B03E9D6: mov ecx, eax */ 4092 if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2B03E9D8: shl ecx, 8 */ 4093 if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4094 ecx = ecx << 8u; /* 0x2B03E9D8: shl ecx, 8 */ 4095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4097 ecx = ecx - eax; /* 0x2B03E9DB: sub ecx, eax */ 4098 _flag_k = FK_CMP; 4099 eax = 0x51EB851Fu; /* 0x2B03E9DD: mov eax, 0x51eb851f */ 4100 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B03E9E2: imul ecx */ 4101 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 4102 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 4103 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B03E9E4: sar edx, 5 */ 4104 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4105 edx = (uint32_t)((int32_t)edx >> 5u); 4106 PUSH32(esp, edi); /* 0x2B03E9E7: push edi */ 4107 edi = MEM32(esi + 0x38); /* 0x2B03E9E8: mov edi, dword ptr [esi + 0x38] */ 4108 ecx = edx; /* 0x2B03E9EB: mov ecx, edx */ 4109 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B03E9ED: shr ecx, 0x1f */ 4110 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4111 ecx = ecx >> 31u; /* 0x2B03E9ED: shr ecx, 0x1f */ 4112 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFF6u); 4113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4114 edi = edi + 0xFFFFFFF6u; /* 0x2B03E9F0: add edi, -0xa */ 4115 _flag_k = FK_ADD; 4116 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 4117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4118 edx = edx + ecx; /* 0x2B03E9F3: add edx, ecx */ 4119 _flag_k = FK_ADD; 4120 MEM32(esi + 0x38) = edi; /* 0x2B03E9F5: mov dword ptr [esi + 0x38], edi */ 4121 /* cmp edi, edx */ /* 0x2B03E9F8: cmp edi, edx */ 4122 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4124 _flag_k = FK_CMP; 4125 edi = POP32_VAL(esp); /* 0x2B03E9FA: pop edi */ 4126 if (CMP_G(_flag_a, _flag_b)) goto L_2B03EA04; /* 0x2B03E9FB: jg 0x2b03ea04 */ 4127 L_2B03E9FD: 4128 MEM32(esi + 0x38) = edx; /* 0x2B03E9FD: mov dword ptr [esi + 0x38], edx */ 4129 MEM8(esi + 0x3C) = (uint8_t)(0); /* 0x2B03EA00: mov byte ptr [esi + 0x3c], 0 */ 4130 L_2B03EA04: 4131 edx = MEM32(esi + 0x38); /* 0x2B03EA04: mov edx, dword ptr [esi + 0x38] */ 4132 ecx = MEM32(esi + 0x4C); /* 0x2B03EA07: mov ecx, dword ptr [esi + 0x4c] */ 4133 PUSH32(esp, edx); /* 0x2B03EA0A: push edx */ 4134 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03EA0B: call dword ptr [0x2b0b5be0] */ 4135 RECOMP_FLAGS_IN(); 4136 ecx = MEM32(esi + 0x4C); /* 0x2B03EA11: mov ecx, dword ptr [esi + 0x4c] */ 4137 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03EA14: call dword ptr [0x2b0b5bb4] */ 4138 RECOMP_FLAGS_IN(); 4139 L_2B03EA1A: 4140 esi = POP32_VAL(esp); /* 0x2B03EA1A: pop esi */ 4141 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EA1B: ret */ 4142 RECOMP_REGS_OUT(); 4143 } 4144 4145 void sub_2B03EA20(void) { 4146 int _fpu_cmp = 0; 4147 uint32_t _cf = 0; 4148 int _df = 1; 4149 uint32_t _flag_k = FK_NONE; 4150 uint32_t _flag_a = 0, _flag_b = 0; 4151 uint32_t _itail_tgt = 0; 4152 RECOMP_REGS_LOCALS 4153 RECOMP_ENTER(0x2B03EA20u); 4154 4155 L_2B03EA20: 4156 PUSH32(esp, ebp); /* 0x2B03EA20: push ebp */ 4157 ebp = esp; /* 0x2B03EA21: mov ebp, esp */ 4158 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4160 esp = esp - 8; /* 0x2B03EA23: sub esp, 8 */ 4161 _flag_k = FK_CMP; 4162 ecx = MEM32(ebp + 0x8); /* 0x2B03EA26: mov ecx, dword ptr [ebp + 8] */ 4163 /* test ecx, ecx */ /* 0x2B03EA29: test ecx, ecx */ 4164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4165 _cf = 0; 4166 _flag_k = FK_TEST; 4167 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA4C; /* 0x2B03EA2B: je 0x2b03ea4c */ 4168 L_2B03EA2D: 4169 eax = MEM32(ecx + 0x20); /* 0x2B03EA2D: mov eax, dword ptr [ecx + 0x20] */ 4170 edx = MEM32(ecx + 0x24); /* 0x2B03EA30: mov edx, dword ptr [ecx + 0x24] */ 4171 PUSH32(esp, esi); /* 0x2B03EA33: push esi */ 4172 esi = MEM32(ebp + 0xC); /* 0x2B03EA34: mov esi, dword ptr [ebp + 0xc] */ 4173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 4174 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4175 eax = eax + MEM32(esi); /* 0x2B03EA37: add eax, dword ptr [esi] */ 4176 _flag_k = FK_ADD; 4177 MEM32(ebp + (-0x8)) = eax; /* 0x2B03EA39: mov dword ptr [ebp - 8], eax */ 4178 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4180 edx = edx + MEM32(esi + 0x4); /* 0x2B03EA3C: add edx, dword ptr [esi + 4] */ 4181 _flag_k = FK_ADD; 4182 eax = ebp + (-0x8); /* 0x2B03EA3F: lea eax, [ebp - 8] */ 4183 PUSH32(esp, eax); /* 0x2B03EA42: push eax */ 4184 MEM32(ebp + (-0x4)) = edx; /* 0x2B03EA43: mov dword ptr [ebp - 4], edx */ 4185 RECOMP_ICALL(0x2B03E740u); /* 0x2B03EA46: call 0x2b03e740 */ /* not lifted */ 4186 RECOMP_FLAGS_IN(); 4187 esi = POP32_VAL(esp); /* 0x2B03EA4B: pop esi */ 4188 L_2B03EA4C: 4189 esp = ebp; /* 0x2B03EA4C: mov esp, ebp */ 4190 ebp = POP32_VAL(esp); /* 0x2B03EA4E: pop ebp */ 4191 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EA4F: ret */ 4192 RECOMP_REGS_OUT(); 4193 } 4194 4195 void sub_2B03EA50(void) { 4196 int _fpu_cmp = 0; 4197 uint32_t _cf = 0; 4198 int _df = 1; 4199 uint32_t _flag_k = FK_NONE; 4200 uint32_t _flag_a = 0, _flag_b = 0; 4201 uint32_t _itail_tgt = 0; 4202 RECOMP_REGS_LOCALS 4203 RECOMP_ENTER(0x2B03EA50u); 4204 4205 L_2B03EA50: 4206 PUSH32(esp, ebp); /* 0x2B03EA50: push ebp */ 4207 ebp = esp; /* 0x2B03EA51: mov ebp, esp */ 4208 ecx = MEM32(ecx); /* 0x2B03EA53: mov ecx, dword ptr [ecx] */ 4209 /* test ecx, ecx */ /* 0x2B03EA55: test ecx, ecx */ 4210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4211 _cf = 0; 4212 _flag_k = FK_TEST; 4213 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA67; /* 0x2B03EA57: je 0x2b03ea67 */ 4214 L_2B03EA59: 4215 eax = MEM32(ebp + 0xC); /* 0x2B03EA59: mov eax, dword ptr [ebp + 0xc] */ 4216 edx = MEM32(ebp + 0x8); /* 0x2B03EA5C: mov edx, dword ptr [ebp + 8] */ 4217 PUSH32(esp, eax); /* 0x2B03EA5F: push eax */ 4218 PUSH32(esp, edx); /* 0x2B03EA60: push edx */ 4219 RECOMP_ICALL(MEM32(0x2B0B58C4)); /* 0x2B03EA61: call dword ptr [0x2b0b58c4] */ 4220 RECOMP_FLAGS_IN(); 4221 L_2B03EA67: 4222 ebp = POP32_VAL(esp); /* 0x2B03EA67: pop ebp */ 4223 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03EA68: ret 8 */ 4224 RECOMP_REGS_OUT(); 4225 } 4226 4227 void sub_2B03EA70(void) { 4228 int _fpu_cmp = 0; 4229 uint32_t _cf = 0; 4230 int _df = 1; 4231 uint32_t _flag_k = FK_NONE; 4232 uint32_t _flag_a = 0, _flag_b = 0; 4233 uint32_t _itail_tgt = 0; 4234 RECOMP_REGS_LOCALS 4235 RECOMP_ENTER(0x2B03EA70u); 4236 4237 L_2B03EA70: 4238 PUSH32(esp, ebp); /* 0x2B03EA70: push ebp */ 4239 ebp = esp; /* 0x2B03EA71: mov ebp, esp */ 4240 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03EA73: push -1 */ 4241 PUSH32(esp, 0x2B0AEADEu); /* 0x2B03EA75: push 0x2b0aeade */ 4242 eax = MEM32(FS_BASE + (0)); /* 0x2B03EA7A: mov eax, dword ptr fs:[0] */ 4243 PUSH32(esp, eax); /* 0x2B03EA80: push eax */ 4244 MEM32(FS_BASE + (0)) = esp; /* 0x2B03EA81: mov dword ptr fs:[0], esp */ 4245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 4246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4247 esp = esp - 0x18u; /* 0x2B03EA88: sub esp, 0x18 */ 4248 _flag_k = FK_CMP; 4249 PUSH32(esp, ebx); /* 0x2B03EA8B: push ebx */ 4250 PUSH32(esp, esi); /* 0x2B03EA8C: push esi */ 4251 PUSH32(esp, edi); /* 0x2B03EA8D: push edi */ 4252 edi = MEM32(ebp + 0x8); /* 0x2B03EA8E: mov edi, dword ptr [ebp + 8] */ 4253 eax = MEM32(edi); /* 0x2B03EA91: mov eax, dword ptr [edi] */ 4254 esi = ecx; /* 0x2B03EA93: mov esi, ecx */ 4255 MEM32(esi + 0x4) = eax; /* 0x2B03EA95: mov dword ptr [esi + 4], eax */ 4256 ecx = MEM32(edi + 0x4); /* 0x2B03EA98: mov ecx, dword ptr [edi + 4] */ 4257 PUSH32(esp, edi); /* 0x2B03EA9B: push edi */ 4258 MEM32(esi + 0x8) = ecx; /* 0x2B03EA9C: mov dword ptr [esi + 8], ecx */ 4259 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03EA9F: call dword ptr [0x2b0b5d6c] */ 4260 RECOMP_FLAGS_IN(); 4261 ecx = eax; /* 0x2B03EAA5: mov ecx, eax */ 4262 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B03EAA7: call dword ptr [0x2b0b5d50] */ 4263 RECOMP_FLAGS_IN(); 4264 MEM32(ebp + 0x8) = eax; /* 0x2B03EAAD: mov dword ptr [ebp + 8], eax */ 4265 eax = esi + 0xC; /* 0x2B03EAB0: lea eax, [esi + 0xc] */ 4266 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4267 ecx = 0; /* 0x2B03EAB3: xor ecx, ecx */ 4268 _cf = 0; 4269 _flag_k = FK_TEST; 4270 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4271 edx = 0; /* 0x2B03EAB5: xor edx, edx */ 4272 _cf = 0; 4273 _flag_k = FK_TEST; 4274 MEM32(eax) = ecx; /* 0x2B03EAB7: mov dword ptr [eax], ecx */ 4275 MEM32(eax + 0x4) = edx; /* 0x2B03EAB9: mov dword ptr [eax + 4], edx */ 4276 edx = ebp + (-0x10); /* 0x2B03EABC: lea edx, [ebp - 0x10] */ 4277 PUSH32(esp, edx); /* 0x2B03EABF: push edx */ 4278 PUSH32(esp, eax); /* 0x2B03EAC0: push eax */ 4279 PUSH32(esp, edi); /* 0x2B03EAC1: push edi */ 4280 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4281 ebx = 0; /* 0x2B03EAC2: xor ebx, ebx */ 4282 _cf = 0; 4283 _flag_k = FK_TEST; 4284 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03EAC4: call dword ptr [0x2b0b5d6c] */ 4285 RECOMP_FLAGS_IN(); 4286 ecx = eax; /* 0x2B03EACA: mov ecx, eax */ 4287 RECOMP_ICALL(MEM32(0x2B0B5D48)); /* 0x2B03EACC: call dword ptr [0x2b0b5d48] */ 4288 RECOMP_FLAGS_IN(); 4289 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B03EAD2: mov al, byte ptr [ebp + 0xb] */ 4290 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B03EAD5: mov byte ptr [ebp - 0x24], al */ 4291 MEM32(ebp + (-0x20)) = ebx; /* 0x2B03EAD8: mov dword ptr [ebp - 0x20], ebx */ 4292 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03EADB: mov dword ptr [ebp - 0x1c], ebx */ 4293 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03EADE: mov dword ptr [ebp - 0x18], ebx */ 4294 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03EAE1: mov dword ptr [ebp - 0x14], ebx */ 4295 ecx = MEM32(ebp + 0x8); /* 0x2B03EAE4: mov ecx, dword ptr [ebp + 8] */ 4296 PUSH32(esp, ecx); /* 0x2B03EAE7: push ecx */ 4297 edx = ebp + (-0x24); /* 0x2B03EAE8: lea edx, [ebp - 0x24] */ 4298 PUSH32(esp, 0x2B0E6F80u); /* 0x2B03EAEB: push 0x2b0e6f80 */ 4299 PUSH32(esp, edx); /* 0x2B03EAF0: push edx */ 4300 MEM32(ebp + (-0x4)) = ebx; /* 0x2B03EAF1: mov dword ptr [ebp - 4], ebx */ 4301 RECOMP_ICALL(0x2B020AF0u); /* 0x2B03EAF4: call 0x2b020af0 */ /* not lifted */ 4302 RECOMP_FLAGS_IN(); 4303 PUSH32(esp, 0x12Eu); /* 0x2B03EAF9: push 0x12e */ 4304 PUSH32(esp, 0xDu); /* 0x2B03EAFE: push 0xd */ 4305 PUSH32(esp, 2); /* 0x2B03EB00: push 2 */ 4306 eax = ebp + (-0x24); /* 0x2B03EB02: lea eax, [ebp - 0x24] */ 4307 PUSH32(esp, eax); /* 0x2B03EB05: push eax */ 4308 PUSH32(esp, 0x2B0E6F74u); /* 0x2B03EB06: push 0x2b0e6f74 */ 4309 RECOMP_ICALL(0x2B089D20u); /* 0x2B03EB0B: call 0x2b089d20 */ /* not lifted */ 4310 RECOMP_FLAGS_IN(); 4311 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 4312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4313 esp = esp + 0x20u; /* 0x2B03EB10: add esp, 0x20 */ 4314 _flag_k = FK_ADD; 4315 esi = MEM32(ebp + (-0x14)); /* 0x2B03EB13: mov esi, dword ptr [ebp - 0x14] */ 4316 /* cmp esi, ebx */ /* 0x2B03EB16: cmp esi, ebx */ 4317 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 4318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4319 _flag_k = FK_CMP; 4320 MEM32(ebp + (-0x4)) = 1; /* 0x2B03EB18: mov dword ptr [ebp - 4], 1 */ 4321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EB7B; /* 0x2B03EB1F: je 0x2b03eb7b */ 4322 L_2B03EB21: 4323 edx = MEM32(esi + 0x2C); /* 0x2B03EB21: mov edx, dword ptr [esi + 0x2c] */ 4324 eax = esi + 0x2C; /* 0x2B03EB24: lea eax, [esi + 0x2c] */ 4325 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4326 edx = edx - 1; /* 0x2B03EB27: dec edx */ 4327 _flag_k = FK_DEC; 4328 ecx = edx; /* 0x2B03EB28: mov ecx, edx */ 4329 /* cmp ecx, ebx */ /* 0x2B03EB2A: cmp ecx, ebx */ 4330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4332 _flag_k = FK_CMP; 4333 MEM32(eax) = edx; /* 0x2B03EB2C: mov dword ptr [eax], edx */ 4334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03EB7B; /* 0x2B03EB2E: jne 0x2b03eb7b */ 4335 L_2B03EB30: 4336 /* cmp esi, ebx */ /* 0x2B03EB30: cmp esi, ebx */ 4337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 4338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4339 _flag_k = FK_CMP; 4340 MEM32(ebp + 0x8) = esi; /* 0x2B03EB32: mov dword ptr [ebp + 8], esi */ 4341 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EB7B; /* 0x2B03EB35: je 0x2b03eb7b */ 4342 L_2B03EB37: 4343 PUSH32(esp, 1); /* 0x2B03EB37: push 1 */ 4344 ecx = esi + 0x1C; /* 0x2B03EB39: lea ecx, [esi + 0x1c] */ 4345 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03EB3C: mov byte ptr [ebp - 4], 2 */ 4346 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03EB40: call dword ptr [0x2b0b514c] */ 4347 RECOMP_FLAGS_IN(); 4348 eax = MEM32(esi + 0x10); /* 0x2B03EB46: mov eax, dword ptr [esi + 0x10] */ 4349 /* cmp eax, ebx */ /* 0x2B03EB49: cmp eax, ebx */ 4350 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4352 _flag_k = FK_CMP; 4353 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EB69; /* 0x2B03EB4B: je 0x2b03eb69 */ 4354 L_2B03EB4D: 4355 ecx = eax + (-0x1); /* 0x2B03EB4D: lea ecx, [eax - 1] */ 4356 SET_LO8(eax, MEM8(ecx)); /* 0x2B03EB50: mov al, byte ptr [ecx] */ 4357 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B03EB52: cmp al, bl */ 4358 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4360 _flag_k = FK_NARROW(FK_CMP, 24); 4361 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EB60; /* 0x2B03EB54: je 0x2b03eb60 */ 4362 L_2B03EB56: 4363 /* cmp LO8(eax), 0xFFu */ /* 0x2B03EB56: cmp al, 0xff */ 4364 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4366 _flag_k = FK_NARROW(FK_CMP, 24); 4367 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EB60; /* 0x2B03EB58: je 0x2b03eb60 */ 4368 L_2B03EB5A: 4369 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4370 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03EB5A: dec al */ 4371 _flag_k = FK_NARROW(FK_DEC, 24); 4372 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03EB5C: mov byte ptr [ecx], al */ 4373 goto L_2B03EB69; /* 0x2B03EB5E: jmp 0x2b03eb69 */ 4374 L_2B03EB60: 4375 PUSH32(esp, ecx); /* 0x2B03EB60: push ecx */ 4376 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03EB61: call 0x2b0ab1ba */ /* not lifted */ 4377 RECOMP_FLAGS_IN(); 4378 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4379 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4380 esp = esp + 4; /* 0x2B03EB66: add esp, 4 */ 4381 _flag_k = FK_ADD; 4382 L_2B03EB69: 4383 PUSH32(esp, esi); /* 0x2B03EB69: push esi */ 4384 MEM32(esi + 0x10) = ebx; /* 0x2B03EB6A: mov dword ptr [esi + 0x10], ebx */ 4385 MEM32(esi + 0x14) = ebx; /* 0x2B03EB6D: mov dword ptr [esi + 0x14], ebx */ 4386 MEM32(esi + 0x18) = ebx; /* 0x2B03EB70: mov dword ptr [esi + 0x18], ebx */ 4387 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03EB73: call 0x2b0ab1ba */ /* not lifted */ 4388 RECOMP_FLAGS_IN(); 4389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4391 esp = esp + 4; /* 0x2B03EB78: add esp, 4 */ 4392 _flag_k = FK_ADD; 4393 L_2B03EB7B: 4394 ecx = MEM32(ebp + (-0x20)); /* 0x2B03EB7B: mov ecx, dword ptr [ebp - 0x20] */ 4395 /* cmp ecx, ebx */ /* 0x2B03EB7E: cmp ecx, ebx */ 4396 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4398 _flag_k = FK_CMP; 4399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EBAF; /* 0x2B03EB80: je 0x2b03ebaf */ 4400 L_2B03EB82: 4401 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B03EB82: mov al, byte ptr [ecx - 1] */ 4402 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B03EB85: cmp al, bl */ 4403 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4405 _flag_k = FK_NARROW(FK_CMP, 24); 4406 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EBA5; /* 0x2B03EB87: je 0x2b03eba5 */ 4407 L_2B03EB89: 4408 /* cmp LO8(eax), 0xFFu */ /* 0x2B03EB89: cmp al, 0xff */ 4409 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4411 _flag_k = FK_NARROW(FK_CMP, 24); 4412 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EBA5; /* 0x2B03EB8B: je 0x2b03eba5 */ 4413 L_2B03EB8D: 4414 edi = POP32_VAL(esp); /* 0x2B03EB8D: pop edi */ 4415 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4416 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03EB8E: dec al */ 4417 _flag_k = FK_NARROW(FK_DEC, 24); 4418 esi = POP32_VAL(esp); /* 0x2B03EB90: pop esi */ 4419 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B03EB91: mov byte ptr [ecx - 1], al */ 4420 ebx = POP32_VAL(esp); /* 0x2B03EB94: pop ebx */ 4421 ecx = MEM32(ebp + (-0xC)); /* 0x2B03EB95: mov ecx, dword ptr [ebp - 0xc] */ 4422 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03EB98: mov dword ptr fs:[0], ecx */ 4423 esp = ebp; /* 0x2B03EB9F: mov esp, ebp */ 4424 ebp = POP32_VAL(esp); /* 0x2B03EBA1: pop ebp */ 4425 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03EBA2: ret 4 */ 4426 L_2B03EBA5: 4427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4428 ecx = ecx - 1; /* 0x2B03EBA5: dec ecx */ 4429 _flag_k = FK_DEC; 4430 PUSH32(esp, ecx); /* 0x2B03EBA6: push ecx */ 4431 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03EBA7: call 0x2b0ab1ba */ /* not lifted */ 4432 RECOMP_FLAGS_IN(); 4433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4435 esp = esp + 4; /* 0x2B03EBAC: add esp, 4 */ 4436 _flag_k = FK_ADD; 4437 L_2B03EBAF: 4438 ecx = MEM32(ebp + (-0xC)); /* 0x2B03EBAF: mov ecx, dword ptr [ebp - 0xc] */ 4439 edi = POP32_VAL(esp); /* 0x2B03EBB2: pop edi */ 4440 esi = POP32_VAL(esp); /* 0x2B03EBB3: pop esi */ 4441 ebx = POP32_VAL(esp); /* 0x2B03EBB4: pop ebx */ 4442 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03EBB5: mov dword ptr fs:[0], ecx */ 4443 esp = ebp; /* 0x2B03EBBC: mov esp, ebp */ 4444 ebp = POP32_VAL(esp); /* 0x2B03EBBE: pop ebp */ 4445 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03EBBF: ret 4 */ 4446 RECOMP_REGS_OUT(); 4447 } 4448 4449 void sub_2B03EBD0(void) { 4450 int _fpu_cmp = 0; 4451 uint32_t _cf = 0; 4452 int _df = 1; 4453 uint32_t _flag_k = FK_NONE; 4454 uint32_t _flag_a = 0, _flag_b = 0; 4455 uint32_t _itail_tgt = 0; 4456 RECOMP_REGS_LOCALS 4457 RECOMP_ENTER(0x2B03EBD0u); 4458 4459 L_2B03EBD0: 4460 PUSH32(esp, ebp); /* 0x2B03EBD0: push ebp */ 4461 ebp = esp; /* 0x2B03EBD1: mov ebp, esp */ 4462 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B03EBD3: mov al, byte ptr [ebp + 8] */ 4463 /* test LO8(eax), LO8(eax) */ /* 0x2B03EBD6: test al, al */ 4464 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4465 _cf = 0; 4466 _flag_k = FK_NARROW(FK_TEST, 24); 4467 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EBF0; /* 0x2B03EBD8: je 0x2b03ebf0 */ 4468 L_2B03EBDA: 4469 eax = ecx + 0xC; /* 0x2B03EBDA: lea eax, [ecx + 0xc] */ 4470 PUSH32(esp, eax); /* 0x2B03EBDD: push eax */ 4471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 4472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4473 ecx = ecx + 4; /* 0x2B03EBDE: add ecx, 4 */ 4474 _flag_k = FK_ADD; 4475 PUSH32(esp, ecx); /* 0x2B03EBE1: push ecx */ 4476 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03EBE2: call dword ptr [0x2b0b5d6c] */ 4477 RECOMP_FLAGS_IN(); 4478 ecx = eax; /* 0x2B03EBE8: mov ecx, eax */ 4479 RECOMP_ICALL(MEM32(0x2B0B5EE4)); /* 0x2B03EBEA: call dword ptr [0x2b0b5ee4] */ 4480 RECOMP_FLAGS_IN(); 4481 L_2B03EBF0: 4482 ebp = POP32_VAL(esp); /* 0x2B03EBF0: pop ebp */ 4483 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03EBF1: ret 4 */ 4484 RECOMP_REGS_OUT(); 4485 } 4486 4487 void sub_2B03EC00(void) { 4488 int _fpu_cmp = 0; 4489 uint32_t _cf = 0; 4490 int _df = 1; 4491 uint32_t _flag_k = FK_NONE; 4492 uint32_t _flag_a = 0, _flag_b = 0; 4493 uint32_t _itail_tgt = 0; 4494 RECOMP_REGS_LOCALS 4495 RECOMP_ENTER(0x2B03EC00u); 4496 4497 L_2B03EC00: 4498 PUSH32(esp, ebx); /* 0x2B03EC00: push ebx */ 4499 PUSH32(esp, esi); /* 0x2B03EC01: push esi */ 4500 esi = MEM32(0x2B0B53CC); /* 0x2B03EC02: mov esi, dword ptr [0x2b0b53cc] */ 4501 PUSH32(esp, edi); /* 0x2B03EC08: push edi */ 4502 ebx = ecx; /* 0x2B03EC09: mov ebx, ecx */ 4503 RECOMP_ICALL(esi); /* 0x2B03EC0B: call esi */ 4504 RECOMP_FLAGS_IN(); 4505 ecx = eax; /* 0x2B03EC0D: mov ecx, eax */ 4506 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B03EC0F: call dword ptr [0x2b0b5374] */ 4507 RECOMP_FLAGS_IN(); 4508 PUSH32(esp, 0x3E8u); /* 0x2B03EC15: push 0x3e8 */ 4509 PUSH32(esp, 0x37u); /* 0x2B03EC1A: push 0x37 */ 4510 PUSH32(esp, 1); /* 0x2B03EC1C: push 1 */ 4511 RECOMP_ICALL(esi); /* 0x2B03EC1E: call esi */ 4512 RECOMP_FLAGS_IN(); 4513 ecx = eax; /* 0x2B03EC20: mov ecx, eax */ 4514 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B03EC22: call dword ptr [0x2b0b5378] */ 4515 RECOMP_FLAGS_IN(); 4516 PUSH32(esp, 0x2B03ED70u); /* 0x2B03EC28: push 0x2b03ed70 */ 4517 PUSH32(esp, 5); /* 0x2B03EC2D: push 5 */ 4518 RECOMP_ICALL(esi); /* 0x2B03EC2F: call esi */ 4519 RECOMP_FLAGS_IN(); 4520 edi = MEM32(0x2B0B5324); /* 0x2B03EC31: mov edi, dword ptr [0x2b0b5324] */ 4521 ecx = eax; /* 0x2B03EC37: mov ecx, eax */ 4522 RECOMP_ICALL(edi); /* 0x2B03EC39: call edi */ 4523 RECOMP_FLAGS_IN(); 4524 PUSH32(esp, 0x2B03EDE0u); /* 0x2B03EC3B: push 0x2b03ede0 */ 4525 PUSH32(esp, 6); /* 0x2B03EC40: push 6 */ 4526 RECOMP_ICALL(esi); /* 0x2B03EC42: call esi */ 4527 RECOMP_FLAGS_IN(); 4528 ecx = eax; /* 0x2B03EC44: mov ecx, eax */ 4529 RECOMP_ICALL(edi); /* 0x2B03EC46: call edi */ 4530 RECOMP_FLAGS_IN(); 4531 PUSH32(esp, 0x2B03EE00u); /* 0x2B03EC48: push 0x2b03ee00 */ 4532 PUSH32(esp, 0xC7u); /* 0x2B03EC4D: push 0xc7 */ 4533 RECOMP_ICALL(esi); /* 0x2B03EC52: call esi */ 4534 RECOMP_FLAGS_IN(); 4535 ecx = eax; /* 0x2B03EC54: mov ecx, eax */ 4536 RECOMP_ICALL(edi); /* 0x2B03EC56: call edi */ 4537 RECOMP_FLAGS_IN(); 4538 PUSH32(esp, 0x2B03EE10u); /* 0x2B03EC58: push 0x2b03ee10 */ 4539 PUSH32(esp, 0x178u); /* 0x2B03EC5D: push 0x178 */ 4540 RECOMP_ICALL(esi); /* 0x2B03EC62: call esi */ 4541 RECOMP_FLAGS_IN(); 4542 ecx = eax; /* 0x2B03EC64: mov ecx, eax */ 4543 RECOMP_ICALL(edi); /* 0x2B03EC66: call edi */ 4544 RECOMP_FLAGS_IN(); 4545 PUSH32(esp, 0x2B03EE20u); /* 0x2B03EC68: push 0x2b03ee20 */ 4546 PUSH32(esp, 0x179u); /* 0x2B03EC6D: push 0x179 */ 4547 RECOMP_ICALL(esi); /* 0x2B03EC72: call esi */ 4548 RECOMP_FLAGS_IN(); 4549 ecx = eax; /* 0x2B03EC74: mov ecx, eax */ 4550 RECOMP_ICALL(edi); /* 0x2B03EC76: call edi */ 4551 RECOMP_FLAGS_IN(); 4552 PUSH32(esp, 0x2B03EE30u); /* 0x2B03EC78: push 0x2b03ee30 */ 4553 PUSH32(esp, 0x17Au); /* 0x2B03EC7D: push 0x17a */ 4554 RECOMP_ICALL(esi); /* 0x2B03EC82: call esi */ 4555 RECOMP_FLAGS_IN(); 4556 ecx = eax; /* 0x2B03EC84: mov ecx, eax */ 4557 RECOMP_ICALL(edi); /* 0x2B03EC86: call edi */ 4558 RECOMP_FLAGS_IN(); 4559 PUSH32(esp, 0x2B03EE40u); /* 0x2B03EC88: push 0x2b03ee40 */ 4560 PUSH32(esp, 0x17Bu); /* 0x2B03EC8D: push 0x17b */ 4561 RECOMP_ICALL(esi); /* 0x2B03EC92: call esi */ 4562 RECOMP_FLAGS_IN(); 4563 ecx = eax; /* 0x2B03EC94: mov ecx, eax */ 4564 RECOMP_ICALL(edi); /* 0x2B03EC96: call edi */ 4565 RECOMP_FLAGS_IN(); 4566 PUSH32(esp, 0x2B03EE50u); /* 0x2B03EC98: push 0x2b03ee50 */ 4567 PUSH32(esp, 0x17Cu); /* 0x2B03EC9D: push 0x17c */ 4568 RECOMP_ICALL(esi); /* 0x2B03ECA2: call esi */ 4569 RECOMP_FLAGS_IN(); 4570 ecx = eax; /* 0x2B03ECA4: mov ecx, eax */ 4571 RECOMP_ICALL(edi); /* 0x2B03ECA6: call edi */ 4572 RECOMP_FLAGS_IN(); 4573 PUSH32(esp, 0x2B03EE60u); /* 0x2B03ECA8: push 0x2b03ee60 */ 4574 PUSH32(esp, 0x17Du); /* 0x2B03ECAD: push 0x17d */ 4575 RECOMP_ICALL(esi); /* 0x2B03ECB2: call esi */ 4576 RECOMP_FLAGS_IN(); 4577 ecx = eax; /* 0x2B03ECB4: mov ecx, eax */ 4578 RECOMP_ICALL(edi); /* 0x2B03ECB6: call edi */ 4579 RECOMP_FLAGS_IN(); 4580 PUSH32(esp, 0x2B03EE70u); /* 0x2B03ECB8: push 0x2b03ee70 */ 4581 PUSH32(esp, 0x17Eu); /* 0x2B03ECBD: push 0x17e */ 4582 RECOMP_ICALL(esi); /* 0x2B03ECC2: call esi */ 4583 RECOMP_FLAGS_IN(); 4584 ecx = eax; /* 0x2B03ECC4: mov ecx, eax */ 4585 RECOMP_ICALL(edi); /* 0x2B03ECC6: call edi */ 4586 RECOMP_FLAGS_IN(); 4587 PUSH32(esp, 0x2B03EEE0u); /* 0x2B03ECC8: push 0x2b03eee0 */ 4588 PUSH32(esp, 0xFDu); /* 0x2B03ECCD: push 0xfd */ 4589 RECOMP_ICALL(esi); /* 0x2B03ECD2: call esi */ 4590 RECOMP_FLAGS_IN(); 4591 ecx = eax; /* 0x2B03ECD4: mov ecx, eax */ 4592 RECOMP_ICALL(edi); /* 0x2B03ECD6: call edi */ 4593 RECOMP_FLAGS_IN(); 4594 edi = POP32_VAL(esp); /* 0x2B03ECD8: pop edi */ 4595 esi = POP32_VAL(esp); /* 0x2B03ECD9: pop esi */ 4596 eax = ebx; /* 0x2B03ECDA: mov eax, ebx */ 4597 ebx = POP32_VAL(esp); /* 0x2B03ECDC: pop ebx */ 4598 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03ECDD: ret */ 4599 RECOMP_REGS_OUT(); 4600 } 4601 4602 void sub_2B03ECE0(void) { 4603 int _fpu_cmp = 0; 4604 uint32_t _cf = 0; 4605 int _df = 1; 4606 uint32_t _flag_k = FK_NONE; 4607 uint32_t _flag_a = 0, _flag_b = 0; 4608 uint32_t _itail_tgt = 0; 4609 RECOMP_REGS_LOCALS 4610 RECOMP_ENTER(0x2B03ECE0u); 4611 4612 L_2B03ECE0: 4613 RECOMP_ICALL(0x2B03EDE0u); /* 0x2B03ECE0: call 0x2b03ede0 */ /* not lifted */ 4614 RECOMP_FLAGS_IN(); 4615 MEM32(0x2B0EEA2C) = 0; /* 0x2B03ECE5: mov dword ptr [0x2b0eea2c], 0 */ 4616 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03ECEF: ret */ 4617 RECOMP_REGS_OUT(); 4618 } 4619 4620 void sub_2B03ECF0(void) { 4621 int _fpu_cmp = 0; 4622 uint32_t _cf = 0; 4623 int _df = 1; 4624 uint32_t _flag_k = FK_NONE; 4625 uint32_t _flag_a = 0, _flag_b = 0; 4626 uint32_t _itail_tgt = 0; 4627 RECOMP_REGS_LOCALS 4628 RECOMP_ENTER(0x2B03ECF0u); 4629 4630 L_2B03ECF0: 4631 PUSH32(esp, ebp); /* 0x2B03ECF0: push ebp */ 4632 ebp = esp; /* 0x2B03ECF1: mov ebp, esp */ 4633 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03ECF3: push -1 */ 4634 PUSH32(esp, 0x2B0AEAFBu); /* 0x2B03ECF5: push 0x2b0aeafb */ 4635 eax = MEM32(FS_BASE + (0)); /* 0x2B03ECFA: mov eax, dword ptr fs:[0] */ 4636 PUSH32(esp, eax); /* 0x2B03ED00: push eax */ 4637 MEM32(FS_BASE + (0)) = esp; /* 0x2B03ED01: mov dword ptr fs:[0], esp */ 4638 PUSH32(esp, ecx); /* 0x2B03ED08: push ecx */ 4639 eax = MEM32(0x2B0EEA28); /* 0x2B03ED09: mov eax, dword ptr [0x2b0eea28] */ 4640 /* test eax, eax */ /* 0x2B03ED0E: test eax, eax */ 4641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4642 _cf = 0; 4643 _flag_k = FK_TEST; 4644 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03ED4B; /* 0x2B03ED10: jne 0x2b03ed4b */ 4645 L_2B03ED12: 4646 PUSH32(esp, 1); /* 0x2B03ED12: push 1 */ 4647 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03ED14: call 0x2b0ab212 */ /* not lifted */ 4648 RECOMP_FLAGS_IN(); 4649 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4651 esp = esp + 4; /* 0x2B03ED19: add esp, 4 */ 4652 _flag_k = FK_ADD; 4653 MEM32(ebp + (-0x10)) = eax; /* 0x2B03ED1C: mov dword ptr [ebp - 0x10], eax */ 4654 /* test eax, eax */ /* 0x2B03ED1F: test eax, eax */ 4655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4656 _cf = 0; 4657 _flag_k = FK_TEST; 4658 MEM32(ebp + (-0x4)) = 0; /* 0x2B03ED21: mov dword ptr [ebp - 4], 0 */ 4659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03ED44; /* 0x2B03ED28: je 0x2b03ed44 */ 4660 L_2B03ED2A: 4661 ecx = eax; /* 0x2B03ED2A: mov ecx, eax */ 4662 RECOMP_ICALL(0x2B03EC00u); /* 0x2B03ED2C: call 0x2b03ec00 */ /* not lifted */ 4663 RECOMP_FLAGS_IN(); 4664 MEM32(0x2B0EEA28) = eax; /* 0x2B03ED31: mov dword ptr [0x2b0eea28], eax */ 4665 ecx = MEM32(ebp + (-0xC)); /* 0x2B03ED36: mov ecx, dword ptr [ebp - 0xc] */ 4666 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03ED39: mov dword ptr fs:[0], ecx */ 4667 esp = ebp; /* 0x2B03ED40: mov esp, ebp */ 4668 ebp = POP32_VAL(esp); /* 0x2B03ED42: pop ebp */ 4669 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03ED43: ret */ 4670 L_2B03ED44: 4671 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4672 eax = 0; /* 0x2B03ED44: xor eax, eax */ 4673 _cf = 0; 4674 _flag_k = FK_TEST; 4675 MEM32(0x2B0EEA28) = eax; /* 0x2B03ED46: mov dword ptr [0x2b0eea28], eax */ 4676 L_2B03ED4B: 4677 ecx = MEM32(ebp + (-0xC)); /* 0x2B03ED4B: mov ecx, dword ptr [ebp - 0xc] */ 4678 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03ED4E: mov dword ptr fs:[0], ecx */ 4679 esp = ebp; /* 0x2B03ED55: mov esp, ebp */ 4680 ebp = POP32_VAL(esp); /* 0x2B03ED57: pop ebp */ 4681 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03ED58: ret */ 4682 RECOMP_REGS_OUT(); 4683 } 4684 4685 void sub_2B03ED60(void) { 4686 int _fpu_cmp = 0; 4687 uint32_t _cf = 0; 4688 int _df = 1; 4689 uint32_t _flag_k = FK_NONE; 4690 uint32_t _flag_a = 0, _flag_b = 0; 4691 uint32_t _itail_tgt = 0; 4692 RECOMP_REGS_LOCALS 4693 RECOMP_ENTER(0x2B03ED60u); 4694 4695 L_2B03ED60: 4696 eax = MEM32(0x2B0EEA28); /* 0x2B03ED60: mov eax, dword ptr [0x2b0eea28] */ 4697 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03ED65: ret */ 4698 RECOMP_REGS_OUT(); 4699 } 4700 4701 void sub_2B03ED70(void) { 4702 int _fpu_cmp = 0; 4703 uint32_t _cf = 0; 4704 int _df = 1; 4705 uint32_t _flag_k = FK_NONE; 4706 uint32_t _flag_a = 0, _flag_b = 0; 4707 uint32_t _itail_tgt = 0; 4708 RECOMP_REGS_LOCALS 4709 RECOMP_ENTER(0x2B03ED70u); 4710 4711 L_2B03ED70: 4712 PUSH32(esp, ebp); /* 0x2B03ED70: push ebp */ 4713 ebp = esp; /* 0x2B03ED71: mov ebp, esp */ 4714 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03ED73: push -1 */ 4715 PUSH32(esp, 0x2B0AEB1Bu); /* 0x2B03ED75: push 0x2b0aeb1b */ 4716 eax = MEM32(FS_BASE + (0)); /* 0x2B03ED7A: mov eax, dword ptr fs:[0] */ 4717 PUSH32(esp, eax); /* 0x2B03ED80: push eax */ 4718 MEM32(FS_BASE + (0)) = esp; /* 0x2B03ED81: mov dword ptr fs:[0], esp */ 4719 PUSH32(esp, ecx); /* 0x2B03ED88: push ecx */ 4720 eax = MEM32(0x2B0EEA2C); /* 0x2B03ED89: mov eax, dword ptr [0x2b0eea2c] */ 4721 /* test eax, eax */ /* 0x2B03ED8E: test eax, eax */ 4722 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4723 _cf = 0; 4724 _flag_k = FK_TEST; 4725 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03EDCB; /* 0x2B03ED90: jne 0x2b03edcb */ 4726 L_2B03ED92: 4727 PUSH32(esp, 0x68u); /* 0x2B03ED92: push 0x68 */ 4728 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03ED94: call 0x2b0ab212 */ /* not lifted */ 4729 RECOMP_FLAGS_IN(); 4730 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4731 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4732 esp = esp + 4; /* 0x2B03ED99: add esp, 4 */ 4733 _flag_k = FK_ADD; 4734 MEM32(ebp + (-0x10)) = eax; /* 0x2B03ED9C: mov dword ptr [ebp - 0x10], eax */ 4735 /* test eax, eax */ /* 0x2B03ED9F: test eax, eax */ 4736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4737 _cf = 0; 4738 _flag_k = FK_TEST; 4739 MEM32(ebp + (-0x4)) = 0; /* 0x2B03EDA1: mov dword ptr [ebp - 4], 0 */ 4740 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EDC4; /* 0x2B03EDA8: je 0x2b03edc4 */ 4741 L_2B03EDAA: 4742 ecx = eax; /* 0x2B03EDAA: mov ecx, eax */ 4743 RECOMP_ICALL(0x2B03EF80u); /* 0x2B03EDAC: call 0x2b03ef80 */ /* not lifted */ 4744 RECOMP_FLAGS_IN(); 4745 MEM32(0x2B0EEA2C) = eax; /* 0x2B03EDB1: mov dword ptr [0x2b0eea2c], eax */ 4746 ecx = MEM32(ebp + (-0xC)); /* 0x2B03EDB6: mov ecx, dword ptr [ebp - 0xc] */ 4747 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03EDB9: mov dword ptr fs:[0], ecx */ 4748 esp = ebp; /* 0x2B03EDC0: mov esp, ebp */ 4749 ebp = POP32_VAL(esp); /* 0x2B03EDC2: pop ebp */ 4750 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EDC3: ret */ 4751 L_2B03EDC4: 4752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4753 eax = 0; /* 0x2B03EDC4: xor eax, eax */ 4754 _cf = 0; 4755 _flag_k = FK_TEST; 4756 MEM32(0x2B0EEA2C) = eax; /* 0x2B03EDC6: mov dword ptr [0x2b0eea2c], eax */ 4757 L_2B03EDCB: 4758 ecx = MEM32(ebp + (-0xC)); /* 0x2B03EDCB: mov ecx, dword ptr [ebp - 0xc] */ 4759 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03EDCE: mov dword ptr fs:[0], ecx */ 4760 esp = ebp; /* 0x2B03EDD5: mov esp, ebp */ 4761 ebp = POP32_VAL(esp); /* 0x2B03EDD7: pop ebp */ 4762 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EDD8: ret */ 4763 RECOMP_REGS_OUT(); 4764 } 4765 4766 void sub_2B03EDE0(void) { 4767 int _fpu_cmp = 0; 4768 uint32_t _cf = 0; 4769 int _df = 1; 4770 uint32_t _flag_k = FK_NONE; 4771 uint32_t _flag_a = 0, _flag_b = 0; 4772 uint32_t _itail_tgt = 0; 4773 RECOMP_REGS_LOCALS 4774 RECOMP_ENTER(0x2B03EDE0u); 4775 4776 L_2B03EDE0: 4777 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EDE0: mov ecx, dword ptr [0x2b0eea2c] */ 4778 /* test ecx, ecx */ /* 0x2B03EDE6: test ecx, ecx */ 4779 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4780 _cf = 0; 4781 _flag_k = FK_TEST; 4782 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EDF0; /* 0x2B03EDE8: je 0x2b03edf0 */ 4783 L_2B03EDEA: 4784 eax = MEM32(ecx); /* 0x2B03EDEA: mov eax, dword ptr [ecx] */ 4785 PUSH32(esp, 1); /* 0x2B03EDEC: push 1 */ 4786 RECOMP_ICALL(MEM32(eax)); /* 0x2B03EDEE: call dword ptr [eax] */ 4787 RECOMP_FLAGS_IN(); 4788 L_2B03EDF0: 4789 MEM32(0x2B0EEA2C) = 0; /* 0x2B03EDF0: mov dword ptr [0x2b0eea2c], 0 */ 4790 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EDFA: ret */ 4791 RECOMP_REGS_OUT(); 4792 } 4793 4794 void sub_2B03EE00(void) { 4795 int _fpu_cmp = 0; 4796 uint32_t _cf = 0; 4797 int _df = 1; 4798 uint32_t _flag_k = FK_NONE; 4799 uint32_t _flag_a = 0, _flag_b = 0; 4800 uint32_t _itail_tgt = 0; 4801 RECOMP_REGS_LOCALS 4802 RECOMP_ENTER(0x2B03EE00u); 4803 4804 L_2B03EE00: 4805 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE00: mov ecx, dword ptr [0x2b0eea2c] */ 4806 goto L_2B03F580; /* 0x2B03EE06: jmp 0x2b03f580 */ 4807 L_2B03F580: 4808 PUSH32(esp, ebp); /* 0x2B03F580: push ebp */ 4809 ebp = esp; /* 0x2B03F581: mov ebp, esp */ 4810 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x48u); 4811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4812 esp = esp - 0x48u; /* 0x2B03F583: sub esp, 0x48 */ 4813 _flag_k = FK_CMP; 4814 PUSH32(esp, ebx); /* 0x2B03F586: push ebx */ 4815 PUSH32(esp, esi); /* 0x2B03F587: push esi */ 4816 PUSH32(esp, edi); /* 0x2B03F588: push edi */ 4817 eax = ebp + (-0x18); /* 0x2B03F589: lea eax, [ebp - 0x18] */ 4818 esi = ecx; /* 0x2B03F58C: mov esi, ecx */ 4819 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4820 edi = 0; /* 0x2B03F58E: xor edi, edi */ 4821 _cf = 0; 4822 _flag_k = FK_TEST; 4823 PUSH32(esp, eax); /* 0x2B03F590: push eax */ 4824 MEM32(ebp + (-0x10)) = esi; /* 0x2B03F591: mov dword ptr [ebp - 0x10], esi */ 4825 MEM32(ebp + (-0x18)) = edi; /* 0x2B03F594: mov dword ptr [ebp - 0x18], edi */ 4826 MEM32(ebp + (-0x14)) = edi; /* 0x2B03F597: mov dword ptr [ebp - 0x14], edi */ 4827 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F59A: call dword ptr [0x2b0b53cc] */ 4828 RECOMP_FLAGS_IN(); 4829 ecx = eax; /* 0x2B03F5A0: mov ecx, eax */ 4830 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03F5A2: call dword ptr [0x2b0b53ac] */ 4831 RECOMP_FLAGS_IN(); 4832 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03F5A8: call dword ptr [0x2b0b596c] */ 4833 RECOMP_FLAGS_IN(); 4834 ecx = MEM32(eax + 0x14); /* 0x2B03F5AE: mov ecx, dword ptr [eax + 0x14] */ 4835 edx = MEM32(eax + 0x18); /* 0x2B03F5B1: mov edx, dword ptr [eax + 0x18] */ 4836 eax = MEM32(esi + 0x64); /* 0x2B03F5B4: mov eax, dword ptr [esi + 0x64] */ 4837 /* cmp eax, edi */ /* 0x2B03F5B7: cmp eax, edi */ 4838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4840 _flag_k = FK_CMP; 4841 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F5B9: mov ebx, dword ptr [0x2b0b5d6c] */ 4842 MEM32(ebp + (-0x20)) = ecx; /* 0x2B03F5BF: mov dword ptr [ebp - 0x20], ecx */ 4843 MEM32(ebp + (-0x1C)) = edx; /* 0x2B03F5C2: mov dword ptr [ebp - 0x1c], edx */ 4844 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F697; /* 0x2B03F5C5: jne 0x2b03f697 */ 4845 L_2B03F5CB: 4846 ecx = MEM32(esi + 0x8); /* 0x2B03F5CB: mov ecx, dword ptr [esi + 8] */ 4847 eax = MEM32(esi + 0x4); /* 0x2B03F5CE: mov eax, dword ptr [esi + 4] */ 4848 esi = MEM32(0x2B0EE9DC); /* 0x2B03F5D1: mov esi, dword ptr [0x2b0ee9dc] */ 4849 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F5D7: mov dword ptr [ebp - 8], ecx */ 4850 MEM32(ebp + (-0xC)) = 1; /* 0x2B03F5DA: mov dword ptr [ebp - 0xc], 1 */ 4851 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F5E1: mov dword ptr [ebp - 4], eax */ 4852 ecx = 0x2B0E6FD0u; /* 0x2B03F5E4: mov ecx, 0x2b0e6fd0 */ 4853 L_2B03F5E9: 4854 edi = MEM32(ebp + (-0x4)); /* 0x2B03F5E9: mov edi, dword ptr [ebp - 4] */ 4855 eax = MEM32(ecx); /* 0x2B03F5EC: mov eax, dword ptr [ecx] */ 4856 edx = MEM32(ecx + 0x4); /* 0x2B03F5EE: mov edx, dword ptr [ecx + 4] */ 4857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4859 eax = eax + edi; /* 0x2B03F5F1: add eax, edi */ 4860 _flag_k = FK_ADD; 4861 /* test esi, esi */ /* 0x2B03F5F3: test esi, esi */ 4862 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4863 _cf = 0; 4864 _flag_k = FK_TEST; 4865 edi = MEM32(ebp + (-0x8)); /* 0x2B03F5F5: mov edi, dword ptr [ebp - 8] */ 4866 edx = edx + edi + 0x14; /* 0x2B03F5F8: lea edx, [edx + edi + 0x14] */ 4867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F604; /* 0x2B03F5FC: je 0x2b03f604 */ 4868 L_2B03F5FE: 4869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 4870 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4871 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F5FE: add eax, dword ptr [esi + 0x2c] */ 4872 _flag_k = FK_ADD; 4873 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 4874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4875 edx = edx + MEM32(esi + 0x30); /* 0x2B03F601: add edx, dword ptr [esi + 0x30] */ 4876 _flag_k = FK_ADD; 4877 L_2B03F604: 4878 edi = eax + 0x30; /* 0x2B03F604: lea edi, [eax + 0x30] */ 4879 /* cmp MEM32(ebp + (-0x20)), edi */ /* 0x2B03F607: cmp dword ptr [ebp - 0x20], edi */ 4880 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(edi); 4881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4882 _flag_k = FK_CMP; 4883 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F60A: jg 0x2b03f61f */ 4884 L_2B03F60C: 4885 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F60C: cmp dword ptr [ebp - 0x20], eax */ 4886 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 4887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4888 _flag_k = FK_CMP; 4889 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F60F: jl 0x2b03f61f */ 4890 L_2B03F611: 4891 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F611: mov eax, dword ptr [ebp - 0x1c] */ 4892 edi = edx + 0x30; /* 0x2B03F614: lea edi, [edx + 0x30] */ 4893 /* cmp eax, edi */ /* 0x2B03F617: cmp eax, edi */ 4894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4896 _flag_k = FK_CMP; 4897 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F619: jg 0x2b03f61f */ 4898 L_2B03F61B: 4899 /* cmp eax, edx */ /* 0x2B03F61B: cmp eax, edx */ 4900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4902 _flag_k = FK_CMP; 4903 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F636; /* 0x2B03F61D: jge 0x2b03f636 */ 4904 L_2B03F61F: 4905 edi = MEM32(ebp + (-0xC)); /* 0x2B03F61F: mov edi, dword ptr [ebp - 0xc] */ 4906 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 4907 edi = edi + 1; /* 0x2B03F622: inc edi */ 4908 _flag_k = FK_INC; 4909 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 4910 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4911 ecx = ecx + 0xCu; /* 0x2B03F623: add ecx, 0xc */ 4912 _flag_k = FK_ADD; 4913 /* cmp ecx, 0x2B0E7084u */ /* 0x2B03F626: cmp ecx, 0x2b0e7084 */ 4914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7084u); 4915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4916 _flag_k = FK_CMP; 4917 MEM32(ebp + (-0xC)) = edi; /* 0x2B03F62C: mov dword ptr [ebp - 0xc], edi */ 4918 RECOMP_BACKEDGE(); 4919 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F5E9; /* 0x2B03F62F: jl 0x2b03f5e9 */ 4920 L_2B03F631: 4921 goto L_2B03F701; /* 0x2B03F631: jmp 0x2b03f701 */ 4922 L_2B03F636: 4923 esi = MEM32(ebp + (-0xC)); /* 0x2B03F636: mov esi, dword ptr [ebp - 0xc] */ 4924 PUSH32(esp, 0); /* 0x2B03F639: push 0 */ 4925 esi = esi + esi * 2; /* 0x2B03F63B: lea esi, [esi + esi*2] */ 4926 edx = MEM32(esi * 4 + 0x2B0E6FC0); /* 0x2B03F63E: mov edx, dword ptr [esi*4 + 0x2b0e6fc0] */ 4927 PUSH32(esp, 1); /* 0x2B03F645: push 1 */ 4928 PUSH32(esp, edx); /* 0x2B03F647: push edx */ 4929 eax = ebp + (-0x18); /* 0x2B03F648: lea eax, [ebp - 0x18] */ 4930 PUSH32(esp, eax); /* 0x2B03F64B: push eax */ 4931 RECOMP_ICALL(ebx); /* 0x2B03F64C: call ebx */ 4932 RECOMP_FLAGS_IN(); 4933 ecx = eax; /* 0x2B03F64E: mov ecx, eax */ 4934 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F650: call dword ptr [0x2b0b5ed8] */ 4935 RECOMP_FLAGS_IN(); 4936 /* test LO8(eax), LO8(eax) */ /* 0x2B03F656: test al, al */ 4937 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4938 _cf = 0; 4939 _flag_k = FK_NARROW(FK_TEST, 24); 4940 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F658: je 0x2b03f701 */ 4941 L_2B03F65E: 4942 ecx = MEM32(esi * 4 + 0x2B0E6FC0); /* 0x2B03F65E: mov ecx, dword ptr [esi*4 + 0x2b0e6fc0] */ 4943 PUSH32(esp, ecx); /* 0x2B03F665: push ecx */ 4944 PUSH32(esp, 7); /* 0x2B03F666: push 7 */ 4945 L_2B03F668: 4946 edx = ebp + (-0x18); /* 0x2B03F668: lea edx, [ebp - 0x18] */ 4947 PUSH32(esp, edx); /* 0x2B03F66B: push edx */ 4948 RECOMP_ICALL(ebx); /* 0x2B03F66C: call ebx */ 4949 RECOMP_FLAGS_IN(); 4950 ecx = eax; /* 0x2B03F66E: mov ecx, eax */ 4951 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F670: call dword ptr [0x2b0b5edc] */ 4952 RECOMP_FLAGS_IN(); 4953 /* test LO8(eax), LO8(eax) */ /* 0x2B03F676: test al, al */ 4954 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4955 _cf = 0; 4956 _flag_k = FK_NARROW(FK_TEST, 24); 4957 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F678: jne 0x2b03f86c */ 4958 L_2B03F67E: 4959 PUSH32(esp, 0x18u); /* 0x2B03F67E: push 0x18 */ 4960 PUSH32(esp, 6); /* 0x2B03F680: push 6 */ 4961 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F682: call dword ptr [0x2b0b53cc] */ 4962 RECOMP_FLAGS_IN(); 4963 ecx = eax; /* 0x2B03F688: mov ecx, eax */ 4964 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F68A: call dword ptr [0x2b0b53c8] */ 4965 RECOMP_FLAGS_IN(); 4966 edi = POP32_VAL(esp); /* 0x2B03F690: pop edi */ 4967 esi = POP32_VAL(esp); /* 0x2B03F691: pop esi */ 4968 ebx = POP32_VAL(esp); /* 0x2B03F692: pop ebx */ 4969 esp = ebp; /* 0x2B03F693: mov esp, ebp */ 4970 ebp = POP32_VAL(esp); /* 0x2B03F695: pop ebp */ 4971 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F696: ret */ 4972 L_2B03F697: 4973 /* cmp eax, 1 */ /* 0x2B03F697: cmp eax, 1 */ 4974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4976 _flag_k = FK_CMP; 4977 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F7A0; /* 0x2B03F69A: jne 0x2b03f7a0 */ 4978 L_2B03F6A0: 4979 ecx = MEM32(esi + 0x8); /* 0x2B03F6A0: mov ecx, dword ptr [esi + 8] */ 4980 edi = eax; /* 0x2B03F6A3: mov edi, eax */ 4981 eax = MEM32(esi + 0x4); /* 0x2B03F6A5: mov eax, dword ptr [esi + 4] */ 4982 esi = MEM32(0x2B0EE9DC); /* 0x2B03F6A8: mov esi, dword ptr [0x2b0ee9dc] */ 4983 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F6AE: mov dword ptr [ebp - 8], ecx */ 4984 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F6B1: mov dword ptr [ebp - 4], eax */ 4985 ecx = 0x2B0E7090u; /* 0x2B03F6B4: mov ecx, 0x2b0e7090 */ 4986 L_2B03F6B9: 4987 ebx = MEM32(ebp + (-0x4)); /* 0x2B03F6B9: mov ebx, dword ptr [ebp - 4] */ 4988 eax = MEM32(ecx); /* 0x2B03F6BC: mov eax, dword ptr [ecx] */ 4989 edx = MEM32(ecx + 0x4); /* 0x2B03F6BE: mov edx, dword ptr [ecx + 4] */ 4990 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4991 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4992 eax = eax + ebx; /* 0x2B03F6C1: add eax, ebx */ 4993 _flag_k = FK_ADD; 4994 /* test esi, esi */ /* 0x2B03F6C3: test esi, esi */ 4995 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4996 _cf = 0; 4997 _flag_k = FK_TEST; 4998 ebx = MEM32(ebp + (-0x8)); /* 0x2B03F6C5: mov ebx, dword ptr [ebp - 8] */ 4999 edx = edx + ebx + 0x14; /* 0x2B03F6C8: lea edx, [edx + ebx + 0x14] */ 5000 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F6D4; /* 0x2B03F6CC: je 0x2b03f6d4 */ 5001 L_2B03F6CE: 5002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 5003 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5004 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F6CE: add eax, dword ptr [esi + 0x2c] */ 5005 _flag_k = FK_ADD; 5006 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 5007 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5008 edx = edx + MEM32(esi + 0x30); /* 0x2B03F6D1: add edx, dword ptr [esi + 0x30] */ 5009 _flag_k = FK_ADD; 5010 L_2B03F6D4: 5011 ebx = eax + 0x30; /* 0x2B03F6D4: lea ebx, [eax + 0x30] */ 5012 /* cmp MEM32(ebp + (-0x20)), ebx */ /* 0x2B03F6D7: cmp dword ptr [ebp - 0x20], ebx */ 5013 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(ebx); 5014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5015 _flag_k = FK_CMP; 5016 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6DA: jg 0x2b03f6ef */ 5017 L_2B03F6DC: 5018 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F6DC: cmp dword ptr [ebp - 0x20], eax */ 5019 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 5020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5021 _flag_k = FK_CMP; 5022 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6DF: jl 0x2b03f6ef */ 5023 L_2B03F6E1: 5024 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F6E1: mov eax, dword ptr [ebp - 0x1c] */ 5025 ebx = edx + 0x30; /* 0x2B03F6E4: lea ebx, [edx + 0x30] */ 5026 /* cmp eax, ebx */ /* 0x2B03F6E7: cmp eax, ebx */ 5027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5029 _flag_k = FK_CMP; 5030 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6E9: jg 0x2b03f6ef */ 5031 L_2B03F6EB: 5032 /* cmp eax, edx */ /* 0x2B03F6EB: cmp eax, edx */ 5033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5035 _flag_k = FK_CMP; 5036 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F766; /* 0x2B03F6ED: jge 0x2b03f766 */ 5037 L_2B03F6EF: 5038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 5039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5040 ecx = ecx + 0xCu; /* 0x2B03F6EF: add ecx, 0xc */ 5041 _flag_k = FK_ADD; 5042 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 5043 edi = edi + 1; /* 0x2B03F6F2: inc edi */ 5044 _flag_k = FK_INC; 5045 /* cmp ecx, 0x2B0E7144u */ /* 0x2B03F6F3: cmp ecx, 0x2b0e7144 */ 5046 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7144u); 5047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5048 _flag_k = FK_CMP; 5049 RECOMP_BACKEDGE(); 5050 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F6B9; /* 0x2B03F6F9: jl 0x2b03f6b9 */ 5051 L_2B03F6FB: 5052 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F6FB: mov ebx, dword ptr [0x2b0b5d6c] */ 5053 L_2B03F701: 5054 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 5055 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 5056 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 5057 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 5058 RECOMP_FLAGS_IN(); 5059 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 5060 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 5061 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 5062 RECOMP_FLAGS_IN(); 5063 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 5064 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 5065 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 5066 edi = eax; /* 0x2B03F719: mov edi, eax */ 5067 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 5068 RECOMP_FLAGS_IN(); 5069 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 5070 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 5071 RECOMP_FLAGS_IN(); 5072 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 5073 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 5074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5075 _flag_k = FK_CMP; 5076 esi = eax; /* 0x2B03F724: mov esi, eax */ 5077 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 5078 L_2B03F72C: 5079 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 5080 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 5081 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 5082 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 5083 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 5084 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 5085 RECOMP_FLAGS_IN(); 5086 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 5087 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 5088 RECOMP_FLAGS_IN(); 5089 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 5090 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5091 _cf = 0; 5092 _flag_k = FK_NARROW(FK_TEST, 24); 5093 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 5094 L_2B03F746: 5095 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 5096 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 5097 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 5098 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 5099 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 5100 RECOMP_FLAGS_IN(); 5101 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 5102 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 5103 RECOMP_FLAGS_IN(); 5104 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 5105 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5106 _cf = 0; 5107 _flag_k = FK_NARROW(FK_TEST, 24); 5108 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 5109 L_2B03F75F: 5110 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 5111 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 5112 L_2B03F766: 5113 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F766: mov ebx, dword ptr [0x2b0b5d6c] */ 5114 PUSH32(esp, 0); /* 0x2B03F76C: push 0 */ 5115 esi = edi + edi * 2; /* 0x2B03F76E: lea esi, [edi + edi*2] */ 5116 edx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F771: mov edx, dword ptr [esi*4 + 0x2b0e7080] */ 5117 PUSH32(esp, 2); /* 0x2B03F778: push 2 */ 5118 PUSH32(esp, edx); /* 0x2B03F77A: push edx */ 5119 eax = ebp + (-0x18); /* 0x2B03F77B: lea eax, [ebp - 0x18] */ 5120 PUSH32(esp, eax); /* 0x2B03F77E: push eax */ 5121 RECOMP_ICALL(ebx); /* 0x2B03F77F: call ebx */ 5122 RECOMP_FLAGS_IN(); 5123 ecx = eax; /* 0x2B03F781: mov ecx, eax */ 5124 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F783: call dword ptr [0x2b0b5ed8] */ 5125 RECOMP_FLAGS_IN(); 5126 /* test LO8(eax), LO8(eax) */ /* 0x2B03F789: test al, al */ 5127 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5128 _cf = 0; 5129 _flag_k = FK_NARROW(FK_TEST, 24); 5130 RECOMP_BACKEDGE(); 5131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F78B: je 0x2b03f701 */ 5132 L_2B03F791: 5133 ecx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F791: mov ecx, dword ptr [esi*4 + 0x2b0e7080] */ 5134 PUSH32(esp, ecx); /* 0x2B03F798: push ecx */ 5135 PUSH32(esp, 3); /* 0x2B03F799: push 3 */ 5136 RECOMP_BACKEDGE(); 5137 goto L_2B03F668; /* 0x2B03F79B: jmp 0x2b03f668 */ 5138 L_2B03F7A0: 5139 /* cmp eax, 2 */ /* 0x2B03F7A0: cmp eax, 2 */ 5140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5142 _flag_k = FK_CMP; 5143 RECOMP_BACKEDGE(); 5144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F7A3: jne 0x2b03f701 */ 5145 L_2B03F7A9: 5146 ecx = MEM32(esi + 0x8); /* 0x2B03F7A9: mov ecx, dword ptr [esi + 8] */ 5147 eax = MEM32(esi + 0x4); /* 0x2B03F7AC: mov eax, dword ptr [esi + 4] */ 5148 esi = MEM32(0x2B0EE9DC); /* 0x2B03F7AF: mov esi, dword ptr [0x2b0ee9dc] */ 5149 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F7B5: mov dword ptr [ebp - 8], ecx */ 5150 edi = 1; /* 0x2B03F7B8: mov edi, 1 */ 5151 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F7BD: mov dword ptr [ebp - 4], eax */ 5152 ecx = 0x2B0E7150u; /* 0x2B03F7C0: mov ecx, 0x2b0e7150 */ 5153 L_2B03F7C5: 5154 ebx = MEM32(ebp + (-0x4)); /* 0x2B03F7C5: mov ebx, dword ptr [ebp - 4] */ 5155 eax = MEM32(ecx); /* 0x2B03F7C8: mov eax, dword ptr [ecx] */ 5156 edx = MEM32(ecx + 0x4); /* 0x2B03F7CA: mov edx, dword ptr [ecx + 4] */ 5157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5159 eax = eax + ebx; /* 0x2B03F7CD: add eax, ebx */ 5160 _flag_k = FK_ADD; 5161 /* test esi, esi */ /* 0x2B03F7CF: test esi, esi */ 5162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5163 _cf = 0; 5164 _flag_k = FK_TEST; 5165 ebx = MEM32(ebp + (-0x8)); /* 0x2B03F7D1: mov ebx, dword ptr [ebp - 8] */ 5166 edx = edx + ebx + 0x14; /* 0x2B03F7D4: lea edx, [edx + ebx + 0x14] */ 5167 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F7E0; /* 0x2B03F7D8: je 0x2b03f7e0 */ 5168 L_2B03F7DA: 5169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 5170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5171 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F7DA: add eax, dword ptr [esi + 0x2c] */ 5172 _flag_k = FK_ADD; 5173 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 5174 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5175 edx = edx + MEM32(esi + 0x30); /* 0x2B03F7DD: add edx, dword ptr [esi + 0x30] */ 5176 _flag_k = FK_ADD; 5177 L_2B03F7E0: 5178 ebx = eax + 0x30; /* 0x2B03F7E0: lea ebx, [eax + 0x30] */ 5179 /* cmp MEM32(ebp + (-0x20)), ebx */ /* 0x2B03F7E3: cmp dword ptr [ebp - 0x20], ebx */ 5180 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(ebx); 5181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5182 _flag_k = FK_CMP; 5183 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7E6: jg 0x2b03f7fb */ 5184 L_2B03F7E8: 5185 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F7E8: cmp dword ptr [ebp - 0x20], eax */ 5186 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 5187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5188 _flag_k = FK_CMP; 5189 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7EB: jl 0x2b03f7fb */ 5190 L_2B03F7ED: 5191 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F7ED: mov eax, dword ptr [ebp - 0x1c] */ 5192 ebx = edx + 0x30; /* 0x2B03F7F0: lea ebx, [edx + 0x30] */ 5193 /* cmp eax, ebx */ /* 0x2B03F7F3: cmp eax, ebx */ 5194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5196 _flag_k = FK_CMP; 5197 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7F5: jg 0x2b03f7fb */ 5198 L_2B03F7F7: 5199 /* cmp eax, edx */ /* 0x2B03F7F7: cmp eax, edx */ 5200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5202 _flag_k = FK_CMP; 5203 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F80C; /* 0x2B03F7F9: jge 0x2b03f80c */ 5204 L_2B03F7FB: 5205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 5206 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5207 ecx = ecx + 0xCu; /* 0x2B03F7FB: add ecx, 0xc */ 5208 _flag_k = FK_ADD; 5209 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 5210 edi = edi + 1; /* 0x2B03F7FE: inc edi */ 5211 _flag_k = FK_INC; 5212 /* cmp ecx, 0x2B0E71ECu */ /* 0x2B03F7FF: cmp ecx, 0x2b0e71ec */ 5213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E71ECu); 5214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5215 _flag_k = FK_CMP; 5216 RECOMP_BACKEDGE(); 5217 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7C5; /* 0x2B03F805: jl 0x2b03f7c5 */ 5218 L_2B03F807: 5219 RECOMP_BACKEDGE(); 5220 goto L_2B03F6FB; /* 0x2B03F807: jmp 0x2b03f6fb */ 5221 L_2B03F80C: 5222 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F80C: mov ebx, dword ptr [0x2b0b5d6c] */ 5223 PUSH32(esp, 0); /* 0x2B03F812: push 0 */ 5224 esi = edi + edi * 2; /* 0x2B03F814: lea esi, [edi + edi*2] */ 5225 edx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F817: mov edx, dword ptr [esi*4 + 0x2b0e7140] */ 5226 PUSH32(esp, 3); /* 0x2B03F81E: push 3 */ 5227 PUSH32(esp, edx); /* 0x2B03F820: push edx */ 5228 eax = ebp + (-0x18); /* 0x2B03F821: lea eax, [ebp - 0x18] */ 5229 PUSH32(esp, eax); /* 0x2B03F824: push eax */ 5230 RECOMP_ICALL(ebx); /* 0x2B03F825: call ebx */ 5231 RECOMP_FLAGS_IN(); 5232 ecx = eax; /* 0x2B03F827: mov ecx, eax */ 5233 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F829: call dword ptr [0x2b0b5ed8] */ 5234 RECOMP_FLAGS_IN(); 5235 /* test LO8(eax), LO8(eax) */ /* 0x2B03F82F: test al, al */ 5236 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5237 _cf = 0; 5238 _flag_k = FK_NARROW(FK_TEST, 24); 5239 RECOMP_BACKEDGE(); 5240 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F831: je 0x2b03f701 */ 5241 L_2B03F837: 5242 ecx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F837: mov ecx, dword ptr [esi*4 + 0x2b0e7140] */ 5243 PUSH32(esp, ecx); /* 0x2B03F83E: push ecx */ 5244 edx = ebp + (-0x18); /* 0x2B03F83F: lea edx, [ebp - 0x18] */ 5245 PUSH32(esp, 8); /* 0x2B03F842: push 8 */ 5246 PUSH32(esp, edx); /* 0x2B03F844: push edx */ 5247 RECOMP_ICALL(ebx); /* 0x2B03F845: call ebx */ 5248 RECOMP_FLAGS_IN(); 5249 ecx = eax; /* 0x2B03F847: mov ecx, eax */ 5250 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F849: call dword ptr [0x2b0b5edc] */ 5251 RECOMP_FLAGS_IN(); 5252 /* test LO8(eax), LO8(eax) */ /* 0x2B03F84F: test al, al */ 5253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5254 _cf = 0; 5255 _flag_k = FK_NARROW(FK_TEST, 24); 5256 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F851: jne 0x2b03f86c */ 5257 L_2B03F853: 5258 PUSH32(esp, 0x18u); /* 0x2B03F853: push 0x18 */ 5259 PUSH32(esp, 6); /* 0x2B03F855: push 6 */ 5260 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F857: call dword ptr [0x2b0b53cc] */ 5261 RECOMP_FLAGS_IN(); 5262 ecx = eax; /* 0x2B03F85D: mov ecx, eax */ 5263 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F85F: call dword ptr [0x2b0b53c8] */ 5264 RECOMP_FLAGS_IN(); 5265 edi = POP32_VAL(esp); /* 0x2B03F865: pop edi */ 5266 esi = POP32_VAL(esp); /* 0x2B03F866: pop esi */ 5267 ebx = POP32_VAL(esp); /* 0x2B03F867: pop ebx */ 5268 esp = ebp; /* 0x2B03F868: mov esp, ebp */ 5269 ebp = POP32_VAL(esp); /* 0x2B03F86A: pop ebp */ 5270 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F86B: ret */ 5271 L_2B03F86C: 5272 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 5273 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 5274 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 5275 RECOMP_FLAGS_IN(); 5276 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 5277 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 5278 RECOMP_FLAGS_IN(); 5279 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 5280 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 5281 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 5282 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 5283 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 5284 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 5285 L_2B03F885: 5286 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 5287 L_2B03F887: 5288 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 5289 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 5290 RECOMP_FLAGS_IN(); 5291 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 5292 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 5293 RECOMP_FLAGS_IN(); 5294 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 5295 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 5296 RECOMP_FLAGS_IN(); 5297 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 5298 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 5299 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 5300 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 5301 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 5302 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 5303 L_2B03F8A6: 5304 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 5305 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 5306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5307 _flag_k = FK_CMP; 5308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 5309 L_2B03F8AB: 5310 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 5311 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 5312 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 5313 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 5314 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 5315 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 5316 RECOMP_FLAGS_IN(); 5317 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 5318 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 5319 RECOMP_FLAGS_IN(); 5320 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 5321 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5322 _cf = 0; 5323 _flag_k = FK_NARROW(FK_TEST, 24); 5324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 5325 L_2B03F8C4: 5326 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 5327 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 5328 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 5329 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 5330 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 5331 RECOMP_FLAGS_IN(); 5332 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 5333 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 5334 RECOMP_FLAGS_IN(); 5335 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 5336 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5337 _cf = 0; 5338 _flag_k = FK_NARROW(FK_TEST, 24); 5339 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 5340 L_2B03F8D9: 5341 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 5342 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 5343 L_2B03F8DD: 5344 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 5345 L_2B03F8DF: 5346 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 5347 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 5348 RECOMP_FLAGS_IN(); 5349 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 5350 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 5351 RECOMP_FLAGS_IN(); 5352 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 5353 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 5354 RECOMP_FLAGS_IN(); 5355 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 5356 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 5357 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 5358 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 5359 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 5360 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 5361 L_2B03F8FE: 5362 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 5363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 5364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5365 _flag_k = FK_CMP; 5366 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 5367 L_2B03F903: 5368 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 5369 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 5370 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 5371 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 5372 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 5373 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 5374 RECOMP_FLAGS_IN(); 5375 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 5376 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 5377 RECOMP_FLAGS_IN(); 5378 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 5379 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5380 _cf = 0; 5381 _flag_k = FK_NARROW(FK_TEST, 24); 5382 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 5383 L_2B03F919: 5384 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 5385 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 5386 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 5387 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 5388 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 5389 RECOMP_FLAGS_IN(); 5390 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 5391 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 5392 RECOMP_FLAGS_IN(); 5393 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 5394 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5395 _cf = 0; 5396 _flag_k = FK_NARROW(FK_TEST, 24); 5397 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 5398 L_2B03F92E: 5399 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 5400 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 5401 L_2B03F932: 5402 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 5403 L_2B03F934: 5404 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 5405 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 5406 RECOMP_FLAGS_IN(); 5407 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 5408 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 5409 RECOMP_FLAGS_IN(); 5410 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 5411 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 5412 RECOMP_FLAGS_IN(); 5413 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 5414 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 5415 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 5416 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 5417 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 5418 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 5419 L_2B03F953: 5420 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 5421 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 5422 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 5423 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 5424 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 5425 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 5426 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5427 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 5428 _cf = 0; 5429 _flag_k = FK_TEST; 5430 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5431 eax = 0; /* 0x2B03F96C: xor eax, eax */ 5432 _cf = 0; 5433 _flag_k = FK_TEST; 5434 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 5435 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 5436 ecx = ~ecx; /* 0x2B03F973: not ecx */ 5437 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 5438 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 5439 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 5440 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 5441 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 5442 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 5443 RECOMP_FLAGS_IN(); 5444 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 5445 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 5446 RECOMP_FLAGS_IN(); 5447 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 5448 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 5449 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 5450 RECOMP_FLAGS_IN(); 5451 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 5452 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 5453 RECOMP_FLAGS_IN(); 5454 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 5455 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 5456 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 5457 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 5458 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 5459 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 5460 RECOMP_REGS_OUT(); 5461 } 5462 5463 void sub_2B03EE10(void) { 5464 int _fpu_cmp = 0; 5465 uint32_t _cf = 0; 5466 int _df = 1; 5467 uint32_t _flag_k = FK_NONE; 5468 uint32_t _flag_a = 0, _flag_b = 0; 5469 uint32_t _itail_tgt = 0; 5470 RECOMP_REGS_LOCALS 5471 RECOMP_ENTER(0x2B03EE10u); 5472 5473 L_2B03EE10: 5474 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE10: mov ecx, dword ptr [0x2b0eea2c] */ 5475 /* test ecx, ecx */ /* 0x2B03EE16: test ecx, ecx */ 5476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5477 _cf = 0; 5478 _flag_k = FK_TEST; 5479 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EE1F; /* 0x2B03EE18: je 0x2b03ee1f */ 5480 L_2B03EE1A: 5481 goto L_2B03FAE0; /* 0x2B03EE1A: jmp 0x2b03fae0 */ 5482 L_2B03EE1F: 5483 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE1F: ret */ 5484 L_2B03FAE0: 5485 PUSH32(esp, ebp); /* 0x2B03FAE0: push ebp */ 5486 ebp = esp; /* 0x2B03FAE1: mov ebp, esp */ 5487 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5489 esp = esp - 0x1Cu; /* 0x2B03FAE3: sub esp, 0x1c */ 5490 _flag_k = FK_CMP; 5491 PUSH32(esp, ebx); /* 0x2B03FAE6: push ebx */ 5492 PUSH32(esp, esi); /* 0x2B03FAE7: push esi */ 5493 PUSH32(esp, edi); /* 0x2B03FAE8: push edi */ 5494 edi = ecx; /* 0x2B03FAE9: mov edi, ecx */ 5495 eax = MEM32(edi + 0x2C); /* 0x2B03FAEB: mov eax, dword ptr [edi + 0x2c] */ 5496 esi = MEM32(eax); /* 0x2B03FAEE: mov esi, dword ptr [eax] */ 5497 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5498 ebx = 0; /* 0x2B03FAF0: xor ebx, ebx */ 5499 _cf = 0; 5500 _flag_k = FK_TEST; 5501 /* cmp esi, eax */ /* 0x2B03FAF2: cmp esi, eax */ 5502 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5504 _flag_k = FK_CMP; 5505 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FAF4: mov dword ptr [ebp - 4], edi */ 5506 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB0D; /* 0x2B03FAF7: je 0x2b03fb0d */ 5507 L_2B03FAF9: 5508 ecx = MEM32(esi + 0x8); /* 0x2B03FAF9: mov ecx, dword ptr [esi + 8] */ 5509 /* cmp ecx, ebx */ /* 0x2B03FAFC: cmp ecx, ebx */ 5510 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5512 _flag_k = FK_CMP; 5513 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB06; /* 0x2B03FAFE: je 0x2b03fb06 */ 5514 L_2B03FB00: 5515 eax = MEM32(ecx); /* 0x2B03FB00: mov eax, dword ptr [ecx] */ 5516 PUSH32(esp, 1); /* 0x2B03FB02: push 1 */ 5517 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FB04: call dword ptr [eax] */ 5518 RECOMP_FLAGS_IN(); 5519 L_2B03FB06: 5520 esi = MEM32(esi); /* 0x2B03FB06: mov esi, dword ptr [esi] */ 5521 /* cmp esi, MEM32(edi + 0x2C) */ /* 0x2B03FB08: cmp esi, dword ptr [edi + 0x2c] */ 5522 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x2C)); 5523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5524 _flag_k = FK_CMP; 5525 RECOMP_BACKEDGE(); 5526 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FAF9; /* 0x2B03FB0B: jne 0x2b03faf9 */ 5527 L_2B03FB0D: 5528 eax = MEM32(edi + 0x2C); /* 0x2B03FB0D: mov eax, dword ptr [edi + 0x2c] */ 5529 edx = MEM32(eax); /* 0x2B03FB10: mov edx, dword ptr [eax] */ 5530 ecx = edi + 0x28; /* 0x2B03FB12: lea ecx, [edi + 0x28] */ 5531 PUSH32(esp, eax); /* 0x2B03FB15: push eax */ 5532 PUSH32(esp, edx); /* 0x2B03FB16: push edx */ 5533 edx = ebp + (-0x8); /* 0x2B03FB17: lea edx, [ebp - 8] */ 5534 PUSH32(esp, edx); /* 0x2B03FB1A: push edx */ 5535 RECOMP_ICALL(0x2B040350u); /* 0x2B03FB1B: call 0x2b040350 */ /* not lifted */ 5536 RECOMP_FLAGS_IN(); 5537 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FB20: call dword ptr [0x2b0b5d6c] */ 5538 RECOMP_FLAGS_IN(); 5539 ecx = eax; /* 0x2B03FB26: mov ecx, eax */ 5540 RECOMP_ICALL(MEM32(0x2B0B5ED0)); /* 0x2B03FB28: call dword ptr [0x2b0b5ed0] */ 5541 RECOMP_FLAGS_IN(); 5542 /* cmp eax, ebx */ /* 0x2B03FB2E: cmp eax, ebx */ 5543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5545 _flag_k = FK_CMP; 5546 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FB30: mov dword ptr [ebp - 8], eax */ 5547 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FB33: mov dword ptr [ebp - 0x1c], ebx */ 5548 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FB36: mov dword ptr [ebp - 0x18], ebx */ 5549 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FB39: mov dword ptr [ebp - 0x14], ebx */ 5550 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FB3C: mov dword ptr [ebp - 0x10], ebx */ 5551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB72; /* 0x2B03FB3F: je 0x2b03fb72 */ 5552 L_2B03FB41: 5553 eax = MEM32(eax + 0x4); /* 0x2B03FB41: mov eax, dword ptr [eax + 4] */ 5554 ebx = MEM32(eax); /* 0x2B03FB44: mov ebx, dword ptr [eax] */ 5555 /* cmp ebx, eax */ /* 0x2B03FB46: cmp ebx, eax */ 5556 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5558 _flag_k = FK_CMP; 5559 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB72; /* 0x2B03FB48: je 0x2b03fb72 */ 5560 L_2B03FB4A: 5561 esi = ebx + 0x8; /* 0x2B03FB4A: lea esi, [ebx + 8] */ 5562 ecx = 5; /* 0x2B03FB4D: mov ecx, 5 */ 5563 edi = ebp + (-0x1C); /* 0x2B03FB52: lea edi, [ebp - 0x1c] */ 5564 PUSH32(esp, 1); /* 0x2B03FB55: push 1 */ 5565 eax = ebp + (-0x1C); /* 0x2B03FB57: lea eax, [ebp - 0x1c] */ 5566 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FB5A: 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; } 5567 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FB5C: mov ecx, dword ptr [ebp - 4] */ 5568 PUSH32(esp, eax); /* 0x2B03FB5F: push eax */ 5569 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FB60: call 0x2b03fd10 */ /* not lifted */ 5570 RECOMP_FLAGS_IN(); 5571 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FB65: mov ecx, dword ptr [ebp - 8] */ 5572 ebx = MEM32(ebx); /* 0x2B03FB68: mov ebx, dword ptr [ebx] */ 5573 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FB6A: cmp ebx, dword ptr [ecx + 4] */ 5574 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5576 _flag_k = FK_CMP; 5577 RECOMP_BACKEDGE(); 5578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FB4A; /* 0x2B03FB6D: jne 0x2b03fb4a */ 5579 L_2B03FB6F: 5580 edi = MEM32(ebp + (-0x4)); /* 0x2B03FB6F: mov edi, dword ptr [ebp - 4] */ 5581 L_2B03FB72: 5582 ecx = edi; /* 0x2B03FB72: mov ecx, edi */ 5583 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FB74: call 0x2b03a2b0 */ /* not lifted */ 5584 RECOMP_FLAGS_IN(); 5585 edi = POP32_VAL(esp); /* 0x2B03FB79: pop edi */ 5586 esi = POP32_VAL(esp); /* 0x2B03FB7A: pop esi */ 5587 ebx = POP32_VAL(esp); /* 0x2B03FB7B: pop ebx */ 5588 esp = ebp; /* 0x2B03FB7C: mov esp, ebp */ 5589 ebp = POP32_VAL(esp); /* 0x2B03FB7E: pop ebp */ 5590 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FB7F: ret */ 5591 RECOMP_REGS_OUT(); 5592 } 5593 5594 void sub_2B03EE20(void) { 5595 int _fpu_cmp = 0; 5596 uint32_t _cf = 0; 5597 int _df = 1; 5598 uint32_t _flag_k = FK_NONE; 5599 uint32_t _flag_a = 0, _flag_b = 0; 5600 uint32_t _itail_tgt = 0; 5601 RECOMP_REGS_LOCALS 5602 RECOMP_ENTER(0x2B03EE20u); 5603 5604 L_2B03EE20: 5605 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE20: mov ecx, dword ptr [0x2b0eea2c] */ 5606 /* test ecx, ecx */ /* 0x2B03EE26: test ecx, ecx */ 5607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5608 _cf = 0; 5609 _flag_k = FK_TEST; 5610 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EE2F; /* 0x2B03EE28: je 0x2b03ee2f */ 5611 L_2B03EE2A: 5612 goto L_2B03FA40; /* 0x2B03EE2A: jmp 0x2b03fa40 */ 5613 L_2B03EE2F: 5614 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE2F: ret */ 5615 L_2B03FA40: 5616 PUSH32(esp, ebp); /* 0x2B03FA40: push ebp */ 5617 ebp = esp; /* 0x2B03FA41: mov ebp, esp */ 5618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5620 esp = esp - 0x1Cu; /* 0x2B03FA43: sub esp, 0x1c */ 5621 _flag_k = FK_CMP; 5622 PUSH32(esp, ebx); /* 0x2B03FA46: push ebx */ 5623 PUSH32(esp, esi); /* 0x2B03FA47: push esi */ 5624 PUSH32(esp, edi); /* 0x2B03FA48: push edi */ 5625 edi = ecx; /* 0x2B03FA49: mov edi, ecx */ 5626 eax = MEM32(edi + 0x38); /* 0x2B03FA4B: mov eax, dword ptr [edi + 0x38] */ 5627 esi = MEM32(eax); /* 0x2B03FA4E: mov esi, dword ptr [eax] */ 5628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5629 ebx = 0; /* 0x2B03FA50: xor ebx, ebx */ 5630 _cf = 0; 5631 _flag_k = FK_TEST; 5632 /* cmp esi, eax */ /* 0x2B03FA52: cmp esi, eax */ 5633 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5635 _flag_k = FK_CMP; 5636 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FA54: mov dword ptr [ebp - 4], edi */ 5637 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FA6D; /* 0x2B03FA57: je 0x2b03fa6d */ 5638 L_2B03FA59: 5639 ecx = MEM32(esi + 0x8); /* 0x2B03FA59: mov ecx, dword ptr [esi + 8] */ 5640 /* cmp ecx, ebx */ /* 0x2B03FA5C: cmp ecx, ebx */ 5641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5643 _flag_k = FK_CMP; 5644 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FA66; /* 0x2B03FA5E: je 0x2b03fa66 */ 5645 L_2B03FA60: 5646 eax = MEM32(ecx); /* 0x2B03FA60: mov eax, dword ptr [ecx] */ 5647 PUSH32(esp, 1); /* 0x2B03FA62: push 1 */ 5648 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FA64: call dword ptr [eax] */ 5649 RECOMP_FLAGS_IN(); 5650 L_2B03FA66: 5651 esi = MEM32(esi); /* 0x2B03FA66: mov esi, dword ptr [esi] */ 5652 /* cmp esi, MEM32(edi + 0x38) */ /* 0x2B03FA68: cmp esi, dword ptr [edi + 0x38] */ 5653 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x38)); 5654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5655 _flag_k = FK_CMP; 5656 RECOMP_BACKEDGE(); 5657 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FA59; /* 0x2B03FA6B: jne 0x2b03fa59 */ 5658 L_2B03FA6D: 5659 eax = MEM32(edi + 0x38); /* 0x2B03FA6D: mov eax, dword ptr [edi + 0x38] */ 5660 edx = MEM32(eax); /* 0x2B03FA70: mov edx, dword ptr [eax] */ 5661 ecx = edi + 0x34; /* 0x2B03FA72: lea ecx, [edi + 0x34] */ 5662 PUSH32(esp, eax); /* 0x2B03FA75: push eax */ 5663 PUSH32(esp, edx); /* 0x2B03FA76: push edx */ 5664 edx = ebp + (-0x8); /* 0x2B03FA77: lea edx, [ebp - 8] */ 5665 PUSH32(esp, edx); /* 0x2B03FA7A: push edx */ 5666 RECOMP_ICALL(0x2B040350u); /* 0x2B03FA7B: call 0x2b040350 */ /* not lifted */ 5667 RECOMP_FLAGS_IN(); 5668 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FA80: call dword ptr [0x2b0b5d6c] */ 5669 RECOMP_FLAGS_IN(); 5670 ecx = eax; /* 0x2B03FA86: mov ecx, eax */ 5671 RECOMP_ICALL(MEM32(0x2B0B5ED4)); /* 0x2B03FA88: call dword ptr [0x2b0b5ed4] */ 5672 RECOMP_FLAGS_IN(); 5673 /* cmp eax, ebx */ /* 0x2B03FA8E: cmp eax, ebx */ 5674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5676 _flag_k = FK_CMP; 5677 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FA90: mov dword ptr [ebp - 8], eax */ 5678 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FAD2; /* 0x2B03FA93: je 0x2b03fad2 */ 5679 L_2B03FA95: 5680 eax = MEM32(eax + 0x4); /* 0x2B03FA95: mov eax, dword ptr [eax + 4] */ 5681 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FA98: mov dword ptr [ebp - 0x1c], ebx */ 5682 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FA9B: mov dword ptr [ebp - 0x18], ebx */ 5683 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FA9E: mov dword ptr [ebp - 0x14], ebx */ 5684 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FAA1: mov dword ptr [ebp - 0x10], ebx */ 5685 ebx = MEM32(eax); /* 0x2B03FAA4: mov ebx, dword ptr [eax] */ 5686 /* cmp ebx, eax */ /* 0x2B03FAA6: cmp ebx, eax */ 5687 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5689 _flag_k = FK_CMP; 5690 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FAD2; /* 0x2B03FAA8: je 0x2b03fad2 */ 5691 L_2B03FAAA: 5692 esi = ebx + 0x8; /* 0x2B03FAAA: lea esi, [ebx + 8] */ 5693 ecx = 5; /* 0x2B03FAAD: mov ecx, 5 */ 5694 edi = ebp + (-0x1C); /* 0x2B03FAB2: lea edi, [ebp - 0x1c] */ 5695 PUSH32(esp, 2); /* 0x2B03FAB5: push 2 */ 5696 eax = ebp + (-0x1C); /* 0x2B03FAB7: lea eax, [ebp - 0x1c] */ 5697 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FABA: 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; } 5698 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FABC: mov ecx, dword ptr [ebp - 4] */ 5699 PUSH32(esp, eax); /* 0x2B03FABF: push eax */ 5700 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FAC0: call 0x2b03fd10 */ /* not lifted */ 5701 RECOMP_FLAGS_IN(); 5702 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FAC5: mov ecx, dword ptr [ebp - 8] */ 5703 ebx = MEM32(ebx); /* 0x2B03FAC8: mov ebx, dword ptr [ebx] */ 5704 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FACA: cmp ebx, dword ptr [ecx + 4] */ 5705 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5707 _flag_k = FK_CMP; 5708 RECOMP_BACKEDGE(); 5709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FAAA; /* 0x2B03FACD: jne 0x2b03faaa */ 5710 L_2B03FACF: 5711 edi = MEM32(ebp + (-0x4)); /* 0x2B03FACF: mov edi, dword ptr [ebp - 4] */ 5712 L_2B03FAD2: 5713 ecx = edi; /* 0x2B03FAD2: mov ecx, edi */ 5714 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FAD4: call 0x2b03a2b0 */ /* not lifted */ 5715 RECOMP_FLAGS_IN(); 5716 edi = POP32_VAL(esp); /* 0x2B03FAD9: pop edi */ 5717 esi = POP32_VAL(esp); /* 0x2B03FADA: pop esi */ 5718 ebx = POP32_VAL(esp); /* 0x2B03FADB: pop ebx */ 5719 esp = ebp; /* 0x2B03FADC: mov esp, ebp */ 5720 ebp = POP32_VAL(esp); /* 0x2B03FADE: pop ebp */ 5721 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FADF: ret */ 5722 RECOMP_REGS_OUT(); 5723 } 5724 5725 void sub_2B03EE30(void) { 5726 int _fpu_cmp = 0; 5727 uint32_t _cf = 0; 5728 int _df = 1; 5729 uint32_t _flag_k = FK_NONE; 5730 uint32_t _flag_a = 0, _flag_b = 0; 5731 uint32_t _itail_tgt = 0; 5732 RECOMP_REGS_LOCALS 5733 RECOMP_ENTER(0x2B03EE30u); 5734 5735 L_2B03EE30: 5736 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE30: mov ecx, dword ptr [0x2b0eea2c] */ 5737 /* test ecx, ecx */ /* 0x2B03EE36: test ecx, ecx */ 5738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5739 _cf = 0; 5740 _flag_k = FK_TEST; 5741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EE3F; /* 0x2B03EE38: je 0x2b03ee3f */ 5742 L_2B03EE3A: 5743 goto L_2B03FB80; /* 0x2B03EE3A: jmp 0x2b03fb80 */ 5744 L_2B03EE3F: 5745 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE3F: ret */ 5746 L_2B03FB80: 5747 PUSH32(esp, ebp); /* 0x2B03FB80: push ebp */ 5748 ebp = esp; /* 0x2B03FB81: mov ebp, esp */ 5749 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 5750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5751 esp = esp - 0x1Cu; /* 0x2B03FB83: sub esp, 0x1c */ 5752 _flag_k = FK_CMP; 5753 PUSH32(esp, ebx); /* 0x2B03FB86: push ebx */ 5754 PUSH32(esp, esi); /* 0x2B03FB87: push esi */ 5755 PUSH32(esp, edi); /* 0x2B03FB88: push edi */ 5756 edi = ecx; /* 0x2B03FB89: mov edi, ecx */ 5757 eax = MEM32(edi + 0x44); /* 0x2B03FB8B: mov eax, dword ptr [edi + 0x44] */ 5758 esi = MEM32(eax); /* 0x2B03FB8E: mov esi, dword ptr [eax] */ 5759 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5760 ebx = 0; /* 0x2B03FB90: xor ebx, ebx */ 5761 _cf = 0; 5762 _flag_k = FK_TEST; 5763 /* cmp esi, eax */ /* 0x2B03FB92: cmp esi, eax */ 5764 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5766 _flag_k = FK_CMP; 5767 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FB94: mov dword ptr [ebp - 4], edi */ 5768 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FBAD; /* 0x2B03FB97: je 0x2b03fbad */ 5769 L_2B03FB99: 5770 ecx = MEM32(esi + 0x8); /* 0x2B03FB99: mov ecx, dword ptr [esi + 8] */ 5771 /* cmp ecx, ebx */ /* 0x2B03FB9C: cmp ecx, ebx */ 5772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5774 _flag_k = FK_CMP; 5775 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FBA6; /* 0x2B03FB9E: je 0x2b03fba6 */ 5776 L_2B03FBA0: 5777 eax = MEM32(ecx); /* 0x2B03FBA0: mov eax, dword ptr [ecx] */ 5778 PUSH32(esp, 1); /* 0x2B03FBA2: push 1 */ 5779 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FBA4: call dword ptr [eax] */ 5780 RECOMP_FLAGS_IN(); 5781 L_2B03FBA6: 5782 esi = MEM32(esi); /* 0x2B03FBA6: mov esi, dword ptr [esi] */ 5783 /* cmp esi, MEM32(edi + 0x44) */ /* 0x2B03FBA8: cmp esi, dword ptr [edi + 0x44] */ 5784 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x44)); 5785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5786 _flag_k = FK_CMP; 5787 RECOMP_BACKEDGE(); 5788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FB99; /* 0x2B03FBAB: jne 0x2b03fb99 */ 5789 L_2B03FBAD: 5790 eax = MEM32(edi + 0x44); /* 0x2B03FBAD: mov eax, dword ptr [edi + 0x44] */ 5791 edx = MEM32(eax); /* 0x2B03FBB0: mov edx, dword ptr [eax] */ 5792 ecx = edi + 0x40; /* 0x2B03FBB2: lea ecx, [edi + 0x40] */ 5793 PUSH32(esp, eax); /* 0x2B03FBB5: push eax */ 5794 PUSH32(esp, edx); /* 0x2B03FBB6: push edx */ 5795 edx = ebp + (-0x8); /* 0x2B03FBB7: lea edx, [ebp - 8] */ 5796 PUSH32(esp, edx); /* 0x2B03FBBA: push edx */ 5797 RECOMP_ICALL(0x2B040350u); /* 0x2B03FBBB: call 0x2b040350 */ /* not lifted */ 5798 RECOMP_FLAGS_IN(); 5799 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FBC0: call dword ptr [0x2b0b5d6c] */ 5800 RECOMP_FLAGS_IN(); 5801 ecx = eax; /* 0x2B03FBC6: mov ecx, eax */ 5802 RECOMP_ICALL(MEM32(0x2B0B5ECC)); /* 0x2B03FBC8: call dword ptr [0x2b0b5ecc] */ 5803 RECOMP_FLAGS_IN(); 5804 /* cmp eax, ebx */ /* 0x2B03FBCE: cmp eax, ebx */ 5805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5807 _flag_k = FK_CMP; 5808 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FBD0: mov dword ptr [ebp - 8], eax */ 5809 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FBD3: mov dword ptr [ebp - 0x1c], ebx */ 5810 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FBD6: mov dword ptr [ebp - 0x18], ebx */ 5811 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FBD9: mov dword ptr [ebp - 0x14], ebx */ 5812 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FBDC: mov dword ptr [ebp - 0x10], ebx */ 5813 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC12; /* 0x2B03FBDF: je 0x2b03fc12 */ 5814 L_2B03FBE1: 5815 eax = MEM32(eax + 0x4); /* 0x2B03FBE1: mov eax, dword ptr [eax + 4] */ 5816 ebx = MEM32(eax); /* 0x2B03FBE4: mov ebx, dword ptr [eax] */ 5817 /* cmp ebx, eax */ /* 0x2B03FBE6: cmp ebx, eax */ 5818 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5820 _flag_k = FK_CMP; 5821 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC12; /* 0x2B03FBE8: je 0x2b03fc12 */ 5822 L_2B03FBEA: 5823 esi = ebx + 0x8; /* 0x2B03FBEA: lea esi, [ebx + 8] */ 5824 ecx = 5; /* 0x2B03FBED: mov ecx, 5 */ 5825 edi = ebp + (-0x1C); /* 0x2B03FBF2: lea edi, [ebp - 0x1c] */ 5826 PUSH32(esp, 3); /* 0x2B03FBF5: push 3 */ 5827 eax = ebp + (-0x1C); /* 0x2B03FBF7: lea eax, [ebp - 0x1c] */ 5828 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FBFA: 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; } 5829 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FBFC: mov ecx, dword ptr [ebp - 4] */ 5830 PUSH32(esp, eax); /* 0x2B03FBFF: push eax */ 5831 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FC00: call 0x2b03fd10 */ /* not lifted */ 5832 RECOMP_FLAGS_IN(); 5833 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FC05: mov ecx, dword ptr [ebp - 8] */ 5834 ebx = MEM32(ebx); /* 0x2B03FC08: mov ebx, dword ptr [ebx] */ 5835 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FC0A: cmp ebx, dword ptr [ecx + 4] */ 5836 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5838 _flag_k = FK_CMP; 5839 RECOMP_BACKEDGE(); 5840 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FBEA; /* 0x2B03FC0D: jne 0x2b03fbea */ 5841 L_2B03FC0F: 5842 edi = MEM32(ebp + (-0x4)); /* 0x2B03FC0F: mov edi, dword ptr [ebp - 4] */ 5843 L_2B03FC12: 5844 ecx = edi; /* 0x2B03FC12: mov ecx, edi */ 5845 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FC14: call 0x2b03a2b0 */ /* not lifted */ 5846 RECOMP_FLAGS_IN(); 5847 edi = POP32_VAL(esp); /* 0x2B03FC19: pop edi */ 5848 esi = POP32_VAL(esp); /* 0x2B03FC1A: pop esi */ 5849 ebx = POP32_VAL(esp); /* 0x2B03FC1B: pop ebx */ 5850 esp = ebp; /* 0x2B03FC1C: mov esp, ebp */ 5851 ebp = POP32_VAL(esp); /* 0x2B03FC1E: pop ebp */ 5852 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FC1F: ret */ 5853 RECOMP_REGS_OUT(); 5854 } 5855 5856 void sub_2B03EE40(void) { 5857 int _fpu_cmp = 0; 5858 uint32_t _cf = 0; 5859 int _df = 1; 5860 uint32_t _flag_k = FK_NONE; 5861 uint32_t _flag_a = 0, _flag_b = 0; 5862 uint32_t _itail_tgt = 0; 5863 RECOMP_REGS_LOCALS 5864 RECOMP_ENTER(0x2B03EE40u); 5865 5866 goto L_2B03EE40; 5867 L_2B03A2B0: 5868 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 5869 L_2B03A2B3: 5870 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 5871 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5872 _cf = 0; 5873 _flag_k = FK_NARROW(FK_TEST, 24); 5874 L_2B03A2B5: 5875 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 5876 L_2B03A2B7: 5877 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 5878 L_2B03A2BA: 5879 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 5880 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5881 _cf = 0; 5882 _flag_k = FK_NARROW(FK_TEST, 24); 5883 L_2B03A2BC: 5884 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 5885 L_2B03A2BE: 5886 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 5887 L_2B03A2C0: 5888 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 5889 L_2B03A2C3: 5890 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 5891 L_2B03EE40: 5892 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE40: mov ecx, dword ptr [0x2b0eea2c] */ 5893 L_2B03EE46: 5894 /* test ecx, ecx */ /* 0x2B03EE46: test ecx, ecx */ 5895 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5896 _cf = 0; 5897 _flag_k = FK_TEST; 5898 L_2B03EE48: 5899 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03EE4F; /* 0x2B03EE48: je 0x2b03ee4f */ 5900 L_2B03EE4A: 5901 goto L_2B040130; /* 0x2B03EE4A: jmp 0x2b040130 */ 5902 L_2B03EE4F: 5903 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE4F: ret */ 5904 L_2B040130: 5905 eax = MEM32(ecx + 0x54); /* 0x2B040130: mov eax, dword ptr [ecx + 0x54] */ 5906 L_2B040133: 5907 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5908 edx = 0; /* 0x2B040133: xor edx, edx */ 5909 _cf = 0; 5910 _flag_k = FK_TEST; 5911 L_2B040135: 5912 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B040135: mov byte ptr [eax + 8], dl */ 5913 L_2B040138: 5914 eax = MEM32(ecx + 0x58); /* 0x2B040138: mov eax, dword ptr [ecx + 0x58] */ 5915 L_2B04013B: 5916 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B04013B: mov byte ptr [eax + 8], dl */ 5917 L_2B04013E: 5918 eax = MEM32(ecx + 0x50); /* 0x2B04013E: mov eax, dword ptr [ecx + 0x50] */ 5919 L_2B040141: 5920 MEM32(ecx + 0x4C) = eax; /* 0x2B040141: mov dword ptr [ecx + 0x4c], eax */ 5921 L_2B040144: 5922 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B040144: mov byte ptr [eax + 8], 1 */ 5923 L_2B040148: 5924 MEM32(ecx + 0x64) = edx; /* 0x2B040148: mov dword ptr [ecx + 0x64], edx */ 5925 L_2B04014B: 5926 RECOMP_BACKEDGE(); 5927 goto L_2B03A2B0; /* 0x2B04014B: jmp 0x2b03a2b0 */ 5928 { RECOMP_REGS_OUT(); return; } /* end of function */ 5929 _ljump: 5930 switch (_itail_tgt) { 5931 case 0x2B03A2B0u: goto L_2B03A2B0; 5932 case 0x2B03A2B3u: goto L_2B03A2B3; 5933 case 0x2B03A2B5u: goto L_2B03A2B5; 5934 case 0x2B03A2B7u: goto L_2B03A2B7; 5935 case 0x2B03A2BAu: goto L_2B03A2BA; 5936 case 0x2B03A2BCu: goto L_2B03A2BC; 5937 case 0x2B03A2BEu: goto L_2B03A2BE; 5938 case 0x2B03A2C0u: goto L_2B03A2C0; 5939 case 0x2B03A2C3u: goto L_2B03A2C3; 5940 case 0x2B03EE40u: goto L_2B03EE40; 5941 case 0x2B03EE46u: goto L_2B03EE46; 5942 case 0x2B03EE48u: goto L_2B03EE48; 5943 case 0x2B03EE4Au: goto L_2B03EE4A; 5944 case 0x2B03EE4Fu: goto L_2B03EE4F; 5945 case 0x2B040130u: goto L_2B040130; 5946 case 0x2B040133u: goto L_2B040133; 5947 case 0x2B040135u: goto L_2B040135; 5948 case 0x2B040138u: goto L_2B040138; 5949 case 0x2B04013Bu: goto L_2B04013B; 5950 case 0x2B04013Eu: goto L_2B04013E; 5951 case 0x2B040141u: goto L_2B040141; 5952 case 0x2B040144u: goto L_2B040144; 5953 case 0x2B040148u: goto L_2B040148; 5954 case 0x2B04014Bu: goto L_2B04014B; 5955 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 5956 } 5957 RECOMP_REGS_OUT(); 5958 } 5959 5960 void sub_2B03EE50(void) { 5961 int _fpu_cmp = 0; 5962 uint32_t _cf = 0; 5963 int _df = 1; 5964 uint32_t _flag_k = FK_NONE; 5965 uint32_t _flag_a = 0, _flag_b = 0; 5966 uint32_t _itail_tgt = 0; 5967 RECOMP_REGS_LOCALS 5968 RECOMP_ENTER(0x2B03EE50u); 5969 5970 goto L_2B03EE50; 5971 L_2B03A2B0: 5972 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 5973 L_2B03A2B3: 5974 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 5975 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5976 _cf = 0; 5977 _flag_k = FK_NARROW(FK_TEST, 24); 5978 L_2B03A2B5: 5979 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 5980 L_2B03A2B7: 5981 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 5982 L_2B03A2BA: 5983 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 5984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5985 _cf = 0; 5986 _flag_k = FK_NARROW(FK_TEST, 24); 5987 L_2B03A2BC: 5988 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 5989 L_2B03A2BE: 5990 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 5991 L_2B03A2C0: 5992 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 5993 L_2B03A2C3: 5994 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 5995 L_2B03EE50: 5996 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE50: mov ecx, dword ptr [0x2b0eea2c] */ 5997 L_2B03EE56: 5998 /* test ecx, ecx */ /* 0x2B03EE56: test ecx, ecx */ 5999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6000 _cf = 0; 6001 _flag_k = FK_TEST; 6002 L_2B03EE58: 6003 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03EE5F; /* 0x2B03EE58: je 0x2b03ee5f */ 6004 L_2B03EE5A: 6005 goto L_2B040150; /* 0x2B03EE5A: jmp 0x2b040150 */ 6006 L_2B03EE5F: 6007 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE5F: ret */ 6008 L_2B040150: 6009 edx = MEM32(ecx + 0x50); /* 0x2B040150: mov edx, dword ptr [ecx + 0x50] */ 6010 L_2B040153: 6011 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6012 SET_LO8(eax, 0); /* 0x2B040153: xor al, al */ 6013 _cf = 0; 6014 _flag_k = FK_NARROW(FK_TEST, 24); 6015 L_2B040155: 6016 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B040155: mov byte ptr [edx + 8], al */ 6017 L_2B040158: 6018 edx = MEM32(ecx + 0x58); /* 0x2B040158: mov edx, dword ptr [ecx + 0x58] */ 6019 L_2B04015B: 6020 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B04015B: mov byte ptr [edx + 8], al */ 6021 L_2B04015E: 6022 eax = MEM32(ecx + 0x54); /* 0x2B04015E: mov eax, dword ptr [ecx + 0x54] */ 6023 L_2B040161: 6024 MEM32(ecx + 0x4C) = eax; /* 0x2B040161: mov dword ptr [ecx + 0x4c], eax */ 6025 L_2B040164: 6026 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B040164: mov byte ptr [eax + 8], 1 */ 6027 L_2B040168: 6028 MEM32(ecx + 0x64) = 2; /* 0x2B040168: mov dword ptr [ecx + 0x64], 2 */ 6029 L_2B04016F: 6030 RECOMP_BACKEDGE(); 6031 goto L_2B03A2B0; /* 0x2B04016F: jmp 0x2b03a2b0 */ 6032 { RECOMP_REGS_OUT(); return; } /* end of function */ 6033 _ljump: 6034 switch (_itail_tgt) { 6035 case 0x2B03A2B0u: goto L_2B03A2B0; 6036 case 0x2B03A2B3u: goto L_2B03A2B3; 6037 case 0x2B03A2B5u: goto L_2B03A2B5; 6038 case 0x2B03A2B7u: goto L_2B03A2B7; 6039 case 0x2B03A2BAu: goto L_2B03A2BA; 6040 case 0x2B03A2BCu: goto L_2B03A2BC; 6041 case 0x2B03A2BEu: goto L_2B03A2BE; 6042 case 0x2B03A2C0u: goto L_2B03A2C0; 6043 case 0x2B03A2C3u: goto L_2B03A2C3; 6044 case 0x2B03EE50u: goto L_2B03EE50; 6045 case 0x2B03EE56u: goto L_2B03EE56; 6046 case 0x2B03EE58u: goto L_2B03EE58; 6047 case 0x2B03EE5Au: goto L_2B03EE5A; 6048 case 0x2B03EE5Fu: goto L_2B03EE5F; 6049 case 0x2B040150u: goto L_2B040150; 6050 case 0x2B040153u: goto L_2B040153; 6051 case 0x2B040155u: goto L_2B040155; 6052 case 0x2B040158u: goto L_2B040158; 6053 case 0x2B04015Bu: goto L_2B04015B; 6054 case 0x2B04015Eu: goto L_2B04015E; 6055 case 0x2B040161u: goto L_2B040161; 6056 case 0x2B040164u: goto L_2B040164; 6057 case 0x2B040168u: goto L_2B040168; 6058 case 0x2B04016Fu: goto L_2B04016F; 6059 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 6060 } 6061 RECOMP_REGS_OUT(); 6062 } 6063 6064 void sub_2B03EE60(void) { 6065 int _fpu_cmp = 0; 6066 uint32_t _cf = 0; 6067 int _df = 1; 6068 uint32_t _flag_k = FK_NONE; 6069 uint32_t _flag_a = 0, _flag_b = 0; 6070 uint32_t _itail_tgt = 0; 6071 RECOMP_REGS_LOCALS 6072 RECOMP_ENTER(0x2B03EE60u); 6073 6074 goto L_2B03EE60; 6075 L_2B03A2B0: 6076 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 6077 L_2B03A2B3: 6078 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 6079 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6080 _cf = 0; 6081 _flag_k = FK_NARROW(FK_TEST, 24); 6082 L_2B03A2B5: 6083 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 6084 L_2B03A2B7: 6085 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 6086 L_2B03A2BA: 6087 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 6088 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6089 _cf = 0; 6090 _flag_k = FK_NARROW(FK_TEST, 24); 6091 L_2B03A2BC: 6092 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 6093 L_2B03A2BE: 6094 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 6095 L_2B03A2C0: 6096 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 6097 L_2B03A2C3: 6098 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 6099 L_2B03EE60: 6100 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EE60: mov ecx, dword ptr [0x2b0eea2c] */ 6101 L_2B03EE66: 6102 /* test ecx, ecx */ /* 0x2B03EE66: test ecx, ecx */ 6103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6104 _cf = 0; 6105 _flag_k = FK_TEST; 6106 L_2B03EE68: 6107 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03EE6F; /* 0x2B03EE68: je 0x2b03ee6f */ 6108 L_2B03EE6A: 6109 goto L_2B040180; /* 0x2B03EE6A: jmp 0x2b040180 */ 6110 L_2B03EE6F: 6111 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EE6F: ret */ 6112 L_2B040180: 6113 edx = MEM32(ecx + 0x54); /* 0x2B040180: mov edx, dword ptr [ecx + 0x54] */ 6114 L_2B040183: 6115 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6116 SET_LO8(eax, 0); /* 0x2B040183: xor al, al */ 6117 _cf = 0; 6118 _flag_k = FK_NARROW(FK_TEST, 24); 6119 L_2B040185: 6120 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B040185: mov byte ptr [edx + 8], al */ 6121 L_2B040188: 6122 edx = MEM32(ecx + 0x50); /* 0x2B040188: mov edx, dword ptr [ecx + 0x50] */ 6123 L_2B04018B: 6124 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B04018B: mov byte ptr [edx + 8], al */ 6125 L_2B04018E: 6126 eax = MEM32(ecx + 0x58); /* 0x2B04018E: mov eax, dword ptr [ecx + 0x58] */ 6127 L_2B040191: 6128 edx = 1; /* 0x2B040191: mov edx, 1 */ 6129 L_2B040196: 6130 MEM32(ecx + 0x4C) = eax; /* 0x2B040196: mov dword ptr [ecx + 0x4c], eax */ 6131 L_2B040199: 6132 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B040199: mov byte ptr [eax + 8], dl */ 6133 L_2B04019C: 6134 MEM32(ecx + 0x64) = edx; /* 0x2B04019C: mov dword ptr [ecx + 0x64], edx */ 6135 L_2B04019F: 6136 RECOMP_BACKEDGE(); 6137 goto L_2B03A2B0; /* 0x2B04019F: jmp 0x2b03a2b0 */ 6138 { RECOMP_REGS_OUT(); return; } /* end of function */ 6139 _ljump: 6140 switch (_itail_tgt) { 6141 case 0x2B03A2B0u: goto L_2B03A2B0; 6142 case 0x2B03A2B3u: goto L_2B03A2B3; 6143 case 0x2B03A2B5u: goto L_2B03A2B5; 6144 case 0x2B03A2B7u: goto L_2B03A2B7; 6145 case 0x2B03A2BAu: goto L_2B03A2BA; 6146 case 0x2B03A2BCu: goto L_2B03A2BC; 6147 case 0x2B03A2BEu: goto L_2B03A2BE; 6148 case 0x2B03A2C0u: goto L_2B03A2C0; 6149 case 0x2B03A2C3u: goto L_2B03A2C3; 6150 case 0x2B03EE60u: goto L_2B03EE60; 6151 case 0x2B03EE66u: goto L_2B03EE66; 6152 case 0x2B03EE68u: goto L_2B03EE68; 6153 case 0x2B03EE6Au: goto L_2B03EE6A; 6154 case 0x2B03EE6Fu: goto L_2B03EE6F; 6155 case 0x2B040180u: goto L_2B040180; 6156 case 0x2B040183u: goto L_2B040183; 6157 case 0x2B040185u: goto L_2B040185; 6158 case 0x2B040188u: goto L_2B040188; 6159 case 0x2B04018Bu: goto L_2B04018B; 6160 case 0x2B04018Eu: goto L_2B04018E; 6161 case 0x2B040191u: goto L_2B040191; 6162 case 0x2B040196u: goto L_2B040196; 6163 case 0x2B040199u: goto L_2B040199; 6164 case 0x2B04019Cu: goto L_2B04019C; 6165 case 0x2B04019Fu: goto L_2B04019F; 6166 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 6167 } 6168 RECOMP_REGS_OUT(); 6169 } 6170 6171 void sub_2B03EE70(void) { 6172 int _fpu_cmp = 0; 6173 uint32_t _cf = 0; 6174 int _df = 1; 6175 uint32_t _flag_k = FK_NONE; 6176 uint32_t _flag_a = 0, _flag_b = 0; 6177 uint32_t _itail_tgt = 0; 6178 RECOMP_REGS_LOCALS 6179 RECOMP_ENTER(0x2B03EE70u); 6180 6181 L_2B03EE70: 6182 PUSH32(esp, ebp); /* 0x2B03EE70: push ebp */ 6183 ebp = esp; /* 0x2B03EE71: mov ebp, esp */ 6184 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6186 esp = esp - 0x10u; /* 0x2B03EE73: sub esp, 0x10 */ 6187 _flag_k = FK_CMP; 6188 PUSH32(esp, esi); /* 0x2B03EE76: push esi */ 6189 PUSH32(esp, edi); /* 0x2B03EE77: push edi */ 6190 edi = MEM32(0x2B0B53CC); /* 0x2B03EE78: mov edi, dword ptr [0x2b0b53cc] */ 6191 RECOMP_ICALL(edi); /* 0x2B03EE7E: call edi */ 6192 RECOMP_FLAGS_IN(); 6193 ecx = eax; /* 0x2B03EE80: mov ecx, eax */ 6194 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B03EE82: call dword ptr [0x2b0b53a4] */ 6195 RECOMP_FLAGS_IN(); 6196 esi = eax; /* 0x2B03EE88: mov esi, eax */ 6197 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6198 eax = 0; /* 0x2B03EE8A: xor eax, eax */ 6199 _cf = 0; 6200 _flag_k = FK_TEST; 6201 /* cmp esi, eax */ /* 0x2B03EE8C: cmp esi, eax */ 6202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6204 _flag_k = FK_CMP; 6205 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EECF; /* 0x2B03EE8E: je 0x2b03eecf */ 6206 L_2B03EE90: 6207 MEM32(ebp + (-0x10)) = eax; /* 0x2B03EE90: mov dword ptr [ebp - 0x10], eax */ 6208 MEM32(ebp + (-0xC)) = eax; /* 0x2B03EE93: mov dword ptr [ebp - 0xc], eax */ 6209 eax = ebp + (-0x10); /* 0x2B03EE96: lea eax, [ebp - 0x10] */ 6210 PUSH32(esp, eax); /* 0x2B03EE99: push eax */ 6211 RECOMP_ICALL(edi); /* 0x2B03EE9A: call edi */ 6212 RECOMP_FLAGS_IN(); 6213 ecx = eax; /* 0x2B03EE9C: mov ecx, eax */ 6214 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03EE9E: call dword ptr [0x2b0b53ac] */ 6215 RECOMP_FLAGS_IN(); 6216 eax = esi + 0x54; /* 0x2B03EEA4: lea eax, [esi + 0x54] */ 6217 ecx = ebp + (-0x8); /* 0x2B03EEA7: lea ecx, [ebp - 8] */ 6218 /* cmp ecx, eax */ /* 0x2B03EEAA: cmp ecx, eax */ 6219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6221 _flag_k = FK_CMP; 6222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03EEB9; /* 0x2B03EEAC: je 0x2b03eeb9 */ 6223 L_2B03EEAE: 6224 edx = MEM32(eax); /* 0x2B03EEAE: mov edx, dword ptr [eax] */ 6225 eax = MEM32(eax + 0x4); /* 0x2B03EEB0: mov eax, dword ptr [eax + 4] */ 6226 MEM32(ebp + (-0x8)) = edx; /* 0x2B03EEB3: mov dword ptr [ebp - 8], edx */ 6227 MEM32(ebp + (-0x4)) = eax; /* 0x2B03EEB6: mov dword ptr [ebp - 4], eax */ 6228 L_2B03EEB9: 6229 ecx = ebp + (-0x8); /* 0x2B03EEB9: lea ecx, [ebp - 8] */ 6230 PUSH32(esp, ecx); /* 0x2B03EEBC: push ecx */ 6231 edx = ebp + (-0x10); /* 0x2B03EEBD: lea edx, [ebp - 0x10] */ 6232 PUSH32(esp, edx); /* 0x2B03EEC0: push edx */ 6233 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03EEC1: call dword ptr [0x2b0b5d6c] */ 6234 RECOMP_FLAGS_IN(); 6235 ecx = eax; /* 0x2B03EEC7: mov ecx, eax */ 6236 RECOMP_ICALL(MEM32(0x2B0B5EF8)); /* 0x2B03EEC9: call dword ptr [0x2b0b5ef8] */ 6237 RECOMP_FLAGS_IN(); 6238 L_2B03EECF: 6239 edi = POP32_VAL(esp); /* 0x2B03EECF: pop edi */ 6240 esi = POP32_VAL(esp); /* 0x2B03EED0: pop esi */ 6241 esp = ebp; /* 0x2B03EED1: mov esp, ebp */ 6242 ebp = POP32_VAL(esp); /* 0x2B03EED3: pop ebp */ 6243 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EED4: ret */ 6244 RECOMP_REGS_OUT(); 6245 } 6246 6247 void sub_2B03EEE0(void) { 6248 int _fpu_cmp = 0; 6249 uint32_t _cf = 0; 6250 int _df = 1; 6251 uint32_t _flag_k = FK_NONE; 6252 uint32_t _flag_a = 0, _flag_b = 0; 6253 uint32_t _itail_tgt = 0; 6254 RECOMP_REGS_LOCALS 6255 RECOMP_ENTER(0x2B03EEE0u); 6256 6257 L_2B03EEE0: 6258 PUSH32(esp, ebp); /* 0x2B03EEE0: push ebp */ 6259 ebp = esp; /* 0x2B03EEE1: mov ebp, esp */ 6260 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6262 esp = esp - 8; /* 0x2B03EEE3: sub esp, 8 */ 6263 _flag_k = FK_CMP; 6264 eax = ebp + (-0x8); /* 0x2B03EEE6: lea eax, [ebp - 8] */ 6265 PUSH32(esp, eax); /* 0x2B03EEE9: push eax */ 6266 MEM32(ebp + (-0x8)) = 0; /* 0x2B03EEEA: mov dword ptr [ebp - 8], 0 */ 6267 MEM32(ebp + (-0x4)) = 0; /* 0x2B03EEF1: mov dword ptr [ebp - 4], 0 */ 6268 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03EEF8: call dword ptr [0x2b0b53cc] */ 6269 RECOMP_FLAGS_IN(); 6270 ecx = eax; /* 0x2B03EEFE: mov ecx, eax */ 6271 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03EF00: call dword ptr [0x2b0b53ac] */ 6272 RECOMP_FLAGS_IN(); 6273 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF06: mov ecx, dword ptr [0x2b0eea2c] */ 6274 /* test ecx, ecx */ /* 0x2B03EF0C: test ecx, ecx */ 6275 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6276 _cf = 0; 6277 _flag_k = FK_TEST; 6278 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EF70; /* 0x2B03EF0E: je 0x2b03ef70 */ 6279 L_2B03EF10: 6280 edx = ecx + 0x28; /* 0x2B03EF10: lea edx, [ecx + 0x28] */ 6281 PUSH32(esp, edx); /* 0x2B03EF13: push edx */ 6282 eax = ebp + (-0x8); /* 0x2B03EF14: lea eax, [ebp - 8] */ 6283 PUSH32(esp, eax); /* 0x2B03EF17: push eax */ 6284 RECOMP_ICALL(0x2B0402A0u); /* 0x2B03EF18: call 0x2b0402a0 */ /* not lifted */ 6285 RECOMP_FLAGS_IN(); 6286 /* test LO8(eax), LO8(eax) */ /* 0x2B03EF1D: test al, al */ 6287 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6288 _cf = 0; 6289 _flag_k = FK_NARROW(FK_TEST, 24); 6290 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EF2C; /* 0x2B03EF1F: je 0x2b03ef2c */ 6291 L_2B03EF21: 6292 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF21: mov ecx, dword ptr [0x2b0eea2c] */ 6293 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03EF27: call 0x2b03a2b0 */ /* not lifted */ 6294 RECOMP_FLAGS_IN(); 6295 L_2B03EF2C: 6296 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF2C: mov ecx, dword ptr [0x2b0eea2c] */ 6297 edx = ecx + 0x34; /* 0x2B03EF32: lea edx, [ecx + 0x34] */ 6298 PUSH32(esp, edx); /* 0x2B03EF35: push edx */ 6299 eax = ebp + (-0x8); /* 0x2B03EF36: lea eax, [ebp - 8] */ 6300 PUSH32(esp, eax); /* 0x2B03EF39: push eax */ 6301 RECOMP_ICALL(0x2B0402A0u); /* 0x2B03EF3A: call 0x2b0402a0 */ /* not lifted */ 6302 RECOMP_FLAGS_IN(); 6303 /* test LO8(eax), LO8(eax) */ /* 0x2B03EF3F: test al, al */ 6304 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6305 _cf = 0; 6306 _flag_k = FK_NARROW(FK_TEST, 24); 6307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EF4E; /* 0x2B03EF41: je 0x2b03ef4e */ 6308 L_2B03EF43: 6309 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF43: mov ecx, dword ptr [0x2b0eea2c] */ 6310 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03EF49: call 0x2b03a2b0 */ /* not lifted */ 6311 RECOMP_FLAGS_IN(); 6312 L_2B03EF4E: 6313 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF4E: mov ecx, dword ptr [0x2b0eea2c] */ 6314 edx = ecx + 0x40; /* 0x2B03EF54: lea edx, [ecx + 0x40] */ 6315 PUSH32(esp, edx); /* 0x2B03EF57: push edx */ 6316 eax = ebp + (-0x8); /* 0x2B03EF58: lea eax, [ebp - 8] */ 6317 PUSH32(esp, eax); /* 0x2B03EF5B: push eax */ 6318 RECOMP_ICALL(0x2B0402A0u); /* 0x2B03EF5C: call 0x2b0402a0 */ /* not lifted */ 6319 RECOMP_FLAGS_IN(); 6320 /* test LO8(eax), LO8(eax) */ /* 0x2B03EF61: test al, al */ 6321 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6322 _cf = 0; 6323 _flag_k = FK_NARROW(FK_TEST, 24); 6324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EF70; /* 0x2B03EF63: je 0x2b03ef70 */ 6325 L_2B03EF65: 6326 ecx = MEM32(0x2B0EEA2C); /* 0x2B03EF65: mov ecx, dword ptr [0x2b0eea2c] */ 6327 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03EF6B: call 0x2b03a2b0 */ /* not lifted */ 6328 RECOMP_FLAGS_IN(); 6329 L_2B03EF70: 6330 esp = ebp; /* 0x2B03EF70: mov esp, ebp */ 6331 ebp = POP32_VAL(esp); /* 0x2B03EF72: pop ebp */ 6332 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EF73: ret */ 6333 RECOMP_REGS_OUT(); 6334 } 6335 6336 void sub_2B03EF80(void) { 6337 int _fpu_cmp = 0; 6338 uint32_t _cf = 0; 6339 int _df = 1; 6340 uint32_t _flag_k = FK_NONE; 6341 uint32_t _flag_a = 0, _flag_b = 0; 6342 uint32_t _itail_tgt = 0; 6343 RECOMP_REGS_LOCALS 6344 RECOMP_ENTER(0x2B03EF80u); 6345 6346 L_2B03EF80: 6347 PUSH32(esp, ebp); /* 0x2B03EF80: push ebp */ 6348 ebp = esp; /* 0x2B03EF81: mov ebp, esp */ 6349 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03EF83: push -1 */ 6350 PUSH32(esp, 0x2B0AEB90u); /* 0x2B03EF85: push 0x2b0aeb90 */ 6351 eax = MEM32(FS_BASE + (0)); /* 0x2B03EF8A: mov eax, dword ptr fs:[0] */ 6352 PUSH32(esp, eax); /* 0x2B03EF90: push eax */ 6353 MEM32(FS_BASE + (0)) = esp; /* 0x2B03EF91: mov dword ptr fs:[0], esp */ 6354 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 6355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6356 esp = esp - 0x1Cu; /* 0x2B03EF98: sub esp, 0x1c */ 6357 _flag_k = FK_CMP; 6358 PUSH32(esp, ebx); /* 0x2B03EF9B: push ebx */ 6359 PUSH32(esp, esi); /* 0x2B03EF9C: push esi */ 6360 esi = ecx; /* 0x2B03EF9D: mov esi, ecx */ 6361 PUSH32(esp, edi); /* 0x2B03EF9F: push edi */ 6362 MEM32(ebp + (-0x1C)) = esi; /* 0x2B03EFA0: mov dword ptr [ebp - 0x1c], esi */ 6363 RECOMP_ICALL(0x2B03A220u); /* 0x2B03EFA3: call 0x2b03a220 */ /* not lifted */ 6364 RECOMP_FLAGS_IN(); 6365 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B03EFA8: mov al, byte ptr [ebp - 0xd] */ 6366 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6367 ebx = 0; /* 0x2B03EFAB: xor ebx, ebx */ 6368 _cf = 0; 6369 _flag_k = FK_TEST; 6370 PUSH32(esp, 0x10u); /* 0x2B03EFAD: push 0x10 */ 6371 MEM32(ebp + (-0x4)) = ebx; /* 0x2B03EFAF: mov dword ptr [ebp - 4], ebx */ 6372 MEM8(esi + 0x28) = (uint8_t)(LO8(eax)); /* 0x2B03EFB2: mov byte ptr [esi + 0x28], al */ 6373 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03EFB5: call 0x2b0ab212 */ /* not lifted */ 6374 RECOMP_FLAGS_IN(); 6375 MEM32(eax) = eax; /* 0x2B03EFBA: mov dword ptr [eax], eax */ 6376 MEM32(eax + 0x4) = eax; /* 0x2B03EFBC: mov dword ptr [eax + 4], eax */ 6377 MEM32(esi + 0x2C) = eax; /* 0x2B03EFBF: mov dword ptr [esi + 0x2c], eax */ 6378 MEM32(esi + 0x30) = ebx; /* 0x2B03EFC2: mov dword ptr [esi + 0x30], ebx */ 6379 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B03EFC5: mov cl, byte ptr [ebp - 0xd] */ 6380 PUSH32(esp, 0x10u); /* 0x2B03EFC8: push 0x10 */ 6381 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B03EFCA: mov byte ptr [ebp - 4], 1 */ 6382 MEM8(esi + 0x34) = (uint8_t)(LO8(ecx)); /* 0x2B03EFCE: mov byte ptr [esi + 0x34], cl */ 6383 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03EFD1: call 0x2b0ab212 */ /* not lifted */ 6384 RECOMP_FLAGS_IN(); 6385 MEM32(eax) = eax; /* 0x2B03EFD6: mov dword ptr [eax], eax */ 6386 MEM32(eax + 0x4) = eax; /* 0x2B03EFD8: mov dword ptr [eax + 4], eax */ 6387 MEM32(esi + 0x38) = eax; /* 0x2B03EFDB: mov dword ptr [esi + 0x38], eax */ 6388 MEM32(esi + 0x3C) = ebx; /* 0x2B03EFDE: mov dword ptr [esi + 0x3c], ebx */ 6389 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B03EFE1: mov dl, byte ptr [ebp - 0xd] */ 6390 PUSH32(esp, 0x10u); /* 0x2B03EFE4: push 0x10 */ 6391 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03EFE6: mov byte ptr [ebp - 4], 2 */ 6392 MEM8(esi + 0x40) = (uint8_t)(LO8(edx)); /* 0x2B03EFEA: mov byte ptr [esi + 0x40], dl */ 6393 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03EFED: call 0x2b0ab212 */ /* not lifted */ 6394 RECOMP_FLAGS_IN(); 6395 MEM32(eax) = eax; /* 0x2B03EFF2: mov dword ptr [eax], eax */ 6396 MEM32(eax + 0x4) = eax; /* 0x2B03EFF4: mov dword ptr [eax + 4], eax */ 6397 MEM32(esi + 0x44) = eax; /* 0x2B03EFF7: mov dword ptr [esi + 0x44], eax */ 6398 MEM32(esi + 0x48) = ebx; /* 0x2B03EFFA: mov dword ptr [esi + 0x48], ebx */ 6399 ecx = MEM32(esi + 0x8); /* 0x2B03EFFD: mov ecx, dword ptr [esi + 8] */ 6400 eax = MEM32(esi + 0x4); /* 0x2B03F000: mov eax, dword ptr [esi + 4] */ 6401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 6402 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6403 ecx = ecx + 0x14u; /* 0x2B03F003: add ecx, 0x14 */ 6404 _flag_k = FK_ADD; 6405 PUSH32(esp, 0x38u); /* 0x2B03F006: push 0x38 */ 6406 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F008: mov byte ptr [ebp - 4], 3 */ 6407 MEM32(esi) = 0x2B0B6934u; /* 0x2B03F00C: mov dword ptr [esi], 0x2b0b6934 */ 6408 MEM32(esi + 0x64) = ebx; /* 0x2B03F012: mov dword ptr [esi + 0x64], ebx */ 6409 MEM32(ebp + (-0x28)) = eax; /* 0x2B03F015: mov dword ptr [ebp - 0x28], eax */ 6410 MEM32(ebp + (-0x24)) = ecx; /* 0x2B03F018: mov dword ptr [ebp - 0x24], ecx */ 6411 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03F01B: call 0x2b0ab212 */ /* not lifted */ 6412 RECOMP_FLAGS_IN(); 6413 edi = eax; /* 0x2B03F020: mov edi, eax */ 6414 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6415 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6416 esp = esp + 0x10u; /* 0x2B03F022: add esp, 0x10 */ 6417 _flag_k = FK_ADD; 6418 MEM32(ebp + (-0x18)) = edi; /* 0x2B03F025: mov dword ptr [ebp - 0x18], edi */ 6419 /* cmp edi, ebx */ /* 0x2B03F028: cmp edi, ebx */ 6420 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6422 _flag_k = FK_CMP; 6423 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B03F02A: mov byte ptr [ebp - 4], 4 */ 6424 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F055; /* 0x2B03F02E: je 0x2b03f055 */ 6425 L_2B03F030: 6426 edx = MEM32(0x2B0EE9DC); /* 0x2B03F030: mov edx, dword ptr [0x2b0ee9dc] */ 6427 PUSH32(esp, edx); /* 0x2B03F036: push edx */ 6428 PUSH32(esp, 0xFAAu); /* 0x2B03F037: push 0xfaa */ 6429 PUSH32(esp, 0x18Bu); /* 0x2B03F03C: push 0x18b */ 6430 eax = ebp + (-0x28); /* 0x2B03F041: lea eax, [ebp - 0x28] */ 6431 PUSH32(esp, eax); /* 0x2B03F044: push eax */ 6432 ecx = edi; /* 0x2B03F045: mov ecx, edi */ 6433 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03F047: call dword ptr [0x2b0b5948] */ 6434 RECOMP_FLAGS_IN(); 6435 MEM32(edi) = 0x2B0B68F4u; /* 0x2B03F04D: mov dword ptr [edi], 0x2b0b68f4 */ 6436 goto L_2B03F057; /* 0x2B03F053: jmp 0x2b03f057 */ 6437 L_2B03F055: 6438 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6439 edi = 0; /* 0x2B03F055: xor edi, edi */ 6440 _cf = 0; 6441 _flag_k = FK_TEST; 6442 L_2B03F057: 6443 PUSH32(esp, 0x38u); /* 0x2B03F057: push 0x38 */ 6444 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F059: mov byte ptr [ebp - 4], 3 */ 6445 MEM32(esi + 0x50) = edi; /* 0x2B03F05D: mov dword ptr [esi + 0x50], edi */ 6446 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03F060: call 0x2b0ab212 */ /* not lifted */ 6447 RECOMP_FLAGS_IN(); 6448 edi = eax; /* 0x2B03F065: mov edi, eax */ 6449 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6451 esp = esp + 4; /* 0x2B03F067: add esp, 4 */ 6452 _flag_k = FK_ADD; 6453 MEM32(ebp + (-0x18)) = edi; /* 0x2B03F06A: mov dword ptr [ebp - 0x18], edi */ 6454 /* cmp edi, ebx */ /* 0x2B03F06D: cmp edi, ebx */ 6455 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6457 _flag_k = FK_CMP; 6458 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B03F06F: mov byte ptr [ebp - 4], 5 */ 6459 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F09A; /* 0x2B03F073: je 0x2b03f09a */ 6460 L_2B03F075: 6461 ecx = MEM32(0x2B0EE9DC); /* 0x2B03F075: mov ecx, dword ptr [0x2b0ee9dc] */ 6462 PUSH32(esp, ecx); /* 0x2B03F07B: push ecx */ 6463 PUSH32(esp, 0xFAAu); /* 0x2B03F07C: push 0xfaa */ 6464 PUSH32(esp, 0x18Cu); /* 0x2B03F081: push 0x18c */ 6465 edx = ebp + (-0x28); /* 0x2B03F086: lea edx, [ebp - 0x28] */ 6466 PUSH32(esp, edx); /* 0x2B03F089: push edx */ 6467 ecx = edi; /* 0x2B03F08A: mov ecx, edi */ 6468 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03F08C: call dword ptr [0x2b0b5948] */ 6469 RECOMP_FLAGS_IN(); 6470 MEM32(edi) = 0x2B0B68F4u; /* 0x2B03F092: mov dword ptr [edi], 0x2b0b68f4 */ 6471 goto L_2B03F09C; /* 0x2B03F098: jmp 0x2b03f09c */ 6472 L_2B03F09A: 6473 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6474 edi = 0; /* 0x2B03F09A: xor edi, edi */ 6475 _cf = 0; 6476 _flag_k = FK_TEST; 6477 L_2B03F09C: 6478 PUSH32(esp, 0x38u); /* 0x2B03F09C: push 0x38 */ 6479 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F09E: mov byte ptr [ebp - 4], 3 */ 6480 MEM32(esi + 0x54) = edi; /* 0x2B03F0A2: mov dword ptr [esi + 0x54], edi */ 6481 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03F0A5: call 0x2b0ab212 */ /* not lifted */ 6482 RECOMP_FLAGS_IN(); 6483 edi = eax; /* 0x2B03F0AA: mov edi, eax */ 6484 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6485 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6486 esp = esp + 4; /* 0x2B03F0AC: add esp, 4 */ 6487 _flag_k = FK_ADD; 6488 MEM32(ebp + (-0x18)) = edi; /* 0x2B03F0AF: mov dword ptr [ebp - 0x18], edi */ 6489 /* cmp edi, ebx */ /* 0x2B03F0B2: cmp edi, ebx */ 6490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6492 _flag_k = FK_CMP; 6493 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B03F0B4: mov byte ptr [ebp - 4], 6 */ 6494 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F0DE; /* 0x2B03F0B8: je 0x2b03f0de */ 6495 L_2B03F0BA: 6496 eax = MEM32(0x2B0EE9DC); /* 0x2B03F0BA: mov eax, dword ptr [0x2b0ee9dc] */ 6497 PUSH32(esp, eax); /* 0x2B03F0BF: push eax */ 6498 PUSH32(esp, 0xFA2u); /* 0x2B03F0C0: push 0xfa2 */ 6499 PUSH32(esp, 0x18Du); /* 0x2B03F0C5: push 0x18d */ 6500 ecx = ebp + (-0x28); /* 0x2B03F0CA: lea ecx, [ebp - 0x28] */ 6501 PUSH32(esp, ecx); /* 0x2B03F0CD: push ecx */ 6502 ecx = edi; /* 0x2B03F0CE: mov ecx, edi */ 6503 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03F0D0: call dword ptr [0x2b0b5948] */ 6504 RECOMP_FLAGS_IN(); 6505 MEM32(edi) = 0x2B0B68F4u; /* 0x2B03F0D6: mov dword ptr [edi], 0x2b0b68f4 */ 6506 goto L_2B03F0E0; /* 0x2B03F0DC: jmp 0x2b03f0e0 */ 6507 L_2B03F0DE: 6508 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6509 edi = 0; /* 0x2B03F0DE: xor edi, edi */ 6510 _cf = 0; 6511 _flag_k = FK_TEST; 6512 L_2B03F0E0: 6513 eax = MEM32(esi + 0x50); /* 0x2B03F0E0: mov eax, dword ptr [esi + 0x50] */ 6514 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B03F0E3: cmp byte ptr [esi + 0x1c], bl */ 6515 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6517 _flag_k = FK_NARROW(FK_CMP, 24); 6518 MEM32(esi + 0x58) = edi; /* 0x2B03F0E6: mov dword ptr [esi + 0x58], edi */ 6519 MEM32(esi + 0x4C) = eax; /* 0x2B03F0E9: mov dword ptr [esi + 0x4c], eax */ 6520 ecx = MEM32(eax + 0x14); /* 0x2B03F0EC: mov ecx, dword ptr [eax + 0x14] */ 6521 ecx = MEM32(ecx + 0x8); /* 0x2B03F0EF: mov ecx, dword ptr [ecx + 8] */ 6522 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F0F2: mov byte ptr [ebp - 4], 3 */ 6523 MEM32(esi + 0x20) = ecx; /* 0x2B03F0F6: mov dword ptr [esi + 0x20], ecx */ 6524 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F103; /* 0x2B03F0F9: je 0x2b03f103 */ 6525 L_2B03F0FB: 6526 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B03F0FB: cmp byte ptr [esi + 0xc], bl */ 6527 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6529 _flag_k = FK_NARROW(FK_CMP, 24); 6530 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F103; /* 0x2B03F0FE: je 0x2b03f103 */ 6531 L_2B03F100: 6532 MEM32(esi + 0x18) = ecx; /* 0x2B03F100: mov dword ptr [esi + 0x18], ecx */ 6533 L_2B03F103: 6534 eax = MEM32(eax + 0x14); /* 0x2B03F103: mov eax, dword ptr [eax + 0x14] */ 6535 edx = MEM32(eax + 0x8); /* 0x2B03F106: mov edx, dword ptr [eax + 8] */ 6536 eax = MEM32(eax + 0xC); /* 0x2B03F109: mov eax, dword ptr [eax + 0xc] */ 6537 PUSH32(esp, 0x70u); /* 0x2B03F10C: push 0x70 */ 6538 MEM32(ebp + (-0x18)) = edx; /* 0x2B03F10E: mov dword ptr [ebp - 0x18], edx */ 6539 MEM32(ebp + (-0x14)) = eax; /* 0x2B03F111: mov dword ptr [ebp - 0x14], eax */ 6540 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03F114: call 0x2b0ab212 */ /* not lifted */ 6541 RECOMP_FLAGS_IN(); 6542 edi = eax; /* 0x2B03F119: mov edi, eax */ 6543 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6545 esp = esp + 4; /* 0x2B03F11B: add esp, 4 */ 6546 _flag_k = FK_ADD; 6547 MEM32(ebp + (-0x20)) = edi; /* 0x2B03F11E: mov dword ptr [ebp - 0x20], edi */ 6548 /* cmp edi, ebx */ /* 0x2B03F121: cmp edi, ebx */ 6549 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6551 _flag_k = FK_CMP; 6552 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B03F123: mov byte ptr [ebp - 4], 7 */ 6553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F168; /* 0x2B03F127: je 0x2b03f168 */ 6554 L_2B03F129: 6555 ecx = MEM32(0x2B0EE9DC); /* 0x2B03F129: mov ecx, dword ptr [0x2b0ee9dc] */ 6556 PUSH32(esp, ecx); /* 0x2B03F12F: push ecx */ 6557 ecx = MEM32(ebp + (-0x18)); /* 0x2B03F130: mov ecx, dword ptr [ebp - 0x18] */ 6558 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03F133: push -1 */ 6559 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03F135: push -1 */ 6560 PUSH32(esp, 0xEu); /* 0x2B03F137: push 0xe */ 6561 PUSH32(esp, ebx); /* 0x2B03F139: push ebx */ 6562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6564 esp = esp - 0x10u; /* 0x2B03F13A: sub esp, 0x10 */ 6565 _flag_k = FK_CMP; 6566 edx = esp; /* 0x2B03F13D: mov edx, esp */ 6567 MEM32(edx) = ebx; /* 0x2B03F13F: mov dword ptr [edx], ebx */ 6568 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6569 eax = 0; /* 0x2B03F141: xor eax, eax */ 6570 _cf = 0; 6571 _flag_k = FK_TEST; 6572 MEM32(edx + 0x4) = eax; /* 0x2B03F143: mov dword ptr [edx + 4], eax */ 6573 eax = MEM32(ebp + (-0x14)); /* 0x2B03F146: mov eax, dword ptr [ebp - 0x14] */ 6574 PUSH32(esp, 0xFACu); /* 0x2B03F149: push 0xfac */ 6575 MEM32(edx + 0x8) = eax; /* 0x2B03F14E: mov dword ptr [edx + 8], eax */ 6576 PUSH32(esp, ebx); /* 0x2B03F151: push ebx */ 6577 MEM32(edx + 0xC) = ecx; /* 0x2B03F152: mov dword ptr [edx + 0xc], ecx */ 6578 PUSH32(esp, ebx); /* 0x2B03F155: push ebx */ 6579 ecx = edi; /* 0x2B03F156: mov ecx, edi */ 6580 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B03F158: call dword ptr [0x2b0b5c00] */ 6581 RECOMP_FLAGS_IN(); 6582 MEM32(edi) = 0x2B0B6164u; /* 0x2B03F15E: mov dword ptr [edi], 0x2b0b6164 */ 6583 ecx = edi; /* 0x2B03F164: mov ecx, edi */ 6584 goto L_2B03F16A; /* 0x2B03F166: jmp 0x2b03f16a */ 6585 L_2B03F168: 6586 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6587 ecx = 0; /* 0x2B03F168: xor ecx, ecx */ 6588 _cf = 0; 6589 _flag_k = FK_TEST; 6590 L_2B03F16A: 6591 PUSH32(esp, 0x2B0E721Cu); /* 0x2B03F16A: push 0x2b0e721c */ 6592 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F16F: mov byte ptr [ebp - 4], 3 */ 6593 MEM32(esi + 0x60) = ecx; /* 0x2B03F173: mov dword ptr [esi + 0x60], ecx */ 6594 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B03F176: call dword ptr [0x2b0b5c04] */ 6595 RECOMP_FLAGS_IN(); 6596 PUSH32(esp, 0x9Cu); /* 0x2B03F17C: push 0x9c */ 6597 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03F181: call 0x2b0ab212 */ /* not lifted */ 6598 RECOMP_FLAGS_IN(); 6599 edi = eax; /* 0x2B03F186: mov edi, eax */ 6600 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6601 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6602 esp = esp + 4; /* 0x2B03F188: add esp, 4 */ 6603 _flag_k = FK_ADD; 6604 MEM32(ebp + (-0x20)) = edi; /* 0x2B03F18B: mov dword ptr [ebp - 0x20], edi */ 6605 /* cmp edi, ebx */ /* 0x2B03F18E: cmp edi, ebx */ 6606 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6608 _flag_k = FK_CMP; 6609 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B03F190: mov byte ptr [ebp - 4], 8 */ 6610 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F1C7; /* 0x2B03F194: je 0x2b03f1c7 */ 6611 L_2B03F196: 6612 edx = MEM32(0x2B0EE9DC); /* 0x2B03F196: mov edx, dword ptr [0x2b0ee9dc] */ 6613 PUSH32(esp, edx); /* 0x2B03F19C: push edx */ 6614 PUSH32(esp, ebx); /* 0x2B03F19D: push ebx */ 6615 PUSH32(esp, ebx); /* 0x2B03F19E: push ebx */ 6616 PUSH32(esp, 0xFBFu); /* 0x2B03F19F: push 0xfbf */ 6617 PUSH32(esp, ebx); /* 0x2B03F1A4: push ebx */ 6618 PUSH32(esp, ebx); /* 0x2B03F1A5: push ebx */ 6619 PUSH32(esp, ebx); /* 0x2B03F1A6: push ebx */ 6620 eax = 0x15u; /* 0x2B03F1A7: mov eax, 0x15 */ 6621 PUSH32(esp, eax); /* 0x2B03F1AC: push eax */ 6622 eax = 0xC0u; /* 0x2B03F1AD: mov eax, 0xc0 */ 6623 PUSH32(esp, eax); /* 0x2B03F1B2: push eax */ 6624 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6625 eax = 0; /* 0x2B03F1B3: xor eax, eax */ 6626 _cf = 0; 6627 _flag_k = FK_TEST; 6628 PUSH32(esp, eax); /* 0x2B03F1B5: push eax */ 6629 PUSH32(esp, ebx); /* 0x2B03F1B6: push ebx */ 6630 ecx = edi; /* 0x2B03F1B7: mov ecx, edi */ 6631 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B03F1B9: call dword ptr [0x2b0b5af0] */ 6632 RECOMP_FLAGS_IN(); 6633 MEM32(edi) = 0x2B0B642Cu; /* 0x2B03F1BF: mov dword ptr [edi], 0x2b0b642c */ 6634 goto L_2B03F1C9; /* 0x2B03F1C5: jmp 0x2b03f1c9 */ 6635 L_2B03F1C7: 6636 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6637 edi = 0; /* 0x2B03F1C7: xor edi, edi */ 6638 _cf = 0; 6639 _flag_k = FK_TEST; 6640 L_2B03F1C9: 6641 PUSH32(esp, esi); /* 0x2B03F1C9: push esi */ 6642 PUSH32(esp, 0x2B0401D0u); /* 0x2B03F1CA: push 0x2b0401d0 */ 6643 ecx = edi; /* 0x2B03F1CF: mov ecx, edi */ 6644 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03F1D1: mov byte ptr [ebp - 4], 3 */ 6645 MEM32(esi + 0x5C) = edi; /* 0x2B03F1D5: mov dword ptr [esi + 0x5c], edi */ 6646 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B03F1D8: call dword ptr [0x2b0b5b44] */ 6647 RECOMP_FLAGS_IN(); 6648 PUSH32(esp, 0x2B0E7214u); /* 0x2B03F1DE: push 0x2b0e7214 */ 6649 PUSH32(esp, 1); /* 0x2B03F1E3: push 1 */ 6650 ecx = esi; /* 0x2B03F1E5: mov ecx, esi */ 6651 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B03F1E7: call 0x2b03a2d0 */ /* not lifted */ 6652 RECOMP_FLAGS_IN(); 6653 PUSH32(esp, ebx); /* 0x2B03F1EC: push ebx */ 6654 ecx = esi; /* 0x2B03F1ED: mov ecx, esi */ 6655 RECOMP_ICALL(0x2B03A350u); /* 0x2B03F1EF: call 0x2b03a350 */ /* not lifted */ 6656 RECOMP_FLAGS_IN(); 6657 ecx = esi; /* 0x2B03F1F4: mov ecx, esi */ 6658 RECOMP_ICALL(0x2B03F530u); /* 0x2B03F1F6: call 0x2b03f530 */ /* not lifted */ 6659 RECOMP_FLAGS_IN(); 6660 ecx = MEM32(0x2B0EE9F0); /* 0x2B03F1FB: mov ecx, dword ptr [0x2b0ee9f0] */ 6661 PUSH32(esp, 0x2B0E7204u); /* 0x2B03F201: push 0x2b0e7204 */ 6662 PUSH32(esp, 0x2B0E7214u); /* 0x2B03F206: push 0x2b0e7214 */ 6663 PUSH32(esp, 0x13u); /* 0x2B03F20B: push 0x13 */ 6664 PUSH32(esp, 0x18Fu); /* 0x2B03F20D: push 0x18f */ 6665 PUSH32(esp, 0x18Eu); /* 0x2B03F212: push 0x18e */ 6666 PUSH32(esp, esi); /* 0x2B03F217: push esi */ 6667 RECOMP_ICALL(0x2B03BF90u); /* 0x2B03F218: call 0x2b03bf90 */ /* not lifted */ 6668 RECOMP_FLAGS_IN(); 6669 ecx = MEM32(ebp + (-0xC)); /* 0x2B03F21D: mov ecx, dword ptr [ebp - 0xc] */ 6670 edi = POP32_VAL(esp); /* 0x2B03F220: pop edi */ 6671 eax = esi; /* 0x2B03F221: mov eax, esi */ 6672 esi = POP32_VAL(esp); /* 0x2B03F223: pop esi */ 6673 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03F224: mov dword ptr fs:[0], ecx */ 6674 ebx = POP32_VAL(esp); /* 0x2B03F22B: pop ebx */ 6675 esp = ebp; /* 0x2B03F22C: mov esp, ebp */ 6676 ebp = POP32_VAL(esp); /* 0x2B03F22E: pop ebp */ 6677 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F22F: ret */ 6678 RECOMP_REGS_OUT(); 6679 } 6680 6681 void sub_2B03F230(void) { 6682 int _fpu_cmp = 0; 6683 uint32_t _cf = 0; 6684 int _df = 1; 6685 uint32_t _flag_k = FK_NONE; 6686 uint32_t _flag_a = 0, _flag_b = 0; 6687 uint32_t _itail_tgt = 0; 6688 RECOMP_REGS_LOCALS 6689 RECOMP_ENTER(0x2B03F230u); 6690 6691 L_2B03F230: 6692 PUSH32(esp, ebp); /* 0x2B03F230: push ebp */ 6693 ebp = esp; /* 0x2B03F231: mov ebp, esp */ 6694 PUSH32(esp, esi); /* 0x2B03F233: push esi */ 6695 esi = ecx; /* 0x2B03F234: mov esi, ecx */ 6696 RECOMP_ICALL(0x2B03F260u); /* 0x2B03F236: call 0x2b03f260 */ /* not lifted */ 6697 RECOMP_FLAGS_IN(); 6698 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B03F23B: test byte ptr [ebp + 8], 1 */ 6699 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 6700 _cf = 0; 6701 _flag_k = FK_NARROW(FK_TEST, 24); 6702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F24A; /* 0x2B03F23F: je 0x2b03f24a */ 6703 L_2B03F241: 6704 PUSH32(esp, esi); /* 0x2B03F241: push esi */ 6705 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03F242: call 0x2b0ab1ba */ /* not lifted */ 6706 RECOMP_FLAGS_IN(); 6707 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6709 esp = esp + 4; /* 0x2B03F247: add esp, 4 */ 6710 _flag_k = FK_ADD; 6711 L_2B03F24A: 6712 eax = esi; /* 0x2B03F24A: mov eax, esi */ 6713 esi = POP32_VAL(esp); /* 0x2B03F24C: pop esi */ 6714 ebp = POP32_VAL(esp); /* 0x2B03F24D: pop ebp */ 6715 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03F24E: ret 4 */ 6716 RECOMP_REGS_OUT(); 6717 } 6718 6719 void sub_2B03F260(void) { 6720 int _fpu_cmp = 0; 6721 uint32_t _cf = 0; 6722 int _df = 1; 6723 uint32_t _flag_k = FK_NONE; 6724 uint32_t _flag_a = 0, _flag_b = 0; 6725 uint32_t _itail_tgt = 0; 6726 RECOMP_REGS_LOCALS 6727 RECOMP_ENTER(0x2B03F260u); 6728 6729 L_2B03F260: 6730 PUSH32(esp, ebp); /* 0x2B03F260: push ebp */ 6731 ebp = esp; /* 0x2B03F261: mov ebp, esp */ 6732 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03F263: push -1 */ 6733 PUSH32(esp, 0x2B0AEBC9u); /* 0x2B03F265: push 0x2b0aebc9 */ 6734 eax = MEM32(FS_BASE + (0)); /* 0x2B03F26A: mov eax, dword ptr fs:[0] */ 6735 PUSH32(esp, eax); /* 0x2B03F270: push eax */ 6736 MEM32(FS_BASE + (0)) = esp; /* 0x2B03F271: mov dword ptr fs:[0], esp */ 6737 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6739 esp = esp - 0xCu; /* 0x2B03F278: sub esp, 0xc */ 6740 _flag_k = FK_CMP; 6741 PUSH32(esp, ebx); /* 0x2B03F27B: push ebx */ 6742 ebx = ecx; /* 0x2B03F27C: mov ebx, ecx */ 6743 PUSH32(esp, esi); /* 0x2B03F27E: push esi */ 6744 PUSH32(esp, edi); /* 0x2B03F27F: push edi */ 6745 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03F280: mov dword ptr [ebp - 0x14], ebx */ 6746 MEM32(ebx) = 0x2B0B6934u; /* 0x2B03F283: mov dword ptr [ebx], 0x2b0b6934 */ 6747 MEM32(ebp + (-0x4)) = 3; /* 0x2B03F289: mov dword ptr [ebp - 4], 3 */ 6748 RECOMP_ICALL(0x2B03FC20u); /* 0x2B03F290: call 0x2b03fc20 */ /* not lifted */ 6749 RECOMP_FLAGS_IN(); 6750 ecx = MEM32(ebx + 0x50); /* 0x2B03F295: mov ecx, dword ptr [ebx + 0x50] */ 6751 /* test ecx, ecx */ /* 0x2B03F298: test ecx, ecx */ 6752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6753 _cf = 0; 6754 _flag_k = FK_TEST; 6755 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F2A2; /* 0x2B03F29A: je 0x2b03f2a2 */ 6756 L_2B03F29C: 6757 eax = MEM32(ecx); /* 0x2B03F29C: mov eax, dword ptr [ecx] */ 6758 PUSH32(esp, 1); /* 0x2B03F29E: push 1 */ 6759 RECOMP_ICALL(MEM32(eax)); /* 0x2B03F2A0: call dword ptr [eax] */ 6760 RECOMP_FLAGS_IN(); 6761 L_2B03F2A2: 6762 ecx = MEM32(ebx + 0x58); /* 0x2B03F2A2: mov ecx, dword ptr [ebx + 0x58] */ 6763 /* test ecx, ecx */ /* 0x2B03F2A5: test ecx, ecx */ 6764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6765 _cf = 0; 6766 _flag_k = FK_TEST; 6767 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F2AF; /* 0x2B03F2A7: je 0x2b03f2af */ 6768 L_2B03F2A9: 6769 edx = MEM32(ecx); /* 0x2B03F2A9: mov edx, dword ptr [ecx] */ 6770 PUSH32(esp, 1); /* 0x2B03F2AB: push 1 */ 6771 RECOMP_ICALL(MEM32(edx)); /* 0x2B03F2AD: call dword ptr [edx] */ 6772 RECOMP_FLAGS_IN(); 6773 L_2B03F2AF: 6774 ecx = MEM32(ebx + 0x54); /* 0x2B03F2AF: mov ecx, dword ptr [ebx + 0x54] */ 6775 /* test ecx, ecx */ /* 0x2B03F2B2: test ecx, ecx */ 6776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6777 _cf = 0; 6778 _flag_k = FK_TEST; 6779 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F2BC; /* 0x2B03F2B4: je 0x2b03f2bc */ 6780 L_2B03F2B6: 6781 eax = MEM32(ecx); /* 0x2B03F2B6: mov eax, dword ptr [ecx] */ 6782 PUSH32(esp, 1); /* 0x2B03F2B8: push 1 */ 6783 RECOMP_ICALL(MEM32(eax)); /* 0x2B03F2BA: call dword ptr [eax] */ 6784 RECOMP_FLAGS_IN(); 6785 L_2B03F2BC: 6786 ecx = MEM32(ebx + 0x60); /* 0x2B03F2BC: mov ecx, dword ptr [ebx + 0x60] */ 6787 /* test ecx, ecx */ /* 0x2B03F2BF: test ecx, ecx */ 6788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6789 _cf = 0; 6790 _flag_k = FK_TEST; 6791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F2C9; /* 0x2B03F2C1: je 0x2b03f2c9 */ 6792 L_2B03F2C3: 6793 edx = MEM32(ecx); /* 0x2B03F2C3: mov edx, dword ptr [ecx] */ 6794 PUSH32(esp, 1); /* 0x2B03F2C5: push 1 */ 6795 RECOMP_ICALL(MEM32(edx)); /* 0x2B03F2C7: call dword ptr [edx] */ 6796 RECOMP_FLAGS_IN(); 6797 L_2B03F2C9: 6798 ecx = MEM32(ebx + 0x5C); /* 0x2B03F2C9: mov ecx, dword ptr [ebx + 0x5c] */ 6799 /* test ecx, ecx */ /* 0x2B03F2CC: test ecx, ecx */ 6800 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6801 _cf = 0; 6802 _flag_k = FK_TEST; 6803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F2D6; /* 0x2B03F2CE: je 0x2b03f2d6 */ 6804 L_2B03F2D0: 6805 eax = MEM32(ecx); /* 0x2B03F2D0: mov eax, dword ptr [ecx] */ 6806 PUSH32(esp, 1); /* 0x2B03F2D2: push 1 */ 6807 RECOMP_ICALL(MEM32(eax)); /* 0x2B03F2D4: call dword ptr [eax] */ 6808 RECOMP_FLAGS_IN(); 6809 L_2B03F2D6: 6810 eax = MEM32(ebx + 0x44); /* 0x2B03F2D6: mov eax, dword ptr [ebx + 0x44] */ 6811 esi = MEM32(eax); /* 0x2B03F2D9: mov esi, dword ptr [eax] */ 6812 /* cmp esi, eax */ /* 0x2B03F2DB: cmp esi, eax */ 6813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6815 _flag_k = FK_CMP; 6816 edi = ebx + 0x40; /* 0x2B03F2DD: lea edi, [ebx + 0x40] */ 6817 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03F2E0: mov byte ptr [ebp - 4], 2 */ 6818 MEM32(ebp + (-0x10)) = eax; /* 0x2B03F2E4: mov dword ptr [ebp - 0x10], eax */ 6819 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F2FE; /* 0x2B03F2E7: je 0x2b03f2fe */ 6820 L_2B03F2E9: 6821 eax = esi; /* 0x2B03F2E9: mov eax, esi */ 6822 esi = MEM32(esi); /* 0x2B03F2EB: mov esi, dword ptr [esi] */ 6823 PUSH32(esp, eax); /* 0x2B03F2ED: push eax */ 6824 ecx = ebp + (-0x18); /* 0x2B03F2EE: lea ecx, [ebp - 0x18] */ 6825 PUSH32(esp, ecx); /* 0x2B03F2F1: push ecx */ 6826 ecx = edi; /* 0x2B03F2F2: mov ecx, edi */ 6827 RECOMP_ICALL(0x2B03BC50u); /* 0x2B03F2F4: call 0x2b03bc50 */ /* not lifted */ 6828 RECOMP_FLAGS_IN(); 6829 /* cmp esi, MEM32(ebp + (-0x10)) */ /* 0x2B03F2F9: cmp esi, dword ptr [ebp - 0x10] */ 6830 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 6831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6832 _flag_k = FK_CMP; 6833 RECOMP_BACKEDGE(); 6834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F2E9; /* 0x2B03F2FC: jne 0x2b03f2e9 */ 6835 L_2B03F2FE: 6836 eax = MEM32(edi + 0x4); /* 0x2B03F2FE: mov eax, dword ptr [edi + 4] */ 6837 PUSH32(esp, eax); /* 0x2B03F301: push eax */ 6838 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03F302: call 0x2b0ab1ba */ /* not lifted */ 6839 RECOMP_FLAGS_IN(); 6840 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6841 eax = 0; /* 0x2B03F307: xor eax, eax */ 6842 _cf = 0; 6843 _flag_k = FK_TEST; 6844 MEM32(edi + 0x4) = eax; /* 0x2B03F309: mov dword ptr [edi + 4], eax */ 6845 MEM32(edi + 0x8) = eax; /* 0x2B03F30C: mov dword ptr [edi + 8], eax */ 6846 eax = MEM32(ebx + 0x38); /* 0x2B03F30F: mov eax, dword ptr [ebx + 0x38] */ 6847 esi = MEM32(eax); /* 0x2B03F312: mov esi, dword ptr [eax] */ 6848 edi = ebx + 0x34; /* 0x2B03F314: lea edi, [ebx + 0x34] */ 6849 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6850 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6851 esp = esp + 4; /* 0x2B03F317: add esp, 4 */ 6852 _flag_k = FK_ADD; 6853 /* cmp esi, eax */ /* 0x2B03F31A: cmp esi, eax */ 6854 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6856 _flag_k = FK_CMP; 6857 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B03F31C: mov byte ptr [ebp - 4], 1 */ 6858 MEM32(ebp + (-0x10)) = eax; /* 0x2B03F320: mov dword ptr [ebp - 0x10], eax */ 6859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F33A; /* 0x2B03F323: je 0x2b03f33a */ 6860 L_2B03F325: 6861 eax = esi; /* 0x2B03F325: mov eax, esi */ 6862 esi = MEM32(esi); /* 0x2B03F327: mov esi, dword ptr [esi] */ 6863 PUSH32(esp, eax); /* 0x2B03F329: push eax */ 6864 edx = ebp + (-0x18); /* 0x2B03F32A: lea edx, [ebp - 0x18] */ 6865 PUSH32(esp, edx); /* 0x2B03F32D: push edx */ 6866 ecx = edi; /* 0x2B03F32E: mov ecx, edi */ 6867 RECOMP_ICALL(0x2B03BC50u); /* 0x2B03F330: call 0x2b03bc50 */ /* not lifted */ 6868 RECOMP_FLAGS_IN(); 6869 /* cmp esi, MEM32(ebp + (-0x10)) */ /* 0x2B03F335: cmp esi, dword ptr [ebp - 0x10] */ 6870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 6871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6872 _flag_k = FK_CMP; 6873 RECOMP_BACKEDGE(); 6874 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F325; /* 0x2B03F338: jne 0x2b03f325 */ 6875 L_2B03F33A: 6876 eax = MEM32(edi + 0x4); /* 0x2B03F33A: mov eax, dword ptr [edi + 4] */ 6877 PUSH32(esp, eax); /* 0x2B03F33D: push eax */ 6878 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03F33E: call 0x2b0ab1ba */ /* not lifted */ 6879 RECOMP_FLAGS_IN(); 6880 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6881 eax = 0; /* 0x2B03F343: xor eax, eax */ 6882 _cf = 0; 6883 _flag_k = FK_TEST; 6884 MEM32(edi + 0x4) = eax; /* 0x2B03F345: mov dword ptr [edi + 4], eax */ 6885 MEM32(edi + 0x8) = eax; /* 0x2B03F348: mov dword ptr [edi + 8], eax */ 6886 edi = ebx + 0x28; /* 0x2B03F34B: lea edi, [ebx + 0x28] */ 6887 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x2B03F34E: mov byte ptr [ebp - 4], al */ 6888 eax = MEM32(edi + 0x4); /* 0x2B03F351: mov eax, dword ptr [edi + 4] */ 6889 esi = MEM32(eax); /* 0x2B03F354: mov esi, dword ptr [eax] */ 6890 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6891 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6892 esp = esp + 4; /* 0x2B03F356: add esp, 4 */ 6893 _flag_k = FK_ADD; 6894 /* cmp esi, eax */ /* 0x2B03F359: cmp esi, eax */ 6895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6897 _flag_k = FK_CMP; 6898 MEM32(ebp + (-0x10)) = eax; /* 0x2B03F35B: mov dword ptr [ebp - 0x10], eax */ 6899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F375; /* 0x2B03F35E: je 0x2b03f375 */ 6900 L_2B03F360: 6901 eax = esi; /* 0x2B03F360: mov eax, esi */ 6902 esi = MEM32(esi); /* 0x2B03F362: mov esi, dword ptr [esi] */ 6903 PUSH32(esp, eax); /* 0x2B03F364: push eax */ 6904 eax = ebp + (-0x18); /* 0x2B03F365: lea eax, [ebp - 0x18] */ 6905 PUSH32(esp, eax); /* 0x2B03F368: push eax */ 6906 ecx = edi; /* 0x2B03F369: mov ecx, edi */ 6907 RECOMP_ICALL(0x2B03BC50u); /* 0x2B03F36B: call 0x2b03bc50 */ /* not lifted */ 6908 RECOMP_FLAGS_IN(); 6909 /* cmp esi, MEM32(ebp + (-0x10)) */ /* 0x2B03F370: cmp esi, dword ptr [ebp - 0x10] */ 6910 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 6911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6912 _flag_k = FK_CMP; 6913 RECOMP_BACKEDGE(); 6914 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F360; /* 0x2B03F373: jne 0x2b03f360 */ 6915 L_2B03F375: 6916 eax = MEM32(edi + 0x4); /* 0x2B03F375: mov eax, dword ptr [edi + 4] */ 6917 PUSH32(esp, eax); /* 0x2B03F378: push eax */ 6918 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03F379: call 0x2b0ab1ba */ /* not lifted */ 6919 RECOMP_FLAGS_IN(); 6920 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6921 eax = 0; /* 0x2B03F37E: xor eax, eax */ 6922 _cf = 0; 6923 _flag_k = FK_TEST; 6924 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6926 esp = esp + 4; /* 0x2B03F380: add esp, 4 */ 6927 _flag_k = FK_ADD; 6928 ecx = ebx; /* 0x2B03F383: mov ecx, ebx */ 6929 MEM32(edi + 0x4) = eax; /* 0x2B03F385: mov dword ptr [edi + 4], eax */ 6930 MEM32(edi + 0x8) = eax; /* 0x2B03F388: mov dword ptr [edi + 8], eax */ 6931 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03F38B: mov dword ptr [ebp - 4], 0xffffffff */ 6932 RECOMP_ICALL(0x2B03A290u); /* 0x2B03F392: call 0x2b03a290 */ /* not lifted */ 6933 RECOMP_FLAGS_IN(); 6934 ecx = MEM32(ebp + (-0xC)); /* 0x2B03F397: mov ecx, dword ptr [ebp - 0xc] */ 6935 edi = POP32_VAL(esp); /* 0x2B03F39A: pop edi */ 6936 esi = POP32_VAL(esp); /* 0x2B03F39B: pop esi */ 6937 ebx = POP32_VAL(esp); /* 0x2B03F39C: pop ebx */ 6938 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03F39D: mov dword ptr fs:[0], ecx */ 6939 esp = ebp; /* 0x2B03F3A4: mov esp, ebp */ 6940 ebp = POP32_VAL(esp); /* 0x2B03F3A6: pop ebp */ 6941 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F3A7: ret */ 6942 RECOMP_REGS_OUT(); 6943 } 6944 6945 void sub_2B03F3B0(void) { 6946 int _fpu_cmp = 0; 6947 uint32_t _cf = 0; 6948 int _df = 1; 6949 uint32_t _flag_k = FK_NONE; 6950 uint32_t _flag_a = 0, _flag_b = 0; 6951 uint32_t _itail_tgt = 0; 6952 RECOMP_REGS_LOCALS 6953 RECOMP_ENTER(0x2B03F3B0u); 6954 6955 L_2B03F3B0: 6956 PUSH32(esp, ebp); /* 0x2B03F3B0: push ebp */ 6957 ebp = esp; /* 0x2B03F3B1: mov ebp, esp */ 6958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6960 esp = esp - 8; /* 0x2B03F3B3: sub esp, 8 */ 6961 _flag_k = FK_CMP; 6962 PUSH32(esp, esi); /* 0x2B03F3B6: push esi */ 6963 esi = ecx; /* 0x2B03F3B7: mov esi, ecx */ 6964 ecx = MEM32(esi + 0x8); /* 0x2B03F3B9: mov ecx, dword ptr [esi + 8] */ 6965 eax = MEM32(esi + 0x4); /* 0x2B03F3BC: mov eax, dword ptr [esi + 4] */ 6966 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 6967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6968 ecx = ecx + 0x14u; /* 0x2B03F3BF: add ecx, 0x14 */ 6969 _flag_k = FK_ADD; 6970 edx = ebp + (-0x8); /* 0x2B03F3C2: lea edx, [ebp - 8] */ 6971 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03F3C5: mov dword ptr [ebp - 4], ecx */ 6972 ecx = MEM32(esi + 0x4C); /* 0x2B03F3C8: mov ecx, dword ptr [esi + 0x4c] */ 6973 PUSH32(esp, edx); /* 0x2B03F3CB: push edx */ 6974 MEM32(ebp + (-0x8)) = eax; /* 0x2B03F3CC: mov dword ptr [ebp - 8], eax */ 6975 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B03F3CF: call dword ptr [0x2b0b5940] */ 6976 RECOMP_FLAGS_IN(); 6977 eax = MEM32(esi + 0x4C); /* 0x2B03F3D5: mov eax, dword ptr [esi + 0x4c] */ 6978 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B03F3D8: mov byte ptr [eax + 9], 1 */ 6979 ecx = MEM32(esi + 0x60); /* 0x2B03F3DC: mov ecx, dword ptr [esi + 0x60] */ 6980 edx = MEM32(ecx); /* 0x2B03F3DF: mov edx, dword ptr [ecx] */ 6981 eax = ebp + (-0x8); /* 0x2B03F3E1: lea eax, [ebp - 8] */ 6982 PUSH32(esp, eax); /* 0x2B03F3E4: push eax */ 6983 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B03F3E5: call dword ptr [edx + 0x14] */ 6984 RECOMP_FLAGS_IN(); 6985 ecx = esi; /* 0x2B03F3E8: mov ecx, esi */ 6986 RECOMP_ICALL(0x2B03F400u); /* 0x2B03F3EA: call 0x2b03f400 */ /* not lifted */ 6987 RECOMP_FLAGS_IN(); 6988 ecx = MEM32(esi + 0x5C); /* 0x2B03F3EF: mov ecx, dword ptr [esi + 0x5c] */ 6989 edx = MEM32(ecx); /* 0x2B03F3F2: mov edx, dword ptr [ecx] */ 6990 eax = ebp + (-0x8); /* 0x2B03F3F4: lea eax, [ebp - 8] */ 6991 PUSH32(esp, eax); /* 0x2B03F3F7: push eax */ 6992 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B03F3F8: call dword ptr [edx + 0x14] */ 6993 RECOMP_FLAGS_IN(); 6994 esi = POP32_VAL(esp); /* 0x2B03F3FB: pop esi */ 6995 esp = ebp; /* 0x2B03F3FC: mov esp, ebp */ 6996 ebp = POP32_VAL(esp); /* 0x2B03F3FE: pop ebp */ 6997 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F3FF: ret */ 6998 RECOMP_REGS_OUT(); 6999 } 7000 7001 void sub_2B03F400(void) { 7002 int _fpu_cmp = 0; 7003 uint32_t _cf = 0; 7004 int _df = 1; 7005 uint32_t _flag_k = FK_NONE; 7006 uint32_t _flag_a = 0, _flag_b = 0; 7007 uint32_t _itail_tgt = 0; 7008 RECOMP_REGS_LOCALS 7009 RECOMP_ENTER(0x2B03F400u); 7010 7011 L_2B03F400: 7012 PUSH32(esp, esi); /* 0x2B03F400: push esi */ 7013 esi = ecx; /* 0x2B03F401: mov esi, ecx */ 7014 SET_LO8(eax, MEM8(esi + 0x1C)); /* 0x2B03F403: mov al, byte ptr [esi + 0x1c] */ 7015 /* test LO8(eax), LO8(eax) */ /* 0x2B03F406: test al, al */ 7016 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7017 _cf = 0; 7018 _flag_k = FK_NARROW(FK_TEST, 24); 7019 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F476; /* 0x2B03F408: je 0x2b03f476 */ 7020 L_2B03F40A: 7021 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B03F40A: mov al, byte ptr [esi + 0xc] */ 7022 /* test LO8(eax), LO8(eax) */ /* 0x2B03F40D: test al, al */ 7023 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7024 _cf = 0; 7025 _flag_k = FK_NARROW(FK_TEST, 24); 7026 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F476; /* 0x2B03F40F: je 0x2b03f476 */ 7027 L_2B03F411: 7028 eax = MEM32(esi + 0x64); /* 0x2B03F411: mov eax, dword ptr [esi + 0x64] */ 7029 /* test eax, eax */ /* 0x2B03F414: test eax, eax */ 7030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7031 _cf = 0; 7032 _flag_k = FK_TEST; 7033 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F439; /* 0x2B03F416: jne 0x2b03f439 */ 7034 L_2B03F418: 7035 eax = esi + 0x28; /* 0x2B03F418: lea eax, [esi + 0x28] */ 7036 PUSH32(esp, eax); /* 0x2B03F41B: push eax */ 7037 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F41C: call 0x2b03f9a0 */ /* not lifted */ 7038 RECOMP_FLAGS_IN(); 7039 ecx = esi + 0x34; /* 0x2B03F421: lea ecx, [esi + 0x34] */ 7040 PUSH32(esp, ecx); /* 0x2B03F424: push ecx */ 7041 ecx = esi; /* 0x2B03F425: mov ecx, esi */ 7042 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F427: call 0x2b03fa10 */ /* not lifted */ 7043 RECOMP_FLAGS_IN(); 7044 edx = esi + 0x40; /* 0x2B03F42C: lea edx, [esi + 0x40] */ 7045 PUSH32(esp, edx); /* 0x2B03F42F: push edx */ 7046 ecx = esi; /* 0x2B03F430: mov ecx, esi */ 7047 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F432: call 0x2b03fa10 */ /* not lifted */ 7048 RECOMP_FLAGS_IN(); 7049 esi = POP32_VAL(esp); /* 0x2B03F437: pop esi */ 7050 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F438: ret */ 7051 L_2B03F439: 7052 /* cmp eax, 2 */ /* 0x2B03F439: cmp eax, 2 */ 7053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 7054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7055 _flag_k = FK_CMP; 7056 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F44E; /* 0x2B03F43C: jne 0x2b03f44e */ 7057 L_2B03F43E: 7058 eax = esi + 0x40; /* 0x2B03F43E: lea eax, [esi + 0x40] */ 7059 PUSH32(esp, eax); /* 0x2B03F441: push eax */ 7060 ecx = esi; /* 0x2B03F442: mov ecx, esi */ 7061 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F444: call 0x2b03f9a0 */ /* not lifted */ 7062 RECOMP_FLAGS_IN(); 7063 ecx = esi + 0x28; /* 0x2B03F449: lea ecx, [esi + 0x28] */ 7064 goto L_2B03F484; /* 0x2B03F44C: jmp 0x2b03f484 */ 7065 L_2B03F44E: 7066 /* cmp eax, 1 */ /* 0x2B03F44E: cmp eax, 1 */ 7067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7069 _flag_k = FK_CMP; 7070 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F497; /* 0x2B03F451: jne 0x2b03f497 */ 7071 L_2B03F453: 7072 eax = esi + 0x34; /* 0x2B03F453: lea eax, [esi + 0x34] */ 7073 PUSH32(esp, eax); /* 0x2B03F456: push eax */ 7074 ecx = esi; /* 0x2B03F457: mov ecx, esi */ 7075 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F459: call 0x2b03f9a0 */ /* not lifted */ 7076 RECOMP_FLAGS_IN(); 7077 ecx = esi + 0x28; /* 0x2B03F45E: lea ecx, [esi + 0x28] */ 7078 PUSH32(esp, ecx); /* 0x2B03F461: push ecx */ 7079 ecx = esi; /* 0x2B03F462: mov ecx, esi */ 7080 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F464: call 0x2b03fa10 */ /* not lifted */ 7081 RECOMP_FLAGS_IN(); 7082 edx = esi + 0x40; /* 0x2B03F469: lea edx, [esi + 0x40] */ 7083 PUSH32(esp, edx); /* 0x2B03F46C: push edx */ 7084 ecx = esi; /* 0x2B03F46D: mov ecx, esi */ 7085 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F46F: call 0x2b03fa10 */ /* not lifted */ 7086 RECOMP_FLAGS_IN(); 7087 esi = POP32_VAL(esp); /* 0x2B03F474: pop esi */ 7088 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F475: ret */ 7089 L_2B03F476: 7090 eax = esi + 0x28; /* 0x2B03F476: lea eax, [esi + 0x28] */ 7091 PUSH32(esp, eax); /* 0x2B03F479: push eax */ 7092 ecx = esi; /* 0x2B03F47A: mov ecx, esi */ 7093 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F47C: call 0x2b03fa10 */ /* not lifted */ 7094 RECOMP_FLAGS_IN(); 7095 ecx = esi + 0x40; /* 0x2B03F481: lea ecx, [esi + 0x40] */ 7096 L_2B03F484: 7097 PUSH32(esp, ecx); /* 0x2B03F484: push ecx */ 7098 ecx = esi; /* 0x2B03F485: mov ecx, esi */ 7099 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F487: call 0x2b03fa10 */ /* not lifted */ 7100 RECOMP_FLAGS_IN(); 7101 edx = esi + 0x34; /* 0x2B03F48C: lea edx, [esi + 0x34] */ 7102 PUSH32(esp, edx); /* 0x2B03F48F: push edx */ 7103 ecx = esi; /* 0x2B03F490: mov ecx, esi */ 7104 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F492: call 0x2b03fa10 */ /* not lifted */ 7105 RECOMP_FLAGS_IN(); 7106 L_2B03F497: 7107 esi = POP32_VAL(esp); /* 0x2B03F497: pop esi */ 7108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F498: ret */ 7109 RECOMP_REGS_OUT(); 7110 } 7111 7112 void sub_2B03F4A0(void) { 7113 int _fpu_cmp = 0; 7114 uint32_t _cf = 0; 7115 int _df = 1; 7116 uint32_t _flag_k = FK_NONE; 7117 uint32_t _flag_a = 0, _flag_b = 0; 7118 uint32_t _itail_tgt = 0; 7119 RECOMP_REGS_LOCALS 7120 RECOMP_ENTER(0x2B03F4A0u); 7121 7122 L_2B03F4A0: 7123 PUSH32(esp, esi); /* 0x2B03F4A0: push esi */ 7124 esi = ecx; /* 0x2B03F4A1: mov esi, ecx */ 7125 SET_LO8(eax, MEM8(esi + 0x1C)); /* 0x2B03F4A3: mov al, byte ptr [esi + 0x1c] */ 7126 /* test LO8(eax), LO8(eax) */ /* 0x2B03F4A6: test al, al */ 7127 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7128 _cf = 0; 7129 _flag_k = FK_NARROW(FK_TEST, 24); 7130 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F525; /* 0x2B03F4A8: je 0x2b03f525 */ 7131 L_2B03F4AA: 7132 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B03F4AA: mov al, byte ptr [esi + 0xc] */ 7133 /* test LO8(eax), LO8(eax) */ /* 0x2B03F4AD: test al, al */ 7134 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7135 _cf = 0; 7136 _flag_k = FK_NARROW(FK_TEST, 24); 7137 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F525; /* 0x2B03F4AF: je 0x2b03f525 */ 7138 L_2B03F4B1: 7139 ecx = MEM32(esi + 0x4C); /* 0x2B03F4B1: mov ecx, dword ptr [esi + 0x4c] */ 7140 SET_LO8(eax, 1); /* 0x2B03F4B4: mov al, 1 */ 7141 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F4B6: mov byte ptr [ecx + 8], al */ 7142 edx = MEM32(esi + 0x60); /* 0x2B03F4B9: mov edx, dword ptr [esi + 0x60] */ 7143 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F4BC: mov byte ptr [edx + 8], al */ 7144 ecx = MEM32(esi + 0x5C); /* 0x2B03F4BF: mov ecx, dword ptr [esi + 0x5c] */ 7145 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F4C2: mov byte ptr [ecx + 8], al */ 7146 eax = MEM32(esi + 0x64); /* 0x2B03F4C5: mov eax, dword ptr [esi + 0x64] */ 7147 /* test eax, eax */ /* 0x2B03F4C8: test eax, eax */ 7148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7149 _cf = 0; 7150 _flag_k = FK_TEST; 7151 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F4DC; /* 0x2B03F4CA: jne 0x2b03f4dc */ 7152 L_2B03F4CC: 7153 edx = esi + 0x28; /* 0x2B03F4CC: lea edx, [esi + 0x28] */ 7154 PUSH32(esp, edx); /* 0x2B03F4CF: push edx */ 7155 ecx = esi; /* 0x2B03F4D0: mov ecx, esi */ 7156 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F4D2: call 0x2b03f9a0 */ /* not lifted */ 7157 RECOMP_FLAGS_IN(); 7158 eax = esi + 0x34; /* 0x2B03F4D7: lea eax, [esi + 0x34] */ 7159 goto L_2B03F512; /* 0x2B03F4DA: jmp 0x2b03f512 */ 7160 L_2B03F4DC: 7161 /* cmp eax, 2 */ /* 0x2B03F4DC: cmp eax, 2 */ 7162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 7163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7164 _flag_k = FK_CMP; 7165 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F504; /* 0x2B03F4DF: jne 0x2b03f504 */ 7166 L_2B03F4E1: 7167 edx = esi + 0x40; /* 0x2B03F4E1: lea edx, [esi + 0x40] */ 7168 PUSH32(esp, edx); /* 0x2B03F4E4: push edx */ 7169 ecx = esi; /* 0x2B03F4E5: mov ecx, esi */ 7170 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F4E7: call 0x2b03f9a0 */ /* not lifted */ 7171 RECOMP_FLAGS_IN(); 7172 eax = esi + 0x34; /* 0x2B03F4EC: lea eax, [esi + 0x34] */ 7173 PUSH32(esp, eax); /* 0x2B03F4EF: push eax */ 7174 ecx = esi; /* 0x2B03F4F0: mov ecx, esi */ 7175 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F4F2: call 0x2b03fa10 */ /* not lifted */ 7176 RECOMP_FLAGS_IN(); 7177 ecx = esi + 0x28; /* 0x2B03F4F7: lea ecx, [esi + 0x28] */ 7178 PUSH32(esp, ecx); /* 0x2B03F4FA: push ecx */ 7179 ecx = esi; /* 0x2B03F4FB: mov ecx, esi */ 7180 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F4FD: call 0x2b03fa10 */ /* not lifted */ 7181 RECOMP_FLAGS_IN(); 7182 esi = POP32_VAL(esp); /* 0x2B03F502: pop esi */ 7183 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F503: ret */ 7184 L_2B03F504: 7185 edx = esi + 0x34; /* 0x2B03F504: lea edx, [esi + 0x34] */ 7186 PUSH32(esp, edx); /* 0x2B03F507: push edx */ 7187 ecx = esi; /* 0x2B03F508: mov ecx, esi */ 7188 RECOMP_ICALL(0x2B03F9A0u); /* 0x2B03F50A: call 0x2b03f9a0 */ /* not lifted */ 7189 RECOMP_FLAGS_IN(); 7190 eax = esi + 0x28; /* 0x2B03F50F: lea eax, [esi + 0x28] */ 7191 L_2B03F512: 7192 PUSH32(esp, eax); /* 0x2B03F512: push eax */ 7193 ecx = esi; /* 0x2B03F513: mov ecx, esi */ 7194 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F515: call 0x2b03fa10 */ /* not lifted */ 7195 RECOMP_FLAGS_IN(); 7196 ecx = esi + 0x40; /* 0x2B03F51A: lea ecx, [esi + 0x40] */ 7197 PUSH32(esp, ecx); /* 0x2B03F51D: push ecx */ 7198 ecx = esi; /* 0x2B03F51E: mov ecx, esi */ 7199 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F520: call 0x2b03fa10 */ /* not lifted */ 7200 RECOMP_FLAGS_IN(); 7201 L_2B03F525: 7202 esi = POP32_VAL(esp); /* 0x2B03F525: pop esi */ 7203 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F526: ret */ 7204 RECOMP_REGS_OUT(); 7205 } 7206 7207 void sub_2B03F530(void) { 7208 int _fpu_cmp = 0; 7209 uint32_t _cf = 0; 7210 int _df = 1; 7211 uint32_t _flag_k = FK_NONE; 7212 uint32_t _flag_a = 0, _flag_b = 0; 7213 uint32_t _itail_tgt = 0; 7214 RECOMP_REGS_LOCALS 7215 RECOMP_ENTER(0x2B03F530u); 7216 7217 L_2B03F530: 7218 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 7219 SET_LO8(eax, 0); /* 0x2B03F530: xor al, al */ 7220 _cf = 0; 7221 _flag_k = FK_NARROW(FK_TEST, 24); 7222 PUSH32(esp, esi); /* 0x2B03F532: push esi */ 7223 esi = ecx; /* 0x2B03F533: mov esi, ecx */ 7224 ecx = MEM32(esi + 0x50); /* 0x2B03F535: mov ecx, dword ptr [esi + 0x50] */ 7225 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F538: mov byte ptr [ecx + 8], al */ 7226 edx = MEM32(esi + 0x54); /* 0x2B03F53B: mov edx, dword ptr [esi + 0x54] */ 7227 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F53E: mov byte ptr [edx + 8], al */ 7228 ecx = MEM32(esi + 0x58); /* 0x2B03F541: mov ecx, dword ptr [esi + 0x58] */ 7229 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F544: mov byte ptr [ecx + 8], al */ 7230 edx = MEM32(esi + 0x4C); /* 0x2B03F547: mov edx, dword ptr [esi + 0x4c] */ 7231 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F54A: mov byte ptr [edx + 8], al */ 7232 ecx = MEM32(esi + 0x60); /* 0x2B03F54D: mov ecx, dword ptr [esi + 0x60] */ 7233 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F550: mov byte ptr [ecx + 8], al */ 7234 edx = MEM32(esi + 0x5C); /* 0x2B03F553: mov edx, dword ptr [esi + 0x5c] */ 7235 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03F556: mov byte ptr [edx + 8], al */ 7236 eax = esi + 0x28; /* 0x2B03F559: lea eax, [esi + 0x28] */ 7237 PUSH32(esp, eax); /* 0x2B03F55C: push eax */ 7238 ecx = esi; /* 0x2B03F55D: mov ecx, esi */ 7239 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F55F: call 0x2b03fa10 */ /* not lifted */ 7240 RECOMP_FLAGS_IN(); 7241 ecx = esi + 0x40; /* 0x2B03F564: lea ecx, [esi + 0x40] */ 7242 PUSH32(esp, ecx); /* 0x2B03F567: push ecx */ 7243 ecx = esi; /* 0x2B03F568: mov ecx, esi */ 7244 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F56A: call 0x2b03fa10 */ /* not lifted */ 7245 RECOMP_FLAGS_IN(); 7246 edx = esi + 0x34; /* 0x2B03F56F: lea edx, [esi + 0x34] */ 7247 PUSH32(esp, edx); /* 0x2B03F572: push edx */ 7248 ecx = esi; /* 0x2B03F573: mov ecx, esi */ 7249 RECOMP_ICALL(0x2B03FA10u); /* 0x2B03F575: call 0x2b03fa10 */ /* not lifted */ 7250 RECOMP_FLAGS_IN(); 7251 esi = POP32_VAL(esp); /* 0x2B03F57A: pop esi */ 7252 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F57B: ret */ 7253 RECOMP_REGS_OUT(); 7254 } 7255 7256 void sub_2B03F580(void) { 7257 int _fpu_cmp = 0; 7258 uint32_t _cf = 0; 7259 int _df = 1; 7260 uint32_t _flag_k = FK_NONE; 7261 uint32_t _flag_a = 0, _flag_b = 0; 7262 uint32_t _itail_tgt = 0; 7263 RECOMP_REGS_LOCALS 7264 RECOMP_ENTER(0x2B03F580u); 7265 7266 L_2B03F580: 7267 PUSH32(esp, ebp); /* 0x2B03F580: push ebp */ 7268 ebp = esp; /* 0x2B03F581: mov ebp, esp */ 7269 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x48u); 7270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7271 esp = esp - 0x48u; /* 0x2B03F583: sub esp, 0x48 */ 7272 _flag_k = FK_CMP; 7273 PUSH32(esp, ebx); /* 0x2B03F586: push ebx */ 7274 PUSH32(esp, esi); /* 0x2B03F587: push esi */ 7275 PUSH32(esp, edi); /* 0x2B03F588: push edi */ 7276 eax = ebp + (-0x18); /* 0x2B03F589: lea eax, [ebp - 0x18] */ 7277 esi = ecx; /* 0x2B03F58C: mov esi, ecx */ 7278 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7279 edi = 0; /* 0x2B03F58E: xor edi, edi */ 7280 _cf = 0; 7281 _flag_k = FK_TEST; 7282 PUSH32(esp, eax); /* 0x2B03F590: push eax */ 7283 MEM32(ebp + (-0x10)) = esi; /* 0x2B03F591: mov dword ptr [ebp - 0x10], esi */ 7284 MEM32(ebp + (-0x18)) = edi; /* 0x2B03F594: mov dword ptr [ebp - 0x18], edi */ 7285 MEM32(ebp + (-0x14)) = edi; /* 0x2B03F597: mov dword ptr [ebp - 0x14], edi */ 7286 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F59A: call dword ptr [0x2b0b53cc] */ 7287 RECOMP_FLAGS_IN(); 7288 ecx = eax; /* 0x2B03F5A0: mov ecx, eax */ 7289 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B03F5A2: call dword ptr [0x2b0b53ac] */ 7290 RECOMP_FLAGS_IN(); 7291 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B03F5A8: call dword ptr [0x2b0b596c] */ 7292 RECOMP_FLAGS_IN(); 7293 ecx = MEM32(eax + 0x14); /* 0x2B03F5AE: mov ecx, dword ptr [eax + 0x14] */ 7294 edx = MEM32(eax + 0x18); /* 0x2B03F5B1: mov edx, dword ptr [eax + 0x18] */ 7295 eax = MEM32(esi + 0x64); /* 0x2B03F5B4: mov eax, dword ptr [esi + 0x64] */ 7296 /* cmp eax, edi */ /* 0x2B03F5B7: cmp eax, edi */ 7297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7299 _flag_k = FK_CMP; 7300 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F5B9: mov ebx, dword ptr [0x2b0b5d6c] */ 7301 MEM32(ebp + (-0x20)) = ecx; /* 0x2B03F5BF: mov dword ptr [ebp - 0x20], ecx */ 7302 MEM32(ebp + (-0x1C)) = edx; /* 0x2B03F5C2: mov dword ptr [ebp - 0x1c], edx */ 7303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F697; /* 0x2B03F5C5: jne 0x2b03f697 */ 7304 L_2B03F5CB: 7305 ecx = MEM32(esi + 0x8); /* 0x2B03F5CB: mov ecx, dword ptr [esi + 8] */ 7306 eax = MEM32(esi + 0x4); /* 0x2B03F5CE: mov eax, dword ptr [esi + 4] */ 7307 esi = MEM32(0x2B0EE9DC); /* 0x2B03F5D1: mov esi, dword ptr [0x2b0ee9dc] */ 7308 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F5D7: mov dword ptr [ebp - 8], ecx */ 7309 MEM32(ebp + (-0xC)) = 1; /* 0x2B03F5DA: mov dword ptr [ebp - 0xc], 1 */ 7310 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F5E1: mov dword ptr [ebp - 4], eax */ 7311 ecx = 0x2B0E6FD0u; /* 0x2B03F5E4: mov ecx, 0x2b0e6fd0 */ 7312 L_2B03F5E9: 7313 edi = MEM32(ebp + (-0x4)); /* 0x2B03F5E9: mov edi, dword ptr [ebp - 4] */ 7314 eax = MEM32(ecx); /* 0x2B03F5EC: mov eax, dword ptr [ecx] */ 7315 edx = MEM32(ecx + 0x4); /* 0x2B03F5EE: mov edx, dword ptr [ecx + 4] */ 7316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7317 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7318 eax = eax + edi; /* 0x2B03F5F1: add eax, edi */ 7319 _flag_k = FK_ADD; 7320 /* test esi, esi */ /* 0x2B03F5F3: test esi, esi */ 7321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7322 _cf = 0; 7323 _flag_k = FK_TEST; 7324 edi = MEM32(ebp + (-0x8)); /* 0x2B03F5F5: mov edi, dword ptr [ebp - 8] */ 7325 edx = edx + edi + 0x14; /* 0x2B03F5F8: lea edx, [edx + edi + 0x14] */ 7326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F604; /* 0x2B03F5FC: je 0x2b03f604 */ 7327 L_2B03F5FE: 7328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 7329 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7330 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F5FE: add eax, dword ptr [esi + 0x2c] */ 7331 _flag_k = FK_ADD; 7332 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 7333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7334 edx = edx + MEM32(esi + 0x30); /* 0x2B03F601: add edx, dword ptr [esi + 0x30] */ 7335 _flag_k = FK_ADD; 7336 L_2B03F604: 7337 edi = eax + 0x30; /* 0x2B03F604: lea edi, [eax + 0x30] */ 7338 /* cmp MEM32(ebp + (-0x20)), edi */ /* 0x2B03F607: cmp dword ptr [ebp - 0x20], edi */ 7339 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(edi); 7340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7341 _flag_k = FK_CMP; 7342 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F60A: jg 0x2b03f61f */ 7343 L_2B03F60C: 7344 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F60C: cmp dword ptr [ebp - 0x20], eax */ 7345 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 7346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7347 _flag_k = FK_CMP; 7348 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F60F: jl 0x2b03f61f */ 7349 L_2B03F611: 7350 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F611: mov eax, dword ptr [ebp - 0x1c] */ 7351 edi = edx + 0x30; /* 0x2B03F614: lea edi, [edx + 0x30] */ 7352 /* cmp eax, edi */ /* 0x2B03F617: cmp eax, edi */ 7353 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7355 _flag_k = FK_CMP; 7356 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F61F; /* 0x2B03F619: jg 0x2b03f61f */ 7357 L_2B03F61B: 7358 /* cmp eax, edx */ /* 0x2B03F61B: cmp eax, edx */ 7359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7361 _flag_k = FK_CMP; 7362 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F636; /* 0x2B03F61D: jge 0x2b03f636 */ 7363 L_2B03F61F: 7364 edi = MEM32(ebp + (-0xC)); /* 0x2B03F61F: mov edi, dword ptr [ebp - 0xc] */ 7365 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 7366 edi = edi + 1; /* 0x2B03F622: inc edi */ 7367 _flag_k = FK_INC; 7368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 7369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7370 ecx = ecx + 0xCu; /* 0x2B03F623: add ecx, 0xc */ 7371 _flag_k = FK_ADD; 7372 /* cmp ecx, 0x2B0E7084u */ /* 0x2B03F626: cmp ecx, 0x2b0e7084 */ 7373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7084u); 7374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7375 _flag_k = FK_CMP; 7376 MEM32(ebp + (-0xC)) = edi; /* 0x2B03F62C: mov dword ptr [ebp - 0xc], edi */ 7377 RECOMP_BACKEDGE(); 7378 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F5E9; /* 0x2B03F62F: jl 0x2b03f5e9 */ 7379 L_2B03F631: 7380 goto L_2B03F701; /* 0x2B03F631: jmp 0x2b03f701 */ 7381 L_2B03F636: 7382 esi = MEM32(ebp + (-0xC)); /* 0x2B03F636: mov esi, dword ptr [ebp - 0xc] */ 7383 PUSH32(esp, 0); /* 0x2B03F639: push 0 */ 7384 esi = esi + esi * 2; /* 0x2B03F63B: lea esi, [esi + esi*2] */ 7385 edx = MEM32(esi * 4 + 0x2B0E6FC0); /* 0x2B03F63E: mov edx, dword ptr [esi*4 + 0x2b0e6fc0] */ 7386 PUSH32(esp, 1); /* 0x2B03F645: push 1 */ 7387 PUSH32(esp, edx); /* 0x2B03F647: push edx */ 7388 eax = ebp + (-0x18); /* 0x2B03F648: lea eax, [ebp - 0x18] */ 7389 PUSH32(esp, eax); /* 0x2B03F64B: push eax */ 7390 RECOMP_ICALL(ebx); /* 0x2B03F64C: call ebx */ 7391 RECOMP_FLAGS_IN(); 7392 ecx = eax; /* 0x2B03F64E: mov ecx, eax */ 7393 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F650: call dword ptr [0x2b0b5ed8] */ 7394 RECOMP_FLAGS_IN(); 7395 /* test LO8(eax), LO8(eax) */ /* 0x2B03F656: test al, al */ 7396 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7397 _cf = 0; 7398 _flag_k = FK_NARROW(FK_TEST, 24); 7399 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F658: je 0x2b03f701 */ 7400 L_2B03F65E: 7401 ecx = MEM32(esi * 4 + 0x2B0E6FC0); /* 0x2B03F65E: mov ecx, dword ptr [esi*4 + 0x2b0e6fc0] */ 7402 PUSH32(esp, ecx); /* 0x2B03F665: push ecx */ 7403 PUSH32(esp, 7); /* 0x2B03F666: push 7 */ 7404 L_2B03F668: 7405 edx = ebp + (-0x18); /* 0x2B03F668: lea edx, [ebp - 0x18] */ 7406 PUSH32(esp, edx); /* 0x2B03F66B: push edx */ 7407 RECOMP_ICALL(ebx); /* 0x2B03F66C: call ebx */ 7408 RECOMP_FLAGS_IN(); 7409 ecx = eax; /* 0x2B03F66E: mov ecx, eax */ 7410 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F670: call dword ptr [0x2b0b5edc] */ 7411 RECOMP_FLAGS_IN(); 7412 /* test LO8(eax), LO8(eax) */ /* 0x2B03F676: test al, al */ 7413 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7414 _cf = 0; 7415 _flag_k = FK_NARROW(FK_TEST, 24); 7416 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F678: jne 0x2b03f86c */ 7417 L_2B03F67E: 7418 PUSH32(esp, 0x18u); /* 0x2B03F67E: push 0x18 */ 7419 PUSH32(esp, 6); /* 0x2B03F680: push 6 */ 7420 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F682: call dword ptr [0x2b0b53cc] */ 7421 RECOMP_FLAGS_IN(); 7422 ecx = eax; /* 0x2B03F688: mov ecx, eax */ 7423 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F68A: call dword ptr [0x2b0b53c8] */ 7424 RECOMP_FLAGS_IN(); 7425 edi = POP32_VAL(esp); /* 0x2B03F690: pop edi */ 7426 esi = POP32_VAL(esp); /* 0x2B03F691: pop esi */ 7427 ebx = POP32_VAL(esp); /* 0x2B03F692: pop ebx */ 7428 esp = ebp; /* 0x2B03F693: mov esp, ebp */ 7429 ebp = POP32_VAL(esp); /* 0x2B03F695: pop ebp */ 7430 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F696: ret */ 7431 L_2B03F697: 7432 /* cmp eax, 1 */ /* 0x2B03F697: cmp eax, 1 */ 7433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7435 _flag_k = FK_CMP; 7436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F7A0; /* 0x2B03F69A: jne 0x2b03f7a0 */ 7437 L_2B03F6A0: 7438 ecx = MEM32(esi + 0x8); /* 0x2B03F6A0: mov ecx, dword ptr [esi + 8] */ 7439 edi = eax; /* 0x2B03F6A3: mov edi, eax */ 7440 eax = MEM32(esi + 0x4); /* 0x2B03F6A5: mov eax, dword ptr [esi + 4] */ 7441 esi = MEM32(0x2B0EE9DC); /* 0x2B03F6A8: mov esi, dword ptr [0x2b0ee9dc] */ 7442 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F6AE: mov dword ptr [ebp - 8], ecx */ 7443 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F6B1: mov dword ptr [ebp - 4], eax */ 7444 ecx = 0x2B0E7090u; /* 0x2B03F6B4: mov ecx, 0x2b0e7090 */ 7445 L_2B03F6B9: 7446 ebx = MEM32(ebp + (-0x4)); /* 0x2B03F6B9: mov ebx, dword ptr [ebp - 4] */ 7447 eax = MEM32(ecx); /* 0x2B03F6BC: mov eax, dword ptr [ecx] */ 7448 edx = MEM32(ecx + 0x4); /* 0x2B03F6BE: mov edx, dword ptr [ecx + 4] */ 7449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7451 eax = eax + ebx; /* 0x2B03F6C1: add eax, ebx */ 7452 _flag_k = FK_ADD; 7453 /* test esi, esi */ /* 0x2B03F6C3: test esi, esi */ 7454 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7455 _cf = 0; 7456 _flag_k = FK_TEST; 7457 ebx = MEM32(ebp + (-0x8)); /* 0x2B03F6C5: mov ebx, dword ptr [ebp - 8] */ 7458 edx = edx + ebx + 0x14; /* 0x2B03F6C8: lea edx, [edx + ebx + 0x14] */ 7459 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F6D4; /* 0x2B03F6CC: je 0x2b03f6d4 */ 7460 L_2B03F6CE: 7461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 7462 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7463 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F6CE: add eax, dword ptr [esi + 0x2c] */ 7464 _flag_k = FK_ADD; 7465 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 7466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7467 edx = edx + MEM32(esi + 0x30); /* 0x2B03F6D1: add edx, dword ptr [esi + 0x30] */ 7468 _flag_k = FK_ADD; 7469 L_2B03F6D4: 7470 ebx = eax + 0x30; /* 0x2B03F6D4: lea ebx, [eax + 0x30] */ 7471 /* cmp MEM32(ebp + (-0x20)), ebx */ /* 0x2B03F6D7: cmp dword ptr [ebp - 0x20], ebx */ 7472 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(ebx); 7473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7474 _flag_k = FK_CMP; 7475 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6DA: jg 0x2b03f6ef */ 7476 L_2B03F6DC: 7477 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F6DC: cmp dword ptr [ebp - 0x20], eax */ 7478 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 7479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7480 _flag_k = FK_CMP; 7481 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6DF: jl 0x2b03f6ef */ 7482 L_2B03F6E1: 7483 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F6E1: mov eax, dword ptr [ebp - 0x1c] */ 7484 ebx = edx + 0x30; /* 0x2B03F6E4: lea ebx, [edx + 0x30] */ 7485 /* cmp eax, ebx */ /* 0x2B03F6E7: cmp eax, ebx */ 7486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7488 _flag_k = FK_CMP; 7489 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F6EF; /* 0x2B03F6E9: jg 0x2b03f6ef */ 7490 L_2B03F6EB: 7491 /* cmp eax, edx */ /* 0x2B03F6EB: cmp eax, edx */ 7492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7494 _flag_k = FK_CMP; 7495 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F766; /* 0x2B03F6ED: jge 0x2b03f766 */ 7496 L_2B03F6EF: 7497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 7498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7499 ecx = ecx + 0xCu; /* 0x2B03F6EF: add ecx, 0xc */ 7500 _flag_k = FK_ADD; 7501 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 7502 edi = edi + 1; /* 0x2B03F6F2: inc edi */ 7503 _flag_k = FK_INC; 7504 /* cmp ecx, 0x2B0E7144u */ /* 0x2B03F6F3: cmp ecx, 0x2b0e7144 */ 7505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7144u); 7506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7507 _flag_k = FK_CMP; 7508 RECOMP_BACKEDGE(); 7509 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F6B9; /* 0x2B03F6F9: jl 0x2b03f6b9 */ 7510 L_2B03F6FB: 7511 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F6FB: mov ebx, dword ptr [0x2b0b5d6c] */ 7512 L_2B03F701: 7513 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 7514 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 7515 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 7516 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 7517 RECOMP_FLAGS_IN(); 7518 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 7519 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 7520 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 7521 RECOMP_FLAGS_IN(); 7522 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 7523 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 7524 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 7525 edi = eax; /* 0x2B03F719: mov edi, eax */ 7526 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 7527 RECOMP_FLAGS_IN(); 7528 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 7529 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 7530 RECOMP_FLAGS_IN(); 7531 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 7532 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 7533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7534 _flag_k = FK_CMP; 7535 esi = eax; /* 0x2B03F724: mov esi, eax */ 7536 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 7537 L_2B03F72C: 7538 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 7539 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 7540 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 7541 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 7542 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 7543 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 7544 RECOMP_FLAGS_IN(); 7545 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 7546 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 7547 RECOMP_FLAGS_IN(); 7548 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 7549 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7550 _cf = 0; 7551 _flag_k = FK_NARROW(FK_TEST, 24); 7552 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 7553 L_2B03F746: 7554 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 7555 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 7556 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 7557 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 7558 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 7559 RECOMP_FLAGS_IN(); 7560 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 7561 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 7562 RECOMP_FLAGS_IN(); 7563 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 7564 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7565 _cf = 0; 7566 _flag_k = FK_NARROW(FK_TEST, 24); 7567 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 7568 L_2B03F75F: 7569 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 7570 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 7571 L_2B03F766: 7572 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F766: mov ebx, dword ptr [0x2b0b5d6c] */ 7573 PUSH32(esp, 0); /* 0x2B03F76C: push 0 */ 7574 esi = edi + edi * 2; /* 0x2B03F76E: lea esi, [edi + edi*2] */ 7575 edx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F771: mov edx, dword ptr [esi*4 + 0x2b0e7080] */ 7576 PUSH32(esp, 2); /* 0x2B03F778: push 2 */ 7577 PUSH32(esp, edx); /* 0x2B03F77A: push edx */ 7578 eax = ebp + (-0x18); /* 0x2B03F77B: lea eax, [ebp - 0x18] */ 7579 PUSH32(esp, eax); /* 0x2B03F77E: push eax */ 7580 RECOMP_ICALL(ebx); /* 0x2B03F77F: call ebx */ 7581 RECOMP_FLAGS_IN(); 7582 ecx = eax; /* 0x2B03F781: mov ecx, eax */ 7583 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F783: call dword ptr [0x2b0b5ed8] */ 7584 RECOMP_FLAGS_IN(); 7585 /* test LO8(eax), LO8(eax) */ /* 0x2B03F789: test al, al */ 7586 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7587 _cf = 0; 7588 _flag_k = FK_NARROW(FK_TEST, 24); 7589 RECOMP_BACKEDGE(); 7590 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F78B: je 0x2b03f701 */ 7591 L_2B03F791: 7592 ecx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F791: mov ecx, dword ptr [esi*4 + 0x2b0e7080] */ 7593 PUSH32(esp, ecx); /* 0x2B03F798: push ecx */ 7594 PUSH32(esp, 3); /* 0x2B03F799: push 3 */ 7595 RECOMP_BACKEDGE(); 7596 goto L_2B03F668; /* 0x2B03F79B: jmp 0x2b03f668 */ 7597 L_2B03F7A0: 7598 /* cmp eax, 2 */ /* 0x2B03F7A0: cmp eax, 2 */ 7599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 7600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7601 _flag_k = FK_CMP; 7602 RECOMP_BACKEDGE(); 7603 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F7A3: jne 0x2b03f701 */ 7604 L_2B03F7A9: 7605 ecx = MEM32(esi + 0x8); /* 0x2B03F7A9: mov ecx, dword ptr [esi + 8] */ 7606 eax = MEM32(esi + 0x4); /* 0x2B03F7AC: mov eax, dword ptr [esi + 4] */ 7607 esi = MEM32(0x2B0EE9DC); /* 0x2B03F7AF: mov esi, dword ptr [0x2b0ee9dc] */ 7608 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F7B5: mov dword ptr [ebp - 8], ecx */ 7609 edi = 1; /* 0x2B03F7B8: mov edi, 1 */ 7610 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F7BD: mov dword ptr [ebp - 4], eax */ 7611 ecx = 0x2B0E7150u; /* 0x2B03F7C0: mov ecx, 0x2b0e7150 */ 7612 L_2B03F7C5: 7613 ebx = MEM32(ebp + (-0x4)); /* 0x2B03F7C5: mov ebx, dword ptr [ebp - 4] */ 7614 eax = MEM32(ecx); /* 0x2B03F7C8: mov eax, dword ptr [ecx] */ 7615 edx = MEM32(ecx + 0x4); /* 0x2B03F7CA: mov edx, dword ptr [ecx + 4] */ 7616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7617 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7618 eax = eax + ebx; /* 0x2B03F7CD: add eax, ebx */ 7619 _flag_k = FK_ADD; 7620 /* test esi, esi */ /* 0x2B03F7CF: test esi, esi */ 7621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7622 _cf = 0; 7623 _flag_k = FK_TEST; 7624 ebx = MEM32(ebp + (-0x8)); /* 0x2B03F7D1: mov ebx, dword ptr [ebp - 8] */ 7625 edx = edx + ebx + 0x14; /* 0x2B03F7D4: lea edx, [edx + ebx + 0x14] */ 7626 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F7E0; /* 0x2B03F7D8: je 0x2b03f7e0 */ 7627 L_2B03F7DA: 7628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 7629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7630 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F7DA: add eax, dword ptr [esi + 0x2c] */ 7631 _flag_k = FK_ADD; 7632 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 7633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7634 edx = edx + MEM32(esi + 0x30); /* 0x2B03F7DD: add edx, dword ptr [esi + 0x30] */ 7635 _flag_k = FK_ADD; 7636 L_2B03F7E0: 7637 ebx = eax + 0x30; /* 0x2B03F7E0: lea ebx, [eax + 0x30] */ 7638 /* cmp MEM32(ebp + (-0x20)), ebx */ /* 0x2B03F7E3: cmp dword ptr [ebp - 0x20], ebx */ 7639 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(ebx); 7640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7641 _flag_k = FK_CMP; 7642 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7E6: jg 0x2b03f7fb */ 7643 L_2B03F7E8: 7644 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F7E8: cmp dword ptr [ebp - 0x20], eax */ 7645 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 7646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7647 _flag_k = FK_CMP; 7648 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7EB: jl 0x2b03f7fb */ 7649 L_2B03F7ED: 7650 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F7ED: mov eax, dword ptr [ebp - 0x1c] */ 7651 ebx = edx + 0x30; /* 0x2B03F7F0: lea ebx, [edx + 0x30] */ 7652 /* cmp eax, ebx */ /* 0x2B03F7F3: cmp eax, ebx */ 7653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7655 _flag_k = FK_CMP; 7656 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7F5: jg 0x2b03f7fb */ 7657 L_2B03F7F7: 7658 /* cmp eax, edx */ /* 0x2B03F7F7: cmp eax, edx */ 7659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7661 _flag_k = FK_CMP; 7662 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F80C; /* 0x2B03F7F9: jge 0x2b03f80c */ 7663 L_2B03F7FB: 7664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 7665 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7666 ecx = ecx + 0xCu; /* 0x2B03F7FB: add ecx, 0xc */ 7667 _flag_k = FK_ADD; 7668 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 7669 edi = edi + 1; /* 0x2B03F7FE: inc edi */ 7670 _flag_k = FK_INC; 7671 /* cmp ecx, 0x2B0E71ECu */ /* 0x2B03F7FF: cmp ecx, 0x2b0e71ec */ 7672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E71ECu); 7673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7674 _flag_k = FK_CMP; 7675 RECOMP_BACKEDGE(); 7676 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7C5; /* 0x2B03F805: jl 0x2b03f7c5 */ 7677 L_2B03F807: 7678 RECOMP_BACKEDGE(); 7679 goto L_2B03F6FB; /* 0x2B03F807: jmp 0x2b03f6fb */ 7680 L_2B03F80C: 7681 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F80C: mov ebx, dword ptr [0x2b0b5d6c] */ 7682 PUSH32(esp, 0); /* 0x2B03F812: push 0 */ 7683 esi = edi + edi * 2; /* 0x2B03F814: lea esi, [edi + edi*2] */ 7684 edx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F817: mov edx, dword ptr [esi*4 + 0x2b0e7140] */ 7685 PUSH32(esp, 3); /* 0x2B03F81E: push 3 */ 7686 PUSH32(esp, edx); /* 0x2B03F820: push edx */ 7687 eax = ebp + (-0x18); /* 0x2B03F821: lea eax, [ebp - 0x18] */ 7688 PUSH32(esp, eax); /* 0x2B03F824: push eax */ 7689 RECOMP_ICALL(ebx); /* 0x2B03F825: call ebx */ 7690 RECOMP_FLAGS_IN(); 7691 ecx = eax; /* 0x2B03F827: mov ecx, eax */ 7692 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F829: call dword ptr [0x2b0b5ed8] */ 7693 RECOMP_FLAGS_IN(); 7694 /* test LO8(eax), LO8(eax) */ /* 0x2B03F82F: test al, al */ 7695 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7696 _cf = 0; 7697 _flag_k = FK_NARROW(FK_TEST, 24); 7698 RECOMP_BACKEDGE(); 7699 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F831: je 0x2b03f701 */ 7700 L_2B03F837: 7701 ecx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F837: mov ecx, dword ptr [esi*4 + 0x2b0e7140] */ 7702 PUSH32(esp, ecx); /* 0x2B03F83E: push ecx */ 7703 edx = ebp + (-0x18); /* 0x2B03F83F: lea edx, [ebp - 0x18] */ 7704 PUSH32(esp, 8); /* 0x2B03F842: push 8 */ 7705 PUSH32(esp, edx); /* 0x2B03F844: push edx */ 7706 RECOMP_ICALL(ebx); /* 0x2B03F845: call ebx */ 7707 RECOMP_FLAGS_IN(); 7708 ecx = eax; /* 0x2B03F847: mov ecx, eax */ 7709 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F849: call dword ptr [0x2b0b5edc] */ 7710 RECOMP_FLAGS_IN(); 7711 /* test LO8(eax), LO8(eax) */ /* 0x2B03F84F: test al, al */ 7712 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7713 _cf = 0; 7714 _flag_k = FK_NARROW(FK_TEST, 24); 7715 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F851: jne 0x2b03f86c */ 7716 L_2B03F853: 7717 PUSH32(esp, 0x18u); /* 0x2B03F853: push 0x18 */ 7718 PUSH32(esp, 6); /* 0x2B03F855: push 6 */ 7719 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F857: call dword ptr [0x2b0b53cc] */ 7720 RECOMP_FLAGS_IN(); 7721 ecx = eax; /* 0x2B03F85D: mov ecx, eax */ 7722 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F85F: call dword ptr [0x2b0b53c8] */ 7723 RECOMP_FLAGS_IN(); 7724 edi = POP32_VAL(esp); /* 0x2B03F865: pop edi */ 7725 esi = POP32_VAL(esp); /* 0x2B03F866: pop esi */ 7726 ebx = POP32_VAL(esp); /* 0x2B03F867: pop ebx */ 7727 esp = ebp; /* 0x2B03F868: mov esp, ebp */ 7728 ebp = POP32_VAL(esp); /* 0x2B03F86A: pop ebp */ 7729 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F86B: ret */ 7730 L_2B03F86C: 7731 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 7732 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 7733 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 7734 RECOMP_FLAGS_IN(); 7735 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 7736 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 7737 RECOMP_FLAGS_IN(); 7738 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 7739 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 7740 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 7741 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 7742 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 7743 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 7744 L_2B03F885: 7745 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 7746 L_2B03F887: 7747 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 7748 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 7749 RECOMP_FLAGS_IN(); 7750 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 7751 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 7752 RECOMP_FLAGS_IN(); 7753 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 7754 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 7755 RECOMP_FLAGS_IN(); 7756 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 7757 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 7758 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 7759 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 7760 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 7761 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 7762 L_2B03F8A6: 7763 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 7764 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 7765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7766 _flag_k = FK_CMP; 7767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 7768 L_2B03F8AB: 7769 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 7770 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 7771 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 7772 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 7773 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 7774 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 7775 RECOMP_FLAGS_IN(); 7776 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 7777 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 7778 RECOMP_FLAGS_IN(); 7779 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 7780 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7781 _cf = 0; 7782 _flag_k = FK_NARROW(FK_TEST, 24); 7783 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 7784 L_2B03F8C4: 7785 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 7786 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 7787 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 7788 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 7789 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 7790 RECOMP_FLAGS_IN(); 7791 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 7792 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 7793 RECOMP_FLAGS_IN(); 7794 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 7795 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7796 _cf = 0; 7797 _flag_k = FK_NARROW(FK_TEST, 24); 7798 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 7799 L_2B03F8D9: 7800 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 7801 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 7802 L_2B03F8DD: 7803 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 7804 L_2B03F8DF: 7805 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 7806 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 7807 RECOMP_FLAGS_IN(); 7808 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 7809 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 7810 RECOMP_FLAGS_IN(); 7811 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 7812 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 7813 RECOMP_FLAGS_IN(); 7814 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 7815 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 7816 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 7817 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 7818 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 7819 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 7820 L_2B03F8FE: 7821 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 7822 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 7823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7824 _flag_k = FK_CMP; 7825 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 7826 L_2B03F903: 7827 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 7828 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 7829 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 7830 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 7831 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 7832 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 7833 RECOMP_FLAGS_IN(); 7834 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 7835 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 7836 RECOMP_FLAGS_IN(); 7837 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 7838 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7839 _cf = 0; 7840 _flag_k = FK_NARROW(FK_TEST, 24); 7841 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 7842 L_2B03F919: 7843 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 7844 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 7845 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 7846 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 7847 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 7848 RECOMP_FLAGS_IN(); 7849 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 7850 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 7851 RECOMP_FLAGS_IN(); 7852 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 7853 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7854 _cf = 0; 7855 _flag_k = FK_NARROW(FK_TEST, 24); 7856 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 7857 L_2B03F92E: 7858 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 7859 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 7860 L_2B03F932: 7861 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 7862 L_2B03F934: 7863 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 7864 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 7865 RECOMP_FLAGS_IN(); 7866 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 7867 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 7868 RECOMP_FLAGS_IN(); 7869 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 7870 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 7871 RECOMP_FLAGS_IN(); 7872 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 7873 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 7874 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 7875 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 7876 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 7877 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 7878 L_2B03F953: 7879 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 7880 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 7881 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 7882 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 7883 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 7884 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 7885 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7886 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 7887 _cf = 0; 7888 _flag_k = FK_TEST; 7889 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7890 eax = 0; /* 0x2B03F96C: xor eax, eax */ 7891 _cf = 0; 7892 _flag_k = FK_TEST; 7893 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 7894 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 7895 ecx = ~ecx; /* 0x2B03F973: not ecx */ 7896 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 7897 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 7898 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 7899 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 7900 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 7901 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 7902 RECOMP_FLAGS_IN(); 7903 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 7904 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 7905 RECOMP_FLAGS_IN(); 7906 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 7907 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 7908 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 7909 RECOMP_FLAGS_IN(); 7910 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 7911 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 7912 RECOMP_FLAGS_IN(); 7913 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 7914 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 7915 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 7916 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 7917 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 7918 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 7919 RECOMP_REGS_OUT(); 7920 } 7921 7922 void sub_2B03F668(void) { 7923 int _fpu_cmp = 0; 7924 uint32_t _cf = 0; 7925 int _df = 1; 7926 uint32_t _flag_k = FK_NONE; 7927 uint32_t _flag_a = 0, _flag_b = 0; 7928 uint32_t _itail_tgt = 0; 7929 RECOMP_REGS_LOCALS 7930 RECOMP_ENTER(0x2B03F668u); 7931 7932 L_2B03F668: 7933 edx = ebp + (-0x18); /* 0x2B03F668: lea edx, [ebp - 0x18] */ 7934 PUSH32(esp, edx); /* 0x2B03F66B: push edx */ 7935 RECOMP_ICALL(ebx); /* 0x2B03F66C: call ebx */ 7936 RECOMP_FLAGS_IN(); 7937 ecx = eax; /* 0x2B03F66E: mov ecx, eax */ 7938 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F670: call dword ptr [0x2b0b5edc] */ 7939 RECOMP_FLAGS_IN(); 7940 /* test LO8(eax), LO8(eax) */ /* 0x2B03F676: test al, al */ 7941 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7942 _cf = 0; 7943 _flag_k = FK_NARROW(FK_TEST, 24); 7944 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F678: jne 0x2b03f86c */ 7945 L_2B03F67E: 7946 PUSH32(esp, 0x18u); /* 0x2B03F67E: push 0x18 */ 7947 PUSH32(esp, 6); /* 0x2B03F680: push 6 */ 7948 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F682: call dword ptr [0x2b0b53cc] */ 7949 RECOMP_FLAGS_IN(); 7950 ecx = eax; /* 0x2B03F688: mov ecx, eax */ 7951 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F68A: call dword ptr [0x2b0b53c8] */ 7952 RECOMP_FLAGS_IN(); 7953 edi = POP32_VAL(esp); /* 0x2B03F690: pop edi */ 7954 esi = POP32_VAL(esp); /* 0x2B03F691: pop esi */ 7955 ebx = POP32_VAL(esp); /* 0x2B03F692: pop ebx */ 7956 esp = ebp; /* 0x2B03F693: mov esp, ebp */ 7957 ebp = POP32_VAL(esp); /* 0x2B03F695: pop ebp */ 7958 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F696: ret */ 7959 L_2B03F86C: 7960 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 7961 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 7962 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 7963 RECOMP_FLAGS_IN(); 7964 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 7965 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 7966 RECOMP_FLAGS_IN(); 7967 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 7968 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 7969 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 7970 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 7971 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 7972 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 7973 RECOMP_REGS_OUT(); 7974 } 7975 7976 void sub_2B03F6FB(void) { 7977 int _fpu_cmp = 0; 7978 uint32_t _cf = 0; 7979 int _df = 1; 7980 uint32_t _flag_k = FK_NONE; 7981 uint32_t _flag_a = 0, _flag_b = 0; 7982 uint32_t _itail_tgt = 0; 7983 RECOMP_REGS_LOCALS 7984 RECOMP_ENTER(0x2B03F6FBu); 7985 7986 L_2B03F6FB: 7987 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F6FB: mov ebx, dword ptr [0x2b0b5d6c] */ 7988 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 7989 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 7990 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 7991 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 7992 RECOMP_FLAGS_IN(); 7993 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 7994 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 7995 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 7996 RECOMP_FLAGS_IN(); 7997 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 7998 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 7999 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 8000 edi = eax; /* 0x2B03F719: mov edi, eax */ 8001 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 8002 RECOMP_FLAGS_IN(); 8003 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 8004 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 8005 RECOMP_FLAGS_IN(); 8006 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 8007 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 8008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8009 _flag_k = FK_CMP; 8010 esi = eax; /* 0x2B03F724: mov esi, eax */ 8011 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 8012 L_2B03F72C: 8013 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 8014 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 8015 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 8016 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 8017 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 8018 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 8019 RECOMP_FLAGS_IN(); 8020 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 8021 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 8022 RECOMP_FLAGS_IN(); 8023 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 8024 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8025 _cf = 0; 8026 _flag_k = FK_NARROW(FK_TEST, 24); 8027 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 8028 L_2B03F746: 8029 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 8030 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 8031 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 8032 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 8033 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 8034 RECOMP_FLAGS_IN(); 8035 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 8036 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 8037 RECOMP_FLAGS_IN(); 8038 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 8039 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8040 _cf = 0; 8041 _flag_k = FK_NARROW(FK_TEST, 24); 8042 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 8043 L_2B03F75F: 8044 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 8045 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 8046 L_2B03F885: 8047 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 8048 L_2B03F887: 8049 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 8050 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 8051 RECOMP_FLAGS_IN(); 8052 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 8053 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 8054 RECOMP_FLAGS_IN(); 8055 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 8056 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 8057 RECOMP_FLAGS_IN(); 8058 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 8059 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 8060 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 8061 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 8062 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 8063 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 8064 L_2B03F8A6: 8065 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 8066 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8068 _flag_k = FK_CMP; 8069 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 8070 L_2B03F8AB: 8071 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 8072 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 8073 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 8074 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 8075 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 8076 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 8077 RECOMP_FLAGS_IN(); 8078 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 8079 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 8080 RECOMP_FLAGS_IN(); 8081 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 8082 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8083 _cf = 0; 8084 _flag_k = FK_NARROW(FK_TEST, 24); 8085 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 8086 L_2B03F8C4: 8087 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 8088 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 8089 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 8090 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 8091 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 8092 RECOMP_FLAGS_IN(); 8093 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 8094 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 8095 RECOMP_FLAGS_IN(); 8096 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 8097 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8098 _cf = 0; 8099 _flag_k = FK_NARROW(FK_TEST, 24); 8100 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 8101 L_2B03F8D9: 8102 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 8103 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 8104 L_2B03F8DD: 8105 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 8106 L_2B03F8DF: 8107 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 8108 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 8109 RECOMP_FLAGS_IN(); 8110 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 8111 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 8112 RECOMP_FLAGS_IN(); 8113 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 8114 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 8115 RECOMP_FLAGS_IN(); 8116 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 8117 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 8118 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 8119 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 8120 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 8121 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 8122 L_2B03F8FE: 8123 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 8124 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 8125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8126 _flag_k = FK_CMP; 8127 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 8128 L_2B03F903: 8129 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 8130 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 8131 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 8132 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 8133 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 8134 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 8135 RECOMP_FLAGS_IN(); 8136 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 8137 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 8138 RECOMP_FLAGS_IN(); 8139 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 8140 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8141 _cf = 0; 8142 _flag_k = FK_NARROW(FK_TEST, 24); 8143 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 8144 L_2B03F919: 8145 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 8146 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 8147 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 8148 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 8149 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 8150 RECOMP_FLAGS_IN(); 8151 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 8152 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 8153 RECOMP_FLAGS_IN(); 8154 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 8155 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8156 _cf = 0; 8157 _flag_k = FK_NARROW(FK_TEST, 24); 8158 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 8159 L_2B03F92E: 8160 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 8161 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 8162 L_2B03F932: 8163 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 8164 L_2B03F934: 8165 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 8166 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 8167 RECOMP_FLAGS_IN(); 8168 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 8169 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 8170 RECOMP_FLAGS_IN(); 8171 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 8172 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 8173 RECOMP_FLAGS_IN(); 8174 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 8175 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 8176 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 8177 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 8178 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 8179 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 8180 L_2B03F953: 8181 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 8182 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 8183 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 8184 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 8185 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 8186 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 8187 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8188 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 8189 _cf = 0; 8190 _flag_k = FK_TEST; 8191 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8192 eax = 0; /* 0x2B03F96C: xor eax, eax */ 8193 _cf = 0; 8194 _flag_k = FK_TEST; 8195 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 8196 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 8197 ecx = ~ecx; /* 0x2B03F973: not ecx */ 8198 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 8199 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 8200 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 8201 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 8202 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 8203 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 8204 RECOMP_FLAGS_IN(); 8205 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 8206 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 8207 RECOMP_FLAGS_IN(); 8208 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 8209 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 8210 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 8211 RECOMP_FLAGS_IN(); 8212 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 8213 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 8214 RECOMP_FLAGS_IN(); 8215 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 8216 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 8217 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 8218 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 8219 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 8220 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 8221 RECOMP_REGS_OUT(); 8222 } 8223 8224 void sub_2B03F701(void) { 8225 int _fpu_cmp = 0; 8226 uint32_t _cf = 0; 8227 int _df = 1; 8228 uint32_t _flag_k = FK_NONE; 8229 uint32_t _flag_a = 0, _flag_b = 0; 8230 uint32_t _itail_tgt = 0; 8231 RECOMP_REGS_LOCALS 8232 RECOMP_ENTER(0x2B03F701u); 8233 8234 L_2B03F701: 8235 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 8236 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 8237 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 8238 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 8239 RECOMP_FLAGS_IN(); 8240 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 8241 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 8242 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 8243 RECOMP_FLAGS_IN(); 8244 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 8245 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 8246 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 8247 edi = eax; /* 0x2B03F719: mov edi, eax */ 8248 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 8249 RECOMP_FLAGS_IN(); 8250 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 8251 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 8252 RECOMP_FLAGS_IN(); 8253 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 8254 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 8255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8256 _flag_k = FK_CMP; 8257 esi = eax; /* 0x2B03F724: mov esi, eax */ 8258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 8259 L_2B03F72C: 8260 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 8261 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 8262 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 8263 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 8264 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 8265 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 8266 RECOMP_FLAGS_IN(); 8267 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 8268 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 8269 RECOMP_FLAGS_IN(); 8270 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 8271 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8272 _cf = 0; 8273 _flag_k = FK_NARROW(FK_TEST, 24); 8274 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 8275 L_2B03F746: 8276 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 8277 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 8278 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 8279 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 8280 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 8281 RECOMP_FLAGS_IN(); 8282 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 8283 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 8284 RECOMP_FLAGS_IN(); 8285 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 8286 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8287 _cf = 0; 8288 _flag_k = FK_NARROW(FK_TEST, 24); 8289 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 8290 L_2B03F75F: 8291 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 8292 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 8293 L_2B03F885: 8294 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 8295 L_2B03F887: 8296 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 8297 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 8298 RECOMP_FLAGS_IN(); 8299 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 8300 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 8301 RECOMP_FLAGS_IN(); 8302 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 8303 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 8304 RECOMP_FLAGS_IN(); 8305 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 8306 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 8307 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 8308 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 8309 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 8310 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 8311 L_2B03F8A6: 8312 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 8313 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8315 _flag_k = FK_CMP; 8316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 8317 L_2B03F8AB: 8318 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 8319 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 8320 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 8321 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 8322 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 8323 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 8324 RECOMP_FLAGS_IN(); 8325 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 8326 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 8327 RECOMP_FLAGS_IN(); 8328 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 8329 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8330 _cf = 0; 8331 _flag_k = FK_NARROW(FK_TEST, 24); 8332 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 8333 L_2B03F8C4: 8334 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 8335 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 8336 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 8337 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 8338 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 8339 RECOMP_FLAGS_IN(); 8340 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 8341 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 8342 RECOMP_FLAGS_IN(); 8343 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 8344 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8345 _cf = 0; 8346 _flag_k = FK_NARROW(FK_TEST, 24); 8347 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 8348 L_2B03F8D9: 8349 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 8350 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 8351 L_2B03F8DD: 8352 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 8353 L_2B03F8DF: 8354 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 8355 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 8356 RECOMP_FLAGS_IN(); 8357 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 8358 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 8359 RECOMP_FLAGS_IN(); 8360 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 8361 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 8362 RECOMP_FLAGS_IN(); 8363 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 8364 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 8365 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 8366 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 8367 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 8368 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 8369 L_2B03F8FE: 8370 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 8371 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 8372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8373 _flag_k = FK_CMP; 8374 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 8375 L_2B03F903: 8376 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 8377 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 8378 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 8379 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 8380 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 8381 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 8382 RECOMP_FLAGS_IN(); 8383 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 8384 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 8385 RECOMP_FLAGS_IN(); 8386 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 8387 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8388 _cf = 0; 8389 _flag_k = FK_NARROW(FK_TEST, 24); 8390 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 8391 L_2B03F919: 8392 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 8393 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 8394 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 8395 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 8396 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 8397 RECOMP_FLAGS_IN(); 8398 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 8399 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 8400 RECOMP_FLAGS_IN(); 8401 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 8402 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8403 _cf = 0; 8404 _flag_k = FK_NARROW(FK_TEST, 24); 8405 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 8406 L_2B03F92E: 8407 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 8408 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 8409 L_2B03F932: 8410 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 8411 L_2B03F934: 8412 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 8413 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 8414 RECOMP_FLAGS_IN(); 8415 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 8416 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 8417 RECOMP_FLAGS_IN(); 8418 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 8419 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 8420 RECOMP_FLAGS_IN(); 8421 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 8422 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 8423 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 8424 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 8425 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 8426 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 8427 L_2B03F953: 8428 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 8429 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 8430 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 8431 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 8432 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 8433 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 8434 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8435 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 8436 _cf = 0; 8437 _flag_k = FK_TEST; 8438 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8439 eax = 0; /* 0x2B03F96C: xor eax, eax */ 8440 _cf = 0; 8441 _flag_k = FK_TEST; 8442 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 8443 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 8444 ecx = ~ecx; /* 0x2B03F973: not ecx */ 8445 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 8446 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 8447 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 8448 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 8449 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 8450 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 8451 RECOMP_FLAGS_IN(); 8452 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 8453 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 8454 RECOMP_FLAGS_IN(); 8455 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 8456 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 8457 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 8458 RECOMP_FLAGS_IN(); 8459 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 8460 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 8461 RECOMP_FLAGS_IN(); 8462 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 8463 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 8464 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 8465 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 8466 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 8467 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 8468 RECOMP_REGS_OUT(); 8469 } 8470 8471 void sub_2B03F766(void) { 8472 int _fpu_cmp = 0; 8473 uint32_t _cf = 0; 8474 int _df = 1; 8475 uint32_t _flag_k = FK_NONE; 8476 uint32_t _flag_a = 0, _flag_b = 0; 8477 uint32_t _itail_tgt = 0; 8478 RECOMP_REGS_LOCALS 8479 RECOMP_ENTER(0x2B03F766u); 8480 8481 goto L_2B03F766; 8482 L_2B03F668: 8483 edx = ebp + (-0x18); /* 0x2B03F668: lea edx, [ebp - 0x18] */ 8484 PUSH32(esp, edx); /* 0x2B03F66B: push edx */ 8485 RECOMP_ICALL(ebx); /* 0x2B03F66C: call ebx */ 8486 RECOMP_FLAGS_IN(); 8487 ecx = eax; /* 0x2B03F66E: mov ecx, eax */ 8488 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F670: call dword ptr [0x2b0b5edc] */ 8489 RECOMP_FLAGS_IN(); 8490 /* test LO8(eax), LO8(eax) */ /* 0x2B03F676: test al, al */ 8491 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8492 _cf = 0; 8493 _flag_k = FK_NARROW(FK_TEST, 24); 8494 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F678: jne 0x2b03f86c */ 8495 L_2B03F67E: 8496 PUSH32(esp, 0x18u); /* 0x2B03F67E: push 0x18 */ 8497 PUSH32(esp, 6); /* 0x2B03F680: push 6 */ 8498 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F682: call dword ptr [0x2b0b53cc] */ 8499 RECOMP_FLAGS_IN(); 8500 ecx = eax; /* 0x2B03F688: mov ecx, eax */ 8501 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F68A: call dword ptr [0x2b0b53c8] */ 8502 RECOMP_FLAGS_IN(); 8503 edi = POP32_VAL(esp); /* 0x2B03F690: pop edi */ 8504 esi = POP32_VAL(esp); /* 0x2B03F691: pop esi */ 8505 ebx = POP32_VAL(esp); /* 0x2B03F692: pop ebx */ 8506 esp = ebp; /* 0x2B03F693: mov esp, ebp */ 8507 ebp = POP32_VAL(esp); /* 0x2B03F695: pop ebp */ 8508 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F696: ret */ 8509 L_2B03F701: 8510 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 8511 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 8512 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 8513 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 8514 RECOMP_FLAGS_IN(); 8515 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 8516 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 8517 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 8518 RECOMP_FLAGS_IN(); 8519 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 8520 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 8521 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 8522 edi = eax; /* 0x2B03F719: mov edi, eax */ 8523 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 8524 RECOMP_FLAGS_IN(); 8525 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 8526 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 8527 RECOMP_FLAGS_IN(); 8528 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 8529 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 8530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8531 _flag_k = FK_CMP; 8532 esi = eax; /* 0x2B03F724: mov esi, eax */ 8533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 8534 L_2B03F72C: 8535 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 8536 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 8537 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 8538 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 8539 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 8540 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 8541 RECOMP_FLAGS_IN(); 8542 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 8543 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 8544 RECOMP_FLAGS_IN(); 8545 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 8546 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8547 _cf = 0; 8548 _flag_k = FK_NARROW(FK_TEST, 24); 8549 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 8550 L_2B03F746: 8551 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 8552 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 8553 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 8554 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 8555 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 8556 RECOMP_FLAGS_IN(); 8557 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 8558 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 8559 RECOMP_FLAGS_IN(); 8560 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 8561 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8562 _cf = 0; 8563 _flag_k = FK_NARROW(FK_TEST, 24); 8564 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 8565 L_2B03F75F: 8566 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 8567 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 8568 L_2B03F766: 8569 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F766: mov ebx, dword ptr [0x2b0b5d6c] */ 8570 PUSH32(esp, 0); /* 0x2B03F76C: push 0 */ 8571 esi = edi + edi * 2; /* 0x2B03F76E: lea esi, [edi + edi*2] */ 8572 edx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F771: mov edx, dword ptr [esi*4 + 0x2b0e7080] */ 8573 PUSH32(esp, 2); /* 0x2B03F778: push 2 */ 8574 PUSH32(esp, edx); /* 0x2B03F77A: push edx */ 8575 eax = ebp + (-0x18); /* 0x2B03F77B: lea eax, [ebp - 0x18] */ 8576 PUSH32(esp, eax); /* 0x2B03F77E: push eax */ 8577 RECOMP_ICALL(ebx); /* 0x2B03F77F: call ebx */ 8578 RECOMP_FLAGS_IN(); 8579 ecx = eax; /* 0x2B03F781: mov ecx, eax */ 8580 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F783: call dword ptr [0x2b0b5ed8] */ 8581 RECOMP_FLAGS_IN(); 8582 /* test LO8(eax), LO8(eax) */ /* 0x2B03F789: test al, al */ 8583 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8584 _cf = 0; 8585 _flag_k = FK_NARROW(FK_TEST, 24); 8586 RECOMP_BACKEDGE(); 8587 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F78B: je 0x2b03f701 */ 8588 L_2B03F791: 8589 ecx = MEM32(esi * 4 + 0x2B0E7080); /* 0x2B03F791: mov ecx, dword ptr [esi*4 + 0x2b0e7080] */ 8590 PUSH32(esp, ecx); /* 0x2B03F798: push ecx */ 8591 PUSH32(esp, 3); /* 0x2B03F799: push 3 */ 8592 RECOMP_BACKEDGE(); 8593 goto L_2B03F668; /* 0x2B03F79B: jmp 0x2b03f668 */ 8594 L_2B03F86C: 8595 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 8596 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 8597 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 8598 RECOMP_FLAGS_IN(); 8599 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 8600 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 8601 RECOMP_FLAGS_IN(); 8602 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 8603 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 8604 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 8605 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 8606 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 8607 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 8608 L_2B03F885: 8609 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 8610 L_2B03F887: 8611 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 8612 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 8613 RECOMP_FLAGS_IN(); 8614 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 8615 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 8616 RECOMP_FLAGS_IN(); 8617 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 8618 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 8619 RECOMP_FLAGS_IN(); 8620 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 8621 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 8622 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 8623 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 8624 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 8625 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 8626 L_2B03F8A6: 8627 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 8628 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8630 _flag_k = FK_CMP; 8631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 8632 L_2B03F8AB: 8633 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 8634 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 8635 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 8636 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 8637 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 8638 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 8639 RECOMP_FLAGS_IN(); 8640 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 8641 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 8642 RECOMP_FLAGS_IN(); 8643 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 8644 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8645 _cf = 0; 8646 _flag_k = FK_NARROW(FK_TEST, 24); 8647 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 8648 L_2B03F8C4: 8649 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 8650 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 8651 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 8652 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 8653 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 8654 RECOMP_FLAGS_IN(); 8655 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 8656 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 8657 RECOMP_FLAGS_IN(); 8658 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 8659 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8660 _cf = 0; 8661 _flag_k = FK_NARROW(FK_TEST, 24); 8662 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 8663 L_2B03F8D9: 8664 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 8665 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 8666 L_2B03F8DD: 8667 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 8668 L_2B03F8DF: 8669 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 8670 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 8671 RECOMP_FLAGS_IN(); 8672 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 8673 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 8674 RECOMP_FLAGS_IN(); 8675 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 8676 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 8677 RECOMP_FLAGS_IN(); 8678 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 8679 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 8680 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 8681 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 8682 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 8683 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 8684 L_2B03F8FE: 8685 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 8686 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 8687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8688 _flag_k = FK_CMP; 8689 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 8690 L_2B03F903: 8691 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 8692 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 8693 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 8694 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 8695 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 8696 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 8697 RECOMP_FLAGS_IN(); 8698 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 8699 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 8700 RECOMP_FLAGS_IN(); 8701 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 8702 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8703 _cf = 0; 8704 _flag_k = FK_NARROW(FK_TEST, 24); 8705 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 8706 L_2B03F919: 8707 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 8708 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 8709 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 8710 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 8711 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 8712 RECOMP_FLAGS_IN(); 8713 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 8714 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 8715 RECOMP_FLAGS_IN(); 8716 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 8717 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8718 _cf = 0; 8719 _flag_k = FK_NARROW(FK_TEST, 24); 8720 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 8721 L_2B03F92E: 8722 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 8723 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 8724 L_2B03F932: 8725 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 8726 L_2B03F934: 8727 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 8728 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 8729 RECOMP_FLAGS_IN(); 8730 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 8731 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 8732 RECOMP_FLAGS_IN(); 8733 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 8734 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 8735 RECOMP_FLAGS_IN(); 8736 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 8737 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 8738 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 8739 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 8740 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 8741 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 8742 L_2B03F953: 8743 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 8744 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 8745 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 8746 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 8747 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 8748 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 8749 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8750 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 8751 _cf = 0; 8752 _flag_k = FK_TEST; 8753 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8754 eax = 0; /* 0x2B03F96C: xor eax, eax */ 8755 _cf = 0; 8756 _flag_k = FK_TEST; 8757 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 8758 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 8759 ecx = ~ecx; /* 0x2B03F973: not ecx */ 8760 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 8761 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 8762 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 8763 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 8764 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 8765 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 8766 RECOMP_FLAGS_IN(); 8767 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 8768 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 8769 RECOMP_FLAGS_IN(); 8770 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 8771 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 8772 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 8773 RECOMP_FLAGS_IN(); 8774 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 8775 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 8776 RECOMP_FLAGS_IN(); 8777 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 8778 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 8779 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 8780 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 8781 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 8782 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 8783 RECOMP_REGS_OUT(); 8784 } 8785 8786 void sub_2B03F7A0(void) { 8787 int _fpu_cmp = 0; 8788 uint32_t _cf = 0; 8789 int _df = 1; 8790 uint32_t _flag_k = FK_NONE; 8791 uint32_t _flag_a = 0, _flag_b = 0; 8792 uint32_t _itail_tgt = 0; 8793 RECOMP_REGS_LOCALS 8794 RECOMP_ENTER(0x2B03F7A0u); 8795 8796 goto L_2B03F7A0; 8797 L_2B03F6FB: 8798 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F6FB: mov ebx, dword ptr [0x2b0b5d6c] */ 8799 L_2B03F701: 8800 eax = ebp + (-0x18); /* 0x2B03F701: lea eax, [ebp - 0x18] */ 8801 PUSH32(esp, 0x4Cu); /* 0x2B03F704: push 0x4c */ 8802 PUSH32(esp, eax); /* 0x2B03F706: push eax */ 8803 RECOMP_ICALL(ebx); /* 0x2B03F707: call ebx */ 8804 RECOMP_FLAGS_IN(); 8805 esi = MEM32(0x2B0B5EE0); /* 0x2B03F709: mov esi, dword ptr [0x2b0b5ee0] */ 8806 ecx = eax; /* 0x2B03F70F: mov ecx, eax */ 8807 RECOMP_ICALL(esi); /* 0x2B03F711: call esi */ 8808 RECOMP_FLAGS_IN(); 8809 ecx = ebp + (-0x18); /* 0x2B03F713: lea ecx, [ebp - 0x18] */ 8810 PUSH32(esp, 0x58u); /* 0x2B03F716: push 0x58 */ 8811 PUSH32(esp, ecx); /* 0x2B03F718: push ecx */ 8812 edi = eax; /* 0x2B03F719: mov edi, eax */ 8813 RECOMP_ICALL(ebx); /* 0x2B03F71B: call ebx */ 8814 RECOMP_FLAGS_IN(); 8815 ecx = eax; /* 0x2B03F71D: mov ecx, eax */ 8816 RECOMP_ICALL(esi); /* 0x2B03F71F: call esi */ 8817 RECOMP_FLAGS_IN(); 8818 /* cmp edi, 2 */ /* 0x2B03F721: cmp edi, 2 */ 8819 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 8820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8821 _flag_k = FK_CMP; 8822 esi = eax; /* 0x2B03F724: mov esi, eax */ 8823 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8A6; /* 0x2B03F726: jne 0x2b03f8a6 */ 8824 L_2B03F72C: 8825 PUSH32(esp, 1); /* 0x2B03F72C: push 1 */ 8826 PUSH32(esp, edi); /* 0x2B03F72E: push edi */ 8827 edx = ebp + (-0x18); /* 0x2B03F72F: lea edx, [ebp - 0x18] */ 8828 PUSH32(esp, esi); /* 0x2B03F732: push esi */ 8829 PUSH32(esp, edx); /* 0x2B03F733: push edx */ 8830 RECOMP_ICALL(ebx); /* 0x2B03F734: call ebx */ 8831 RECOMP_FLAGS_IN(); 8832 ecx = eax; /* 0x2B03F736: mov ecx, eax */ 8833 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F738: call dword ptr [0x2b0b5ed8] */ 8834 RECOMP_FLAGS_IN(); 8835 /* test LO8(eax), LO8(eax) */ /* 0x2B03F73E: test al, al */ 8836 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8837 _cf = 0; 8838 _flag_k = FK_NARROW(FK_TEST, 24); 8839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F740: je 0x2b03f953 */ 8840 L_2B03F746: 8841 PUSH32(esp, esi); /* 0x2B03F746: push esi */ 8842 eax = ebp + (-0x18); /* 0x2B03F747: lea eax, [ebp - 0x18] */ 8843 PUSH32(esp, 3); /* 0x2B03F74A: push 3 */ 8844 PUSH32(esp, eax); /* 0x2B03F74C: push eax */ 8845 RECOMP_ICALL(ebx); /* 0x2B03F74D: call ebx */ 8846 RECOMP_FLAGS_IN(); 8847 ecx = eax; /* 0x2B03F74F: mov ecx, eax */ 8848 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F751: call dword ptr [0x2b0b5edc] */ 8849 RECOMP_FLAGS_IN(); 8850 /* test LO8(eax), LO8(eax) */ /* 0x2B03F757: test al, al */ 8851 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8852 _cf = 0; 8853 _flag_k = FK_NARROW(FK_TEST, 24); 8854 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F885; /* 0x2B03F759: jne 0x2b03f885 */ 8855 L_2B03F75F: 8856 PUSH32(esp, 0x18u); /* 0x2B03F75F: push 0x18 */ 8857 goto L_2B03F887; /* 0x2B03F761: jmp 0x2b03f887 */ 8858 L_2B03F7A0: 8859 /* cmp eax, 2 */ /* 0x2B03F7A0: cmp eax, 2 */ 8860 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 8861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8862 _flag_k = FK_CMP; 8863 RECOMP_BACKEDGE(); 8864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F7A3: jne 0x2b03f701 */ 8865 L_2B03F7A9: 8866 ecx = MEM32(esi + 0x8); /* 0x2B03F7A9: mov ecx, dword ptr [esi + 8] */ 8867 eax = MEM32(esi + 0x4); /* 0x2B03F7AC: mov eax, dword ptr [esi + 4] */ 8868 esi = MEM32(0x2B0EE9DC); /* 0x2B03F7AF: mov esi, dword ptr [0x2b0ee9dc] */ 8869 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03F7B5: mov dword ptr [ebp - 8], ecx */ 8870 edi = 1; /* 0x2B03F7B8: mov edi, 1 */ 8871 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F7BD: mov dword ptr [ebp - 4], eax */ 8872 ecx = 0x2B0E7150u; /* 0x2B03F7C0: mov ecx, 0x2b0e7150 */ 8873 L_2B03F7C5: 8874 ebx = MEM32(ebp + (-0x4)); /* 0x2B03F7C5: mov ebx, dword ptr [ebp - 4] */ 8875 eax = MEM32(ecx); /* 0x2B03F7C8: mov eax, dword ptr [ecx] */ 8876 edx = MEM32(ecx + 0x4); /* 0x2B03F7CA: mov edx, dword ptr [ecx + 4] */ 8877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8879 eax = eax + ebx; /* 0x2B03F7CD: add eax, ebx */ 8880 _flag_k = FK_ADD; 8881 /* test esi, esi */ /* 0x2B03F7CF: test esi, esi */ 8882 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8883 _cf = 0; 8884 _flag_k = FK_TEST; 8885 ebx = MEM32(ebp + (-0x8)); /* 0x2B03F7D1: mov ebx, dword ptr [ebp - 8] */ 8886 edx = edx + ebx + 0x14; /* 0x2B03F7D4: lea edx, [edx + ebx + 0x14] */ 8887 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F7E0; /* 0x2B03F7D8: je 0x2b03f7e0 */ 8888 L_2B03F7DA: 8889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 8890 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8891 eax = eax + MEM32(esi + 0x2C); /* 0x2B03F7DA: add eax, dword ptr [esi + 0x2c] */ 8892 _flag_k = FK_ADD; 8893 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 8894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8895 edx = edx + MEM32(esi + 0x30); /* 0x2B03F7DD: add edx, dword ptr [esi + 0x30] */ 8896 _flag_k = FK_ADD; 8897 L_2B03F7E0: 8898 ebx = eax + 0x30; /* 0x2B03F7E0: lea ebx, [eax + 0x30] */ 8899 /* cmp MEM32(ebp + (-0x20)), ebx */ /* 0x2B03F7E3: cmp dword ptr [ebp - 0x20], ebx */ 8900 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(ebx); 8901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8902 _flag_k = FK_CMP; 8903 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7E6: jg 0x2b03f7fb */ 8904 L_2B03F7E8: 8905 /* cmp MEM32(ebp + (-0x20)), eax */ /* 0x2B03F7E8: cmp dword ptr [ebp - 0x20], eax */ 8906 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(eax); 8907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8908 _flag_k = FK_CMP; 8909 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7EB: jl 0x2b03f7fb */ 8910 L_2B03F7ED: 8911 eax = MEM32(ebp + (-0x1C)); /* 0x2B03F7ED: mov eax, dword ptr [ebp - 0x1c] */ 8912 ebx = edx + 0x30; /* 0x2B03F7F0: lea ebx, [edx + 0x30] */ 8913 /* cmp eax, ebx */ /* 0x2B03F7F3: cmp eax, ebx */ 8914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8916 _flag_k = FK_CMP; 8917 if (CMP_G(_flag_a, _flag_b)) goto L_2B03F7FB; /* 0x2B03F7F5: jg 0x2b03f7fb */ 8918 L_2B03F7F7: 8919 /* cmp eax, edx */ /* 0x2B03F7F7: cmp eax, edx */ 8920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8922 _flag_k = FK_CMP; 8923 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03F80C; /* 0x2B03F7F9: jge 0x2b03f80c */ 8924 L_2B03F7FB: 8925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 8926 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8927 ecx = ecx + 0xCu; /* 0x2B03F7FB: add ecx, 0xc */ 8928 _flag_k = FK_ADD; 8929 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8930 edi = edi + 1; /* 0x2B03F7FE: inc edi */ 8931 _flag_k = FK_INC; 8932 /* cmp ecx, 0x2B0E71ECu */ /* 0x2B03F7FF: cmp ecx, 0x2b0e71ec */ 8933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E71ECu); 8934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8935 _flag_k = FK_CMP; 8936 RECOMP_BACKEDGE(); 8937 if (CMP_L(_flag_a, _flag_b)) goto L_2B03F7C5; /* 0x2B03F805: jl 0x2b03f7c5 */ 8938 L_2B03F807: 8939 RECOMP_BACKEDGE(); 8940 goto L_2B03F6FB; /* 0x2B03F807: jmp 0x2b03f6fb */ 8941 L_2B03F80C: 8942 ebx = MEM32(0x2B0B5D6C); /* 0x2B03F80C: mov ebx, dword ptr [0x2b0b5d6c] */ 8943 PUSH32(esp, 0); /* 0x2B03F812: push 0 */ 8944 esi = edi + edi * 2; /* 0x2B03F814: lea esi, [edi + edi*2] */ 8945 edx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F817: mov edx, dword ptr [esi*4 + 0x2b0e7140] */ 8946 PUSH32(esp, 3); /* 0x2B03F81E: push 3 */ 8947 PUSH32(esp, edx); /* 0x2B03F820: push edx */ 8948 eax = ebp + (-0x18); /* 0x2B03F821: lea eax, [ebp - 0x18] */ 8949 PUSH32(esp, eax); /* 0x2B03F824: push eax */ 8950 RECOMP_ICALL(ebx); /* 0x2B03F825: call ebx */ 8951 RECOMP_FLAGS_IN(); 8952 ecx = eax; /* 0x2B03F827: mov ecx, eax */ 8953 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F829: call dword ptr [0x2b0b5ed8] */ 8954 RECOMP_FLAGS_IN(); 8955 /* test LO8(eax), LO8(eax) */ /* 0x2B03F82F: test al, al */ 8956 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8957 _cf = 0; 8958 _flag_k = FK_NARROW(FK_TEST, 24); 8959 RECOMP_BACKEDGE(); 8960 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F701; /* 0x2B03F831: je 0x2b03f701 */ 8961 L_2B03F837: 8962 ecx = MEM32(esi * 4 + 0x2B0E7140); /* 0x2B03F837: mov ecx, dword ptr [esi*4 + 0x2b0e7140] */ 8963 PUSH32(esp, ecx); /* 0x2B03F83E: push ecx */ 8964 edx = ebp + (-0x18); /* 0x2B03F83F: lea edx, [ebp - 0x18] */ 8965 PUSH32(esp, 8); /* 0x2B03F842: push 8 */ 8966 PUSH32(esp, edx); /* 0x2B03F844: push edx */ 8967 RECOMP_ICALL(ebx); /* 0x2B03F845: call ebx */ 8968 RECOMP_FLAGS_IN(); 8969 ecx = eax; /* 0x2B03F847: mov ecx, eax */ 8970 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F849: call dword ptr [0x2b0b5edc] */ 8971 RECOMP_FLAGS_IN(); 8972 /* test LO8(eax), LO8(eax) */ /* 0x2B03F84F: test al, al */ 8973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8974 _cf = 0; 8975 _flag_k = FK_NARROW(FK_TEST, 24); 8976 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F86C; /* 0x2B03F851: jne 0x2b03f86c */ 8977 L_2B03F853: 8978 PUSH32(esp, 0x18u); /* 0x2B03F853: push 0x18 */ 8979 PUSH32(esp, 6); /* 0x2B03F855: push 6 */ 8980 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F857: call dword ptr [0x2b0b53cc] */ 8981 RECOMP_FLAGS_IN(); 8982 ecx = eax; /* 0x2B03F85D: mov ecx, eax */ 8983 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F85F: call dword ptr [0x2b0b53c8] */ 8984 RECOMP_FLAGS_IN(); 8985 edi = POP32_VAL(esp); /* 0x2B03F865: pop edi */ 8986 esi = POP32_VAL(esp); /* 0x2B03F866: pop esi */ 8987 ebx = POP32_VAL(esp); /* 0x2B03F867: pop ebx */ 8988 esp = ebp; /* 0x2B03F868: mov esp, ebp */ 8989 ebp = POP32_VAL(esp); /* 0x2B03F86A: pop ebp */ 8990 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F86B: ret */ 8991 L_2B03F86C: 8992 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 8993 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 8994 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 8995 RECOMP_FLAGS_IN(); 8996 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 8997 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 8998 RECOMP_FLAGS_IN(); 8999 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 9000 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 9001 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 9002 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 9003 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 9004 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 9005 L_2B03F885: 9006 PUSH32(esp, 0x17u); /* 0x2B03F885: push 0x17 */ 9007 L_2B03F887: 9008 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 9009 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 9010 RECOMP_FLAGS_IN(); 9011 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 9012 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 9013 RECOMP_FLAGS_IN(); 9014 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 9015 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 9016 RECOMP_FLAGS_IN(); 9017 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 9018 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 9019 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 9020 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 9021 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 9022 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 9023 L_2B03F8A6: 9024 /* cmp edi, 1 */ /* 0x2B03F8A6: cmp edi, 1 */ 9025 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9027 _flag_k = FK_CMP; 9028 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F8FE; /* 0x2B03F8A9: jne 0x2b03f8fe */ 9029 L_2B03F8AB: 9030 PUSH32(esp, edi); /* 0x2B03F8AB: push edi */ 9031 PUSH32(esp, edi); /* 0x2B03F8AC: push edi */ 9032 ecx = ebp + (-0x18); /* 0x2B03F8AD: lea ecx, [ebp - 0x18] */ 9033 PUSH32(esp, esi); /* 0x2B03F8B0: push esi */ 9034 PUSH32(esp, ecx); /* 0x2B03F8B1: push ecx */ 9035 RECOMP_ICALL(ebx); /* 0x2B03F8B2: call ebx */ 9036 RECOMP_FLAGS_IN(); 9037 ecx = eax; /* 0x2B03F8B4: mov ecx, eax */ 9038 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F8B6: call dword ptr [0x2b0b5ed8] */ 9039 RECOMP_FLAGS_IN(); 9040 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8BC: test al, al */ 9041 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9042 _cf = 0; 9043 _flag_k = FK_NARROW(FK_TEST, 24); 9044 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F8BE: je 0x2b03f953 */ 9045 L_2B03F8C4: 9046 PUSH32(esp, esi); /* 0x2B03F8C4: push esi */ 9047 edx = ebp + (-0x18); /* 0x2B03F8C5: lea edx, [ebp - 0x18] */ 9048 PUSH32(esp, 7); /* 0x2B03F8C8: push 7 */ 9049 PUSH32(esp, edx); /* 0x2B03F8CA: push edx */ 9050 RECOMP_ICALL(ebx); /* 0x2B03F8CB: call ebx */ 9051 RECOMP_FLAGS_IN(); 9052 ecx = eax; /* 0x2B03F8CD: mov ecx, eax */ 9053 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F8CF: call dword ptr [0x2b0b5edc] */ 9054 RECOMP_FLAGS_IN(); 9055 /* test LO8(eax), LO8(eax) */ /* 0x2B03F8D5: test al, al */ 9056 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9057 _cf = 0; 9058 _flag_k = FK_NARROW(FK_TEST, 24); 9059 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F8DD; /* 0x2B03F8D7: jne 0x2b03f8dd */ 9060 L_2B03F8D9: 9061 PUSH32(esp, 0x18u); /* 0x2B03F8D9: push 0x18 */ 9062 goto L_2B03F8DF; /* 0x2B03F8DB: jmp 0x2b03f8df */ 9063 L_2B03F8DD: 9064 PUSH32(esp, 0x17u); /* 0x2B03F8DD: push 0x17 */ 9065 L_2B03F8DF: 9066 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 9067 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 9068 RECOMP_FLAGS_IN(); 9069 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 9070 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 9071 RECOMP_FLAGS_IN(); 9072 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 9073 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 9074 RECOMP_FLAGS_IN(); 9075 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 9076 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 9077 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 9078 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 9079 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 9080 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 9081 L_2B03F8FE: 9082 /* cmp edi, 3 */ /* 0x2B03F8FE: cmp edi, 3 */ 9083 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 9084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9085 _flag_k = FK_CMP; 9086 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F901: jne 0x2b03f953 */ 9087 L_2B03F903: 9088 PUSH32(esp, 1); /* 0x2B03F903: push 1 */ 9089 PUSH32(esp, edi); /* 0x2B03F905: push edi */ 9090 eax = ebp + (-0x18); /* 0x2B03F906: lea eax, [ebp - 0x18] */ 9091 PUSH32(esp, esi); /* 0x2B03F909: push esi */ 9092 PUSH32(esp, eax); /* 0x2B03F90A: push eax */ 9093 RECOMP_ICALL(ebx); /* 0x2B03F90B: call ebx */ 9094 RECOMP_FLAGS_IN(); 9095 ecx = eax; /* 0x2B03F90D: mov ecx, eax */ 9096 RECOMP_ICALL(MEM32(0x2B0B5ED8)); /* 0x2B03F90F: call dword ptr [0x2b0b5ed8] */ 9097 RECOMP_FLAGS_IN(); 9098 /* test LO8(eax), LO8(eax) */ /* 0x2B03F915: test al, al */ 9099 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9100 _cf = 0; 9101 _flag_k = FK_NARROW(FK_TEST, 24); 9102 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03F953; /* 0x2B03F917: je 0x2b03f953 */ 9103 L_2B03F919: 9104 PUSH32(esp, esi); /* 0x2B03F919: push esi */ 9105 ecx = ebp + (-0x18); /* 0x2B03F91A: lea ecx, [ebp - 0x18] */ 9106 PUSH32(esp, 8); /* 0x2B03F91D: push 8 */ 9107 PUSH32(esp, ecx); /* 0x2B03F91F: push ecx */ 9108 RECOMP_ICALL(ebx); /* 0x2B03F920: call ebx */ 9109 RECOMP_FLAGS_IN(); 9110 ecx = eax; /* 0x2B03F922: mov ecx, eax */ 9111 RECOMP_ICALL(MEM32(0x2B0B5EDC)); /* 0x2B03F924: call dword ptr [0x2b0b5edc] */ 9112 RECOMP_FLAGS_IN(); 9113 /* test LO8(eax), LO8(eax) */ /* 0x2B03F92A: test al, al */ 9114 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9115 _cf = 0; 9116 _flag_k = FK_NARROW(FK_TEST, 24); 9117 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03F932; /* 0x2B03F92C: jne 0x2b03f932 */ 9118 L_2B03F92E: 9119 PUSH32(esp, 0x18u); /* 0x2B03F92E: push 0x18 */ 9120 goto L_2B03F934; /* 0x2B03F930: jmp 0x2b03f934 */ 9121 L_2B03F932: 9122 PUSH32(esp, 0x17u); /* 0x2B03F932: push 0x17 */ 9123 L_2B03F934: 9124 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 9125 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 9126 RECOMP_FLAGS_IN(); 9127 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 9128 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 9129 RECOMP_FLAGS_IN(); 9130 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 9131 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 9132 RECOMP_FLAGS_IN(); 9133 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 9134 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 9135 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 9136 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 9137 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 9138 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 9139 L_2B03F953: 9140 ecx = 9; /* 0x2B03F953: mov ecx, 9 */ 9141 esi = 0x2B0E7248u; /* 0x2B03F958: mov esi, 0x2b0e7248 */ 9142 edi = ebp + (-0x48); /* 0x2B03F95D: lea edi, [ebp - 0x48] */ 9143 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03F960: 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; } 9144 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B03F962: movsb byte ptr es:[edi], byte ptr [esi] */ 9145 esi = MEM32(0x2B0B53CC); /* 0x2B03F963: mov esi, dword ptr [0x2b0b53cc] */ 9146 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9147 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03F969: or ecx, 0xffffffff */ 9148 _cf = 0; 9149 _flag_k = FK_TEST; 9150 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9151 eax = 0; /* 0x2B03F96C: xor eax, eax */ 9152 _cf = 0; 9153 _flag_k = FK_TEST; 9154 edi = ebp + (-0x48); /* 0x2B03F96E: lea edi, [ebp - 0x48] */ 9155 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; } /* 0x2B03F971: repne scasb al, byte ptr es:[edi] */ 9156 ecx = ~ecx; /* 0x2B03F973: not ecx */ 9157 PUSH32(esp, ecx); /* 0x2B03F975: push ecx */ 9158 edx = ebp + (-0x48); /* 0x2B03F976: lea edx, [ebp - 0x48] */ 9159 PUSH32(esp, edx); /* 0x2B03F979: push edx */ 9160 PUSH32(esp, 0x3Fu); /* 0x2B03F97A: push 0x3f */ 9161 PUSH32(esp, 3); /* 0x2B03F97C: push 3 */ 9162 RECOMP_ICALL(esi); /* 0x2B03F97E: call esi */ 9163 RECOMP_FLAGS_IN(); 9164 ecx = eax; /* 0x2B03F980: mov ecx, eax */ 9165 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B03F982: call dword ptr [0x2b0b53c4] */ 9166 RECOMP_FLAGS_IN(); 9167 PUSH32(esp, 0x18u); /* 0x2B03F988: push 0x18 */ 9168 PUSH32(esp, 6); /* 0x2B03F98A: push 6 */ 9169 RECOMP_ICALL(esi); /* 0x2B03F98C: call esi */ 9170 RECOMP_FLAGS_IN(); 9171 ecx = eax; /* 0x2B03F98E: mov ecx, eax */ 9172 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F990: call dword ptr [0x2b0b53c8] */ 9173 RECOMP_FLAGS_IN(); 9174 edi = POP32_VAL(esp); /* 0x2B03F996: pop edi */ 9175 esi = POP32_VAL(esp); /* 0x2B03F997: pop esi */ 9176 ebx = POP32_VAL(esp); /* 0x2B03F998: pop ebx */ 9177 esp = ebp; /* 0x2B03F999: mov esp, ebp */ 9178 ebp = POP32_VAL(esp); /* 0x2B03F99B: pop ebp */ 9179 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F99C: ret */ 9180 RECOMP_REGS_OUT(); 9181 } 9182 9183 void sub_2B03F86C(void) { 9184 int _fpu_cmp = 0; 9185 uint32_t _cf = 0; 9186 int _df = 1; 9187 uint32_t _flag_k = FK_NONE; 9188 uint32_t _flag_a = 0, _flag_b = 0; 9189 uint32_t _itail_tgt = 0; 9190 RECOMP_REGS_LOCALS 9191 RECOMP_ENTER(0x2B03F86Cu); 9192 9193 L_2B03F86C: 9194 PUSH32(esp, 0x17u); /* 0x2B03F86C: push 0x17 */ 9195 PUSH32(esp, 6); /* 0x2B03F86E: push 6 */ 9196 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F870: call dword ptr [0x2b0b53cc] */ 9197 RECOMP_FLAGS_IN(); 9198 ecx = eax; /* 0x2B03F876: mov ecx, eax */ 9199 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F878: call dword ptr [0x2b0b53c8] */ 9200 RECOMP_FLAGS_IN(); 9201 edi = POP32_VAL(esp); /* 0x2B03F87E: pop edi */ 9202 esi = POP32_VAL(esp); /* 0x2B03F87F: pop esi */ 9203 ebx = POP32_VAL(esp); /* 0x2B03F880: pop ebx */ 9204 esp = ebp; /* 0x2B03F881: mov esp, ebp */ 9205 ebp = POP32_VAL(esp); /* 0x2B03F883: pop ebp */ 9206 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F884: ret */ 9207 RECOMP_REGS_OUT(); 9208 } 9209 9210 void sub_2B03F887(void) { 9211 int _fpu_cmp = 0; 9212 uint32_t _cf = 0; 9213 int _df = 1; 9214 uint32_t _flag_k = FK_NONE; 9215 uint32_t _flag_a = 0, _flag_b = 0; 9216 uint32_t _itail_tgt = 0; 9217 RECOMP_REGS_LOCALS 9218 RECOMP_ENTER(0x2B03F887u); 9219 9220 L_2B03F887: 9221 PUSH32(esp, 6); /* 0x2B03F887: push 6 */ 9222 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F889: call dword ptr [0x2b0b53cc] */ 9223 RECOMP_FLAGS_IN(); 9224 ecx = eax; /* 0x2B03F88F: mov ecx, eax */ 9225 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F891: call dword ptr [0x2b0b53c8] */ 9226 RECOMP_FLAGS_IN(); 9227 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F897: mov ecx, dword ptr [ebp - 0x10] */ 9228 RECOMP_ICALL(0x2B040180u); /* 0x2B03F89A: call 0x2b040180 */ /* not lifted */ 9229 RECOMP_FLAGS_IN(); 9230 edi = POP32_VAL(esp); /* 0x2B03F89F: pop edi */ 9231 esi = POP32_VAL(esp); /* 0x2B03F8A0: pop esi */ 9232 ebx = POP32_VAL(esp); /* 0x2B03F8A1: pop ebx */ 9233 esp = ebp; /* 0x2B03F8A2: mov esp, ebp */ 9234 ebp = POP32_VAL(esp); /* 0x2B03F8A4: pop ebp */ 9235 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8A5: ret */ 9236 RECOMP_REGS_OUT(); 9237 } 9238 9239 void sub_2B03F8DF(void) { 9240 int _fpu_cmp = 0; 9241 uint32_t _cf = 0; 9242 int _df = 1; 9243 uint32_t _flag_k = FK_NONE; 9244 uint32_t _flag_a = 0, _flag_b = 0; 9245 uint32_t _itail_tgt = 0; 9246 RECOMP_REGS_LOCALS 9247 RECOMP_ENTER(0x2B03F8DFu); 9248 9249 L_2B03F8DF: 9250 PUSH32(esp, 6); /* 0x2B03F8DF: push 6 */ 9251 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F8E1: call dword ptr [0x2b0b53cc] */ 9252 RECOMP_FLAGS_IN(); 9253 ecx = eax; /* 0x2B03F8E7: mov ecx, eax */ 9254 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F8E9: call dword ptr [0x2b0b53c8] */ 9255 RECOMP_FLAGS_IN(); 9256 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F8EF: mov ecx, dword ptr [ebp - 0x10] */ 9257 RECOMP_ICALL(0x2B040130u); /* 0x2B03F8F2: call 0x2b040130 */ /* not lifted */ 9258 RECOMP_FLAGS_IN(); 9259 edi = POP32_VAL(esp); /* 0x2B03F8F7: pop edi */ 9260 esi = POP32_VAL(esp); /* 0x2B03F8F8: pop esi */ 9261 ebx = POP32_VAL(esp); /* 0x2B03F8F9: pop ebx */ 9262 esp = ebp; /* 0x2B03F8FA: mov esp, ebp */ 9263 ebp = POP32_VAL(esp); /* 0x2B03F8FC: pop ebp */ 9264 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F8FD: ret */ 9265 RECOMP_REGS_OUT(); 9266 } 9267 9268 void sub_2B03F934(void) { 9269 int _fpu_cmp = 0; 9270 uint32_t _cf = 0; 9271 int _df = 1; 9272 uint32_t _flag_k = FK_NONE; 9273 uint32_t _flag_a = 0, _flag_b = 0; 9274 uint32_t _itail_tgt = 0; 9275 RECOMP_REGS_LOCALS 9276 RECOMP_ENTER(0x2B03F934u); 9277 9278 L_2B03F934: 9279 PUSH32(esp, 6); /* 0x2B03F934: push 6 */ 9280 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03F936: call dword ptr [0x2b0b53cc] */ 9281 RECOMP_FLAGS_IN(); 9282 ecx = eax; /* 0x2B03F93C: mov ecx, eax */ 9283 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03F93E: call dword ptr [0x2b0b53c8] */ 9284 RECOMP_FLAGS_IN(); 9285 ecx = MEM32(ebp + (-0x10)); /* 0x2B03F944: mov ecx, dword ptr [ebp - 0x10] */ 9286 RECOMP_ICALL(0x2B040150u); /* 0x2B03F947: call 0x2b040150 */ /* not lifted */ 9287 RECOMP_FLAGS_IN(); 9288 edi = POP32_VAL(esp); /* 0x2B03F94C: pop edi */ 9289 esi = POP32_VAL(esp); /* 0x2B03F94D: pop esi */ 9290 ebx = POP32_VAL(esp); /* 0x2B03F94E: pop ebx */ 9291 esp = ebp; /* 0x2B03F94F: mov esp, ebp */ 9292 ebp = POP32_VAL(esp); /* 0x2B03F951: pop ebp */ 9293 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03F952: ret */ 9294 RECOMP_REGS_OUT(); 9295 } 9296 9297 void sub_2B03F9A0(void) { 9298 int _fpu_cmp = 0; 9299 uint32_t _cf = 0; 9300 int _df = 1; 9301 uint32_t _flag_k = FK_NONE; 9302 uint32_t _flag_a = 0, _flag_b = 0; 9303 uint32_t _itail_tgt = 0; 9304 RECOMP_REGS_LOCALS 9305 RECOMP_ENTER(0x2B03F9A0u); 9306 9307 L_2B03F9A0: 9308 PUSH32(esp, ebp); /* 0x2B03F9A0: push ebp */ 9309 ebp = esp; /* 0x2B03F9A1: mov ebp, esp */ 9310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9312 esp = esp - 8; /* 0x2B03F9A3: sub esp, 8 */ 9313 _flag_k = FK_CMP; 9314 eax = MEM32(ebp + 0x8); /* 0x2B03F9A6: mov eax, dword ptr [ebp + 8] */ 9315 PUSH32(esp, ebx); /* 0x2B03F9A9: push ebx */ 9316 ebx = MEM32(eax + 0x4); /* 0x2B03F9AA: mov ebx, dword ptr [eax + 4] */ 9317 PUSH32(esp, esi); /* 0x2B03F9AD: push esi */ 9318 esi = MEM32(ebx); /* 0x2B03F9AE: mov esi, dword ptr [ebx] */ 9319 /* cmp esi, ebx */ /* 0x2B03F9B0: cmp esi, ebx */ 9320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9322 _flag_k = FK_CMP; 9323 PUSH32(esp, edi); /* 0x2B03F9B2: push edi */ 9324 edi = ecx; /* 0x2B03F9B3: mov edi, ecx */ 9325 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03F9FB; /* 0x2B03F9B5: je 0x2b03f9fb */ 9326 L_2B03F9B7: 9327 ecx = MEM32(esi + 0xC); /* 0x2B03F9B7: mov ecx, dword ptr [esi + 0xc] */ 9328 eax = MEM32(ecx + 0x4); /* 0x2B03F9BA: mov eax, dword ptr [ecx + 4] */ 9329 edx = MEM32(edi + 0x4); /* 0x2B03F9BD: mov edx, dword ptr [edi + 4] */ 9330 MEM32(ebp + (-0x8)) = eax; /* 0x2B03F9C0: mov dword ptr [ebp - 8], eax */ 9331 ecx = MEM32(ecx + 0x8); /* 0x2B03F9C3: mov ecx, dword ptr [ecx + 8] */ 9332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9334 eax = eax + edx; /* 0x2B03F9C6: add eax, edx */ 9335 _flag_k = FK_ADD; 9336 edx = MEM32(edi + 0x8); /* 0x2B03F9C8: mov edx, dword ptr [edi + 8] */ 9337 MEM32(ebp + (-0x8)) = eax; /* 0x2B03F9CB: mov dword ptr [ebp - 8], eax */ 9338 eax = ecx + edx + 0x14; /* 0x2B03F9CE: lea eax, [ecx + edx + 0x14] */ 9339 MEM32(ebp + (-0x4)) = eax; /* 0x2B03F9D2: mov dword ptr [ebp - 4], eax */ 9340 ecx = MEM32(esi + 0x8); /* 0x2B03F9D5: mov ecx, dword ptr [esi + 8] */ 9341 edx = MEM32(ecx); /* 0x2B03F9D8: mov edx, dword ptr [ecx] */ 9342 eax = ebp + (-0x8); /* 0x2B03F9DA: lea eax, [ebp - 8] */ 9343 PUSH32(esp, eax); /* 0x2B03F9DD: push eax */ 9344 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B03F9DE: call dword ptr [edx + 0x14] */ 9345 RECOMP_FLAGS_IN(); 9346 ecx = MEM32(esi + 0x8); /* 0x2B03F9E1: mov ecx, dword ptr [esi + 8] */ 9347 RECOMP_ICALL(MEM32(0x2B0B58BC)); /* 0x2B03F9E4: call dword ptr [0x2b0b58bc] */ 9348 RECOMP_FLAGS_IN(); 9349 ecx = MEM32(esi + 0x8); /* 0x2B03F9EA: mov ecx, dword ptr [esi + 8] */ 9350 PUSH32(esp, 0); /* 0x2B03F9ED: push 0 */ 9351 RECOMP_ICALL(MEM32(0x2B0B58C0)); /* 0x2B03F9EF: call dword ptr [0x2b0b58c0] */ 9352 RECOMP_FLAGS_IN(); 9353 esi = MEM32(esi); /* 0x2B03F9F5: mov esi, dword ptr [esi] */ 9354 /* cmp esi, ebx */ /* 0x2B03F9F7: cmp esi, ebx */ 9355 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9357 _flag_k = FK_CMP; 9358 RECOMP_BACKEDGE(); 9359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03F9B7; /* 0x2B03F9F9: jne 0x2b03f9b7 */ 9360 L_2B03F9FB: 9361 edi = POP32_VAL(esp); /* 0x2B03F9FB: pop edi */ 9362 esi = POP32_VAL(esp); /* 0x2B03F9FC: pop esi */ 9363 ebx = POP32_VAL(esp); /* 0x2B03F9FD: pop ebx */ 9364 esp = ebp; /* 0x2B03F9FE: mov esp, ebp */ 9365 ebp = POP32_VAL(esp); /* 0x2B03FA00: pop ebp */ 9366 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03FA01: ret 4 */ 9367 RECOMP_REGS_OUT(); 9368 } 9369 9370 void sub_2B03FA10(void) { 9371 int _fpu_cmp = 0; 9372 uint32_t _cf = 0; 9373 int _df = 1; 9374 uint32_t _flag_k = FK_NONE; 9375 uint32_t _flag_a = 0, _flag_b = 0; 9376 uint32_t _itail_tgt = 0; 9377 RECOMP_REGS_LOCALS 9378 RECOMP_ENTER(0x2B03FA10u); 9379 9380 L_2B03FA10: 9381 PUSH32(esp, ebp); /* 0x2B03FA10: push ebp */ 9382 ebp = esp; /* 0x2B03FA11: mov ebp, esp */ 9383 eax = MEM32(ebp + 0x8); /* 0x2B03FA13: mov eax, dword ptr [ebp + 8] */ 9384 PUSH32(esp, esi); /* 0x2B03FA16: push esi */ 9385 PUSH32(esp, edi); /* 0x2B03FA17: push edi */ 9386 edi = MEM32(eax + 0x4); /* 0x2B03FA18: mov edi, dword ptr [eax + 4] */ 9387 esi = MEM32(edi); /* 0x2B03FA1B: mov esi, dword ptr [edi] */ 9388 /* cmp esi, edi */ /* 0x2B03FA1D: cmp esi, edi */ 9389 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9391 _flag_k = FK_CMP; 9392 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FA34; /* 0x2B03FA1F: je 0x2b03fa34 */ 9393 L_2B03FA21: 9394 PUSH32(esp, ebx); /* 0x2B03FA21: push ebx */ 9395 ebx = MEM32(0x2B0B58B8); /* 0x2B03FA22: mov ebx, dword ptr [0x2b0b58b8] */ 9396 L_2B03FA28: 9397 ecx = MEM32(esi + 0x8); /* 0x2B03FA28: mov ecx, dword ptr [esi + 8] */ 9398 RECOMP_ICALL(ebx); /* 0x2B03FA2B: call ebx */ 9399 RECOMP_FLAGS_IN(); 9400 esi = MEM32(esi); /* 0x2B03FA2D: mov esi, dword ptr [esi] */ 9401 /* cmp esi, edi */ /* 0x2B03FA2F: cmp esi, edi */ 9402 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9404 _flag_k = FK_CMP; 9405 RECOMP_BACKEDGE(); 9406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FA28; /* 0x2B03FA31: jne 0x2b03fa28 */ 9407 L_2B03FA33: 9408 ebx = POP32_VAL(esp); /* 0x2B03FA33: pop ebx */ 9409 L_2B03FA34: 9410 edi = POP32_VAL(esp); /* 0x2B03FA34: pop edi */ 9411 esi = POP32_VAL(esp); /* 0x2B03FA35: pop esi */ 9412 ebp = POP32_VAL(esp); /* 0x2B03FA36: pop ebp */ 9413 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03FA37: ret 4 */ 9414 RECOMP_REGS_OUT(); 9415 } 9416 9417 void sub_2B03FA40(void) { 9418 int _fpu_cmp = 0; 9419 uint32_t _cf = 0; 9420 int _df = 1; 9421 uint32_t _flag_k = FK_NONE; 9422 uint32_t _flag_a = 0, _flag_b = 0; 9423 uint32_t _itail_tgt = 0; 9424 RECOMP_REGS_LOCALS 9425 RECOMP_ENTER(0x2B03FA40u); 9426 9427 L_2B03FA40: 9428 PUSH32(esp, ebp); /* 0x2B03FA40: push ebp */ 9429 ebp = esp; /* 0x2B03FA41: mov ebp, esp */ 9430 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 9431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9432 esp = esp - 0x1Cu; /* 0x2B03FA43: sub esp, 0x1c */ 9433 _flag_k = FK_CMP; 9434 PUSH32(esp, ebx); /* 0x2B03FA46: push ebx */ 9435 PUSH32(esp, esi); /* 0x2B03FA47: push esi */ 9436 PUSH32(esp, edi); /* 0x2B03FA48: push edi */ 9437 edi = ecx; /* 0x2B03FA49: mov edi, ecx */ 9438 eax = MEM32(edi + 0x38); /* 0x2B03FA4B: mov eax, dword ptr [edi + 0x38] */ 9439 esi = MEM32(eax); /* 0x2B03FA4E: mov esi, dword ptr [eax] */ 9440 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9441 ebx = 0; /* 0x2B03FA50: xor ebx, ebx */ 9442 _cf = 0; 9443 _flag_k = FK_TEST; 9444 /* cmp esi, eax */ /* 0x2B03FA52: cmp esi, eax */ 9445 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9447 _flag_k = FK_CMP; 9448 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FA54: mov dword ptr [ebp - 4], edi */ 9449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FA6D; /* 0x2B03FA57: je 0x2b03fa6d */ 9450 L_2B03FA59: 9451 ecx = MEM32(esi + 0x8); /* 0x2B03FA59: mov ecx, dword ptr [esi + 8] */ 9452 /* cmp ecx, ebx */ /* 0x2B03FA5C: cmp ecx, ebx */ 9453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9455 _flag_k = FK_CMP; 9456 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FA66; /* 0x2B03FA5E: je 0x2b03fa66 */ 9457 L_2B03FA60: 9458 eax = MEM32(ecx); /* 0x2B03FA60: mov eax, dword ptr [ecx] */ 9459 PUSH32(esp, 1); /* 0x2B03FA62: push 1 */ 9460 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FA64: call dword ptr [eax] */ 9461 RECOMP_FLAGS_IN(); 9462 L_2B03FA66: 9463 esi = MEM32(esi); /* 0x2B03FA66: mov esi, dword ptr [esi] */ 9464 /* cmp esi, MEM32(edi + 0x38) */ /* 0x2B03FA68: cmp esi, dword ptr [edi + 0x38] */ 9465 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x38)); 9466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9467 _flag_k = FK_CMP; 9468 RECOMP_BACKEDGE(); 9469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FA59; /* 0x2B03FA6B: jne 0x2b03fa59 */ 9470 L_2B03FA6D: 9471 eax = MEM32(edi + 0x38); /* 0x2B03FA6D: mov eax, dword ptr [edi + 0x38] */ 9472 edx = MEM32(eax); /* 0x2B03FA70: mov edx, dword ptr [eax] */ 9473 ecx = edi + 0x34; /* 0x2B03FA72: lea ecx, [edi + 0x34] */ 9474 PUSH32(esp, eax); /* 0x2B03FA75: push eax */ 9475 PUSH32(esp, edx); /* 0x2B03FA76: push edx */ 9476 edx = ebp + (-0x8); /* 0x2B03FA77: lea edx, [ebp - 8] */ 9477 PUSH32(esp, edx); /* 0x2B03FA7A: push edx */ 9478 RECOMP_ICALL(0x2B040350u); /* 0x2B03FA7B: call 0x2b040350 */ /* not lifted */ 9479 RECOMP_FLAGS_IN(); 9480 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FA80: call dword ptr [0x2b0b5d6c] */ 9481 RECOMP_FLAGS_IN(); 9482 ecx = eax; /* 0x2B03FA86: mov ecx, eax */ 9483 RECOMP_ICALL(MEM32(0x2B0B5ED4)); /* 0x2B03FA88: call dword ptr [0x2b0b5ed4] */ 9484 RECOMP_FLAGS_IN(); 9485 /* cmp eax, ebx */ /* 0x2B03FA8E: cmp eax, ebx */ 9486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9488 _flag_k = FK_CMP; 9489 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FA90: mov dword ptr [ebp - 8], eax */ 9490 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FAD2; /* 0x2B03FA93: je 0x2b03fad2 */ 9491 L_2B03FA95: 9492 eax = MEM32(eax + 0x4); /* 0x2B03FA95: mov eax, dword ptr [eax + 4] */ 9493 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FA98: mov dword ptr [ebp - 0x1c], ebx */ 9494 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FA9B: mov dword ptr [ebp - 0x18], ebx */ 9495 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FA9E: mov dword ptr [ebp - 0x14], ebx */ 9496 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FAA1: mov dword ptr [ebp - 0x10], ebx */ 9497 ebx = MEM32(eax); /* 0x2B03FAA4: mov ebx, dword ptr [eax] */ 9498 /* cmp ebx, eax */ /* 0x2B03FAA6: cmp ebx, eax */ 9499 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9501 _flag_k = FK_CMP; 9502 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FAD2; /* 0x2B03FAA8: je 0x2b03fad2 */ 9503 L_2B03FAAA: 9504 esi = ebx + 0x8; /* 0x2B03FAAA: lea esi, [ebx + 8] */ 9505 ecx = 5; /* 0x2B03FAAD: mov ecx, 5 */ 9506 edi = ebp + (-0x1C); /* 0x2B03FAB2: lea edi, [ebp - 0x1c] */ 9507 PUSH32(esp, 2); /* 0x2B03FAB5: push 2 */ 9508 eax = ebp + (-0x1C); /* 0x2B03FAB7: lea eax, [ebp - 0x1c] */ 9509 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FABA: 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; } 9510 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FABC: mov ecx, dword ptr [ebp - 4] */ 9511 PUSH32(esp, eax); /* 0x2B03FABF: push eax */ 9512 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FAC0: call 0x2b03fd10 */ /* not lifted */ 9513 RECOMP_FLAGS_IN(); 9514 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FAC5: mov ecx, dword ptr [ebp - 8] */ 9515 ebx = MEM32(ebx); /* 0x2B03FAC8: mov ebx, dword ptr [ebx] */ 9516 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FACA: cmp ebx, dword ptr [ecx + 4] */ 9517 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9519 _flag_k = FK_CMP; 9520 RECOMP_BACKEDGE(); 9521 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FAAA; /* 0x2B03FACD: jne 0x2b03faaa */ 9522 L_2B03FACF: 9523 edi = MEM32(ebp + (-0x4)); /* 0x2B03FACF: mov edi, dword ptr [ebp - 4] */ 9524 L_2B03FAD2: 9525 ecx = edi; /* 0x2B03FAD2: mov ecx, edi */ 9526 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FAD4: call 0x2b03a2b0 */ /* not lifted */ 9527 RECOMP_FLAGS_IN(); 9528 edi = POP32_VAL(esp); /* 0x2B03FAD9: pop edi */ 9529 esi = POP32_VAL(esp); /* 0x2B03FADA: pop esi */ 9530 ebx = POP32_VAL(esp); /* 0x2B03FADB: pop ebx */ 9531 esp = ebp; /* 0x2B03FADC: mov esp, ebp */ 9532 ebp = POP32_VAL(esp); /* 0x2B03FADE: pop ebp */ 9533 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FADF: ret */ 9534 RECOMP_REGS_OUT(); 9535 } 9536 9537 void sub_2B03FAE0(void) { 9538 int _fpu_cmp = 0; 9539 uint32_t _cf = 0; 9540 int _df = 1; 9541 uint32_t _flag_k = FK_NONE; 9542 uint32_t _flag_a = 0, _flag_b = 0; 9543 uint32_t _itail_tgt = 0; 9544 RECOMP_REGS_LOCALS 9545 RECOMP_ENTER(0x2B03FAE0u); 9546 9547 L_2B03FAE0: 9548 PUSH32(esp, ebp); /* 0x2B03FAE0: push ebp */ 9549 ebp = esp; /* 0x2B03FAE1: mov ebp, esp */ 9550 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 9551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9552 esp = esp - 0x1Cu; /* 0x2B03FAE3: sub esp, 0x1c */ 9553 _flag_k = FK_CMP; 9554 PUSH32(esp, ebx); /* 0x2B03FAE6: push ebx */ 9555 PUSH32(esp, esi); /* 0x2B03FAE7: push esi */ 9556 PUSH32(esp, edi); /* 0x2B03FAE8: push edi */ 9557 edi = ecx; /* 0x2B03FAE9: mov edi, ecx */ 9558 eax = MEM32(edi + 0x2C); /* 0x2B03FAEB: mov eax, dword ptr [edi + 0x2c] */ 9559 esi = MEM32(eax); /* 0x2B03FAEE: mov esi, dword ptr [eax] */ 9560 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9561 ebx = 0; /* 0x2B03FAF0: xor ebx, ebx */ 9562 _cf = 0; 9563 _flag_k = FK_TEST; 9564 /* cmp esi, eax */ /* 0x2B03FAF2: cmp esi, eax */ 9565 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9567 _flag_k = FK_CMP; 9568 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FAF4: mov dword ptr [ebp - 4], edi */ 9569 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB0D; /* 0x2B03FAF7: je 0x2b03fb0d */ 9570 L_2B03FAF9: 9571 ecx = MEM32(esi + 0x8); /* 0x2B03FAF9: mov ecx, dword ptr [esi + 8] */ 9572 /* cmp ecx, ebx */ /* 0x2B03FAFC: cmp ecx, ebx */ 9573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9575 _flag_k = FK_CMP; 9576 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB06; /* 0x2B03FAFE: je 0x2b03fb06 */ 9577 L_2B03FB00: 9578 eax = MEM32(ecx); /* 0x2B03FB00: mov eax, dword ptr [ecx] */ 9579 PUSH32(esp, 1); /* 0x2B03FB02: push 1 */ 9580 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FB04: call dword ptr [eax] */ 9581 RECOMP_FLAGS_IN(); 9582 L_2B03FB06: 9583 esi = MEM32(esi); /* 0x2B03FB06: mov esi, dword ptr [esi] */ 9584 /* cmp esi, MEM32(edi + 0x2C) */ /* 0x2B03FB08: cmp esi, dword ptr [edi + 0x2c] */ 9585 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x2C)); 9586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9587 _flag_k = FK_CMP; 9588 RECOMP_BACKEDGE(); 9589 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FAF9; /* 0x2B03FB0B: jne 0x2b03faf9 */ 9590 L_2B03FB0D: 9591 eax = MEM32(edi + 0x2C); /* 0x2B03FB0D: mov eax, dword ptr [edi + 0x2c] */ 9592 edx = MEM32(eax); /* 0x2B03FB10: mov edx, dword ptr [eax] */ 9593 ecx = edi + 0x28; /* 0x2B03FB12: lea ecx, [edi + 0x28] */ 9594 PUSH32(esp, eax); /* 0x2B03FB15: push eax */ 9595 PUSH32(esp, edx); /* 0x2B03FB16: push edx */ 9596 edx = ebp + (-0x8); /* 0x2B03FB17: lea edx, [ebp - 8] */ 9597 PUSH32(esp, edx); /* 0x2B03FB1A: push edx */ 9598 RECOMP_ICALL(0x2B040350u); /* 0x2B03FB1B: call 0x2b040350 */ /* not lifted */ 9599 RECOMP_FLAGS_IN(); 9600 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FB20: call dword ptr [0x2b0b5d6c] */ 9601 RECOMP_FLAGS_IN(); 9602 ecx = eax; /* 0x2B03FB26: mov ecx, eax */ 9603 RECOMP_ICALL(MEM32(0x2B0B5ED0)); /* 0x2B03FB28: call dword ptr [0x2b0b5ed0] */ 9604 RECOMP_FLAGS_IN(); 9605 /* cmp eax, ebx */ /* 0x2B03FB2E: cmp eax, ebx */ 9606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9608 _flag_k = FK_CMP; 9609 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FB30: mov dword ptr [ebp - 8], eax */ 9610 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FB33: mov dword ptr [ebp - 0x1c], ebx */ 9611 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FB36: mov dword ptr [ebp - 0x18], ebx */ 9612 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FB39: mov dword ptr [ebp - 0x14], ebx */ 9613 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FB3C: mov dword ptr [ebp - 0x10], ebx */ 9614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB72; /* 0x2B03FB3F: je 0x2b03fb72 */ 9615 L_2B03FB41: 9616 eax = MEM32(eax + 0x4); /* 0x2B03FB41: mov eax, dword ptr [eax + 4] */ 9617 ebx = MEM32(eax); /* 0x2B03FB44: mov ebx, dword ptr [eax] */ 9618 /* cmp ebx, eax */ /* 0x2B03FB46: cmp ebx, eax */ 9619 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9621 _flag_k = FK_CMP; 9622 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FB72; /* 0x2B03FB48: je 0x2b03fb72 */ 9623 L_2B03FB4A: 9624 esi = ebx + 0x8; /* 0x2B03FB4A: lea esi, [ebx + 8] */ 9625 ecx = 5; /* 0x2B03FB4D: mov ecx, 5 */ 9626 edi = ebp + (-0x1C); /* 0x2B03FB52: lea edi, [ebp - 0x1c] */ 9627 PUSH32(esp, 1); /* 0x2B03FB55: push 1 */ 9628 eax = ebp + (-0x1C); /* 0x2B03FB57: lea eax, [ebp - 0x1c] */ 9629 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FB5A: 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; } 9630 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FB5C: mov ecx, dword ptr [ebp - 4] */ 9631 PUSH32(esp, eax); /* 0x2B03FB5F: push eax */ 9632 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FB60: call 0x2b03fd10 */ /* not lifted */ 9633 RECOMP_FLAGS_IN(); 9634 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FB65: mov ecx, dword ptr [ebp - 8] */ 9635 ebx = MEM32(ebx); /* 0x2B03FB68: mov ebx, dword ptr [ebx] */ 9636 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FB6A: cmp ebx, dword ptr [ecx + 4] */ 9637 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9639 _flag_k = FK_CMP; 9640 RECOMP_BACKEDGE(); 9641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FB4A; /* 0x2B03FB6D: jne 0x2b03fb4a */ 9642 L_2B03FB6F: 9643 edi = MEM32(ebp + (-0x4)); /* 0x2B03FB6F: mov edi, dword ptr [ebp - 4] */ 9644 L_2B03FB72: 9645 ecx = edi; /* 0x2B03FB72: mov ecx, edi */ 9646 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FB74: call 0x2b03a2b0 */ /* not lifted */ 9647 RECOMP_FLAGS_IN(); 9648 edi = POP32_VAL(esp); /* 0x2B03FB79: pop edi */ 9649 esi = POP32_VAL(esp); /* 0x2B03FB7A: pop esi */ 9650 ebx = POP32_VAL(esp); /* 0x2B03FB7B: pop ebx */ 9651 esp = ebp; /* 0x2B03FB7C: mov esp, ebp */ 9652 ebp = POP32_VAL(esp); /* 0x2B03FB7E: pop ebp */ 9653 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FB7F: ret */ 9654 RECOMP_REGS_OUT(); 9655 } 9656 9657 void sub_2B03FB80(void) { 9658 int _fpu_cmp = 0; 9659 uint32_t _cf = 0; 9660 int _df = 1; 9661 uint32_t _flag_k = FK_NONE; 9662 uint32_t _flag_a = 0, _flag_b = 0; 9663 uint32_t _itail_tgt = 0; 9664 RECOMP_REGS_LOCALS 9665 RECOMP_ENTER(0x2B03FB80u); 9666 9667 L_2B03FB80: 9668 PUSH32(esp, ebp); /* 0x2B03FB80: push ebp */ 9669 ebp = esp; /* 0x2B03FB81: mov ebp, esp */ 9670 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 9671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9672 esp = esp - 0x1Cu; /* 0x2B03FB83: sub esp, 0x1c */ 9673 _flag_k = FK_CMP; 9674 PUSH32(esp, ebx); /* 0x2B03FB86: push ebx */ 9675 PUSH32(esp, esi); /* 0x2B03FB87: push esi */ 9676 PUSH32(esp, edi); /* 0x2B03FB88: push edi */ 9677 edi = ecx; /* 0x2B03FB89: mov edi, ecx */ 9678 eax = MEM32(edi + 0x44); /* 0x2B03FB8B: mov eax, dword ptr [edi + 0x44] */ 9679 esi = MEM32(eax); /* 0x2B03FB8E: mov esi, dword ptr [eax] */ 9680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9681 ebx = 0; /* 0x2B03FB90: xor ebx, ebx */ 9682 _cf = 0; 9683 _flag_k = FK_TEST; 9684 /* cmp esi, eax */ /* 0x2B03FB92: cmp esi, eax */ 9685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9687 _flag_k = FK_CMP; 9688 MEM32(ebp + (-0x4)) = edi; /* 0x2B03FB94: mov dword ptr [ebp - 4], edi */ 9689 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FBAD; /* 0x2B03FB97: je 0x2b03fbad */ 9690 L_2B03FB99: 9691 ecx = MEM32(esi + 0x8); /* 0x2B03FB99: mov ecx, dword ptr [esi + 8] */ 9692 /* cmp ecx, ebx */ /* 0x2B03FB9C: cmp ecx, ebx */ 9693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9695 _flag_k = FK_CMP; 9696 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FBA6; /* 0x2B03FB9E: je 0x2b03fba6 */ 9697 L_2B03FBA0: 9698 eax = MEM32(ecx); /* 0x2B03FBA0: mov eax, dword ptr [ecx] */ 9699 PUSH32(esp, 1); /* 0x2B03FBA2: push 1 */ 9700 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FBA4: call dword ptr [eax] */ 9701 RECOMP_FLAGS_IN(); 9702 L_2B03FBA6: 9703 esi = MEM32(esi); /* 0x2B03FBA6: mov esi, dword ptr [esi] */ 9704 /* cmp esi, MEM32(edi + 0x44) */ /* 0x2B03FBA8: cmp esi, dword ptr [edi + 0x44] */ 9705 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x44)); 9706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9707 _flag_k = FK_CMP; 9708 RECOMP_BACKEDGE(); 9709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FB99; /* 0x2B03FBAB: jne 0x2b03fb99 */ 9710 L_2B03FBAD: 9711 eax = MEM32(edi + 0x44); /* 0x2B03FBAD: mov eax, dword ptr [edi + 0x44] */ 9712 edx = MEM32(eax); /* 0x2B03FBB0: mov edx, dword ptr [eax] */ 9713 ecx = edi + 0x40; /* 0x2B03FBB2: lea ecx, [edi + 0x40] */ 9714 PUSH32(esp, eax); /* 0x2B03FBB5: push eax */ 9715 PUSH32(esp, edx); /* 0x2B03FBB6: push edx */ 9716 edx = ebp + (-0x8); /* 0x2B03FBB7: lea edx, [ebp - 8] */ 9717 PUSH32(esp, edx); /* 0x2B03FBBA: push edx */ 9718 RECOMP_ICALL(0x2B040350u); /* 0x2B03FBBB: call 0x2b040350 */ /* not lifted */ 9719 RECOMP_FLAGS_IN(); 9720 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FBC0: call dword ptr [0x2b0b5d6c] */ 9721 RECOMP_FLAGS_IN(); 9722 ecx = eax; /* 0x2B03FBC6: mov ecx, eax */ 9723 RECOMP_ICALL(MEM32(0x2B0B5ECC)); /* 0x2B03FBC8: call dword ptr [0x2b0b5ecc] */ 9724 RECOMP_FLAGS_IN(); 9725 /* cmp eax, ebx */ /* 0x2B03FBCE: cmp eax, ebx */ 9726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9728 _flag_k = FK_CMP; 9729 MEM32(ebp + (-0x8)) = eax; /* 0x2B03FBD0: mov dword ptr [ebp - 8], eax */ 9730 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03FBD3: mov dword ptr [ebp - 0x1c], ebx */ 9731 MEM32(ebp + (-0x18)) = ebx; /* 0x2B03FBD6: mov dword ptr [ebp - 0x18], ebx */ 9732 MEM32(ebp + (-0x14)) = ebx; /* 0x2B03FBD9: mov dword ptr [ebp - 0x14], ebx */ 9733 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03FBDC: mov dword ptr [ebp - 0x10], ebx */ 9734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC12; /* 0x2B03FBDF: je 0x2b03fc12 */ 9735 L_2B03FBE1: 9736 eax = MEM32(eax + 0x4); /* 0x2B03FBE1: mov eax, dword ptr [eax + 4] */ 9737 ebx = MEM32(eax); /* 0x2B03FBE4: mov ebx, dword ptr [eax] */ 9738 /* cmp ebx, eax */ /* 0x2B03FBE6: cmp ebx, eax */ 9739 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9741 _flag_k = FK_CMP; 9742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC12; /* 0x2B03FBE8: je 0x2b03fc12 */ 9743 L_2B03FBEA: 9744 esi = ebx + 0x8; /* 0x2B03FBEA: lea esi, [ebx + 8] */ 9745 ecx = 5; /* 0x2B03FBED: mov ecx, 5 */ 9746 edi = ebp + (-0x1C); /* 0x2B03FBF2: lea edi, [ebp - 0x1c] */ 9747 PUSH32(esp, 3); /* 0x2B03FBF5: push 3 */ 9748 eax = ebp + (-0x1C); /* 0x2B03FBF7: lea eax, [ebp - 0x1c] */ 9749 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FBFA: 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; } 9750 ecx = MEM32(ebp + (-0x4)); /* 0x2B03FBFC: mov ecx, dword ptr [ebp - 4] */ 9751 PUSH32(esp, eax); /* 0x2B03FBFF: push eax */ 9752 RECOMP_ICALL(0x2B03FD10u); /* 0x2B03FC00: call 0x2b03fd10 */ /* not lifted */ 9753 RECOMP_FLAGS_IN(); 9754 ecx = MEM32(ebp + (-0x8)); /* 0x2B03FC05: mov ecx, dword ptr [ebp - 8] */ 9755 ebx = MEM32(ebx); /* 0x2B03FC08: mov ebx, dword ptr [ebx] */ 9756 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B03FC0A: cmp ebx, dword ptr [ecx + 4] */ 9757 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9759 _flag_k = FK_CMP; 9760 RECOMP_BACKEDGE(); 9761 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FBEA; /* 0x2B03FC0D: jne 0x2b03fbea */ 9762 L_2B03FC0F: 9763 edi = MEM32(ebp + (-0x4)); /* 0x2B03FC0F: mov edi, dword ptr [ebp - 4] */ 9764 L_2B03FC12: 9765 ecx = edi; /* 0x2B03FC12: mov ecx, edi */ 9766 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03FC14: call 0x2b03a2b0 */ /* not lifted */ 9767 RECOMP_FLAGS_IN(); 9768 edi = POP32_VAL(esp); /* 0x2B03FC19: pop edi */ 9769 esi = POP32_VAL(esp); /* 0x2B03FC1A: pop esi */ 9770 ebx = POP32_VAL(esp); /* 0x2B03FC1B: pop ebx */ 9771 esp = ebp; /* 0x2B03FC1C: mov esp, ebp */ 9772 ebp = POP32_VAL(esp); /* 0x2B03FC1E: pop ebp */ 9773 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FC1F: ret */ 9774 RECOMP_REGS_OUT(); 9775 } 9776 9777 void sub_2B03FC20(void) { 9778 int _fpu_cmp = 0; 9779 uint32_t _cf = 0; 9780 int _df = 1; 9781 uint32_t _flag_k = FK_NONE; 9782 uint32_t _flag_a = 0, _flag_b = 0; 9783 uint32_t _itail_tgt = 0; 9784 RECOMP_REGS_LOCALS 9785 RECOMP_ENTER(0x2B03FC20u); 9786 9787 L_2B03FC20: 9788 PUSH32(esp, ebp); /* 0x2B03FC20: push ebp */ 9789 ebp = esp; /* 0x2B03FC21: mov ebp, esp */ 9790 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9792 esp = esp - 8; /* 0x2B03FC23: sub esp, 8 */ 9793 _flag_k = FK_CMP; 9794 PUSH32(esp, ebx); /* 0x2B03FC26: push ebx */ 9795 PUSH32(esp, esi); /* 0x2B03FC27: push esi */ 9796 PUSH32(esp, edi); /* 0x2B03FC28: push edi */ 9797 edi = ecx; /* 0x2B03FC29: mov edi, ecx */ 9798 eax = MEM32(edi + 0x38); /* 0x2B03FC2B: mov eax, dword ptr [edi + 0x38] */ 9799 esi = MEM32(eax); /* 0x2B03FC2E: mov esi, dword ptr [eax] */ 9800 /* cmp esi, eax */ /* 0x2B03FC30: cmp esi, eax */ 9801 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9803 _flag_k = FK_CMP; 9804 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC48; /* 0x2B03FC32: je 0x2b03fc48 */ 9805 L_2B03FC34: 9806 ecx = MEM32(esi + 0x8); /* 0x2B03FC34: mov ecx, dword ptr [esi + 8] */ 9807 /* test ecx, ecx */ /* 0x2B03FC37: test ecx, ecx */ 9808 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9809 _cf = 0; 9810 _flag_k = FK_TEST; 9811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FC41; /* 0x2B03FC39: je 0x2b03fc41 */ 9812 L_2B03FC3B: 9813 eax = MEM32(ecx); /* 0x2B03FC3B: mov eax, dword ptr [ecx] */ 9814 PUSH32(esp, 1); /* 0x2B03FC3D: push 1 */ 9815 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FC3F: call dword ptr [eax] */ 9816 RECOMP_FLAGS_IN(); 9817 L_2B03FC41: 9818 esi = MEM32(esi); /* 0x2B03FC41: mov esi, dword ptr [esi] */ 9819 /* cmp esi, MEM32(edi + 0x38) */ /* 0x2B03FC43: cmp esi, dword ptr [edi + 0x38] */ 9820 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x38)); 9821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9822 _flag_k = FK_CMP; 9823 RECOMP_BACKEDGE(); 9824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FC34; /* 0x2B03FC46: jne 0x2b03fc34 */ 9825 L_2B03FC48: 9826 eax = MEM32(edi + 0x2C); /* 0x2B03FC48: mov eax, dword ptr [edi + 0x2c] */ 9827 esi = MEM32(eax); /* 0x2B03FC4B: mov esi, dword ptr [eax] */ 9828 /* cmp esi, eax */ /* 0x2B03FC4D: cmp esi, eax */ 9829 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9831 _flag_k = FK_CMP; 9832 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC65; /* 0x2B03FC4F: je 0x2b03fc65 */ 9833 L_2B03FC51: 9834 ecx = MEM32(esi + 0x8); /* 0x2B03FC51: mov ecx, dword ptr [esi + 8] */ 9835 /* test ecx, ecx */ /* 0x2B03FC54: test ecx, ecx */ 9836 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9837 _cf = 0; 9838 _flag_k = FK_TEST; 9839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FC5E; /* 0x2B03FC56: je 0x2b03fc5e */ 9840 L_2B03FC58: 9841 edx = MEM32(ecx); /* 0x2B03FC58: mov edx, dword ptr [ecx] */ 9842 PUSH32(esp, 1); /* 0x2B03FC5A: push 1 */ 9843 RECOMP_ICALL(MEM32(edx)); /* 0x2B03FC5C: call dword ptr [edx] */ 9844 RECOMP_FLAGS_IN(); 9845 L_2B03FC5E: 9846 esi = MEM32(esi); /* 0x2B03FC5E: mov esi, dword ptr [esi] */ 9847 /* cmp esi, MEM32(edi + 0x2C) */ /* 0x2B03FC60: cmp esi, dword ptr [edi + 0x2c] */ 9848 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x2C)); 9849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9850 _flag_k = FK_CMP; 9851 RECOMP_BACKEDGE(); 9852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FC51; /* 0x2B03FC63: jne 0x2b03fc51 */ 9853 L_2B03FC65: 9854 eax = MEM32(edi + 0x44); /* 0x2B03FC65: mov eax, dword ptr [edi + 0x44] */ 9855 esi = MEM32(eax); /* 0x2B03FC68: mov esi, dword ptr [eax] */ 9856 /* cmp esi, eax */ /* 0x2B03FC6A: cmp esi, eax */ 9857 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9859 _flag_k = FK_CMP; 9860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FC82; /* 0x2B03FC6C: je 0x2b03fc82 */ 9861 L_2B03FC6E: 9862 ecx = MEM32(esi + 0x8); /* 0x2B03FC6E: mov ecx, dword ptr [esi + 8] */ 9863 /* test ecx, ecx */ /* 0x2B03FC71: test ecx, ecx */ 9864 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9865 _cf = 0; 9866 _flag_k = FK_TEST; 9867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FC7B; /* 0x2B03FC73: je 0x2b03fc7b */ 9868 L_2B03FC75: 9869 eax = MEM32(ecx); /* 0x2B03FC75: mov eax, dword ptr [ecx] */ 9870 PUSH32(esp, 1); /* 0x2B03FC77: push 1 */ 9871 RECOMP_ICALL(MEM32(eax)); /* 0x2B03FC79: call dword ptr [eax] */ 9872 RECOMP_FLAGS_IN(); 9873 L_2B03FC7B: 9874 esi = MEM32(esi); /* 0x2B03FC7B: mov esi, dword ptr [esi] */ 9875 /* cmp esi, MEM32(edi + 0x44) */ /* 0x2B03FC7D: cmp esi, dword ptr [edi + 0x44] */ 9876 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x44)); 9877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9878 _flag_k = FK_CMP; 9879 RECOMP_BACKEDGE(); 9880 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FC6E; /* 0x2B03FC80: jne 0x2b03fc6e */ 9881 L_2B03FC82: 9882 ebx = MEM32(edi + 0x38); /* 0x2B03FC82: mov ebx, dword ptr [edi + 0x38] */ 9883 esi = MEM32(ebx); /* 0x2B03FC85: mov esi, dword ptr [ebx] */ 9884 /* cmp esi, ebx */ /* 0x2B03FC87: cmp esi, ebx */ 9885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9887 _flag_k = FK_CMP; 9888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FCA0; /* 0x2B03FC89: je 0x2b03fca0 */ 9889 L_2B03FC8B: 9890 eax = esi; /* 0x2B03FC8B: mov eax, esi */ 9891 esi = MEM32(esi); /* 0x2B03FC8D: mov esi, dword ptr [esi] */ 9892 PUSH32(esp, eax); /* 0x2B03FC8F: push eax */ 9893 ecx = ebp + (-0x4); /* 0x2B03FC90: lea ecx, [ebp - 4] */ 9894 PUSH32(esp, ecx); /* 0x2B03FC93: push ecx */ 9895 ecx = edi + 0x34; /* 0x2B03FC94: lea ecx, [edi + 0x34] */ 9896 RECOMP_ICALL(0x2B03BC50u); /* 0x2B03FC97: call 0x2b03bc50 */ /* not lifted */ 9897 RECOMP_FLAGS_IN(); 9898 /* cmp esi, ebx */ /* 0x2B03FC9C: cmp esi, ebx */ 9899 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9901 _flag_k = FK_CMP; 9902 RECOMP_BACKEDGE(); 9903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FC8B; /* 0x2B03FC9E: jne 0x2b03fc8b */ 9904 L_2B03FCA0: 9905 ebx = MEM32(edi + 0x2C); /* 0x2B03FCA0: mov ebx, dword ptr [edi + 0x2c] */ 9906 esi = MEM32(ebx); /* 0x2B03FCA3: mov esi, dword ptr [ebx] */ 9907 /* cmp esi, ebx */ /* 0x2B03FCA5: cmp esi, ebx */ 9908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9910 _flag_k = FK_CMP; 9911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FCE3; /* 0x2B03FCA7: je 0x2b03fce3 */ 9912 L_2B03FCA9: 9913 eax = esi; /* 0x2B03FCA9: mov eax, esi */ 9914 esi = MEM32(esi); /* 0x2B03FCAB: mov esi, dword ptr [esi] */ 9915 PUSH32(esp, 0); /* 0x2B03FCAD: push 0 */ 9916 edx = ebp + (-0x8); /* 0x2B03FCAF: lea edx, [ebp - 8] */ 9917 PUSH32(esp, edx); /* 0x2B03FCB2: push edx */ 9918 ecx = ebp + (-0x4); /* 0x2B03FCB3: lea ecx, [ebp - 4] */ 9919 MEM32(ebp + (-0x4)) = eax; /* 0x2B03FCB6: mov dword ptr [ebp - 4], eax */ 9920 RECOMP_ICALL(0x2B005B00u); /* 0x2B03FCB9: call 0x2b005b00 */ /* not lifted */ 9921 RECOMP_FLAGS_IN(); 9922 eax = MEM32(eax); /* 0x2B03FCBE: mov eax, dword ptr [eax] */ 9923 ecx = MEM32(eax + 0x4); /* 0x2B03FCC0: mov ecx, dword ptr [eax + 4] */ 9924 edx = MEM32(eax); /* 0x2B03FCC3: mov edx, dword ptr [eax] */ 9925 MEM32(ecx) = edx; /* 0x2B03FCC5: mov dword ptr [ecx], edx */ 9926 ecx = MEM32(eax); /* 0x2B03FCC7: mov ecx, dword ptr [eax] */ 9927 edx = MEM32(eax + 0x4); /* 0x2B03FCC9: mov edx, dword ptr [eax + 4] */ 9928 PUSH32(esp, eax); /* 0x2B03FCCC: push eax */ 9929 MEM32(ecx + 0x4) = edx; /* 0x2B03FCCD: mov dword ptr [ecx + 4], edx */ 9930 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03FCD0: call 0x2b0ab1ba */ /* not lifted */ 9931 RECOMP_FLAGS_IN(); 9932 ecx = MEM32(edi + 0x30); /* 0x2B03FCD5: mov ecx, dword ptr [edi + 0x30] */ 9933 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9934 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9935 esp = esp + 4; /* 0x2B03FCD8: add esp, 4 */ 9936 _flag_k = FK_ADD; 9937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9938 ecx = ecx - 1; /* 0x2B03FCDB: dec ecx */ 9939 _flag_k = FK_DEC; 9940 /* cmp esi, ebx */ /* 0x2B03FCDC: cmp esi, ebx */ 9941 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9943 _flag_k = FK_CMP; 9944 MEM32(edi + 0x30) = ecx; /* 0x2B03FCDE: mov dword ptr [edi + 0x30], ecx */ 9945 RECOMP_BACKEDGE(); 9946 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FCA9; /* 0x2B03FCE1: jne 0x2b03fca9 */ 9947 L_2B03FCE3: 9948 ebx = edi + 0x40; /* 0x2B03FCE3: lea ebx, [edi + 0x40] */ 9949 edi = MEM32(ebx + 0x4); /* 0x2B03FCE6: mov edi, dword ptr [ebx + 4] */ 9950 esi = MEM32(edi); /* 0x2B03FCE9: mov esi, dword ptr [edi] */ 9951 /* cmp esi, edi */ /* 0x2B03FCEB: cmp esi, edi */ 9952 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9954 _flag_k = FK_CMP; 9955 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FD03; /* 0x2B03FCED: je 0x2b03fd03 */ 9956 L_2B03FCEF: 9957 eax = esi; /* 0x2B03FCEF: mov eax, esi */ 9958 esi = MEM32(esi); /* 0x2B03FCF1: mov esi, dword ptr [esi] */ 9959 PUSH32(esp, eax); /* 0x2B03FCF3: push eax */ 9960 eax = ebp + (-0x8); /* 0x2B03FCF4: lea eax, [ebp - 8] */ 9961 PUSH32(esp, eax); /* 0x2B03FCF7: push eax */ 9962 ecx = ebx; /* 0x2B03FCF8: mov ecx, ebx */ 9963 RECOMP_ICALL(0x2B03BC50u); /* 0x2B03FCFA: call 0x2b03bc50 */ /* not lifted */ 9964 RECOMP_FLAGS_IN(); 9965 /* cmp esi, edi */ /* 0x2B03FCFF: cmp esi, edi */ 9966 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9968 _flag_k = FK_CMP; 9969 RECOMP_BACKEDGE(); 9970 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FCEF; /* 0x2B03FD01: jne 0x2b03fcef */ 9971 L_2B03FD03: 9972 edi = POP32_VAL(esp); /* 0x2B03FD03: pop edi */ 9973 esi = POP32_VAL(esp); /* 0x2B03FD04: pop esi */ 9974 ebx = POP32_VAL(esp); /* 0x2B03FD05: pop ebx */ 9975 esp = ebp; /* 0x2B03FD06: mov esp, ebp */ 9976 ebp = POP32_VAL(esp); /* 0x2B03FD08: pop ebp */ 9977 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03FD09: ret */ 9978 RECOMP_REGS_OUT(); 9979 } 9980 9981 void sub_2B03FD10(void) { 9982 int _fpu_cmp = 0; 9983 uint32_t _cf = 0; 9984 int _df = 1; 9985 uint32_t _flag_k = FK_NONE; 9986 uint32_t _flag_a = 0, _flag_b = 0; 9987 uint32_t _itail_tgt = 0; 9988 RECOMP_REGS_LOCALS 9989 RECOMP_ENTER(0x2B03FD10u); 9990 9991 L_2B03FD10: 9992 PUSH32(esp, ebp); /* 0x2B03FD10: push ebp */ 9993 ebp = esp; /* 0x2B03FD11: mov ebp, esp */ 9994 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03FD13: push -1 */ 9995 PUSH32(esp, 0x2B0AEC01u); /* 0x2B03FD15: push 0x2b0aec01 */ 9996 eax = MEM32(FS_BASE + (0)); /* 0x2B03FD1A: mov eax, dword ptr fs:[0] */ 9997 PUSH32(esp, eax); /* 0x2B03FD20: push eax */ 9998 MEM32(FS_BASE + (0)) = esp; /* 0x2B03FD21: mov dword ptr fs:[0], esp */ 9999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 10000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10001 esp = esp - 0x30u; /* 0x2B03FD28: sub esp, 0x30 */ 10002 _flag_k = FK_CMP; 10003 PUSH32(esp, ebx); /* 0x2B03FD2B: push ebx */ 10004 PUSH32(esp, esi); /* 0x2B03FD2C: push esi */ 10005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10006 edx = 0; /* 0x2B03FD2D: xor edx, edx */ 10007 _cf = 0; 10008 _flag_k = FK_TEST; 10009 PUSH32(esp, edi); /* 0x2B03FD2F: push edi */ 10010 esi = ecx; /* 0x2B03FD30: mov esi, ecx */ 10011 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10012 eax = 0; /* 0x2B03FD32: xor eax, eax */ 10013 _cf = 0; 10014 _flag_k = FK_TEST; 10015 ecx = 0xAu; /* 0x2B03FD34: mov ecx, 0xa */ 10016 edi = ebp + (-0x3C); /* 0x2B03FD39: lea edi, [ebp - 0x3c] */ 10017 MEM32(ebp + (-0x3C)) = edx; /* 0x2B03FD3C: mov dword ptr [ebp - 0x3c], edx */ 10018 MEM32(ebp + (-0x38)) = edx; /* 0x2B03FD3F: mov dword ptr [ebp - 0x38], edx */ 10019 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03FD42: 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; } 10020 eax = MEM32(ebp + 0xC); /* 0x2B03FD44: mov eax, dword ptr [ebp + 0xc] */ 10021 /* cmp eax, 0xFFFFFFFFu */ /* 0x2B03FD47: cmp eax, -1 */ 10022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu); 10023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10024 _flag_k = FK_CMP; 10025 edi = MEM32(ebp + 0x8); /* 0x2B03FD4A: mov edi, dword ptr [ebp + 8] */ 10026 ebx = (int32_t)(int16_t)MEM16(edi + 0x12); /* 0x2B03FD4D: movsx ebx, word ptr [edi + 0x12] */ 10027 MEM32(ebp + (-0x34)) = edx; /* 0x2B03FD51: mov dword ptr [ebp - 0x34], edx */ 10028 MEM32(ebp + (-0x20)) = 0x30u; /* 0x2B03FD54: mov dword ptr [ebp - 0x20], 0x30 */ 10029 MEM32(ebp + (-0x30)) = 0xFAAu; /* 0x2B03FD5B: mov dword ptr [ebp - 0x30], 0xfaa */ 10030 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FD75; /* 0x2B03FD62: jne 0x2b03fd75 */ 10031 L_2B03FD64: 10032 PUSH32(esp, 0x4Cu); /* 0x2B03FD64: push 0x4c */ 10033 PUSH32(esp, edi); /* 0x2B03FD66: push edi */ 10034 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B03FD67: call dword ptr [0x2b0b5d6c] */ 10035 RECOMP_FLAGS_IN(); 10036 ecx = eax; /* 0x2B03FD6D: mov ecx, eax */ 10037 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B03FD6F: call dword ptr [0x2b0b5ee0] */ 10038 RECOMP_FLAGS_IN(); 10039 L_2B03FD75: 10040 /* cmp eax, 1 */ /* 0x2B03FD75: cmp eax, 1 */ 10041 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10043 _flag_k = FK_CMP; 10044 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FE94; /* 0x2B03FD78: jne 0x2b03fe94 */ 10045 L_2B03FD7E: 10046 ecx = 0x2B0E6FCCu; /* 0x2B03FD7E: mov ecx, 0x2b0e6fcc */ 10047 L_2B03FD83: 10048 /* cmp MEM32(ecx), ebx */ /* 0x2B03FD83: cmp dword ptr [ecx], ebx */ 10049 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 10050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10051 _flag_k = FK_CMP; 10052 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FDA6; /* 0x2B03FD85: je 0x2b03fda6 */ 10053 L_2B03FD87: 10054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 10055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10056 ecx = ecx + 0xCu; /* 0x2B03FD87: add ecx, 0xc */ 10057 _flag_k = FK_ADD; 10058 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10059 eax = eax + 1; /* 0x2B03FD8A: inc eax */ 10060 _flag_k = FK_INC; 10061 /* cmp ecx, 0x2B0E7080u */ /* 0x2B03FD8B: cmp ecx, 0x2b0e7080 */ 10062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7080u); 10063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10064 _flag_k = FK_CMP; 10065 RECOMP_BACKEDGE(); 10066 if (CMP_L(_flag_a, _flag_b)) goto L_2B03FD83; /* 0x2B03FD91: jl 0x2b03fd83 */ 10067 L_2B03FD93: 10068 edi = POP32_VAL(esp); /* 0x2B03FD93: pop edi */ 10069 esi = POP32_VAL(esp); /* 0x2B03FD94: pop esi */ 10070 ebx = POP32_VAL(esp); /* 0x2B03FD95: pop ebx */ 10071 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FD96: mov ecx, dword ptr [ebp - 0xc] */ 10072 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FD99: mov dword ptr fs:[0], ecx */ 10073 esp = ebp; /* 0x2B03FDA0: mov esp, ebp */ 10074 ebp = POP32_VAL(esp); /* 0x2B03FDA2: pop ebp */ 10075 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FDA3: ret 8 */ 10076 L_2B03FDA6: 10077 edx = MEM32(esi + 0x4); /* 0x2B03FDA6: mov edx, dword ptr [esi + 4] */ 10078 ebx = eax + eax * 2; /* 0x2B03FDA9: lea ebx, [eax + eax*2] */ 10079 if (2u) _cf = (((ebx) >> 30) & 1u); /* 0x2B03FDAC: shl ebx, 2 */ 10080 if (2u) { _flag_a = recomp_flags_pack((ebx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10081 ebx = ebx << 2u; /* 0x2B03FDAC: shl ebx, 2 */ 10082 eax = MEM32(ebx + 0x2B0E6FC4); /* 0x2B03FDAF: mov eax, dword ptr [ebx + 0x2b0e6fc4] */ 10083 ecx = MEM32(ebx + 0x2B0E6FC8); /* 0x2B03FDB5: mov ecx, dword ptr [ebx + 0x2b0e6fc8] */ 10084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10086 eax = eax + edx; /* 0x2B03FDBB: add eax, edx */ 10087 _flag_k = FK_ADD; 10088 edx = MEM32(edi); /* 0x2B03FDBD: mov edx, dword ptr [edi] */ 10089 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03FDBF: mov dword ptr [ebp - 0x2c], eax */ 10090 eax = MEM32(esi + 0x8); /* 0x2B03FDC2: mov eax, dword ptr [esi + 8] */ 10091 ecx = ecx + eax + 0x14; /* 0x2B03FDC5: lea ecx, [ecx + eax + 0x14] */ 10092 eax = MEM32(edi + 0x4); /* 0x2B03FDC9: mov eax, dword ptr [edi + 4] */ 10093 PUSH32(esp, 0xB0u); /* 0x2B03FDCC: push 0xb0 */ 10094 MEM32(ebp + (-0x28)) = ecx; /* 0x2B03FDD1: mov dword ptr [ebp - 0x28], ecx */ 10095 MEM32(ebp + (-0x3C)) = edx; /* 0x2B03FDD4: mov dword ptr [ebp - 0x3c], edx */ 10096 MEM32(ebp + (-0x38)) = eax; /* 0x2B03FDD7: mov dword ptr [ebp - 0x38], eax */ 10097 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03FDDA: call 0x2b0ab212 */ /* not lifted */ 10098 RECOMP_FLAGS_IN(); 10099 edi = eax; /* 0x2B03FDDF: mov edi, eax */ 10100 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10102 esp = esp + 4; /* 0x2B03FDE1: add esp, 4 */ 10103 _flag_k = FK_ADD; 10104 MEM32(ebp + 0x8) = edi; /* 0x2B03FDE4: mov dword ptr [ebp + 8], edi */ 10105 /* test edi, edi */ /* 0x2B03FDE7: test edi, edi */ 10106 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10107 _cf = 0; 10108 _flag_k = FK_TEST; 10109 MEM32(ebp + (-0x4)) = 0; /* 0x2B03FDE9: mov dword ptr [ebp - 4], 0 */ 10110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FE13; /* 0x2B03FDF0: je 0x2b03fe13 */ 10111 L_2B03FDF2: 10112 ecx = MEM32(0x2B0EE9DC); /* 0x2B03FDF2: mov ecx, dword ptr [0x2b0ee9dc] */ 10113 PUSH32(esp, ecx); /* 0x2B03FDF8: push ecx */ 10114 PUSH32(esp, 0); /* 0x2B03FDF9: push 0 */ 10115 PUSH32(esp, 1); /* 0x2B03FDFB: push 1 */ 10116 PUSH32(esp, 0); /* 0x2B03FDFD: push 0 */ 10117 edx = ebp + (-0x3C); /* 0x2B03FDFF: lea edx, [ebp - 0x3c] */ 10118 PUSH32(esp, edx); /* 0x2B03FE02: push edx */ 10119 ecx = edi; /* 0x2B03FE03: mov ecx, edi */ 10120 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B03FE05: call dword ptr [0x2b0b589c] */ 10121 RECOMP_FLAGS_IN(); 10122 MEM32(edi) = 0x2B0B6958u; /* 0x2B03FE0B: mov dword ptr [edi], 0x2b0b6958 */ 10123 goto L_2B03FE15; /* 0x2B03FE11: jmp 0x2b03fe15 */ 10124 L_2B03FE13: 10125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10126 edi = 0; /* 0x2B03FE13: xor edi, edi */ 10127 _cf = 0; 10128 _flag_k = FK_TEST; 10129 L_2B03FE15: 10130 ecx = edi; /* 0x2B03FE15: mov ecx, edi */ 10131 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03FE17: mov dword ptr [ebp - 4], 0xffffffff */ 10132 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B03FE1E: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10133 MEM32(edi + 0xAC) = esi; /* 0x2B03FE28: mov dword ptr [edi + 0xac], esi */ 10134 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B03FE2E: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10135 MEM32(edi + 0xA4) = esi; /* 0x2B03FE38: mov dword ptr [edi + 0xa4], esi */ 10136 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B03FE3E: call dword ptr [0x2b0b58b8] */ 10137 RECOMP_FLAGS_IN(); 10138 MEM32(ebp + (-0x14)) = edi; /* 0x2B03FE44: mov dword ptr [ebp - 0x14], edi */ 10139 edi = MEM32(esi + 0x2C); /* 0x2B03FE47: mov edi, dword ptr [esi + 0x2c] */ 10140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x28u); 10141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10142 esi = esi + 0x28u; /* 0x2B03FE4A: add esi, 0x28 */ 10143 _flag_k = FK_ADD; 10144 eax = ebx + 0x2B0E6FC0; /* 0x2B03FE4D: lea eax, [ebx + 0x2b0e6fc0] */ 10145 MEM32(ebp + (-0x10)) = eax; /* 0x2B03FE53: mov dword ptr [ebp - 0x10], eax */ 10146 ecx = MEM32(edi + 0x4); /* 0x2B03FE56: mov ecx, dword ptr [edi + 4] */ 10147 PUSH32(esp, ecx); /* 0x2B03FE59: push ecx */ 10148 PUSH32(esp, edi); /* 0x2B03FE5A: push edi */ 10149 ecx = esi; /* 0x2B03FE5B: mov ecx, esi */ 10150 RECOMP_ICALL(0x2B0403A0u); /* 0x2B03FE5D: call 0x2b0403a0 */ /* not lifted */ 10151 RECOMP_FLAGS_IN(); 10152 MEM32(edi + 0x4) = eax; /* 0x2B03FE62: mov dword ptr [edi + 4], eax */ 10153 edx = MEM32(eax + 0x4); /* 0x2B03FE65: mov edx, dword ptr [eax + 4] */ 10154 ecx = ebp + (-0x14); /* 0x2B03FE68: lea ecx, [ebp - 0x14] */ 10155 MEM32(edx) = eax; /* 0x2B03FE6B: mov dword ptr [edx], eax */ 10156 PUSH32(esp, ecx); /* 0x2B03FE6D: push ecx */ 10157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10159 eax = eax + 8; /* 0x2B03FE6E: add eax, 8 */ 10160 _flag_k = FK_ADD; 10161 PUSH32(esp, eax); /* 0x2B03FE71: push eax */ 10162 RECOMP_ICALL(0x2B019D80u); /* 0x2B03FE72: call 0x2b019d80 */ /* not lifted */ 10163 RECOMP_FLAGS_IN(); 10164 eax = MEM32(esi + 0x8); /* 0x2B03FE77: mov eax, dword ptr [esi + 8] */ 10165 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10167 esp = esp + 8; /* 0x2B03FE7A: add esp, 8 */ 10168 _flag_k = FK_ADD; 10169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10170 eax = eax + 1; /* 0x2B03FE7D: inc eax */ 10171 _flag_k = FK_INC; 10172 edi = POP32_VAL(esp); /* 0x2B03FE7E: pop edi */ 10173 MEM32(esi + 0x8) = eax; /* 0x2B03FE7F: mov dword ptr [esi + 8], eax */ 10174 esi = POP32_VAL(esp); /* 0x2B03FE82: pop esi */ 10175 ebx = POP32_VAL(esp); /* 0x2B03FE83: pop ebx */ 10176 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FE84: mov ecx, dword ptr [ebp - 0xc] */ 10177 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FE87: mov dword ptr fs:[0], ecx */ 10178 esp = ebp; /* 0x2B03FE8E: mov esp, ebp */ 10179 ebp = POP32_VAL(esp); /* 0x2B03FE90: pop ebp */ 10180 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FE91: ret 8 */ 10181 L_2B03FE94: 10182 /* cmp eax, 2 */ /* 0x2B03FE94: cmp eax, 2 */ 10183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10185 _flag_k = FK_CMP; 10186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03FFCA; /* 0x2B03FE97: jne 0x2b03ffca */ 10187 L_2B03FE9D: 10188 eax = 1; /* 0x2B03FE9D: mov eax, 1 */ 10189 ecx = 0x2B0E708Cu; /* 0x2B03FEA2: mov ecx, 0x2b0e708c */ 10190 L_2B03FEA7: 10191 /* cmp MEM32(ecx), ebx */ /* 0x2B03FEA7: cmp dword ptr [ecx], ebx */ 10192 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 10193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10194 _flag_k = FK_CMP; 10195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03FECA; /* 0x2B03FEA9: je 0x2b03feca */ 10196 L_2B03FEAB: 10197 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 10198 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10199 ecx = ecx + 0xCu; /* 0x2B03FEAB: add ecx, 0xc */ 10200 _flag_k = FK_ADD; 10201 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10202 eax = eax + 1; /* 0x2B03FEAE: inc eax */ 10203 _flag_k = FK_INC; 10204 /* cmp ecx, 0x2B0E7140u */ /* 0x2B03FEAF: cmp ecx, 0x2b0e7140 */ 10205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E7140u); 10206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10207 _flag_k = FK_CMP; 10208 RECOMP_BACKEDGE(); 10209 if (CMP_L(_flag_a, _flag_b)) goto L_2B03FEA7; /* 0x2B03FEB5: jl 0x2b03fea7 */ 10210 L_2B03FEB7: 10211 edi = POP32_VAL(esp); /* 0x2B03FEB7: pop edi */ 10212 esi = POP32_VAL(esp); /* 0x2B03FEB8: pop esi */ 10213 ebx = POP32_VAL(esp); /* 0x2B03FEB9: pop ebx */ 10214 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FEBA: mov ecx, dword ptr [ebp - 0xc] */ 10215 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FEBD: mov dword ptr fs:[0], ecx */ 10216 esp = ebp; /* 0x2B03FEC4: mov esp, ebp */ 10217 ebp = POP32_VAL(esp); /* 0x2B03FEC6: pop ebp */ 10218 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FEC7: ret 8 */ 10219 L_2B03FECA: 10220 edx = MEM32(esi + 0x4); /* 0x2B03FECA: mov edx, dword ptr [esi + 4] */ 10221 ebx = eax + eax * 2; /* 0x2B03FECD: lea ebx, [eax + eax*2] */ 10222 if (2u) _cf = (((ebx) >> 30) & 1u); /* 0x2B03FED0: shl ebx, 2 */ 10223 if (2u) { _flag_a = recomp_flags_pack((ebx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10224 ebx = ebx << 2u; /* 0x2B03FED0: shl ebx, 2 */ 10225 eax = MEM32(ebx + 0x2B0E7084); /* 0x2B03FED3: mov eax, dword ptr [ebx + 0x2b0e7084] */ 10226 ecx = MEM32(ebx + 0x2B0E7088); /* 0x2B03FED9: mov ecx, dword ptr [ebx + 0x2b0e7088] */ 10227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10229 eax = eax + edx; /* 0x2B03FEDF: add eax, edx */ 10230 _flag_k = FK_ADD; 10231 edx = MEM32(esi + 0x8); /* 0x2B03FEE1: mov edx, dword ptr [esi + 8] */ 10232 MEM32(ebp + (-0x2C)) = eax; /* 0x2B03FEE4: mov dword ptr [ebp - 0x2c], eax */ 10233 eax = ecx + edx + 0x14; /* 0x2B03FEE7: lea eax, [ecx + edx + 0x14] */ 10234 ecx = MEM32(edi); /* 0x2B03FEEB: mov ecx, dword ptr [edi] */ 10235 edx = MEM32(edi + 0x4); /* 0x2B03FEED: mov edx, dword ptr [edi + 4] */ 10236 PUSH32(esp, 0xB0u); /* 0x2B03FEF0: push 0xb0 */ 10237 MEM32(ebp + (-0x28)) = eax; /* 0x2B03FEF5: mov dword ptr [ebp - 0x28], eax */ 10238 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B03FEF8: mov dword ptr [ebp - 0x3c], ecx */ 10239 MEM32(ebp + (-0x38)) = edx; /* 0x2B03FEFB: mov dword ptr [ebp - 0x38], edx */ 10240 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03FEFE: call 0x2b0ab212 */ /* not lifted */ 10241 RECOMP_FLAGS_IN(); 10242 edi = eax; /* 0x2B03FF03: mov edi, eax */ 10243 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10245 esp = esp + 4; /* 0x2B03FF05: add esp, 4 */ 10246 _flag_k = FK_ADD; 10247 MEM32(ebp + 0x8) = edi; /* 0x2B03FF08: mov dword ptr [ebp + 8], edi */ 10248 /* test edi, edi */ /* 0x2B03FF0B: test edi, edi */ 10249 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10250 _cf = 0; 10251 _flag_k = FK_TEST; 10252 MEM32(ebp + (-0x4)) = 1; /* 0x2B03FF0D: mov dword ptr [ebp - 4], 1 */ 10253 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FF36; /* 0x2B03FF14: je 0x2b03ff36 */ 10254 L_2B03FF16: 10255 eax = MEM32(0x2B0EE9DC); /* 0x2B03FF16: mov eax, dword ptr [0x2b0ee9dc] */ 10256 PUSH32(esp, eax); /* 0x2B03FF1B: push eax */ 10257 PUSH32(esp, 0); /* 0x2B03FF1C: push 0 */ 10258 PUSH32(esp, 1); /* 0x2B03FF1E: push 1 */ 10259 PUSH32(esp, 0); /* 0x2B03FF20: push 0 */ 10260 ecx = ebp + (-0x3C); /* 0x2B03FF22: lea ecx, [ebp - 0x3c] */ 10261 PUSH32(esp, ecx); /* 0x2B03FF25: push ecx */ 10262 ecx = edi; /* 0x2B03FF26: mov ecx, edi */ 10263 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B03FF28: call dword ptr [0x2b0b589c] */ 10264 RECOMP_FLAGS_IN(); 10265 MEM32(edi) = 0x2B0B6958u; /* 0x2B03FF2E: mov dword ptr [edi], 0x2b0b6958 */ 10266 goto L_2B03FF38; /* 0x2B03FF34: jmp 0x2b03ff38 */ 10267 L_2B03FF36: 10268 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10269 edi = 0; /* 0x2B03FF36: xor edi, edi */ 10270 _cf = 0; 10271 _flag_k = FK_TEST; 10272 L_2B03FF38: 10273 ecx = edi; /* 0x2B03FF38: mov ecx, edi */ 10274 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03FF3A: mov dword ptr [ebp - 4], 0xffffffff */ 10275 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B03FF41: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10276 MEM32(edi + 0xAC) = esi; /* 0x2B03FF4B: mov dword ptr [edi + 0xac], esi */ 10277 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B03FF51: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10278 MEM32(edi + 0xA4) = esi; /* 0x2B03FF5B: mov dword ptr [edi + 0xa4], esi */ 10279 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B03FF61: call dword ptr [0x2b0b58b8] */ 10280 RECOMP_FLAGS_IN(); 10281 MEM32(ebp + (-0x14)) = edi; /* 0x2B03FF67: mov dword ptr [ebp - 0x14], edi */ 10282 edi = MEM32(esi + 0x38); /* 0x2B03FF6A: mov edi, dword ptr [esi + 0x38] */ 10283 edx = ebx + 0x2B0E7080; /* 0x2B03FF6D: lea edx, [ebx + 0x2b0e7080] */ 10284 MEM32(ebp + (-0x10)) = edx; /* 0x2B03FF73: mov dword ptr [ebp - 0x10], edx */ 10285 ebx = MEM32(edi + 0x4); /* 0x2B03FF76: mov ebx, dword ptr [edi + 4] */ 10286 PUSH32(esp, 0x10u); /* 0x2B03FF79: push 0x10 */ 10287 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03FF7B: call 0x2b0ab212 */ /* not lifted */ 10288 RECOMP_FLAGS_IN(); 10289 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10291 esp = esp + 4; /* 0x2B03FF80: add esp, 4 */ 10292 _flag_k = FK_ADD; 10293 /* test edi, edi */ /* 0x2B03FF83: test edi, edi */ 10294 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10295 _cf = 0; 10296 _flag_k = FK_TEST; 10297 ecx = edi; /* 0x2B03FF85: mov ecx, edi */ 10298 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03FF8B; /* 0x2B03FF87: jne 0x2b03ff8b */ 10299 L_2B03FF89: 10300 ecx = eax; /* 0x2B03FF89: mov ecx, eax */ 10301 L_2B03FF8B: 10302 /* test ebx, ebx */ /* 0x2B03FF8B: test ebx, ebx */ 10303 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10304 _cf = 0; 10305 _flag_k = FK_TEST; 10306 MEM32(eax) = ecx; /* 0x2B03FF8D: mov dword ptr [eax], ecx */ 10307 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03FF93; /* 0x2B03FF8F: jne 0x2b03ff93 */ 10308 L_2B03FF91: 10309 ebx = eax; /* 0x2B03FF91: mov ebx, eax */ 10310 L_2B03FF93: 10311 MEM32(eax + 0x4) = ebx; /* 0x2B03FF93: mov dword ptr [eax + 4], ebx */ 10312 MEM32(edi + 0x4) = eax; /* 0x2B03FF96: mov dword ptr [edi + 4], eax */ 10313 ecx = MEM32(eax + 0x4); /* 0x2B03FF99: mov ecx, dword ptr [eax + 4] */ 10314 MEM32(ecx) = eax; /* 0x2B03FF9C: mov dword ptr [ecx], eax */ 10315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10317 eax = eax + 8; /* 0x2B03FF9E: add eax, 8 */ 10318 _flag_k = FK_ADD; 10319 /* test eax, eax */ /* 0x2B03FFA1: test eax, eax */ 10320 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10321 _cf = 0; 10322 _flag_k = FK_TEST; 10323 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FFB0; /* 0x2B03FFA3: je 0x2b03ffb0 */ 10324 L_2B03FFA5: 10325 edx = MEM32(ebp + (-0x14)); /* 0x2B03FFA5: mov edx, dword ptr [ebp - 0x14] */ 10326 MEM32(eax) = edx; /* 0x2B03FFA8: mov dword ptr [eax], edx */ 10327 ecx = MEM32(ebp + (-0x10)); /* 0x2B03FFAA: mov ecx, dword ptr [ebp - 0x10] */ 10328 MEM32(eax + 0x4) = ecx; /* 0x2B03FFAD: mov dword ptr [eax + 4], ecx */ 10329 L_2B03FFB0: 10330 eax = MEM32(esi + 0x3C); /* 0x2B03FFB0: mov eax, dword ptr [esi + 0x3c] */ 10331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10332 eax = eax + 1; /* 0x2B03FFB3: inc eax */ 10333 _flag_k = FK_INC; 10334 edi = POP32_VAL(esp); /* 0x2B03FFB4: pop edi */ 10335 MEM32(esi + 0x3C) = eax; /* 0x2B03FFB5: mov dword ptr [esi + 0x3c], eax */ 10336 esi = POP32_VAL(esp); /* 0x2B03FFB8: pop esi */ 10337 ebx = POP32_VAL(esp); /* 0x2B03FFB9: pop ebx */ 10338 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FFBA: mov ecx, dword ptr [ebp - 0xc] */ 10339 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FFBD: mov dword ptr fs:[0], ecx */ 10340 esp = ebp; /* 0x2B03FFC4: mov esp, ebp */ 10341 ebp = POP32_VAL(esp); /* 0x2B03FFC6: pop ebp */ 10342 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FFC7: ret 8 */ 10343 L_2B03FFCA: 10344 /* cmp eax, 3 */ /* 0x2B03FFCA: cmp eax, 3 */ 10345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 10346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10347 _flag_k = FK_CMP; 10348 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0400E9; /* 0x2B03FFCD: jne 0x2b0400e9 */ 10349 L_2B03FFD3: 10350 eax = 1; /* 0x2B03FFD3: mov eax, 1 */ 10351 ecx = 0x2B0E714Cu; /* 0x2B03FFD8: mov ecx, 0x2b0e714c */ 10352 L_2B03FFDD: 10353 /* cmp MEM32(ecx), ebx */ /* 0x2B03FFDD: cmp dword ptr [ecx], ebx */ 10354 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ebx); 10355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10356 _flag_k = FK_CMP; 10357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040000; /* 0x2B03FFDF: je 0x2b040000 */ 10358 L_2B03FFE1: 10359 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 10360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10361 ecx = ecx + 0xCu; /* 0x2B03FFE1: add ecx, 0xc */ 10362 _flag_k = FK_ADD; 10363 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10364 eax = eax + 1; /* 0x2B03FFE4: inc eax */ 10365 _flag_k = FK_INC; 10366 /* cmp ecx, 0x2B0E71E8u */ /* 0x2B03FFE5: cmp ecx, 0x2b0e71e8 */ 10367 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B0E71E8u); 10368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10369 _flag_k = FK_CMP; 10370 RECOMP_BACKEDGE(); 10371 if (CMP_L(_flag_a, _flag_b)) goto L_2B03FFDD; /* 0x2B03FFEB: jl 0x2b03ffdd */ 10372 L_2B03FFED: 10373 edi = POP32_VAL(esp); /* 0x2B03FFED: pop edi */ 10374 esi = POP32_VAL(esp); /* 0x2B03FFEE: pop esi */ 10375 ebx = POP32_VAL(esp); /* 0x2B03FFEF: pop ebx */ 10376 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FFF0: mov ecx, dword ptr [ebp - 0xc] */ 10377 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FFF3: mov dword ptr fs:[0], ecx */ 10378 esp = ebp; /* 0x2B03FFFA: mov esp, ebp */ 10379 ebp = POP32_VAL(esp); /* 0x2B03FFFC: pop ebp */ 10380 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FFFD: ret 8 */ 10381 L_2B040000: 10382 edx = MEM32(esi + 0x4); /* 0x2B040000: mov edx, dword ptr [esi + 4] */ 10383 ebx = eax + eax * 2; /* 0x2B040003: lea ebx, [eax + eax*2] */ 10384 if (2u) _cf = (((ebx) >> 30) & 1u); /* 0x2B040006: shl ebx, 2 */ 10385 if (2u) { _flag_a = recomp_flags_pack((ebx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10386 ebx = ebx << 2u; /* 0x2B040006: shl ebx, 2 */ 10387 eax = MEM32(ebx + 0x2B0E7144); /* 0x2B040009: mov eax, dword ptr [ebx + 0x2b0e7144] */ 10388 ecx = MEM32(ebx + 0x2B0E7148); /* 0x2B04000F: mov ecx, dword ptr [ebx + 0x2b0e7148] */ 10389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10391 eax = eax + edx; /* 0x2B040015: add eax, edx */ 10392 _flag_k = FK_ADD; 10393 edx = MEM32(esi + 0x8); /* 0x2B040017: mov edx, dword ptr [esi + 8] */ 10394 MEM32(ebp + (-0x2C)) = eax; /* 0x2B04001A: mov dword ptr [ebp - 0x2c], eax */ 10395 eax = ecx + edx + 0x14; /* 0x2B04001D: lea eax, [ecx + edx + 0x14] */ 10396 ecx = MEM32(edi); /* 0x2B040021: mov ecx, dword ptr [edi] */ 10397 edx = MEM32(edi + 0x4); /* 0x2B040023: mov edx, dword ptr [edi + 4] */ 10398 PUSH32(esp, 0xB0u); /* 0x2B040026: push 0xb0 */ 10399 MEM32(ebp + (-0x28)) = eax; /* 0x2B04002B: mov dword ptr [ebp - 0x28], eax */ 10400 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B04002E: mov dword ptr [ebp - 0x3c], ecx */ 10401 MEM32(ebp + (-0x38)) = edx; /* 0x2B040031: mov dword ptr [ebp - 0x38], edx */ 10402 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040034: call 0x2b0ab212 */ /* not lifted */ 10403 RECOMP_FLAGS_IN(); 10404 edi = eax; /* 0x2B040039: mov edi, eax */ 10405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10407 esp = esp + 4; /* 0x2B04003B: add esp, 4 */ 10408 _flag_k = FK_ADD; 10409 MEM32(ebp + 0x8) = edi; /* 0x2B04003E: mov dword ptr [ebp + 8], edi */ 10410 /* test edi, edi */ /* 0x2B040041: test edi, edi */ 10411 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10412 _cf = 0; 10413 _flag_k = FK_TEST; 10414 MEM32(ebp + (-0x4)) = 2; /* 0x2B040043: mov dword ptr [ebp - 4], 2 */ 10415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04006C; /* 0x2B04004A: je 0x2b04006c */ 10416 L_2B04004C: 10417 eax = MEM32(0x2B0EE9DC); /* 0x2B04004C: mov eax, dword ptr [0x2b0ee9dc] */ 10418 PUSH32(esp, eax); /* 0x2B040051: push eax */ 10419 PUSH32(esp, 0); /* 0x2B040052: push 0 */ 10420 PUSH32(esp, 1); /* 0x2B040054: push 1 */ 10421 PUSH32(esp, 0); /* 0x2B040056: push 0 */ 10422 ecx = ebp + (-0x3C); /* 0x2B040058: lea ecx, [ebp - 0x3c] */ 10423 PUSH32(esp, ecx); /* 0x2B04005B: push ecx */ 10424 ecx = edi; /* 0x2B04005C: mov ecx, edi */ 10425 RECOMP_ICALL(MEM32(0x2B0B589C)); /* 0x2B04005E: call dword ptr [0x2b0b589c] */ 10426 RECOMP_FLAGS_IN(); 10427 MEM32(edi) = 0x2B0B6958u; /* 0x2B040064: mov dword ptr [edi], 0x2b0b6958 */ 10428 goto L_2B04006E; /* 0x2B04006A: jmp 0x2b04006e */ 10429 L_2B04006C: 10430 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10431 edi = 0; /* 0x2B04006C: xor edi, edi */ 10432 _cf = 0; 10433 _flag_k = FK_TEST; 10434 L_2B04006E: 10435 ecx = edi; /* 0x2B04006E: mov ecx, edi */ 10436 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B040070: mov dword ptr [ebp - 4], 0xffffffff */ 10437 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B040077: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10438 MEM32(edi + 0xAC) = esi; /* 0x2B040081: mov dword ptr [edi + 0xac], esi */ 10439 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B040087: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10440 MEM32(edi + 0xA4) = esi; /* 0x2B040091: mov dword ptr [edi + 0xa4], esi */ 10441 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B040097: call dword ptr [0x2b0b58b8] */ 10442 RECOMP_FLAGS_IN(); 10443 MEM32(ebp + (-0x14)) = edi; /* 0x2B04009D: mov dword ptr [ebp - 0x14], edi */ 10444 edi = MEM32(esi + 0x44); /* 0x2B0400A0: mov edi, dword ptr [esi + 0x44] */ 10445 edx = ebx + 0x2B0E7140; /* 0x2B0400A3: lea edx, [ebx + 0x2b0e7140] */ 10446 MEM32(ebp + (-0x10)) = edx; /* 0x2B0400A9: mov dword ptr [ebp - 0x10], edx */ 10447 ebx = MEM32(edi + 0x4); /* 0x2B0400AC: mov ebx, dword ptr [edi + 4] */ 10448 PUSH32(esp, 0x10u); /* 0x2B0400AF: push 0x10 */ 10449 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0400B1: call 0x2b0ab212 */ /* not lifted */ 10450 RECOMP_FLAGS_IN(); 10451 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10453 esp = esp + 4; /* 0x2B0400B6: add esp, 4 */ 10454 _flag_k = FK_ADD; 10455 /* test edi, edi */ /* 0x2B0400B9: test edi, edi */ 10456 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10457 _cf = 0; 10458 _flag_k = FK_TEST; 10459 ecx = edi; /* 0x2B0400BB: mov ecx, edi */ 10460 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0400C1; /* 0x2B0400BD: jne 0x2b0400c1 */ 10461 L_2B0400BF: 10462 ecx = eax; /* 0x2B0400BF: mov ecx, eax */ 10463 L_2B0400C1: 10464 /* test ebx, ebx */ /* 0x2B0400C1: test ebx, ebx */ 10465 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10466 _cf = 0; 10467 _flag_k = FK_TEST; 10468 MEM32(eax) = ecx; /* 0x2B0400C3: mov dword ptr [eax], ecx */ 10469 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0400C9; /* 0x2B0400C5: jne 0x2b0400c9 */ 10470 L_2B0400C7: 10471 ebx = eax; /* 0x2B0400C7: mov ebx, eax */ 10472 L_2B0400C9: 10473 MEM32(eax + 0x4) = ebx; /* 0x2B0400C9: mov dword ptr [eax + 4], ebx */ 10474 MEM32(edi + 0x4) = eax; /* 0x2B0400CC: mov dword ptr [edi + 4], eax */ 10475 ecx = MEM32(eax + 0x4); /* 0x2B0400CF: mov ecx, dword ptr [eax + 4] */ 10476 MEM32(ecx) = eax; /* 0x2B0400D2: mov dword ptr [ecx], eax */ 10477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10479 eax = eax + 8; /* 0x2B0400D4: add eax, 8 */ 10480 _flag_k = FK_ADD; 10481 /* test eax, eax */ /* 0x2B0400D7: test eax, eax */ 10482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10483 _cf = 0; 10484 _flag_k = FK_TEST; 10485 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0400E6; /* 0x2B0400D9: je 0x2b0400e6 */ 10486 L_2B0400DB: 10487 edx = MEM32(ebp + (-0x14)); /* 0x2B0400DB: mov edx, dword ptr [ebp - 0x14] */ 10488 MEM32(eax) = edx; /* 0x2B0400DE: mov dword ptr [eax], edx */ 10489 ecx = MEM32(ebp + (-0x10)); /* 0x2B0400E0: mov ecx, dword ptr [ebp - 0x10] */ 10490 MEM32(eax + 0x4) = ecx; /* 0x2B0400E3: mov dword ptr [eax + 4], ecx */ 10491 L_2B0400E6: 10492 _flag_a = (uint32_t)(MEM32(esi + 0x48)); _flag_b = (uint32_t)(1); 10493 MEM32(esi + 0x48) = MEM32(esi + 0x48) + 1; /* 0x2B0400E6: inc dword ptr [esi + 0x48] */ 10494 _flag_k = FK_INC; 10495 L_2B0400E9: 10496 ecx = MEM32(ebp + (-0xC)); /* 0x2B0400E9: mov ecx, dword ptr [ebp - 0xc] */ 10497 edi = POP32_VAL(esp); /* 0x2B0400EC: pop edi */ 10498 esi = POP32_VAL(esp); /* 0x2B0400ED: pop esi */ 10499 ebx = POP32_VAL(esp); /* 0x2B0400EE: pop ebx */ 10500 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0400EF: mov dword ptr fs:[0], ecx */ 10501 esp = ebp; /* 0x2B0400F6: mov esp, ebp */ 10502 ebp = POP32_VAL(esp); /* 0x2B0400F8: pop ebp */ 10503 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0400F9: ret 8 */ 10504 RECOMP_REGS_OUT(); 10505 } 10506 10507 void sub_2B03FE15(void) { 10508 int _fpu_cmp = 0; 10509 uint32_t _cf = 0; 10510 int _df = 1; 10511 uint32_t _flag_k = FK_NONE; 10512 uint32_t _flag_a = 0, _flag_b = 0; 10513 uint32_t _itail_tgt = 0; 10514 RECOMP_REGS_LOCALS 10515 RECOMP_ENTER(0x2B03FE15u); 10516 10517 L_2B03FE15: 10518 ecx = edi; /* 0x2B03FE15: mov ecx, edi */ 10519 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03FE17: mov dword ptr [ebp - 4], 0xffffffff */ 10520 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B03FE1E: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10521 MEM32(edi + 0xAC) = esi; /* 0x2B03FE28: mov dword ptr [edi + 0xac], esi */ 10522 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B03FE2E: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10523 MEM32(edi + 0xA4) = esi; /* 0x2B03FE38: mov dword ptr [edi + 0xa4], esi */ 10524 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B03FE3E: call dword ptr [0x2b0b58b8] */ 10525 RECOMP_FLAGS_IN(); 10526 MEM32(ebp + (-0x14)) = edi; /* 0x2B03FE44: mov dword ptr [ebp - 0x14], edi */ 10527 edi = MEM32(esi + 0x2C); /* 0x2B03FE47: mov edi, dword ptr [esi + 0x2c] */ 10528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x28u); 10529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10530 esi = esi + 0x28u; /* 0x2B03FE4A: add esi, 0x28 */ 10531 _flag_k = FK_ADD; 10532 eax = ebx + 0x2B0E6FC0; /* 0x2B03FE4D: lea eax, [ebx + 0x2b0e6fc0] */ 10533 MEM32(ebp + (-0x10)) = eax; /* 0x2B03FE53: mov dword ptr [ebp - 0x10], eax */ 10534 ecx = MEM32(edi + 0x4); /* 0x2B03FE56: mov ecx, dword ptr [edi + 4] */ 10535 PUSH32(esp, ecx); /* 0x2B03FE59: push ecx */ 10536 PUSH32(esp, edi); /* 0x2B03FE5A: push edi */ 10537 ecx = esi; /* 0x2B03FE5B: mov ecx, esi */ 10538 RECOMP_ICALL(0x2B0403A0u); /* 0x2B03FE5D: call 0x2b0403a0 */ /* not lifted */ 10539 RECOMP_FLAGS_IN(); 10540 MEM32(edi + 0x4) = eax; /* 0x2B03FE62: mov dword ptr [edi + 4], eax */ 10541 edx = MEM32(eax + 0x4); /* 0x2B03FE65: mov edx, dword ptr [eax + 4] */ 10542 ecx = ebp + (-0x14); /* 0x2B03FE68: lea ecx, [ebp - 0x14] */ 10543 MEM32(edx) = eax; /* 0x2B03FE6B: mov dword ptr [edx], eax */ 10544 PUSH32(esp, ecx); /* 0x2B03FE6D: push ecx */ 10545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10547 eax = eax + 8; /* 0x2B03FE6E: add eax, 8 */ 10548 _flag_k = FK_ADD; 10549 PUSH32(esp, eax); /* 0x2B03FE71: push eax */ 10550 RECOMP_ICALL(0x2B019D80u); /* 0x2B03FE72: call 0x2b019d80 */ /* not lifted */ 10551 RECOMP_FLAGS_IN(); 10552 eax = MEM32(esi + 0x8); /* 0x2B03FE77: mov eax, dword ptr [esi + 8] */ 10553 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10555 esp = esp + 8; /* 0x2B03FE7A: add esp, 8 */ 10556 _flag_k = FK_ADD; 10557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10558 eax = eax + 1; /* 0x2B03FE7D: inc eax */ 10559 _flag_k = FK_INC; 10560 edi = POP32_VAL(esp); /* 0x2B03FE7E: pop edi */ 10561 MEM32(esi + 0x8) = eax; /* 0x2B03FE7F: mov dword ptr [esi + 8], eax */ 10562 esi = POP32_VAL(esp); /* 0x2B03FE82: pop esi */ 10563 ebx = POP32_VAL(esp); /* 0x2B03FE83: pop ebx */ 10564 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FE84: mov ecx, dword ptr [ebp - 0xc] */ 10565 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FE87: mov dword ptr fs:[0], ecx */ 10566 esp = ebp; /* 0x2B03FE8E: mov esp, ebp */ 10567 ebp = POP32_VAL(esp); /* 0x2B03FE90: pop ebp */ 10568 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FE91: ret 8 */ 10569 RECOMP_REGS_OUT(); 10570 } 10571 10572 void sub_2B03FF38(void) { 10573 int _fpu_cmp = 0; 10574 uint32_t _cf = 0; 10575 int _df = 1; 10576 uint32_t _flag_k = FK_NONE; 10577 uint32_t _flag_a = 0, _flag_b = 0; 10578 uint32_t _itail_tgt = 0; 10579 RECOMP_REGS_LOCALS 10580 RECOMP_ENTER(0x2B03FF38u); 10581 10582 L_2B03FF38: 10583 ecx = edi; /* 0x2B03FF38: mov ecx, edi */ 10584 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03FF3A: mov dword ptr [ebp - 4], 0xffffffff */ 10585 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B03FF41: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10586 MEM32(edi + 0xAC) = esi; /* 0x2B03FF4B: mov dword ptr [edi + 0xac], esi */ 10587 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B03FF51: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10588 MEM32(edi + 0xA4) = esi; /* 0x2B03FF5B: mov dword ptr [edi + 0xa4], esi */ 10589 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B03FF61: call dword ptr [0x2b0b58b8] */ 10590 RECOMP_FLAGS_IN(); 10591 MEM32(ebp + (-0x14)) = edi; /* 0x2B03FF67: mov dword ptr [ebp - 0x14], edi */ 10592 edi = MEM32(esi + 0x38); /* 0x2B03FF6A: mov edi, dword ptr [esi + 0x38] */ 10593 edx = ebx + 0x2B0E7080; /* 0x2B03FF6D: lea edx, [ebx + 0x2b0e7080] */ 10594 MEM32(ebp + (-0x10)) = edx; /* 0x2B03FF73: mov dword ptr [ebp - 0x10], edx */ 10595 ebx = MEM32(edi + 0x4); /* 0x2B03FF76: mov ebx, dword ptr [edi + 4] */ 10596 PUSH32(esp, 0x10u); /* 0x2B03FF79: push 0x10 */ 10597 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03FF7B: call 0x2b0ab212 */ /* not lifted */ 10598 RECOMP_FLAGS_IN(); 10599 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10600 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10601 esp = esp + 4; /* 0x2B03FF80: add esp, 4 */ 10602 _flag_k = FK_ADD; 10603 /* test edi, edi */ /* 0x2B03FF83: test edi, edi */ 10604 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10605 _cf = 0; 10606 _flag_k = FK_TEST; 10607 ecx = edi; /* 0x2B03FF85: mov ecx, edi */ 10608 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03FF8B; /* 0x2B03FF87: jne 0x2b03ff8b */ 10609 L_2B03FF89: 10610 ecx = eax; /* 0x2B03FF89: mov ecx, eax */ 10611 L_2B03FF8B: 10612 /* test ebx, ebx */ /* 0x2B03FF8B: test ebx, ebx */ 10613 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10614 _cf = 0; 10615 _flag_k = FK_TEST; 10616 MEM32(eax) = ecx; /* 0x2B03FF8D: mov dword ptr [eax], ecx */ 10617 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03FF93; /* 0x2B03FF8F: jne 0x2b03ff93 */ 10618 L_2B03FF91: 10619 ebx = eax; /* 0x2B03FF91: mov ebx, eax */ 10620 L_2B03FF93: 10621 MEM32(eax + 0x4) = ebx; /* 0x2B03FF93: mov dword ptr [eax + 4], ebx */ 10622 MEM32(edi + 0x4) = eax; /* 0x2B03FF96: mov dword ptr [edi + 4], eax */ 10623 ecx = MEM32(eax + 0x4); /* 0x2B03FF99: mov ecx, dword ptr [eax + 4] */ 10624 MEM32(ecx) = eax; /* 0x2B03FF9C: mov dword ptr [ecx], eax */ 10625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10627 eax = eax + 8; /* 0x2B03FF9E: add eax, 8 */ 10628 _flag_k = FK_ADD; 10629 /* test eax, eax */ /* 0x2B03FFA1: test eax, eax */ 10630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10631 _cf = 0; 10632 _flag_k = FK_TEST; 10633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03FFB0; /* 0x2B03FFA3: je 0x2b03ffb0 */ 10634 L_2B03FFA5: 10635 edx = MEM32(ebp + (-0x14)); /* 0x2B03FFA5: mov edx, dword ptr [ebp - 0x14] */ 10636 MEM32(eax) = edx; /* 0x2B03FFA8: mov dword ptr [eax], edx */ 10637 ecx = MEM32(ebp + (-0x10)); /* 0x2B03FFAA: mov ecx, dword ptr [ebp - 0x10] */ 10638 MEM32(eax + 0x4) = ecx; /* 0x2B03FFAD: mov dword ptr [eax + 4], ecx */ 10639 L_2B03FFB0: 10640 eax = MEM32(esi + 0x3C); /* 0x2B03FFB0: mov eax, dword ptr [esi + 0x3c] */ 10641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10642 eax = eax + 1; /* 0x2B03FFB3: inc eax */ 10643 _flag_k = FK_INC; 10644 edi = POP32_VAL(esp); /* 0x2B03FFB4: pop edi */ 10645 MEM32(esi + 0x3C) = eax; /* 0x2B03FFB5: mov dword ptr [esi + 0x3c], eax */ 10646 esi = POP32_VAL(esp); /* 0x2B03FFB8: pop esi */ 10647 ebx = POP32_VAL(esp); /* 0x2B03FFB9: pop ebx */ 10648 ecx = MEM32(ebp + (-0xC)); /* 0x2B03FFBA: mov ecx, dword ptr [ebp - 0xc] */ 10649 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03FFBD: mov dword ptr fs:[0], ecx */ 10650 esp = ebp; /* 0x2B03FFC4: mov esp, ebp */ 10651 ebp = POP32_VAL(esp); /* 0x2B03FFC6: pop ebp */ 10652 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03FFC7: ret 8 */ 10653 RECOMP_REGS_OUT(); 10654 } 10655 10656 void sub_2B04006E(void) { 10657 int _fpu_cmp = 0; 10658 uint32_t _cf = 0; 10659 int _df = 1; 10660 uint32_t _flag_k = FK_NONE; 10661 uint32_t _flag_a = 0, _flag_b = 0; 10662 uint32_t _itail_tgt = 0; 10663 RECOMP_REGS_LOCALS 10664 RECOMP_ENTER(0x2B04006Eu); 10665 10666 L_2B04006E: 10667 ecx = edi; /* 0x2B04006E: mov ecx, edi */ 10668 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B040070: mov dword ptr [ebp - 4], 0xffffffff */ 10669 MEM32(edi + 0xA8) = 0x2B0401B0u; /* 0x2B040077: mov dword ptr [edi + 0xa8], 0x2b0401b0 */ 10670 MEM32(edi + 0xAC) = esi; /* 0x2B040081: mov dword ptr [edi + 0xac], esi */ 10671 MEM32(edi + 0xA0) = 0x2B048850u; /* 0x2B040087: mov dword ptr [edi + 0xa0], 0x2b048850 */ 10672 MEM32(edi + 0xA4) = esi; /* 0x2B040091: mov dword ptr [edi + 0xa4], esi */ 10673 RECOMP_ICALL(MEM32(0x2B0B58B8)); /* 0x2B040097: call dword ptr [0x2b0b58b8] */ 10674 RECOMP_FLAGS_IN(); 10675 MEM32(ebp + (-0x14)) = edi; /* 0x2B04009D: mov dword ptr [ebp - 0x14], edi */ 10676 edi = MEM32(esi + 0x44); /* 0x2B0400A0: mov edi, dword ptr [esi + 0x44] */ 10677 edx = ebx + 0x2B0E7140; /* 0x2B0400A3: lea edx, [ebx + 0x2b0e7140] */ 10678 MEM32(ebp + (-0x10)) = edx; /* 0x2B0400A9: mov dword ptr [ebp - 0x10], edx */ 10679 ebx = MEM32(edi + 0x4); /* 0x2B0400AC: mov ebx, dword ptr [edi + 4] */ 10680 PUSH32(esp, 0x10u); /* 0x2B0400AF: push 0x10 */ 10681 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0400B1: call 0x2b0ab212 */ /* not lifted */ 10682 RECOMP_FLAGS_IN(); 10683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10685 esp = esp + 4; /* 0x2B0400B6: add esp, 4 */ 10686 _flag_k = FK_ADD; 10687 /* test edi, edi */ /* 0x2B0400B9: test edi, edi */ 10688 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10689 _cf = 0; 10690 _flag_k = FK_TEST; 10691 ecx = edi; /* 0x2B0400BB: mov ecx, edi */ 10692 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0400C1; /* 0x2B0400BD: jne 0x2b0400c1 */ 10693 L_2B0400BF: 10694 ecx = eax; /* 0x2B0400BF: mov ecx, eax */ 10695 L_2B0400C1: 10696 /* test ebx, ebx */ /* 0x2B0400C1: test ebx, ebx */ 10697 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10698 _cf = 0; 10699 _flag_k = FK_TEST; 10700 MEM32(eax) = ecx; /* 0x2B0400C3: mov dword ptr [eax], ecx */ 10701 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0400C9; /* 0x2B0400C5: jne 0x2b0400c9 */ 10702 L_2B0400C7: 10703 ebx = eax; /* 0x2B0400C7: mov ebx, eax */ 10704 L_2B0400C9: 10705 MEM32(eax + 0x4) = ebx; /* 0x2B0400C9: mov dword ptr [eax + 4], ebx */ 10706 MEM32(edi + 0x4) = eax; /* 0x2B0400CC: mov dword ptr [edi + 4], eax */ 10707 ecx = MEM32(eax + 0x4); /* 0x2B0400CF: mov ecx, dword ptr [eax + 4] */ 10708 MEM32(ecx) = eax; /* 0x2B0400D2: mov dword ptr [ecx], eax */ 10709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 10710 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10711 eax = eax + 8; /* 0x2B0400D4: add eax, 8 */ 10712 _flag_k = FK_ADD; 10713 /* test eax, eax */ /* 0x2B0400D7: test eax, eax */ 10714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10715 _cf = 0; 10716 _flag_k = FK_TEST; 10717 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0400E6; /* 0x2B0400D9: je 0x2b0400e6 */ 10718 L_2B0400DB: 10719 edx = MEM32(ebp + (-0x14)); /* 0x2B0400DB: mov edx, dword ptr [ebp - 0x14] */ 10720 MEM32(eax) = edx; /* 0x2B0400DE: mov dword ptr [eax], edx */ 10721 ecx = MEM32(ebp + (-0x10)); /* 0x2B0400E0: mov ecx, dword ptr [ebp - 0x10] */ 10722 MEM32(eax + 0x4) = ecx; /* 0x2B0400E3: mov dword ptr [eax + 4], ecx */ 10723 L_2B0400E6: 10724 _flag_a = (uint32_t)(MEM32(esi + 0x48)); _flag_b = (uint32_t)(1); 10725 MEM32(esi + 0x48) = MEM32(esi + 0x48) + 1; /* 0x2B0400E6: inc dword ptr [esi + 0x48] */ 10726 _flag_k = FK_INC; 10727 ecx = MEM32(ebp + (-0xC)); /* 0x2B0400E9: mov ecx, dword ptr [ebp - 0xc] */ 10728 edi = POP32_VAL(esp); /* 0x2B0400EC: pop edi */ 10729 esi = POP32_VAL(esp); /* 0x2B0400ED: pop esi */ 10730 ebx = POP32_VAL(esp); /* 0x2B0400EE: pop ebx */ 10731 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0400EF: mov dword ptr fs:[0], ecx */ 10732 esp = ebp; /* 0x2B0400F6: mov esp, ebp */ 10733 ebp = POP32_VAL(esp); /* 0x2B0400F8: pop ebp */ 10734 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0400F9: ret 8 */ 10735 RECOMP_REGS_OUT(); 10736 } 10737 10738 void sub_2B040100(void) { 10739 int _fpu_cmp = 0; 10740 uint32_t _cf = 0; 10741 int _df = 1; 10742 uint32_t _flag_k = FK_NONE; 10743 uint32_t _flag_a = 0, _flag_b = 0; 10744 uint32_t _itail_tgt = 0; 10745 RECOMP_REGS_LOCALS 10746 RECOMP_ENTER(0x2B040100u); 10747 10748 L_2B040100: 10749 PUSH32(esp, ebp); /* 0x2B040100: push ebp */ 10750 ebp = esp; /* 0x2B040101: mov ebp, esp */ 10751 PUSH32(esp, esi); /* 0x2B040103: push esi */ 10752 esi = ecx; /* 0x2B040104: mov esi, ecx */ 10753 RECOMP_ICALL(MEM32(0x2B0B5898)); /* 0x2B040106: call dword ptr [0x2b0b5898] */ 10754 RECOMP_FLAGS_IN(); 10755 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B04010C: test byte ptr [ebp + 8], 1 */ 10756 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 10757 _cf = 0; 10758 _flag_k = FK_NARROW(FK_TEST, 24); 10759 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04011B; /* 0x2B040110: je 0x2b04011b */ 10760 L_2B040112: 10761 PUSH32(esp, esi); /* 0x2B040112: push esi */ 10762 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B040113: call 0x2b0ab1ba */ /* not lifted */ 10763 RECOMP_FLAGS_IN(); 10764 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10766 esp = esp + 4; /* 0x2B040118: add esp, 4 */ 10767 _flag_k = FK_ADD; 10768 L_2B04011B: 10769 eax = esi; /* 0x2B04011B: mov eax, esi */ 10770 esi = POP32_VAL(esp); /* 0x2B04011D: pop esi */ 10771 ebp = POP32_VAL(esp); /* 0x2B04011E: pop ebp */ 10772 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04011F: ret 4 */ 10773 RECOMP_REGS_OUT(); 10774 } 10775 10776 void sub_2B040130(void) { 10777 int _fpu_cmp = 0; 10778 uint32_t _cf = 0; 10779 int _df = 1; 10780 uint32_t _flag_k = FK_NONE; 10781 uint32_t _flag_a = 0, _flag_b = 0; 10782 uint32_t _itail_tgt = 0; 10783 RECOMP_REGS_LOCALS 10784 RECOMP_ENTER(0x2B040130u); 10785 10786 goto L_2B040130; 10787 L_2B03A2B0: 10788 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 10789 L_2B03A2B3: 10790 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 10791 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10792 _cf = 0; 10793 _flag_k = FK_NARROW(FK_TEST, 24); 10794 L_2B03A2B5: 10795 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 10796 L_2B03A2B7: 10797 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 10798 L_2B03A2BA: 10799 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 10800 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10801 _cf = 0; 10802 _flag_k = FK_NARROW(FK_TEST, 24); 10803 L_2B03A2BC: 10804 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 10805 L_2B03A2BE: 10806 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 10807 L_2B03A2C0: 10808 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 10809 L_2B03A2C3: 10810 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 10811 L_2B040130: 10812 eax = MEM32(ecx + 0x54); /* 0x2B040130: mov eax, dword ptr [ecx + 0x54] */ 10813 L_2B040133: 10814 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10815 edx = 0; /* 0x2B040133: xor edx, edx */ 10816 _cf = 0; 10817 _flag_k = FK_TEST; 10818 L_2B040135: 10819 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B040135: mov byte ptr [eax + 8], dl */ 10820 L_2B040138: 10821 eax = MEM32(ecx + 0x58); /* 0x2B040138: mov eax, dword ptr [ecx + 0x58] */ 10822 L_2B04013B: 10823 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B04013B: mov byte ptr [eax + 8], dl */ 10824 L_2B04013E: 10825 eax = MEM32(ecx + 0x50); /* 0x2B04013E: mov eax, dword ptr [ecx + 0x50] */ 10826 L_2B040141: 10827 MEM32(ecx + 0x4C) = eax; /* 0x2B040141: mov dword ptr [ecx + 0x4c], eax */ 10828 L_2B040144: 10829 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B040144: mov byte ptr [eax + 8], 1 */ 10830 L_2B040148: 10831 MEM32(ecx + 0x64) = edx; /* 0x2B040148: mov dword ptr [ecx + 0x64], edx */ 10832 L_2B04014B: 10833 RECOMP_BACKEDGE(); 10834 goto L_2B03A2B0; /* 0x2B04014B: jmp 0x2b03a2b0 */ 10835 { RECOMP_REGS_OUT(); return; } /* end of function */ 10836 _ljump: 10837 switch (_itail_tgt) { 10838 case 0x2B03A2B0u: goto L_2B03A2B0; 10839 case 0x2B03A2B3u: goto L_2B03A2B3; 10840 case 0x2B03A2B5u: goto L_2B03A2B5; 10841 case 0x2B03A2B7u: goto L_2B03A2B7; 10842 case 0x2B03A2BAu: goto L_2B03A2BA; 10843 case 0x2B03A2BCu: goto L_2B03A2BC; 10844 case 0x2B03A2BEu: goto L_2B03A2BE; 10845 case 0x2B03A2C0u: goto L_2B03A2C0; 10846 case 0x2B03A2C3u: goto L_2B03A2C3; 10847 case 0x2B040130u: goto L_2B040130; 10848 case 0x2B040133u: goto L_2B040133; 10849 case 0x2B040135u: goto L_2B040135; 10850 case 0x2B040138u: goto L_2B040138; 10851 case 0x2B04013Bu: goto L_2B04013B; 10852 case 0x2B04013Eu: goto L_2B04013E; 10853 case 0x2B040141u: goto L_2B040141; 10854 case 0x2B040144u: goto L_2B040144; 10855 case 0x2B040148u: goto L_2B040148; 10856 case 0x2B04014Bu: goto L_2B04014B; 10857 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 10858 } 10859 RECOMP_REGS_OUT(); 10860 } 10861 10862 void sub_2B040150(void) { 10863 int _fpu_cmp = 0; 10864 uint32_t _cf = 0; 10865 int _df = 1; 10866 uint32_t _flag_k = FK_NONE; 10867 uint32_t _flag_a = 0, _flag_b = 0; 10868 uint32_t _itail_tgt = 0; 10869 RECOMP_REGS_LOCALS 10870 RECOMP_ENTER(0x2B040150u); 10871 10872 goto L_2B040150; 10873 L_2B03A2B0: 10874 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 10875 L_2B03A2B3: 10876 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 10877 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10878 _cf = 0; 10879 _flag_k = FK_NARROW(FK_TEST, 24); 10880 L_2B03A2B5: 10881 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 10882 L_2B03A2B7: 10883 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 10884 L_2B03A2BA: 10885 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 10886 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10887 _cf = 0; 10888 _flag_k = FK_NARROW(FK_TEST, 24); 10889 L_2B03A2BC: 10890 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 10891 L_2B03A2BE: 10892 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 10893 L_2B03A2C0: 10894 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 10895 L_2B03A2C3: 10896 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 10897 L_2B040150: 10898 edx = MEM32(ecx + 0x50); /* 0x2B040150: mov edx, dword ptr [ecx + 0x50] */ 10899 L_2B040153: 10900 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 10901 SET_LO8(eax, 0); /* 0x2B040153: xor al, al */ 10902 _cf = 0; 10903 _flag_k = FK_NARROW(FK_TEST, 24); 10904 L_2B040155: 10905 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B040155: mov byte ptr [edx + 8], al */ 10906 L_2B040158: 10907 edx = MEM32(ecx + 0x58); /* 0x2B040158: mov edx, dword ptr [ecx + 0x58] */ 10908 L_2B04015B: 10909 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B04015B: mov byte ptr [edx + 8], al */ 10910 L_2B04015E: 10911 eax = MEM32(ecx + 0x54); /* 0x2B04015E: mov eax, dword ptr [ecx + 0x54] */ 10912 L_2B040161: 10913 MEM32(ecx + 0x4C) = eax; /* 0x2B040161: mov dword ptr [ecx + 0x4c], eax */ 10914 L_2B040164: 10915 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B040164: mov byte ptr [eax + 8], 1 */ 10916 L_2B040168: 10917 MEM32(ecx + 0x64) = 2; /* 0x2B040168: mov dword ptr [ecx + 0x64], 2 */ 10918 L_2B04016F: 10919 RECOMP_BACKEDGE(); 10920 goto L_2B03A2B0; /* 0x2B04016F: jmp 0x2b03a2b0 */ 10921 { RECOMP_REGS_OUT(); return; } /* end of function */ 10922 _ljump: 10923 switch (_itail_tgt) { 10924 case 0x2B03A2B0u: goto L_2B03A2B0; 10925 case 0x2B03A2B3u: goto L_2B03A2B3; 10926 case 0x2B03A2B5u: goto L_2B03A2B5; 10927 case 0x2B03A2B7u: goto L_2B03A2B7; 10928 case 0x2B03A2BAu: goto L_2B03A2BA; 10929 case 0x2B03A2BCu: goto L_2B03A2BC; 10930 case 0x2B03A2BEu: goto L_2B03A2BE; 10931 case 0x2B03A2C0u: goto L_2B03A2C0; 10932 case 0x2B03A2C3u: goto L_2B03A2C3; 10933 case 0x2B040150u: goto L_2B040150; 10934 case 0x2B040153u: goto L_2B040153; 10935 case 0x2B040155u: goto L_2B040155; 10936 case 0x2B040158u: goto L_2B040158; 10937 case 0x2B04015Bu: goto L_2B04015B; 10938 case 0x2B04015Eu: goto L_2B04015E; 10939 case 0x2B040161u: goto L_2B040161; 10940 case 0x2B040164u: goto L_2B040164; 10941 case 0x2B040168u: goto L_2B040168; 10942 case 0x2B04016Fu: goto L_2B04016F; 10943 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 10944 } 10945 RECOMP_REGS_OUT(); 10946 } 10947 10948 void sub_2B040180(void) { 10949 int _fpu_cmp = 0; 10950 uint32_t _cf = 0; 10951 int _df = 1; 10952 uint32_t _flag_k = FK_NONE; 10953 uint32_t _flag_a = 0, _flag_b = 0; 10954 uint32_t _itail_tgt = 0; 10955 RECOMP_REGS_LOCALS 10956 RECOMP_ENTER(0x2B040180u); 10957 10958 goto L_2B040180; 10959 L_2B03A2B0: 10960 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B03A2B0: mov al, byte ptr [ecx + 0x1c] */ 10961 L_2B03A2B3: 10962 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2B3: test al, al */ 10963 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10964 _cf = 0; 10965 _flag_k = FK_NARROW(FK_TEST, 24); 10966 L_2B03A2B5: 10967 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2B5: je 0x2b03a2c3 */ 10968 L_2B03A2B7: 10969 SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B03A2B7: mov al, byte ptr [ecx + 0xc] */ 10970 L_2B03A2BA: 10971 /* test LO8(eax), LO8(eax) */ /* 0x2B03A2BA: test al, al */ 10972 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10973 _cf = 0; 10974 _flag_k = FK_NARROW(FK_TEST, 24); 10975 L_2B03A2BC: 10976 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03A2C3; /* 0x2B03A2BC: je 0x2b03a2c3 */ 10977 L_2B03A2BE: 10978 eax = MEM32(ecx); /* 0x2B03A2BE: mov eax, dword ptr [ecx] */ 10979 L_2B03A2C0: 10980 { _itail_tgt = (uint32_t)(MEM32(eax + 0x4)); goto _ljump; } 10981 L_2B03A2C3: 10982 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03A2C3: ret */ 10983 L_2B040180: 10984 edx = MEM32(ecx + 0x54); /* 0x2B040180: mov edx, dword ptr [ecx + 0x54] */ 10985 L_2B040183: 10986 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 10987 SET_LO8(eax, 0); /* 0x2B040183: xor al, al */ 10988 _cf = 0; 10989 _flag_k = FK_NARROW(FK_TEST, 24); 10990 L_2B040185: 10991 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B040185: mov byte ptr [edx + 8], al */ 10992 L_2B040188: 10993 edx = MEM32(ecx + 0x50); /* 0x2B040188: mov edx, dword ptr [ecx + 0x50] */ 10994 L_2B04018B: 10995 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B04018B: mov byte ptr [edx + 8], al */ 10996 L_2B04018E: 10997 eax = MEM32(ecx + 0x58); /* 0x2B04018E: mov eax, dword ptr [ecx + 0x58] */ 10998 L_2B040191: 10999 edx = 1; /* 0x2B040191: mov edx, 1 */ 11000 L_2B040196: 11001 MEM32(ecx + 0x4C) = eax; /* 0x2B040196: mov dword ptr [ecx + 0x4c], eax */ 11002 L_2B040199: 11003 MEM8(eax + 0x8) = (uint8_t)(LO8(edx)); /* 0x2B040199: mov byte ptr [eax + 8], dl */ 11004 L_2B04019C: 11005 MEM32(ecx + 0x64) = edx; /* 0x2B04019C: mov dword ptr [ecx + 0x64], edx */ 11006 L_2B04019F: 11007 RECOMP_BACKEDGE(); 11008 goto L_2B03A2B0; /* 0x2B04019F: jmp 0x2b03a2b0 */ 11009 { RECOMP_REGS_OUT(); return; } /* end of function */ 11010 _ljump: 11011 switch (_itail_tgt) { 11012 case 0x2B03A2B0u: goto L_2B03A2B0; 11013 case 0x2B03A2B3u: goto L_2B03A2B3; 11014 case 0x2B03A2B5u: goto L_2B03A2B5; 11015 case 0x2B03A2B7u: goto L_2B03A2B7; 11016 case 0x2B03A2BAu: goto L_2B03A2BA; 11017 case 0x2B03A2BCu: goto L_2B03A2BC; 11018 case 0x2B03A2BEu: goto L_2B03A2BE; 11019 case 0x2B03A2C0u: goto L_2B03A2C0; 11020 case 0x2B03A2C3u: goto L_2B03A2C3; 11021 case 0x2B040180u: goto L_2B040180; 11022 case 0x2B040183u: goto L_2B040183; 11023 case 0x2B040185u: goto L_2B040185; 11024 case 0x2B040188u: goto L_2B040188; 11025 case 0x2B04018Bu: goto L_2B04018B; 11026 case 0x2B04018Eu: goto L_2B04018E; 11027 case 0x2B040191u: goto L_2B040191; 11028 case 0x2B040196u: goto L_2B040196; 11029 case 0x2B040199u: goto L_2B040199; 11030 case 0x2B04019Cu: goto L_2B04019C; 11031 case 0x2B04019Fu: goto L_2B04019F; 11032 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 11033 } 11034 RECOMP_REGS_OUT(); 11035 } 11036 11037 void sub_2B0401B0(void) { 11038 int _fpu_cmp = 0; 11039 uint32_t _cf = 0; 11040 int _df = 1; 11041 uint32_t _flag_k = FK_NONE; 11042 uint32_t _flag_a = 0, _flag_b = 0; 11043 uint32_t _itail_tgt = 0; 11044 RECOMP_REGS_LOCALS 11045 RECOMP_ENTER(0x2B0401B0u); 11046 11047 L_2B0401B0: 11048 PUSH32(esp, ebp); /* 0x2B0401B0: push ebp */ 11049 ebp = esp; /* 0x2B0401B1: mov ebp, esp */ 11050 PUSH32(esp, esi); /* 0x2B0401B3: push esi */ 11051 esi = MEM32(ebp + 0x8); /* 0x2B0401B4: mov esi, dword ptr [ebp + 8] */ 11052 ecx = esi; /* 0x2B0401B7: mov ecx, esi */ 11053 RECOMP_ICALL(0x2B03FAE0u); /* 0x2B0401B9: call 0x2b03fae0 */ /* not lifted */ 11054 RECOMP_FLAGS_IN(); 11055 ecx = esi; /* 0x2B0401BE: mov ecx, esi */ 11056 RECOMP_ICALL(0x2B03FA40u); /* 0x2B0401C0: call 0x2b03fa40 */ /* not lifted */ 11057 RECOMP_FLAGS_IN(); 11058 ecx = esi; /* 0x2B0401C5: mov ecx, esi */ 11059 RECOMP_ICALL(0x2B03FB80u); /* 0x2B0401C7: call 0x2b03fb80 */ /* not lifted */ 11060 RECOMP_FLAGS_IN(); 11061 esi = POP32_VAL(esp); /* 0x2B0401CC: pop esi */ 11062 ebp = POP32_VAL(esp); /* 0x2B0401CD: pop ebp */ 11063 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0401CE: ret */ 11064 RECOMP_REGS_OUT(); 11065 } 11066 11067 void sub_2B0401D0(void) { 11068 int _fpu_cmp = 0; 11069 uint32_t _cf = 0; 11070 int _df = 1; 11071 uint32_t _flag_k = FK_NONE; 11072 uint32_t _flag_a = 0, _flag_b = 0; 11073 uint32_t _itail_tgt = 0; 11074 RECOMP_REGS_LOCALS 11075 RECOMP_ENTER(0x2B0401D0u); 11076 11077 L_2B0401D0: 11078 PUSH32(esp, ebp); /* 0x2B0401D0: push ebp */ 11079 ebp = esp; /* 0x2B0401D1: mov ebp, esp */ 11080 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11082 esp = esp - 8; /* 0x2B0401D3: sub esp, 8 */ 11083 _flag_k = FK_CMP; 11084 PUSH32(esp, esi); /* 0x2B0401D6: push esi */ 11085 esi = MEM32(ebp + 0x8); /* 0x2B0401D7: mov esi, dword ptr [ebp + 8] */ 11086 /* test esi, esi */ /* 0x2B0401DA: test esi, esi */ 11087 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11088 _cf = 0; 11089 _flag_k = FK_TEST; 11090 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04029B; /* 0x2B0401DC: je 0x2b04029b */ 11091 L_2B0401E2: 11092 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0401E2: call dword ptr [0x2b0b5b64] */ 11093 RECOMP_FLAGS_IN(); 11094 ecx = MEM32(eax + 0x108); /* 0x2B0401E8: mov ecx, dword ptr [eax + 0x108] */ 11095 eax = MEM32(eax + 0x10C); /* 0x2B0401EE: mov eax, dword ptr [eax + 0x10c] */ 11096 edx = MEM32(0x2B0EE9DC); /* 0x2B0401F4: mov edx, dword ptr [0x2b0ee9dc] */ 11097 MEM32(ebp + (-0x4)) = eax; /* 0x2B0401FA: mov dword ptr [ebp - 4], eax */ 11098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x2C)); 11099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11100 ecx = ecx - MEM32(edx + 0x2C); /* 0x2B0401FD: sub ecx, dword ptr [edx + 0x2c] */ 11101 _flag_k = FK_CMP; 11102 eax = MEM32(esi + 0x64); /* 0x2B040200: mov eax, dword ptr [esi + 0x64] */ 11103 /* test eax, eax */ /* 0x2B040203: test eax, eax */ 11104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11105 _cf = 0; 11106 _flag_k = FK_TEST; 11107 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B040227; /* 0x2B040205: jne 0x2b040227 */ 11108 L_2B040207: 11109 /* cmp ecx, 0x5Cu */ /* 0x2B040207: cmp ecx, 0x5c */ 11110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x5Cu); 11111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11112 _flag_k = FK_CMP; 11113 if (CMP_LE(_flag_a, _flag_b)) goto L_2B04021D; /* 0x2B04020A: jle 0x2b04021d */ 11114 L_2B04020C: 11115 /* cmp ecx, 0x97u */ /* 0x2B04020C: cmp ecx, 0x97 */ 11116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x97u); 11117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11118 _flag_k = FK_CMP; 11119 if (CMP_GE(_flag_a, _flag_b)) goto L_2B04025E; /* 0x2B040212: jge 0x2b04025e */ 11120 L_2B040214: 11121 ecx = esi; /* 0x2B040214: mov ecx, esi */ 11122 RECOMP_ICALL(0x2B040180u); /* 0x2B040216: call 0x2b040180 */ /* not lifted */ 11123 RECOMP_FLAGS_IN(); 11124 goto L_2B040265; /* 0x2B04021B: jmp 0x2b040265 */ 11125 L_2B04021D: 11126 /* cmp ecx, 0x97u */ /* 0x2B04021D: cmp ecx, 0x97 */ 11127 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x97u); 11128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11129 _flag_k = FK_CMP; 11130 if (CMP_L(_flag_a, _flag_b)) goto L_2B040265; /* 0x2B040223: jl 0x2b040265 */ 11131 L_2B040225: 11132 goto L_2B04025E; /* 0x2B040225: jmp 0x2b04025e */ 11133 L_2B040227: 11134 /* cmp eax, 2 */ /* 0x2B040227: cmp eax, 2 */ 11135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 11136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11137 _flag_k = FK_CMP; 11138 if (CMP_NE(_flag_a, _flag_b)) goto L_2B040248; /* 0x2B04022A: jne 0x2b040248 */ 11139 L_2B04022C: 11140 /* cmp ecx, 0x36u */ /* 0x2B04022C: cmp ecx, 0x36 */ 11141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x36u); 11142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11143 _flag_k = FK_CMP; 11144 if (CMP_GE(_flag_a, _flag_b)) goto L_2B04023A; /* 0x2B04022F: jge 0x2b04023a */ 11145 L_2B040231: 11146 ecx = esi; /* 0x2B040231: mov ecx, esi */ 11147 RECOMP_ICALL(0x2B040130u); /* 0x2B040233: call 0x2b040130 */ /* not lifted */ 11148 RECOMP_FLAGS_IN(); 11149 goto L_2B040265; /* 0x2B040238: jmp 0x2b040265 */ 11150 L_2B04023A: 11151 /* cmp ecx, 0x62u */ /* 0x2B04023A: cmp ecx, 0x62 */ 11152 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x62u); 11153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11154 _flag_k = FK_CMP; 11155 if (CMP_GE(_flag_a, _flag_b)) goto L_2B040265; /* 0x2B04023D: jge 0x2b040265 */ 11156 L_2B04023F: 11157 ecx = esi; /* 0x2B04023F: mov ecx, esi */ 11158 RECOMP_ICALL(0x2B040180u); /* 0x2B040241: call 0x2b040180 */ /* not lifted */ 11159 RECOMP_FLAGS_IN(); 11160 goto L_2B040265; /* 0x2B040246: jmp 0x2b040265 */ 11161 L_2B040248: 11162 /* cmp ecx, 0x36u */ /* 0x2B040248: cmp ecx, 0x36 */ 11163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x36u); 11164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11165 _flag_k = FK_CMP; 11166 if (CMP_GE(_flag_a, _flag_b)) goto L_2B040256; /* 0x2B04024B: jge 0x2b040256 */ 11167 L_2B04024D: 11168 ecx = esi; /* 0x2B04024D: mov ecx, esi */ 11169 RECOMP_ICALL(0x2B040130u); /* 0x2B04024F: call 0x2b040130 */ /* not lifted */ 11170 RECOMP_FLAGS_IN(); 11171 goto L_2B040265; /* 0x2B040254: jmp 0x2b040265 */ 11172 L_2B040256: 11173 /* cmp ecx, 0x8Au */ /* 0x2B040256: cmp ecx, 0x8a */ 11174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x8Au); 11175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11176 _flag_k = FK_CMP; 11177 if (CMP_LE(_flag_a, _flag_b)) goto L_2B040265; /* 0x2B04025C: jle 0x2b040265 */ 11178 L_2B04025E: 11179 ecx = esi; /* 0x2B04025E: mov ecx, esi */ 11180 RECOMP_ICALL(0x2B040150u); /* 0x2B040260: call 0x2b040150 */ /* not lifted */ 11181 RECOMP_FLAGS_IN(); 11182 L_2B040265: 11183 SET_LO8(ecx, MEM8(0x2B0EEA24)); /* 0x2B040265: mov cl, byte ptr [0x2b0eea24] */ 11184 SET_LO8(eax, 1); /* 0x2B04026B: mov al, 1 */ 11185 /* test LO8(eax), LO8(ecx) */ /* 0x2B04026D: test al, cl */ 11186 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11187 _cf = 0; 11188 _flag_k = FK_NARROW(FK_TEST, 24); 11189 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B04028C; /* 0x2B04026F: jne 0x2b04028c */ 11190 L_2B040271: 11191 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 11192 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B040271: or cl, al */ 11193 _cf = 0; 11194 _flag_k = FK_NARROW(FK_TEST, 24); 11195 PUSH32(esp, 0x2B0E728Cu); /* 0x2B040273: push 0x2b0e728c */ 11196 MEM8(0x2B0EEA24) = (uint8_t)(LO8(ecx)); /* 0x2B040278: mov byte ptr [0x2b0eea24], cl */ 11197 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B04027E: call dword ptr [0x2b0b60bc] */ 11198 RECOMP_FLAGS_IN(); 11199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11201 esp = esp + 4; /* 0x2B040284: add esp, 4 */ 11202 _flag_k = FK_ADD; 11203 MEM32(0x2B0EEA20) = eax; /* 0x2B040287: mov dword ptr [0x2b0eea20], eax */ 11204 L_2B04028C: 11205 eax = MEM32(0x2B0EEA20); /* 0x2B04028C: mov eax, dword ptr [0x2b0eea20] */ 11206 PUSH32(esp, eax); /* 0x2B040291: push eax */ 11207 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B040292: call dword ptr [0x2b0b60b8] */ 11208 RECOMP_FLAGS_IN(); 11209 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11211 esp = esp + 4; /* 0x2B040298: add esp, 4 */ 11212 _flag_k = FK_ADD; 11213 L_2B04029B: 11214 esi = POP32_VAL(esp); /* 0x2B04029B: pop esi */ 11215 esp = ebp; /* 0x2B04029C: mov esp, ebp */ 11216 ebp = POP32_VAL(esp); /* 0x2B04029E: pop ebp */ 11217 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04029F: ret */ 11218 RECOMP_REGS_OUT(); 11219 } 11220 11221 void sub_2B0402A0(void) { 11222 int _fpu_cmp = 0; 11223 uint32_t _cf = 0; 11224 int _df = 1; 11225 uint32_t _flag_k = FK_NONE; 11226 uint32_t _flag_a = 0, _flag_b = 0; 11227 uint32_t _itail_tgt = 0; 11228 RECOMP_REGS_LOCALS 11229 RECOMP_ENTER(0x2B0402A0u); 11230 11231 L_2B0402A0: 11232 PUSH32(esp, ebp); /* 0x2B0402A0: push ebp */ 11233 ebp = esp; /* 0x2B0402A1: mov ebp, esp */ 11234 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11236 esp = esp - 8; /* 0x2B0402A3: sub esp, 8 */ 11237 _flag_k = FK_CMP; 11238 eax = MEM32(ebp + 0xC); /* 0x2B0402A6: mov eax, dword ptr [ebp + 0xc] */ 11239 PUSH32(esp, ebx); /* 0x2B0402A9: push ebx */ 11240 PUSH32(esp, esi); /* 0x2B0402AA: push esi */ 11241 PUSH32(esp, edi); /* 0x2B0402AB: push edi */ 11242 edi = MEM32(eax + 0x4); /* 0x2B0402AC: mov edi, dword ptr [eax + 4] */ 11243 eax = MEM32(edi); /* 0x2B0402AF: mov eax, dword ptr [edi] */ 11244 /* cmp eax, edi */ /* 0x2B0402B1: cmp eax, edi */ 11245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11247 _flag_k = FK_CMP; 11248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0402DC; /* 0x2B0402B3: je 0x2b0402dc */ 11249 L_2B0402B5: 11250 ecx = MEM32(ebp + 0x8); /* 0x2B0402B5: mov ecx, dword ptr [ebp + 8] */ 11251 edx = MEM32(ecx + 0x4); /* 0x2B0402B8: mov edx, dword ptr [ecx + 4] */ 11252 esi = MEM32(ebp + (-0x4)); /* 0x2B0402BB: mov esi, dword ptr [ebp - 4] */ 11253 MEM32(ebp + 0xC) = edx; /* 0x2B0402BE: mov dword ptr [ebp + 0xc], edx */ 11254 L_2B0402C1: 11255 ecx = MEM32(eax + 0x8); /* 0x2B0402C1: mov ecx, dword ptr [eax + 8] */ 11256 edx = ecx + 0x54; /* 0x2B0402C4: lea edx, [ecx + 0x54] */ 11257 ebx = ebp + (-0x8); /* 0x2B0402C7: lea ebx, [ebp - 8] */ 11258 /* cmp ebx, edx */ /* 0x2B0402CA: cmp ebx, edx */ 11259 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 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_2B0402D1; /* 0x2B0402CC: je 0x2b0402d1 */ 11263 L_2B0402CE: 11264 esi = MEM32(edx + 0x4); /* 0x2B0402CE: mov esi, dword ptr [edx + 4] */ 11265 L_2B0402D1: 11266 /* cmp esi, MEM32(ebp + 0xC) */ /* 0x2B0402D1: cmp esi, dword ptr [ebp + 0xc] */ 11267 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 11268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11269 _flag_k = FK_CMP; 11270 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0402E7; /* 0x2B0402D4: je 0x2b0402e7 */ 11271 L_2B0402D6: 11272 eax = MEM32(eax); /* 0x2B0402D6: mov eax, dword ptr [eax] */ 11273 /* cmp eax, edi */ /* 0x2B0402D8: cmp eax, edi */ 11274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11276 _flag_k = FK_CMP; 11277 RECOMP_BACKEDGE(); 11278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0402C1; /* 0x2B0402DA: jne 0x2b0402c1 */ 11279 L_2B0402DC: 11280 edi = POP32_VAL(esp); /* 0x2B0402DC: pop edi */ 11281 esi = POP32_VAL(esp); /* 0x2B0402DD: pop esi */ 11282 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 11283 SET_LO8(eax, 0); /* 0x2B0402DE: xor al, al */ 11284 _cf = 0; 11285 _flag_k = FK_NARROW(FK_TEST, 24); 11286 ebx = POP32_VAL(esp); /* 0x2B0402E0: pop ebx */ 11287 esp = ebp; /* 0x2B0402E1: mov esp, ebp */ 11288 ebp = POP32_VAL(esp); /* 0x2B0402E3: pop ebp */ 11289 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0402E4: ret 8 */ 11290 L_2B0402E7: 11291 RECOMP_ICALL(MEM32(0x2B0B5894)); /* 0x2B0402E7: call dword ptr [0x2b0b5894] */ 11292 RECOMP_FLAGS_IN(); 11293 edi = POP32_VAL(esp); /* 0x2B0402ED: pop edi */ 11294 esi = POP32_VAL(esp); /* 0x2B0402EE: pop esi */ 11295 SET_LO8(eax, 1); /* 0x2B0402EF: mov al, 1 */ 11296 ebx = POP32_VAL(esp); /* 0x2B0402F1: pop ebx */ 11297 esp = ebp; /* 0x2B0402F2: mov esp, ebp */ 11298 ebp = POP32_VAL(esp); /* 0x2B0402F4: pop ebp */ 11299 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0402F5: ret 8 */ 11300 RECOMP_REGS_OUT(); 11301 } 11302 11303 void sub_2B040300(void) { 11304 int _fpu_cmp = 0; 11305 uint32_t _cf = 0; 11306 int _df = 1; 11307 uint32_t _flag_k = FK_NONE; 11308 uint32_t _flag_a = 0, _flag_b = 0; 11309 uint32_t _itail_tgt = 0; 11310 RECOMP_REGS_LOCALS 11311 RECOMP_ENTER(0x2B040300u); 11312 11313 L_2B040300: 11314 PUSH32(esp, ebx); /* 0x2B040300: push ebx */ 11315 PUSH32(esp, esi); /* 0x2B040301: push esi */ 11316 PUSH32(esp, edi); /* 0x2B040302: push edi */ 11317 edi = ecx; /* 0x2B040303: mov edi, ecx */ 11318 ebx = MEM32(edi + 0x4); /* 0x2B040305: mov ebx, dword ptr [edi + 4] */ 11319 esi = MEM32(ebx); /* 0x2B040308: mov esi, dword ptr [ebx] */ 11320 /* cmp esi, ebx */ /* 0x2B04030A: cmp esi, ebx */ 11321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 11322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11323 _flag_k = FK_CMP; 11324 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040335; /* 0x2B04030C: je 0x2b040335 */ 11325 L_2B04030E: 11326 eax = esi; /* 0x2B04030E: mov eax, esi */ 11327 ecx = MEM32(eax + 0x4); /* 0x2B040310: mov ecx, dword ptr [eax + 4] */ 11328 edx = MEM32(eax); /* 0x2B040313: mov edx, dword ptr [eax] */ 11329 esi = MEM32(esi); /* 0x2B040315: mov esi, dword ptr [esi] */ 11330 MEM32(ecx) = edx; /* 0x2B040317: mov dword ptr [ecx], edx */ 11331 ecx = MEM32(eax); /* 0x2B040319: mov ecx, dword ptr [eax] */ 11332 edx = MEM32(eax + 0x4); /* 0x2B04031B: mov edx, dword ptr [eax + 4] */ 11333 PUSH32(esp, eax); /* 0x2B04031E: push eax */ 11334 MEM32(ecx + 0x4) = edx; /* 0x2B04031F: mov dword ptr [ecx + 4], edx */ 11335 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B040322: call 0x2b0ab1ba */ /* not lifted */ 11336 RECOMP_FLAGS_IN(); 11337 ecx = MEM32(edi + 0x8); /* 0x2B040327: mov ecx, dword ptr [edi + 8] */ 11338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11340 esp = esp + 4; /* 0x2B04032A: add esp, 4 */ 11341 _flag_k = FK_ADD; 11342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11343 ecx = ecx - 1; /* 0x2B04032D: dec ecx */ 11344 _flag_k = FK_DEC; 11345 /* cmp esi, ebx */ /* 0x2B04032E: cmp esi, ebx */ 11346 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 11347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11348 _flag_k = FK_CMP; 11349 MEM32(edi + 0x8) = ecx; /* 0x2B040330: mov dword ptr [edi + 8], ecx */ 11350 RECOMP_BACKEDGE(); 11351 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04030E; /* 0x2B040333: jne 0x2b04030e */ 11352 L_2B040335: 11353 eax = MEM32(edi + 0x4); /* 0x2B040335: mov eax, dword ptr [edi + 4] */ 11354 PUSH32(esp, eax); /* 0x2B040338: push eax */ 11355 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B040339: call 0x2b0ab1ba */ /* not lifted */ 11356 RECOMP_FLAGS_IN(); 11357 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11359 esp = esp + 4; /* 0x2B04033E: add esp, 4 */ 11360 _flag_k = FK_ADD; 11361 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11362 eax = 0; /* 0x2B040341: xor eax, eax */ 11363 _cf = 0; 11364 _flag_k = FK_TEST; 11365 MEM32(edi + 0x4) = eax; /* 0x2B040343: mov dword ptr [edi + 4], eax */ 11366 MEM32(edi + 0x8) = eax; /* 0x2B040346: mov dword ptr [edi + 8], eax */ 11367 edi = POP32_VAL(esp); /* 0x2B040349: pop edi */ 11368 esi = POP32_VAL(esp); /* 0x2B04034A: pop esi */ 11369 ebx = POP32_VAL(esp); /* 0x2B04034B: pop ebx */ 11370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04034C: ret */ 11371 RECOMP_REGS_OUT(); 11372 } 11373 11374 void sub_2B040350(void) { 11375 int _fpu_cmp = 0; 11376 uint32_t _cf = 0; 11377 int _df = 1; 11378 uint32_t _flag_k = FK_NONE; 11379 uint32_t _flag_a = 0, _flag_b = 0; 11380 uint32_t _itail_tgt = 0; 11381 RECOMP_REGS_LOCALS 11382 RECOMP_ENTER(0x2B040350u); 11383 11384 L_2B040350: 11385 PUSH32(esp, ebp); /* 0x2B040350: push ebp */ 11386 ebp = esp; /* 0x2B040351: mov ebp, esp */ 11387 PUSH32(esp, ebx); /* 0x2B040353: push ebx */ 11388 ebx = MEM32(ebp + 0x10); /* 0x2B040354: mov ebx, dword ptr [ebp + 0x10] */ 11389 PUSH32(esp, esi); /* 0x2B040357: push esi */ 11390 esi = MEM32(ebp + 0xC); /* 0x2B040358: mov esi, dword ptr [ebp + 0xc] */ 11391 /* cmp esi, ebx */ /* 0x2B04035B: cmp esi, ebx */ 11392 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 11393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11394 _flag_k = FK_CMP; 11395 PUSH32(esp, edi); /* 0x2B04035D: push edi */ 11396 edi = ecx; /* 0x2B04035E: mov edi, ecx */ 11397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040389; /* 0x2B040360: je 0x2b040389 */ 11398 L_2B040362: 11399 eax = esi; /* 0x2B040362: mov eax, esi */ 11400 ecx = MEM32(eax + 0x4); /* 0x2B040364: mov ecx, dword ptr [eax + 4] */ 11401 edx = MEM32(eax); /* 0x2B040367: mov edx, dword ptr [eax] */ 11402 esi = MEM32(esi); /* 0x2B040369: mov esi, dword ptr [esi] */ 11403 MEM32(ecx) = edx; /* 0x2B04036B: mov dword ptr [ecx], edx */ 11404 ecx = MEM32(eax); /* 0x2B04036D: mov ecx, dword ptr [eax] */ 11405 edx = MEM32(eax + 0x4); /* 0x2B04036F: mov edx, dword ptr [eax + 4] */ 11406 PUSH32(esp, eax); /* 0x2B040372: push eax */ 11407 MEM32(ecx + 0x4) = edx; /* 0x2B040373: mov dword ptr [ecx + 4], edx */ 11408 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B040376: call 0x2b0ab1ba */ /* not lifted */ 11409 RECOMP_FLAGS_IN(); 11410 ecx = MEM32(edi + 0x8); /* 0x2B04037B: mov ecx, dword ptr [edi + 8] */ 11411 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11413 esp = esp + 4; /* 0x2B04037E: add esp, 4 */ 11414 _flag_k = FK_ADD; 11415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11416 ecx = ecx - 1; /* 0x2B040381: dec ecx */ 11417 _flag_k = FK_DEC; 11418 /* cmp esi, ebx */ /* 0x2B040382: cmp esi, ebx */ 11419 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 11420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11421 _flag_k = FK_CMP; 11422 MEM32(edi + 0x8) = ecx; /* 0x2B040384: mov dword ptr [edi + 8], ecx */ 11423 RECOMP_BACKEDGE(); 11424 if (CMP_NE(_flag_a, _flag_b)) goto L_2B040362; /* 0x2B040387: jne 0x2b040362 */ 11425 L_2B040389: 11426 eax = MEM32(ebp + 0x8); /* 0x2B040389: mov eax, dword ptr [ebp + 8] */ 11427 edi = POP32_VAL(esp); /* 0x2B04038C: pop edi */ 11428 MEM32(eax) = esi; /* 0x2B04038D: mov dword ptr [eax], esi */ 11429 esi = POP32_VAL(esp); /* 0x2B04038F: pop esi */ 11430 ebx = POP32_VAL(esp); /* 0x2B040390: pop ebx */ 11431 ebp = POP32_VAL(esp); /* 0x2B040391: pop ebp */ 11432 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B040392: ret 0xc */ 11433 RECOMP_REGS_OUT(); 11434 } 11435 11436 void sub_2B0403A0(void) { 11437 int _fpu_cmp = 0; 11438 uint32_t _cf = 0; 11439 int _df = 1; 11440 uint32_t _flag_k = FK_NONE; 11441 uint32_t _flag_a = 0, _flag_b = 0; 11442 uint32_t _itail_tgt = 0; 11443 RECOMP_REGS_LOCALS 11444 RECOMP_ENTER(0x2B0403A0u); 11445 11446 L_2B0403A0: 11447 PUSH32(esp, ebp); /* 0x2B0403A0: push ebp */ 11448 ebp = esp; /* 0x2B0403A1: mov ebp, esp */ 11449 PUSH32(esp, 0x10u); /* 0x2B0403A3: push 0x10 */ 11450 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0403A5: call 0x2b0ab212 */ /* not lifted */ 11451 RECOMP_FLAGS_IN(); 11452 ecx = MEM32(ebp + 0x8); /* 0x2B0403AA: mov ecx, dword ptr [ebp + 8] */ 11453 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11455 esp = esp + 4; /* 0x2B0403AD: add esp, 4 */ 11456 _flag_k = FK_ADD; 11457 /* test ecx, ecx */ /* 0x2B0403B0: test ecx, ecx */ 11458 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11459 _cf = 0; 11460 _flag_k = FK_TEST; 11461 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0403B6; /* 0x2B0403B2: jne 0x2b0403b6 */ 11462 L_2B0403B4: 11463 ecx = eax; /* 0x2B0403B4: mov ecx, eax */ 11464 L_2B0403B6: 11465 MEM32(eax) = ecx; /* 0x2B0403B6: mov dword ptr [eax], ecx */ 11466 ecx = MEM32(ebp + 0xC); /* 0x2B0403B8: mov ecx, dword ptr [ebp + 0xc] */ 11467 /* test ecx, ecx */ /* 0x2B0403BB: test ecx, ecx */ 11468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11469 _cf = 0; 11470 _flag_k = FK_TEST; 11471 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0403C6; /* 0x2B0403BD: je 0x2b0403c6 */ 11472 L_2B0403BF: 11473 MEM32(eax + 0x4) = ecx; /* 0x2B0403BF: mov dword ptr [eax + 4], ecx */ 11474 ebp = POP32_VAL(esp); /* 0x2B0403C2: pop ebp */ 11475 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0403C3: ret 8 */ 11476 L_2B0403C6: 11477 MEM32(eax + 0x4) = eax; /* 0x2B0403C6: mov dword ptr [eax + 4], eax */ 11478 ebp = POP32_VAL(esp); /* 0x2B0403C9: pop ebp */ 11479 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0403CA: ret 8 */ 11480 RECOMP_REGS_OUT(); 11481 } 11482 11483 void sub_2B0403D0(void) { 11484 int _fpu_cmp = 0; 11485 uint32_t _cf = 0; 11486 int _df = 1; 11487 uint32_t _flag_k = FK_NONE; 11488 uint32_t _flag_a = 0, _flag_b = 0; 11489 uint32_t _itail_tgt = 0; 11490 RECOMP_REGS_LOCALS 11491 RECOMP_ENTER(0x2B0403D0u); 11492 11493 L_2B0403D0: 11494 PUSH32(esp, ebp); /* 0x2B0403D0: push ebp */ 11495 ebp = esp; /* 0x2B0403D1: mov ebp, esp */ 11496 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0403D3: push -1 */ 11497 PUSH32(esp, 0x2B0AED9Cu); /* 0x2B0403D5: push 0x2b0aed9c */ 11498 eax = MEM32(FS_BASE + (0)); /* 0x2B0403DA: mov eax, dword ptr fs:[0] */ 11499 PUSH32(esp, eax); /* 0x2B0403E0: push eax */ 11500 MEM32(FS_BASE + (0)) = esp; /* 0x2B0403E1: mov dword ptr fs:[0], esp */ 11501 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10Cu); 11502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11503 esp = esp - 0x10Cu; /* 0x2B0403E8: sub esp, 0x10c */ 11504 _flag_k = FK_CMP; 11505 PUSH32(esp, ebx); /* 0x2B0403EE: push ebx */ 11506 PUSH32(esp, esi); /* 0x2B0403EF: push esi */ 11507 esi = ecx; /* 0x2B0403F0: mov esi, ecx */ 11508 PUSH32(esp, edi); /* 0x2B0403F2: push edi */ 11509 MEM32(ebp + (-0xB8)) = esi; /* 0x2B0403F3: mov dword ptr [ebp - 0xb8], esi */ 11510 RECOMP_ICALL(0x2B03A220u); /* 0x2B0403F9: call 0x2b03a220 */ /* not lifted */ 11511 RECOMP_FLAGS_IN(); 11512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11513 ebx = 0; /* 0x2B0403FE: xor ebx, ebx */ 11514 _cf = 0; 11515 _flag_k = FK_TEST; 11516 MEM32(esi + 0x3C) = ebx; /* 0x2B040400: mov dword ptr [esi + 0x3c], ebx */ 11517 MEM32(esi + 0x74) = ebx; /* 0x2B040403: mov dword ptr [esi + 0x74], ebx */ 11518 MEM8(esi + 0x78) = (uint8_t)(1); /* 0x2B040406: mov byte ptr [esi + 0x78], 1 */ 11519 MEM32(esi + 0x90) = ebx; /* 0x2B04040A: mov dword ptr [esi + 0x90], ebx */ 11520 MEM32(esi + 0x94) = ebx; /* 0x2B040410: mov dword ptr [esi + 0x94], ebx */ 11521 MEM8(esi + 0x98) = (uint8_t)(LO8(ebx)); /* 0x2B040416: mov byte ptr [esi + 0x98], bl */ 11522 MEM8(esi + 0xA1) = (uint8_t)(LO8(ebx)); /* 0x2B04041C: mov byte ptr [esi + 0xa1], bl */ 11523 MEM32(esi + 0xA4) = ebx; /* 0x2B040422: mov dword ptr [esi + 0xa4], ebx */ 11524 MEM32(esi + 0xBC) = ebx; /* 0x2B040428: mov dword ptr [esi + 0xbc], ebx */ 11525 MEM32(esi + 0xC0) = ebx; /* 0x2B04042E: mov dword ptr [esi + 0xc0], ebx */ 11526 PUSH32(esp, 0xCu); /* 0x2B040434: push 0xc */ 11527 MEM32(ebp + (-0x4)) = ebx; /* 0x2B040436: mov dword ptr [ebp - 4], ebx */ 11528 MEM32(esi) = 0x2B0B69A0u; /* 0x2B040439: mov dword ptr [esi], 0x2b0b69a0 */ 11529 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04043F: call 0x2b0ab212 */ /* not lifted */ 11530 RECOMP_FLAGS_IN(); 11531 edi = eax; /* 0x2B040444: mov edi, eax */ 11532 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11534 esp = esp + 4; /* 0x2B040446: add esp, 4 */ 11535 _flag_k = FK_ADD; 11536 MEM32(ebp + (-0x10)) = edi; /* 0x2B040449: mov dword ptr [ebp - 0x10], edi */ 11537 /* cmp edi, ebx */ /* 0x2B04044C: cmp edi, ebx */ 11538 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11540 _flag_k = FK_CMP; 11541 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B04044E: mov byte ptr [ebp - 4], 1 */ 11542 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040470; /* 0x2B040452: je 0x2b040470 */ 11543 L_2B040454: 11544 SET_LO8(eax, MEM8(ebp + (-0x39))); /* 0x2B040454: mov al, byte ptr [ebp - 0x39] */ 11545 PUSH32(esp, 0xCu); /* 0x2B040457: push 0xc */ 11546 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B040459: mov byte ptr [edi], al */ 11547 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04045B: call 0x2b0ab212 */ /* not lifted */ 11548 RECOMP_FLAGS_IN(); 11549 MEM32(eax) = eax; /* 0x2B040460: mov dword ptr [eax], eax */ 11550 MEM32(eax + 0x4) = eax; /* 0x2B040462: mov dword ptr [eax + 4], eax */ 11551 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11552 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11553 esp = esp + 4; /* 0x2B040465: add esp, 4 */ 11554 _flag_k = FK_ADD; 11555 MEM32(edi + 0x4) = eax; /* 0x2B040468: mov dword ptr [edi + 4], eax */ 11556 MEM32(edi + 0x8) = ebx; /* 0x2B04046B: mov dword ptr [edi + 8], ebx */ 11557 goto L_2B040472; /* 0x2B04046E: jmp 0x2b040472 */ 11558 L_2B040470: 11559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11560 edi = 0; /* 0x2B040470: xor edi, edi */ 11561 _cf = 0; 11562 _flag_k = FK_TEST; 11563 L_2B040472: 11564 MEM32(esi + 0x8C) = edi; /* 0x2B040472: mov dword ptr [esi + 0x8c], edi */ 11565 MEM32(0x2B0EEA60) = esi; /* 0x2B040478: mov dword ptr [0x2b0eea60], esi */ 11566 edx = MEM32(esi + 0x8); /* 0x2B04047E: mov edx, dword ptr [esi + 8] */ 11567 ecx = MEM32(esi + 0x4); /* 0x2B040481: mov ecx, dword ptr [esi + 4] */ 11568 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 11569 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11570 edx = edx + 0x14u; /* 0x2B040484: add edx, 0x14 */ 11571 _flag_k = FK_ADD; 11572 PUSH32(esp, 0x38u); /* 0x2B040487: push 0x38 */ 11573 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040489: mov byte ptr [ebp - 4], bl */ 11574 MEM32(ebp + (-0x18)) = ecx; /* 0x2B04048C: mov dword ptr [ebp - 0x18], ecx */ 11575 MEM32(ebp + (-0x14)) = edx; /* 0x2B04048F: mov dword ptr [ebp - 0x14], edx */ 11576 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040492: call 0x2b0ab212 */ /* not lifted */ 11577 RECOMP_FLAGS_IN(); 11578 edi = eax; /* 0x2B040497: mov edi, eax */ 11579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11581 esp = esp + 4; /* 0x2B040499: add esp, 4 */ 11582 _flag_k = FK_ADD; 11583 MEM32(ebp + (-0x10)) = edi; /* 0x2B04049C: mov dword ptr [ebp - 0x10], edi */ 11584 /* cmp edi, ebx */ /* 0x2B04049F: cmp edi, ebx */ 11585 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11587 _flag_k = FK_CMP; 11588 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0404A1: mov byte ptr [ebp - 4], 2 */ 11589 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0404CB; /* 0x2B0404A5: je 0x2b0404cb */ 11590 L_2B0404A7: 11591 eax = MEM32(0x2B0EE9DC); /* 0x2B0404A7: mov eax, dword ptr [0x2b0ee9dc] */ 11592 PUSH32(esp, eax); /* 0x2B0404AC: push eax */ 11593 PUSH32(esp, 0xFA2u); /* 0x2B0404AD: push 0xfa2 */ 11594 PUSH32(esp, 0x15Du); /* 0x2B0404B2: push 0x15d */ 11595 ecx = ebp + (-0x18); /* 0x2B0404B7: lea ecx, [ebp - 0x18] */ 11596 PUSH32(esp, ecx); /* 0x2B0404BA: push ecx */ 11597 ecx = edi; /* 0x2B0404BB: mov ecx, edi */ 11598 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B0404BD: call dword ptr [0x2b0b5948] */ 11599 RECOMP_FLAGS_IN(); 11600 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0404C3: mov dword ptr [edi], 0x2b0b68f4 */ 11601 goto L_2B0404CD; /* 0x2B0404C9: jmp 0x2b0404cd */ 11602 L_2B0404CB: 11603 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11604 edi = 0; /* 0x2B0404CB: xor edi, edi */ 11605 _cf = 0; 11606 _flag_k = FK_TEST; 11607 L_2B0404CD: 11608 PUSH32(esp, 0x38u); /* 0x2B0404CD: push 0x38 */ 11609 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0404CF: mov byte ptr [ebp - 4], bl */ 11610 MEM32(esi + 0x28) = edi; /* 0x2B0404D2: mov dword ptr [esi + 0x28], edi */ 11611 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0404D5: call 0x2b0ab212 */ /* not lifted */ 11612 RECOMP_FLAGS_IN(); 11613 edi = eax; /* 0x2B0404DA: mov edi, eax */ 11614 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11616 esp = esp + 4; /* 0x2B0404DC: add esp, 4 */ 11617 _flag_k = FK_ADD; 11618 MEM32(ebp + (-0x10)) = edi; /* 0x2B0404DF: mov dword ptr [ebp - 0x10], edi */ 11619 /* cmp edi, ebx */ /* 0x2B0404E2: cmp edi, ebx */ 11620 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11622 _flag_k = FK_CMP; 11623 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0404E4: mov byte ptr [ebp - 4], 3 */ 11624 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04050F; /* 0x2B0404E8: je 0x2b04050f */ 11625 L_2B0404EA: 11626 edx = MEM32(0x2B0EE9DC); /* 0x2B0404EA: mov edx, dword ptr [0x2b0ee9dc] */ 11627 PUSH32(esp, edx); /* 0x2B0404F0: push edx */ 11628 PUSH32(esp, 0xFA2u); /* 0x2B0404F1: push 0xfa2 */ 11629 PUSH32(esp, 0x15Eu); /* 0x2B0404F6: push 0x15e */ 11630 eax = ebp + (-0x18); /* 0x2B0404FB: lea eax, [ebp - 0x18] */ 11631 PUSH32(esp, eax); /* 0x2B0404FE: push eax */ 11632 ecx = edi; /* 0x2B0404FF: mov ecx, edi */ 11633 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B040501: call dword ptr [0x2b0b5948] */ 11634 RECOMP_FLAGS_IN(); 11635 MEM32(edi) = 0x2B0B68F4u; /* 0x2B040507: mov dword ptr [edi], 0x2b0b68f4 */ 11636 goto L_2B040511; /* 0x2B04050D: jmp 0x2b040511 */ 11637 L_2B04050F: 11638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11639 edi = 0; /* 0x2B04050F: xor edi, edi */ 11640 _cf = 0; 11641 _flag_k = FK_TEST; 11642 L_2B040511: 11643 PUSH32(esp, 0x38u); /* 0x2B040511: push 0x38 */ 11644 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040513: mov byte ptr [ebp - 4], bl */ 11645 MEM32(esi + 0x2C) = edi; /* 0x2B040516: mov dword ptr [esi + 0x2c], edi */ 11646 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040519: call 0x2b0ab212 */ /* not lifted */ 11647 RECOMP_FLAGS_IN(); 11648 edi = eax; /* 0x2B04051E: mov edi, eax */ 11649 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11651 esp = esp + 4; /* 0x2B040520: add esp, 4 */ 11652 _flag_k = FK_ADD; 11653 MEM32(ebp + (-0x10)) = edi; /* 0x2B040523: mov dword ptr [ebp - 0x10], edi */ 11654 /* cmp edi, ebx */ /* 0x2B040526: cmp edi, ebx */ 11655 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11657 _flag_k = FK_CMP; 11658 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B040528: mov byte ptr [ebp - 4], 4 */ 11659 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040553; /* 0x2B04052C: je 0x2b040553 */ 11660 L_2B04052E: 11661 ecx = MEM32(0x2B0EE9DC); /* 0x2B04052E: mov ecx, dword ptr [0x2b0ee9dc] */ 11662 PUSH32(esp, ecx); /* 0x2B040534: push ecx */ 11663 PUSH32(esp, 0xFA2u); /* 0x2B040535: push 0xfa2 */ 11664 PUSH32(esp, 0x15Fu); /* 0x2B04053A: push 0x15f */ 11665 edx = ebp + (-0x18); /* 0x2B04053F: lea edx, [ebp - 0x18] */ 11666 PUSH32(esp, edx); /* 0x2B040542: push edx */ 11667 ecx = edi; /* 0x2B040543: mov ecx, edi */ 11668 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B040545: call dword ptr [0x2b0b5948] */ 11669 RECOMP_FLAGS_IN(); 11670 MEM32(edi) = 0x2B0B68F4u; /* 0x2B04054B: mov dword ptr [edi], 0x2b0b68f4 */ 11671 goto L_2B040555; /* 0x2B040551: jmp 0x2b040555 */ 11672 L_2B040553: 11673 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11674 edi = 0; /* 0x2B040553: xor edi, edi */ 11675 _cf = 0; 11676 _flag_k = FK_TEST; 11677 L_2B040555: 11678 MEM32(esi + 0x30) = edi; /* 0x2B040555: mov dword ptr [esi + 0x30], edi */ 11679 PUSH32(esp, 0x38u); /* 0x2B040558: push 0x38 */ 11680 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B04055A: mov byte ptr [ebp - 4], bl */ 11681 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04055D: mov byte ptr [edi + 8], bl */ 11682 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040560: call 0x2b0ab212 */ /* not lifted */ 11683 RECOMP_FLAGS_IN(); 11684 edi = eax; /* 0x2B040565: mov edi, eax */ 11685 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11686 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11687 esp = esp + 4; /* 0x2B040567: add esp, 4 */ 11688 _flag_k = FK_ADD; 11689 MEM32(ebp + (-0x10)) = edi; /* 0x2B04056A: mov dword ptr [ebp - 0x10], edi */ 11690 /* cmp edi, ebx */ /* 0x2B04056D: cmp edi, ebx */ 11691 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11693 _flag_k = FK_CMP; 11694 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B04056F: mov byte ptr [ebp - 4], 5 */ 11695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040599; /* 0x2B040573: je 0x2b040599 */ 11696 L_2B040575: 11697 eax = MEM32(0x2B0EE9DC); /* 0x2B040575: mov eax, dword ptr [0x2b0ee9dc] */ 11698 PUSH32(esp, eax); /* 0x2B04057A: push eax */ 11699 PUSH32(esp, 0xFA2u); /* 0x2B04057B: push 0xfa2 */ 11700 PUSH32(esp, 0x15Fu); /* 0x2B040580: push 0x15f */ 11701 ecx = ebp + (-0x18); /* 0x2B040585: lea ecx, [ebp - 0x18] */ 11702 PUSH32(esp, ecx); /* 0x2B040588: push ecx */ 11703 ecx = edi; /* 0x2B040589: mov ecx, edi */ 11704 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B04058B: call dword ptr [0x2b0b5948] */ 11705 RECOMP_FLAGS_IN(); 11706 MEM32(edi) = 0x2B0B68F4u; /* 0x2B040591: mov dword ptr [edi], 0x2b0b68f4 */ 11707 goto L_2B04059B; /* 0x2B040597: jmp 0x2b04059b */ 11708 L_2B040599: 11709 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11710 edi = 0; /* 0x2B040599: xor edi, edi */ 11711 _cf = 0; 11712 _flag_k = FK_TEST; 11713 L_2B04059B: 11714 MEM32(esi + 0x34) = edi; /* 0x2B04059B: mov dword ptr [esi + 0x34], edi */ 11715 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04059E: mov byte ptr [edi + 8], bl */ 11716 edx = MEM32(esi + 0x28); /* 0x2B0405A1: mov edx, dword ptr [esi + 0x28] */ 11717 ecx = MEM32(esi + 0x2C); /* 0x2B0405A4: mov ecx, dword ptr [esi + 0x2c] */ 11718 eax = MEM32(edx + 0x14); /* 0x2B0405A7: mov eax, dword ptr [edx + 0x14] */ 11719 ecx = MEM32(ecx + 0x14); /* 0x2B0405AA: mov ecx, dword ptr [ecx + 0x14] */ 11720 edx = MEM32(ecx + 0x8); /* 0x2B0405AD: mov edx, dword ptr [ecx + 8] */ 11721 eax = MEM32(eax + 0x8); /* 0x2B0405B0: mov eax, dword ptr [eax + 8] */ 11722 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11723 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11724 eax = eax + edx; /* 0x2B0405B3: add eax, edx */ 11725 _flag_k = FK_ADD; 11726 MEM32(esi + 0x74) = eax; /* 0x2B0405B5: mov dword ptr [esi + 0x74], eax */ 11727 MEM32(esi + 0x20) = eax; /* 0x2B0405B8: mov dword ptr [esi + 0x20], eax */ 11728 /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B0405BB: cmp byte ptr [esi + 0x1c], bl */ 11729 _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11731 _flag_k = FK_NARROW(FK_CMP, 24); 11732 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0405BE: mov byte ptr [ebp - 4], bl */ 11733 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0405CB; /* 0x2B0405C1: je 0x2b0405cb */ 11734 L_2B0405C3: 11735 /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B0405C3: cmp byte ptr [esi + 0xc], bl */ 11736 _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11738 _flag_k = FK_NARROW(FK_CMP, 24); 11739 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0405CB; /* 0x2B0405C6: je 0x2b0405cb */ 11740 L_2B0405C8: 11741 MEM32(esi + 0x18) = eax; /* 0x2B0405C8: mov dword ptr [esi + 0x18], eax */ 11742 L_2B0405CB: 11743 ecx = MEM32(esi + 0x4); /* 0x2B0405CB: mov ecx, dword ptr [esi + 4] */ 11744 edx = MEM32(esi + 0x8); /* 0x2B0405CE: mov edx, dword ptr [esi + 8] */ 11745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 11746 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11747 ecx = ecx + 0x18u; /* 0x2B0405D1: add ecx, 0x18 */ 11748 _flag_k = FK_ADD; 11749 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x61u); 11750 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11751 edx = edx + 0x61u; /* 0x2B0405D4: add edx, 0x61 */ 11752 _flag_k = FK_ADD; 11753 PUSH32(esp, 0x38u); /* 0x2B0405D7: push 0x38 */ 11754 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0405D9: mov dword ptr [ebp - 0x18], ecx */ 11755 MEM32(ebp + (-0x14)) = edx; /* 0x2B0405DC: mov dword ptr [ebp - 0x14], edx */ 11756 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0405DF: call 0x2b0ab212 */ /* not lifted */ 11757 RECOMP_FLAGS_IN(); 11758 edi = eax; /* 0x2B0405E4: mov edi, eax */ 11759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11761 esp = esp + 4; /* 0x2B0405E6: add esp, 4 */ 11762 _flag_k = FK_ADD; 11763 MEM32(ebp + (-0x10)) = edi; /* 0x2B0405E9: mov dword ptr [ebp - 0x10], edi */ 11764 /* cmp edi, ebx */ /* 0x2B0405EC: cmp edi, ebx */ 11765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11767 _flag_k = FK_CMP; 11768 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B0405EE: mov byte ptr [ebp - 4], 6 */ 11769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040618; /* 0x2B0405F2: je 0x2b040618 */ 11770 L_2B0405F4: 11771 eax = MEM32(0x2B0EE9DC); /* 0x2B0405F4: mov eax, dword ptr [0x2b0ee9dc] */ 11772 PUSH32(esp, eax); /* 0x2B0405F9: push eax */ 11773 PUSH32(esp, 0xFA4u); /* 0x2B0405FA: push 0xfa4 */ 11774 PUSH32(esp, 0x160u); /* 0x2B0405FF: push 0x160 */ 11775 ecx = ebp + (-0x18); /* 0x2B040604: lea ecx, [ebp - 0x18] */ 11776 PUSH32(esp, ecx); /* 0x2B040607: push ecx */ 11777 ecx = edi; /* 0x2B040608: mov ecx, edi */ 11778 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B04060A: call dword ptr [0x2b0b5948] */ 11779 RECOMP_FLAGS_IN(); 11780 MEM32(edi) = 0x2B0B68F4u; /* 0x2B040610: mov dword ptr [edi], 0x2b0b68f4 */ 11781 goto L_2B04061A; /* 0x2B040616: jmp 0x2b04061a */ 11782 L_2B040618: 11783 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11784 edi = 0; /* 0x2B040618: xor edi, edi */ 11785 _cf = 0; 11786 _flag_k = FK_TEST; 11787 L_2B04061A: 11788 MEM32(esi + 0x40) = edi; /* 0x2B04061A: mov dword ptr [esi + 0x40], edi */ 11789 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04061D: mov byte ptr [edi + 8], bl */ 11790 edx = MEM32(esi + 0x4); /* 0x2B040620: mov edx, dword ptr [esi + 4] */ 11791 eax = MEM32(esi + 0x8); /* 0x2B040623: mov eax, dword ptr [esi + 8] */ 11792 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u); 11793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11794 edx = edx + 0x18u; /* 0x2B040626: add edx, 0x18 */ 11795 _flag_k = FK_ADD; 11796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x76u); 11797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11798 eax = eax + 0x76u; /* 0x2B040629: add eax, 0x76 */ 11799 _flag_k = FK_ADD; 11800 PUSH32(esp, 0x38u); /* 0x2B04062C: push 0x38 */ 11801 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B04062E: mov byte ptr [ebp - 4], bl */ 11802 MEM32(ebp + (-0x18)) = edx; /* 0x2B040631: mov dword ptr [ebp - 0x18], edx */ 11803 MEM32(ebp + (-0x14)) = eax; /* 0x2B040634: mov dword ptr [ebp - 0x14], eax */ 11804 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040637: call 0x2b0ab212 */ /* not lifted */ 11805 RECOMP_FLAGS_IN(); 11806 edi = eax; /* 0x2B04063C: mov edi, eax */ 11807 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11809 esp = esp + 4; /* 0x2B04063E: add esp, 4 */ 11810 _flag_k = FK_ADD; 11811 MEM32(ebp + (-0x10)) = edi; /* 0x2B040641: mov dword ptr [ebp - 0x10], edi */ 11812 /* cmp edi, ebx */ /* 0x2B040644: cmp edi, ebx */ 11813 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11815 _flag_k = FK_CMP; 11816 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B040646: mov byte ptr [ebp - 4], 7 */ 11817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040671; /* 0x2B04064A: je 0x2b040671 */ 11818 L_2B04064C: 11819 ecx = MEM32(0x2B0EE9DC); /* 0x2B04064C: mov ecx, dword ptr [0x2b0ee9dc] */ 11820 PUSH32(esp, ecx); /* 0x2B040652: push ecx */ 11821 PUSH32(esp, 0xFA4u); /* 0x2B040653: push 0xfa4 */ 11822 PUSH32(esp, 0x161u); /* 0x2B040658: push 0x161 */ 11823 edx = ebp + (-0x18); /* 0x2B04065D: lea edx, [ebp - 0x18] */ 11824 PUSH32(esp, edx); /* 0x2B040660: push edx */ 11825 ecx = edi; /* 0x2B040661: mov ecx, edi */ 11826 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B040663: call dword ptr [0x2b0b5948] */ 11827 RECOMP_FLAGS_IN(); 11828 MEM32(edi) = 0x2B0B68F4u; /* 0x2B040669: mov dword ptr [edi], 0x2b0b68f4 */ 11829 goto L_2B040673; /* 0x2B04066F: jmp 0x2b040673 */ 11830 L_2B040671: 11831 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11832 edi = 0; /* 0x2B040671: xor edi, edi */ 11833 _cf = 0; 11834 _flag_k = FK_TEST; 11835 L_2B040673: 11836 MEM32(esi + 0x44) = edi; /* 0x2B040673: mov dword ptr [esi + 0x44], edi */ 11837 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B040676: mov byte ptr [edi + 8], bl */ 11838 eax = MEM32(esi + 0x4); /* 0x2B040679: mov eax, dword ptr [esi + 4] */ 11839 ecx = MEM32(esi + 0x8); /* 0x2B04067C: mov ecx, dword ptr [esi + 8] */ 11840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u); 11841 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11842 eax = eax + 0x18u; /* 0x2B04067F: add eax, 0x18 */ 11843 _flag_k = FK_ADD; 11844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x8Bu); 11845 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11846 ecx = ecx + 0x8Bu; /* 0x2B040682: add ecx, 0x8b */ 11847 _flag_k = FK_ADD; 11848 PUSH32(esp, 0x38u); /* 0x2B040688: push 0x38 */ 11849 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B04068A: mov byte ptr [ebp - 4], bl */ 11850 MEM32(ebp + (-0x18)) = eax; /* 0x2B04068D: mov dword ptr [ebp - 0x18], eax */ 11851 MEM32(ebp + (-0x14)) = ecx; /* 0x2B040690: mov dword ptr [ebp - 0x14], ecx */ 11852 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040693: call 0x2b0ab212 */ /* not lifted */ 11853 RECOMP_FLAGS_IN(); 11854 edi = eax; /* 0x2B040698: mov edi, eax */ 11855 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11857 esp = esp + 4; /* 0x2B04069A: add esp, 4 */ 11858 _flag_k = FK_ADD; 11859 MEM32(ebp + (-0x10)) = edi; /* 0x2B04069D: mov dword ptr [ebp - 0x10], edi */ 11860 /* cmp edi, ebx */ /* 0x2B0406A0: cmp edi, ebx */ 11861 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11863 _flag_k = FK_CMP; 11864 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B0406A2: mov byte ptr [ebp - 4], 8 */ 11865 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0406CD; /* 0x2B0406A6: je 0x2b0406cd */ 11866 L_2B0406A8: 11867 edx = MEM32(0x2B0EE9DC); /* 0x2B0406A8: mov edx, dword ptr [0x2b0ee9dc] */ 11868 PUSH32(esp, edx); /* 0x2B0406AE: push edx */ 11869 PUSH32(esp, 0xFA4u); /* 0x2B0406AF: push 0xfa4 */ 11870 PUSH32(esp, 0x162u); /* 0x2B0406B4: push 0x162 */ 11871 eax = ebp + (-0x18); /* 0x2B0406B9: lea eax, [ebp - 0x18] */ 11872 PUSH32(esp, eax); /* 0x2B0406BC: push eax */ 11873 ecx = edi; /* 0x2B0406BD: mov ecx, edi */ 11874 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B0406BF: call dword ptr [0x2b0b5948] */ 11875 RECOMP_FLAGS_IN(); 11876 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0406C5: mov dword ptr [edi], 0x2b0b68f4 */ 11877 goto L_2B0406CF; /* 0x2B0406CB: jmp 0x2b0406cf */ 11878 L_2B0406CD: 11879 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11880 edi = 0; /* 0x2B0406CD: xor edi, edi */ 11881 _cf = 0; 11882 _flag_k = FK_TEST; 11883 L_2B0406CF: 11884 MEM32(esi + 0x48) = edi; /* 0x2B0406CF: mov dword ptr [esi + 0x48], edi */ 11885 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0406D2: mov byte ptr [edi + 8], bl */ 11886 PUSH32(esp, 0xC0u); /* 0x2B0406D5: push 0xc0 */ 11887 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0406DA: mov byte ptr [ebp - 4], bl */ 11888 MEM32(ebp + (-0x7C)) = 0x163u; /* 0x2B0406DD: mov dword ptr [ebp - 0x7c], 0x163 */ 11889 MEM32(ebp + (-0x78)) = ebx; /* 0x2B0406E4: mov dword ptr [ebp - 0x78], ebx */ 11890 MEM32(ebp + (-0x74)) = ebx; /* 0x2B0406E7: mov dword ptr [ebp - 0x74], ebx */ 11891 MEM32(ebp + (-0x70)) = 0xFA6u; /* 0x2B0406EA: mov dword ptr [ebp - 0x70], 0xfa6 */ 11892 MEM32(ebp + (-0x6C)) = 0x164u; /* 0x2B0406F1: mov dword ptr [ebp - 0x6c], 0x164 */ 11893 MEM32(ebp + (-0x68)) = ebx; /* 0x2B0406F8: mov dword ptr [ebp - 0x68], ebx */ 11894 MEM32(ebp + (-0x64)) = ebx; /* 0x2B0406FB: mov dword ptr [ebp - 0x64], ebx */ 11895 MEM32(ebp + (-0x60)) = 6; /* 0x2B0406FE: mov dword ptr [ebp - 0x60], 6 */ 11896 MEM32(ebp + (-0x5C)) = 0x73u; /* 0x2B040705: mov dword ptr [ebp - 0x5c], 0x73 */ 11897 MEM32(ebp + (-0x58)) = 0xDu; /* 0x2B04070C: mov dword ptr [ebp - 0x58], 0xd */ 11898 MEM32(ebp + (-0x54)) = ebx; /* 0x2B040713: mov dword ptr [ebp - 0x54], ebx */ 11899 MEM32(ebp + (-0x50)) = ebx; /* 0x2B040716: mov dword ptr [ebp - 0x50], ebx */ 11900 MEM32(ebp + (-0x4C)) = 0xC9u; /* 0x2B040719: mov dword ptr [ebp - 0x4c], 0xc9 */ 11901 MEM32(ebp + (-0x48)) = ebx; /* 0x2B040720: mov dword ptr [ebp - 0x48], ebx */ 11902 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040723: call 0x2b0ab212 */ /* not lifted */ 11903 RECOMP_FLAGS_IN(); 11904 edi = eax; /* 0x2B040728: mov edi, eax */ 11905 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11907 esp = esp + 4; /* 0x2B04072A: add esp, 4 */ 11908 _flag_k = FK_ADD; 11909 MEM32(ebp + (-0x10)) = edi; /* 0x2B04072D: mov dword ptr [ebp - 0x10], edi */ 11910 /* cmp edi, ebx */ /* 0x2B040730: cmp edi, ebx */ 11911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11913 _flag_k = FK_CMP; 11914 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B040732: mov byte ptr [ebp - 4], 9 */ 11915 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040755; /* 0x2B040736: je 0x2b040755 */ 11916 L_2B040738: 11917 ecx = MEM32(0x2B0EE9DC); /* 0x2B040738: mov ecx, dword ptr [0x2b0ee9dc] */ 11918 PUSH32(esp, ecx); /* 0x2B04073E: push ecx */ 11919 edx = ebp + (-0x7C); /* 0x2B04073F: lea edx, [ebp - 0x7c] */ 11920 PUSH32(esp, edx); /* 0x2B040742: push edx */ 11921 ecx = edi; /* 0x2B040743: mov ecx, edi */ 11922 RECOMP_ICALL(MEM32(0x2B0B586C)); /* 0x2B040745: call dword ptr [0x2b0b586c] */ 11923 RECOMP_FLAGS_IN(); 11924 MEM32(edi) = 0x2B0B697Cu; /* 0x2B04074B: mov dword ptr [edi], 0x2b0b697c */ 11925 ecx = edi; /* 0x2B040751: mov ecx, edi */ 11926 goto L_2B040757; /* 0x2B040753: jmp 0x2b040757 */ 11927 L_2B040755: 11928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11929 ecx = 0; /* 0x2B040755: xor ecx, ecx */ 11930 _cf = 0; 11931 _flag_k = FK_TEST; 11932 L_2B040757: 11933 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040757: mov byte ptr [ebp - 4], bl */ 11934 MEM32(esi + 0x4C) = ecx; /* 0x2B04075A: mov dword ptr [esi + 0x4c], ecx */ 11935 RECOMP_ICALL(MEM32(0x2B0B5870)); /* 0x2B04075D: call dword ptr [0x2b0b5870] */ 11936 RECOMP_FLAGS_IN(); 11937 ecx = MEM32(esi + 0x4C); /* 0x2B040763: mov ecx, dword ptr [esi + 0x4c] */ 11938 PUSH32(esp, esi); /* 0x2B040766: push esi */ 11939 PUSH32(esp, 0x2B0435E0u); /* 0x2B040767: push 0x2b0435e0 */ 11940 RECOMP_ICALL(MEM32(0x2B0B5BEC)); /* 0x2B04076C: call dword ptr [0x2b0b5bec] */ 11941 RECOMP_FLAGS_IN(); 11942 PUSH32(esp, 0x38u); /* 0x2B040772: push 0x38 */ 11943 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040774: call 0x2b0ab212 */ /* not lifted */ 11944 RECOMP_FLAGS_IN(); 11945 edi = eax; /* 0x2B040779: mov edi, eax */ 11946 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11947 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11948 esp = esp + 4; /* 0x2B04077B: add esp, 4 */ 11949 _flag_k = FK_ADD; 11950 MEM32(ebp + (-0x10)) = edi; /* 0x2B04077E: mov dword ptr [ebp - 0x10], edi */ 11951 /* cmp edi, ebx */ /* 0x2B040781: cmp edi, ebx */ 11952 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11954 _flag_k = FK_CMP; 11955 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B040783: mov byte ptr [ebp - 4], 0xa */ 11956 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0407AD; /* 0x2B040787: je 0x2b0407ad */ 11957 L_2B040789: 11958 eax = MEM32(0x2B0EE9DC); /* 0x2B040789: mov eax, dword ptr [0x2b0ee9dc] */ 11959 PUSH32(esp, eax); /* 0x2B04078E: push eax */ 11960 PUSH32(esp, 0xFA4u); /* 0x2B04078F: push 0xfa4 */ 11961 PUSH32(esp, 0x165u); /* 0x2B040794: push 0x165 */ 11962 ecx = ebp + (-0x18); /* 0x2B040799: lea ecx, [ebp - 0x18] */ 11963 PUSH32(esp, ecx); /* 0x2B04079C: push ecx */ 11964 ecx = edi; /* 0x2B04079D: mov ecx, edi */ 11965 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B04079F: call dword ptr [0x2b0b5948] */ 11966 RECOMP_FLAGS_IN(); 11967 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0407A5: mov dword ptr [edi], 0x2b0b68f4 */ 11968 goto L_2B0407AF; /* 0x2B0407AB: jmp 0x2b0407af */ 11969 L_2B0407AD: 11970 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11971 edi = 0; /* 0x2B0407AD: xor edi, edi */ 11972 _cf = 0; 11973 _flag_k = FK_TEST; 11974 L_2B0407AF: 11975 eax = MEM32(esi + 0x20); /* 0x2B0407AF: mov eax, dword ptr [esi + 0x20] */ 11976 PUSH32(esp, 0x9Cu); /* 0x2B0407B2: push 0x9c */ 11977 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0407B7: mov byte ptr [ebp - 4], bl */ 11978 MEM32(esi + 0xA8) = edi; /* 0x2B0407BA: mov dword ptr [esi + 0xa8], edi */ 11979 MEM32(ebp + (-0x20)) = 0xC0u; /* 0x2B0407C0: mov dword ptr [ebp - 0x20], 0xc0 */ 11980 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0407C7: mov dword ptr [ebp - 0x1c], eax */ 11981 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0407CA: call 0x2b0ab212 */ /* not lifted */ 11982 RECOMP_FLAGS_IN(); 11983 edi = eax; /* 0x2B0407CF: mov edi, eax */ 11984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11986 esp = esp + 4; /* 0x2B0407D1: add esp, 4 */ 11987 _flag_k = FK_ADD; 11988 MEM32(ebp + (-0x10)) = edi; /* 0x2B0407D4: mov dword ptr [ebp - 0x10], edi */ 11989 /* cmp edi, ebx */ /* 0x2B0407D7: cmp edi, ebx */ 11990 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 11991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11992 _flag_k = FK_CMP; 11993 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B0407D9: mov byte ptr [ebp - 4], 0xb */ 11994 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04080C; /* 0x2B0407DD: je 0x2b04080c */ 11995 L_2B0407DF: 11996 edx = MEM32(0x2B0EE9DC); /* 0x2B0407DF: mov edx, dword ptr [0x2b0ee9dc] */ 11997 eax = MEM32(ebp + (-0x1C)); /* 0x2B0407E5: mov eax, dword ptr [ebp - 0x1c] */ 11998 ecx = MEM32(ebp + (-0x20)); /* 0x2B0407E8: mov ecx, dword ptr [ebp - 0x20] */ 11999 PUSH32(esp, edx); /* 0x2B0407EB: push edx */ 12000 PUSH32(esp, ebx); /* 0x2B0407EC: push ebx */ 12001 PUSH32(esp, ebx); /* 0x2B0407ED: push ebx */ 12002 PUSH32(esp, 0xFA4u); /* 0x2B0407EE: push 0xfa4 */ 12003 PUSH32(esp, ebx); /* 0x2B0407F3: push ebx */ 12004 PUSH32(esp, ebx); /* 0x2B0407F4: push ebx */ 12005 PUSH32(esp, ebx); /* 0x2B0407F5: push ebx */ 12006 PUSH32(esp, eax); /* 0x2B0407F6: push eax */ 12007 PUSH32(esp, ecx); /* 0x2B0407F7: push ecx */ 12008 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12009 eax = 0; /* 0x2B0407F8: xor eax, eax */ 12010 _cf = 0; 12011 _flag_k = FK_TEST; 12012 PUSH32(esp, eax); /* 0x2B0407FA: push eax */ 12013 PUSH32(esp, eax); /* 0x2B0407FB: push eax */ 12014 ecx = edi; /* 0x2B0407FC: mov ecx, edi */ 12015 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0407FE: call dword ptr [0x2b0b5af0] */ 12016 RECOMP_FLAGS_IN(); 12017 MEM32(edi) = 0x2B0B642Cu; /* 0x2B040804: mov dword ptr [edi], 0x2b0b642c */ 12018 goto L_2B04080E; /* 0x2B04080A: jmp 0x2b04080e */ 12019 L_2B04080C: 12020 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12021 edi = 0; /* 0x2B04080C: xor edi, edi */ 12022 _cf = 0; 12023 _flag_k = FK_TEST; 12024 L_2B04080E: 12025 PUSH32(esp, 0x2B0E7318u); /* 0x2B04080E: push 0x2b0e7318 */ 12026 ecx = edi; /* 0x2B040813: mov ecx, edi */ 12027 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040815: mov byte ptr [ebp - 4], bl */ 12028 MEM32(esi + 0xB8) = edi; /* 0x2B040818: mov dword ptr [esi + 0xb8], edi */ 12029 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B04081E: call dword ptr [0x2b0b5c04] */ 12030 RECOMP_FLAGS_IN(); 12031 eax = MEM32(esi + 0x44); /* 0x2B040824: mov eax, dword ptr [esi + 0x44] */ 12032 ecx = MEM32(eax + 0x14); /* 0x2B040827: mov ecx, dword ptr [eax + 0x14] */ 12033 edx = MEM32(ecx + 0x8); /* 0x2B04082A: mov edx, dword ptr [ecx + 8] */ 12034 MEM32(ebp + (-0x1C)) = edx; /* 0x2B04082D: mov dword ptr [ebp - 0x1c], edx */ 12035 eax = MEM32(eax + 0x14); /* 0x2B040830: mov eax, dword ptr [eax + 0x14] */ 12036 eax = MEM32(eax + 0xC); /* 0x2B040833: mov eax, dword ptr [eax + 0xc] */ 12037 PUSH32(esp, 0x9Cu); /* 0x2B040836: push 0x9c */ 12038 MEM32(ebp + (-0x20)) = eax; /* 0x2B04083B: mov dword ptr [ebp - 0x20], eax */ 12039 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04083E: call 0x2b0ab212 */ /* not lifted */ 12040 RECOMP_FLAGS_IN(); 12041 edi = eax; /* 0x2B040843: mov edi, eax */ 12042 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12043 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12044 esp = esp + 4; /* 0x2B040845: add esp, 4 */ 12045 _flag_k = FK_ADD; 12046 MEM32(ebp + (-0x10)) = edi; /* 0x2B040848: mov dword ptr [ebp - 0x10], edi */ 12047 /* cmp edi, ebx */ /* 0x2B04084B: cmp edi, ebx */ 12048 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 12049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12050 _flag_k = FK_CMP; 12051 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B04084D: mov byte ptr [ebp - 4], 0xc */ 12052 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040880; /* 0x2B040851: je 0x2b040880 */ 12053 L_2B040853: 12054 ecx = MEM32(0x2B0EE9DC); /* 0x2B040853: mov ecx, dword ptr [0x2b0ee9dc] */ 12055 edx = MEM32(ebp + (-0x1C)); /* 0x2B040859: mov edx, dword ptr [ebp - 0x1c] */ 12056 eax = MEM32(ebp + (-0x20)); /* 0x2B04085C: mov eax, dword ptr [ebp - 0x20] */ 12057 PUSH32(esp, ecx); /* 0x2B04085F: push ecx */ 12058 PUSH32(esp, ebx); /* 0x2B040860: push ebx */ 12059 PUSH32(esp, ebx); /* 0x2B040861: push ebx */ 12060 PUSH32(esp, 0xFA4u); /* 0x2B040862: push 0xfa4 */ 12061 PUSH32(esp, ebx); /* 0x2B040867: push ebx */ 12062 PUSH32(esp, ebx); /* 0x2B040868: push ebx */ 12063 PUSH32(esp, ebx); /* 0x2B040869: push ebx */ 12064 PUSH32(esp, edx); /* 0x2B04086A: push edx */ 12065 PUSH32(esp, eax); /* 0x2B04086B: push eax */ 12066 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12067 eax = 0; /* 0x2B04086C: xor eax, eax */ 12068 _cf = 0; 12069 _flag_k = FK_TEST; 12070 PUSH32(esp, eax); /* 0x2B04086E: push eax */ 12071 PUSH32(esp, eax); /* 0x2B04086F: push eax */ 12072 ecx = edi; /* 0x2B040870: mov ecx, edi */ 12073 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B040872: call dword ptr [0x2b0b5af0] */ 12074 RECOMP_FLAGS_IN(); 12075 MEM32(edi) = 0x2B0B642Cu; /* 0x2B040878: mov dword ptr [edi], 0x2b0b642c */ 12076 goto L_2B040882; /* 0x2B04087E: jmp 0x2b040882 */ 12077 L_2B040880: 12078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12079 edi = 0; /* 0x2B040880: xor edi, edi */ 12080 _cf = 0; 12081 _flag_k = FK_TEST; 12082 L_2B040882: 12083 PUSH32(esp, 0x2B0E7318u); /* 0x2B040882: push 0x2b0e7318 */ 12084 ecx = edi; /* 0x2B040887: mov ecx, edi */ 12085 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040889: mov byte ptr [ebp - 4], bl */ 12086 MEM32(esi + 0xAC) = edi; /* 0x2B04088C: mov dword ptr [esi + 0xac], edi */ 12087 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B040892: call dword ptr [0x2b0b5c04] */ 12088 RECOMP_FLAGS_IN(); 12089 eax = MEM32(esi + 0xAC); /* 0x2B040898: mov eax, dword ptr [esi + 0xac] */ 12090 PUSH32(esp, 1); /* 0x2B04089E: push 1 */ 12091 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B0408A0: mov dword ptr [eax + 0x10], 0x2b043080 */ 12092 MEM32(eax + 0x14) = eax; /* 0x2B0408A7: mov dword ptr [eax + 0x14], eax */ 12093 ecx = MEM32(esi + 0xAC); /* 0x2B0408AA: mov ecx, dword ptr [esi + 0xac] */ 12094 PUSH32(esp, 0x2B0436E0u); /* 0x2B0408B0: push 0x2b0436e0 */ 12095 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B0408B5: call dword ptr [0x2b0b5b44] */ 12096 RECOMP_FLAGS_IN(); 12097 eax = MEM32(esi + 0xAC); /* 0x2B0408BB: mov eax, dword ptr [esi + 0xac] */ 12098 PUSH32(esp, 0x9Cu); /* 0x2B0408C1: push 0x9c */ 12099 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0408C6: mov byte ptr [eax + 8], bl */ 12100 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0408C9: call 0x2b0ab212 */ /* not lifted */ 12101 RECOMP_FLAGS_IN(); 12102 edi = eax; /* 0x2B0408CE: mov edi, eax */ 12103 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12104 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12105 esp = esp + 4; /* 0x2B0408D0: add esp, 4 */ 12106 _flag_k = FK_ADD; 12107 MEM32(ebp + (-0x10)) = edi; /* 0x2B0408D3: mov dword ptr [ebp - 0x10], edi */ 12108 /* cmp edi, ebx */ /* 0x2B0408D6: cmp edi, ebx */ 12109 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 12110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12111 _flag_k = FK_CMP; 12112 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B0408D8: mov byte ptr [ebp - 4], 0xd */ 12113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04090B; /* 0x2B0408DC: je 0x2b04090b */ 12114 L_2B0408DE: 12115 ecx = MEM32(0x2B0EE9DC); /* 0x2B0408DE: mov ecx, dword ptr [0x2b0ee9dc] */ 12116 edx = MEM32(ebp + (-0x1C)); /* 0x2B0408E4: mov edx, dword ptr [ebp - 0x1c] */ 12117 eax = MEM32(ebp + (-0x20)); /* 0x2B0408E7: mov eax, dword ptr [ebp - 0x20] */ 12118 PUSH32(esp, ecx); /* 0x2B0408EA: push ecx */ 12119 PUSH32(esp, ebx); /* 0x2B0408EB: push ebx */ 12120 PUSH32(esp, ebx); /* 0x2B0408EC: push ebx */ 12121 PUSH32(esp, 0xFA4u); /* 0x2B0408ED: push 0xfa4 */ 12122 PUSH32(esp, ebx); /* 0x2B0408F2: push ebx */ 12123 PUSH32(esp, ebx); /* 0x2B0408F3: push ebx */ 12124 PUSH32(esp, ebx); /* 0x2B0408F4: push ebx */ 12125 PUSH32(esp, edx); /* 0x2B0408F5: push edx */ 12126 PUSH32(esp, eax); /* 0x2B0408F6: push eax */ 12127 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12128 eax = 0; /* 0x2B0408F7: xor eax, eax */ 12129 _cf = 0; 12130 _flag_k = FK_TEST; 12131 PUSH32(esp, eax); /* 0x2B0408F9: push eax */ 12132 PUSH32(esp, eax); /* 0x2B0408FA: push eax */ 12133 ecx = edi; /* 0x2B0408FB: mov ecx, edi */ 12134 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0408FD: call dword ptr [0x2b0b5af0] */ 12135 RECOMP_FLAGS_IN(); 12136 MEM32(edi) = 0x2B0B642Cu; /* 0x2B040903: mov dword ptr [edi], 0x2b0b642c */ 12137 goto L_2B04090D; /* 0x2B040909: jmp 0x2b04090d */ 12138 L_2B04090B: 12139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12140 edi = 0; /* 0x2B04090B: xor edi, edi */ 12141 _cf = 0; 12142 _flag_k = FK_TEST; 12143 L_2B04090D: 12144 PUSH32(esp, 0x2B0E7318u); /* 0x2B04090D: push 0x2b0e7318 */ 12145 ecx = edi; /* 0x2B040912: mov ecx, edi */ 12146 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040914: mov byte ptr [ebp - 4], bl */ 12147 MEM32(esi + 0xB0) = edi; /* 0x2B040917: mov dword ptr [esi + 0xb0], edi */ 12148 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B04091D: call dword ptr [0x2b0b5c04] */ 12149 RECOMP_FLAGS_IN(); 12150 eax = MEM32(esi + 0xB0); /* 0x2B040923: mov eax, dword ptr [esi + 0xb0] */ 12151 PUSH32(esp, 1); /* 0x2B040929: push 1 */ 12152 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B04092B: mov dword ptr [eax + 0x10], 0x2b043080 */ 12153 MEM32(eax + 0x14) = eax; /* 0x2B040932: mov dword ptr [eax + 0x14], eax */ 12154 ecx = MEM32(esi + 0xB0); /* 0x2B040935: mov ecx, dword ptr [esi + 0xb0] */ 12155 PUSH32(esp, 0x2B0436E0u); /* 0x2B04093B: push 0x2b0436e0 */ 12156 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B040940: call dword ptr [0x2b0b5b44] */ 12157 RECOMP_FLAGS_IN(); 12158 eax = MEM32(esi + 0xB0); /* 0x2B040946: mov eax, dword ptr [esi + 0xb0] */ 12159 PUSH32(esp, 0x9Cu); /* 0x2B04094C: push 0x9c */ 12160 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B040951: mov byte ptr [eax + 8], bl */ 12161 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040954: call 0x2b0ab212 */ /* not lifted */ 12162 RECOMP_FLAGS_IN(); 12163 edi = eax; /* 0x2B040959: mov edi, eax */ 12164 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12165 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12166 esp = esp + 4; /* 0x2B04095B: add esp, 4 */ 12167 _flag_k = FK_ADD; 12168 MEM32(ebp + (-0x10)) = edi; /* 0x2B04095E: mov dword ptr [ebp - 0x10], edi */ 12169 /* cmp edi, ebx */ /* 0x2B040961: cmp edi, ebx */ 12170 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 12171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12172 _flag_k = FK_CMP; 12173 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B040963: mov byte ptr [ebp - 4], 0xe */ 12174 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040998; /* 0x2B040967: je 0x2b040998 */ 12175 L_2B040969: 12176 ecx = MEM32(0x2B0EE9DC); /* 0x2B040969: mov ecx, dword ptr [0x2b0ee9dc] */ 12177 edx = MEM32(ebp + (-0x1C)); /* 0x2B04096F: mov edx, dword ptr [ebp - 0x1c] */ 12178 eax = MEM32(ebp + (-0x20)); /* 0x2B040972: mov eax, dword ptr [ebp - 0x20] */ 12179 PUSH32(esp, ecx); /* 0x2B040975: push ecx */ 12180 PUSH32(esp, ebx); /* 0x2B040976: push ebx */ 12181 PUSH32(esp, ebx); /* 0x2B040977: push ebx */ 12182 PUSH32(esp, 0xFA4u); /* 0x2B040978: push 0xfa4 */ 12183 PUSH32(esp, ebx); /* 0x2B04097D: push ebx */ 12184 PUSH32(esp, ebx); /* 0x2B04097E: push ebx */ 12185 PUSH32(esp, ebx); /* 0x2B04097F: push ebx */ 12186 PUSH32(esp, edx); /* 0x2B040980: push edx */ 12187 PUSH32(esp, eax); /* 0x2B040981: push eax */ 12188 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12189 eax = 0; /* 0x2B040982: xor eax, eax */ 12190 _cf = 0; 12191 _flag_k = FK_TEST; 12192 PUSH32(esp, eax); /* 0x2B040984: push eax */ 12193 PUSH32(esp, eax); /* 0x2B040985: push eax */ 12194 ecx = edi; /* 0x2B040986: mov ecx, edi */ 12195 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B040988: call dword ptr [0x2b0b5af0] */ 12196 RECOMP_FLAGS_IN(); 12197 MEM32(edi) = 0x2B0B642Cu; /* 0x2B04098E: mov dword ptr [edi], 0x2b0b642c */ 12198 ecx = edi; /* 0x2B040994: mov ecx, edi */ 12199 goto L_2B04099A; /* 0x2B040996: jmp 0x2b04099a */ 12200 L_2B040998: 12201 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12202 ecx = 0; /* 0x2B040998: xor ecx, ecx */ 12203 _cf = 0; 12204 _flag_k = FK_TEST; 12205 L_2B04099A: 12206 PUSH32(esp, 0x2B0E7318u); /* 0x2B04099A: push 0x2b0e7318 */ 12207 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B04099F: mov byte ptr [ebp - 4], bl */ 12208 MEM32(esi + 0xB4) = ecx; /* 0x2B0409A2: mov dword ptr [esi + 0xb4], ecx */ 12209 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B0409A8: call dword ptr [0x2b0b5c04] */ 12210 RECOMP_FLAGS_IN(); 12211 eax = MEM32(esi + 0xB4); /* 0x2B0409AE: mov eax, dword ptr [esi + 0xb4] */ 12212 PUSH32(esp, 1); /* 0x2B0409B4: push 1 */ 12213 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B0409B6: mov dword ptr [eax + 0x10], 0x2b043080 */ 12214 MEM32(eax + 0x14) = eax; /* 0x2B0409BD: mov dword ptr [eax + 0x14], eax */ 12215 ecx = MEM32(esi + 0xB4); /* 0x2B0409C0: mov ecx, dword ptr [esi + 0xb4] */ 12216 PUSH32(esp, 0x2B0436E0u); /* 0x2B0409C6: push 0x2b0436e0 */ 12217 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B0409CB: call dword ptr [0x2b0b5b44] */ 12218 RECOMP_FLAGS_IN(); 12219 eax = MEM32(esi + 0xB4); /* 0x2B0409D1: mov eax, dword ptr [esi + 0xb4] */ 12220 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0409D7: mov byte ptr [eax + 8], bl */ 12221 MEM32(ebp + (-0x2C)) = 0xDu; /* 0x2B0409DA: mov dword ptr [ebp - 0x2c], 0xd */ 12222 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0409E1: call dword ptr [0x2b0b5b64] */ 12223 RECOMP_FLAGS_IN(); 12224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 12225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12226 eax = eax + 0xD4u; /* 0x2B0409E7: add eax, 0xd4 */ 12227 _flag_k = FK_ADD; 12228 ecx = ebp + (-0x18); /* 0x2B0409EC: lea ecx, [ebp - 0x18] */ 12229 /* cmp ecx, eax */ /* 0x2B0409EF: cmp ecx, eax */ 12230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12232 _flag_k = FK_CMP; 12233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0409FA; /* 0x2B0409F1: je 0x2b0409fa */ 12234 L_2B0409F3: 12235 ecx = MEM32(eax); /* 0x2B0409F3: mov ecx, dword ptr [eax] */ 12236 eax = MEM32(eax + 0x4); /* 0x2B0409F5: mov eax, dword ptr [eax + 4] */ 12237 goto L_2B040A00; /* 0x2B0409F8: jmp 0x2b040a00 */ 12238 L_2B0409FA: 12239 eax = MEM32(ebp + (-0x14)); /* 0x2B0409FA: mov eax, dword ptr [ebp - 0x14] */ 12240 ecx = MEM32(ebp + (-0x18)); /* 0x2B0409FD: mov ecx, dword ptr [ebp - 0x18] */ 12241 L_2B040A00: 12242 edx = ebp + (-0x44); /* 0x2B040A00: lea edx, [ebp - 0x44] */ 12243 PUSH32(esp, edx); /* 0x2B040A03: push edx */ 12244 MEM32(ebp + (-0x44)) = ecx; /* 0x2B040A04: mov dword ptr [ebp - 0x44], ecx */ 12245 MEM32(ebp + (-0x40)) = eax; /* 0x2B040A07: mov dword ptr [ebp - 0x40], eax */ 12246 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B040A0A: call dword ptr [0x2b0b5d6c] */ 12247 RECOMP_FLAGS_IN(); 12248 ecx = eax; /* 0x2B040A10: mov ecx, eax */ 12249 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B040A12: call dword ptr [0x2b0b5d50] */ 12250 RECOMP_FLAGS_IN(); 12251 PUSH32(esp, 0x50u); /* 0x2B040A18: push 0x50 */ 12252 MEM32(ebp + (-0x24)) = eax; /* 0x2B040A1A: mov dword ptr [ebp - 0x24], eax */ 12253 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040A1D: call 0x2b0ab212 */ /* not lifted */ 12254 RECOMP_FLAGS_IN(); 12255 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12257 esp = esp + 4; /* 0x2B040A22: add esp, 4 */ 12258 _flag_k = FK_ADD; 12259 MEM32(ebp + (-0x10)) = eax; /* 0x2B040A25: mov dword ptr [ebp - 0x10], eax */ 12260 /* cmp eax, ebx */ /* 0x2B040A28: cmp eax, ebx */ 12261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12263 _flag_k = FK_CMP; 12264 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B040A2A: mov byte ptr [ebp - 4], 0xf */ 12265 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040A5E; /* 0x2B040A2E: je 0x2b040a5e */ 12266 L_2B040A30: 12267 ecx = MEM32(0x2B0EE9DC); /* 0x2B040A30: mov ecx, dword ptr [0x2b0ee9dc] */ 12268 edx = MEM32(ebp + (-0x24)); /* 0x2B040A36: mov edx, dword ptr [ebp - 0x24] */ 12269 PUSH32(esp, ecx); /* 0x2B040A39: push ecx */ 12270 PUSH32(esp, 0x800u); /* 0x2B040A3A: push 0x800 */ 12271 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12272 ecx = 0; /* 0x2B040A3F: xor ecx, ecx */ 12273 _cf = 0; 12274 _flag_k = FK_TEST; 12275 PUSH32(esp, ecx); /* 0x2B040A41: push ecx */ 12276 PUSH32(esp, ecx); /* 0x2B040A42: push ecx */ 12277 PUSH32(esp, 0xFB2u); /* 0x2B040A43: push 0xfb2 */ 12278 PUSH32(esp, edx); /* 0x2B040A48: push edx */ 12279 PUSH32(esp, 2); /* 0x2B040A49: push 2 */ 12280 ecx = eax; /* 0x2B040A4B: mov ecx, eax */ 12281 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040A4D: call dword ptr [0x2b0b5950] */ 12282 RECOMP_FLAGS_IN(); 12283 eax = MEM32(ebp + (-0x10)); /* 0x2B040A53: mov eax, dword ptr [ebp - 0x10] */ 12284 MEM32(eax) = 0x2B0B6878u; /* 0x2B040A56: mov dword ptr [eax], 0x2b0b6878 */ 12285 goto L_2B040A60; /* 0x2B040A5C: jmp 0x2b040a60 */ 12286 L_2B040A5E: 12287 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12288 eax = 0; /* 0x2B040A5E: xor eax, eax */ 12289 _cf = 0; 12290 _flag_k = FK_TEST; 12291 L_2B040A60: 12292 MEM32(esi + 0x50) = eax; /* 0x2B040A60: mov dword ptr [esi + 0x50], eax */ 12293 eax = MEM32(eax + 0x34); /* 0x2B040A63: mov eax, dword ptr [eax + 0x34] */ 12294 MEM32(eax) = ebx; /* 0x2B040A66: mov dword ptr [eax], ebx */ 12295 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12296 ecx = 0; /* 0x2B040A68: xor ecx, ecx */ 12297 _cf = 0; 12298 _flag_k = FK_TEST; 12299 MEM32(eax + 0x4) = ecx; /* 0x2B040A6A: mov dword ptr [eax + 4], ecx */ 12300 ecx = 0xB8u; /* 0x2B040A6D: mov ecx, 0xb8 */ 12301 MEM32(eax + 0x8) = ecx; /* 0x2B040A72: mov dword ptr [eax + 8], ecx */ 12302 ecx = MEM32(ebp + (-0x2C)); /* 0x2B040A75: mov ecx, dword ptr [ebp - 0x2c] */ 12303 MEM32(eax + 0xC) = ecx; /* 0x2B040A78: mov dword ptr [eax + 0xc], ecx */ 12304 edx = MEM32(esi + 0x50); /* 0x2B040A7B: mov edx, dword ptr [esi + 0x50] */ 12305 eax = MEM32(edx + 0x34); /* 0x2B040A7E: mov eax, dword ptr [edx + 0x34] */ 12306 PUSH32(esp, 0x50u); /* 0x2B040A81: push 0x50 */ 12307 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040A83: mov byte ptr [ebp - 4], bl */ 12308 MEM32(eax + 0x30) = 0x002E394Du; /* 0x2B040A86: mov dword ptr [eax + 0x30], 0x2e394d */ 12309 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040A8D: call 0x2b0ab212 */ /* not lifted */ 12310 RECOMP_FLAGS_IN(); 12311 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12313 esp = esp + 4; /* 0x2B040A92: add esp, 4 */ 12314 _flag_k = FK_ADD; 12315 MEM32(ebp + (-0x10)) = eax; /* 0x2B040A95: mov dword ptr [ebp - 0x10], eax */ 12316 /* cmp eax, ebx */ /* 0x2B040A98: cmp eax, ebx */ 12317 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12319 _flag_k = FK_CMP; 12320 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B040A9A: mov byte ptr [ebp - 4], 0x10 */ 12321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040ACF; /* 0x2B040A9E: je 0x2b040acf */ 12322 L_2B040AA0: 12323 ecx = MEM32(0x2B0EE9DC); /* 0x2B040AA0: mov ecx, dword ptr [0x2b0ee9dc] */ 12324 PUSH32(esp, ecx); /* 0x2B040AA6: push ecx */ 12325 PUSH32(esp, 0x800u); /* 0x2B040AA7: push 0x800 */ 12326 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12327 ecx = 0; /* 0x2B040AAC: xor ecx, ecx */ 12328 _cf = 0; 12329 _flag_k = FK_TEST; 12330 PUSH32(esp, ecx); /* 0x2B040AAE: push ecx */ 12331 PUSH32(esp, ecx); /* 0x2B040AAF: push ecx */ 12332 PUSH32(esp, 0xFB2u); /* 0x2B040AB0: push 0xfb2 */ 12333 PUSH32(esp, 0x2B0E7314u); /* 0x2B040AB5: push 0x2b0e7314 */ 12334 PUSH32(esp, 1); /* 0x2B040ABA: push 1 */ 12335 ecx = eax; /* 0x2B040ABC: mov ecx, eax */ 12336 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040ABE: call dword ptr [0x2b0b5950] */ 12337 RECOMP_FLAGS_IN(); 12338 eax = MEM32(ebp + (-0x10)); /* 0x2B040AC4: mov eax, dword ptr [ebp - 0x10] */ 12339 MEM32(eax) = 0x2B0B6878u; /* 0x2B040AC7: mov dword ptr [eax], 0x2b0b6878 */ 12340 goto L_2B040AD1; /* 0x2B040ACD: jmp 0x2b040ad1 */ 12341 L_2B040ACF: 12342 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12343 eax = 0; /* 0x2B040ACF: xor eax, eax */ 12344 _cf = 0; 12345 _flag_k = FK_TEST; 12346 L_2B040AD1: 12347 MEM32(esi + 0x54) = eax; /* 0x2B040AD1: mov dword ptr [esi + 0x54], eax */ 12348 eax = MEM32(eax + 0x34); /* 0x2B040AD4: mov eax, dword ptr [eax + 0x34] */ 12349 MEM32(eax) = ebx; /* 0x2B040AD7: mov dword ptr [eax], ebx */ 12350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12351 ecx = 0; /* 0x2B040AD9: xor ecx, ecx */ 12352 _cf = 0; 12353 _flag_k = FK_TEST; 12354 MEM32(eax + 0x4) = ecx; /* 0x2B040ADB: mov dword ptr [eax + 4], ecx */ 12355 ecx = 0x32u; /* 0x2B040ADE: mov ecx, 0x32 */ 12356 MEM32(eax + 0x8) = ecx; /* 0x2B040AE3: mov dword ptr [eax + 8], ecx */ 12357 ecx = 0xAu; /* 0x2B040AE6: mov ecx, 0xa */ 12358 MEM32(eax + 0xC) = ecx; /* 0x2B040AEB: mov dword ptr [eax + 0xc], ecx */ 12359 edx = MEM32(esi + 0x54); /* 0x2B040AEE: mov edx, dword ptr [esi + 0x54] */ 12360 eax = MEM32(edx + 0x34); /* 0x2B040AF1: mov eax, dword ptr [edx + 0x34] */ 12361 PUSH32(esp, 0x50u); /* 0x2B040AF4: push 0x50 */ 12362 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040AF6: mov byte ptr [ebp - 4], bl */ 12363 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040AF9: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12364 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040B00: call 0x2b0ab212 */ /* not lifted */ 12365 RECOMP_FLAGS_IN(); 12366 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12368 esp = esp + 4; /* 0x2B040B05: add esp, 4 */ 12369 _flag_k = FK_ADD; 12370 MEM32(ebp + (-0x10)) = eax; /* 0x2B040B08: mov dword ptr [ebp - 0x10], eax */ 12371 /* cmp eax, ebx */ /* 0x2B040B0B: cmp eax, ebx */ 12372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12374 _flag_k = FK_CMP; 12375 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B040B0D: mov byte ptr [ebp - 4], 0x11 */ 12376 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040B42; /* 0x2B040B11: je 0x2b040b42 */ 12377 L_2B040B13: 12378 ecx = MEM32(0x2B0EE9DC); /* 0x2B040B13: mov ecx, dword ptr [0x2b0ee9dc] */ 12379 PUSH32(esp, ecx); /* 0x2B040B19: push ecx */ 12380 PUSH32(esp, 0x800u); /* 0x2B040B1A: push 0x800 */ 12381 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12382 ecx = 0; /* 0x2B040B1F: xor ecx, ecx */ 12383 _cf = 0; 12384 _flag_k = FK_TEST; 12385 PUSH32(esp, ecx); /* 0x2B040B21: push ecx */ 12386 PUSH32(esp, ecx); /* 0x2B040B22: push ecx */ 12387 PUSH32(esp, 0xFB2u); /* 0x2B040B23: push 0xfb2 */ 12388 PUSH32(esp, 0x2B0E7310u); /* 0x2B040B28: push 0x2b0e7310 */ 12389 PUSH32(esp, 1); /* 0x2B040B2D: push 1 */ 12390 ecx = eax; /* 0x2B040B2F: mov ecx, eax */ 12391 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040B31: call dword ptr [0x2b0b5950] */ 12392 RECOMP_FLAGS_IN(); 12393 eax = MEM32(ebp + (-0x10)); /* 0x2B040B37: mov eax, dword ptr [ebp - 0x10] */ 12394 MEM32(eax) = 0x2B0B6878u; /* 0x2B040B3A: mov dword ptr [eax], 0x2b0b6878 */ 12395 goto L_2B040B44; /* 0x2B040B40: jmp 0x2b040b44 */ 12396 L_2B040B42: 12397 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12398 eax = 0; /* 0x2B040B42: xor eax, eax */ 12399 _cf = 0; 12400 _flag_k = FK_TEST; 12401 L_2B040B44: 12402 MEM32(esi + 0x58) = eax; /* 0x2B040B44: mov dword ptr [esi + 0x58], eax */ 12403 eax = MEM32(eax + 0x34); /* 0x2B040B47: mov eax, dword ptr [eax + 0x34] */ 12404 MEM32(eax) = ebx; /* 0x2B040B4A: mov dword ptr [eax], ebx */ 12405 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12406 ecx = 0; /* 0x2B040B4C: xor ecx, ecx */ 12407 _cf = 0; 12408 _flag_k = FK_TEST; 12409 MEM32(eax + 0x4) = ecx; /* 0x2B040B4E: mov dword ptr [eax + 4], ecx */ 12410 ecx = 0x32u; /* 0x2B040B51: mov ecx, 0x32 */ 12411 MEM32(eax + 0x8) = ecx; /* 0x2B040B56: mov dword ptr [eax + 8], ecx */ 12412 ecx = 0xAu; /* 0x2B040B59: mov ecx, 0xa */ 12413 MEM32(eax + 0xC) = ecx; /* 0x2B040B5E: mov dword ptr [eax + 0xc], ecx */ 12414 edx = MEM32(esi + 0x58); /* 0x2B040B61: mov edx, dword ptr [esi + 0x58] */ 12415 eax = MEM32(edx + 0x34); /* 0x2B040B64: mov eax, dword ptr [edx + 0x34] */ 12416 PUSH32(esp, 0x50u); /* 0x2B040B67: push 0x50 */ 12417 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040B69: mov byte ptr [ebp - 4], bl */ 12418 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040B6C: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12419 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040B73: call 0x2b0ab212 */ /* not lifted */ 12420 RECOMP_FLAGS_IN(); 12421 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12423 esp = esp + 4; /* 0x2B040B78: add esp, 4 */ 12424 _flag_k = FK_ADD; 12425 MEM32(ebp + (-0x10)) = eax; /* 0x2B040B7B: mov dword ptr [ebp - 0x10], eax */ 12426 /* cmp eax, ebx */ /* 0x2B040B7E: cmp eax, ebx */ 12427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12429 _flag_k = FK_CMP; 12430 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B040B80: mov byte ptr [ebp - 4], 0x12 */ 12431 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040BB5; /* 0x2B040B84: je 0x2b040bb5 */ 12432 L_2B040B86: 12433 ecx = MEM32(0x2B0EE9DC); /* 0x2B040B86: mov ecx, dword ptr [0x2b0ee9dc] */ 12434 PUSH32(esp, ecx); /* 0x2B040B8C: push ecx */ 12435 PUSH32(esp, 0x800u); /* 0x2B040B8D: push 0x800 */ 12436 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12437 ecx = 0; /* 0x2B040B92: xor ecx, ecx */ 12438 _cf = 0; 12439 _flag_k = FK_TEST; 12440 PUSH32(esp, ecx); /* 0x2B040B94: push ecx */ 12441 PUSH32(esp, ecx); /* 0x2B040B95: push ecx */ 12442 PUSH32(esp, 0xFB2u); /* 0x2B040B96: push 0xfb2 */ 12443 PUSH32(esp, 0x2B0E7314u); /* 0x2B040B9B: push 0x2b0e7314 */ 12444 PUSH32(esp, 1); /* 0x2B040BA0: push 1 */ 12445 ecx = eax; /* 0x2B040BA2: mov ecx, eax */ 12446 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040BA4: call dword ptr [0x2b0b5950] */ 12447 RECOMP_FLAGS_IN(); 12448 eax = MEM32(ebp + (-0x10)); /* 0x2B040BAA: mov eax, dword ptr [ebp - 0x10] */ 12449 MEM32(eax) = 0x2B0B6878u; /* 0x2B040BAD: mov dword ptr [eax], 0x2b0b6878 */ 12450 goto L_2B040BB7; /* 0x2B040BB3: jmp 0x2b040bb7 */ 12451 L_2B040BB5: 12452 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12453 eax = 0; /* 0x2B040BB5: xor eax, eax */ 12454 _cf = 0; 12455 _flag_k = FK_TEST; 12456 L_2B040BB7: 12457 MEM32(esi + 0x5C) = eax; /* 0x2B040BB7: mov dword ptr [esi + 0x5c], eax */ 12458 eax = MEM32(eax + 0x34); /* 0x2B040BBA: mov eax, dword ptr [eax + 0x34] */ 12459 MEM32(eax) = ebx; /* 0x2B040BBD: mov dword ptr [eax], ebx */ 12460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12461 ecx = 0; /* 0x2B040BBF: xor ecx, ecx */ 12462 _cf = 0; 12463 _flag_k = FK_TEST; 12464 MEM32(eax + 0x4) = ecx; /* 0x2B040BC1: mov dword ptr [eax + 4], ecx */ 12465 ecx = 0x1Eu; /* 0x2B040BC4: mov ecx, 0x1e */ 12466 MEM32(eax + 0x8) = ecx; /* 0x2B040BC9: mov dword ptr [eax + 8], ecx */ 12467 ecx = 0xAu; /* 0x2B040BCC: mov ecx, 0xa */ 12468 MEM32(eax + 0xC) = ecx; /* 0x2B040BD1: mov dword ptr [eax + 0xc], ecx */ 12469 edx = MEM32(esi + 0x5C); /* 0x2B040BD4: mov edx, dword ptr [esi + 0x5c] */ 12470 eax = MEM32(edx + 0x34); /* 0x2B040BD7: mov eax, dword ptr [edx + 0x34] */ 12471 PUSH32(esp, 0x50u); /* 0x2B040BDA: push 0x50 */ 12472 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040BDC: mov byte ptr [ebp - 4], bl */ 12473 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040BDF: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12474 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040BE6: call 0x2b0ab212 */ /* not lifted */ 12475 RECOMP_FLAGS_IN(); 12476 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12478 esp = esp + 4; /* 0x2B040BEB: add esp, 4 */ 12479 _flag_k = FK_ADD; 12480 MEM32(ebp + (-0x10)) = eax; /* 0x2B040BEE: mov dword ptr [ebp - 0x10], eax */ 12481 /* cmp eax, ebx */ /* 0x2B040BF1: cmp eax, ebx */ 12482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12484 _flag_k = FK_CMP; 12485 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B040BF3: mov byte ptr [ebp - 4], 0x13 */ 12486 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040C28; /* 0x2B040BF7: je 0x2b040c28 */ 12487 L_2B040BF9: 12488 ecx = MEM32(0x2B0EE9DC); /* 0x2B040BF9: mov ecx, dword ptr [0x2b0ee9dc] */ 12489 PUSH32(esp, ecx); /* 0x2B040BFF: push ecx */ 12490 PUSH32(esp, 0x800u); /* 0x2B040C00: push 0x800 */ 12491 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12492 ecx = 0; /* 0x2B040C05: xor ecx, ecx */ 12493 _cf = 0; 12494 _flag_k = FK_TEST; 12495 PUSH32(esp, ecx); /* 0x2B040C07: push ecx */ 12496 PUSH32(esp, ecx); /* 0x2B040C08: push ecx */ 12497 PUSH32(esp, 0xFB2u); /* 0x2B040C09: push 0xfb2 */ 12498 PUSH32(esp, 0x2B0E7314u); /* 0x2B040C0E: push 0x2b0e7314 */ 12499 PUSH32(esp, 1); /* 0x2B040C13: push 1 */ 12500 ecx = eax; /* 0x2B040C15: mov ecx, eax */ 12501 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040C17: call dword ptr [0x2b0b5950] */ 12502 RECOMP_FLAGS_IN(); 12503 eax = MEM32(ebp + (-0x10)); /* 0x2B040C1D: mov eax, dword ptr [ebp - 0x10] */ 12504 MEM32(eax) = 0x2B0B6878u; /* 0x2B040C20: mov dword ptr [eax], 0x2b0b6878 */ 12505 goto L_2B040C2A; /* 0x2B040C26: jmp 0x2b040c2a */ 12506 L_2B040C28: 12507 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12508 eax = 0; /* 0x2B040C28: xor eax, eax */ 12509 _cf = 0; 12510 _flag_k = FK_TEST; 12511 L_2B040C2A: 12512 MEM32(esi + 0x60) = eax; /* 0x2B040C2A: mov dword ptr [esi + 0x60], eax */ 12513 eax = MEM32(eax + 0x34); /* 0x2B040C2D: mov eax, dword ptr [eax + 0x34] */ 12514 MEM32(eax) = ebx; /* 0x2B040C30: mov dword ptr [eax], ebx */ 12515 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12516 ecx = 0; /* 0x2B040C32: xor ecx, ecx */ 12517 _cf = 0; 12518 _flag_k = FK_TEST; 12519 MEM32(eax + 0x4) = ecx; /* 0x2B040C34: mov dword ptr [eax + 4], ecx */ 12520 ecx = 0x1Eu; /* 0x2B040C37: mov ecx, 0x1e */ 12521 MEM32(eax + 0x8) = ecx; /* 0x2B040C3C: mov dword ptr [eax + 8], ecx */ 12522 ecx = 0xAu; /* 0x2B040C3F: mov ecx, 0xa */ 12523 MEM32(eax + 0xC) = ecx; /* 0x2B040C44: mov dword ptr [eax + 0xc], ecx */ 12524 edx = MEM32(esi + 0x60); /* 0x2B040C47: mov edx, dword ptr [esi + 0x60] */ 12525 eax = MEM32(edx + 0x34); /* 0x2B040C4A: mov eax, dword ptr [edx + 0x34] */ 12526 PUSH32(esp, 0x50u); /* 0x2B040C4D: push 0x50 */ 12527 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040C4F: mov byte ptr [ebp - 4], bl */ 12528 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040C52: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12529 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040C59: call 0x2b0ab212 */ /* not lifted */ 12530 RECOMP_FLAGS_IN(); 12531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12533 esp = esp + 4; /* 0x2B040C5E: add esp, 4 */ 12534 _flag_k = FK_ADD; 12535 MEM32(ebp + (-0x10)) = eax; /* 0x2B040C61: mov dword ptr [ebp - 0x10], eax */ 12536 /* cmp eax, ebx */ /* 0x2B040C64: cmp eax, ebx */ 12537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12539 _flag_k = FK_CMP; 12540 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B040C66: mov byte ptr [ebp - 4], 0x14 */ 12541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040C9B; /* 0x2B040C6A: je 0x2b040c9b */ 12542 L_2B040C6C: 12543 ecx = MEM32(0x2B0EE9DC); /* 0x2B040C6C: mov ecx, dword ptr [0x2b0ee9dc] */ 12544 PUSH32(esp, ecx); /* 0x2B040C72: push ecx */ 12545 PUSH32(esp, 0x800u); /* 0x2B040C73: push 0x800 */ 12546 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12547 ecx = 0; /* 0x2B040C78: xor ecx, ecx */ 12548 _cf = 0; 12549 _flag_k = FK_TEST; 12550 PUSH32(esp, ecx); /* 0x2B040C7A: push ecx */ 12551 PUSH32(esp, ecx); /* 0x2B040C7B: push ecx */ 12552 PUSH32(esp, 0xFB2u); /* 0x2B040C7C: push 0xfb2 */ 12553 PUSH32(esp, 0x2B0E7314u); /* 0x2B040C81: push 0x2b0e7314 */ 12554 PUSH32(esp, 1); /* 0x2B040C86: push 1 */ 12555 ecx = eax; /* 0x2B040C88: mov ecx, eax */ 12556 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040C8A: call dword ptr [0x2b0b5950] */ 12557 RECOMP_FLAGS_IN(); 12558 eax = MEM32(ebp + (-0x10)); /* 0x2B040C90: mov eax, dword ptr [ebp - 0x10] */ 12559 MEM32(eax) = 0x2B0B6878u; /* 0x2B040C93: mov dword ptr [eax], 0x2b0b6878 */ 12560 goto L_2B040C9D; /* 0x2B040C99: jmp 0x2b040c9d */ 12561 L_2B040C9B: 12562 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12563 eax = 0; /* 0x2B040C9B: xor eax, eax */ 12564 _cf = 0; 12565 _flag_k = FK_TEST; 12566 L_2B040C9D: 12567 MEM32(esi + 0x64) = eax; /* 0x2B040C9D: mov dword ptr [esi + 0x64], eax */ 12568 eax = MEM32(eax + 0x34); /* 0x2B040CA0: mov eax, dword ptr [eax + 0x34] */ 12569 MEM32(eax) = ebx; /* 0x2B040CA3: mov dword ptr [eax], ebx */ 12570 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12571 ecx = 0; /* 0x2B040CA5: xor ecx, ecx */ 12572 _cf = 0; 12573 _flag_k = FK_TEST; 12574 MEM32(eax + 0x4) = ecx; /* 0x2B040CA7: mov dword ptr [eax + 4], ecx */ 12575 ecx = 0x1Eu; /* 0x2B040CAA: mov ecx, 0x1e */ 12576 MEM32(eax + 0x8) = ecx; /* 0x2B040CAF: mov dword ptr [eax + 8], ecx */ 12577 ecx = 0xAu; /* 0x2B040CB2: mov ecx, 0xa */ 12578 MEM32(eax + 0xC) = ecx; /* 0x2B040CB7: mov dword ptr [eax + 0xc], ecx */ 12579 edx = MEM32(esi + 0x64); /* 0x2B040CBA: mov edx, dword ptr [esi + 0x64] */ 12580 eax = MEM32(edx + 0x34); /* 0x2B040CBD: mov eax, dword ptr [edx + 0x34] */ 12581 PUSH32(esp, 0x50u); /* 0x2B040CC0: push 0x50 */ 12582 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040CC2: mov byte ptr [ebp - 4], bl */ 12583 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040CC5: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12584 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B040CCC: mov dword ptr [ebp - 0x2c], ecx */ 12585 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040CCF: call 0x2b0ab212 */ /* not lifted */ 12586 RECOMP_FLAGS_IN(); 12587 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12588 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12589 esp = esp + 4; /* 0x2B040CD4: add esp, 4 */ 12590 _flag_k = FK_ADD; 12591 MEM32(ebp + (-0x10)) = eax; /* 0x2B040CD7: mov dword ptr [ebp - 0x10], eax */ 12592 /* cmp eax, ebx */ /* 0x2B040CDA: cmp eax, ebx */ 12593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12595 _flag_k = FK_CMP; 12596 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B040CDC: mov byte ptr [ebp - 4], 0x15 */ 12597 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040D11; /* 0x2B040CE0: je 0x2b040d11 */ 12598 L_2B040CE2: 12599 ecx = MEM32(0x2B0EE9DC); /* 0x2B040CE2: mov ecx, dword ptr [0x2b0ee9dc] */ 12600 PUSH32(esp, ecx); /* 0x2B040CE8: push ecx */ 12601 PUSH32(esp, 0x800u); /* 0x2B040CE9: push 0x800 */ 12602 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12603 ecx = 0; /* 0x2B040CEE: xor ecx, ecx */ 12604 _cf = 0; 12605 _flag_k = FK_TEST; 12606 PUSH32(esp, ecx); /* 0x2B040CF0: push ecx */ 12607 PUSH32(esp, ecx); /* 0x2B040CF1: push ecx */ 12608 PUSH32(esp, 0xFB2u); /* 0x2B040CF2: push 0xfb2 */ 12609 PUSH32(esp, 0x2B0E7314u); /* 0x2B040CF7: push 0x2b0e7314 */ 12610 PUSH32(esp, 1); /* 0x2B040CFC: push 1 */ 12611 ecx = eax; /* 0x2B040CFE: mov ecx, eax */ 12612 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040D00: call dword ptr [0x2b0b5950] */ 12613 RECOMP_FLAGS_IN(); 12614 eax = MEM32(ebp + (-0x10)); /* 0x2B040D06: mov eax, dword ptr [ebp - 0x10] */ 12615 MEM32(eax) = 0x2B0B6878u; /* 0x2B040D09: mov dword ptr [eax], 0x2b0b6878 */ 12616 goto L_2B040D13; /* 0x2B040D0F: jmp 0x2b040d13 */ 12617 L_2B040D11: 12618 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12619 eax = 0; /* 0x2B040D11: xor eax, eax */ 12620 _cf = 0; 12621 _flag_k = FK_TEST; 12622 L_2B040D13: 12623 edx = MEM32(ebp + (-0x2C)); /* 0x2B040D13: mov edx, dword ptr [ebp - 0x2c] */ 12624 MEM32(esi + 0x68) = eax; /* 0x2B040D16: mov dword ptr [esi + 0x68], eax */ 12625 eax = MEM32(eax + 0x34); /* 0x2B040D19: mov eax, dword ptr [eax + 0x34] */ 12626 MEM32(eax) = ebx; /* 0x2B040D1C: mov dword ptr [eax], ebx */ 12627 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12628 ecx = 0; /* 0x2B040D1E: xor ecx, ecx */ 12629 _cf = 0; 12630 _flag_k = FK_TEST; 12631 MEM32(eax + 0x4) = ecx; /* 0x2B040D20: mov dword ptr [eax + 4], ecx */ 12632 ecx = 0x3Cu; /* 0x2B040D23: mov ecx, 0x3c */ 12633 MEM32(eax + 0x8) = ecx; /* 0x2B040D28: mov dword ptr [eax + 8], ecx */ 12634 MEM32(eax + 0xC) = edx; /* 0x2B040D2B: mov dword ptr [eax + 0xc], edx */ 12635 eax = MEM32(esi + 0x68); /* 0x2B040D2E: mov eax, dword ptr [esi + 0x68] */ 12636 eax = MEM32(eax + 0x34); /* 0x2B040D31: mov eax, dword ptr [eax + 0x34] */ 12637 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040D34: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12638 ecx = MEM32(esi + 0x40); /* 0x2B040D3B: mov ecx, dword ptr [esi + 0x40] */ 12639 eax = MEM32(ecx + 0x14); /* 0x2B040D3E: mov eax, dword ptr [ecx + 0x14] */ 12640 edx = MEM32(eax + 0xC); /* 0x2B040D41: mov edx, dword ptr [eax + 0xc] */ 12641 eax = MEM32(eax + 0x8); /* 0x2B040D44: mov eax, dword ptr [eax + 8] */ 12642 PUSH32(esp, 0x50u); /* 0x2B040D47: push 0x50 */ 12643 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040D49: mov byte ptr [ebp - 4], bl */ 12644 MEM32(ebp + (-0x30)) = edx; /* 0x2B040D4C: mov dword ptr [ebp - 0x30], edx */ 12645 MEM32(ebp + (-0x2C)) = eax; /* 0x2B040D4F: mov dword ptr [ebp - 0x2c], eax */ 12646 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040D52: call 0x2b0ab212 */ /* not lifted */ 12647 RECOMP_FLAGS_IN(); 12648 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12649 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12650 esp = esp + 4; /* 0x2B040D57: add esp, 4 */ 12651 _flag_k = FK_ADD; 12652 MEM32(ebp + (-0x10)) = eax; /* 0x2B040D5A: mov dword ptr [ebp - 0x10], eax */ 12653 /* cmp eax, ebx */ /* 0x2B040D5D: cmp eax, ebx */ 12654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12656 _flag_k = FK_CMP; 12657 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B040D5F: mov byte ptr [ebp - 4], 0x16 */ 12658 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040D94; /* 0x2B040D63: je 0x2b040d94 */ 12659 L_2B040D65: 12660 ecx = MEM32(0x2B0EE9DC); /* 0x2B040D65: mov ecx, dword ptr [0x2b0ee9dc] */ 12661 PUSH32(esp, ecx); /* 0x2B040D6B: push ecx */ 12662 PUSH32(esp, 0x800u); /* 0x2B040D6C: push 0x800 */ 12663 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12664 ecx = 0; /* 0x2B040D71: xor ecx, ecx */ 12665 _cf = 0; 12666 _flag_k = FK_TEST; 12667 PUSH32(esp, ecx); /* 0x2B040D73: push ecx */ 12668 PUSH32(esp, ecx); /* 0x2B040D74: push ecx */ 12669 PUSH32(esp, 0xFB2u); /* 0x2B040D75: push 0xfb2 */ 12670 PUSH32(esp, 0x2B0E7308u); /* 0x2B040D7A: push 0x2b0e7308 */ 12671 PUSH32(esp, 1); /* 0x2B040D7F: push 1 */ 12672 ecx = eax; /* 0x2B040D81: mov ecx, eax */ 12673 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040D83: call dword ptr [0x2b0b5950] */ 12674 RECOMP_FLAGS_IN(); 12675 eax = MEM32(ebp + (-0x10)); /* 0x2B040D89: mov eax, dword ptr [ebp - 0x10] */ 12676 MEM32(eax) = 0x2B0B6878u; /* 0x2B040D8C: mov dword ptr [eax], 0x2b0b6878 */ 12677 goto L_2B040D96; /* 0x2B040D92: jmp 0x2b040d96 */ 12678 L_2B040D94: 12679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12680 eax = 0; /* 0x2B040D94: xor eax, eax */ 12681 _cf = 0; 12682 _flag_k = FK_TEST; 12683 L_2B040D96: 12684 edx = MEM32(ebp + (-0x30)); /* 0x2B040D96: mov edx, dword ptr [ebp - 0x30] */ 12685 MEM32(esi + 0x7C) = eax; /* 0x2B040D99: mov dword ptr [esi + 0x7c], eax */ 12686 eax = MEM32(eax + 0x34); /* 0x2B040D9C: mov eax, dword ptr [eax + 0x34] */ 12687 MEM32(eax) = ebx; /* 0x2B040D9F: mov dword ptr [eax], ebx */ 12688 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12689 ecx = 0; /* 0x2B040DA1: xor ecx, ecx */ 12690 _cf = 0; 12691 _flag_k = FK_TEST; 12692 MEM32(eax + 0x4) = ecx; /* 0x2B040DA3: mov dword ptr [eax + 4], ecx */ 12693 ecx = MEM32(ebp + (-0x2C)); /* 0x2B040DA6: mov ecx, dword ptr [ebp - 0x2c] */ 12694 MEM32(eax + 0x8) = edx; /* 0x2B040DA9: mov dword ptr [eax + 8], edx */ 12695 MEM32(eax + 0xC) = ecx; /* 0x2B040DAC: mov dword ptr [eax + 0xc], ecx */ 12696 edx = MEM32(esi + 0x7C); /* 0x2B040DAF: mov edx, dword ptr [esi + 0x7c] */ 12697 eax = MEM32(edx + 0x34); /* 0x2B040DB2: mov eax, dword ptr [edx + 0x34] */ 12698 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040DB5: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12699 ecx = MEM32(esi + 0x7C); /* 0x2B040DBC: mov ecx, dword ptr [esi + 0x7c] */ 12700 PUSH32(esp, ebx); /* 0x2B040DBF: push ebx */ 12701 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040DC0: mov byte ptr [ebp - 4], bl */ 12702 RECOMP_ICALL(MEM32(0x2B0B5874)); /* 0x2B040DC3: call dword ptr [0x2b0b5874] */ 12703 RECOMP_FLAGS_IN(); 12704 PUSH32(esp, 0x50u); /* 0x2B040DC9: push 0x50 */ 12705 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040DCB: call 0x2b0ab212 */ /* not lifted */ 12706 RECOMP_FLAGS_IN(); 12707 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12709 esp = esp + 4; /* 0x2B040DD0: add esp, 4 */ 12710 _flag_k = FK_ADD; 12711 MEM32(ebp + (-0x10)) = eax; /* 0x2B040DD3: mov dword ptr [ebp - 0x10], eax */ 12712 /* cmp eax, ebx */ /* 0x2B040DD6: cmp eax, ebx */ 12713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12715 _flag_k = FK_CMP; 12716 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B040DD8: mov byte ptr [ebp - 4], 0x17 */ 12717 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040E0D; /* 0x2B040DDC: je 0x2b040e0d */ 12718 L_2B040DDE: 12719 ecx = MEM32(0x2B0EE9DC); /* 0x2B040DDE: mov ecx, dword ptr [0x2b0ee9dc] */ 12720 PUSH32(esp, ecx); /* 0x2B040DE4: push ecx */ 12721 PUSH32(esp, 0x800u); /* 0x2B040DE5: push 0x800 */ 12722 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12723 ecx = 0; /* 0x2B040DEA: xor ecx, ecx */ 12724 _cf = 0; 12725 _flag_k = FK_TEST; 12726 PUSH32(esp, ecx); /* 0x2B040DEC: push ecx */ 12727 PUSH32(esp, ecx); /* 0x2B040DED: push ecx */ 12728 PUSH32(esp, 0xFB2u); /* 0x2B040DEE: push 0xfb2 */ 12729 PUSH32(esp, 0x2B0E7300u); /* 0x2B040DF3: push 0x2b0e7300 */ 12730 PUSH32(esp, 1); /* 0x2B040DF8: push 1 */ 12731 ecx = eax; /* 0x2B040DFA: mov ecx, eax */ 12732 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040DFC: call dword ptr [0x2b0b5950] */ 12733 RECOMP_FLAGS_IN(); 12734 eax = MEM32(ebp + (-0x10)); /* 0x2B040E02: mov eax, dword ptr [ebp - 0x10] */ 12735 MEM32(eax) = 0x2B0B6878u; /* 0x2B040E05: mov dword ptr [eax], 0x2b0b6878 */ 12736 goto L_2B040E0F; /* 0x2B040E0B: jmp 0x2b040e0f */ 12737 L_2B040E0D: 12738 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12739 eax = 0; /* 0x2B040E0D: xor eax, eax */ 12740 _cf = 0; 12741 _flag_k = FK_TEST; 12742 L_2B040E0F: 12743 edx = MEM32(ebp + (-0x30)); /* 0x2B040E0F: mov edx, dword ptr [ebp - 0x30] */ 12744 MEM32(esi + 0x80) = eax; /* 0x2B040E12: mov dword ptr [esi + 0x80], eax */ 12745 eax = MEM32(eax + 0x34); /* 0x2B040E18: mov eax, dword ptr [eax + 0x34] */ 12746 MEM32(eax) = ebx; /* 0x2B040E1B: mov dword ptr [eax], ebx */ 12747 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12748 ecx = 0; /* 0x2B040E1D: xor ecx, ecx */ 12749 _cf = 0; 12750 _flag_k = FK_TEST; 12751 MEM32(eax + 0x4) = ecx; /* 0x2B040E1F: mov dword ptr [eax + 4], ecx */ 12752 ecx = MEM32(ebp + (-0x2C)); /* 0x2B040E22: mov ecx, dword ptr [ebp - 0x2c] */ 12753 MEM32(eax + 0x8) = edx; /* 0x2B040E25: mov dword ptr [eax + 8], edx */ 12754 MEM32(eax + 0xC) = ecx; /* 0x2B040E28: mov dword ptr [eax + 0xc], ecx */ 12755 edx = MEM32(esi + 0x80); /* 0x2B040E2B: mov edx, dword ptr [esi + 0x80] */ 12756 eax = MEM32(edx + 0x34); /* 0x2B040E31: mov eax, dword ptr [edx + 0x34] */ 12757 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B040E34: mov dword ptr [eax + 0x30], 0xd7f0ff */ 12758 ecx = MEM32(esi + 0x80); /* 0x2B040E3B: mov ecx, dword ptr [esi + 0x80] */ 12759 PUSH32(esp, ebx); /* 0x2B040E41: push ebx */ 12760 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040E42: mov byte ptr [ebp - 4], bl */ 12761 RECOMP_ICALL(MEM32(0x2B0B5874)); /* 0x2B040E45: call dword ptr [0x2b0b5874] */ 12762 RECOMP_FLAGS_IN(); 12763 PUSH32(esp, 0x50u); /* 0x2B040E4B: push 0x50 */ 12764 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040E4D: call 0x2b0ab212 */ /* not lifted */ 12765 RECOMP_FLAGS_IN(); 12766 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12768 esp = esp + 4; /* 0x2B040E52: add esp, 4 */ 12769 _flag_k = FK_ADD; 12770 MEM32(ebp + (-0x10)) = eax; /* 0x2B040E55: mov dword ptr [ebp - 0x10], eax */ 12771 /* cmp eax, ebx */ /* 0x2B040E58: cmp eax, ebx */ 12772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12774 _flag_k = FK_CMP; 12775 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B040E5A: mov byte ptr [ebp - 4], 0x18 */ 12776 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040E8F; /* 0x2B040E5E: je 0x2b040e8f */ 12777 L_2B040E60: 12778 ecx = MEM32(0x2B0EE9DC); /* 0x2B040E60: mov ecx, dword ptr [0x2b0ee9dc] */ 12779 PUSH32(esp, ecx); /* 0x2B040E66: push ecx */ 12780 PUSH32(esp, 0x800u); /* 0x2B040E67: push 0x800 */ 12781 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12782 ecx = 0; /* 0x2B040E6C: xor ecx, ecx */ 12783 _cf = 0; 12784 _flag_k = FK_TEST; 12785 PUSH32(esp, ecx); /* 0x2B040E6E: push ecx */ 12786 PUSH32(esp, ecx); /* 0x2B040E6F: push ecx */ 12787 PUSH32(esp, 0xFB2u); /* 0x2B040E70: push 0xfb2 */ 12788 PUSH32(esp, 0x2B0E72FCu); /* 0x2B040E75: push 0x2b0e72fc */ 12789 PUSH32(esp, 1); /* 0x2B040E7A: push 1 */ 12790 ecx = eax; /* 0x2B040E7C: mov ecx, eax */ 12791 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B040E7E: call dword ptr [0x2b0b5950] */ 12792 RECOMP_FLAGS_IN(); 12793 eax = MEM32(ebp + (-0x10)); /* 0x2B040E84: mov eax, dword ptr [ebp - 0x10] */ 12794 MEM32(eax) = 0x2B0B6878u; /* 0x2B040E87: mov dword ptr [eax], 0x2b0b6878 */ 12795 goto L_2B040E91; /* 0x2B040E8D: jmp 0x2b040e91 */ 12796 L_2B040E8F: 12797 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12798 eax = 0; /* 0x2B040E8F: xor eax, eax */ 12799 _cf = 0; 12800 _flag_k = FK_TEST; 12801 L_2B040E91: 12802 edx = MEM32(ebp + (-0x30)); /* 0x2B040E91: mov edx, dword ptr [ebp - 0x30] */ 12803 MEM32(esi + 0x84) = eax; /* 0x2B040E94: mov dword ptr [esi + 0x84], eax */ 12804 eax = MEM32(eax + 0x34); /* 0x2B040E9A: mov eax, dword ptr [eax + 0x34] */ 12805 MEM32(eax) = ebx; /* 0x2B040E9D: mov dword ptr [eax], ebx */ 12806 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12807 ecx = 0; /* 0x2B040E9F: xor ecx, ecx */ 12808 _cf = 0; 12809 _flag_k = FK_TEST; 12810 MEM32(eax + 0x4) = ecx; /* 0x2B040EA1: mov dword ptr [eax + 4], ecx */ 12811 ecx = MEM32(ebp + (-0x2C)); /* 0x2B040EA4: mov ecx, dword ptr [ebp - 0x2c] */ 12812 MEM32(eax + 0x8) = edx; /* 0x2B040EA7: mov dword ptr [eax + 8], edx */ 12813 MEM32(eax + 0xC) = ecx; /* 0x2B040EAA: mov dword ptr [eax + 0xc], ecx */ 12814 edx = MEM32(esi + 0x84); /* 0x2B040EAD: mov edx, dword ptr [esi + 0x84] */ 12815 eax = MEM32(edx + 0x34); /* 0x2B040EB3: mov eax, dword ptr [edx + 0x34] */ 12816 MEM32(eax + 0x30) = 0xFFu; /* 0x2B040EB6: mov dword ptr [eax + 0x30], 0xff */ 12817 eax = 1; /* 0x2B040EBD: mov eax, 1 */ 12818 MEM32(ebp + (-0x84)) = eax; /* 0x2B040EC2: mov dword ptr [ebp - 0x84], eax */ 12819 MEM32(ebp + (-0x80)) = eax; /* 0x2B040EC8: mov dword ptr [ebp - 0x80], eax */ 12820 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12821 eax = 0; /* 0x2B040ECB: xor eax, eax */ 12822 _cf = 0; 12823 _flag_k = FK_TEST; 12824 ecx = 0xCu; /* 0x2B040ECD: mov ecx, 0xc */ 12825 edi = ebp + (-0x118); /* 0x2B040ED2: lea edi, [ebp - 0x118] */ 12826 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B040ED8: 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; } 12827 ecx = 0xCu; /* 0x2B040EDA: mov ecx, 0xc */ 12828 edi = ebp + (-0xE8); /* 0x2B040EDF: lea edi, [ebp - 0xe8] */ 12829 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B040EE5: 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; } 12830 PUSH32(esp, 0xCu); /* 0x2B040EE7: push 0xc */ 12831 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040EE9: mov byte ptr [ebp - 4], bl */ 12832 MEM32(ebp + (-0xB4)) = 0x26u; /* 0x2B040EEC: mov dword ptr [ebp - 0xb4], 0x26 */ 12833 MEM32(ebp + (-0xB0)) = ebx; /* 0x2B040EF6: mov dword ptr [ebp - 0xb0], ebx */ 12834 MEM32(ebp + (-0xAC)) = ebx; /* 0x2B040EFC: mov dword ptr [ebp - 0xac], ebx */ 12835 MEM32(ebp + (-0xA8)) = 0xFBEu; /* 0x2B040F02: mov dword ptr [ebp - 0xa8], 0xfbe */ 12836 MEM32(ebp + (-0xA4)) = 0x27u; /* 0x2B040F0C: mov dword ptr [ebp - 0xa4], 0x27 */ 12837 MEM32(ebp + (-0xA0)) = ebx; /* 0x2B040F16: mov dword ptr [ebp - 0xa0], ebx */ 12838 MEM32(ebp + (-0x9C)) = ebx; /* 0x2B040F1C: mov dword ptr [ebp - 0x9c], ebx */ 12839 MEM32(ebp + (-0x98)) = ebx; /* 0x2B040F22: mov dword ptr [ebp - 0x98], ebx */ 12840 MEM32(ebp + (-0x94)) = 0x3Fu; /* 0x2B040F28: mov dword ptr [ebp - 0x94], 0x3f */ 12841 MEM32(ebp + (-0x90)) = 0x1Au; /* 0x2B040F32: mov dword ptr [ebp - 0x90], 0x1a */ 12842 MEM32(ebp + (-0x8C)) = ebx; /* 0x2B040F3C: mov dword ptr [ebp - 0x8c], ebx */ 12843 MEM32(ebp + (-0x88)) = ebx; /* 0x2B040F42: mov dword ptr [ebp - 0x88], ebx */ 12844 MEM32(ebp + (-0x108)) = ebx; /* 0x2B040F48: mov dword ptr [ebp - 0x108], ebx */ 12845 MEM32(ebp + (-0x104)) = ebx; /* 0x2B040F4E: mov dword ptr [ebp - 0x104], ebx */ 12846 MEM32(ebp + (-0x100)) = 0xFBEu; /* 0x2B040F54: mov dword ptr [ebp - 0x100], 0xfbe */ 12847 MEM32(ebp + (-0xF8)) = 0x28u; /* 0x2B040F5E: mov dword ptr [ebp - 0xf8], 0x28 */ 12848 MEM32(ebp + (-0xF4)) = 0x29u; /* 0x2B040F68: mov dword ptr [ebp - 0xf4], 0x29 */ 12849 MEM32(ebp + (-0xD8)) = ebx; /* 0x2B040F72: mov dword ptr [ebp - 0xd8], ebx */ 12850 MEM32(ebp + (-0xD4)) = ebx; /* 0x2B040F78: mov dword ptr [ebp - 0xd4], ebx */ 12851 MEM32(ebp + (-0xD0)) = 0xFBEu; /* 0x2B040F7E: mov dword ptr [ebp - 0xd0], 0xfbe */ 12852 MEM32(ebp + (-0xC8)) = 0x2Au; /* 0x2B040F88: mov dword ptr [ebp - 0xc8], 0x2a */ 12853 MEM32(ebp + (-0xC4)) = 0x2Bu; /* 0x2B040F92: mov dword ptr [ebp - 0xc4], 0x2b */ 12854 RECOMP_ICALL(0x2B0AB212u); /* 0x2B040F9C: call 0x2b0ab212 */ /* not lifted */ 12855 RECOMP_FLAGS_IN(); 12856 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12858 esp = esp + 4; /* 0x2B040FA1: add esp, 4 */ 12859 _flag_k = FK_ADD; 12860 MEM32(ebp + (-0x10)) = eax; /* 0x2B040FA4: mov dword ptr [ebp - 0x10], eax */ 12861 /* cmp eax, ebx */ /* 0x2B040FA7: cmp eax, ebx */ 12862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12864 _flag_k = FK_CMP; 12865 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B040FA9: mov byte ptr [ebp - 4], 0x19 */ 12866 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B040FD5; /* 0x2B040FAD: je 0x2b040fd5 */ 12867 L_2B040FAF: 12868 ecx = MEM32(0x2B0EE9DC); /* 0x2B040FAF: mov ecx, dword ptr [0x2b0ee9dc] */ 12869 PUSH32(esp, ecx); /* 0x2B040FB5: push ecx */ 12870 edx = ebp + (-0x118); /* 0x2B040FB6: lea edx, [ebp - 0x118] */ 12871 PUSH32(esp, edx); /* 0x2B040FBC: push edx */ 12872 ecx = ebp + (-0xE8); /* 0x2B040FBD: lea ecx, [ebp - 0xe8] */ 12873 PUSH32(esp, ecx); /* 0x2B040FC3: push ecx */ 12874 edx = ebp + (-0xB4); /* 0x2B040FC4: lea edx, [ebp - 0xb4] */ 12875 PUSH32(esp, edx); /* 0x2B040FCA: push edx */ 12876 ecx = eax; /* 0x2B040FCB: mov ecx, eax */ 12877 RECOMP_ICALL(MEM32(0x2B0B5BE4)); /* 0x2B040FCD: call dword ptr [0x2b0b5be4] */ 12878 RECOMP_FLAGS_IN(); 12879 goto L_2B040FD7; /* 0x2B040FD3: jmp 0x2b040fd7 */ 12880 L_2B040FD5: 12881 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12882 eax = 0; /* 0x2B040FD5: xor eax, eax */ 12883 _cf = 0; 12884 _flag_k = FK_TEST; 12885 L_2B040FD7: 12886 PUSH32(esp, esi); /* 0x2B040FD7: push esi */ 12887 MEM32(esi + 0x9C) = eax; /* 0x2B040FD8: mov dword ptr [esi + 0x9c], eax */ 12888 ecx = MEM32(eax); /* 0x2B040FDE: mov ecx, dword ptr [eax] */ 12889 PUSH32(esp, 0x2B043630u); /* 0x2B040FE0: push 0x2b043630 */ 12890 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B040FE5: mov byte ptr [ebp - 4], bl */ 12891 RECOMP_ICALL(MEM32(0x2B0B5BEC)); /* 0x2B040FE8: call dword ptr [0x2b0b5bec] */ 12892 RECOMP_FLAGS_IN(); 12893 ecx = MEM32(esi + 0x9C); /* 0x2B040FEE: mov ecx, dword ptr [esi + 0x9c] */ 12894 RECOMP_ICALL(MEM32(0x2B0B5BA8)); /* 0x2B040FF4: call dword ptr [0x2b0b5ba8] */ 12895 RECOMP_FLAGS_IN(); 12896 PUSH32(esp, 0x9Cu); /* 0x2B040FFA: push 0x9c */ 12897 MEM32(ebp + (-0x20)) = 0xB6u; /* 0x2B040FFF: mov dword ptr [ebp - 0x20], 0xb6 */ 12898 MEM32(ebp + (-0x1C)) = 0x18u; /* 0x2B041006: mov dword ptr [ebp - 0x1c], 0x18 */ 12899 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04100D: call 0x2b0ab212 */ /* not lifted */ 12900 RECOMP_FLAGS_IN(); 12901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12903 esp = esp + 4; /* 0x2B041012: add esp, 4 */ 12904 _flag_k = FK_ADD; 12905 MEM32(ebp + (-0x10)) = eax; /* 0x2B041015: mov dword ptr [ebp - 0x10], eax */ 12906 /* cmp eax, ebx */ /* 0x2B041018: cmp eax, ebx */ 12907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12909 _flag_k = FK_CMP; 12910 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B04101A: mov byte ptr [ebp - 4], 0x1a */ 12911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041050; /* 0x2B04101E: je 0x2b041050 */ 12912 L_2B041020: 12913 ecx = MEM32(0x2B0EE9DC); /* 0x2B041020: mov ecx, dword ptr [0x2b0ee9dc] */ 12914 edx = MEM32(ebp + (-0x1C)); /* 0x2B041026: mov edx, dword ptr [ebp - 0x1c] */ 12915 PUSH32(esp, ecx); /* 0x2B041029: push ecx */ 12916 ecx = MEM32(ebp + (-0x20)); /* 0x2B04102A: mov ecx, dword ptr [ebp - 0x20] */ 12917 PUSH32(esp, ebx); /* 0x2B04102D: push ebx */ 12918 PUSH32(esp, ebx); /* 0x2B04102E: push ebx */ 12919 PUSH32(esp, 0xFA4u); /* 0x2B04102F: push 0xfa4 */ 12920 PUSH32(esp, ebx); /* 0x2B041034: push ebx */ 12921 PUSH32(esp, ebx); /* 0x2B041035: push ebx */ 12922 PUSH32(esp, ebx); /* 0x2B041036: push ebx */ 12923 PUSH32(esp, edx); /* 0x2B041037: push edx */ 12924 PUSH32(esp, ecx); /* 0x2B041038: push ecx */ 12925 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12926 ecx = 0; /* 0x2B041039: xor ecx, ecx */ 12927 _cf = 0; 12928 _flag_k = FK_TEST; 12929 PUSH32(esp, ecx); /* 0x2B04103B: push ecx */ 12930 PUSH32(esp, ecx); /* 0x2B04103C: push ecx */ 12931 ecx = eax; /* 0x2B04103D: mov ecx, eax */ 12932 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B04103F: call dword ptr [0x2b0b5af0] */ 12933 RECOMP_FLAGS_IN(); 12934 ecx = MEM32(ebp + (-0x10)); /* 0x2B041045: mov ecx, dword ptr [ebp - 0x10] */ 12935 MEM32(ecx) = 0x2B0B642Cu; /* 0x2B041048: mov dword ptr [ecx], 0x2b0b642c */ 12936 goto L_2B041052; /* 0x2B04104E: jmp 0x2b041052 */ 12937 L_2B041050: 12938 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12939 ecx = 0; /* 0x2B041050: xor ecx, ecx */ 12940 _cf = 0; 12941 _flag_k = FK_TEST; 12942 L_2B041052: 12943 PUSH32(esp, ebx); /* 0x2B041052: push ebx */ 12944 PUSH32(esp, 0x2B0436E0u); /* 0x2B041053: push 0x2b0436e0 */ 12945 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041058: mov byte ptr [ebp - 4], bl */ 12946 MEM32(esi + 0x88) = ecx; /* 0x2B04105B: mov dword ptr [esi + 0x88], ecx */ 12947 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B041061: call dword ptr [0x2b0b5b44] */ 12948 RECOMP_FLAGS_IN(); 12949 PUSH32(esp, 0x50u); /* 0x2B041067: push 0x50 */ 12950 RECOMP_ICALL(0x2B0AB212u); /* 0x2B041069: call 0x2b0ab212 */ /* not lifted */ 12951 RECOMP_FLAGS_IN(); 12952 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12954 esp = esp + 4; /* 0x2B04106E: add esp, 4 */ 12955 _flag_k = FK_ADD; 12956 MEM32(ebp + (-0x10)) = eax; /* 0x2B041071: mov dword ptr [ebp - 0x10], eax */ 12957 /* cmp eax, ebx */ /* 0x2B041074: cmp eax, ebx */ 12958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12960 _flag_k = FK_CMP; 12961 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B041076: mov byte ptr [ebp - 4], 0x1b */ 12962 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0410AB; /* 0x2B04107A: je 0x2b0410ab */ 12963 L_2B04107C: 12964 edx = MEM32(0x2B0EE9DC); /* 0x2B04107C: mov edx, dword ptr [0x2b0ee9dc] */ 12965 PUSH32(esp, edx); /* 0x2B041082: push edx */ 12966 PUSH32(esp, 0x2000u); /* 0x2B041083: push 0x2000 */ 12967 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12968 ecx = 0; /* 0x2B041088: xor ecx, ecx */ 12969 _cf = 0; 12970 _flag_k = FK_TEST; 12971 PUSH32(esp, ecx); /* 0x2B04108A: push ecx */ 12972 PUSH32(esp, ecx); /* 0x2B04108B: push ecx */ 12973 PUSH32(esp, 0xFB2u); /* 0x2B04108C: push 0xfb2 */ 12974 PUSH32(esp, 0x2B0EE648u); /* 0x2B041091: push 0x2b0ee648 */ 12975 PUSH32(esp, 1); /* 0x2B041096: push 1 */ 12976 ecx = eax; /* 0x2B041098: mov ecx, eax */ 12977 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B04109A: call dword ptr [0x2b0b5950] */ 12978 RECOMP_FLAGS_IN(); 12979 eax = MEM32(ebp + (-0x10)); /* 0x2B0410A0: mov eax, dword ptr [ebp - 0x10] */ 12980 MEM32(eax) = 0x2B0B6878u; /* 0x2B0410A3: mov dword ptr [eax], 0x2b0b6878 */ 12981 goto L_2B0410AD; /* 0x2B0410A9: jmp 0x2b0410ad */ 12982 L_2B0410AB: 12983 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12984 eax = 0; /* 0x2B0410AB: xor eax, eax */ 12985 _cf = 0; 12986 _flag_k = FK_TEST; 12987 L_2B0410AD: 12988 MEM32(esi + 0x6C) = eax; /* 0x2B0410AD: mov dword ptr [esi + 0x6c], eax */ 12989 eax = MEM32(eax + 0x34); /* 0x2B0410B0: mov eax, dword ptr [eax + 0x34] */ 12990 MEM32(eax) = ebx; /* 0x2B0410B3: mov dword ptr [eax], ebx */ 12991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12992 ecx = 0; /* 0x2B0410B5: xor ecx, ecx */ 12993 _cf = 0; 12994 _flag_k = FK_TEST; 12995 MEM32(eax + 0x4) = ecx; /* 0x2B0410B7: mov dword ptr [eax + 4], ecx */ 12996 ecx = 0x88u; /* 0x2B0410BA: mov ecx, 0x88 */ 12997 MEM32(eax + 0x8) = ecx; /* 0x2B0410BF: mov dword ptr [eax + 8], ecx */ 12998 ecx = 0x18u; /* 0x2B0410C2: mov ecx, 0x18 */ 12999 MEM32(eax + 0xC) = ecx; /* 0x2B0410C7: mov dword ptr [eax + 0xc], ecx */ 13000 eax = MEM32(esi + 0x6C); /* 0x2B0410CA: mov eax, dword ptr [esi + 0x6c] */ 13001 eax = MEM32(eax + 0x34); /* 0x2B0410CD: mov eax, dword ptr [eax + 0x34] */ 13002 PUSH32(esp, 0x50u); /* 0x2B0410D0: push 0x50 */ 13003 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0410D2: mov byte ptr [ebp - 4], bl */ 13004 MEM32(eax + 0x30) = 0x002E394Du; /* 0x2B0410D5: mov dword ptr [eax + 0x30], 0x2e394d */ 13005 MEM32(ebp + (-0x30)) = 0xB6u; /* 0x2B0410DC: mov dword ptr [ebp - 0x30], 0xb6 */ 13006 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B0410E3: mov dword ptr [ebp - 0x2c], ecx */ 13007 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0410E6: call 0x2b0ab212 */ /* not lifted */ 13008 RECOMP_FLAGS_IN(); 13009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13011 esp = esp + 4; /* 0x2B0410EB: add esp, 4 */ 13012 _flag_k = FK_ADD; 13013 MEM32(ebp + (-0x10)) = eax; /* 0x2B0410EE: mov dword ptr [ebp - 0x10], eax */ 13014 /* cmp eax, ebx */ /* 0x2B0410F1: cmp eax, ebx */ 13015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13017 _flag_k = FK_CMP; 13018 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B0410F3: mov byte ptr [ebp - 4], 0x1c */ 13019 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041124; /* 0x2B0410F7: je 0x2b041124 */ 13020 L_2B0410F9: 13021 ecx = MEM32(0x2B0EE9DC); /* 0x2B0410F9: mov ecx, dword ptr [0x2b0ee9dc] */ 13022 PUSH32(esp, ecx); /* 0x2B0410FF: push ecx */ 13023 PUSH32(esp, ebx); /* 0x2B041100: push ebx */ 13024 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13025 ecx = 0; /* 0x2B041101: xor ecx, ecx */ 13026 _cf = 0; 13027 _flag_k = FK_TEST; 13028 PUSH32(esp, ecx); /* 0x2B041103: push ecx */ 13029 PUSH32(esp, ecx); /* 0x2B041104: push ecx */ 13030 PUSH32(esp, 0xFB2u); /* 0x2B041105: push 0xfb2 */ 13031 PUSH32(esp, 0x2B0EE648u); /* 0x2B04110A: push 0x2b0ee648 */ 13032 PUSH32(esp, 2); /* 0x2B04110F: push 2 */ 13033 ecx = eax; /* 0x2B041111: mov ecx, eax */ 13034 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B041113: call dword ptr [0x2b0b5950] */ 13035 RECOMP_FLAGS_IN(); 13036 eax = MEM32(ebp + (-0x10)); /* 0x2B041119: mov eax, dword ptr [ebp - 0x10] */ 13037 MEM32(eax) = 0x2B0B6878u; /* 0x2B04111C: mov dword ptr [eax], 0x2b0b6878 */ 13038 goto L_2B041126; /* 0x2B041122: jmp 0x2b041126 */ 13039 L_2B041124: 13040 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13041 eax = 0; /* 0x2B041124: xor eax, eax */ 13042 _cf = 0; 13043 _flag_k = FK_TEST; 13044 L_2B041126: 13045 edx = MEM32(ebp + (-0x30)); /* 0x2B041126: mov edx, dword ptr [ebp - 0x30] */ 13046 MEM32(esi + 0x70) = eax; /* 0x2B041129: mov dword ptr [esi + 0x70], eax */ 13047 eax = MEM32(eax + 0x34); /* 0x2B04112C: mov eax, dword ptr [eax + 0x34] */ 13048 MEM32(eax) = ebx; /* 0x2B04112F: mov dword ptr [eax], ebx */ 13049 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13050 ecx = 0; /* 0x2B041131: xor ecx, ecx */ 13051 _cf = 0; 13052 _flag_k = FK_TEST; 13053 MEM32(eax + 0x4) = ecx; /* 0x2B041133: mov dword ptr [eax + 4], ecx */ 13054 ecx = MEM32(ebp + (-0x2C)); /* 0x2B041136: mov ecx, dword ptr [ebp - 0x2c] */ 13055 MEM32(eax + 0x8) = edx; /* 0x2B041139: mov dword ptr [eax + 8], edx */ 13056 MEM32(eax + 0xC) = ecx; /* 0x2B04113C: mov dword ptr [eax + 0xc], ecx */ 13057 edx = MEM32(esi + 0x70); /* 0x2B04113F: mov edx, dword ptr [esi + 0x70] */ 13058 eax = MEM32(edx + 0x34); /* 0x2B041142: mov eax, dword ptr [edx + 0x34] */ 13059 PUSH32(esp, 0x38u); /* 0x2B041145: push 0x38 */ 13060 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041147: mov byte ptr [ebp - 4], bl */ 13061 MEM32(eax + 0x30) = 0x002E394Du; /* 0x2B04114A: mov dword ptr [eax + 0x30], 0x2e394d */ 13062 RECOMP_ICALL(0x2B0AB212u); /* 0x2B041151: call 0x2b0ab212 */ /* not lifted */ 13063 RECOMP_FLAGS_IN(); 13064 edi = eax; /* 0x2B041156: mov edi, eax */ 13065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13067 esp = esp + 4; /* 0x2B041158: add esp, 4 */ 13068 _flag_k = FK_ADD; 13069 MEM32(ebp + (-0x10)) = edi; /* 0x2B04115B: mov dword ptr [ebp - 0x10], edi */ 13070 /* cmp edi, ebx */ /* 0x2B04115E: cmp edi, ebx */ 13071 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13073 _flag_k = FK_CMP; 13074 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B041160: mov byte ptr [ebp - 4], 0x1d */ 13075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04118A; /* 0x2B041164: je 0x2b04118a */ 13076 L_2B041166: 13077 eax = MEM32(0x2B0EE9DC); /* 0x2B041166: mov eax, dword ptr [0x2b0ee9dc] */ 13078 PUSH32(esp, eax); /* 0x2B04116B: push eax */ 13079 PUSH32(esp, 0xFA3u); /* 0x2B04116C: push 0xfa3 */ 13080 PUSH32(esp, 0x166u); /* 0x2B041171: push 0x166 */ 13081 ecx = ebp + (-0x18); /* 0x2B041176: lea ecx, [ebp - 0x18] */ 13082 PUSH32(esp, ecx); /* 0x2B041179: push ecx */ 13083 ecx = edi; /* 0x2B04117A: mov ecx, edi */ 13084 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B04117C: call dword ptr [0x2b0b5948] */ 13085 RECOMP_FLAGS_IN(); 13086 MEM32(edi) = 0x2B0B68F4u; /* 0x2B041182: mov dword ptr [edi], 0x2b0b68f4 */ 13087 goto L_2B04118C; /* 0x2B041188: jmp 0x2b04118c */ 13088 L_2B04118A: 13089 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13090 edi = 0; /* 0x2B04118A: xor edi, edi */ 13091 _cf = 0; 13092 _flag_k = FK_TEST; 13093 L_2B04118C: 13094 MEM32(esi + 0x38) = edi; /* 0x2B04118C: mov dword ptr [esi + 0x38], edi */ 13095 ecx = esi; /* 0x2B04118F: mov ecx, esi */ 13096 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041191: mov byte ptr [ebp - 4], bl */ 13097 MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041194: mov byte ptr [edi + 8], bl */ 13098 RECOMP_ICALL(0x2B041A20u); /* 0x2B041197: call 0x2b041a20 */ /* not lifted */ 13099 RECOMP_FLAGS_IN(); 13100 edi = MEM32(0x2B0B5F80); /* 0x2B04119C: mov edi, dword ptr [0x2b0b5f80] */ 13101 PUSH32(esp, 2); /* 0x2B0411A2: push 2 */ 13102 PUSH32(esp, 0x167u); /* 0x2B0411A4: push 0x167 */ 13103 RECOMP_ICALL(edi); /* 0x2B0411A9: call edi */ 13104 RECOMP_FLAGS_IN(); 13105 ecx = eax; /* 0x2B0411AB: mov ecx, eax */ 13106 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B0411AD: call dword ptr [0x2b0b5fbc] */ 13107 RECOMP_FLAGS_IN(); 13108 PUSH32(esp, 2); /* 0x2B0411B3: push 2 */ 13109 PUSH32(esp, 0x168u); /* 0x2B0411B5: push 0x168 */ 13110 MEM32(esi + 0xCC) = eax; /* 0x2B0411BA: mov dword ptr [esi + 0xcc], eax */ 13111 RECOMP_ICALL(edi); /* 0x2B0411C0: call edi */ 13112 RECOMP_FLAGS_IN(); 13113 ecx = eax; /* 0x2B0411C2: mov ecx, eax */ 13114 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B0411C4: call dword ptr [0x2b0b5fbc] */ 13115 RECOMP_FLAGS_IN(); 13116 PUSH32(esp, 0x34u); /* 0x2B0411CA: push 0x34 */ 13117 MEM32(esi + 0xC8) = eax; /* 0x2B0411CC: mov dword ptr [esi + 0xc8], eax */ 13118 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0411D2: call 0x2b0ab212 */ /* not lifted */ 13119 RECOMP_FLAGS_IN(); 13120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13122 esp = esp + 4; /* 0x2B0411D7: add esp, 4 */ 13123 _flag_k = FK_ADD; 13124 MEM32(ebp + (-0x10)) = eax; /* 0x2B0411DA: mov dword ptr [ebp - 0x10], eax */ 13125 /* cmp eax, ebx */ /* 0x2B0411DD: cmp eax, ebx */ 13126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13128 _flag_k = FK_CMP; 13129 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B0411DF: mov byte ptr [ebp - 4], 0x1e */ 13130 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0411F8; /* 0x2B0411E3: je 0x2b0411f8 */ 13131 L_2B0411E5: 13132 PUSH32(esp, 2); /* 0x2B0411E5: push 2 */ 13133 PUSH32(esp, 0x80u); /* 0x2B0411E7: push 0x80 */ 13134 PUSH32(esp, 0x10u); /* 0x2B0411EC: push 0x10 */ 13135 ecx = eax; /* 0x2B0411EE: mov ecx, eax */ 13136 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B0411F0: call dword ptr [0x2b0b5650] */ 13137 RECOMP_FLAGS_IN(); 13138 goto L_2B0411FA; /* 0x2B0411F6: jmp 0x2b0411fa */ 13139 L_2B0411F8: 13140 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13141 eax = 0; /* 0x2B0411F8: xor eax, eax */ 13142 _cf = 0; 13143 _flag_k = FK_TEST; 13144 L_2B0411FA: 13145 PUSH32(esp, 1); /* 0x2B0411FA: push 1 */ 13146 PUSH32(esp, ebx); /* 0x2B0411FC: push ebx */ 13147 PUSH32(esp, ebx); /* 0x2B0411FD: push ebx */ 13148 ecx = eax; /* 0x2B0411FE: mov ecx, eax */ 13149 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041200: mov byte ptr [ebp - 4], bl */ 13150 MEM32(esi + 0xC4) = eax; /* 0x2B041203: mov dword ptr [esi + 0xc4], eax */ 13151 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B041209: call dword ptr [0x2b0b564c] */ 13152 RECOMP_FLAGS_IN(); 13153 PUSH32(esp, 0xD8u); /* 0x2B04120F: push 0xd8 */ 13154 MEM32(ebp + (-0x18)) = ebx; /* 0x2B041214: mov dword ptr [ebp - 0x18], ebx */ 13155 MEM32(ebp + (-0x14)) = ebx; /* 0x2B041217: mov dword ptr [ebp - 0x14], ebx */ 13156 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04121A: call 0x2b0ab212 */ /* not lifted */ 13157 RECOMP_FLAGS_IN(); 13158 edi = eax; /* 0x2B04121F: mov edi, eax */ 13159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13161 esp = esp + 4; /* 0x2B041221: add esp, 4 */ 13162 _flag_k = FK_ADD; 13163 MEM32(ebp + (-0x28)) = edi; /* 0x2B041224: mov dword ptr [ebp - 0x28], edi */ 13164 /* cmp edi, ebx */ /* 0x2B041227: cmp edi, ebx */ 13165 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13167 _flag_k = FK_CMP; 13168 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B041229: mov byte ptr [ebp - 4], 0x1f */ 13169 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041269; /* 0x2B04122D: je 0x2b041269 */ 13170 L_2B04122F: 13171 ecx = MEM32(esi + 0xC4); /* 0x2B04122F: mov ecx, dword ptr [esi + 0xc4] */ 13172 edx = ebp + (-0x10); /* 0x2B041235: lea edx, [ebp - 0x10] */ 13173 PUSH32(esp, edx); /* 0x2B041238: push edx */ 13174 eax = ebp + (-0x24); /* 0x2B041239: lea eax, [ebp - 0x24] */ 13175 PUSH32(esp, eax); /* 0x2B04123C: push eax */ 13176 PUSH32(esp, 1); /* 0x2B04123D: push 1 */ 13177 PUSH32(esp, 0x1388u); /* 0x2B04123F: push 0x1388 */ 13178 PUSH32(esp, ecx); /* 0x2B041244: push ecx */ 13179 edx = ebp + (-0x18); /* 0x2B041245: lea edx, [ebp - 0x18] */ 13180 PUSH32(esp, edx); /* 0x2B041248: push edx */ 13181 ecx = edi; /* 0x2B041249: mov ecx, edi */ 13182 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B04124B: mov dword ptr [ebp - 0x10], 0x3f800000 */ 13183 MEM32(ebp + (-0x24)) = 0x3F800000u; /* 0x2B041252: mov dword ptr [ebp - 0x24], 0x3f800000 */ 13184 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B041259: call dword ptr [0x2b0b5654] */ 13185 RECOMP_FLAGS_IN(); 13186 MEM32(edi) = 0x2B0B618Cu; /* 0x2B04125F: mov dword ptr [edi], 0x2b0b618c */ 13187 ecx = edi; /* 0x2B041265: mov ecx, edi */ 13188 goto L_2B04126B; /* 0x2B041267: jmp 0x2b04126b */ 13189 L_2B041269: 13190 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13191 ecx = 0; /* 0x2B041269: xor ecx, ecx */ 13192 _cf = 0; 13193 _flag_k = FK_TEST; 13194 L_2B04126B: 13195 eax = MEM32(esi + 0xC4); /* 0x2B04126B: mov eax, dword ptr [esi + 0xc4] */ 13196 MEM32(esi + 0xDC) = ecx; /* 0x2B041271: mov dword ptr [esi + 0xdc], ecx */ 13197 edx = MEM32(eax + 0xC); /* 0x2B041277: mov edx, dword ptr [eax + 0xc] */ 13198 MEM32(ebp + (-0x20)) = edx; /* 0x2B04127A: mov dword ptr [ebp - 0x20], edx */ 13199 eax = MEM32(eax + 0x8); /* 0x2B04127D: mov eax, dword ptr [eax + 8] */ 13200 edx = ebp + (-0x20); /* 0x2B041280: lea edx, [ebp - 0x20] */ 13201 PUSH32(esp, edx); /* 0x2B041283: push edx */ 13202 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041284: mov byte ptr [ebp - 4], bl */ 13203 MEM32(ebp + (-0x1C)) = eax; /* 0x2B041287: mov dword ptr [ebp - 0x1c], eax */ 13204 RECOMP_ICALL(MEM32(0x2B0B5558)); /* 0x2B04128A: call dword ptr [0x2b0b5558] */ 13205 RECOMP_FLAGS_IN(); 13206 ecx = MEM32(esi + 0xDC); /* 0x2B041290: mov ecx, dword ptr [esi + 0xdc] */ 13207 eax = MEM32(ecx); /* 0x2B041296: mov eax, dword ptr [ecx] */ 13208 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B041298: call dword ptr [eax + 8] */ 13209 RECOMP_FLAGS_IN(); 13210 ecx = MEM32(esi + 0xC4); /* 0x2B04129B: mov ecx, dword ptr [esi + 0xc4] */ 13211 PUSH32(esp, ecx); /* 0x2B0412A1: push ecx */ 13212 ecx = MEM32(esi + 0xDC); /* 0x2B0412A2: mov ecx, dword ptr [esi + 0xdc] */ 13213 RECOMP_ICALL(MEM32(0x2B0B555C)); /* 0x2B0412A8: call dword ptr [0x2b0b555c] */ 13214 RECOMP_FLAGS_IN(); 13215 PUSH32(esp, 0x9Cu); /* 0x2B0412AE: push 0x9c */ 13216 MEM32(ebp + (-0x20)) = 0xAu; /* 0x2B0412B3: mov dword ptr [ebp - 0x20], 0xa */ 13217 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0412BA: call 0x2b0ab212 */ /* not lifted */ 13218 RECOMP_FLAGS_IN(); 13219 edi = eax; /* 0x2B0412BF: mov edi, eax */ 13220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13222 esp = esp + 4; /* 0x2B0412C1: add esp, 4 */ 13223 _flag_k = FK_ADD; 13224 MEM32(ebp + (-0x28)) = edi; /* 0x2B0412C4: mov dword ptr [ebp - 0x28], edi */ 13225 /* cmp edi, ebx */ /* 0x2B0412C7: cmp edi, ebx */ 13226 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13228 _flag_k = FK_CMP; 13229 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B0412C9: mov byte ptr [ebp - 4], 0x20 */ 13230 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0412FA; /* 0x2B0412CD: je 0x2b0412fa */ 13231 L_2B0412CF: 13232 edx = MEM32(ebp + (-0x1C)); /* 0x2B0412CF: mov edx, dword ptr [ebp - 0x1c] */ 13233 eax = MEM32(ebp + (-0x20)); /* 0x2B0412D2: mov eax, dword ptr [ebp - 0x20] */ 13234 ecx = MEM32(ebp + (-0x14)); /* 0x2B0412D5: mov ecx, dword ptr [ebp - 0x14] */ 13235 PUSH32(esp, ebx); /* 0x2B0412D8: push ebx */ 13236 PUSH32(esp, ebx); /* 0x2B0412D9: push ebx */ 13237 PUSH32(esp, ebx); /* 0x2B0412DA: push ebx */ 13238 PUSH32(esp, 0x1388u); /* 0x2B0412DB: push 0x1388 */ 13239 PUSH32(esp, ebx); /* 0x2B0412E0: push ebx */ 13240 PUSH32(esp, ebx); /* 0x2B0412E1: push ebx */ 13241 PUSH32(esp, ebx); /* 0x2B0412E2: push ebx */ 13242 PUSH32(esp, edx); /* 0x2B0412E3: push edx */ 13243 edx = MEM32(ebp + (-0x18)); /* 0x2B0412E4: mov edx, dword ptr [ebp - 0x18] */ 13244 PUSH32(esp, eax); /* 0x2B0412E7: push eax */ 13245 PUSH32(esp, ecx); /* 0x2B0412E8: push ecx */ 13246 PUSH32(esp, edx); /* 0x2B0412E9: push edx */ 13247 ecx = edi; /* 0x2B0412EA: mov ecx, edi */ 13248 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0412EC: call dword ptr [0x2b0b5af0] */ 13249 RECOMP_FLAGS_IN(); 13250 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0412F2: mov dword ptr [edi], 0x2b0b642c */ 13251 goto L_2B0412FC; /* 0x2B0412F8: jmp 0x2b0412fc */ 13252 L_2B0412FA: 13253 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13254 edi = 0; /* 0x2B0412FA: xor edi, edi */ 13255 _cf = 0; 13256 _flag_k = FK_TEST; 13257 L_2B0412FC: 13258 MEM32(esi + 0xE8) = edi; /* 0x2B0412FC: mov dword ptr [esi + 0xe8], edi */ 13259 MEM32(edi + 0x4C) = 0xFu; /* 0x2B041302: mov dword ptr [edi + 0x4c], 0xf */ 13260 edi = MEM32(0x2B0B5F80); /* 0x2B041309: mov edi, dword ptr [0x2b0b5f80] */ 13261 PUSH32(esp, 2); /* 0x2B04130F: push 2 */ 13262 PUSH32(esp, 0x169u); /* 0x2B041311: push 0x169 */ 13263 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041316: mov byte ptr [ebp - 4], bl */ 13264 RECOMP_ICALL(edi); /* 0x2B041319: call edi */ 13265 RECOMP_FLAGS_IN(); 13266 ecx = eax; /* 0x2B04131B: mov ecx, eax */ 13267 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B04131D: call dword ptr [0x2b0b5fbc] */ 13268 RECOMP_FLAGS_IN(); 13269 PUSH32(esp, 2); /* 0x2B041323: push 2 */ 13270 PUSH32(esp, 0x16Au); /* 0x2B041325: push 0x16a */ 13271 MEM32(esi + 0xD8) = eax; /* 0x2B04132A: mov dword ptr [esi + 0xd8], eax */ 13272 RECOMP_ICALL(edi); /* 0x2B041330: call edi */ 13273 RECOMP_FLAGS_IN(); 13274 ecx = eax; /* 0x2B041332: mov ecx, eax */ 13275 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B041334: call dword ptr [0x2b0b5fbc] */ 13276 RECOMP_FLAGS_IN(); 13277 PUSH32(esp, 0x34u); /* 0x2B04133A: push 0x34 */ 13278 MEM32(esi + 0xD4) = eax; /* 0x2B04133C: mov dword ptr [esi + 0xd4], eax */ 13279 RECOMP_ICALL(0x2B0AB212u); /* 0x2B041342: call 0x2b0ab212 */ /* not lifted */ 13280 RECOMP_FLAGS_IN(); 13281 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13283 esp = esp + 4; /* 0x2B041347: add esp, 4 */ 13284 _flag_k = FK_ADD; 13285 MEM32(ebp + (-0x28)) = eax; /* 0x2B04134A: mov dword ptr [ebp - 0x28], eax */ 13286 /* cmp eax, ebx */ /* 0x2B04134D: cmp eax, ebx */ 13287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13289 _flag_k = FK_CMP; 13290 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x2B04134F: mov byte ptr [ebp - 4], 0x21 */ 13291 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041368; /* 0x2B041353: je 0x2b041368 */ 13292 L_2B041355: 13293 PUSH32(esp, 2); /* 0x2B041355: push 2 */ 13294 PUSH32(esp, 0x80u); /* 0x2B041357: push 0x80 */ 13295 PUSH32(esp, 0x10u); /* 0x2B04135C: push 0x10 */ 13296 ecx = eax; /* 0x2B04135E: mov ecx, eax */ 13297 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B041360: call dword ptr [0x2b0b5650] */ 13298 RECOMP_FLAGS_IN(); 13299 goto L_2B04136A; /* 0x2B041366: jmp 0x2b04136a */ 13300 L_2B041368: 13301 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13302 eax = 0; /* 0x2B041368: xor eax, eax */ 13303 _cf = 0; 13304 _flag_k = FK_TEST; 13305 L_2B04136A: 13306 PUSH32(esp, 1); /* 0x2B04136A: push 1 */ 13307 PUSH32(esp, ebx); /* 0x2B04136C: push ebx */ 13308 PUSH32(esp, ebx); /* 0x2B04136D: push ebx */ 13309 ecx = eax; /* 0x2B04136E: mov ecx, eax */ 13310 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B041370: mov byte ptr [ebp - 4], bl */ 13311 MEM32(esi + 0xD0) = eax; /* 0x2B041373: mov dword ptr [esi + 0xd0], eax */ 13312 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B041379: call dword ptr [0x2b0b564c] */ 13313 RECOMP_FLAGS_IN(); 13314 PUSH32(esp, 0xD8u); /* 0x2B04137F: push 0xd8 */ 13315 MEM32(ebp + (-0x14)) = 0x90u; /* 0x2B041384: mov dword ptr [ebp - 0x14], 0x90 */ 13316 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04138B: call 0x2b0ab212 */ /* not lifted */ 13317 RECOMP_FLAGS_IN(); 13318 edi = eax; /* 0x2B041390: mov edi, eax */ 13319 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13320 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13321 esp = esp + 4; /* 0x2B041392: add esp, 4 */ 13322 _flag_k = FK_ADD; 13323 MEM32(ebp + (-0x28)) = edi; /* 0x2B041395: mov dword ptr [ebp - 0x28], edi */ 13324 /* cmp edi, ebx */ /* 0x2B041398: cmp edi, ebx */ 13325 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13327 _flag_k = FK_CMP; 13328 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x2B04139A: mov byte ptr [ebp - 4], 0x22 */ 13329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0413DA; /* 0x2B04139E: je 0x2b0413da */ 13330 L_2B0413A0: 13331 edx = MEM32(esi + 0xD0); /* 0x2B0413A0: mov edx, dword ptr [esi + 0xd0] */ 13332 eax = ebp + (-0x10); /* 0x2B0413A6: lea eax, [ebp - 0x10] */ 13333 PUSH32(esp, eax); /* 0x2B0413A9: push eax */ 13334 ecx = ebp + (-0x24); /* 0x2B0413AA: lea ecx, [ebp - 0x24] */ 13335 PUSH32(esp, ecx); /* 0x2B0413AD: push ecx */ 13336 PUSH32(esp, 1); /* 0x2B0413AE: push 1 */ 13337 PUSH32(esp, 0x1388u); /* 0x2B0413B0: push 0x1388 */ 13338 PUSH32(esp, edx); /* 0x2B0413B5: push edx */ 13339 eax = ebp + (-0x18); /* 0x2B0413B6: lea eax, [ebp - 0x18] */ 13340 PUSH32(esp, eax); /* 0x2B0413B9: push eax */ 13341 ecx = edi; /* 0x2B0413BA: mov ecx, edi */ 13342 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B0413BC: mov dword ptr [ebp - 0x10], 0x3f800000 */ 13343 MEM32(ebp + (-0x24)) = 0x3F800000u; /* 0x2B0413C3: mov dword ptr [ebp - 0x24], 0x3f800000 */ 13344 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B0413CA: call dword ptr [0x2b0b5654] */ 13345 RECOMP_FLAGS_IN(); 13346 MEM32(edi) = 0x2B0B618Cu; /* 0x2B0413D0: mov dword ptr [edi], 0x2b0b618c */ 13347 ecx = edi; /* 0x2B0413D6: mov ecx, edi */ 13348 goto L_2B0413DC; /* 0x2B0413D8: jmp 0x2b0413dc */ 13349 L_2B0413DA: 13350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13351 ecx = 0; /* 0x2B0413DA: xor ecx, ecx */ 13352 _cf = 0; 13353 _flag_k = FK_TEST; 13354 L_2B0413DC: 13355 edx = MEM32(esi + 0xD0); /* 0x2B0413DC: mov edx, dword ptr [esi + 0xd0] */ 13356 MEM32(esi + 0xE0) = ecx; /* 0x2B0413E2: mov dword ptr [esi + 0xe0], ecx */ 13357 eax = MEM32(edx + 0xC); /* 0x2B0413E8: mov eax, dword ptr [edx + 0xc] */ 13358 edx = MEM32(esi + 0xC4); /* 0x2B0413EB: mov edx, dword ptr [esi + 0xc4] */ 13359 MEM32(ebp + (-0x20)) = eax; /* 0x2B0413F1: mov dword ptr [ebp - 0x20], eax */ 13360 eax = MEM32(edx + 0x8); /* 0x2B0413F4: mov eax, dword ptr [edx + 8] */ 13361 edx = ebp + (-0x20); /* 0x2B0413F7: lea edx, [ebp - 0x20] */ 13362 PUSH32(esp, edx); /* 0x2B0413FA: push edx */ 13363 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0413FB: mov byte ptr [ebp - 4], bl */ 13364 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0413FE: mov dword ptr [ebp - 0x1c], eax */ 13365 RECOMP_ICALL(MEM32(0x2B0B5558)); /* 0x2B041401: call dword ptr [0x2b0b5558] */ 13366 RECOMP_FLAGS_IN(); 13367 ecx = MEM32(esi + 0xE0); /* 0x2B041407: mov ecx, dword ptr [esi + 0xe0] */ 13368 eax = MEM32(ecx); /* 0x2B04140D: mov eax, dword ptr [ecx] */ 13369 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B04140F: call dword ptr [eax + 0xc] */ 13370 RECOMP_FLAGS_IN(); 13371 ecx = MEM32(esi + 0xD0); /* 0x2B041412: mov ecx, dword ptr [esi + 0xd0] */ 13372 PUSH32(esp, ecx); /* 0x2B041418: push ecx */ 13373 ecx = MEM32(esi + 0xE0); /* 0x2B041419: mov ecx, dword ptr [esi + 0xe0] */ 13374 RECOMP_ICALL(MEM32(0x2B0B555C)); /* 0x2B04141F: call dword ptr [0x2b0b555c] */ 13375 RECOMP_FLAGS_IN(); 13376 PUSH32(esp, 0x9Cu); /* 0x2B041425: push 0x9c */ 13377 MEM32(ebp + (-0x20)) = 0xAu; /* 0x2B04142A: mov dword ptr [ebp - 0x20], 0xa */ 13378 RECOMP_ICALL(0x2B0AB212u); /* 0x2B041431: call 0x2b0ab212 */ /* not lifted */ 13379 RECOMP_FLAGS_IN(); 13380 edi = eax; /* 0x2B041436: mov edi, eax */ 13381 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13382 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13383 esp = esp + 4; /* 0x2B041438: add esp, 4 */ 13384 _flag_k = FK_ADD; 13385 MEM32(ebp + (-0x28)) = edi; /* 0x2B04143B: mov dword ptr [ebp - 0x28], edi */ 13386 /* cmp edi, ebx */ /* 0x2B04143E: cmp edi, ebx */ 13387 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13389 _flag_k = FK_CMP; 13390 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x2B041440: mov byte ptr [ebp - 4], 0x23 */ 13391 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041471; /* 0x2B041444: je 0x2b041471 */ 13392 L_2B041446: 13393 edx = MEM32(ebp + (-0x1C)); /* 0x2B041446: mov edx, dword ptr [ebp - 0x1c] */ 13394 eax = MEM32(ebp + (-0x20)); /* 0x2B041449: mov eax, dword ptr [ebp - 0x20] */ 13395 ecx = MEM32(ebp + (-0x14)); /* 0x2B04144C: mov ecx, dword ptr [ebp - 0x14] */ 13396 PUSH32(esp, ebx); /* 0x2B04144F: push ebx */ 13397 PUSH32(esp, ebx); /* 0x2B041450: push ebx */ 13398 PUSH32(esp, ebx); /* 0x2B041451: push ebx */ 13399 PUSH32(esp, 0x1388u); /* 0x2B041452: push 0x1388 */ 13400 PUSH32(esp, ebx); /* 0x2B041457: push ebx */ 13401 PUSH32(esp, ebx); /* 0x2B041458: push ebx */ 13402 PUSH32(esp, ebx); /* 0x2B041459: push ebx */ 13403 PUSH32(esp, edx); /* 0x2B04145A: push edx */ 13404 edx = MEM32(ebp + (-0x18)); /* 0x2B04145B: mov edx, dword ptr [ebp - 0x18] */ 13405 PUSH32(esp, eax); /* 0x2B04145E: push eax */ 13406 PUSH32(esp, ecx); /* 0x2B04145F: push ecx */ 13407 PUSH32(esp, edx); /* 0x2B041460: push edx */ 13408 ecx = edi; /* 0x2B041461: mov ecx, edi */ 13409 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B041463: call dword ptr [0x2b0b5af0] */ 13410 RECOMP_FLAGS_IN(); 13411 MEM32(edi) = 0x2B0B642Cu; /* 0x2B041469: mov dword ptr [edi], 0x2b0b642c */ 13412 goto L_2B041473; /* 0x2B04146F: jmp 0x2b041473 */ 13413 L_2B041471: 13414 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13415 edi = 0; /* 0x2B041471: xor edi, edi */ 13416 _cf = 0; 13417 _flag_k = FK_TEST; 13418 L_2B041473: 13419 MEM32(esi + 0xE4) = edi; /* 0x2B041473: mov dword ptr [esi + 0xe4], edi */ 13420 ecx = esi; /* 0x2B041479: mov ecx, esi */ 13421 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B04147B: mov byte ptr [ebp - 4], bl */ 13422 MEM32(edi + 0x4C) = 0x10u; /* 0x2B04147E: mov dword ptr [edi + 0x4c], 0x10 */ 13423 RECOMP_ICALL(0x2B041A20u); /* 0x2B041485: call 0x2b041a20 */ /* not lifted */ 13424 RECOMP_FLAGS_IN(); 13425 PUSH32(esp, 0x2B0E72F4u); /* 0x2B04148A: push 0x2b0e72f4 */ 13426 PUSH32(esp, 1); /* 0x2B04148F: push 1 */ 13427 ecx = esi; /* 0x2B041491: mov ecx, esi */ 13428 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B041493: call 0x2b03a2d0 */ /* not lifted */ 13429 RECOMP_FLAGS_IN(); 13430 PUSH32(esp, ebx); /* 0x2B041498: push ebx */ 13431 ecx = esi; /* 0x2B041499: mov ecx, esi */ 13432 RECOMP_ICALL(0x2B03A350u); /* 0x2B04149B: call 0x2b03a350 */ /* not lifted */ 13433 RECOMP_FLAGS_IN(); 13434 ecx = MEM32(0x2B0EE9F0); /* 0x2B0414A0: mov ecx, dword ptr [0x2b0ee9f0] */ 13435 PUSH32(esp, 0x2B0E72E4u); /* 0x2B0414A6: push 0x2b0e72e4 */ 13436 PUSH32(esp, 0x2B0E72F4u); /* 0x2B0414AB: push 0x2b0e72f4 */ 13437 PUSH32(esp, 0x11u); /* 0x2B0414B0: push 0x11 */ 13438 PUSH32(esp, 0x16Cu); /* 0x2B0414B2: push 0x16c */ 13439 PUSH32(esp, 0x16Bu); /* 0x2B0414B7: push 0x16b */ 13440 PUSH32(esp, esi); /* 0x2B0414BC: push esi */ 13441 RECOMP_ICALL(0x2B03BF90u); /* 0x2B0414BD: call 0x2b03bf90 */ /* not lifted */ 13442 RECOMP_FLAGS_IN(); 13443 ecx = MEM32(ebp + (-0xC)); /* 0x2B0414C2: mov ecx, dword ptr [ebp - 0xc] */ 13444 edi = POP32_VAL(esp); /* 0x2B0414C5: pop edi */ 13445 eax = esi; /* 0x2B0414C6: mov eax, esi */ 13446 esi = POP32_VAL(esp); /* 0x2B0414C8: pop esi */ 13447 ebx = POP32_VAL(esp); /* 0x2B0414C9: pop ebx */ 13448 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0414CA: mov dword ptr fs:[0], ecx */ 13449 esp = ebp; /* 0x2B0414D1: mov esp, ebp */ 13450 ebp = POP32_VAL(esp); /* 0x2B0414D3: pop ebp */ 13451 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0414D4: ret */ 13452 RECOMP_REGS_OUT(); 13453 } 13454 13455 void sub_2B0414E0(void) { 13456 int _fpu_cmp = 0; 13457 uint32_t _cf = 0; 13458 int _df = 1; 13459 uint32_t _flag_k = FK_NONE; 13460 uint32_t _flag_a = 0, _flag_b = 0; 13461 uint32_t _itail_tgt = 0; 13462 RECOMP_REGS_LOCALS 13463 RECOMP_ENTER(0x2B0414E0u); 13464 13465 L_2B0414E0: 13466 PUSH32(esp, ebp); /* 0x2B0414E0: push ebp */ 13467 ebp = esp; /* 0x2B0414E1: mov ebp, esp */ 13468 PUSH32(esp, esi); /* 0x2B0414E3: push esi */ 13469 esi = ecx; /* 0x2B0414E4: mov esi, ecx */ 13470 RECOMP_ICALL(0x2B041540u); /* 0x2B0414E6: call 0x2b041540 */ /* not lifted */ 13471 RECOMP_FLAGS_IN(); 13472 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B0414EB: test byte ptr [ebp + 8], 1 */ 13473 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13474 _cf = 0; 13475 _flag_k = FK_NARROW(FK_TEST, 24); 13476 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0414FA; /* 0x2B0414EF: je 0x2b0414fa */ 13477 L_2B0414F1: 13478 PUSH32(esp, esi); /* 0x2B0414F1: push esi */ 13479 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0414F2: call 0x2b0ab1ba */ /* not lifted */ 13480 RECOMP_FLAGS_IN(); 13481 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13483 esp = esp + 4; /* 0x2B0414F7: add esp, 4 */ 13484 _flag_k = FK_ADD; 13485 L_2B0414FA: 13486 eax = esi; /* 0x2B0414FA: mov eax, esi */ 13487 esi = POP32_VAL(esp); /* 0x2B0414FC: pop esi */ 13488 ebp = POP32_VAL(esp); /* 0x2B0414FD: pop ebp */ 13489 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0414FE: ret 4 */ 13490 RECOMP_REGS_OUT(); 13491 } 13492 13493 void sub_2B041510(void) { 13494 int _fpu_cmp = 0; 13495 uint32_t _cf = 0; 13496 int _df = 1; 13497 uint32_t _flag_k = FK_NONE; 13498 uint32_t _flag_a = 0, _flag_b = 0; 13499 uint32_t _itail_tgt = 0; 13500 RECOMP_REGS_LOCALS 13501 RECOMP_ENTER(0x2B041510u); 13502 13503 L_2B041510: 13504 PUSH32(esp, ebp); /* 0x2B041510: push ebp */ 13505 ebp = esp; /* 0x2B041511: mov ebp, esp */ 13506 PUSH32(esp, esi); /* 0x2B041513: push esi */ 13507 esi = ecx; /* 0x2B041514: mov esi, ecx */ 13508 RECOMP_ICALL(MEM32(0x2B0B5868)); /* 0x2B041516: call dword ptr [0x2b0b5868] */ 13509 RECOMP_FLAGS_IN(); 13510 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B04151C: test byte ptr [ebp + 8], 1 */ 13511 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13512 _cf = 0; 13513 _flag_k = FK_NARROW(FK_TEST, 24); 13514 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04152B; /* 0x2B041520: je 0x2b04152b */ 13515 L_2B041522: 13516 PUSH32(esp, esi); /* 0x2B041522: push esi */ 13517 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B041523: call 0x2b0ab1ba */ /* not lifted */ 13518 RECOMP_FLAGS_IN(); 13519 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13520 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13521 esp = esp + 4; /* 0x2B041528: add esp, 4 */ 13522 _flag_k = FK_ADD; 13523 L_2B04152B: 13524 eax = esi; /* 0x2B04152B: mov eax, esi */ 13525 esi = POP32_VAL(esp); /* 0x2B04152D: pop esi */ 13526 ebp = POP32_VAL(esp); /* 0x2B04152E: pop ebp */ 13527 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04152F: ret 4 */ 13528 RECOMP_REGS_OUT(); 13529 }