client/game/ddr.dll/lifted-0015.c (773663B)
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_2B03B320(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(0x2B03B320u); 17 18 L_2B03B320: 19 RECOMP_ICALL(0x2B03B100u); /* 0x2B03B320: call 0x2b03b100 */ /* not lifted */ 20 RECOMP_FLAGS_IN(); 21 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03B325: ret 8 */ 22 RECOMP_REGS_OUT(); 23 } 24 25 void sub_2B03B330(void) { 26 int _fpu_cmp = 0; 27 uint32_t _cf = 0; 28 int _df = 1; 29 uint32_t _flag_k = FK_NONE; 30 uint32_t _flag_a = 0, _flag_b = 0; 31 uint32_t _itail_tgt = 0; 32 RECOMP_REGS_LOCALS 33 RECOMP_ENTER(0x2B03B330u); 34 35 L_2B03B330: 36 PUSH32(esp, ebp); /* 0x2B03B330: push ebp */ 37 ebp = esp; /* 0x2B03B331: mov ebp, esp */ 38 PUSH32(esp, ebx); /* 0x2B03B333: push ebx */ 39 ebx = MEM32(ebp + 0x8); /* 0x2B03B334: mov ebx, dword ptr [ebp + 8] */ 40 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B337: test bl, bl */ 41 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 42 _cf = 0; 43 _flag_k = FK_NARROW(FK_TEST, 24); 44 PUSH32(esp, esi); /* 0x2B03B339: push esi */ 45 esi = ecx; /* 0x2B03B33A: mov esi, ecx */ 46 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B39D; /* 0x2B03B33C: jne 0x2b03b39d */ 47 L_2B03B33E: 48 ecx = MEM32(esi + 0x54); /* 0x2B03B33E: mov ecx, dword ptr [esi + 0x54] */ 49 /* test ecx, ecx */ /* 0x2B03B341: test ecx, ecx */ 50 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 51 _cf = 0; 52 _flag_k = FK_TEST; 53 MEM8(esi + 0x6C) = (uint8_t)(LO8(ebx)); /* 0x2B03B343: mov byte ptr [esi + 0x6c], bl */ 54 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B357; /* 0x2B03B346: je 0x2b03b357 */ 55 L_2B03B348: 56 RECOMP_ICALL(MEM32(0x2B0B5964)); /* 0x2B03B348: call dword ptr [0x2b0b5964] */ 57 RECOMP_FLAGS_IN(); 58 ecx = MEM32(esi + 0x54); /* 0x2B03B34E: mov ecx, dword ptr [esi + 0x54] */ 59 RECOMP_ICALL(MEM32(0x2B0B5968)); /* 0x2B03B351: call dword ptr [0x2b0b5968] */ 60 RECOMP_FLAGS_IN(); 61 L_2B03B357: 62 ecx = esi; /* 0x2B03B357: mov ecx, esi */ 63 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B359: call 0x2b03b110 */ /* not lifted */ 64 RECOMP_FLAGS_IN(); 65 SET_LO8(eax, MEM8(0x2B0EE990)); /* 0x2B03B35E: mov al, byte ptr [0x2b0ee990] */ 66 /* test LO8(eax), 1 */ /* 0x2B03B363: test al, 1 */ 67 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 68 _cf = 0; 69 _flag_k = FK_NARROW(FK_TEST, 24); 70 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B381; /* 0x2B03B365: jne 0x2b03b381 */ 71 L_2B03B367: 72 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 73 SET_LO8(eax, LO8(eax) | 1); /* 0x2B03B367: or al, 1 */ 74 _cf = 0; 75 _flag_k = FK_NARROW(FK_TEST, 24); 76 PUSH32(esp, 0x2B0E6E0Cu); /* 0x2B03B369: push 0x2b0e6e0c */ 77 MEM8(0x2B0EE990) = (uint8_t)(LO8(eax)); /* 0x2B03B36E: mov byte ptr [0x2b0ee990], al */ 78 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B03B373: call dword ptr [0x2b0b60bc] */ 79 RECOMP_FLAGS_IN(); 80 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 81 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 82 esp = esp + 4; /* 0x2B03B379: add esp, 4 */ 83 _flag_k = FK_ADD; 84 MEM32(0x2B0EE98C) = eax; /* 0x2B03B37C: mov dword ptr [0x2b0ee98c], eax */ 85 L_2B03B381: 86 eax = MEM32(0x2B0EE98C); /* 0x2B03B381: mov eax, dword ptr [0x2b0ee98c] */ 87 PUSH32(esp, eax); /* 0x2B03B386: push eax */ 88 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B03B387: call dword ptr [0x2b0b60b8] */ 89 RECOMP_FLAGS_IN(); 90 eax = MEM32(0x2B0EF09C); /* 0x2B03B38D: mov eax, dword ptr [0x2b0ef09c] */ 91 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 92 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 93 esp = esp + 4; /* 0x2B03B392: add esp, 4 */ 94 _flag_k = FK_ADD; 95 /* test eax, eax */ /* 0x2B03B395: test eax, eax */ 96 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 97 _cf = 0; 98 _flag_k = FK_TEST; 99 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B3F5; /* 0x2B03B397: je 0x2b03b3f5 */ 100 L_2B03B399: 101 PUSH32(esp, 1); /* 0x2B03B399: push 1 */ 102 goto L_2B03B3EC; /* 0x2B03B39B: jmp 0x2b03b3ec */ 103 L_2B03B39D: 104 ecx = MEM32(esi + 0x54); /* 0x2B03B39D: mov ecx, dword ptr [esi + 0x54] */ 105 /* test ecx, ecx */ /* 0x2B03B3A0: test ecx, ecx */ 106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 107 _cf = 0; 108 _flag_k = FK_TEST; 109 MEM8(esi + 0x6C) = (uint8_t)(1); /* 0x2B03B3A2: mov byte ptr [esi + 0x6c], 1 */ 110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B3AE; /* 0x2B03B3A6: je 0x2b03b3ae */ 111 L_2B03B3A8: 112 RECOMP_ICALL(MEM32(0x2B0B5998)); /* 0x2B03B3A8: call dword ptr [0x2b0b5998] */ 113 RECOMP_FLAGS_IN(); 114 L_2B03B3AE: 115 SET_LO8(eax, MEM8(0x2B0EE990)); /* 0x2B03B3AE: mov al, byte ptr [0x2b0ee990] */ 116 /* test LO8(eax), 2 */ /* 0x2B03B3B3: test al, 2 */ 117 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 118 _cf = 0; 119 _flag_k = FK_NARROW(FK_TEST, 24); 120 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B3D1; /* 0x2B03B3B5: jne 0x2b03b3d1 */ 121 L_2B03B3B7: 122 _flag_a = (uint32_t)((LO8(eax) | 2)) << 24; _flag_b = (uint32_t)((LO8(eax) | 2)) << 24; 123 SET_LO8(eax, LO8(eax) | 2); /* 0x2B03B3B7: or al, 2 */ 124 _cf = 0; 125 _flag_k = FK_NARROW(FK_TEST, 24); 126 PUSH32(esp, 0x2B0E6DECu); /* 0x2B03B3B9: push 0x2b0e6dec */ 127 MEM8(0x2B0EE990) = (uint8_t)(LO8(eax)); /* 0x2B03B3BE: mov byte ptr [0x2b0ee990], al */ 128 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B03B3C3: call dword ptr [0x2b0b60bc] */ 129 RECOMP_FLAGS_IN(); 130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 132 esp = esp + 4; /* 0x2B03B3C9: add esp, 4 */ 133 _flag_k = FK_ADD; 134 MEM32(0x2B0EE988) = eax; /* 0x2B03B3CC: mov dword ptr [0x2b0ee988], eax */ 135 L_2B03B3D1: 136 ecx = MEM32(0x2B0EE988); /* 0x2B03B3D1: mov ecx, dword ptr [0x2b0ee988] */ 137 PUSH32(esp, ecx); /* 0x2B03B3D7: push ecx */ 138 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B03B3D8: call dword ptr [0x2b0b60b8] */ 139 RECOMP_FLAGS_IN(); 140 eax = MEM32(0x2B0EF09C); /* 0x2B03B3DE: mov eax, dword ptr [0x2b0ef09c] */ 141 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 142 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 143 esp = esp + 4; /* 0x2B03B3E3: add esp, 4 */ 144 _flag_k = FK_ADD; 145 /* test eax, eax */ /* 0x2B03B3E6: test eax, eax */ 146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 147 _cf = 0; 148 _flag_k = FK_TEST; 149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B3F5; /* 0x2B03B3E8: je 0x2b03b3f5 */ 150 L_2B03B3EA: 151 PUSH32(esp, 2); /* 0x2B03B3EA: push 2 */ 152 L_2B03B3EC: 153 ecx = MEM32(eax + 0x1C); /* 0x2B03B3EC: mov ecx, dword ptr [eax + 0x1c] */ 154 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B03B3EF: call dword ptr [0x2b0b5ab4] */ 155 RECOMP_FLAGS_IN(); 156 L_2B03B3F5: 157 edx = MEM32(0x2B0B6048); /* 0x2B03B3F5: mov edx, dword ptr [0x2b0b6048] */ 158 ecx = MEM32(edx); /* 0x2B03B3FB: mov ecx, dword ptr [edx] */ 159 PUSH32(esp, 1); /* 0x2B03B3FD: push 1 */ 160 PUSH32(esp, 1); /* 0x2B03B3FF: push 1 */ 161 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFu); 162 ebx = ebx & 0xFFu; /* 0x2B03B401: and ebx, 0xff */ 163 _cf = 0; 164 _flag_k = FK_TEST; 165 PUSH32(esp, ebx); /* 0x2B03B407: push ebx */ 166 PUSH32(esp, 0x2B0E6DDCu); /* 0x2B03B408: push 0x2b0e6ddc */ 167 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B03B40D: call dword ptr [0x2b0b604c] */ 168 RECOMP_FLAGS_IN(); 169 esi = POP32_VAL(esp); /* 0x2B03B413: pop esi */ 170 ebx = POP32_VAL(esp); /* 0x2B03B414: pop ebx */ 171 ebp = POP32_VAL(esp); /* 0x2B03B415: pop ebp */ 172 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03B416: ret 4 */ 173 RECOMP_REGS_OUT(); 174 } 175 176 void sub_2B03B420(void) { 177 int _fpu_cmp = 0; 178 uint32_t _cf = 0; 179 int _df = 1; 180 uint32_t _flag_k = FK_NONE; 181 uint32_t _flag_a = 0, _flag_b = 0; 182 uint32_t _itail_tgt = 0; 183 RECOMP_REGS_LOCALS 184 RECOMP_ENTER(0x2B03B420u); 185 186 L_2B03B420: 187 PUSH32(esp, ebp); /* 0x2B03B420: push ebp */ 188 ebp = esp; /* 0x2B03B421: mov ebp, esp */ 189 eax = MEM32(0x2B0EE9C8); /* 0x2B03B423: mov eax, dword ptr [0x2b0ee9c8] */ 190 /* test eax, eax */ /* 0x2B03B428: test eax, eax */ 191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 192 _cf = 0; 193 _flag_k = FK_TEST; 194 PUSH32(esp, ebx); /* 0x2B03B42A: push ebx */ 195 PUSH32(esp, esi); /* 0x2B03B42B: push esi */ 196 PUSH32(esp, edi); /* 0x2B03B42C: push edi */ 197 edi = MEM32(0x2B0EE9AC); /* 0x2B03B42D: mov edi, dword ptr [0x2b0ee9ac] */ 198 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B43B; /* 0x2B03B433: je 0x2b03b43b */ 199 L_2B03B435: 200 edi = MEM32(0x2B0EE99C); /* 0x2B03B435: mov edi, dword ptr [0x2b0ee99c] */ 201 L_2B03B43B: 202 edx = MEM32(edi); /* 0x2B03B43B: mov edx, dword ptr [edi] */ 203 /* cmp edx, edi */ /* 0x2B03B43D: cmp edx, edi */ 204 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 206 _flag_k = FK_CMP; 207 esi = MEM32(ebp + 0x8); /* 0x2B03B43F: mov esi, dword ptr [ebp + 8] */ 208 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B47E; /* 0x2B03B442: je 0x2b03b47e */ 209 L_2B03B444: 210 ecx = MEM32(edx + 0x8); /* 0x2B03B444: mov ecx, dword ptr [edx + 8] */ 211 SET_LO8(ebx, MEM8(ecx + 0x1C)); /* 0x2B03B447: mov bl, byte ptr [ecx + 0x1c] */ 212 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B44A: test bl, bl */ 213 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 214 _cf = 0; 215 _flag_k = FK_NARROW(FK_TEST, 24); 216 eax = MEM32(ecx + 0x8); /* 0x2B03B44C: mov eax, dword ptr [ecx + 8] */ 217 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B455; /* 0x2B03B44F: jne 0x2b03b455 */ 218 L_2B03B451: 219 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 220 ecx = 0; /* 0x2B03B451: xor ecx, ecx */ 221 _cf = 0; 222 _flag_k = FK_TEST; 223 goto L_2B03B462; /* 0x2B03B453: jmp 0x2b03b462 */ 224 L_2B03B455: 225 SET_LO8(ebx, MEM8(ecx + 0x24)); /* 0x2B03B455: mov bl, byte ptr [ecx + 0x24] */ 226 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B458: test bl, bl */ 227 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 228 _cf = 0; 229 _flag_k = FK_NARROW(FK_TEST, 24); 230 ecx = MEM32(ecx + 0x18); /* 0x2B03B45A: mov ecx, dword ptr [ecx + 0x18] */ 231 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B462; /* 0x2B03B45D: jne 0x2b03b462 */ 232 L_2B03B45F: 233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 234 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 235 ecx = ecx + 0x14u; /* 0x2B03B45F: add ecx, 0x14 */ 236 _flag_k = FK_ADD; 237 L_2B03B462: 238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 239 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 240 ecx = ecx + eax; /* 0x2B03B462: add ecx, eax */ 241 _flag_k = FK_ADD; 242 /* cmp esi, eax */ /* 0x2B03B464: cmp esi, eax */ 243 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 245 _flag_k = FK_CMP; 246 if (CMP_LE(_flag_a, _flag_b)) goto L_2B03B46C; /* 0x2B03B466: jle 0x2b03b46c */ 247 L_2B03B468: 248 /* cmp esi, ecx */ /* 0x2B03B468: cmp esi, ecx */ 249 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 251 _flag_k = FK_CMP; 252 if (CMP_L(_flag_a, _flag_b)) goto L_2B03B474; /* 0x2B03B46A: jl 0x2b03b474 */ 253 L_2B03B46C: 254 edx = MEM32(edx); /* 0x2B03B46C: mov edx, dword ptr [edx] */ 255 /* cmp edx, edi */ /* 0x2B03B46E: cmp edx, edi */ 256 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 258 _flag_k = FK_CMP; 259 RECOMP_BACKEDGE(); 260 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B444; /* 0x2B03B470: jne 0x2b03b444 */ 261 L_2B03B472: 262 goto L_2B03B481; /* 0x2B03B472: jmp 0x2b03b481 */ 263 L_2B03B474: 264 /* cmp eax, MEM32(ebp + 0xC) */ /* 0x2B03B474: cmp eax, dword ptr [ebp + 0xc] */ 265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 267 _flag_k = FK_CMP; 268 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B491; /* 0x2B03B477: je 0x2b03b491 */ 269 L_2B03B479: 270 edi = POP32_VAL(esp); /* 0x2B03B479: pop edi */ 271 esi = POP32_VAL(esp); /* 0x2B03B47A: pop esi */ 272 ebx = POP32_VAL(esp); /* 0x2B03B47B: pop ebx */ 273 ebp = POP32_VAL(esp); /* 0x2B03B47C: pop ebp */ 274 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B47D: ret */ 275 L_2B03B47E: 276 ecx = MEM32(ebp + 0xC); /* 0x2B03B47E: mov ecx, dword ptr [ebp + 0xc] */ 277 L_2B03B481: 278 /* cmp esi, ecx */ /* 0x2B03B481: cmp esi, ecx */ 279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 281 _flag_k = FK_CMP; 282 if (CMP_LE(_flag_a, _flag_b)) goto L_2B03B491; /* 0x2B03B483: jle 0x2b03b491 */ 283 L_2B03B485: 284 /* cmp MEM32(ebp + 0xC), ecx */ /* 0x2B03B485: cmp dword ptr [ebp + 0xc], ecx */ 285 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(ecx); 286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 287 _flag_k = FK_CMP; 288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B491; /* 0x2B03B488: je 0x2b03b491 */ 289 L_2B03B48A: 290 edi = POP32_VAL(esp); /* 0x2B03B48A: pop edi */ 291 esi = POP32_VAL(esp); /* 0x2B03B48B: pop esi */ 292 eax = ecx; /* 0x2B03B48C: mov eax, ecx */ 293 ebx = POP32_VAL(esp); /* 0x2B03B48E: pop ebx */ 294 ebp = POP32_VAL(esp); /* 0x2B03B48F: pop ebp */ 295 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B490: ret */ 296 L_2B03B491: 297 edi = POP32_VAL(esp); /* 0x2B03B491: pop edi */ 298 esi = POP32_VAL(esp); /* 0x2B03B492: pop esi */ 299 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 300 eax = eax | 0xFFFFFFFFu; /* 0x2B03B493: or eax, 0xffffffff */ 301 _cf = 0; 302 _flag_k = FK_TEST; 303 ebx = POP32_VAL(esp); /* 0x2B03B496: pop ebx */ 304 ebp = POP32_VAL(esp); /* 0x2B03B497: pop ebp */ 305 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B498: ret */ 306 RECOMP_REGS_OUT(); 307 } 308 309 void sub_2B03B4A0(void) { 310 int _fpu_cmp = 0; 311 uint32_t _cf = 0; 312 int _df = 1; 313 uint32_t _flag_k = FK_NONE; 314 uint32_t _flag_a = 0, _flag_b = 0; 315 uint32_t _itail_tgt = 0; 316 RECOMP_REGS_LOCALS 317 RECOMP_ENTER(0x2B03B4A0u); 318 319 L_2B03B4A0: 320 PUSH32(esp, ebp); /* 0x2B03B4A0: push ebp */ 321 ebp = esp; /* 0x2B03B4A1: mov ebp, esp */ 322 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 324 esp = esp - 0x10u; /* 0x2B03B4A3: sub esp, 0x10 */ 325 _flag_k = FK_CMP; 326 eax = MEM32(0x2B0EE9C8); /* 0x2B03B4A6: mov eax, dword ptr [0x2b0ee9c8] */ 327 /* test eax, eax */ /* 0x2B03B4AB: test eax, eax */ 328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 329 _cf = 0; 330 _flag_k = FK_TEST; 331 PUSH32(esp, ebx); /* 0x2B03B4AD: push ebx */ 332 PUSH32(esp, edi); /* 0x2B03B4AE: push edi */ 333 edi = MEM32(0x2B0EE9AC); /* 0x2B03B4AF: mov edi, dword ptr [0x2b0ee9ac] */ 334 MEM32(ebp + (-0xC)) = ecx; /* 0x2B03B4B5: mov dword ptr [ebp - 0xc], ecx */ 335 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B4C0; /* 0x2B03B4B8: je 0x2b03b4c0 */ 336 L_2B03B4BA: 337 edi = MEM32(0x2B0EE99C); /* 0x2B03B4BA: mov edi, dword ptr [0x2b0ee99c] */ 338 L_2B03B4C0: 339 eax = MEM32(edi); /* 0x2B03B4C0: mov eax, dword ptr [edi] */ 340 /* cmp eax, edi */ /* 0x2B03B4C2: cmp eax, edi */ 341 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 343 _flag_k = FK_CMP; 344 MEM32(ebp + (-0x8)) = 0; /* 0x2B03B4C4: mov dword ptr [ebp - 8], 0 */ 345 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B03B4CB: mov byte ptr [ebp - 1], 1 */ 346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B6CE; /* 0x2B03B4CF: je 0x2b03b6ce */ 347 L_2B03B4D5: 348 ecx = MEM32(eax + 0x8); /* 0x2B03B4D5: mov ecx, dword ptr [eax + 8] */ 349 edx = MEM32(ecx + 0x10); /* 0x2B03B4D8: mov edx, dword ptr [ecx + 0x10] */ 350 SET_LO8(ecx, MEM8(edx + 0x68)); /* 0x2B03B4DB: mov cl, byte ptr [edx + 0x68] */ 351 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03B4DE: test cl, cl */ 352 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 353 _cf = 0; 354 _flag_k = FK_NARROW(FK_TEST, 24); 355 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B4EE; /* 0x2B03B4E0: jne 0x2b03b4ee */ 356 L_2B03B4E2: 357 eax = MEM32(eax); /* 0x2B03B4E2: mov eax, dword ptr [eax] */ 358 /* cmp eax, edi */ /* 0x2B03B4E4: cmp eax, edi */ 359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 361 _flag_k = FK_CMP; 362 RECOMP_BACKEDGE(); 363 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B4D5; /* 0x2B03B4E6: jne 0x2b03b4d5 */ 364 L_2B03B4E8: 365 edi = POP32_VAL(esp); /* 0x2B03B4E8: pop edi */ 366 ebx = POP32_VAL(esp); /* 0x2B03B4E9: pop ebx */ 367 esp = ebp; /* 0x2B03B4EA: mov esp, ebp */ 368 ebp = POP32_VAL(esp); /* 0x2B03B4EC: pop ebp */ 369 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B4ED: ret */ 370 L_2B03B4EE: 371 ecx = MEM32(eax + 0x8); /* 0x2B03B4EE: mov ecx, dword ptr [eax + 8] */ 372 MEM32(ebp + (-0x8)) = ecx; /* 0x2B03B4F1: mov dword ptr [ebp - 8], ecx */ 373 edx = MEM32(eax + 0x8); /* 0x2B03B4F4: mov edx, dword ptr [eax + 8] */ 374 ecx = MEM32(edx + 0x10); /* 0x2B03B4F7: mov ecx, dword ptr [edx + 0x10] */ 375 ebx = MEM32(ecx + 0x60); /* 0x2B03B4FA: mov ebx, dword ptr [ecx + 0x60] */ 376 MEM8(ecx + 0x68) = (uint8_t)(0); /* 0x2B03B4FD: mov byte ptr [ecx + 0x68], 0 */ 377 ecx = MEM32(eax + 0x4); /* 0x2B03B501: mov ecx, dword ptr [eax + 4] */ 378 edx = MEM32(eax); /* 0x2B03B504: mov edx, dword ptr [eax] */ 379 MEM32(ecx) = edx; /* 0x2B03B506: mov dword ptr [ecx], edx */ 380 ecx = MEM32(eax); /* 0x2B03B508: mov ecx, dword ptr [eax] */ 381 edx = MEM32(eax + 0x4); /* 0x2B03B50A: mov edx, dword ptr [eax + 4] */ 382 PUSH32(esp, eax); /* 0x2B03B50D: push eax */ 383 MEM32(ecx + 0x4) = edx; /* 0x2B03B50E: mov dword ptr [ecx + 4], edx */ 384 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03B511: call 0x2b0ab1ba */ /* not lifted */ 385 RECOMP_FLAGS_IN(); 386 ecx = MEM32(0x2B0EE9B0); /* 0x2B03B516: mov ecx, dword ptr [0x2b0ee9b0] */ 387 eax = MEM32(ebp + (-0x8)); /* 0x2B03B51C: mov eax, dword ptr [ebp - 8] */ 388 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 390 esp = esp + 4; /* 0x2B03B51F: add esp, 4 */ 391 _flag_k = FK_ADD; 392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 393 ecx = ecx - 1; /* 0x2B03B522: dec ecx */ 394 _flag_k = FK_DEC; 395 /* test eax, eax */ /* 0x2B03B523: test eax, eax */ 396 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 397 _cf = 0; 398 _flag_k = FK_TEST; 399 MEM32(0x2B0EE9B0) = ecx; /* 0x2B03B525: mov dword ptr [0x2b0ee9b0], ecx */ 400 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B6CE; /* 0x2B03B52B: je 0x2b03b6ce */ 401 L_2B03B531: 402 ecx = MEM32(0x2B0EE9C8); /* 0x2B03B531: mov ecx, dword ptr [0x2b0ee9c8] */ 403 /* test ecx, ecx */ /* 0x2B03B537: test ecx, ecx */ 404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 405 _cf = 0; 406 _flag_k = FK_TEST; 407 edx = MEM32(0x2B0EE9AC); /* 0x2B03B539: mov edx, dword ptr [0x2b0ee9ac] */ 408 PUSH32(esp, esi); /* 0x2B03B53F: push esi */ 409 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B546; /* 0x2B03B540: jne 0x2b03b546 */ 410 L_2B03B542: 411 esi = MEM32(edx); /* 0x2B03B542: mov esi, dword ptr [edx] */ 412 goto L_2B03B54D; /* 0x2B03B544: jmp 0x2b03b54d */ 413 L_2B03B546: 414 eax = MEM32(0x2B0EE99C); /* 0x2B03B546: mov eax, dword ptr [0x2b0ee99c] */ 415 esi = MEM32(eax); /* 0x2B03B54B: mov esi, dword ptr [eax] */ 416 L_2B03B54D: 417 /* cmp esi, edi */ /* 0x2B03B54D: cmp esi, edi */ 418 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 420 _flag_k = FK_CMP; 421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B573; /* 0x2B03B54F: je 0x2b03b573 */ 422 L_2B03B551: 423 eax = MEM32(esi + 0x8); /* 0x2B03B551: mov eax, dword ptr [esi + 8] */ 424 eax = MEM32(eax + 0x8); /* 0x2B03B554: mov eax, dword ptr [eax + 8] */ 425 /* cmp eax, ebx */ /* 0x2B03B557: cmp eax, ebx */ 426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 428 _flag_k = FK_CMP; 429 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B58F; /* 0x2B03B559: je 0x2b03b58f */ 430 L_2B03B55B: 431 /* cmp MEM8(ebp + (-0x1)), 0 */ /* 0x2B03B55B: cmp byte ptr [ebp - 1], 0 */ 432 _flag_a = (uint32_t)(MEM8(ebp + (-0x1))) << 24; _flag_b = (uint32_t)(0) << 24; 433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 434 _flag_k = FK_NARROW(FK_CMP, 24); 435 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B56D; /* 0x2B03B55F: je 0x2b03b56d */ 436 L_2B03B561: 437 /* cmp ebx, eax */ /* 0x2B03B561: cmp ebx, eax */ 438 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 440 _flag_k = FK_CMP; 441 if (CMP_L(_flag_a, _flag_b)) goto L_2B03B636; /* 0x2B03B563: jl 0x2b03b636 */ 442 L_2B03B569: 443 MEM8(ebp + (-0x1)) = (uint8_t)(0); /* 0x2B03B569: mov byte ptr [ebp - 1], 0 */ 444 L_2B03B56D: 445 esi = MEM32(esi); /* 0x2B03B56D: mov esi, dword ptr [esi] */ 446 /* cmp esi, edi */ /* 0x2B03B56F: cmp esi, edi */ 447 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 449 _flag_k = FK_CMP; 450 RECOMP_BACKEDGE(); 451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B551; /* 0x2B03B571: jne 0x2b03b551 */ 452 L_2B03B573: 453 /* test ecx, ecx */ /* 0x2B03B573: test ecx, ecx */ 454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 455 _cf = 0; 456 _flag_k = FK_TEST; 457 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B6B2; /* 0x2B03B575: jne 0x2b03b6b2 */ 458 L_2B03B57B: 459 eax = MEM32(edi + 0x4); /* 0x2B03B57B: mov eax, dword ptr [edi + 4] */ 460 PUSH32(esp, eax); /* 0x2B03B57E: push eax */ 461 PUSH32(esp, edi); /* 0x2B03B57F: push edi */ 462 ecx = 0x2B0EE9A8u; /* 0x2B03B580: mov ecx, 0x2b0ee9a8 */ 463 RECOMP_ICALL(0x2B03BC90u); /* 0x2B03B585: call 0x2b03bc90 */ /* not lifted */ 464 RECOMP_FLAGS_IN(); 465 MEM32(edi + 0x4) = eax; /* 0x2B03B58A: mov dword ptr [edi + 4], eax */ 466 goto L_2B03B5B8; /* 0x2B03B58D: jmp 0x2b03b5b8 */ 467 L_2B03B58F: 468 /* test ecx, ecx */ /* 0x2B03B58F: test ecx, ecx */ 469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 470 _cf = 0; 471 _flag_k = FK_TEST; 472 edi = MEM32(esi + 0x4); /* 0x2B03B591: mov edi, dword ptr [esi + 4] */ 473 PUSH32(esp, 0xCu); /* 0x2B03B594: push 0xc */ 474 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5E7; /* 0x2B03B596: jne 0x2b03b5e7 */ 475 L_2B03B598: 476 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B598: call 0x2b0ab212 */ /* not lifted */ 477 RECOMP_FLAGS_IN(); 478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 480 esp = esp + 4; /* 0x2B03B59D: add esp, 4 */ 481 _flag_k = FK_ADD; 482 /* test esi, esi */ /* 0x2B03B5A0: test esi, esi */ 483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 484 _cf = 0; 485 _flag_k = FK_TEST; 486 ecx = esi; /* 0x2B03B5A2: mov ecx, esi */ 487 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5A8; /* 0x2B03B5A4: jne 0x2b03b5a8 */ 488 L_2B03B5A6: 489 ecx = eax; /* 0x2B03B5A6: mov ecx, eax */ 490 L_2B03B5A8: 491 /* test edi, edi */ /* 0x2B03B5A8: test edi, edi */ 492 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 493 _cf = 0; 494 _flag_k = FK_TEST; 495 MEM32(eax) = ecx; /* 0x2B03B5AA: mov dword ptr [eax], ecx */ 496 ecx = edi; /* 0x2B03B5AC: mov ecx, edi */ 497 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5B2; /* 0x2B03B5AE: jne 0x2b03b5b2 */ 498 L_2B03B5B0: 499 ecx = eax; /* 0x2B03B5B0: mov ecx, eax */ 500 L_2B03B5B2: 501 MEM32(eax + 0x4) = ecx; /* 0x2B03B5B2: mov dword ptr [eax + 4], ecx */ 502 MEM32(esi + 0x4) = eax; /* 0x2B03B5B5: mov dword ptr [esi + 4], eax */ 503 L_2B03B5B8: 504 ecx = MEM32(eax + 0x4); /* 0x2B03B5B8: mov ecx, dword ptr [eax + 4] */ 505 edx = ebp + (-0x8); /* 0x2B03B5BB: lea edx, [ebp - 8] */ 506 MEM32(ecx) = eax; /* 0x2B03B5BE: mov dword ptr [ecx], eax */ 507 PUSH32(esp, edx); /* 0x2B03B5C0: push edx */ 508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 510 eax = eax + 8; /* 0x2B03B5C1: add eax, 8 */ 511 _flag_k = FK_ADD; 512 PUSH32(esp, eax); /* 0x2B03B5C4: push eax */ 513 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B5C5: call 0x2b02aae0 */ /* not lifted */ 514 RECOMP_FLAGS_IN(); 515 eax = MEM32(0x2B0EE9B0); /* 0x2B03B5CA: mov eax, dword ptr [0x2b0ee9b0] */ 516 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B5CF: mov ecx, dword ptr [ebp - 0xc] */ 517 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 518 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 519 esp = esp + 8; /* 0x2B03B5D2: add esp, 8 */ 520 _flag_k = FK_ADD; 521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 522 eax = eax + 1; /* 0x2B03B5D5: inc eax */ 523 _flag_k = FK_INC; 524 MEM32(0x2B0EE9B0) = eax; /* 0x2B03B5D6: mov dword ptr [0x2b0ee9b0], eax */ 525 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B5DB: call 0x2b03b110 */ /* not lifted */ 526 RECOMP_FLAGS_IN(); 527 esi = POP32_VAL(esp); /* 0x2B03B5E0: pop esi */ 528 edi = POP32_VAL(esp); /* 0x2B03B5E1: pop edi */ 529 ebx = POP32_VAL(esp); /* 0x2B03B5E2: pop ebx */ 530 esp = ebp; /* 0x2B03B5E3: mov esp, ebp */ 531 ebp = POP32_VAL(esp); /* 0x2B03B5E5: pop ebp */ 532 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B5E6: ret */ 533 L_2B03B5E7: 534 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B5E7: call 0x2b0ab212 */ /* not lifted */ 535 RECOMP_FLAGS_IN(); 536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 538 esp = esp + 4; /* 0x2B03B5EC: add esp, 4 */ 539 _flag_k = FK_ADD; 540 /* test esi, esi */ /* 0x2B03B5EF: test esi, esi */ 541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 542 _cf = 0; 543 _flag_k = FK_TEST; 544 ecx = esi; /* 0x2B03B5F1: mov ecx, esi */ 545 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5F7; /* 0x2B03B5F3: jne 0x2b03b5f7 */ 546 L_2B03B5F5: 547 ecx = eax; /* 0x2B03B5F5: mov ecx, eax */ 548 L_2B03B5F7: 549 /* test edi, edi */ /* 0x2B03B5F7: test edi, edi */ 550 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 551 _cf = 0; 552 _flag_k = FK_TEST; 553 MEM32(eax) = ecx; /* 0x2B03B5F9: mov dword ptr [eax], ecx */ 554 ecx = edi; /* 0x2B03B5FB: mov ecx, edi */ 555 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B601; /* 0x2B03B5FD: jne 0x2b03b601 */ 556 L_2B03B5FF: 557 ecx = eax; /* 0x2B03B5FF: mov ecx, eax */ 558 L_2B03B601: 559 MEM32(eax + 0x4) = ecx; /* 0x2B03B601: mov dword ptr [eax + 4], ecx */ 560 MEM32(esi + 0x4) = eax; /* 0x2B03B604: mov dword ptr [esi + 4], eax */ 561 ecx = MEM32(eax + 0x4); /* 0x2B03B607: mov ecx, dword ptr [eax + 4] */ 562 edx = ebp + (-0x8); /* 0x2B03B60A: lea edx, [ebp - 8] */ 563 MEM32(ecx) = eax; /* 0x2B03B60D: mov dword ptr [ecx], eax */ 564 PUSH32(esp, edx); /* 0x2B03B60F: push edx */ 565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 567 eax = eax + 8; /* 0x2B03B610: add eax, 8 */ 568 _flag_k = FK_ADD; 569 PUSH32(esp, eax); /* 0x2B03B613: push eax */ 570 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B614: call 0x2b02aae0 */ /* not lifted */ 571 RECOMP_FLAGS_IN(); 572 eax = MEM32(0x2B0EE9A0); /* 0x2B03B619: mov eax, dword ptr [0x2b0ee9a0] */ 573 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B61E: mov ecx, dword ptr [ebp - 0xc] */ 574 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 576 esp = esp + 8; /* 0x2B03B621: add esp, 8 */ 577 _flag_k = FK_ADD; 578 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 579 eax = eax + 1; /* 0x2B03B624: inc eax */ 580 _flag_k = FK_INC; 581 MEM32(0x2B0EE9A0) = eax; /* 0x2B03B625: mov dword ptr [0x2b0ee9a0], eax */ 582 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B62A: call 0x2b03b110 */ /* not lifted */ 583 RECOMP_FLAGS_IN(); 584 esi = POP32_VAL(esp); /* 0x2B03B62F: pop esi */ 585 edi = POP32_VAL(esp); /* 0x2B03B630: pop edi */ 586 ebx = POP32_VAL(esp); /* 0x2B03B631: pop ebx */ 587 esp = ebp; /* 0x2B03B632: mov esp, ebp */ 588 ebp = POP32_VAL(esp); /* 0x2B03B634: pop ebp */ 589 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B635: ret */ 590 L_2B03B636: 591 /* test ecx, ecx */ /* 0x2B03B636: test ecx, ecx */ 592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 593 _cf = 0; 594 _flag_k = FK_TEST; 595 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B65E; /* 0x2B03B638: jne 0x2b03b65e */ 596 L_2B03B63A: 597 eax = MEM32(edx); /* 0x2B03B63A: mov eax, dword ptr [edx] */ 598 ecx = ebp + (-0x8); /* 0x2B03B63C: lea ecx, [ebp - 8] */ 599 PUSH32(esp, ecx); /* 0x2B03B63F: push ecx */ 600 PUSH32(esp, eax); /* 0x2B03B640: push eax */ 601 edx = ebp + (-0x10); /* 0x2B03B641: lea edx, [ebp - 0x10] */ 602 PUSH32(esp, edx); /* 0x2B03B644: push edx */ 603 ecx = 0x2B0EE9A8u; /* 0x2B03B645: mov ecx, 0x2b0ee9a8 */ 604 RECOMP_ICALL(0x2B03BBF0u); /* 0x2B03B64A: call 0x2b03bbf0 */ /* not lifted */ 605 RECOMP_FLAGS_IN(); 606 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B64F: mov ecx, dword ptr [ebp - 0xc] */ 607 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B652: call 0x2b03b110 */ /* not lifted */ 608 RECOMP_FLAGS_IN(); 609 esi = POP32_VAL(esp); /* 0x2B03B657: pop esi */ 610 edi = POP32_VAL(esp); /* 0x2B03B658: pop edi */ 611 ebx = POP32_VAL(esp); /* 0x2B03B659: pop ebx */ 612 esp = ebp; /* 0x2B03B65A: mov esp, ebp */ 613 ebp = POP32_VAL(esp); /* 0x2B03B65C: pop ebp */ 614 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B65D: ret */ 615 L_2B03B65E: 616 edi = MEM32(esi + 0x4); /* 0x2B03B65E: mov edi, dword ptr [esi + 4] */ 617 PUSH32(esp, 0xCu); /* 0x2B03B661: push 0xc */ 618 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B663: call 0x2b0ab212 */ /* not lifted */ 619 RECOMP_FLAGS_IN(); 620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 622 esp = esp + 4; /* 0x2B03B668: add esp, 4 */ 623 _flag_k = FK_ADD; 624 /* test esi, esi */ /* 0x2B03B66B: test esi, esi */ 625 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 626 _cf = 0; 627 _flag_k = FK_TEST; 628 ecx = esi; /* 0x2B03B66D: mov ecx, esi */ 629 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B673; /* 0x2B03B66F: jne 0x2b03b673 */ 630 L_2B03B671: 631 ecx = eax; /* 0x2B03B671: mov ecx, eax */ 632 L_2B03B673: 633 /* test edi, edi */ /* 0x2B03B673: test edi, edi */ 634 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 635 _cf = 0; 636 _flag_k = FK_TEST; 637 MEM32(eax) = ecx; /* 0x2B03B675: mov dword ptr [eax], ecx */ 638 ecx = edi; /* 0x2B03B677: mov ecx, edi */ 639 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B67D; /* 0x2B03B679: jne 0x2b03b67d */ 640 L_2B03B67B: 641 ecx = eax; /* 0x2B03B67B: mov ecx, eax */ 642 L_2B03B67D: 643 MEM32(eax + 0x4) = ecx; /* 0x2B03B67D: mov dword ptr [eax + 4], ecx */ 644 MEM32(esi + 0x4) = eax; /* 0x2B03B680: mov dword ptr [esi + 4], eax */ 645 ecx = MEM32(eax + 0x4); /* 0x2B03B683: mov ecx, dword ptr [eax + 4] */ 646 edx = ebp + (-0x8); /* 0x2B03B686: lea edx, [ebp - 8] */ 647 MEM32(ecx) = eax; /* 0x2B03B689: mov dword ptr [ecx], eax */ 648 PUSH32(esp, edx); /* 0x2B03B68B: push edx */ 649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 651 eax = eax + 8; /* 0x2B03B68C: add eax, 8 */ 652 _flag_k = FK_ADD; 653 PUSH32(esp, eax); /* 0x2B03B68F: push eax */ 654 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B690: call 0x2b02aae0 */ /* not lifted */ 655 RECOMP_FLAGS_IN(); 656 eax = MEM32(0x2B0EE9A0); /* 0x2B03B695: mov eax, dword ptr [0x2b0ee9a0] */ 657 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B69A: mov ecx, dword ptr [ebp - 0xc] */ 658 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 659 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 660 esp = esp + 8; /* 0x2B03B69D: add esp, 8 */ 661 _flag_k = FK_ADD; 662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 663 eax = eax + 1; /* 0x2B03B6A0: inc eax */ 664 _flag_k = FK_INC; 665 MEM32(0x2B0EE9A0) = eax; /* 0x2B03B6A1: mov dword ptr [0x2b0ee9a0], eax */ 666 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B6A6: call 0x2b03b110 */ /* not lifted */ 667 RECOMP_FLAGS_IN(); 668 esi = POP32_VAL(esp); /* 0x2B03B6AB: pop esi */ 669 edi = POP32_VAL(esp); /* 0x2B03B6AC: pop edi */ 670 ebx = POP32_VAL(esp); /* 0x2B03B6AD: pop ebx */ 671 esp = ebp; /* 0x2B03B6AE: mov esp, ebp */ 672 ebp = POP32_VAL(esp); /* 0x2B03B6B0: pop ebp */ 673 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B6B1: ret */ 674 L_2B03B6B2: 675 eax = ebp + (-0x8); /* 0x2B03B6B2: lea eax, [ebp - 8] */ 676 PUSH32(esp, eax); /* 0x2B03B6B5: push eax */ 677 PUSH32(esp, edi); /* 0x2B03B6B6: push edi */ 678 ecx = ebp + (-0x10); /* 0x2B03B6B7: lea ecx, [ebp - 0x10] */ 679 PUSH32(esp, ecx); /* 0x2B03B6BA: push ecx */ 680 ecx = 0x2B0EE998u; /* 0x2B03B6BB: mov ecx, 0x2b0ee998 */ 681 RECOMP_ICALL(0x2B03BBF0u); /* 0x2B03B6C0: call 0x2b03bbf0 */ /* not lifted */ 682 RECOMP_FLAGS_IN(); 683 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B6C5: mov ecx, dword ptr [ebp - 0xc] */ 684 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B6C8: call 0x2b03b110 */ /* not lifted */ 685 RECOMP_FLAGS_IN(); 686 esi = POP32_VAL(esp); /* 0x2B03B6CD: pop esi */ 687 L_2B03B6CE: 688 edi = POP32_VAL(esp); /* 0x2B03B6CE: pop edi */ 689 ebx = POP32_VAL(esp); /* 0x2B03B6CF: pop ebx */ 690 esp = ebp; /* 0x2B03B6D0: mov esp, ebp */ 691 ebp = POP32_VAL(esp); /* 0x2B03B6D2: pop ebp */ 692 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B6D3: ret */ 693 RECOMP_REGS_OUT(); 694 } 695 696 void sub_2B03B54D(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(0x2B03B54Du); 705 706 L_2B03B54D: 707 /* cmp esi, edi */ /* 0x2B03B54D: cmp esi, edi */ 708 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 710 _flag_k = FK_CMP; 711 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B573; /* 0x2B03B54F: je 0x2b03b573 */ 712 L_2B03B551: 713 eax = MEM32(esi + 0x8); /* 0x2B03B551: mov eax, dword ptr [esi + 8] */ 714 eax = MEM32(eax + 0x8); /* 0x2B03B554: mov eax, dword ptr [eax + 8] */ 715 /* cmp eax, ebx */ /* 0x2B03B557: cmp eax, ebx */ 716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 718 _flag_k = FK_CMP; 719 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B58F; /* 0x2B03B559: je 0x2b03b58f */ 720 L_2B03B55B: 721 /* cmp MEM8(ebp + (-0x1)), 0 */ /* 0x2B03B55B: cmp byte ptr [ebp - 1], 0 */ 722 _flag_a = (uint32_t)(MEM8(ebp + (-0x1))) << 24; _flag_b = (uint32_t)(0) << 24; 723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 724 _flag_k = FK_NARROW(FK_CMP, 24); 725 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B56D; /* 0x2B03B55F: je 0x2b03b56d */ 726 L_2B03B561: 727 /* cmp ebx, eax */ /* 0x2B03B561: cmp ebx, eax */ 728 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 730 _flag_k = FK_CMP; 731 if (CMP_L(_flag_a, _flag_b)) goto L_2B03B636; /* 0x2B03B563: jl 0x2b03b636 */ 732 L_2B03B569: 733 MEM8(ebp + (-0x1)) = (uint8_t)(0); /* 0x2B03B569: mov byte ptr [ebp - 1], 0 */ 734 L_2B03B56D: 735 esi = MEM32(esi); /* 0x2B03B56D: mov esi, dword ptr [esi] */ 736 /* cmp esi, edi */ /* 0x2B03B56F: cmp esi, edi */ 737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 739 _flag_k = FK_CMP; 740 RECOMP_BACKEDGE(); 741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B551; /* 0x2B03B571: jne 0x2b03b551 */ 742 L_2B03B573: 743 /* test ecx, ecx */ /* 0x2B03B573: test ecx, ecx */ 744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 745 _cf = 0; 746 _flag_k = FK_TEST; 747 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B6B2; /* 0x2B03B575: jne 0x2b03b6b2 */ 748 L_2B03B57B: 749 eax = MEM32(edi + 0x4); /* 0x2B03B57B: mov eax, dword ptr [edi + 4] */ 750 PUSH32(esp, eax); /* 0x2B03B57E: push eax */ 751 PUSH32(esp, edi); /* 0x2B03B57F: push edi */ 752 ecx = 0x2B0EE9A8u; /* 0x2B03B580: mov ecx, 0x2b0ee9a8 */ 753 RECOMP_ICALL(0x2B03BC90u); /* 0x2B03B585: call 0x2b03bc90 */ /* not lifted */ 754 RECOMP_FLAGS_IN(); 755 MEM32(edi + 0x4) = eax; /* 0x2B03B58A: mov dword ptr [edi + 4], eax */ 756 goto L_2B03B5B8; /* 0x2B03B58D: jmp 0x2b03b5b8 */ 757 L_2B03B58F: 758 /* test ecx, ecx */ /* 0x2B03B58F: test ecx, ecx */ 759 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 760 _cf = 0; 761 _flag_k = FK_TEST; 762 edi = MEM32(esi + 0x4); /* 0x2B03B591: mov edi, dword ptr [esi + 4] */ 763 PUSH32(esp, 0xCu); /* 0x2B03B594: push 0xc */ 764 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5E7; /* 0x2B03B596: jne 0x2b03b5e7 */ 765 L_2B03B598: 766 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B598: call 0x2b0ab212 */ /* not lifted */ 767 RECOMP_FLAGS_IN(); 768 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 769 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 770 esp = esp + 4; /* 0x2B03B59D: add esp, 4 */ 771 _flag_k = FK_ADD; 772 /* test esi, esi */ /* 0x2B03B5A0: test esi, esi */ 773 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 774 _cf = 0; 775 _flag_k = FK_TEST; 776 ecx = esi; /* 0x2B03B5A2: mov ecx, esi */ 777 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5A8; /* 0x2B03B5A4: jne 0x2b03b5a8 */ 778 L_2B03B5A6: 779 ecx = eax; /* 0x2B03B5A6: mov ecx, eax */ 780 L_2B03B5A8: 781 /* test edi, edi */ /* 0x2B03B5A8: test edi, edi */ 782 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 783 _cf = 0; 784 _flag_k = FK_TEST; 785 MEM32(eax) = ecx; /* 0x2B03B5AA: mov dword ptr [eax], ecx */ 786 ecx = edi; /* 0x2B03B5AC: mov ecx, edi */ 787 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5B2; /* 0x2B03B5AE: jne 0x2b03b5b2 */ 788 L_2B03B5B0: 789 ecx = eax; /* 0x2B03B5B0: mov ecx, eax */ 790 L_2B03B5B2: 791 MEM32(eax + 0x4) = ecx; /* 0x2B03B5B2: mov dword ptr [eax + 4], ecx */ 792 MEM32(esi + 0x4) = eax; /* 0x2B03B5B5: mov dword ptr [esi + 4], eax */ 793 L_2B03B5B8: 794 ecx = MEM32(eax + 0x4); /* 0x2B03B5B8: mov ecx, dword ptr [eax + 4] */ 795 edx = ebp + (-0x8); /* 0x2B03B5BB: lea edx, [ebp - 8] */ 796 MEM32(ecx) = eax; /* 0x2B03B5BE: mov dword ptr [ecx], eax */ 797 PUSH32(esp, edx); /* 0x2B03B5C0: push edx */ 798 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 799 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 800 eax = eax + 8; /* 0x2B03B5C1: add eax, 8 */ 801 _flag_k = FK_ADD; 802 PUSH32(esp, eax); /* 0x2B03B5C4: push eax */ 803 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B5C5: call 0x2b02aae0 */ /* not lifted */ 804 RECOMP_FLAGS_IN(); 805 eax = MEM32(0x2B0EE9B0); /* 0x2B03B5CA: mov eax, dword ptr [0x2b0ee9b0] */ 806 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B5CF: mov ecx, dword ptr [ebp - 0xc] */ 807 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 809 esp = esp + 8; /* 0x2B03B5D2: add esp, 8 */ 810 _flag_k = FK_ADD; 811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 812 eax = eax + 1; /* 0x2B03B5D5: inc eax */ 813 _flag_k = FK_INC; 814 MEM32(0x2B0EE9B0) = eax; /* 0x2B03B5D6: mov dword ptr [0x2b0ee9b0], eax */ 815 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B5DB: call 0x2b03b110 */ /* not lifted */ 816 RECOMP_FLAGS_IN(); 817 esi = POP32_VAL(esp); /* 0x2B03B5E0: pop esi */ 818 edi = POP32_VAL(esp); /* 0x2B03B5E1: pop edi */ 819 ebx = POP32_VAL(esp); /* 0x2B03B5E2: pop ebx */ 820 esp = ebp; /* 0x2B03B5E3: mov esp, ebp */ 821 ebp = POP32_VAL(esp); /* 0x2B03B5E5: pop ebp */ 822 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B5E6: ret */ 823 L_2B03B5E7: 824 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B5E7: call 0x2b0ab212 */ /* not lifted */ 825 RECOMP_FLAGS_IN(); 826 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 827 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 828 esp = esp + 4; /* 0x2B03B5EC: add esp, 4 */ 829 _flag_k = FK_ADD; 830 /* test esi, esi */ /* 0x2B03B5EF: test esi, esi */ 831 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 832 _cf = 0; 833 _flag_k = FK_TEST; 834 ecx = esi; /* 0x2B03B5F1: mov ecx, esi */ 835 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B5F7; /* 0x2B03B5F3: jne 0x2b03b5f7 */ 836 L_2B03B5F5: 837 ecx = eax; /* 0x2B03B5F5: mov ecx, eax */ 838 L_2B03B5F7: 839 /* test edi, edi */ /* 0x2B03B5F7: test edi, edi */ 840 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 841 _cf = 0; 842 _flag_k = FK_TEST; 843 MEM32(eax) = ecx; /* 0x2B03B5F9: mov dword ptr [eax], ecx */ 844 ecx = edi; /* 0x2B03B5FB: mov ecx, edi */ 845 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B601; /* 0x2B03B5FD: jne 0x2b03b601 */ 846 L_2B03B5FF: 847 ecx = eax; /* 0x2B03B5FF: mov ecx, eax */ 848 L_2B03B601: 849 MEM32(eax + 0x4) = ecx; /* 0x2B03B601: mov dword ptr [eax + 4], ecx */ 850 MEM32(esi + 0x4) = eax; /* 0x2B03B604: mov dword ptr [esi + 4], eax */ 851 ecx = MEM32(eax + 0x4); /* 0x2B03B607: mov ecx, dword ptr [eax + 4] */ 852 edx = ebp + (-0x8); /* 0x2B03B60A: lea edx, [ebp - 8] */ 853 MEM32(ecx) = eax; /* 0x2B03B60D: mov dword ptr [ecx], eax */ 854 PUSH32(esp, edx); /* 0x2B03B60F: push edx */ 855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 857 eax = eax + 8; /* 0x2B03B610: add eax, 8 */ 858 _flag_k = FK_ADD; 859 PUSH32(esp, eax); /* 0x2B03B613: push eax */ 860 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B614: call 0x2b02aae0 */ /* not lifted */ 861 RECOMP_FLAGS_IN(); 862 eax = MEM32(0x2B0EE9A0); /* 0x2B03B619: mov eax, dword ptr [0x2b0ee9a0] */ 863 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B61E: mov ecx, dword ptr [ebp - 0xc] */ 864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 866 esp = esp + 8; /* 0x2B03B621: add esp, 8 */ 867 _flag_k = FK_ADD; 868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 869 eax = eax + 1; /* 0x2B03B624: inc eax */ 870 _flag_k = FK_INC; 871 MEM32(0x2B0EE9A0) = eax; /* 0x2B03B625: mov dword ptr [0x2b0ee9a0], eax */ 872 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B62A: call 0x2b03b110 */ /* not lifted */ 873 RECOMP_FLAGS_IN(); 874 esi = POP32_VAL(esp); /* 0x2B03B62F: pop esi */ 875 edi = POP32_VAL(esp); /* 0x2B03B630: pop edi */ 876 ebx = POP32_VAL(esp); /* 0x2B03B631: pop ebx */ 877 esp = ebp; /* 0x2B03B632: mov esp, ebp */ 878 ebp = POP32_VAL(esp); /* 0x2B03B634: pop ebp */ 879 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B635: ret */ 880 L_2B03B636: 881 /* test ecx, ecx */ /* 0x2B03B636: test ecx, ecx */ 882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 883 _cf = 0; 884 _flag_k = FK_TEST; 885 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B65E; /* 0x2B03B638: jne 0x2b03b65e */ 886 L_2B03B63A: 887 eax = MEM32(edx); /* 0x2B03B63A: mov eax, dword ptr [edx] */ 888 ecx = ebp + (-0x8); /* 0x2B03B63C: lea ecx, [ebp - 8] */ 889 PUSH32(esp, ecx); /* 0x2B03B63F: push ecx */ 890 PUSH32(esp, eax); /* 0x2B03B640: push eax */ 891 edx = ebp + (-0x10); /* 0x2B03B641: lea edx, [ebp - 0x10] */ 892 PUSH32(esp, edx); /* 0x2B03B644: push edx */ 893 ecx = 0x2B0EE9A8u; /* 0x2B03B645: mov ecx, 0x2b0ee9a8 */ 894 RECOMP_ICALL(0x2B03BBF0u); /* 0x2B03B64A: call 0x2b03bbf0 */ /* not lifted */ 895 RECOMP_FLAGS_IN(); 896 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B64F: mov ecx, dword ptr [ebp - 0xc] */ 897 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B652: call 0x2b03b110 */ /* not lifted */ 898 RECOMP_FLAGS_IN(); 899 esi = POP32_VAL(esp); /* 0x2B03B657: pop esi */ 900 edi = POP32_VAL(esp); /* 0x2B03B658: pop edi */ 901 ebx = POP32_VAL(esp); /* 0x2B03B659: pop ebx */ 902 esp = ebp; /* 0x2B03B65A: mov esp, ebp */ 903 ebp = POP32_VAL(esp); /* 0x2B03B65C: pop ebp */ 904 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B65D: ret */ 905 L_2B03B65E: 906 edi = MEM32(esi + 0x4); /* 0x2B03B65E: mov edi, dword ptr [esi + 4] */ 907 PUSH32(esp, 0xCu); /* 0x2B03B661: push 0xc */ 908 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03B663: call 0x2b0ab212 */ /* not lifted */ 909 RECOMP_FLAGS_IN(); 910 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 912 esp = esp + 4; /* 0x2B03B668: add esp, 4 */ 913 _flag_k = FK_ADD; 914 /* test esi, esi */ /* 0x2B03B66B: test esi, esi */ 915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 916 _cf = 0; 917 _flag_k = FK_TEST; 918 ecx = esi; /* 0x2B03B66D: mov ecx, esi */ 919 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B673; /* 0x2B03B66F: jne 0x2b03b673 */ 920 L_2B03B671: 921 ecx = eax; /* 0x2B03B671: mov ecx, eax */ 922 L_2B03B673: 923 /* test edi, edi */ /* 0x2B03B673: test edi, edi */ 924 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 925 _cf = 0; 926 _flag_k = FK_TEST; 927 MEM32(eax) = ecx; /* 0x2B03B675: mov dword ptr [eax], ecx */ 928 ecx = edi; /* 0x2B03B677: mov ecx, edi */ 929 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B67D; /* 0x2B03B679: jne 0x2b03b67d */ 930 L_2B03B67B: 931 ecx = eax; /* 0x2B03B67B: mov ecx, eax */ 932 L_2B03B67D: 933 MEM32(eax + 0x4) = ecx; /* 0x2B03B67D: mov dword ptr [eax + 4], ecx */ 934 MEM32(esi + 0x4) = eax; /* 0x2B03B680: mov dword ptr [esi + 4], eax */ 935 ecx = MEM32(eax + 0x4); /* 0x2B03B683: mov ecx, dword ptr [eax + 4] */ 936 edx = ebp + (-0x8); /* 0x2B03B686: lea edx, [ebp - 8] */ 937 MEM32(ecx) = eax; /* 0x2B03B689: mov dword ptr [ecx], eax */ 938 PUSH32(esp, edx); /* 0x2B03B68B: push edx */ 939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 941 eax = eax + 8; /* 0x2B03B68C: add eax, 8 */ 942 _flag_k = FK_ADD; 943 PUSH32(esp, eax); /* 0x2B03B68F: push eax */ 944 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B690: call 0x2b02aae0 */ /* not lifted */ 945 RECOMP_FLAGS_IN(); 946 eax = MEM32(0x2B0EE9A0); /* 0x2B03B695: mov eax, dword ptr [0x2b0ee9a0] */ 947 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B69A: mov ecx, dword ptr [ebp - 0xc] */ 948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 950 esp = esp + 8; /* 0x2B03B69D: add esp, 8 */ 951 _flag_k = FK_ADD; 952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 953 eax = eax + 1; /* 0x2B03B6A0: inc eax */ 954 _flag_k = FK_INC; 955 MEM32(0x2B0EE9A0) = eax; /* 0x2B03B6A1: mov dword ptr [0x2b0ee9a0], eax */ 956 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B6A6: call 0x2b03b110 */ /* not lifted */ 957 RECOMP_FLAGS_IN(); 958 esi = POP32_VAL(esp); /* 0x2B03B6AB: pop esi */ 959 edi = POP32_VAL(esp); /* 0x2B03B6AC: pop edi */ 960 ebx = POP32_VAL(esp); /* 0x2B03B6AD: pop ebx */ 961 esp = ebp; /* 0x2B03B6AE: mov esp, ebp */ 962 ebp = POP32_VAL(esp); /* 0x2B03B6B0: pop ebp */ 963 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B6B1: ret */ 964 L_2B03B6B2: 965 eax = ebp + (-0x8); /* 0x2B03B6B2: lea eax, [ebp - 8] */ 966 PUSH32(esp, eax); /* 0x2B03B6B5: push eax */ 967 PUSH32(esp, edi); /* 0x2B03B6B6: push edi */ 968 ecx = ebp + (-0x10); /* 0x2B03B6B7: lea ecx, [ebp - 0x10] */ 969 PUSH32(esp, ecx); /* 0x2B03B6BA: push ecx */ 970 ecx = 0x2B0EE998u; /* 0x2B03B6BB: mov ecx, 0x2b0ee998 */ 971 RECOMP_ICALL(0x2B03BBF0u); /* 0x2B03B6C0: call 0x2b03bbf0 */ /* not lifted */ 972 RECOMP_FLAGS_IN(); 973 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B6C5: mov ecx, dword ptr [ebp - 0xc] */ 974 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B6C8: call 0x2b03b110 */ /* not lifted */ 975 RECOMP_FLAGS_IN(); 976 esi = POP32_VAL(esp); /* 0x2B03B6CD: pop esi */ 977 edi = POP32_VAL(esp); /* 0x2B03B6CE: pop edi */ 978 ebx = POP32_VAL(esp); /* 0x2B03B6CF: pop ebx */ 979 esp = ebp; /* 0x2B03B6D0: mov esp, ebp */ 980 ebp = POP32_VAL(esp); /* 0x2B03B6D2: pop ebp */ 981 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B6D3: ret */ 982 RECOMP_REGS_OUT(); 983 } 984 985 void sub_2B03B5B8(void) { 986 int _fpu_cmp = 0; 987 uint32_t _cf = 0; 988 int _df = 1; 989 uint32_t _flag_k = FK_NONE; 990 uint32_t _flag_a = 0, _flag_b = 0; 991 uint32_t _itail_tgt = 0; 992 RECOMP_REGS_LOCALS 993 RECOMP_ENTER(0x2B03B5B8u); 994 995 L_2B03B5B8: 996 ecx = MEM32(eax + 0x4); /* 0x2B03B5B8: mov ecx, dword ptr [eax + 4] */ 997 edx = ebp + (-0x8); /* 0x2B03B5BB: lea edx, [ebp - 8] */ 998 MEM32(ecx) = eax; /* 0x2B03B5BE: mov dword ptr [ecx], eax */ 999 PUSH32(esp, edx); /* 0x2B03B5C0: push edx */ 1000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 1001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1002 eax = eax + 8; /* 0x2B03B5C1: add eax, 8 */ 1003 _flag_k = FK_ADD; 1004 PUSH32(esp, eax); /* 0x2B03B5C4: push eax */ 1005 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B03B5C5: call 0x2b02aae0 */ /* not lifted */ 1006 RECOMP_FLAGS_IN(); 1007 eax = MEM32(0x2B0EE9B0); /* 0x2B03B5CA: mov eax, dword ptr [0x2b0ee9b0] */ 1008 ecx = MEM32(ebp + (-0xC)); /* 0x2B03B5CF: mov ecx, dword ptr [ebp - 0xc] */ 1009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1011 esp = esp + 8; /* 0x2B03B5D2: add esp, 8 */ 1012 _flag_k = FK_ADD; 1013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1014 eax = eax + 1; /* 0x2B03B5D5: inc eax */ 1015 _flag_k = FK_INC; 1016 MEM32(0x2B0EE9B0) = eax; /* 0x2B03B5D6: mov dword ptr [0x2b0ee9b0], eax */ 1017 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B5DB: call 0x2b03b110 */ /* not lifted */ 1018 RECOMP_FLAGS_IN(); 1019 esi = POP32_VAL(esp); /* 0x2B03B5E0: pop esi */ 1020 edi = POP32_VAL(esp); /* 0x2B03B5E1: pop edi */ 1021 ebx = POP32_VAL(esp); /* 0x2B03B5E2: pop ebx */ 1022 esp = ebp; /* 0x2B03B5E3: mov esp, ebp */ 1023 ebp = POP32_VAL(esp); /* 0x2B03B5E5: pop ebp */ 1024 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B5E6: ret */ 1025 RECOMP_REGS_OUT(); 1026 } 1027 1028 void sub_2B03B6E0(void) { 1029 int _fpu_cmp = 0; 1030 uint32_t _cf = 0; 1031 int _df = 1; 1032 uint32_t _flag_k = FK_NONE; 1033 uint32_t _flag_a = 0, _flag_b = 0; 1034 uint32_t _itail_tgt = 0; 1035 RECOMP_REGS_LOCALS 1036 RECOMP_ENTER(0x2B03B6E0u); 1037 1038 L_2B03B6E0: 1039 PUSH32(esp, ebx); /* 0x2B03B6E0: push ebx */ 1040 PUSH32(esp, esi); /* 0x2B03B6E1: push esi */ 1041 ebx = ecx; /* 0x2B03B6E2: mov ebx, ecx */ 1042 ecx = MEM32(ebx + 0x70); /* 0x2B03B6E4: mov ecx, dword ptr [ebx + 0x70] */ 1043 PUSH32(esp, edi); /* 0x2B03B6E7: push edi */ 1044 RECOMP_ICALL(0x2B03C340u); /* 0x2B03B6E8: call 0x2b03c340 */ /* not lifted */ 1045 RECOMP_FLAGS_IN(); 1046 edi = MEM32(0x2B0EE9AC); /* 0x2B03B6ED: mov edi, dword ptr [0x2b0ee9ac] */ 1047 esi = MEM32(edi); /* 0x2B03B6F3: mov esi, dword ptr [edi] */ 1048 /* cmp esi, edi */ /* 0x2B03B6F5: cmp esi, edi */ 1049 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1051 _flag_k = FK_CMP; 1052 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B707; /* 0x2B03B6F7: je 0x2b03b707 */ 1053 L_2B03B6F9: 1054 ecx = MEM32(esi + 0x8); /* 0x2B03B6F9: mov ecx, dword ptr [esi + 8] */ 1055 RECOMP_ICALL(0x2B03A450u); /* 0x2B03B6FC: call 0x2b03a450 */ /* not lifted */ 1056 RECOMP_FLAGS_IN(); 1057 esi = MEM32(esi); /* 0x2B03B701: mov esi, dword ptr [esi] */ 1058 /* cmp esi, edi */ /* 0x2B03B703: cmp esi, edi */ 1059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1061 _flag_k = FK_CMP; 1062 RECOMP_BACKEDGE(); 1063 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B6F9; /* 0x2B03B705: jne 0x2b03b6f9 */ 1064 L_2B03B707: 1065 ecx = MEM32(ebx + 0x70); /* 0x2B03B707: mov ecx, dword ptr [ebx + 0x70] */ 1066 RECOMP_ICALL(0x2B03C420u); /* 0x2B03B70A: call 0x2b03c420 */ /* not lifted */ 1067 RECOMP_FLAGS_IN(); 1068 edi = POP32_VAL(esp); /* 0x2B03B70F: pop edi */ 1069 esi = POP32_VAL(esp); /* 0x2B03B710: pop esi */ 1070 ebx = POP32_VAL(esp); /* 0x2B03B711: pop ebx */ 1071 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B712: ret */ 1072 RECOMP_REGS_OUT(); 1073 } 1074 1075 void sub_2B03B720(void) { 1076 int _fpu_cmp = 0; 1077 uint32_t _cf = 0; 1078 int _df = 1; 1079 uint32_t _flag_k = FK_NONE; 1080 uint32_t _flag_a = 0, _flag_b = 0; 1081 uint32_t _itail_tgt = 0; 1082 RECOMP_REGS_LOCALS 1083 RECOMP_ENTER(0x2B03B720u); 1084 1085 L_2B03B720: 1086 PUSH32(esp, esi); /* 0x2B03B720: push esi */ 1087 PUSH32(esp, edi); /* 0x2B03B721: push edi */ 1088 edi = MEM32(0x2B0EE99C); /* 0x2B03B722: mov edi, dword ptr [0x2b0ee99c] */ 1089 esi = MEM32(edi); /* 0x2B03B728: mov esi, dword ptr [edi] */ 1090 /* cmp esi, edi */ /* 0x2B03B72A: cmp esi, edi */ 1091 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1093 _flag_k = FK_CMP; 1094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B73C; /* 0x2B03B72C: je 0x2b03b73c */ 1095 L_2B03B72E: 1096 ecx = MEM32(esi + 0x8); /* 0x2B03B72E: mov ecx, dword ptr [esi + 8] */ 1097 RECOMP_ICALL(0x2B03A450u); /* 0x2B03B731: call 0x2b03a450 */ /* not lifted */ 1098 RECOMP_FLAGS_IN(); 1099 esi = MEM32(esi); /* 0x2B03B736: mov esi, dword ptr [esi] */ 1100 /* cmp esi, edi */ /* 0x2B03B738: cmp esi, edi */ 1101 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1103 _flag_k = FK_CMP; 1104 RECOMP_BACKEDGE(); 1105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B72E; /* 0x2B03B73A: jne 0x2b03b72e */ 1106 L_2B03B73C: 1107 edi = POP32_VAL(esp); /* 0x2B03B73C: pop edi */ 1108 esi = POP32_VAL(esp); /* 0x2B03B73D: pop esi */ 1109 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B73E: ret */ 1110 RECOMP_REGS_OUT(); 1111 } 1112 1113 void sub_2B03B740(void) { 1114 int _fpu_cmp = 0; 1115 uint32_t _cf = 0; 1116 int _df = 1; 1117 uint32_t _flag_k = FK_NONE; 1118 uint32_t _flag_a = 0, _flag_b = 0; 1119 uint32_t _itail_tgt = 0; 1120 RECOMP_REGS_LOCALS 1121 RECOMP_ENTER(0x2B03B740u); 1122 1123 L_2B03B740: 1124 ecx = MEM32(ecx + 0x70); /* 0x2B03B740: mov ecx, dword ptr [ecx + 0x70] */ 1125 PUSH32(esp, esi); /* 0x2B03B743: push esi */ 1126 PUSH32(esp, edi); /* 0x2B03B744: push edi */ 1127 RECOMP_ICALL(0x2B03C3B0u); /* 0x2B03B745: call 0x2b03c3b0 */ /* not lifted */ 1128 RECOMP_FLAGS_IN(); 1129 edi = MEM32(0x2B0EE9AC); /* 0x2B03B74A: mov edi, dword ptr [0x2b0ee9ac] */ 1130 esi = MEM32(edi); /* 0x2B03B750: mov esi, dword ptr [edi] */ 1131 /* cmp esi, edi */ /* 0x2B03B752: cmp esi, edi */ 1132 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1134 _flag_k = FK_CMP; 1135 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B76C; /* 0x2B03B754: je 0x2b03b76c */ 1136 L_2B03B756: 1137 ecx = MEM32(esi + 0x8); /* 0x2B03B756: mov ecx, dword ptr [esi + 8] */ 1138 eax = MEM32(ecx); /* 0x2B03B759: mov eax, dword ptr [ecx] */ 1139 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B03B75B: call dword ptr [eax + 0xc] */ 1140 RECOMP_FLAGS_IN(); 1141 ecx = MEM32(esi + 0x8); /* 0x2B03B75E: mov ecx, dword ptr [esi + 8] */ 1142 RECOMP_ICALL(0x2B03A600u); /* 0x2B03B761: call 0x2b03a600 */ /* not lifted */ 1143 RECOMP_FLAGS_IN(); 1144 esi = MEM32(esi); /* 0x2B03B766: mov esi, dword ptr [esi] */ 1145 /* cmp esi, edi */ /* 0x2B03B768: cmp esi, edi */ 1146 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1148 _flag_k = FK_CMP; 1149 RECOMP_BACKEDGE(); 1150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B756; /* 0x2B03B76A: jne 0x2b03b756 */ 1151 L_2B03B76C: 1152 edi = POP32_VAL(esp); /* 0x2B03B76C: pop edi */ 1153 esi = POP32_VAL(esp); /* 0x2B03B76D: pop esi */ 1154 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B76E: ret */ 1155 RECOMP_REGS_OUT(); 1156 } 1157 1158 void sub_2B03B770(void) { 1159 int _fpu_cmp = 0; 1160 uint32_t _cf = 0; 1161 int _df = 1; 1162 uint32_t _flag_k = FK_NONE; 1163 uint32_t _flag_a = 0, _flag_b = 0; 1164 uint32_t _itail_tgt = 0; 1165 RECOMP_REGS_LOCALS 1166 RECOMP_ENTER(0x2B03B770u); 1167 1168 L_2B03B770: 1169 PUSH32(esp, esi); /* 0x2B03B770: push esi */ 1170 PUSH32(esp, edi); /* 0x2B03B771: push edi */ 1171 edi = MEM32(0x2B0EE99C); /* 0x2B03B772: mov edi, dword ptr [0x2b0ee99c] */ 1172 esi = MEM32(edi); /* 0x2B03B778: mov esi, dword ptr [edi] */ 1173 /* cmp esi, edi */ /* 0x2B03B77A: cmp esi, edi */ 1174 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1176 _flag_k = FK_CMP; 1177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B794; /* 0x2B03B77C: je 0x2b03b794 */ 1178 L_2B03B77E: 1179 ecx = MEM32(esi + 0x8); /* 0x2B03B77E: mov ecx, dword ptr [esi + 8] */ 1180 eax = MEM32(ecx); /* 0x2B03B781: mov eax, dword ptr [ecx] */ 1181 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B03B783: call dword ptr [eax + 0xc] */ 1182 RECOMP_FLAGS_IN(); 1183 ecx = MEM32(esi + 0x8); /* 0x2B03B786: mov ecx, dword ptr [esi + 8] */ 1184 RECOMP_ICALL(0x2B03A600u); /* 0x2B03B789: call 0x2b03a600 */ /* not lifted */ 1185 RECOMP_FLAGS_IN(); 1186 esi = MEM32(esi); /* 0x2B03B78E: mov esi, dword ptr [esi] */ 1187 /* cmp esi, edi */ /* 0x2B03B790: cmp esi, edi */ 1188 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1190 _flag_k = FK_CMP; 1191 RECOMP_BACKEDGE(); 1192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B77E; /* 0x2B03B792: jne 0x2b03b77e */ 1193 L_2B03B794: 1194 edi = POP32_VAL(esp); /* 0x2B03B794: pop edi */ 1195 esi = POP32_VAL(esp); /* 0x2B03B795: pop esi */ 1196 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B796: ret */ 1197 RECOMP_REGS_OUT(); 1198 } 1199 1200 void sub_2B03B7A0(void) { 1201 int _fpu_cmp = 0; 1202 uint32_t _cf = 0; 1203 int _df = 1; 1204 uint32_t _flag_k = FK_NONE; 1205 uint32_t _flag_a = 0, _flag_b = 0; 1206 uint32_t _itail_tgt = 0; 1207 RECOMP_REGS_LOCALS 1208 RECOMP_ENTER(0x2B03B7A0u); 1209 1210 L_2B03B7A0: 1211 PUSH32(esp, esi); /* 0x2B03B7A0: push esi */ 1212 L_2B03B7A1: 1213 PUSH32(esp, edi); /* 0x2B03B7A1: push edi */ 1214 L_2B03B7A2: 1215 edi = MEM32(0x2B0EE9AC); /* 0x2B03B7A2: mov edi, dword ptr [0x2b0ee9ac] */ 1216 L_2B03B7A8: 1217 MEM8(0x2B0EE981) = (uint8_t)(1); /* 0x2B03B7A8: mov byte ptr [0x2b0ee981], 1 */ 1218 L_2B03B7AF: 1219 esi = MEM32(edi); /* 0x2B03B7AF: mov esi, dword ptr [edi] */ 1220 L_2B03B7B1: 1221 /* cmp esi, edi */ /* 0x2B03B7B1: cmp esi, edi */ 1222 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1224 _flag_k = FK_CMP; 1225 L_2B03B7B3: 1226 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03B7C3; /* 0x2B03B7B3: je 0x2b03b7c3 */ 1227 L_2B03B7B5: 1228 ecx = MEM32(esi + 0x8); /* 0x2B03B7B5: mov ecx, dword ptr [esi + 8] */ 1229 L_2B03B7B8: 1230 eax = MEM32(ecx); /* 0x2B03B7B8: mov eax, dword ptr [ecx] */ 1231 L_2B03B7BA: 1232 RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x2B03B7BA: call dword ptr [eax + 0x10] */ 1233 RECOMP_FLAGS_IN(); 1234 L_2B03B7BD: 1235 esi = MEM32(esi); /* 0x2B03B7BD: mov esi, dword ptr [esi] */ 1236 L_2B03B7BF: 1237 /* cmp esi, edi */ /* 0x2B03B7BF: cmp esi, edi */ 1238 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1240 _flag_k = FK_CMP; 1241 L_2B03B7C1: 1242 RECOMP_BACKEDGE(); 1243 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B03B7B5; /* 0x2B03B7C1: jne 0x2b03b7b5 */ 1244 L_2B03B7C3: 1245 edi = MEM32(0x2B0EE99C); /* 0x2B03B7C3: mov edi, dword ptr [0x2b0ee99c] */ 1246 L_2B03B7C9: 1247 esi = MEM32(edi); /* 0x2B03B7C9: mov esi, dword ptr [edi] */ 1248 L_2B03B7CB: 1249 /* cmp esi, edi */ /* 0x2B03B7CB: cmp esi, edi */ 1250 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1252 _flag_k = FK_CMP; 1253 L_2B03B7CD: 1254 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03B7DD; /* 0x2B03B7CD: je 0x2b03b7dd */ 1255 L_2B03B7CF: 1256 ecx = MEM32(esi + 0x8); /* 0x2B03B7CF: mov ecx, dword ptr [esi + 8] */ 1257 L_2B03B7D2: 1258 edx = MEM32(ecx); /* 0x2B03B7D2: mov edx, dword ptr [ecx] */ 1259 L_2B03B7D4: 1260 RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2B03B7D4: call dword ptr [edx + 0x10] */ 1261 RECOMP_FLAGS_IN(); 1262 L_2B03B7D7: 1263 esi = MEM32(esi); /* 0x2B03B7D7: mov esi, dword ptr [esi] */ 1264 L_2B03B7D9: 1265 /* cmp esi, edi */ /* 0x2B03B7D9: cmp esi, edi */ 1266 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1268 _flag_k = FK_CMP; 1269 L_2B03B7DB: 1270 RECOMP_BACKEDGE(); 1271 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B03B7CF; /* 0x2B03B7DB: jne 0x2b03b7cf */ 1272 L_2B03B7DD: 1273 eax = MEM32(0x2B0B6048); /* 0x2B03B7DD: mov eax, dword ptr [0x2b0b6048] */ 1274 L_2B03B7E2: 1275 ecx = MEM32(eax); /* 0x2B03B7E2: mov ecx, dword ptr [eax] */ 1276 L_2B03B7E4: 1277 PUSH32(esp, 1); /* 0x2B03B7E4: push 1 */ 1278 L_2B03B7E6: 1279 PUSH32(esp, 0x2B0E6DDCu); /* 0x2B03B7E6: push 0x2b0e6ddc */ 1280 L_2B03B7EB: 1281 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B03B7EB: call dword ptr [0x2b0b602c] */ 1282 RECOMP_FLAGS_IN(); 1283 L_2B03B7F1: 1284 /* test eax, eax */ /* 0x2B03B7F1: test eax, eax */ 1285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1286 _cf = 0; 1287 _flag_k = FK_TEST; 1288 L_2B03B7F3: 1289 edi = POP32_VAL(esp); /* 0x2B03B7F3: pop edi */ 1290 L_2B03B7F4: 1291 esi = POP32_VAL(esp); /* 0x2B03B7F4: pop esi */ 1292 L_2B03B7F5: 1293 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03B813; /* 0x2B03B7F5: je 0x2b03b813 */ 1294 L_2B03B7F7: 1295 PUSH32(esp, 1); /* 0x2B03B7F7: push 1 */ 1296 L_2B03B7F9: 1297 RECOMP_ICALL(MEM32(0x2B0B5AAC)); /* 0x2B03B7F9: call dword ptr [0x2b0b5aac] */ 1298 RECOMP_FLAGS_IN(); 1299 L_2B03B7FF: 1300 ecx = eax; /* 0x2B03B7FF: mov ecx, eax */ 1301 L_2B03B801: 1302 RECOMP_ICALL(MEM32(0x2B0B5AA8)); /* 0x2B03B801: call dword ptr [0x2b0b5aa8] */ 1303 RECOMP_FLAGS_IN(); 1304 L_2B03B807: 1305 /* test eax, eax */ /* 0x2B03B807: test eax, eax */ 1306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1307 _cf = 0; 1308 _flag_k = FK_TEST; 1309 L_2B03B809: 1310 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03B82F; /* 0x2B03B809: je 0x2b03b82f */ 1311 L_2B03B80B: 1312 ecx = eax; /* 0x2B03B80B: mov ecx, eax */ 1313 L_2B03B80D: 1314 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5AA4)); goto _ljump; } 1315 L_2B03B813: 1316 PUSH32(esp, 2); /* 0x2B03B813: push 2 */ 1317 L_2B03B815: 1318 RECOMP_ICALL(MEM32(0x2B0B5AAC)); /* 0x2B03B815: call dword ptr [0x2b0b5aac] */ 1319 RECOMP_FLAGS_IN(); 1320 L_2B03B81B: 1321 ecx = eax; /* 0x2B03B81B: mov ecx, eax */ 1322 L_2B03B81D: 1323 RECOMP_ICALL(MEM32(0x2B0B5AA8)); /* 0x2B03B81D: call dword ptr [0x2b0b5aa8] */ 1324 RECOMP_FLAGS_IN(); 1325 L_2B03B823: 1326 /* test eax, eax */ /* 0x2B03B823: test eax, eax */ 1327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1328 _cf = 0; 1329 _flag_k = FK_TEST; 1330 L_2B03B825: 1331 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B03B82F; /* 0x2B03B825: je 0x2b03b82f */ 1332 L_2B03B827: 1333 ecx = eax; /* 0x2B03B827: mov ecx, eax */ 1334 L_2B03B829: 1335 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5AA4)); goto _ljump; } 1336 L_2B03B82F: 1337 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B82F: ret */ 1338 _ljump: 1339 switch (_itail_tgt) { 1340 case 0x2B03B7A0u: goto L_2B03B7A0; 1341 case 0x2B03B7A1u: goto L_2B03B7A1; 1342 case 0x2B03B7A2u: goto L_2B03B7A2; 1343 case 0x2B03B7A8u: goto L_2B03B7A8; 1344 case 0x2B03B7AFu: goto L_2B03B7AF; 1345 case 0x2B03B7B1u: goto L_2B03B7B1; 1346 case 0x2B03B7B3u: goto L_2B03B7B3; 1347 case 0x2B03B7B5u: goto L_2B03B7B5; 1348 case 0x2B03B7B8u: goto L_2B03B7B8; 1349 case 0x2B03B7BAu: goto L_2B03B7BA; 1350 case 0x2B03B7BDu: goto L_2B03B7BD; 1351 case 0x2B03B7BFu: goto L_2B03B7BF; 1352 case 0x2B03B7C1u: goto L_2B03B7C1; 1353 case 0x2B03B7C3u: goto L_2B03B7C3; 1354 case 0x2B03B7C9u: goto L_2B03B7C9; 1355 case 0x2B03B7CBu: goto L_2B03B7CB; 1356 case 0x2B03B7CDu: goto L_2B03B7CD; 1357 case 0x2B03B7CFu: goto L_2B03B7CF; 1358 case 0x2B03B7D2u: goto L_2B03B7D2; 1359 case 0x2B03B7D4u: goto L_2B03B7D4; 1360 case 0x2B03B7D7u: goto L_2B03B7D7; 1361 case 0x2B03B7D9u: goto L_2B03B7D9; 1362 case 0x2B03B7DBu: goto L_2B03B7DB; 1363 case 0x2B03B7DDu: goto L_2B03B7DD; 1364 case 0x2B03B7E2u: goto L_2B03B7E2; 1365 case 0x2B03B7E4u: goto L_2B03B7E4; 1366 case 0x2B03B7E6u: goto L_2B03B7E6; 1367 case 0x2B03B7EBu: goto L_2B03B7EB; 1368 case 0x2B03B7F1u: goto L_2B03B7F1; 1369 case 0x2B03B7F3u: goto L_2B03B7F3; 1370 case 0x2B03B7F4u: goto L_2B03B7F4; 1371 case 0x2B03B7F5u: goto L_2B03B7F5; 1372 case 0x2B03B7F7u: goto L_2B03B7F7; 1373 case 0x2B03B7F9u: goto L_2B03B7F9; 1374 case 0x2B03B7FFu: goto L_2B03B7FF; 1375 case 0x2B03B801u: goto L_2B03B801; 1376 case 0x2B03B807u: goto L_2B03B807; 1377 case 0x2B03B809u: goto L_2B03B809; 1378 case 0x2B03B80Bu: goto L_2B03B80B; 1379 case 0x2B03B80Du: goto L_2B03B80D; 1380 case 0x2B03B813u: goto L_2B03B813; 1381 case 0x2B03B815u: goto L_2B03B815; 1382 case 0x2B03B81Bu: goto L_2B03B81B; 1383 case 0x2B03B81Du: goto L_2B03B81D; 1384 case 0x2B03B823u: goto L_2B03B823; 1385 case 0x2B03B825u: goto L_2B03B825; 1386 case 0x2B03B827u: goto L_2B03B827; 1387 case 0x2B03B829u: goto L_2B03B829; 1388 case 0x2B03B82Fu: goto L_2B03B82F; 1389 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1390 } 1391 RECOMP_REGS_OUT(); 1392 } 1393 1394 void sub_2B03B830(void) { 1395 int _fpu_cmp = 0; 1396 uint32_t _cf = 0; 1397 int _df = 1; 1398 uint32_t _flag_k = FK_NONE; 1399 uint32_t _flag_a = 0, _flag_b = 0; 1400 uint32_t _itail_tgt = 0; 1401 RECOMP_REGS_LOCALS 1402 RECOMP_ENTER(0x2B03B830u); 1403 1404 L_2B03B830: 1405 PUSH32(esp, esi); /* 0x2B03B830: push esi */ 1406 PUSH32(esp, edi); /* 0x2B03B831: push edi */ 1407 edi = MEM32(0x2B0EE9AC); /* 0x2B03B832: mov edi, dword ptr [0x2b0ee9ac] */ 1408 MEM8(0x2B0EE981) = (uint8_t)(0); /* 0x2B03B838: mov byte ptr [0x2b0ee981], 0 */ 1409 esi = MEM32(edi); /* 0x2B03B83F: mov esi, dword ptr [edi] */ 1410 /* cmp esi, edi */ /* 0x2B03B841: cmp esi, edi */ 1411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1413 _flag_k = FK_CMP; 1414 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B853; /* 0x2B03B843: je 0x2b03b853 */ 1415 L_2B03B845: 1416 ecx = MEM32(esi + 0x8); /* 0x2B03B845: mov ecx, dword ptr [esi + 8] */ 1417 eax = MEM32(ecx); /* 0x2B03B848: mov eax, dword ptr [ecx] */ 1418 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B03B84A: call dword ptr [eax + 0x14] */ 1419 RECOMP_FLAGS_IN(); 1420 esi = MEM32(esi); /* 0x2B03B84D: mov esi, dword ptr [esi] */ 1421 /* cmp esi, edi */ /* 0x2B03B84F: cmp esi, edi */ 1422 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1424 _flag_k = FK_CMP; 1425 RECOMP_BACKEDGE(); 1426 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B845; /* 0x2B03B851: jne 0x2b03b845 */ 1427 L_2B03B853: 1428 edi = MEM32(0x2B0EE99C); /* 0x2B03B853: mov edi, dword ptr [0x2b0ee99c] */ 1429 esi = MEM32(edi); /* 0x2B03B859: mov esi, dword ptr [edi] */ 1430 /* cmp esi, edi */ /* 0x2B03B85B: cmp esi, edi */ 1431 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1433 _flag_k = FK_CMP; 1434 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B86D; /* 0x2B03B85D: je 0x2b03b86d */ 1435 L_2B03B85F: 1436 ecx = MEM32(esi + 0x8); /* 0x2B03B85F: mov ecx, dword ptr [esi + 8] */ 1437 edx = MEM32(ecx); /* 0x2B03B862: mov edx, dword ptr [ecx] */ 1438 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B03B864: call dword ptr [edx + 0x14] */ 1439 RECOMP_FLAGS_IN(); 1440 esi = MEM32(esi); /* 0x2B03B867: mov esi, dword ptr [esi] */ 1441 /* cmp esi, edi */ /* 0x2B03B869: cmp esi, edi */ 1442 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1444 _flag_k = FK_CMP; 1445 RECOMP_BACKEDGE(); 1446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B85F; /* 0x2B03B86B: jne 0x2b03b85f */ 1447 L_2B03B86D: 1448 edi = POP32_VAL(esp); /* 0x2B03B86D: pop edi */ 1449 esi = POP32_VAL(esp); /* 0x2B03B86E: pop esi */ 1450 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B86F: ret */ 1451 RECOMP_REGS_OUT(); 1452 } 1453 1454 void sub_2B03B870(void) { 1455 int _fpu_cmp = 0; 1456 uint32_t _cf = 0; 1457 int _df = 1; 1458 uint32_t _flag_k = FK_NONE; 1459 uint32_t _flag_a = 0, _flag_b = 0; 1460 uint32_t _itail_tgt = 0; 1461 RECOMP_REGS_LOCALS 1462 RECOMP_ENTER(0x2B03B870u); 1463 1464 L_2B03B870: 1465 eax = MEM32(0x2B0EE9C8); /* 0x2B03B870: mov eax, dword ptr [0x2b0ee9c8] */ 1466 /* test eax, eax */ /* 0x2B03B875: test eax, eax */ 1467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1468 _cf = 0; 1469 _flag_k = FK_TEST; 1470 PUSH32(esp, ebx); /* 0x2B03B877: push ebx */ 1471 PUSH32(esp, esi); /* 0x2B03B878: push esi */ 1472 PUSH32(esp, edi); /* 0x2B03B879: push edi */ 1473 edi = MEM32(0x2B0EE9AC); /* 0x2B03B87A: mov edi, dword ptr [0x2b0ee9ac] */ 1474 ebx = ecx; /* 0x2B03B880: mov ebx, ecx */ 1475 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B88A; /* 0x2B03B882: je 0x2b03b88a */ 1476 L_2B03B884: 1477 edi = MEM32(0x2B0EE99C); /* 0x2B03B884: mov edi, dword ptr [0x2b0ee99c] */ 1478 L_2B03B88A: 1479 esi = MEM32(edi); /* 0x2B03B88A: mov esi, dword ptr [edi] */ 1480 /* cmp esi, edi */ /* 0x2B03B88C: cmp esi, edi */ 1481 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1483 _flag_k = FK_CMP; 1484 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B89E; /* 0x2B03B88E: je 0x2b03b89e */ 1485 L_2B03B890: 1486 ecx = MEM32(esi + 0x8); /* 0x2B03B890: mov ecx, dword ptr [esi + 8] */ 1487 RECOMP_ICALL(0x2B03A490u); /* 0x2B03B893: call 0x2b03a490 */ /* not lifted */ 1488 RECOMP_FLAGS_IN(); 1489 esi = MEM32(esi); /* 0x2B03B898: mov esi, dword ptr [esi] */ 1490 /* cmp esi, edi */ /* 0x2B03B89A: cmp esi, edi */ 1491 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1493 _flag_k = FK_CMP; 1494 RECOMP_BACKEDGE(); 1495 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B890; /* 0x2B03B89C: jne 0x2b03b890 */ 1496 L_2B03B89E: 1497 ecx = ebx; /* 0x2B03B89E: mov ecx, ebx */ 1498 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B8A0: call 0x2b03b110 */ /* not lifted */ 1499 RECOMP_FLAGS_IN(); 1500 edi = POP32_VAL(esp); /* 0x2B03B8A5: pop edi */ 1501 esi = POP32_VAL(esp); /* 0x2B03B8A6: pop esi */ 1502 ebx = POP32_VAL(esp); /* 0x2B03B8A7: pop ebx */ 1503 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B8A8: ret */ 1504 RECOMP_REGS_OUT(); 1505 } 1506 1507 void sub_2B03B8B0(void) { 1508 int _fpu_cmp = 0; 1509 uint32_t _cf = 0; 1510 int _df = 1; 1511 uint32_t _flag_k = FK_NONE; 1512 uint32_t _flag_a = 0, _flag_b = 0; 1513 uint32_t _itail_tgt = 0; 1514 RECOMP_REGS_LOCALS 1515 RECOMP_ENTER(0x2B03B8B0u); 1516 1517 L_2B03B8B0: 1518 eax = MEM32(0x2B0EE9C8); /* 0x2B03B8B0: mov eax, dword ptr [0x2b0ee9c8] */ 1519 /* test eax, eax */ /* 0x2B03B8B5: test eax, eax */ 1520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1521 _cf = 0; 1522 _flag_k = FK_TEST; 1523 PUSH32(esp, ebx); /* 0x2B03B8B7: push ebx */ 1524 PUSH32(esp, esi); /* 0x2B03B8B8: push esi */ 1525 PUSH32(esp, edi); /* 0x2B03B8B9: push edi */ 1526 edi = MEM32(0x2B0EE9AC); /* 0x2B03B8BA: mov edi, dword ptr [0x2b0ee9ac] */ 1527 ebx = ecx; /* 0x2B03B8C0: mov ebx, ecx */ 1528 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B8CA; /* 0x2B03B8C2: je 0x2b03b8ca */ 1529 L_2B03B8C4: 1530 edi = MEM32(0x2B0EE99C); /* 0x2B03B8C4: mov edi, dword ptr [0x2b0ee99c] */ 1531 L_2B03B8CA: 1532 esi = MEM32(edi); /* 0x2B03B8CA: mov esi, dword ptr [edi] */ 1533 /* cmp esi, edi */ /* 0x2B03B8CC: cmp esi, edi */ 1534 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1536 _flag_k = FK_CMP; 1537 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03B8DE; /* 0x2B03B8CE: je 0x2b03b8de */ 1538 L_2B03B8D0: 1539 ecx = MEM32(esi + 0x8); /* 0x2B03B8D0: mov ecx, dword ptr [esi + 8] */ 1540 RECOMP_ICALL(0x2B03A510u); /* 0x2B03B8D3: call 0x2b03a510 */ /* not lifted */ 1541 RECOMP_FLAGS_IN(); 1542 esi = MEM32(esi); /* 0x2B03B8D8: mov esi, dword ptr [esi] */ 1543 /* cmp esi, edi */ /* 0x2B03B8DA: cmp esi, edi */ 1544 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1546 _flag_k = FK_CMP; 1547 RECOMP_BACKEDGE(); 1548 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03B8D0; /* 0x2B03B8DC: jne 0x2b03b8d0 */ 1549 L_2B03B8DE: 1550 ecx = ebx; /* 0x2B03B8DE: mov ecx, ebx */ 1551 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B8E0: call 0x2b03b110 */ /* not lifted */ 1552 RECOMP_FLAGS_IN(); 1553 edi = POP32_VAL(esp); /* 0x2B03B8E5: pop edi */ 1554 esi = POP32_VAL(esp); /* 0x2B03B8E6: pop esi */ 1555 ebx = POP32_VAL(esp); /* 0x2B03B8E7: pop ebx */ 1556 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B8E8: ret */ 1557 RECOMP_REGS_OUT(); 1558 } 1559 1560 void sub_2B03B8F0(void) { 1561 int _fpu_cmp = 0; 1562 uint32_t _cf = 0; 1563 int _df = 1; 1564 uint32_t _flag_k = FK_NONE; 1565 uint32_t _flag_a = 0, _flag_b = 0; 1566 uint32_t _itail_tgt = 0; 1567 RECOMP_REGS_LOCALS 1568 RECOMP_ENTER(0x2B03B8F0u); 1569 1570 L_2B03B8F0: 1571 eax = MEM32(0x2B0EE9C8); /* 0x2B03B8F0: mov eax, dword ptr [0x2b0ee9c8] */ 1572 PUSH32(esp, esi); /* 0x2B03B8F5: push esi */ 1573 /* test eax, eax */ /* 0x2B03B8F6: test eax, eax */ 1574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1575 _cf = 0; 1576 _flag_k = FK_TEST; 1577 eax = MEM32(0x2B0EE9BC); /* 0x2B03B8F8: mov eax, dword ptr [0x2b0ee9bc] */ 1578 esi = ecx; /* 0x2B03B8FD: mov esi, ecx */ 1579 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B947; /* 0x2B03B8FF: jne 0x2b03b947 */ 1580 L_2B03B901: 1581 ecx = MEM32(0x2B0EE9C0); /* 0x2B03B901: mov ecx, dword ptr [0x2b0ee9c0] */ 1582 MEM32(0x2B0EE9BC) = ecx; /* 0x2B03B907: mov dword ptr [0x2b0ee9bc], ecx */ 1583 ecx = esi; /* 0x2B03B90D: mov ecx, esi */ 1584 MEM32(0x2B0EE9C0) = eax; /* 0x2B03B90F: mov dword ptr [0x2b0ee9c0], eax */ 1585 MEM32(0x2B0EE9C8) = 1; /* 0x2B03B914: mov dword ptr [0x2b0ee9c8], 1 */ 1586 RECOMP_ICALL(0x2B03B740u); /* 0x2B03B91E: call 0x2b03b740 */ /* not lifted */ 1587 RECOMP_FLAGS_IN(); 1588 ecx = esi; /* 0x2B03B923: mov ecx, esi */ 1589 RECOMP_ICALL(0x2B03B720u); /* 0x2B03B925: call 0x2b03b720 */ /* not lifted */ 1590 RECOMP_FLAGS_IN(); 1591 eax = MEM32(0x2B0EF09C); /* 0x2B03B92A: mov eax, dword ptr [0x2b0ef09c] */ 1592 /* test eax, eax */ /* 0x2B03B92F: test eax, eax */ 1593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1594 _cf = 0; 1595 _flag_k = FK_TEST; 1596 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B995; /* 0x2B03B931: je 0x2b03b995 */ 1597 L_2B03B933: 1598 ecx = MEM32(eax + 0x4); /* 0x2B03B933: mov ecx, dword ptr [eax + 4] */ 1599 PUSH32(esp, 2); /* 0x2B03B936: push 2 */ 1600 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B03B938: call dword ptr [0x2b0b5ab4] */ 1601 RECOMP_FLAGS_IN(); 1602 ecx = esi; /* 0x2B03B93E: mov ecx, esi */ 1603 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B940: call 0x2b03b110 */ /* not lifted */ 1604 RECOMP_FLAGS_IN(); 1605 esi = POP32_VAL(esp); /* 0x2B03B945: pop esi */ 1606 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B946: ret */ 1607 L_2B03B947: 1608 edx = MEM32(0x2B0EE9C0); /* 0x2B03B947: mov edx, dword ptr [0x2b0ee9c0] */ 1609 ecx = esi; /* 0x2B03B94D: mov ecx, esi */ 1610 MEM32(0x2B0EE9BC) = edx; /* 0x2B03B94F: mov dword ptr [0x2b0ee9bc], edx */ 1611 MEM32(0x2B0EE9C0) = eax; /* 0x2B03B955: mov dword ptr [0x2b0ee9c0], eax */ 1612 MEM32(0x2B0EE9C8) = 0; /* 0x2B03B95A: mov dword ptr [0x2b0ee9c8], 0 */ 1613 RECOMP_ICALL(0x2B03B770u); /* 0x2B03B964: call 0x2b03b770 */ /* not lifted */ 1614 RECOMP_FLAGS_IN(); 1615 ecx = esi; /* 0x2B03B969: mov ecx, esi */ 1616 RECOMP_ICALL(0x2B03B6E0u); /* 0x2B03B96B: call 0x2b03b6e0 */ /* not lifted */ 1617 RECOMP_FLAGS_IN(); 1618 eax = MEM32(0x2B0EF09C); /* 0x2B03B970: mov eax, dword ptr [0x2b0ef09c] */ 1619 /* test eax, eax */ /* 0x2B03B975: test eax, eax */ 1620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1621 _cf = 0; 1622 _flag_k = FK_TEST; 1623 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B984; /* 0x2B03B977: je 0x2b03b984 */ 1624 L_2B03B979: 1625 ecx = MEM32(eax + 0x4); /* 0x2B03B979: mov ecx, dword ptr [eax + 4] */ 1626 PUSH32(esp, 1); /* 0x2B03B97C: push 1 */ 1627 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B03B97E: call dword ptr [0x2b0b5ab4] */ 1628 RECOMP_FLAGS_IN(); 1629 L_2B03B984: 1630 eax = MEM32(0x2B0B6118); /* 0x2B03B984: mov eax, dword ptr [0x2b0b6118] */ 1631 ecx = MEM32(eax); /* 0x2B03B989: mov ecx, dword ptr [eax] */ 1632 /* test ecx, ecx */ /* 0x2B03B98B: test ecx, ecx */ 1633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1634 _cf = 0; 1635 _flag_k = FK_TEST; 1636 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03B995; /* 0x2B03B98D: je 0x2b03b995 */ 1637 L_2B03B98F: 1638 RECOMP_ICALL(MEM32(0x2B0B6120)); /* 0x2B03B98F: call dword ptr [0x2b0b6120] */ 1639 RECOMP_FLAGS_IN(); 1640 L_2B03B995: 1641 ecx = esi; /* 0x2B03B995: mov ecx, esi */ 1642 RECOMP_ICALL(0x2B03B110u); /* 0x2B03B997: call 0x2b03b110 */ /* not lifted */ 1643 RECOMP_FLAGS_IN(); 1644 esi = POP32_VAL(esp); /* 0x2B03B99C: pop esi */ 1645 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03B99D: ret */ 1646 RECOMP_REGS_OUT(); 1647 } 1648 1649 void sub_2B03B9A0(void) { 1650 int _fpu_cmp = 0; 1651 uint32_t _cf = 0; 1652 int _df = 1; 1653 uint32_t _flag_k = FK_NONE; 1654 uint32_t _flag_a = 0, _flag_b = 0; 1655 uint32_t _itail_tgt = 0; 1656 RECOMP_REGS_LOCALS 1657 RECOMP_ENTER(0x2B03B9A0u); 1658 1659 L_2B03B9A0: 1660 PUSH32(esp, ebp); /* 0x2B03B9A0: push ebp */ 1661 ebp = esp; /* 0x2B03B9A1: mov ebp, esp */ 1662 eax = MEM32(0x2B0EE9C8); /* 0x2B03B9A3: mov eax, dword ptr [0x2b0ee9c8] */ 1663 /* test eax, eax */ /* 0x2B03B9A8: test eax, eax */ 1664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1665 _cf = 0; 1666 _flag_k = FK_TEST; 1667 PUSH32(esp, ebx); /* 0x2B03B9AA: push ebx */ 1668 PUSH32(esp, esi); /* 0x2B03B9AB: push esi */ 1669 PUSH32(esp, edi); /* 0x2B03B9AC: push edi */ 1670 edi = MEM32(0x2B0EE9D4); /* 0x2B03B9AD: mov edi, dword ptr [0x2b0ee9d4] */ 1671 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B9DE; /* 0x2B03B9B3: jne 0x2b03b9de */ 1672 L_2B03B9B5: 1673 esi = MEM32(0x2B0EE9AC); /* 0x2B03B9B5: mov esi, dword ptr [0x2b0ee9ac] */ 1674 eax = MEM32(esi + 0x4); /* 0x2B03B9BB: mov eax, dword ptr [esi + 4] */ 1675 eax = MEM32(eax + 0x8); /* 0x2B03B9BE: mov eax, dword ptr [eax + 8] */ 1676 SET_LO8(ebx, MEM8(eax + 0x1C)); /* 0x2B03B9C1: mov bl, byte ptr [eax + 0x1c] */ 1677 edx = MEM32(eax + 0x8); /* 0x2B03B9C4: mov edx, dword ptr [eax + 8] */ 1678 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 1679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1680 edi = edi - 0x10u; /* 0x2B03B9C7: sub edi, 0x10 */ 1681 _flag_k = FK_CMP; 1682 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B9CA: test bl, bl */ 1683 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1684 _cf = 0; 1685 _flag_k = FK_NARROW(FK_TEST, 24); 1686 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B9D2; /* 0x2B03B9CC: jne 0x2b03b9d2 */ 1687 L_2B03B9CE: 1688 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1689 eax = 0; /* 0x2B03B9CE: xor eax, eax */ 1690 _cf = 0; 1691 _flag_k = FK_TEST; 1692 goto L_2B03BA05; /* 0x2B03B9D0: jmp 0x2b03ba05 */ 1693 L_2B03B9D2: 1694 SET_LO8(ebx, MEM8(eax + 0x24)); /* 0x2B03B9D2: mov bl, byte ptr [eax + 0x24] */ 1695 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B9D5: test bl, bl */ 1696 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1697 _cf = 0; 1698 _flag_k = FK_NARROW(FK_TEST, 24); 1699 eax = MEM32(eax + 0x18); /* 0x2B03B9D7: mov eax, dword ptr [eax + 0x18] */ 1700 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BA05; /* 0x2B03B9DA: jne 0x2b03ba05 */ 1701 L_2B03B9DC: 1702 goto L_2B03BA02; /* 0x2B03B9DC: jmp 0x2b03ba02 */ 1703 L_2B03B9DE: 1704 esi = MEM32(0x2B0EE99C); /* 0x2B03B9DE: mov esi, dword ptr [0x2b0ee99c] */ 1705 edx = MEM32(esi + 0x4); /* 0x2B03B9E4: mov edx, dword ptr [esi + 4] */ 1706 eax = MEM32(edx + 0x8); /* 0x2B03B9E7: mov eax, dword ptr [edx + 8] */ 1707 SET_LO8(ebx, MEM8(eax + 0x1C)); /* 0x2B03B9EA: mov bl, byte ptr [eax + 0x1c] */ 1708 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B9ED: test bl, bl */ 1709 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1710 _cf = 0; 1711 _flag_k = FK_NARROW(FK_TEST, 24); 1712 edx = MEM32(eax + 0x8); /* 0x2B03B9EF: mov edx, dword ptr [eax + 8] */ 1713 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03B9F8; /* 0x2B03B9F2: jne 0x2b03b9f8 */ 1714 L_2B03B9F4: 1715 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1716 eax = 0; /* 0x2B03B9F4: xor eax, eax */ 1717 _cf = 0; 1718 _flag_k = FK_TEST; 1719 goto L_2B03BA05; /* 0x2B03B9F6: jmp 0x2b03ba05 */ 1720 L_2B03B9F8: 1721 SET_LO8(ebx, MEM8(eax + 0x24)); /* 0x2B03B9F8: mov bl, byte ptr [eax + 0x24] */ 1722 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03B9FB: test bl, bl */ 1723 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1724 _cf = 0; 1725 _flag_k = FK_NARROW(FK_TEST, 24); 1726 eax = MEM32(eax + 0x18); /* 0x2B03B9FD: mov eax, dword ptr [eax + 0x18] */ 1727 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BA05; /* 0x2B03BA00: jne 0x2b03ba05 */ 1728 L_2B03BA02: 1729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 1730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1731 eax = eax + 0x14u; /* 0x2B03BA02: add eax, 0x14 */ 1732 _flag_k = FK_ADD; 1733 L_2B03BA05: 1734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1736 edx = edx + eax; /* 0x2B03BA05: add edx, eax */ 1737 _flag_k = FK_ADD; 1738 eax = MEM32(esi); /* 0x2B03BA07: mov eax, dword ptr [esi] */ 1739 eax = MEM32(eax + 0x8); /* 0x2B03BA09: mov eax, dword ptr [eax + 8] */ 1740 eax = MEM32(eax + 0x8); /* 0x2B03BA0C: mov eax, dword ptr [eax + 8] */ 1741 esi = edx; /* 0x2B03BA0F: mov esi, edx */ 1742 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1744 esi = esi - eax; /* 0x2B03BA11: sub esi, eax */ 1745 _flag_k = FK_CMP; 1746 /* cmp esi, edi */ /* 0x2B03BA13: cmp esi, edi */ 1747 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1749 _flag_k = FK_CMP; 1750 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03BA2B; /* 0x2B03BA15: jge 0x2b03ba2b */ 1751 L_2B03BA17: 1752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1753 esi = 0; /* 0x2B03BA17: xor esi, esi */ 1754 _cf = 0; 1755 _flag_k = FK_TEST; 1756 MEM32(0x2B0EE9BC) = esi; /* 0x2B03BA19: mov dword ptr [0x2b0ee9bc], esi */ 1757 RECOMP_ICALL(0x2B03B110u); /* 0x2B03BA1F: call 0x2b03b110 */ /* not lifted */ 1758 RECOMP_FLAGS_IN(); 1759 edi = POP32_VAL(esp); /* 0x2B03BA24: pop edi */ 1760 esi = POP32_VAL(esp); /* 0x2B03BA25: pop esi */ 1761 ebx = POP32_VAL(esp); /* 0x2B03BA26: pop ebx */ 1762 ebp = POP32_VAL(esp); /* 0x2B03BA27: pop ebp */ 1763 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03BA28: ret 4 */ 1764 L_2B03BA2B: 1765 esi = MEM32(ebp + 0x8); /* 0x2B03BA2B: mov esi, dword ptr [ebp + 8] */ 1766 /* test esi, esi */ /* 0x2B03BA2E: test esi, esi */ 1767 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1768 _cf = 0; 1769 _flag_k = FK_TEST; 1770 if (TEST_LE(_flag_a, _flag_b)) goto L_2B03BA34; /* 0x2B03BA30: jle 0x2b03ba34 */ 1771 L_2B03BA32: 1772 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1773 esi = 0; /* 0x2B03BA32: xor esi, esi */ 1774 _cf = 0; 1775 _flag_k = FK_TEST; 1776 L_2B03BA34: 1777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1779 eax = eax - edx; /* 0x2B03BA34: sub eax, edx */ 1780 _flag_k = FK_CMP; 1781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1782 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1783 eax = eax + edi; /* 0x2B03BA36: add eax, edi */ 1784 _flag_k = FK_ADD; 1785 /* cmp esi, eax */ /* 0x2B03BA38: cmp esi, eax */ 1786 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1788 _flag_k = FK_CMP; 1789 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03BA3E; /* 0x2B03BA3A: jge 0x2b03ba3e */ 1790 L_2B03BA3C: 1791 esi = eax; /* 0x2B03BA3C: mov esi, eax */ 1792 L_2B03BA3E: 1793 MEM32(0x2B0EE9BC) = esi; /* 0x2B03BA3E: mov dword ptr [0x2b0ee9bc], esi */ 1794 RECOMP_ICALL(0x2B03B110u); /* 0x2B03BA44: call 0x2b03b110 */ /* not lifted */ 1795 RECOMP_FLAGS_IN(); 1796 edi = POP32_VAL(esp); /* 0x2B03BA49: pop edi */ 1797 esi = POP32_VAL(esp); /* 0x2B03BA4A: pop esi */ 1798 ebx = POP32_VAL(esp); /* 0x2B03BA4B: pop ebx */ 1799 ebp = POP32_VAL(esp); /* 0x2B03BA4C: pop ebp */ 1800 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03BA4D: ret 4 */ 1801 RECOMP_REGS_OUT(); 1802 } 1803 1804 void sub_2B03BA50(void) { 1805 int _fpu_cmp = 0; 1806 uint32_t _cf = 0; 1807 int _df = 1; 1808 uint32_t _flag_k = FK_NONE; 1809 uint32_t _flag_a = 0, _flag_b = 0; 1810 uint32_t _itail_tgt = 0; 1811 RECOMP_REGS_LOCALS 1812 RECOMP_ENTER(0x2B03BA50u); 1813 1814 L_2B03BA50: 1815 PUSH32(esp, ebp); /* 0x2B03BA50: push ebp */ 1816 ebp = esp; /* 0x2B03BA51: mov ebp, esp */ 1817 eax = MEM32(ebp + 0x8); /* 0x2B03BA53: mov eax, dword ptr [ebp + 8] */ 1818 SET_LO8(ecx, MEM8(eax + 0x1C)); /* 0x2B03BA56: mov cl, byte ptr [eax + 0x1c] */ 1819 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03BA59: test cl, cl */ 1820 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1821 _cf = 0; 1822 _flag_k = FK_NARROW(FK_TEST, 24); 1823 PUSH32(esp, ebx); /* 0x2B03BA5B: push ebx */ 1824 PUSH32(esp, esi); /* 0x2B03BA5C: push esi */ 1825 PUSH32(esp, edi); /* 0x2B03BA5D: push edi */ 1826 edi = MEM32(eax + 0x8); /* 0x2B03BA5E: mov edi, dword ptr [eax + 8] */ 1827 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BA67; /* 0x2B03BA61: jne 0x2b03ba67 */ 1828 L_2B03BA63: 1829 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1830 ecx = 0; /* 0x2B03BA63: xor ecx, ecx */ 1831 _cf = 0; 1832 _flag_k = FK_TEST; 1833 goto L_2B03BA74; /* 0x2B03BA65: jmp 0x2b03ba74 */ 1834 L_2B03BA67: 1835 SET_LO8(ecx, MEM8(eax + 0x24)); /* 0x2B03BA67: mov cl, byte ptr [eax + 0x24] */ 1836 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03BA6A: test cl, cl */ 1837 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1838 _cf = 0; 1839 _flag_k = FK_NARROW(FK_TEST, 24); 1840 ecx = MEM32(eax + 0x18); /* 0x2B03BA6C: mov ecx, dword ptr [eax + 0x18] */ 1841 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BA74; /* 0x2B03BA6F: jne 0x2b03ba74 */ 1842 L_2B03BA71: 1843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 1844 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1845 ecx = ecx + 0x14u; /* 0x2B03BA71: add ecx, 0x14 */ 1846 _flag_k = FK_ADD; 1847 L_2B03BA74: 1848 eax = MEM32(0x2B0B6118); /* 0x2B03BA74: mov eax, dword ptr [0x2b0b6118] */ 1849 eax = MEM32(eax); /* 0x2B03BA79: mov eax, dword ptr [eax] */ 1850 eax = MEM32(eax + 0x8); /* 0x2B03BA7B: mov eax, dword ptr [eax + 8] */ 1851 eax = MEM32(eax + 0x4); /* 0x2B03BA7E: mov eax, dword ptr [eax + 4] */ 1852 esi = ecx + edi; /* 0x2B03BA81: lea esi, [ecx + edi] */ 1853 ebx = eax + (-0x14); /* 0x2B03BA84: lea ebx, [eax - 0x14] */ 1854 /* cmp esi, ebx */ /* 0x2B03BA87: cmp esi, ebx */ 1855 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 1856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1857 _flag_k = FK_CMP; 1858 edx = edi; /* 0x2B03BA89: mov edx, edi */ 1859 if (CMP_LE(_flag_a, _flag_b)) goto L_2B03BA98; /* 0x2B03BA8B: jle 0x2b03ba98 */ 1860 L_2B03BA8D: 1861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1863 eax = eax - ecx; /* 0x2B03BA8D: sub eax, ecx */ 1864 _flag_k = FK_CMP; 1865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1867 eax = eax - edi; /* 0x2B03BA8F: sub eax, edi */ 1868 _flag_k = FK_CMP; 1869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 1870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1871 eax = eax - 0x14u; /* 0x2B03BA91: sub eax, 0x14 */ 1872 _flag_k = FK_CMP; 1873 edx = eax; /* 0x2B03BA94: mov edx, eax */ 1874 goto L_2B03BAA4; /* 0x2B03BA96: jmp 0x2b03baa4 */ 1875 L_2B03BA98: 1876 /* test edi, edi */ /* 0x2B03BA98: test edi, edi */ 1877 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1878 _cf = 0; 1879 _flag_k = FK_TEST; 1880 if (TEST_NS(_flag_a, _flag_b)) goto L_2B03BAA4; /* 0x2B03BA9A: jge 0x2b03baa4 */ 1881 L_2B03BA9C: 1882 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1883 edx = 0; /* 0x2B03BA9C: xor edx, edx */ 1884 _cf = 0; 1885 _flag_k = FK_TEST; 1886 MEM32(0x2B0EE9BC) = edx; /* 0x2B03BA9E: mov dword ptr [0x2b0ee9bc], edx */ 1887 L_2B03BAA4: 1888 ecx = MEM32(ebp + 0x8); /* 0x2B03BAA4: mov ecx, dword ptr [ebp + 8] */ 1889 esi = edi; /* 0x2B03BAA7: mov esi, edi */ 1890 PUSH32(esp, ecx); /* 0x2B03BAA9: push ecx */ 1891 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1893 esi = esi - edx; /* 0x2B03BAAA: sub esi, edx */ 1894 _flag_k = FK_CMP; 1895 RECOMP_ICALL(0x2B03BB00u); /* 0x2B03BAAC: call 0x2b03bb00 */ /* not lifted */ 1896 RECOMP_FLAGS_IN(); 1897 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1899 esp = esp + 4; /* 0x2B03BAB1: add esp, 4 */ 1900 _flag_k = FK_ADD; 1901 /* test esi, esi */ /* 0x2B03BAB4: test esi, esi */ 1902 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1903 _cf = 0; 1904 _flag_k = FK_TEST; 1905 ebx = eax; /* 0x2B03BAB6: mov ebx, eax */ 1906 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BAD0; /* 0x2B03BAB8: je 0x2b03bad0 */ 1907 L_2B03BABA: 1908 edx = MEM32(0x2B0EE9BC); /* 0x2B03BABA: mov edx, dword ptr [0x2b0ee9bc] */ 1909 ecx = MEM32(0x2B0EE9C4); /* 0x2B03BAC0: mov ecx, dword ptr [0x2b0ee9c4] */ 1910 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1912 edx = edx - esi; /* 0x2B03BAC6: sub edx, esi */ 1913 _flag_k = FK_CMP; 1914 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1916 edx = edx + edi; /* 0x2B03BAC8: add edx, edi */ 1917 _flag_k = FK_ADD; 1918 PUSH32(esp, edx); /* 0x2B03BACA: push edx */ 1919 RECOMP_ICALL(0x2B03B9A0u); /* 0x2B03BACB: call 0x2b03b9a0 */ /* not lifted */ 1920 RECOMP_FLAGS_IN(); 1921 L_2B03BAD0: 1922 eax = MEM32(0x2B0EE9C8); /* 0x2B03BAD0: mov eax, dword ptr [0x2b0ee9c8] */ 1923 edi = POP32_VAL(esp); /* 0x2B03BAD5: pop edi */ 1924 esi = POP32_VAL(esp); /* 0x2B03BAD6: pop esi */ 1925 /* cmp ebx, 0x2B0EE9A8u */ /* 0x2B03BAD7: cmp ebx, 0x2b0ee9a8 */ 1926 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x2B0EE9A8u); 1927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1928 _flag_k = FK_CMP; 1929 ebx = POP32_VAL(esp); /* 0x2B03BADD: pop ebx */ 1930 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BAE6; /* 0x2B03BADE: jne 0x2b03bae6 */ 1931 L_2B03BAE0: 1932 /* test eax, eax */ /* 0x2B03BAE0: test eax, eax */ 1933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1934 _cf = 0; 1935 _flag_k = FK_TEST; 1936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BAEA; /* 0x2B03BAE2: jne 0x2b03baea */ 1937 L_2B03BAE4: 1938 ebp = POP32_VAL(esp); /* 0x2B03BAE4: pop ebp */ 1939 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BAE5: ret */ 1940 L_2B03BAE6: 1941 /* test eax, eax */ /* 0x2B03BAE6: test eax, eax */ 1942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1943 _cf = 0; 1944 _flag_k = FK_TEST; 1945 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BAEF; /* 0x2B03BAE8: jne 0x2b03baef */ 1946 L_2B03BAEA: 1947 RECOMP_ICALL(0x2B03AA90u); /* 0x2B03BAEA: call 0x2b03aa90 */ /* not lifted */ 1948 RECOMP_FLAGS_IN(); 1949 L_2B03BAEF: 1950 ebp = POP32_VAL(esp); /* 0x2B03BAEF: pop ebp */ 1951 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BAF0: ret */ 1952 RECOMP_REGS_OUT(); 1953 } 1954 1955 void sub_2B03BB00(void) { 1956 int _fpu_cmp = 0; 1957 uint32_t _cf = 0; 1958 int _df = 1; 1959 uint32_t _flag_k = FK_NONE; 1960 uint32_t _flag_a = 0, _flag_b = 0; 1961 uint32_t _itail_tgt = 0; 1962 RECOMP_REGS_LOCALS 1963 RECOMP_ENTER(0x2B03BB00u); 1964 1965 L_2B03BB00: 1966 PUSH32(esp, ebp); /* 0x2B03BB00: push ebp */ 1967 ebp = esp; /* 0x2B03BB01: mov ebp, esp */ 1968 ecx = MEM32(0x2B0EE9AC); /* 0x2B03BB03: mov ecx, dword ptr [0x2b0ee9ac] */ 1969 eax = MEM32(ecx); /* 0x2B03BB09: mov eax, dword ptr [ecx] */ 1970 /* cmp eax, ecx */ /* 0x2B03BB0B: cmp eax, ecx */ 1971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1973 _flag_k = FK_CMP; 1974 edx = MEM32(ebp + 0x8); /* 0x2B03BB0D: mov edx, dword ptr [ebp + 8] */ 1975 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB1D; /* 0x2B03BB10: je 0x2b03bb1d */ 1976 L_2B03BB12: 1977 /* cmp MEM32(eax + 0x8), edx */ /* 0x2B03BB12: cmp dword ptr [eax + 8], edx */ 1978 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(edx); 1979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1980 _flag_k = FK_CMP; 1981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB38; /* 0x2B03BB15: je 0x2b03bb38 */ 1982 L_2B03BB17: 1983 eax = MEM32(eax); /* 0x2B03BB17: mov eax, dword ptr [eax] */ 1984 /* cmp eax, ecx */ /* 0x2B03BB19: cmp eax, ecx */ 1985 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1987 _flag_k = FK_CMP; 1988 RECOMP_BACKEDGE(); 1989 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BB12; /* 0x2B03BB1B: jne 0x2b03bb12 */ 1990 L_2B03BB1D: 1991 ecx = MEM32(0x2B0EE99C); /* 0x2B03BB1D: mov ecx, dword ptr [0x2b0ee99c] */ 1992 eax = MEM32(ecx); /* 0x2B03BB23: mov eax, dword ptr [ecx] */ 1993 /* cmp eax, ecx */ /* 0x2B03BB25: cmp eax, ecx */ 1994 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1996 _flag_k = FK_CMP; 1997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB46; /* 0x2B03BB27: je 0x2b03bb46 */ 1998 L_2B03BB29: 1999 /* cmp MEM32(eax + 0x8), edx */ /* 0x2B03BB29: cmp dword ptr [eax + 8], edx */ 2000 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(edx); 2001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2002 _flag_k = FK_CMP; 2003 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB3F; /* 0x2B03BB2C: je 0x2b03bb3f */ 2004 L_2B03BB2E: 2005 eax = MEM32(eax); /* 0x2B03BB2E: mov eax, dword ptr [eax] */ 2006 /* cmp eax, ecx */ /* 0x2B03BB30: cmp eax, ecx */ 2007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2009 _flag_k = FK_CMP; 2010 RECOMP_BACKEDGE(); 2011 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BB29; /* 0x2B03BB32: jne 0x2b03bb29 */ 2012 L_2B03BB34: 2013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2014 eax = 0; /* 0x2B03BB34: xor eax, eax */ 2015 _cf = 0; 2016 _flag_k = FK_TEST; 2017 ebp = POP32_VAL(esp); /* 0x2B03BB36: pop ebp */ 2018 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BB37: ret */ 2019 L_2B03BB38: 2020 eax = 0x2B0EE9A8u; /* 0x2B03BB38: mov eax, 0x2b0ee9a8 */ 2021 ebp = POP32_VAL(esp); /* 0x2B03BB3D: pop ebp */ 2022 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BB3E: ret */ 2023 L_2B03BB3F: 2024 eax = 0x2B0EE998u; /* 0x2B03BB3F: mov eax, 0x2b0ee998 */ 2025 ebp = POP32_VAL(esp); /* 0x2B03BB44: pop ebp */ 2026 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BB45: ret */ 2027 L_2B03BB46: 2028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2029 eax = 0; /* 0x2B03BB46: xor eax, eax */ 2030 _cf = 0; 2031 _flag_k = FK_TEST; 2032 ebp = POP32_VAL(esp); /* 0x2B03BB48: pop ebp */ 2033 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BB49: ret */ 2034 RECOMP_REGS_OUT(); 2035 } 2036 2037 void sub_2B03BB50(void) { 2038 int _fpu_cmp = 0; 2039 uint32_t _cf = 0; 2040 int _df = 1; 2041 uint32_t _flag_k = FK_NONE; 2042 uint32_t _flag_a = 0, _flag_b = 0; 2043 uint32_t _itail_tgt = 0; 2044 RECOMP_REGS_LOCALS 2045 RECOMP_ENTER(0x2B03BB50u); 2046 2047 L_2B03BB50: 2048 eax = MEM32(0x2B0EE9C8); /* 0x2B03BB50: mov eax, dword ptr [0x2b0ee9c8] */ 2049 /* test eax, eax */ /* 0x2B03BB55: test eax, eax */ 2050 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2051 _cf = 0; 2052 _flag_k = FK_TEST; 2053 PUSH32(esp, ebx); /* 0x2B03BB57: push ebx */ 2054 PUSH32(esp, esi); /* 0x2B03BB58: push esi */ 2055 PUSH32(esp, edi); /* 0x2B03BB59: push edi */ 2056 ebx = ecx; /* 0x2B03BB5A: mov ebx, ecx */ 2057 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BB7A; /* 0x2B03BB5C: jne 0x2b03bb7a */ 2058 L_2B03BB5E: 2059 edi = MEM32(0x2B0EE9AC); /* 0x2B03BB5E: mov edi, dword ptr [0x2b0ee9ac] */ 2060 esi = MEM32(edi); /* 0x2B03BB64: mov esi, dword ptr [edi] */ 2061 /* cmp esi, edi */ /* 0x2B03BB66: cmp esi, edi */ 2062 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2064 _flag_k = FK_CMP; 2065 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB94; /* 0x2B03BB68: je 0x2b03bb94 */ 2066 L_2B03BB6A: 2067 ecx = MEM32(esi + 0x8); /* 0x2B03BB6A: mov ecx, dword ptr [esi + 8] */ 2068 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03BB6D: call 0x2b03a2b0 */ /* not lifted */ 2069 RECOMP_FLAGS_IN(); 2070 esi = MEM32(esi); /* 0x2B03BB72: mov esi, dword ptr [esi] */ 2071 /* cmp esi, edi */ /* 0x2B03BB74: cmp esi, edi */ 2072 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2074 _flag_k = FK_CMP; 2075 RECOMP_BACKEDGE(); 2076 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BB6A; /* 0x2B03BB76: jne 0x2b03bb6a */ 2077 L_2B03BB78: 2078 goto L_2B03BB94; /* 0x2B03BB78: jmp 0x2b03bb94 */ 2079 L_2B03BB7A: 2080 edi = MEM32(0x2B0EE99C); /* 0x2B03BB7A: mov edi, dword ptr [0x2b0ee99c] */ 2081 esi = MEM32(edi); /* 0x2B03BB80: mov esi, dword ptr [edi] */ 2082 /* cmp esi, edi */ /* 0x2B03BB82: cmp esi, edi */ 2083 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2085 _flag_k = FK_CMP; 2086 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BB94; /* 0x2B03BB84: je 0x2b03bb94 */ 2087 L_2B03BB86: 2088 ecx = MEM32(esi + 0x8); /* 0x2B03BB86: mov ecx, dword ptr [esi + 8] */ 2089 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B03BB89: call 0x2b03a2b0 */ /* not lifted */ 2090 RECOMP_FLAGS_IN(); 2091 esi = MEM32(esi); /* 0x2B03BB8E: mov esi, dword ptr [esi] */ 2092 /* cmp esi, edi */ /* 0x2B03BB90: cmp esi, edi */ 2093 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2095 _flag_k = FK_CMP; 2096 RECOMP_BACKEDGE(); 2097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BB86; /* 0x2B03BB92: jne 0x2b03bb86 */ 2098 L_2B03BB94: 2099 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2100 eax = 0; /* 0x2B03BB94: xor eax, eax */ 2101 _cf = 0; 2102 _flag_k = FK_TEST; 2103 SET_LO8(eax, MEM8(0x2B0EE9E0)); /* 0x2B03BB96: mov al, byte ptr [0x2b0ee9e0] */ 2104 ecx = ebx; /* 0x2B03BB9B: mov ecx, ebx */ 2105 PUSH32(esp, eax); /* 0x2B03BB9D: push eax */ 2106 RECOMP_ICALL(0x2B03B330u); /* 0x2B03BB9E: call 0x2b03b330 */ /* not lifted */ 2107 RECOMP_FLAGS_IN(); 2108 ecx = ebx; /* 0x2B03BBA3: mov ecx, ebx */ 2109 RECOMP_ICALL(0x2B03B110u); /* 0x2B03BBA5: call 0x2b03b110 */ /* not lifted */ 2110 RECOMP_FLAGS_IN(); 2111 edi = POP32_VAL(esp); /* 0x2B03BBAA: pop edi */ 2112 esi = POP32_VAL(esp); /* 0x2B03BBAB: pop esi */ 2113 ebx = POP32_VAL(esp); /* 0x2B03BBAC: pop ebx */ 2114 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BBAD: ret */ 2115 RECOMP_REGS_OUT(); 2116 } 2117 2118 void sub_2B03BB94(void) { 2119 int _fpu_cmp = 0; 2120 uint32_t _cf = 0; 2121 int _df = 1; 2122 uint32_t _flag_k = FK_NONE; 2123 uint32_t _flag_a = 0, _flag_b = 0; 2124 uint32_t _itail_tgt = 0; 2125 RECOMP_REGS_LOCALS 2126 RECOMP_ENTER(0x2B03BB94u); 2127 2128 L_2B03BB94: 2129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2130 eax = 0; /* 0x2B03BB94: xor eax, eax */ 2131 _cf = 0; 2132 _flag_k = FK_TEST; 2133 SET_LO8(eax, MEM8(0x2B0EE9E0)); /* 0x2B03BB96: mov al, byte ptr [0x2b0ee9e0] */ 2134 ecx = ebx; /* 0x2B03BB9B: mov ecx, ebx */ 2135 PUSH32(esp, eax); /* 0x2B03BB9D: push eax */ 2136 RECOMP_ICALL(0x2B03B330u); /* 0x2B03BB9E: call 0x2b03b330 */ /* not lifted */ 2137 RECOMP_FLAGS_IN(); 2138 ecx = ebx; /* 0x2B03BBA3: mov ecx, ebx */ 2139 RECOMP_ICALL(0x2B03B110u); /* 0x2B03BBA5: call 0x2b03b110 */ /* not lifted */ 2140 RECOMP_FLAGS_IN(); 2141 edi = POP32_VAL(esp); /* 0x2B03BBAA: pop edi */ 2142 esi = POP32_VAL(esp); /* 0x2B03BBAB: pop esi */ 2143 ebx = POP32_VAL(esp); /* 0x2B03BBAC: pop ebx */ 2144 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BBAD: ret */ 2145 RECOMP_REGS_OUT(); 2146 } 2147 2148 void sub_2B03BBB0(void) { 2149 int _fpu_cmp = 0; 2150 uint32_t _cf = 0; 2151 int _df = 1; 2152 uint32_t _flag_k = FK_NONE; 2153 uint32_t _flag_a = 0, _flag_b = 0; 2154 uint32_t _itail_tgt = 0; 2155 RECOMP_REGS_LOCALS 2156 RECOMP_ENTER(0x2B03BBB0u); 2157 2158 L_2B03BBB0: 2159 ecx = MEM32(0x2B0EE9B8); /* 0x2B03BBB0: mov ecx, dword ptr [0x2b0ee9b8] */ 2160 PUSH32(esp, 1); /* 0x2B03BBB6: push 1 */ 2161 MEM8(0x2B0EE9E0) = (uint8_t)(1); /* 0x2B03BBB8: mov byte ptr [0x2b0ee9e0], 1 */ 2162 RECOMP_ICALL(0x2B03B330u); /* 0x2B03BBBF: call 0x2b03b330 */ /* not lifted */ 2163 RECOMP_FLAGS_IN(); 2164 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BBC4: ret */ 2165 RECOMP_REGS_OUT(); 2166 } 2167 2168 void sub_2B03BBD0(void) { 2169 int _fpu_cmp = 0; 2170 uint32_t _cf = 0; 2171 int _df = 1; 2172 uint32_t _flag_k = FK_NONE; 2173 uint32_t _flag_a = 0, _flag_b = 0; 2174 uint32_t _itail_tgt = 0; 2175 RECOMP_REGS_LOCALS 2176 RECOMP_ENTER(0x2B03BBD0u); 2177 2178 L_2B03BBD0: 2179 ecx = MEM32(0x2B0EE9B8); /* 0x2B03BBD0: mov ecx, dword ptr [0x2b0ee9b8] */ 2180 PUSH32(esp, 0); /* 0x2B03BBD6: push 0 */ 2181 MEM8(0x2B0EE9E0) = (uint8_t)(0); /* 0x2B03BBD8: mov byte ptr [0x2b0ee9e0], 0 */ 2182 RECOMP_ICALL(0x2B03B330u); /* 0x2B03BBDF: call 0x2b03b330 */ /* not lifted */ 2183 RECOMP_FLAGS_IN(); 2184 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BBE4: ret */ 2185 RECOMP_REGS_OUT(); 2186 } 2187 2188 void sub_2B03BBF0(void) { 2189 int _fpu_cmp = 0; 2190 uint32_t _cf = 0; 2191 int _df = 1; 2192 uint32_t _flag_k = FK_NONE; 2193 uint32_t _flag_a = 0, _flag_b = 0; 2194 uint32_t _itail_tgt = 0; 2195 RECOMP_REGS_LOCALS 2196 RECOMP_ENTER(0x2B03BBF0u); 2197 2198 L_2B03BBF0: 2199 PUSH32(esp, ebp); /* 0x2B03BBF0: push ebp */ 2200 ebp = esp; /* 0x2B03BBF1: mov ebp, esp */ 2201 PUSH32(esp, ebx); /* 0x2B03BBF3: push ebx */ 2202 PUSH32(esp, esi); /* 0x2B03BBF4: push esi */ 2203 esi = MEM32(ebp + 0xC); /* 0x2B03BBF5: mov esi, dword ptr [ebp + 0xc] */ 2204 PUSH32(esp, edi); /* 0x2B03BBF8: push edi */ 2205 edi = MEM32(esi + 0x4); /* 0x2B03BBF9: mov edi, dword ptr [esi + 4] */ 2206 PUSH32(esp, 0xCu); /* 0x2B03BBFC: push 0xc */ 2207 ebx = ecx; /* 0x2B03BBFE: mov ebx, ecx */ 2208 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BC00: call 0x2b0ab212 */ /* not lifted */ 2209 RECOMP_FLAGS_IN(); 2210 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2211 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2212 esp = esp + 4; /* 0x2B03BC05: add esp, 4 */ 2213 _flag_k = FK_ADD; 2214 /* test esi, esi */ /* 0x2B03BC08: test esi, esi */ 2215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2216 _cf = 0; 2217 _flag_k = FK_TEST; 2218 ecx = esi; /* 0x2B03BC0A: mov ecx, esi */ 2219 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BC10; /* 0x2B03BC0C: jne 0x2b03bc10 */ 2220 L_2B03BC0E: 2221 ecx = eax; /* 0x2B03BC0E: mov ecx, eax */ 2222 L_2B03BC10: 2223 /* test edi, edi */ /* 0x2B03BC10: test edi, edi */ 2224 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2225 _cf = 0; 2226 _flag_k = FK_TEST; 2227 MEM32(eax) = ecx; /* 0x2B03BC12: mov dword ptr [eax], ecx */ 2228 ecx = edi; /* 0x2B03BC14: mov ecx, edi */ 2229 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BC1A; /* 0x2B03BC16: jne 0x2b03bc1a */ 2230 L_2B03BC18: 2231 ecx = eax; /* 0x2B03BC18: mov ecx, eax */ 2232 L_2B03BC1A: 2233 MEM32(eax + 0x4) = ecx; /* 0x2B03BC1A: mov dword ptr [eax + 4], ecx */ 2234 MEM32(esi + 0x4) = eax; /* 0x2B03BC1D: mov dword ptr [esi + 4], eax */ 2235 ecx = MEM32(eax + 0x4); /* 0x2B03BC20: mov ecx, dword ptr [eax + 4] */ 2236 MEM32(ecx) = eax; /* 0x2B03BC23: mov dword ptr [ecx], eax */ 2237 ecx = eax + 0x8; /* 0x2B03BC25: lea ecx, [eax + 8] */ 2238 /* test ecx, ecx */ /* 0x2B03BC28: test ecx, ecx */ 2239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2240 _cf = 0; 2241 _flag_k = FK_TEST; 2242 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BC33; /* 0x2B03BC2A: je 0x2b03bc33 */ 2243 L_2B03BC2C: 2244 edx = MEM32(ebp + 0x10); /* 0x2B03BC2C: mov edx, dword ptr [ebp + 0x10] */ 2245 edx = MEM32(edx); /* 0x2B03BC2F: mov edx, dword ptr [edx] */ 2246 MEM32(ecx) = edx; /* 0x2B03BC31: mov dword ptr [ecx], edx */ 2247 L_2B03BC33: 2248 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1); 2249 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x2B03BC33: inc dword ptr [ebx + 8] */ 2250 _flag_k = FK_INC; 2251 ecx = MEM32(ebp + 0x8); /* 0x2B03BC36: mov ecx, dword ptr [ebp + 8] */ 2252 edi = POP32_VAL(esp); /* 0x2B03BC39: pop edi */ 2253 esi = POP32_VAL(esp); /* 0x2B03BC3A: pop esi */ 2254 MEM32(ecx) = eax; /* 0x2B03BC3B: mov dword ptr [ecx], eax */ 2255 eax = ecx; /* 0x2B03BC3D: mov eax, ecx */ 2256 ebx = POP32_VAL(esp); /* 0x2B03BC3F: pop ebx */ 2257 ebp = POP32_VAL(esp); /* 0x2B03BC40: pop ebp */ 2258 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B03BC41: ret 0xc */ 2259 RECOMP_REGS_OUT(); 2260 } 2261 2262 void sub_2B03BC50(void) { 2263 int _fpu_cmp = 0; 2264 uint32_t _cf = 0; 2265 int _df = 1; 2266 uint32_t _flag_k = FK_NONE; 2267 uint32_t _flag_a = 0, _flag_b = 0; 2268 uint32_t _itail_tgt = 0; 2269 RECOMP_REGS_LOCALS 2270 RECOMP_ENTER(0x2B03BC50u); 2271 2272 L_2B03BC50: 2273 PUSH32(esp, ebp); /* 0x2B03BC50: push ebp */ 2274 ebp = esp; /* 0x2B03BC51: mov ebp, esp */ 2275 eax = MEM32(ebp + 0xC); /* 0x2B03BC53: mov eax, dword ptr [ebp + 0xc] */ 2276 edx = MEM32(eax); /* 0x2B03BC56: mov edx, dword ptr [eax] */ 2277 PUSH32(esp, esi); /* 0x2B03BC58: push esi */ 2278 esi = ecx; /* 0x2B03BC59: mov esi, ecx */ 2279 ecx = MEM32(eax + 0x4); /* 0x2B03BC5B: mov ecx, dword ptr [eax + 4] */ 2280 PUSH32(esp, edi); /* 0x2B03BC5E: push edi */ 2281 edi = MEM32(eax); /* 0x2B03BC5F: mov edi, dword ptr [eax] */ 2282 MEM32(ecx) = edx; /* 0x2B03BC61: mov dword ptr [ecx], edx */ 2283 ecx = MEM32(eax); /* 0x2B03BC63: mov ecx, dword ptr [eax] */ 2284 edx = MEM32(eax + 0x4); /* 0x2B03BC65: mov edx, dword ptr [eax + 4] */ 2285 PUSH32(esp, eax); /* 0x2B03BC68: push eax */ 2286 MEM32(ecx + 0x4) = edx; /* 0x2B03BC69: mov dword ptr [ecx + 4], edx */ 2287 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BC6C: call 0x2b0ab1ba */ /* not lifted */ 2288 RECOMP_FLAGS_IN(); 2289 eax = MEM32(esi + 0x8); /* 0x2B03BC71: mov eax, dword ptr [esi + 8] */ 2290 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2292 esp = esp + 4; /* 0x2B03BC74: add esp, 4 */ 2293 _flag_k = FK_ADD; 2294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2295 eax = eax - 1; /* 0x2B03BC77: dec eax */ 2296 _flag_k = FK_DEC; 2297 MEM32(esi + 0x8) = eax; /* 0x2B03BC78: mov dword ptr [esi + 8], eax */ 2298 eax = MEM32(ebp + 0x8); /* 0x2B03BC7B: mov eax, dword ptr [ebp + 8] */ 2299 MEM32(eax) = edi; /* 0x2B03BC7E: mov dword ptr [eax], edi */ 2300 edi = POP32_VAL(esp); /* 0x2B03BC80: pop edi */ 2301 esi = POP32_VAL(esp); /* 0x2B03BC81: pop esi */ 2302 ebp = POP32_VAL(esp); /* 0x2B03BC82: pop ebp */ 2303 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03BC83: ret 8 */ 2304 RECOMP_REGS_OUT(); 2305 } 2306 2307 void sub_2B03BC90(void) { 2308 int _fpu_cmp = 0; 2309 uint32_t _cf = 0; 2310 int _df = 1; 2311 uint32_t _flag_k = FK_NONE; 2312 uint32_t _flag_a = 0, _flag_b = 0; 2313 uint32_t _itail_tgt = 0; 2314 RECOMP_REGS_LOCALS 2315 RECOMP_ENTER(0x2B03BC90u); 2316 2317 L_2B03BC90: 2318 PUSH32(esp, ebp); /* 0x2B03BC90: push ebp */ 2319 ebp = esp; /* 0x2B03BC91: mov ebp, esp */ 2320 PUSH32(esp, 0xCu); /* 0x2B03BC93: push 0xc */ 2321 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BC95: call 0x2b0ab212 */ /* not lifted */ 2322 RECOMP_FLAGS_IN(); 2323 ecx = MEM32(ebp + 0x8); /* 0x2B03BC9A: mov ecx, dword ptr [ebp + 8] */ 2324 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2326 esp = esp + 4; /* 0x2B03BC9D: add esp, 4 */ 2327 _flag_k = FK_ADD; 2328 /* test ecx, ecx */ /* 0x2B03BCA0: test ecx, ecx */ 2329 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2330 _cf = 0; 2331 _flag_k = FK_TEST; 2332 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BCA6; /* 0x2B03BCA2: jne 0x2b03bca6 */ 2333 L_2B03BCA4: 2334 ecx = eax; /* 0x2B03BCA4: mov ecx, eax */ 2335 L_2B03BCA6: 2336 MEM32(eax) = ecx; /* 0x2B03BCA6: mov dword ptr [eax], ecx */ 2337 ecx = MEM32(ebp + 0xC); /* 0x2B03BCA8: mov ecx, dword ptr [ebp + 0xc] */ 2338 /* test ecx, ecx */ /* 0x2B03BCAB: test ecx, ecx */ 2339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2340 _cf = 0; 2341 _flag_k = FK_TEST; 2342 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BCB6; /* 0x2B03BCAD: je 0x2b03bcb6 */ 2343 L_2B03BCAF: 2344 MEM32(eax + 0x4) = ecx; /* 0x2B03BCAF: mov dword ptr [eax + 4], ecx */ 2345 ebp = POP32_VAL(esp); /* 0x2B03BCB2: pop ebp */ 2346 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03BCB3: ret 8 */ 2347 L_2B03BCB6: 2348 MEM32(eax + 0x4) = eax; /* 0x2B03BCB6: mov dword ptr [eax + 4], eax */ 2349 ebp = POP32_VAL(esp); /* 0x2B03BCB9: pop ebp */ 2350 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03BCBA: ret 8 */ 2351 RECOMP_REGS_OUT(); 2352 } 2353 2354 void sub_2B03BCC0(void) { 2355 int _fpu_cmp = 0; 2356 uint32_t _cf = 0; 2357 int _df = 1; 2358 uint32_t _flag_k = FK_NONE; 2359 uint32_t _flag_a = 0, _flag_b = 0; 2360 uint32_t _itail_tgt = 0; 2361 RECOMP_REGS_LOCALS 2362 RECOMP_ENTER(0x2B03BCC0u); 2363 2364 L_2B03BCC0: 2365 PUSH32(esp, ebp); /* 0x2B03BCC0: push ebp */ 2366 ebp = esp; /* 0x2B03BCC1: mov ebp, esp */ 2367 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03BCC3: push -1 */ 2368 PUSH32(esp, 0x2B0AE906u); /* 0x2B03BCC5: push 0x2b0ae906 */ 2369 eax = MEM32(FS_BASE + (0)); /* 0x2B03BCCA: mov eax, dword ptr fs:[0] */ 2370 PUSH32(esp, eax); /* 0x2B03BCD0: push eax */ 2371 MEM32(FS_BASE + (0)) = esp; /* 0x2B03BCD1: mov dword ptr fs:[0], esp */ 2372 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 2373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2374 esp = esp - 0x1Cu; /* 0x2B03BCD8: sub esp, 0x1c */ 2375 _flag_k = FK_CMP; 2376 PUSH32(esp, ebx); /* 0x2B03BCDB: push ebx */ 2377 PUSH32(esp, esi); /* 0x2B03BCDC: push esi */ 2378 PUSH32(esp, edi); /* 0x2B03BCDD: push edi */ 2379 edi = ecx; /* 0x2B03BCDE: mov edi, ecx */ 2380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2381 ebx = 0; /* 0x2B03BCE0: xor ebx, ebx */ 2382 _cf = 0; 2383 _flag_k = FK_TEST; 2384 MEM32(edi + 0xC) = ebx; /* 0x2B03BCE2: mov dword ptr [edi + 0xc], ebx */ 2385 MEM32(0x2B0EE9F0) = edi; /* 0x2B03BCE5: mov dword ptr [0x2b0ee9f0], edi */ 2386 PUSH32(esp, 0x50u); /* 0x2B03BCEB: push 0x50 */ 2387 MEM32(edi + 0x4) = 0x2AF8u; /* 0x2B03BCED: mov dword ptr [edi + 4], 0x2af8 */ 2388 MEM32(ebp + (-0x28)) = 0xC0u; /* 0x2B03BCF4: mov dword ptr [ebp - 0x28], 0xc0 */ 2389 MEM32(ebp + (-0x24)) = 0x14u; /* 0x2B03BCFB: mov dword ptr [ebp - 0x24], 0x14 */ 2390 MEM32(ebp + (-0x20)) = ebx; /* 0x2B03BD02: mov dword ptr [ebp - 0x20], ebx */ 2391 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B03BD05: mov dword ptr [ebp - 0x1c], ebx */ 2392 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BD08: call 0x2b0ab212 */ /* not lifted */ 2393 RECOMP_FLAGS_IN(); 2394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2396 esp = esp + 4; /* 0x2B03BD0D: add esp, 4 */ 2397 _flag_k = FK_ADD; 2398 MEM32(ebp + (-0x14)) = eax; /* 0x2B03BD10: mov dword ptr [ebp - 0x14], eax */ 2399 /* cmp eax, ebx */ /* 0x2B03BD13: cmp eax, ebx */ 2400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2402 _flag_k = FK_CMP; 2403 MEM32(ebp + (-0x4)) = ebx; /* 0x2B03BD15: mov dword ptr [ebp - 4], ebx */ 2404 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BD3F; /* 0x2B03BD18: je 0x2b03bd3f */ 2405 L_2B03BD1A: 2406 ecx = MEM32(edi + 0x4); /* 0x2B03BD1A: mov ecx, dword ptr [edi + 4] */ 2407 PUSH32(esp, ebx); /* 0x2B03BD1D: push ebx */ 2408 PUSH32(esp, 0x3F800000u); /* 0x2B03BD1E: push 0x3f800000 */ 2409 PUSH32(esp, 0x3F800000u); /* 0x2B03BD23: push 0x3f800000 */ 2410 PUSH32(esp, ecx); /* 0x2B03BD28: push ecx */ 2411 edx = ebp + (-0x20); /* 0x2B03BD29: lea edx, [ebp - 0x20] */ 2412 PUSH32(esp, edx); /* 0x2B03BD2C: push edx */ 2413 ecx = ebp + (-0x28); /* 0x2B03BD2D: lea ecx, [ebp - 0x28] */ 2414 PUSH32(esp, ecx); /* 0x2B03BD30: push ecx */ 2415 PUSH32(esp, 5); /* 0x2B03BD31: push 5 */ 2416 PUSH32(esp, 6); /* 0x2B03BD33: push 6 */ 2417 ecx = eax; /* 0x2B03BD35: mov ecx, eax */ 2418 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B03BD37: call dword ptr [0x2b0b5bd8] */ 2419 RECOMP_FLAGS_IN(); 2420 goto L_2B03BD41; /* 0x2B03BD3D: jmp 0x2b03bd41 */ 2421 L_2B03BD3F: 2422 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2423 eax = 0; /* 0x2B03BD3F: xor eax, eax */ 2424 _cf = 0; 2425 _flag_k = FK_TEST; 2426 L_2B03BD41: 2427 PUSH32(esp, ebx); /* 0x2B03BD41: push ebx */ 2428 MEM32(edi) = eax; /* 0x2B03BD42: mov dword ptr [edi], eax */ 2429 eax = MEM32(eax + 0x28); /* 0x2B03BD44: mov eax, dword ptr [eax + 0x28] */ 2430 PUSH32(esp, ebx); /* 0x2B03BD47: push ebx */ 2431 PUSH32(esp, ebx); /* 0x2B03BD48: push ebx */ 2432 ecx = eax; /* 0x2B03BD49: mov ecx, eax */ 2433 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03BD4B: mov dword ptr [ebp - 4], 0xffffffff */ 2434 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B03BD52: call dword ptr [0x2b0b564c] */ 2435 RECOMP_FLAGS_IN(); 2436 PUSH32(esp, 0x14u); /* 0x2B03BD58: push 0x14 */ 2437 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BD5A: call 0x2b0ab212 */ /* not lifted */ 2438 RECOMP_FLAGS_IN(); 2439 esi = eax; /* 0x2B03BD5F: mov esi, eax */ 2440 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2442 esp = esp + 4; /* 0x2B03BD61: add esp, 4 */ 2443 _flag_k = FK_ADD; 2444 MEM32(ebp + (-0x18)) = esi; /* 0x2B03BD64: mov dword ptr [ebp - 0x18], esi */ 2445 /* cmp esi, ebx */ /* 0x2B03BD67: cmp esi, ebx */ 2446 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2448 _flag_k = FK_CMP; 2449 MEM32(ebp + (-0x4)) = 1; /* 0x2B03BD69: mov dword ptr [ebp - 4], 1 */ 2450 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BDE3; /* 0x2B03BD70: je 0x2b03bde3 */ 2451 L_2B03BD72: 2452 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B03BD72: mov dl, byte ptr [ebp - 0xd] */ 2453 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B03BD75: mov al, byte ptr [ebp - 0xd] */ 2454 PUSH32(esp, 0x30u); /* 0x2B03BD78: push 0x30 */ 2455 MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x2B03BD7A: mov byte ptr [esi], dl */ 2456 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B03BD7C: mov byte ptr [esi + 1], al */ 2457 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B03BD7F: mov byte ptr [esi + 0xc], bl */ 2458 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BD82: call 0x2b0ab212 */ /* not lifted */ 2459 RECOMP_FLAGS_IN(); 2460 MEM32(eax + 0x4) = ebx; /* 0x2B03BD87: mov dword ptr [eax + 4], ebx */ 2461 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x2B03BD8A: mov byte ptr [eax + 0x2c], 1 */ 2462 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x2B03BD8E: mov byte ptr [eax + 0x2d], bl */ 2463 MEM32(esi + 0x8) = eax; /* 0x2B03BD91: mov dword ptr [esi + 8], eax */ 2464 MEM8(eax + 0x2D) = (uint8_t)(1); /* 0x2B03BD94: mov byte ptr [eax + 0x2d], 1 */ 2465 ecx = MEM32(esi + 0x8); /* 0x2B03BD98: mov ecx, dword ptr [esi + 8] */ 2466 MEM32(ecx) = ebx; /* 0x2B03BD9B: mov dword ptr [ecx], ebx */ 2467 edx = MEM32(esi + 0x8); /* 0x2B03BD9D: mov edx, dword ptr [esi + 8] */ 2468 MEM32(edx + 0x8) = ebx; /* 0x2B03BDA0: mov dword ptr [edx + 8], ebx */ 2469 eax = MEM32(esi + 0x8); /* 0x2B03BDA3: mov eax, dword ptr [esi + 8] */ 2470 PUSH32(esp, 0x30u); /* 0x2B03BDA6: push 0x30 */ 2471 MEM32(ebp + (-0x14)) = eax; /* 0x2B03BDA8: mov dword ptr [ebp - 0x14], eax */ 2472 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BDAB: call 0x2b0ab212 */ /* not lifted */ 2473 RECOMP_FLAGS_IN(); 2474 ecx = MEM32(ebp + (-0x14)); /* 0x2B03BDB0: mov ecx, dword ptr [ebp - 0x14] */ 2475 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03BDB3: mov byte ptr [eax + 0x2c], bl */ 2476 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x2B03BDB6: mov byte ptr [eax + 0x2d], bl */ 2477 MEM32(eax + 0x4) = ecx; /* 0x2B03BDB9: mov dword ptr [eax + 4], ecx */ 2478 MEM32(esi + 0x4) = eax; /* 0x2B03BDBC: mov dword ptr [esi + 4], eax */ 2479 MEM32(eax) = eax; /* 0x2B03BDBF: mov dword ptr [eax], eax */ 2480 eax = MEM32(esi + 0x4); /* 0x2B03BDC1: mov eax, dword ptr [esi + 4] */ 2481 MEM32(eax + 0x8) = eax; /* 0x2B03BDC4: mov dword ptr [eax + 8], eax */ 2482 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2484 esp = esp + 8; /* 0x2B03BDC7: add esp, 8 */ 2485 _flag_k = FK_ADD; 2486 MEM32(esi + 0x10) = ebx; /* 0x2B03BDCA: mov dword ptr [esi + 0x10], ebx */ 2487 MEM32(edi + 0x8) = esi; /* 0x2B03BDCD: mov dword ptr [edi + 8], esi */ 2488 eax = edi; /* 0x2B03BDD0: mov eax, edi */ 2489 edi = POP32_VAL(esp); /* 0x2B03BDD2: pop edi */ 2490 esi = POP32_VAL(esp); /* 0x2B03BDD3: pop esi */ 2491 ebx = POP32_VAL(esp); /* 0x2B03BDD4: pop ebx */ 2492 ecx = MEM32(ebp + (-0xC)); /* 0x2B03BDD5: mov ecx, dword ptr [ebp - 0xc] */ 2493 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03BDD8: mov dword ptr fs:[0], ecx */ 2494 esp = ebp; /* 0x2B03BDDF: mov esp, ebp */ 2495 ebp = POP32_VAL(esp); /* 0x2B03BDE1: pop ebp */ 2496 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BDE2: ret */ 2497 L_2B03BDE3: 2498 ecx = MEM32(ebp + (-0xC)); /* 0x2B03BDE3: mov ecx, dword ptr [ebp - 0xc] */ 2499 MEM32(edi + 0x8) = ebx; /* 0x2B03BDE6: mov dword ptr [edi + 8], ebx */ 2500 eax = edi; /* 0x2B03BDE9: mov eax, edi */ 2501 edi = POP32_VAL(esp); /* 0x2B03BDEB: pop edi */ 2502 esi = POP32_VAL(esp); /* 0x2B03BDEC: pop esi */ 2503 ebx = POP32_VAL(esp); /* 0x2B03BDED: pop ebx */ 2504 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03BDEE: mov dword ptr fs:[0], ecx */ 2505 esp = ebp; /* 0x2B03BDF5: mov esp, ebp */ 2506 ebp = POP32_VAL(esp); /* 0x2B03BDF7: pop ebp */ 2507 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BDF8: ret */ 2508 RECOMP_REGS_OUT(); 2509 } 2510 2511 void sub_2B03BD41(void) { 2512 int _fpu_cmp = 0; 2513 uint32_t _cf = 0; 2514 int _df = 1; 2515 uint32_t _flag_k = FK_NONE; 2516 uint32_t _flag_a = 0, _flag_b = 0; 2517 uint32_t _itail_tgt = 0; 2518 RECOMP_REGS_LOCALS 2519 RECOMP_ENTER(0x2B03BD41u); 2520 2521 L_2B03BD41: 2522 PUSH32(esp, ebx); /* 0x2B03BD41: push ebx */ 2523 MEM32(edi) = eax; /* 0x2B03BD42: mov dword ptr [edi], eax */ 2524 eax = MEM32(eax + 0x28); /* 0x2B03BD44: mov eax, dword ptr [eax + 0x28] */ 2525 PUSH32(esp, ebx); /* 0x2B03BD47: push ebx */ 2526 PUSH32(esp, ebx); /* 0x2B03BD48: push ebx */ 2527 ecx = eax; /* 0x2B03BD49: mov ecx, eax */ 2528 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03BD4B: mov dword ptr [ebp - 4], 0xffffffff */ 2529 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B03BD52: call dword ptr [0x2b0b564c] */ 2530 RECOMP_FLAGS_IN(); 2531 PUSH32(esp, 0x14u); /* 0x2B03BD58: push 0x14 */ 2532 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BD5A: call 0x2b0ab212 */ /* not lifted */ 2533 RECOMP_FLAGS_IN(); 2534 esi = eax; /* 0x2B03BD5F: mov esi, eax */ 2535 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2537 esp = esp + 4; /* 0x2B03BD61: add esp, 4 */ 2538 _flag_k = FK_ADD; 2539 MEM32(ebp + (-0x18)) = esi; /* 0x2B03BD64: mov dword ptr [ebp - 0x18], esi */ 2540 /* cmp esi, ebx */ /* 0x2B03BD67: cmp esi, ebx */ 2541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2543 _flag_k = FK_CMP; 2544 MEM32(ebp + (-0x4)) = 1; /* 0x2B03BD69: mov dword ptr [ebp - 4], 1 */ 2545 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BDE3; /* 0x2B03BD70: je 0x2b03bde3 */ 2546 L_2B03BD72: 2547 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B03BD72: mov dl, byte ptr [ebp - 0xd] */ 2548 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B03BD75: mov al, byte ptr [ebp - 0xd] */ 2549 PUSH32(esp, 0x30u); /* 0x2B03BD78: push 0x30 */ 2550 MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x2B03BD7A: mov byte ptr [esi], dl */ 2551 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B03BD7C: mov byte ptr [esi + 1], al */ 2552 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B03BD7F: mov byte ptr [esi + 0xc], bl */ 2553 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BD82: call 0x2b0ab212 */ /* not lifted */ 2554 RECOMP_FLAGS_IN(); 2555 MEM32(eax + 0x4) = ebx; /* 0x2B03BD87: mov dword ptr [eax + 4], ebx */ 2556 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x2B03BD8A: mov byte ptr [eax + 0x2c], 1 */ 2557 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x2B03BD8E: mov byte ptr [eax + 0x2d], bl */ 2558 MEM32(esi + 0x8) = eax; /* 0x2B03BD91: mov dword ptr [esi + 8], eax */ 2559 MEM8(eax + 0x2D) = (uint8_t)(1); /* 0x2B03BD94: mov byte ptr [eax + 0x2d], 1 */ 2560 ecx = MEM32(esi + 0x8); /* 0x2B03BD98: mov ecx, dword ptr [esi + 8] */ 2561 MEM32(ecx) = ebx; /* 0x2B03BD9B: mov dword ptr [ecx], ebx */ 2562 edx = MEM32(esi + 0x8); /* 0x2B03BD9D: mov edx, dword ptr [esi + 8] */ 2563 MEM32(edx + 0x8) = ebx; /* 0x2B03BDA0: mov dword ptr [edx + 8], ebx */ 2564 eax = MEM32(esi + 0x8); /* 0x2B03BDA3: mov eax, dword ptr [esi + 8] */ 2565 PUSH32(esp, 0x30u); /* 0x2B03BDA6: push 0x30 */ 2566 MEM32(ebp + (-0x14)) = eax; /* 0x2B03BDA8: mov dword ptr [ebp - 0x14], eax */ 2567 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03BDAB: call 0x2b0ab212 */ /* not lifted */ 2568 RECOMP_FLAGS_IN(); 2569 ecx = MEM32(ebp + (-0x14)); /* 0x2B03BDB0: mov ecx, dword ptr [ebp - 0x14] */ 2570 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03BDB3: mov byte ptr [eax + 0x2c], bl */ 2571 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x2B03BDB6: mov byte ptr [eax + 0x2d], bl */ 2572 MEM32(eax + 0x4) = ecx; /* 0x2B03BDB9: mov dword ptr [eax + 4], ecx */ 2573 MEM32(esi + 0x4) = eax; /* 0x2B03BDBC: mov dword ptr [esi + 4], eax */ 2574 MEM32(eax) = eax; /* 0x2B03BDBF: mov dword ptr [eax], eax */ 2575 eax = MEM32(esi + 0x4); /* 0x2B03BDC1: mov eax, dword ptr [esi + 4] */ 2576 MEM32(eax + 0x8) = eax; /* 0x2B03BDC4: mov dword ptr [eax + 8], eax */ 2577 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2578 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2579 esp = esp + 8; /* 0x2B03BDC7: add esp, 8 */ 2580 _flag_k = FK_ADD; 2581 MEM32(esi + 0x10) = ebx; /* 0x2B03BDCA: mov dword ptr [esi + 0x10], ebx */ 2582 MEM32(edi + 0x8) = esi; /* 0x2B03BDCD: mov dword ptr [edi + 8], esi */ 2583 eax = edi; /* 0x2B03BDD0: mov eax, edi */ 2584 edi = POP32_VAL(esp); /* 0x2B03BDD2: pop edi */ 2585 esi = POP32_VAL(esp); /* 0x2B03BDD3: pop esi */ 2586 ebx = POP32_VAL(esp); /* 0x2B03BDD4: pop ebx */ 2587 ecx = MEM32(ebp + (-0xC)); /* 0x2B03BDD5: mov ecx, dword ptr [ebp - 0xc] */ 2588 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03BDD8: mov dword ptr fs:[0], ecx */ 2589 esp = ebp; /* 0x2B03BDDF: mov esp, ebp */ 2590 ebp = POP32_VAL(esp); /* 0x2B03BDE1: pop ebp */ 2591 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BDE2: ret */ 2592 L_2B03BDE3: 2593 ecx = MEM32(ebp + (-0xC)); /* 0x2B03BDE3: mov ecx, dword ptr [ebp - 0xc] */ 2594 MEM32(edi + 0x8) = ebx; /* 0x2B03BDE6: mov dword ptr [edi + 8], ebx */ 2595 eax = edi; /* 0x2B03BDE9: mov eax, edi */ 2596 edi = POP32_VAL(esp); /* 0x2B03BDEB: pop edi */ 2597 esi = POP32_VAL(esp); /* 0x2B03BDEC: pop esi */ 2598 ebx = POP32_VAL(esp); /* 0x2B03BDED: pop ebx */ 2599 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03BDEE: mov dword ptr fs:[0], ecx */ 2600 esp = ebp; /* 0x2B03BDF5: mov esp, ebp */ 2601 ebp = POP32_VAL(esp); /* 0x2B03BDF7: pop ebp */ 2602 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BDF8: ret */ 2603 RECOMP_REGS_OUT(); 2604 } 2605 2606 void sub_2B03BE00(void) { 2607 int _fpu_cmp = 0; 2608 uint32_t _cf = 0; 2609 int _df = 1; 2610 uint32_t _flag_k = FK_NONE; 2611 uint32_t _flag_a = 0, _flag_b = 0; 2612 uint32_t _itail_tgt = 0; 2613 RECOMP_REGS_LOCALS 2614 RECOMP_ENTER(0x2B03BE00u); 2615 2616 L_2B03BE00: 2617 PUSH32(esp, ebp); /* 0x2B03BE00: push ebp */ 2618 ebp = esp; /* 0x2B03BE01: mov ebp, esp */ 2619 PUSH32(esp, ecx); /* 0x2B03BE03: push ecx */ 2620 PUSH32(esp, ebx); /* 0x2B03BE04: push ebx */ 2621 PUSH32(esp, esi); /* 0x2B03BE05: push esi */ 2622 PUSH32(esp, edi); /* 0x2B03BE06: push edi */ 2623 edi = ecx; /* 0x2B03BE07: mov edi, ecx */ 2624 eax = MEM32(edi + 0x8); /* 0x2B03BE09: mov eax, dword ptr [edi + 8] */ 2625 ecx = MEM32(eax + 0x4); /* 0x2B03BE0C: mov ecx, dword ptr [eax + 4] */ 2626 ecx = MEM32(ecx); /* 0x2B03BE0F: mov ecx, dword ptr [ecx] */ 2627 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03BE11: mov dword ptr [ebp - 4], ecx */ 2628 eax = MEM32(eax + 0x4); /* 0x2B03BE14: mov eax, dword ptr [eax + 4] */ 2629 /* cmp ecx, eax */ /* 0x2B03BE17: cmp ecx, eax */ 2630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2632 _flag_k = FK_CMP; 2633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE83; /* 0x2B03BE19: je 0x2b03be83 */ 2634 L_2B03BE1B: 2635 ebx = MEM32(0x2B0B604C); /* 0x2B03BE1B: mov ebx, dword ptr [0x2b0b604c] */ 2636 L_2B03BE21: 2637 SET_LO8(eax, MEM8(ecx + 0x10)); /* 0x2B03BE21: mov al, byte ptr [ecx + 0x10] */ 2638 esi = ecx + 0x10; /* 0x2B03BE24: lea esi, [ecx + 0x10] */ 2639 /* test LO8(eax), LO8(eax) */ /* 0x2B03BE27: test al, al */ 2640 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2641 _cf = 0; 2642 _flag_k = FK_NARROW(FK_TEST, 24); 2643 eax = MEM32(esi + 0x10); /* 0x2B03BE29: mov eax, dword ptr [esi + 0x10] */ 2644 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE48; /* 0x2B03BE2C: jne 0x2b03be48 */ 2645 L_2B03BE2E: 2646 /* test eax, eax */ /* 0x2B03BE2E: test eax, eax */ 2647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2648 _cf = 0; 2649 _flag_k = FK_TEST; 2650 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE37; /* 0x2B03BE30: jne 0x2b03be37 */ 2651 L_2B03BE32: 2652 eax = MEM32(0x2B0B513C); /* 0x2B03BE32: mov eax, dword ptr [0x2b0b513c] */ 2653 L_2B03BE37: 2654 edx = MEM32(0x2B0B6048); /* 0x2B03BE37: mov edx, dword ptr [0x2b0b6048] */ 2655 ecx = MEM32(edx); /* 0x2B03BE3D: mov ecx, dword ptr [edx] */ 2656 PUSH32(esp, 1); /* 0x2B03BE3F: push 1 */ 2657 PUSH32(esp, 1); /* 0x2B03BE41: push 1 */ 2658 PUSH32(esp, 1); /* 0x2B03BE43: push 1 */ 2659 PUSH32(esp, eax); /* 0x2B03BE45: push eax */ 2660 goto L_2B03BE5F; /* 0x2B03BE46: jmp 0x2b03be5f */ 2661 L_2B03BE48: 2662 /* test eax, eax */ /* 0x2B03BE48: test eax, eax */ 2663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2664 _cf = 0; 2665 _flag_k = FK_TEST; 2666 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE51; /* 0x2B03BE4A: jne 0x2b03be51 */ 2667 L_2B03BE4C: 2668 eax = MEM32(0x2B0B513C); /* 0x2B03BE4C: mov eax, dword ptr [0x2b0b513c] */ 2669 L_2B03BE51: 2670 PUSH32(esp, 1); /* 0x2B03BE51: push 1 */ 2671 PUSH32(esp, 1); /* 0x2B03BE53: push 1 */ 2672 PUSH32(esp, 0); /* 0x2B03BE55: push 0 */ 2673 PUSH32(esp, eax); /* 0x2B03BE57: push eax */ 2674 eax = MEM32(0x2B0B6048); /* 0x2B03BE58: mov eax, dword ptr [0x2b0b6048] */ 2675 ecx = MEM32(eax); /* 0x2B03BE5D: mov ecx, dword ptr [eax] */ 2676 L_2B03BE5F: 2677 RECOMP_ICALL(ebx); /* 0x2B03BE5F: call ebx */ 2678 RECOMP_FLAGS_IN(); 2679 ecx = MEM32(esi + 0x4); /* 0x2B03BE61: mov ecx, dword ptr [esi + 4] */ 2680 /* test ecx, ecx */ /* 0x2B03BE64: test ecx, ecx */ 2681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2682 _cf = 0; 2683 _flag_k = FK_TEST; 2684 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BE6E; /* 0x2B03BE66: je 0x2b03be6e */ 2685 L_2B03BE68: 2686 edx = MEM32(ecx); /* 0x2B03BE68: mov edx, dword ptr [ecx] */ 2687 PUSH32(esp, 1); /* 0x2B03BE6A: push 1 */ 2688 RECOMP_ICALL(MEM32(edx)); /* 0x2B03BE6C: call dword ptr [edx] */ 2689 RECOMP_FLAGS_IN(); 2690 L_2B03BE6E: 2691 ecx = ebp + (-0x4); /* 0x2B03BE6E: lea ecx, [ebp - 4] */ 2692 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03BE71: call 0x2b03c5b0 */ /* not lifted */ 2693 RECOMP_FLAGS_IN(); 2694 eax = MEM32(edi + 0x8); /* 0x2B03BE76: mov eax, dword ptr [edi + 8] */ 2695 eax = MEM32(eax + 0x4); /* 0x2B03BE79: mov eax, dword ptr [eax + 4] */ 2696 ecx = MEM32(ebp + (-0x4)); /* 0x2B03BE7C: mov ecx, dword ptr [ebp - 4] */ 2697 /* cmp ecx, eax */ /* 0x2B03BE7F: cmp ecx, eax */ 2698 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2700 _flag_k = FK_CMP; 2701 RECOMP_BACKEDGE(); 2702 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BE21; /* 0x2B03BE81: jne 0x2b03be21 */ 2703 L_2B03BE83: 2704 esi = MEM32(edi + 0x8); /* 0x2B03BE83: mov esi, dword ptr [edi + 8] */ 2705 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2706 ebx = 0; /* 0x2B03BE86: xor ebx, ebx */ 2707 _cf = 0; 2708 _flag_k = FK_TEST; 2709 /* cmp esi, ebx */ /* 0x2B03BE88: cmp esi, ebx */ 2710 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2712 _flag_k = FK_CMP; 2713 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE9C; /* 0x2B03BE8A: je 0x2b03be9c */ 2714 L_2B03BE8C: 2715 ecx = esi; /* 0x2B03BE8C: mov ecx, esi */ 2716 RECOMP_ICALL(0x2B03BEC0u); /* 0x2B03BE8E: call 0x2b03bec0 */ /* not lifted */ 2717 RECOMP_FLAGS_IN(); 2718 PUSH32(esp, esi); /* 0x2B03BE93: push esi */ 2719 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BE94: call 0x2b0ab1ba */ /* not lifted */ 2720 RECOMP_FLAGS_IN(); 2721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2723 esp = esp + 4; /* 0x2B03BE99: add esp, 4 */ 2724 _flag_k = FK_ADD; 2725 L_2B03BE9C: 2726 esi = MEM32(edi); /* 0x2B03BE9C: mov esi, dword ptr [edi] */ 2727 /* cmp esi, ebx */ /* 0x2B03BE9E: cmp esi, ebx */ 2728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2730 _flag_k = FK_CMP; 2731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BEB3; /* 0x2B03BEA0: je 0x2b03beb3 */ 2732 L_2B03BEA2: 2733 ecx = esi; /* 0x2B03BEA2: mov ecx, esi */ 2734 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03BEA4: call dword ptr [0x2b0b5bc4] */ 2735 RECOMP_FLAGS_IN(); 2736 PUSH32(esp, esi); /* 0x2B03BEAA: push esi */ 2737 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BEAB: call 0x2b0ab1ba */ /* not lifted */ 2738 RECOMP_FLAGS_IN(); 2739 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2740 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2741 esp = esp + 4; /* 0x2B03BEB0: add esp, 4 */ 2742 _flag_k = FK_ADD; 2743 L_2B03BEB3: 2744 edi = POP32_VAL(esp); /* 0x2B03BEB3: pop edi */ 2745 esi = POP32_VAL(esp); /* 0x2B03BEB4: pop esi */ 2746 MEM32(0x2B0EE9F0) = ebx; /* 0x2B03BEB5: mov dword ptr [0x2b0ee9f0], ebx */ 2747 ebx = POP32_VAL(esp); /* 0x2B03BEBB: pop ebx */ 2748 esp = ebp; /* 0x2B03BEBC: mov esp, ebp */ 2749 ebp = POP32_VAL(esp); /* 0x2B03BEBE: pop ebp */ 2750 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BEBF: ret */ 2751 RECOMP_REGS_OUT(); 2752 } 2753 2754 void sub_2B03BE21(void) { 2755 int _fpu_cmp = 0; 2756 uint32_t _cf = 0; 2757 int _df = 1; 2758 uint32_t _flag_k = FK_NONE; 2759 uint32_t _flag_a = 0, _flag_b = 0; 2760 uint32_t _itail_tgt = 0; 2761 RECOMP_REGS_LOCALS 2762 RECOMP_ENTER(0x2B03BE21u); 2763 2764 L_2B03BE21: 2765 SET_LO8(eax, MEM8(ecx + 0x10)); /* 0x2B03BE21: mov al, byte ptr [ecx + 0x10] */ 2766 esi = ecx + 0x10; /* 0x2B03BE24: lea esi, [ecx + 0x10] */ 2767 /* test LO8(eax), LO8(eax) */ /* 0x2B03BE27: test al, al */ 2768 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2769 _cf = 0; 2770 _flag_k = FK_NARROW(FK_TEST, 24); 2771 eax = MEM32(esi + 0x10); /* 0x2B03BE29: mov eax, dword ptr [esi + 0x10] */ 2772 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE48; /* 0x2B03BE2C: jne 0x2b03be48 */ 2773 L_2B03BE2E: 2774 /* test eax, eax */ /* 0x2B03BE2E: test eax, eax */ 2775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2776 _cf = 0; 2777 _flag_k = FK_TEST; 2778 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE37; /* 0x2B03BE30: jne 0x2b03be37 */ 2779 L_2B03BE32: 2780 eax = MEM32(0x2B0B513C); /* 0x2B03BE32: mov eax, dword ptr [0x2b0b513c] */ 2781 L_2B03BE37: 2782 edx = MEM32(0x2B0B6048); /* 0x2B03BE37: mov edx, dword ptr [0x2b0b6048] */ 2783 ecx = MEM32(edx); /* 0x2B03BE3D: mov ecx, dword ptr [edx] */ 2784 PUSH32(esp, 1); /* 0x2B03BE3F: push 1 */ 2785 PUSH32(esp, 1); /* 0x2B03BE41: push 1 */ 2786 PUSH32(esp, 1); /* 0x2B03BE43: push 1 */ 2787 PUSH32(esp, eax); /* 0x2B03BE45: push eax */ 2788 goto L_2B03BE5F; /* 0x2B03BE46: jmp 0x2b03be5f */ 2789 L_2B03BE48: 2790 /* test eax, eax */ /* 0x2B03BE48: test eax, eax */ 2791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2792 _cf = 0; 2793 _flag_k = FK_TEST; 2794 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE51; /* 0x2B03BE4A: jne 0x2b03be51 */ 2795 L_2B03BE4C: 2796 eax = MEM32(0x2B0B513C); /* 0x2B03BE4C: mov eax, dword ptr [0x2b0b513c] */ 2797 L_2B03BE51: 2798 PUSH32(esp, 1); /* 0x2B03BE51: push 1 */ 2799 PUSH32(esp, 1); /* 0x2B03BE53: push 1 */ 2800 PUSH32(esp, 0); /* 0x2B03BE55: push 0 */ 2801 PUSH32(esp, eax); /* 0x2B03BE57: push eax */ 2802 eax = MEM32(0x2B0B6048); /* 0x2B03BE58: mov eax, dword ptr [0x2b0b6048] */ 2803 ecx = MEM32(eax); /* 0x2B03BE5D: mov ecx, dword ptr [eax] */ 2804 L_2B03BE5F: 2805 RECOMP_ICALL(ebx); /* 0x2B03BE5F: call ebx */ 2806 RECOMP_FLAGS_IN(); 2807 ecx = MEM32(esi + 0x4); /* 0x2B03BE61: mov ecx, dword ptr [esi + 4] */ 2808 /* test ecx, ecx */ /* 0x2B03BE64: test ecx, ecx */ 2809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2810 _cf = 0; 2811 _flag_k = FK_TEST; 2812 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BE6E; /* 0x2B03BE66: je 0x2b03be6e */ 2813 L_2B03BE68: 2814 edx = MEM32(ecx); /* 0x2B03BE68: mov edx, dword ptr [ecx] */ 2815 PUSH32(esp, 1); /* 0x2B03BE6A: push 1 */ 2816 RECOMP_ICALL(MEM32(edx)); /* 0x2B03BE6C: call dword ptr [edx] */ 2817 RECOMP_FLAGS_IN(); 2818 L_2B03BE6E: 2819 ecx = ebp + (-0x4); /* 0x2B03BE6E: lea ecx, [ebp - 4] */ 2820 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03BE71: call 0x2b03c5b0 */ /* not lifted */ 2821 RECOMP_FLAGS_IN(); 2822 eax = MEM32(edi + 0x8); /* 0x2B03BE76: mov eax, dword ptr [edi + 8] */ 2823 eax = MEM32(eax + 0x4); /* 0x2B03BE79: mov eax, dword ptr [eax + 4] */ 2824 ecx = MEM32(ebp + (-0x4)); /* 0x2B03BE7C: mov ecx, dword ptr [ebp - 4] */ 2825 /* cmp ecx, eax */ /* 0x2B03BE7F: cmp ecx, eax */ 2826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2828 _flag_k = FK_CMP; 2829 RECOMP_BACKEDGE(); 2830 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BE21; /* 0x2B03BE81: jne 0x2b03be21 */ 2831 L_2B03BE83: 2832 esi = MEM32(edi + 0x8); /* 0x2B03BE83: mov esi, dword ptr [edi + 8] */ 2833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2834 ebx = 0; /* 0x2B03BE86: xor ebx, ebx */ 2835 _cf = 0; 2836 _flag_k = FK_TEST; 2837 /* cmp esi, ebx */ /* 0x2B03BE88: cmp esi, ebx */ 2838 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2840 _flag_k = FK_CMP; 2841 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE9C; /* 0x2B03BE8A: je 0x2b03be9c */ 2842 L_2B03BE8C: 2843 ecx = esi; /* 0x2B03BE8C: mov ecx, esi */ 2844 RECOMP_ICALL(0x2B03BEC0u); /* 0x2B03BE8E: call 0x2b03bec0 */ /* not lifted */ 2845 RECOMP_FLAGS_IN(); 2846 PUSH32(esp, esi); /* 0x2B03BE93: push esi */ 2847 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BE94: call 0x2b0ab1ba */ /* not lifted */ 2848 RECOMP_FLAGS_IN(); 2849 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2850 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2851 esp = esp + 4; /* 0x2B03BE99: add esp, 4 */ 2852 _flag_k = FK_ADD; 2853 L_2B03BE9C: 2854 esi = MEM32(edi); /* 0x2B03BE9C: mov esi, dword ptr [edi] */ 2855 /* cmp esi, ebx */ /* 0x2B03BE9E: cmp esi, ebx */ 2856 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2858 _flag_k = FK_CMP; 2859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BEB3; /* 0x2B03BEA0: je 0x2b03beb3 */ 2860 L_2B03BEA2: 2861 ecx = esi; /* 0x2B03BEA2: mov ecx, esi */ 2862 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03BEA4: call dword ptr [0x2b0b5bc4] */ 2863 RECOMP_FLAGS_IN(); 2864 PUSH32(esp, esi); /* 0x2B03BEAA: push esi */ 2865 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BEAB: call 0x2b0ab1ba */ /* not lifted */ 2866 RECOMP_FLAGS_IN(); 2867 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2869 esp = esp + 4; /* 0x2B03BEB0: add esp, 4 */ 2870 _flag_k = FK_ADD; 2871 L_2B03BEB3: 2872 edi = POP32_VAL(esp); /* 0x2B03BEB3: pop edi */ 2873 esi = POP32_VAL(esp); /* 0x2B03BEB4: pop esi */ 2874 MEM32(0x2B0EE9F0) = ebx; /* 0x2B03BEB5: mov dword ptr [0x2b0ee9f0], ebx */ 2875 ebx = POP32_VAL(esp); /* 0x2B03BEBB: pop ebx */ 2876 esp = ebp; /* 0x2B03BEBC: mov esp, ebp */ 2877 ebp = POP32_VAL(esp); /* 0x2B03BEBE: pop ebp */ 2878 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BEBF: ret */ 2879 RECOMP_REGS_OUT(); 2880 } 2881 2882 void sub_2B03BE5F(void) { 2883 int _fpu_cmp = 0; 2884 uint32_t _cf = 0; 2885 int _df = 1; 2886 uint32_t _flag_k = FK_NONE; 2887 uint32_t _flag_a = 0, _flag_b = 0; 2888 uint32_t _itail_tgt = 0; 2889 RECOMP_REGS_LOCALS 2890 RECOMP_ENTER(0x2B03BE5Fu); 2891 2892 goto L_2B03BE5F; 2893 L_2B03BE21: 2894 SET_LO8(eax, MEM8(ecx + 0x10)); /* 0x2B03BE21: mov al, byte ptr [ecx + 0x10] */ 2895 esi = ecx + 0x10; /* 0x2B03BE24: lea esi, [ecx + 0x10] */ 2896 /* test LO8(eax), LO8(eax) */ /* 0x2B03BE27: test al, al */ 2897 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2898 _cf = 0; 2899 _flag_k = FK_NARROW(FK_TEST, 24); 2900 eax = MEM32(esi + 0x10); /* 0x2B03BE29: mov eax, dword ptr [esi + 0x10] */ 2901 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE48; /* 0x2B03BE2C: jne 0x2b03be48 */ 2902 L_2B03BE2E: 2903 /* test eax, eax */ /* 0x2B03BE2E: test eax, eax */ 2904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2905 _cf = 0; 2906 _flag_k = FK_TEST; 2907 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE37; /* 0x2B03BE30: jne 0x2b03be37 */ 2908 L_2B03BE32: 2909 eax = MEM32(0x2B0B513C); /* 0x2B03BE32: mov eax, dword ptr [0x2b0b513c] */ 2910 L_2B03BE37: 2911 edx = MEM32(0x2B0B6048); /* 0x2B03BE37: mov edx, dword ptr [0x2b0b6048] */ 2912 ecx = MEM32(edx); /* 0x2B03BE3D: mov ecx, dword ptr [edx] */ 2913 PUSH32(esp, 1); /* 0x2B03BE3F: push 1 */ 2914 PUSH32(esp, 1); /* 0x2B03BE41: push 1 */ 2915 PUSH32(esp, 1); /* 0x2B03BE43: push 1 */ 2916 PUSH32(esp, eax); /* 0x2B03BE45: push eax */ 2917 goto L_2B03BE5F; /* 0x2B03BE46: jmp 0x2b03be5f */ 2918 L_2B03BE48: 2919 /* test eax, eax */ /* 0x2B03BE48: test eax, eax */ 2920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2921 _cf = 0; 2922 _flag_k = FK_TEST; 2923 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE51; /* 0x2B03BE4A: jne 0x2b03be51 */ 2924 L_2B03BE4C: 2925 eax = MEM32(0x2B0B513C); /* 0x2B03BE4C: mov eax, dword ptr [0x2b0b513c] */ 2926 L_2B03BE51: 2927 PUSH32(esp, 1); /* 0x2B03BE51: push 1 */ 2928 PUSH32(esp, 1); /* 0x2B03BE53: push 1 */ 2929 PUSH32(esp, 0); /* 0x2B03BE55: push 0 */ 2930 PUSH32(esp, eax); /* 0x2B03BE57: push eax */ 2931 eax = MEM32(0x2B0B6048); /* 0x2B03BE58: mov eax, dword ptr [0x2b0b6048] */ 2932 ecx = MEM32(eax); /* 0x2B03BE5D: mov ecx, dword ptr [eax] */ 2933 L_2B03BE5F: 2934 RECOMP_ICALL(ebx); /* 0x2B03BE5F: call ebx */ 2935 RECOMP_FLAGS_IN(); 2936 ecx = MEM32(esi + 0x4); /* 0x2B03BE61: mov ecx, dword ptr [esi + 4] */ 2937 /* test ecx, ecx */ /* 0x2B03BE64: test ecx, ecx */ 2938 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2939 _cf = 0; 2940 _flag_k = FK_TEST; 2941 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BE6E; /* 0x2B03BE66: je 0x2b03be6e */ 2942 L_2B03BE68: 2943 edx = MEM32(ecx); /* 0x2B03BE68: mov edx, dword ptr [ecx] */ 2944 PUSH32(esp, 1); /* 0x2B03BE6A: push 1 */ 2945 RECOMP_ICALL(MEM32(edx)); /* 0x2B03BE6C: call dword ptr [edx] */ 2946 RECOMP_FLAGS_IN(); 2947 L_2B03BE6E: 2948 ecx = ebp + (-0x4); /* 0x2B03BE6E: lea ecx, [ebp - 4] */ 2949 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03BE71: call 0x2b03c5b0 */ /* not lifted */ 2950 RECOMP_FLAGS_IN(); 2951 eax = MEM32(edi + 0x8); /* 0x2B03BE76: mov eax, dword ptr [edi + 8] */ 2952 eax = MEM32(eax + 0x4); /* 0x2B03BE79: mov eax, dword ptr [eax + 4] */ 2953 ecx = MEM32(ebp + (-0x4)); /* 0x2B03BE7C: mov ecx, dword ptr [ebp - 4] */ 2954 /* cmp ecx, eax */ /* 0x2B03BE7F: cmp ecx, eax */ 2955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2957 _flag_k = FK_CMP; 2958 RECOMP_BACKEDGE(); 2959 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BE21; /* 0x2B03BE81: jne 0x2b03be21 */ 2960 L_2B03BE83: 2961 esi = MEM32(edi + 0x8); /* 0x2B03BE83: mov esi, dword ptr [edi + 8] */ 2962 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2963 ebx = 0; /* 0x2B03BE86: xor ebx, ebx */ 2964 _cf = 0; 2965 _flag_k = FK_TEST; 2966 /* cmp esi, ebx */ /* 0x2B03BE88: cmp esi, ebx */ 2967 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2969 _flag_k = FK_CMP; 2970 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE9C; /* 0x2B03BE8A: je 0x2b03be9c */ 2971 L_2B03BE8C: 2972 ecx = esi; /* 0x2B03BE8C: mov ecx, esi */ 2973 RECOMP_ICALL(0x2B03BEC0u); /* 0x2B03BE8E: call 0x2b03bec0 */ /* not lifted */ 2974 RECOMP_FLAGS_IN(); 2975 PUSH32(esp, esi); /* 0x2B03BE93: push esi */ 2976 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BE94: call 0x2b0ab1ba */ /* not lifted */ 2977 RECOMP_FLAGS_IN(); 2978 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2980 esp = esp + 4; /* 0x2B03BE99: add esp, 4 */ 2981 _flag_k = FK_ADD; 2982 L_2B03BE9C: 2983 esi = MEM32(edi); /* 0x2B03BE9C: mov esi, dword ptr [edi] */ 2984 /* cmp esi, ebx */ /* 0x2B03BE9E: cmp esi, ebx */ 2985 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2987 _flag_k = FK_CMP; 2988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BEB3; /* 0x2B03BEA0: je 0x2b03beb3 */ 2989 L_2B03BEA2: 2990 ecx = esi; /* 0x2B03BEA2: mov ecx, esi */ 2991 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03BEA4: call dword ptr [0x2b0b5bc4] */ 2992 RECOMP_FLAGS_IN(); 2993 PUSH32(esp, esi); /* 0x2B03BEAA: push esi */ 2994 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BEAB: call 0x2b0ab1ba */ /* not lifted */ 2995 RECOMP_FLAGS_IN(); 2996 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2997 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2998 esp = esp + 4; /* 0x2B03BEB0: add esp, 4 */ 2999 _flag_k = FK_ADD; 3000 L_2B03BEB3: 3001 edi = POP32_VAL(esp); /* 0x2B03BEB3: pop edi */ 3002 esi = POP32_VAL(esp); /* 0x2B03BEB4: pop esi */ 3003 MEM32(0x2B0EE9F0) = ebx; /* 0x2B03BEB5: mov dword ptr [0x2b0ee9f0], ebx */ 3004 ebx = POP32_VAL(esp); /* 0x2B03BEBB: pop ebx */ 3005 esp = ebp; /* 0x2B03BEBC: mov esp, ebp */ 3006 ebp = POP32_VAL(esp); /* 0x2B03BEBE: pop ebp */ 3007 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BEBF: ret */ 3008 RECOMP_REGS_OUT(); 3009 } 3010 3011 void sub_2B03BE61(void) { 3012 int _fpu_cmp = 0; 3013 uint32_t _cf = 0; 3014 int _df = 1; 3015 uint32_t _flag_k = FK_NONE; 3016 uint32_t _flag_a = 0, _flag_b = 0; 3017 uint32_t _itail_tgt = 0; 3018 RECOMP_REGS_LOCALS 3019 RECOMP_ENTER(0x2B03BE61u); 3020 3021 goto L_2B03BE61; 3022 L_2B03BE21: 3023 SET_LO8(eax, MEM8(ecx + 0x10)); /* 0x2B03BE21: mov al, byte ptr [ecx + 0x10] */ 3024 esi = ecx + 0x10; /* 0x2B03BE24: lea esi, [ecx + 0x10] */ 3025 /* test LO8(eax), LO8(eax) */ /* 0x2B03BE27: test al, al */ 3026 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3027 _cf = 0; 3028 _flag_k = FK_NARROW(FK_TEST, 24); 3029 eax = MEM32(esi + 0x10); /* 0x2B03BE29: mov eax, dword ptr [esi + 0x10] */ 3030 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE48; /* 0x2B03BE2C: jne 0x2b03be48 */ 3031 L_2B03BE2E: 3032 /* test eax, eax */ /* 0x2B03BE2E: test eax, eax */ 3033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3034 _cf = 0; 3035 _flag_k = FK_TEST; 3036 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE37; /* 0x2B03BE30: jne 0x2b03be37 */ 3037 L_2B03BE32: 3038 eax = MEM32(0x2B0B513C); /* 0x2B03BE32: mov eax, dword ptr [0x2b0b513c] */ 3039 L_2B03BE37: 3040 edx = MEM32(0x2B0B6048); /* 0x2B03BE37: mov edx, dword ptr [0x2b0b6048] */ 3041 ecx = MEM32(edx); /* 0x2B03BE3D: mov ecx, dword ptr [edx] */ 3042 PUSH32(esp, 1); /* 0x2B03BE3F: push 1 */ 3043 PUSH32(esp, 1); /* 0x2B03BE41: push 1 */ 3044 PUSH32(esp, 1); /* 0x2B03BE43: push 1 */ 3045 PUSH32(esp, eax); /* 0x2B03BE45: push eax */ 3046 goto L_2B03BE5F; /* 0x2B03BE46: jmp 0x2b03be5f */ 3047 L_2B03BE48: 3048 /* test eax, eax */ /* 0x2B03BE48: test eax, eax */ 3049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3050 _cf = 0; 3051 _flag_k = FK_TEST; 3052 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03BE51; /* 0x2B03BE4A: jne 0x2b03be51 */ 3053 L_2B03BE4C: 3054 eax = MEM32(0x2B0B513C); /* 0x2B03BE4C: mov eax, dword ptr [0x2b0b513c] */ 3055 L_2B03BE51: 3056 PUSH32(esp, 1); /* 0x2B03BE51: push 1 */ 3057 PUSH32(esp, 1); /* 0x2B03BE53: push 1 */ 3058 PUSH32(esp, 0); /* 0x2B03BE55: push 0 */ 3059 PUSH32(esp, eax); /* 0x2B03BE57: push eax */ 3060 eax = MEM32(0x2B0B6048); /* 0x2B03BE58: mov eax, dword ptr [0x2b0b6048] */ 3061 ecx = MEM32(eax); /* 0x2B03BE5D: mov ecx, dword ptr [eax] */ 3062 L_2B03BE5F: 3063 RECOMP_ICALL(ebx); /* 0x2B03BE5F: call ebx */ 3064 RECOMP_FLAGS_IN(); 3065 L_2B03BE61: 3066 ecx = MEM32(esi + 0x4); /* 0x2B03BE61: mov ecx, dword ptr [esi + 4] */ 3067 /* test ecx, ecx */ /* 0x2B03BE64: test ecx, ecx */ 3068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3069 _cf = 0; 3070 _flag_k = FK_TEST; 3071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BE6E; /* 0x2B03BE66: je 0x2b03be6e */ 3072 L_2B03BE68: 3073 edx = MEM32(ecx); /* 0x2B03BE68: mov edx, dword ptr [ecx] */ 3074 PUSH32(esp, 1); /* 0x2B03BE6A: push 1 */ 3075 RECOMP_ICALL(MEM32(edx)); /* 0x2B03BE6C: call dword ptr [edx] */ 3076 RECOMP_FLAGS_IN(); 3077 L_2B03BE6E: 3078 ecx = ebp + (-0x4); /* 0x2B03BE6E: lea ecx, [ebp - 4] */ 3079 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03BE71: call 0x2b03c5b0 */ /* not lifted */ 3080 RECOMP_FLAGS_IN(); 3081 eax = MEM32(edi + 0x8); /* 0x2B03BE76: mov eax, dword ptr [edi + 8] */ 3082 eax = MEM32(eax + 0x4); /* 0x2B03BE79: mov eax, dword ptr [eax + 4] */ 3083 ecx = MEM32(ebp + (-0x4)); /* 0x2B03BE7C: mov ecx, dword ptr [ebp - 4] */ 3084 /* cmp ecx, eax */ /* 0x2B03BE7F: cmp ecx, eax */ 3085 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3087 _flag_k = FK_CMP; 3088 RECOMP_BACKEDGE(); 3089 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BE21; /* 0x2B03BE81: jne 0x2b03be21 */ 3090 L_2B03BE83: 3091 esi = MEM32(edi + 0x8); /* 0x2B03BE83: mov esi, dword ptr [edi + 8] */ 3092 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3093 ebx = 0; /* 0x2B03BE86: xor ebx, ebx */ 3094 _cf = 0; 3095 _flag_k = FK_TEST; 3096 /* cmp esi, ebx */ /* 0x2B03BE88: cmp esi, ebx */ 3097 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3099 _flag_k = FK_CMP; 3100 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE9C; /* 0x2B03BE8A: je 0x2b03be9c */ 3101 L_2B03BE8C: 3102 ecx = esi; /* 0x2B03BE8C: mov ecx, esi */ 3103 RECOMP_ICALL(0x2B03BEC0u); /* 0x2B03BE8E: call 0x2b03bec0 */ /* not lifted */ 3104 RECOMP_FLAGS_IN(); 3105 PUSH32(esp, esi); /* 0x2B03BE93: push esi */ 3106 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BE94: call 0x2b0ab1ba */ /* not lifted */ 3107 RECOMP_FLAGS_IN(); 3108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3110 esp = esp + 4; /* 0x2B03BE99: add esp, 4 */ 3111 _flag_k = FK_ADD; 3112 L_2B03BE9C: 3113 esi = MEM32(edi); /* 0x2B03BE9C: mov esi, dword ptr [edi] */ 3114 /* cmp esi, ebx */ /* 0x2B03BE9E: cmp esi, ebx */ 3115 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3117 _flag_k = FK_CMP; 3118 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BEB3; /* 0x2B03BEA0: je 0x2b03beb3 */ 3119 L_2B03BEA2: 3120 ecx = esi; /* 0x2B03BEA2: mov ecx, esi */ 3121 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03BEA4: call dword ptr [0x2b0b5bc4] */ 3122 RECOMP_FLAGS_IN(); 3123 PUSH32(esp, esi); /* 0x2B03BEAA: push esi */ 3124 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BEAB: call 0x2b0ab1ba */ /* not lifted */ 3125 RECOMP_FLAGS_IN(); 3126 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3128 esp = esp + 4; /* 0x2B03BEB0: add esp, 4 */ 3129 _flag_k = FK_ADD; 3130 L_2B03BEB3: 3131 edi = POP32_VAL(esp); /* 0x2B03BEB3: pop edi */ 3132 esi = POP32_VAL(esp); /* 0x2B03BEB4: pop esi */ 3133 MEM32(0x2B0EE9F0) = ebx; /* 0x2B03BEB5: mov dword ptr [0x2b0ee9f0], ebx */ 3134 ebx = POP32_VAL(esp); /* 0x2B03BEBB: pop ebx */ 3135 esp = ebp; /* 0x2B03BEBC: mov esp, ebp */ 3136 ebp = POP32_VAL(esp); /* 0x2B03BEBE: pop ebp */ 3137 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BEBF: ret */ 3138 RECOMP_REGS_OUT(); 3139 } 3140 3141 void sub_2B03BE83(void) { 3142 int _fpu_cmp = 0; 3143 uint32_t _cf = 0; 3144 int _df = 1; 3145 uint32_t _flag_k = FK_NONE; 3146 uint32_t _flag_a = 0, _flag_b = 0; 3147 uint32_t _itail_tgt = 0; 3148 RECOMP_REGS_LOCALS 3149 RECOMP_ENTER(0x2B03BE83u); 3150 3151 L_2B03BE83: 3152 esi = MEM32(edi + 0x8); /* 0x2B03BE83: mov esi, dword ptr [edi + 8] */ 3153 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3154 ebx = 0; /* 0x2B03BE86: xor ebx, ebx */ 3155 _cf = 0; 3156 _flag_k = FK_TEST; 3157 /* cmp esi, ebx */ /* 0x2B03BE88: cmp esi, ebx */ 3158 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3160 _flag_k = FK_CMP; 3161 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BE9C; /* 0x2B03BE8A: je 0x2b03be9c */ 3162 L_2B03BE8C: 3163 ecx = esi; /* 0x2B03BE8C: mov ecx, esi */ 3164 RECOMP_ICALL(0x2B03BEC0u); /* 0x2B03BE8E: call 0x2b03bec0 */ /* not lifted */ 3165 RECOMP_FLAGS_IN(); 3166 PUSH32(esp, esi); /* 0x2B03BE93: push esi */ 3167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BE94: call 0x2b0ab1ba */ /* not lifted */ 3168 RECOMP_FLAGS_IN(); 3169 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3171 esp = esp + 4; /* 0x2B03BE99: add esp, 4 */ 3172 _flag_k = FK_ADD; 3173 L_2B03BE9C: 3174 esi = MEM32(edi); /* 0x2B03BE9C: mov esi, dword ptr [edi] */ 3175 /* cmp esi, ebx */ /* 0x2B03BE9E: cmp esi, ebx */ 3176 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3178 _flag_k = FK_CMP; 3179 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BEB3; /* 0x2B03BEA0: je 0x2b03beb3 */ 3180 L_2B03BEA2: 3181 ecx = esi; /* 0x2B03BEA2: mov ecx, esi */ 3182 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B03BEA4: call dword ptr [0x2b0b5bc4] */ 3183 RECOMP_FLAGS_IN(); 3184 PUSH32(esp, esi); /* 0x2B03BEAA: push esi */ 3185 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BEAB: call 0x2b0ab1ba */ /* not lifted */ 3186 RECOMP_FLAGS_IN(); 3187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3189 esp = esp + 4; /* 0x2B03BEB0: add esp, 4 */ 3190 _flag_k = FK_ADD; 3191 L_2B03BEB3: 3192 edi = POP32_VAL(esp); /* 0x2B03BEB3: pop edi */ 3193 esi = POP32_VAL(esp); /* 0x2B03BEB4: pop esi */ 3194 MEM32(0x2B0EE9F0) = ebx; /* 0x2B03BEB5: mov dword ptr [0x2b0ee9f0], ebx */ 3195 ebx = POP32_VAL(esp); /* 0x2B03BEBB: pop ebx */ 3196 esp = ebp; /* 0x2B03BEBC: mov esp, ebp */ 3197 ebp = POP32_VAL(esp); /* 0x2B03BEBE: pop ebp */ 3198 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BEBF: ret */ 3199 RECOMP_REGS_OUT(); 3200 } 3201 3202 void sub_2B03BEC0(void) { 3203 int _fpu_cmp = 0; 3204 uint32_t _cf = 0; 3205 int _df = 1; 3206 uint32_t _flag_k = FK_NONE; 3207 uint32_t _flag_a = 0, _flag_b = 0; 3208 uint32_t _itail_tgt = 0; 3209 RECOMP_REGS_LOCALS 3210 RECOMP_ENTER(0x2B03BEC0u); 3211 3212 L_2B03BEC0: 3213 PUSH32(esp, ebp); /* 0x2B03BEC0: push ebp */ 3214 ebp = esp; /* 0x2B03BEC1: mov ebp, esp */ 3215 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3217 esp = esp - 8; /* 0x2B03BEC3: sub esp, 8 */ 3218 _flag_k = FK_CMP; 3219 PUSH32(esp, ebx); /* 0x2B03BEC6: push ebx */ 3220 PUSH32(esp, esi); /* 0x2B03BEC7: push esi */ 3221 esi = ecx; /* 0x2B03BEC8: mov esi, ecx */ 3222 ecx = MEM32(esi + 0x10); /* 0x2B03BECA: mov ecx, dword ptr [esi + 0x10] */ 3223 /* test ecx, ecx */ /* 0x2B03BECD: test ecx, ecx */ 3224 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3225 _cf = 0; 3226 _flag_k = FK_TEST; 3227 PUSH32(esp, edi); /* 0x2B03BECF: push edi */ 3228 edi = MEM32(esi + 0x4); /* 0x2B03BED0: mov edi, dword ptr [esi + 4] */ 3229 eax = MEM32(edi); /* 0x2B03BED3: mov eax, dword ptr [edi] */ 3230 MEM32(ebp + (-0x4)) = eax; /* 0x2B03BED5: mov dword ptr [ebp - 4], eax */ 3231 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03BF3F; /* 0x2B03BED8: je 0x2b03bf3f */ 3232 L_2B03BEDA: 3233 ecx = eax; /* 0x2B03BEDA: mov ecx, eax */ 3234 /* cmp eax, ecx */ /* 0x2B03BEDC: cmp eax, ecx */ 3235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3237 _flag_k = FK_CMP; 3238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BF3F; /* 0x2B03BEDE: jne 0x2b03bf3f */ 3239 L_2B03BEE0: 3240 /* cmp edi, edi */ /* 0x2B03BEE0: cmp edi, edi */ 3241 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3243 _flag_k = FK_CMP; 3244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BF3F; /* 0x2B03BEE2: jne 0x2b03bf3f */ 3245 L_2B03BEE4: 3246 ebx = MEM32(edi + 0x4); /* 0x2B03BEE4: mov ebx, dword ptr [edi + 4] */ 3247 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B03BEE7: cmp ebx, dword ptr [esi + 8] */ 3248 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3250 _flag_k = FK_CMP; 3251 edi = ebx; /* 0x2B03BEEA: mov edi, ebx */ 3252 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BF17; /* 0x2B03BEEC: je 0x2b03bf17 */ 3253 L_2B03BEEE: 3254 eax = MEM32(edi + 0x8); /* 0x2B03BEEE: mov eax, dword ptr [edi + 8] */ 3255 PUSH32(esp, eax); /* 0x2B03BEF1: push eax */ 3256 ecx = esi; /* 0x2B03BEF2: mov ecx, esi */ 3257 RECOMP_ICALL(0x2B03CB70u); /* 0x2B03BEF4: call 0x2b03cb70 */ /* not lifted */ 3258 RECOMP_FLAGS_IN(); 3259 edi = MEM32(edi); /* 0x2B03BEF9: mov edi, dword ptr [edi] */ 3260 PUSH32(esp, 0); /* 0x2B03BEFB: push 0 */ 3261 ecx = ebx + 0xC; /* 0x2B03BEFD: lea ecx, [ebx + 0xc] */ 3262 RECOMP_ICALL(0x2B03CFA0u); /* 0x2B03BF00: call 0x2b03cfa0 */ /* not lifted */ 3263 RECOMP_FLAGS_IN(); 3264 PUSH32(esp, ebx); /* 0x2B03BF05: push ebx */ 3265 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BF06: call 0x2b0ab1ba */ /* not lifted */ 3266 RECOMP_FLAGS_IN(); 3267 eax = MEM32(esi + 0x8); /* 0x2B03BF0B: mov eax, dword ptr [esi + 8] */ 3268 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3270 esp = esp + 4; /* 0x2B03BF0E: add esp, 4 */ 3271 _flag_k = FK_ADD; 3272 /* cmp edi, eax */ /* 0x2B03BF11: cmp edi, eax */ 3273 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3275 _flag_k = FK_CMP; 3276 ebx = edi; /* 0x2B03BF13: mov ebx, edi */ 3277 RECOMP_BACKEDGE(); 3278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BEEE; /* 0x2B03BF15: jne 0x2b03beee */ 3279 L_2B03BF17: 3280 ecx = MEM32(esi + 0x4); /* 0x2B03BF17: mov ecx, dword ptr [esi + 4] */ 3281 edx = MEM32(esi + 0x8); /* 0x2B03BF1A: mov edx, dword ptr [esi + 8] */ 3282 MEM32(ecx + 0x4) = edx; /* 0x2B03BF1D: mov dword ptr [ecx + 4], edx */ 3283 eax = MEM32(esi + 0x4); /* 0x2B03BF20: mov eax, dword ptr [esi + 4] */ 3284 MEM32(esi + 0x10) = 0; /* 0x2B03BF23: mov dword ptr [esi + 0x10], 0 */ 3285 MEM32(eax) = eax; /* 0x2B03BF2A: mov dword ptr [eax], eax */ 3286 eax = MEM32(esi + 0x4); /* 0x2B03BF2C: mov eax, dword ptr [esi + 4] */ 3287 MEM32(eax + 0x8) = eax; /* 0x2B03BF2F: mov dword ptr [eax + 8], eax */ 3288 eax = ebp + (-0x8); /* 0x2B03BF32: lea eax, [ebp - 8] */ 3289 PUSH32(esp, eax); /* 0x2B03BF35: push eax */ 3290 ecx = esi; /* 0x2B03BF36: mov ecx, esi */ 3291 RECOMP_ICALL(0x2B018B60u); /* 0x2B03BF38: call 0x2b018b60 */ /* not lifted */ 3292 RECOMP_FLAGS_IN(); 3293 goto L_2B03BF60; /* 0x2B03BF3D: jmp 0x2b03bf60 */ 3294 L_2B03BF3F: 3295 /* cmp eax, edi */ /* 0x2B03BF3F: cmp eax, edi */ 3296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3298 _flag_k = FK_CMP; 3299 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03BF60; /* 0x2B03BF41: je 0x2b03bf60 */ 3300 L_2B03BF43: 3301 ecx = ebp + (-0x4); /* 0x2B03BF43: lea ecx, [ebp - 4] */ 3302 ebx = eax; /* 0x2B03BF46: mov ebx, eax */ 3303 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03BF48: call 0x2b03c5b0 */ /* not lifted */ 3304 RECOMP_FLAGS_IN(); 3305 PUSH32(esp, ebx); /* 0x2B03BF4D: push ebx */ 3306 ecx = ebp + (-0x8); /* 0x2B03BF4E: lea ecx, [ebp - 8] */ 3307 PUSH32(esp, ecx); /* 0x2B03BF51: push ecx */ 3308 ecx = esi; /* 0x2B03BF52: mov ecx, esi */ 3309 RECOMP_ICALL(0x2B03C760u); /* 0x2B03BF54: call 0x2b03c760 */ /* not lifted */ 3310 RECOMP_FLAGS_IN(); 3311 eax = MEM32(ebp + (-0x4)); /* 0x2B03BF59: mov eax, dword ptr [ebp - 4] */ 3312 /* cmp eax, edi */ /* 0x2B03BF5C: cmp eax, edi */ 3313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3315 _flag_k = FK_CMP; 3316 RECOMP_BACKEDGE(); 3317 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03BF43; /* 0x2B03BF5E: jne 0x2b03bf43 */ 3318 L_2B03BF60: 3319 edx = MEM32(esi + 0x4); /* 0x2B03BF60: mov edx, dword ptr [esi + 4] */ 3320 PUSH32(esp, edx); /* 0x2B03BF63: push edx */ 3321 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BF64: call 0x2b0ab1ba */ /* not lifted */ 3322 RECOMP_FLAGS_IN(); 3323 eax = MEM32(esi + 0x8); /* 0x2B03BF69: mov eax, dword ptr [esi + 8] */ 3324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3325 edi = 0; /* 0x2B03BF6C: xor edi, edi */ 3326 _cf = 0; 3327 _flag_k = FK_TEST; 3328 PUSH32(esp, eax); /* 0x2B03BF6E: push eax */ 3329 MEM32(esi + 0x4) = edi; /* 0x2B03BF6F: mov dword ptr [esi + 4], edi */ 3330 MEM32(esi + 0x10) = edi; /* 0x2B03BF72: mov dword ptr [esi + 0x10], edi */ 3331 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03BF75: call 0x2b0ab1ba */ /* not lifted */ 3332 RECOMP_FLAGS_IN(); 3333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3334 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3335 esp = esp + 8; /* 0x2B03BF7A: add esp, 8 */ 3336 _flag_k = FK_ADD; 3337 MEM32(esi + 0x8) = edi; /* 0x2B03BF7D: mov dword ptr [esi + 8], edi */ 3338 edi = POP32_VAL(esp); /* 0x2B03BF80: pop edi */ 3339 esi = POP32_VAL(esp); /* 0x2B03BF81: pop esi */ 3340 ebx = POP32_VAL(esp); /* 0x2B03BF82: pop ebx */ 3341 esp = ebp; /* 0x2B03BF83: mov esp, ebp */ 3342 ebp = POP32_VAL(esp); /* 0x2B03BF85: pop ebp */ 3343 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03BF86: ret */ 3344 RECOMP_REGS_OUT(); 3345 } 3346 3347 void sub_2B03BF90(void) { 3348 int _fpu_cmp = 0; 3349 uint32_t _cf = 0; 3350 int _df = 1; 3351 uint32_t _flag_k = FK_NONE; 3352 uint32_t _flag_a = 0, _flag_b = 0; 3353 uint32_t _itail_tgt = 0; 3354 RECOMP_REGS_LOCALS 3355 RECOMP_ENTER(0x2B03BF90u); 3356 3357 L_2B03BF90: 3358 PUSH32(esp, ebp); /* 0x2B03BF90: push ebp */ 3359 ebp = esp; /* 0x2B03BF91: mov ebp, esp */ 3360 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03BF93: push -1 */ 3361 PUSH32(esp, 0x2B0AE939u); /* 0x2B03BF95: push 0x2b0ae939 */ 3362 eax = MEM32(FS_BASE + (0)); /* 0x2B03BF9A: mov eax, dword ptr fs:[0] */ 3363 PUSH32(esp, eax); /* 0x2B03BFA0: push eax */ 3364 MEM32(FS_BASE + (0)) = esp; /* 0x2B03BFA1: mov dword ptr fs:[0], esp */ 3365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x98u); 3366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3367 esp = esp - 0x98u; /* 0x2B03BFA8: sub esp, 0x98 */ 3368 _flag_k = FK_CMP; 3369 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B03BFAE: mov al, byte ptr [ebp + 0xb] */ 3370 PUSH32(esp, ebx); /* 0x2B03BFB1: push ebx */ 3371 PUSH32(esp, esi); /* 0x2B03BFB2: push esi */ 3372 PUSH32(esp, edi); /* 0x2B03BFB3: push edi */ 3373 ebx = ecx; /* 0x2B03BFB4: mov ebx, ecx */ 3374 PUSH32(esp, 0); /* 0x2B03BFB6: push 0 */ 3375 ecx = ebp + (-0x1C); /* 0x2B03BFB8: lea ecx, [ebp - 0x1c] */ 3376 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x2B03BFBB: mov byte ptr [ebp - 0x1c], al */ 3377 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03BFBE: call dword ptr [0x2b0b514c] */ 3378 RECOMP_FLAGS_IN(); 3379 ecx = MEM32(ebp + 0x8); /* 0x2B03BFC4: mov ecx, dword ptr [ebp + 8] */ 3380 esi = MEM32(ebp + 0x1C); /* 0x2B03BFC7: mov esi, dword ptr [ebp + 0x1c] */ 3381 MEM32(ebp + (-0x20)) = ecx; /* 0x2B03BFCA: mov dword ptr [ebp - 0x20], ecx */ 3382 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3383 ecx = ecx | 0xFFFFFFFFu; /* 0x2B03BFCD: or ecx, 0xffffffff */ 3384 _cf = 0; 3385 _flag_k = FK_TEST; 3386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3387 eax = 0; /* 0x2B03BFD0: xor eax, eax */ 3388 _cf = 0; 3389 _flag_k = FK_TEST; 3390 edi = esi; /* 0x2B03BFD2: mov edi, esi */ 3391 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; } /* 0x2B03BFD4: repne scasb al, byte ptr es:[edi] */ 3392 ecx = ~ecx; /* 0x2B03BFD6: not ecx */ 3393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3394 ecx = ecx - 1; /* 0x2B03BFD8: dec ecx */ 3395 _flag_k = FK_DEC; 3396 edi = ecx; /* 0x2B03BFD9: mov edi, ecx */ 3397 PUSH32(esp, 1); /* 0x2B03BFDB: push 1 */ 3398 PUSH32(esp, edi); /* 0x2B03BFDD: push edi */ 3399 ecx = ebp + (-0x1C); /* 0x2B03BFDE: lea ecx, [ebp - 0x1c] */ 3400 MEM32(ebp + (-0x4)) = 0; /* 0x2B03BFE1: mov dword ptr [ebp - 4], 0 */ 3401 MEM32(ebp + 0x8) = edi; /* 0x2B03BFE8: mov dword ptr [ebp + 8], edi */ 3402 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B03BFEB: call dword ptr [0x2b0b5154] */ 3403 RECOMP_FLAGS_IN(); 3404 /* test LO8(eax), LO8(eax) */ /* 0x2B03BFF1: test al, al */ 3405 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3406 _cf = 0; 3407 _flag_k = FK_NARROW(FK_TEST, 24); 3408 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C014; /* 0x2B03BFF3: je 0x2b03c014 */ 3409 L_2B03BFF5: 3410 ecx = edi; /* 0x2B03BFF5: mov ecx, edi */ 3411 edi = MEM32(ebp + (-0x18)); /* 0x2B03BFF7: mov edi, dword ptr [ebp - 0x18] */ 3412 edx = ecx; /* 0x2B03BFFA: mov edx, ecx */ 3413 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B03BFFC: shr ecx, 2 */ 3414 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3415 ecx = ecx >> 2u; /* 0x2B03BFFC: shr ecx, 2 */ 3416 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03BFFF: 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; } 3417 ecx = edx; /* 0x2B03C001: mov ecx, edx */ 3418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3419 ecx = ecx & 3; /* 0x2B03C003: and ecx, 3 */ 3420 _cf = 0; 3421 _flag_k = FK_TEST; 3422 eax = edx; /* 0x2B03C006: mov eax, edx */ 3423 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B03C008: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3424 PUSH32(esp, eax); /* 0x2B03C00A: push eax */ 3425 ecx = ebp + (-0x1C); /* 0x2B03C00B: lea ecx, [ebp - 0x1c] */ 3426 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B03C00E: call dword ptr [0x2b0b5150] */ 3427 RECOMP_FLAGS_IN(); 3428 L_2B03C014: 3429 ecx = MEM32(ebx + 0x8); /* 0x2B03C014: mov ecx, dword ptr [ebx + 8] */ 3430 edx = MEM32(ebx + 0xC); /* 0x2B03C017: mov edx, dword ptr [ebx + 0xc] */ 3431 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3432 eax = 0; /* 0x2B03C01A: xor eax, eax */ 3433 _cf = 0; 3434 _flag_k = FK_TEST; 3435 MEM8(ebp + (-0x28)) = (uint8_t)(0); /* 0x2B03C01C: mov byte ptr [ebp - 0x28], 0 */ 3436 esi = MEM32(ecx + 0x10); /* 0x2B03C020: mov esi, dword ptr [ecx + 0x10] */ 3437 ecx = 0xCu; /* 0x2B03C023: mov ecx, 0xc */ 3438 edi = ebp + (-0x60); /* 0x2B03C028: lea edi, [ebp - 0x60] */ 3439 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03C02B: 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; } 3440 ecx = MEM32(ebx + 0x4); /* 0x2B03C02D: mov ecx, dword ptr [ebx + 4] */ 3441 MEM32(ebp + (-0x4C)) = eax; /* 0x2B03C030: mov dword ptr [ebp - 0x4c], eax */ 3442 eax = MEM32(ebp + 0x18); /* 0x2B03C033: mov eax, dword ptr [ebp + 0x18] */ 3443 MEM32(ebp + (-0x50)) = edx; /* 0x2B03C036: mov dword ptr [ebp - 0x50], edx */ 3444 edx = MEM32(ebp + 0xC); /* 0x2B03C039: mov edx, dword ptr [ebp + 0xc] */ 3445 MEM32(ebp + (-0x54)) = eax; /* 0x2B03C03C: mov dword ptr [ebp - 0x54], eax */ 3446 eax = MEM32(ebp + 0x10); /* 0x2B03C03F: mov eax, dword ptr [ebp + 0x10] */ 3447 PUSH32(esp, 0xBCu); /* 0x2B03C042: push 0xbc */ 3448 MEM32(ebp + (-0x48)) = ecx; /* 0x2B03C047: mov dword ptr [ebp - 0x48], ecx */ 3449 MEM32(ebp + (-0x60)) = 1; /* 0x2B03C04A: mov dword ptr [ebp - 0x60], 1 */ 3450 MEM32(ebp + (-0x40)) = edx; /* 0x2B03C051: mov dword ptr [ebp - 0x40], edx */ 3451 MEM32(ebp + (-0x3C)) = eax; /* 0x2B03C054: mov dword ptr [ebp - 0x3c], eax */ 3452 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03C057: call 0x2b0ab212 */ /* not lifted */ 3453 RECOMP_FLAGS_IN(); 3454 edi = eax; /* 0x2B03C05C: mov edi, eax */ 3455 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3457 esp = esp + 4; /* 0x2B03C05E: add esp, 4 */ 3458 _flag_k = FK_ADD; 3459 MEM32(ebp + 0x8) = edi; /* 0x2B03C061: mov dword ptr [ebp + 8], edi */ 3460 /* test edi, edi */ /* 0x2B03C064: test edi, edi */ 3461 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3462 _cf = 0; 3463 _flag_k = FK_TEST; 3464 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B03C066: mov byte ptr [ebp - 4], 1 */ 3465 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C085; /* 0x2B03C06A: je 0x2b03c085 */ 3466 L_2B03C06C: 3467 ecx = MEM32(ebx); /* 0x2B03C06C: mov ecx, dword ptr [ebx] */ 3468 PUSH32(esp, ecx); /* 0x2B03C06E: push ecx */ 3469 edx = ebp + (-0x60); /* 0x2B03C06F: lea edx, [ebp - 0x60] */ 3470 PUSH32(esp, edx); /* 0x2B03C072: push edx */ 3471 ecx = edi; /* 0x2B03C073: mov ecx, edi */ 3472 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B03C075: call dword ptr [0x2b0b5afc] */ 3473 RECOMP_FLAGS_IN(); 3474 MEM32(edi) = 0x2B0B645Cu; /* 0x2B03C07B: mov dword ptr [edi], 0x2b0b645c */ 3475 ecx = edi; /* 0x2B03C081: mov ecx, edi */ 3476 goto L_2B03C087; /* 0x2B03C083: jmp 0x2b03c087 */ 3477 L_2B03C085: 3478 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3479 ecx = 0; /* 0x2B03C085: xor ecx, ecx */ 3480 _cf = 0; 3481 _flag_k = FK_TEST; 3482 L_2B03C087: 3483 PUSH32(esp, 0x2B0E6E2Cu); /* 0x2B03C087: push 0x2b0e6e2c */ 3484 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B03C08C: mov byte ptr [ebp - 4], 0 */ 3485 MEM32(ebp + (-0x24)) = ecx; /* 0x2B03C090: mov dword ptr [ebp - 0x24], ecx */ 3486 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B03C093: call dword ptr [0x2b0b5c04] */ 3487 RECOMP_FLAGS_IN(); 3488 ecx = MEM32(ebp + (-0x24)); /* 0x2B03C099: mov ecx, dword ptr [ebp - 0x24] */ 3489 PUSH32(esp, esi); /* 0x2B03C09C: push esi */ 3490 PUSH32(esp, 0x2B03C230u); /* 0x2B03C09D: push 0x2b03c230 */ 3491 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B03C0A2: call dword ptr [0x2b0b5af8] */ 3492 RECOMP_FLAGS_IN(); 3493 eax = MEM32(ebp + (-0x24)); /* 0x2B03C0A8: mov eax, dword ptr [ebp - 0x24] */ 3494 ecx = MEM32(ebp + 0x14); /* 0x2B03C0AB: mov ecx, dword ptr [ebp + 0x14] */ 3495 MEM32(eax + 0x4C) = ecx; /* 0x2B03C0AE: mov dword ptr [eax + 0x4c], ecx */ 3496 edx = MEM32(ebp + (-0x24)); /* 0x2B03C0B1: mov edx, dword ptr [ebp - 0x24] */ 3497 eax = MEM32(edx + 0x44); /* 0x2B03C0B4: mov eax, dword ptr [edx + 0x44] */ 3498 edx = MEM32(ebx + 0xC); /* 0x2B03C0B7: mov edx, dword ptr [ebx + 0xc] */ 3499 edi = MEM32(ebx + 0x8); /* 0x2B03C0BA: mov edi, dword ptr [ebx + 8] */ 3500 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 3501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3502 edx = edx + eax; /* 0x2B03C0BD: add edx, eax */ 3503 _flag_k = FK_ADD; 3504 eax = ebp + 0xB; /* 0x2B03C0BF: lea eax, [ebp + 0xb] */ 3505 PUSH32(esp, eax); /* 0x2B03C0C2: push eax */ 3506 ecx = ebp + (-0x98); /* 0x2B03C0C3: lea ecx, [ebp - 0x98] */ 3507 MEM32(ebx + 0xC) = edx; /* 0x2B03C0C9: mov dword ptr [ebx + 0xc], edx */ 3508 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B03C0CC: call dword ptr [0x2b0b5190] */ 3509 RECOMP_FLAGS_IN(); 3510 ecx = ebp + (-0xA4); /* 0x2B03C0D2: lea ecx, [ebp - 0xa4] */ 3511 PUSH32(esp, ecx); /* 0x2B03C0D8: push ecx */ 3512 ecx = ebp + (-0x84); /* 0x2B03C0D9: lea ecx, [ebp - 0x84] */ 3513 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03C0DF: mov byte ptr [ebp - 4], 2 */ 3514 MEM32(ebp + (-0x88)) = esi; /* 0x2B03C0E3: mov dword ptr [ebp - 0x88], esi */ 3515 RECOMP_ICALL(0x2B03C600u); /* 0x2B03C0E9: call 0x2b03c600 */ /* not lifted */ 3516 RECOMP_FLAGS_IN(); 3517 edx = ebp + (-0x88); /* 0x2B03C0EE: lea edx, [ebp - 0x88] */ 3518 PUSH32(esp, edx); /* 0x2B03C0F4: push edx */ 3519 eax = ebp + (-0x68); /* 0x2B03C0F5: lea eax, [ebp - 0x68] */ 3520 PUSH32(esp, eax); /* 0x2B03C0F8: push eax */ 3521 ecx = edi; /* 0x2B03C0F9: mov ecx, edi */ 3522 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B03C0FB: mov byte ptr [ebp - 4], 3 */ 3523 RECOMP_ICALL(0x2B03C4D0u); /* 0x2B03C0FF: call 0x2b03c4d0 */ /* not lifted */ 3524 RECOMP_FLAGS_IN(); 3525 edi = MEM32(eax); /* 0x2B03C104: mov edi, dword ptr [eax] */ 3526 PUSH32(esp, 1); /* 0x2B03C106: push 1 */ 3527 ecx = ebp + (-0x78); /* 0x2B03C108: lea ecx, [ebp - 0x78] */ 3528 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03C10B: mov byte ptr [ebp - 4], 2 */ 3529 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03C10F: call dword ptr [0x2b0b514c] */ 3530 RECOMP_FLAGS_IN(); 3531 PUSH32(esp, 1); /* 0x2B03C115: push 1 */ 3532 ecx = ebp + (-0x98); /* 0x2B03C117: lea ecx, [ebp - 0x98] */ 3533 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B03C11D: mov byte ptr [ebp - 4], 0 */ 3534 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03C121: call dword ptr [0x2b0b514c] */ 3535 RECOMP_FLAGS_IN(); 3536 SET_LO8(ecx, MEM8(ebp + (-0x28))); /* 0x2B03C127: mov cl, byte ptr [ebp - 0x28] */ 3537 MEM8(edi + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B03C12A: mov byte ptr [edi + 0x10], cl */ 3538 edx = MEM32(ebp + (-0x24)); /* 0x2B03C12D: mov edx, dword ptr [ebp - 0x24] */ 3539 MEM32(edi + 0x14) = edx; /* 0x2B03C130: mov dword ptr [edi + 0x14], edx */ 3540 eax = MEM32(ebp + (-0x20)); /* 0x2B03C133: mov eax, dword ptr [ebp - 0x20] */ 3541 MEM32(edi + 0x18) = eax; /* 0x2B03C136: mov dword ptr [edi + 0x18], eax */ 3542 ecx = MEM32(0x2B0B515C); /* 0x2B03C139: mov ecx, dword ptr [0x2b0b515c] */ 3543 edx = MEM32(ecx); /* 0x2B03C13F: mov edx, dword ptr [ecx] */ 3544 PUSH32(esp, edx); /* 0x2B03C141: push edx */ 3545 PUSH32(esp, 0); /* 0x2B03C142: push 0 */ 3546 eax = ebp + (-0x1C); /* 0x2B03C144: lea eax, [ebp - 0x1c] */ 3547 PUSH32(esp, eax); /* 0x2B03C147: push eax */ 3548 ecx = edi + 0x1C; /* 0x2B03C148: lea ecx, [edi + 0x1c] */ 3549 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B03C14B: call dword ptr [0x2b0b5158] */ 3550 RECOMP_FLAGS_IN(); 3551 RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B03C151: call dword ptr [0x2b0b5690] */ 3552 RECOMP_FLAGS_IN(); 3553 ecx = eax; /* 0x2B03C157: mov ecx, eax */ 3554 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B03C159: call dword ptr [0x2b0b5688] */ 3555 RECOMP_FLAGS_IN(); 3556 ecx = ebp + (-0x30); /* 0x2B03C15F: lea ecx, [ebp - 0x30] */ 3557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC0u); 3558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3559 eax = eax - 0xC0u; /* 0x2B03C162: sub eax, 0xc0 */ 3560 _flag_k = FK_CMP; 3561 PUSH32(esp, ecx); /* 0x2B03C167: push ecx */ 3562 ecx = MEM32(ebx); /* 0x2B03C168: mov ecx, dword ptr [ebx] */ 3563 MEM32(ebp + (-0x30)) = eax; /* 0x2B03C16A: mov dword ptr [ebp - 0x30], eax */ 3564 MEM32(ebp + (-0x2C)) = 0; /* 0x2B03C16D: mov dword ptr [ebp - 0x2c], 0 */ 3565 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B03C174: call dword ptr [0x2b0b5bb8] */ 3566 RECOMP_FLAGS_IN(); 3567 eax = MEM32(ebp + (-0x18)); /* 0x2B03C17A: mov eax, dword ptr [ebp - 0x18] */ 3568 /* test eax, eax */ /* 0x2B03C17D: test eax, eax */ 3569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3570 _cf = 0; 3571 _flag_k = FK_TEST; 3572 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C186; /* 0x2B03C17F: jne 0x2b03c186 */ 3573 L_2B03C181: 3574 eax = MEM32(0x2B0B513C); /* 0x2B03C181: mov eax, dword ptr [0x2b0b513c] */ 3575 L_2B03C186: 3576 edx = MEM32(0x2B0B6048); /* 0x2B03C186: mov edx, dword ptr [0x2b0b6048] */ 3577 ecx = MEM32(edx); /* 0x2B03C18C: mov ecx, dword ptr [edx] */ 3578 PUSH32(esp, 1); /* 0x2B03C18E: push 1 */ 3579 PUSH32(esp, eax); /* 0x2B03C190: push eax */ 3580 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B03C191: call dword ptr [0x2b0b602c] */ 3581 RECOMP_FLAGS_IN(); 3582 /* test eax, eax */ /* 0x2B03C197: test eax, eax */ 3583 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3584 _cf = 0; 3585 _flag_k = FK_TEST; 3586 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C1A4; /* 0x2B03C199: jne 0x2b03c1a4 */ 3587 L_2B03C19B: 3588 PUSH32(esp, esi); /* 0x2B03C19B: push esi */ 3589 RECOMP_ICALL(0x2B03C230u); /* 0x2B03C19C: call 0x2b03c230 */ /* not lifted */ 3590 RECOMP_FLAGS_IN(); 3591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3593 esp = esp + 4; /* 0x2B03C1A1: add esp, 4 */ 3594 _flag_k = FK_ADD; 3595 L_2B03C1A4: 3596 eax = MEM32(ebp + (-0x18)); /* 0x2B03C1A4: mov eax, dword ptr [ebp - 0x18] */ 3597 /* test eax, eax */ /* 0x2B03C1A7: test eax, eax */ 3598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3599 _cf = 0; 3600 _flag_k = FK_TEST; 3601 edi = POP32_VAL(esp); /* 0x2B03C1A9: pop edi */ 3602 esi = POP32_VAL(esp); /* 0x2B03C1AA: pop esi */ 3603 ebx = POP32_VAL(esp); /* 0x2B03C1AB: pop ebx */ 3604 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C1D8; /* 0x2B03C1AC: je 0x2b03c1d8 */ 3605 L_2B03C1AE: 3606 ecx = eax + (-0x1); /* 0x2B03C1AE: lea ecx, [eax - 1] */ 3607 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1B1: mov al, byte ptr [ecx] */ 3608 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1B3: test al, al */ 3609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3610 _cf = 0; 3611 _flag_k = FK_NARROW(FK_TEST, 24); 3612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C1CF; /* 0x2B03C1B5: je 0x2b03c1cf */ 3613 L_2B03C1B7: 3614 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C1B7: cmp al, 0xff */ 3615 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3617 _flag_k = FK_NARROW(FK_CMP, 24); 3618 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C1CF; /* 0x2B03C1B9: je 0x2b03c1cf */ 3619 L_2B03C1BB: 3620 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3621 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C1BB: dec al */ 3622 _flag_k = FK_NARROW(FK_DEC, 24); 3623 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C1BD: mov byte ptr [ecx], al */ 3624 ecx = MEM32(ebp + (-0xC)); /* 0x2B03C1BF: mov ecx, dword ptr [ebp - 0xc] */ 3625 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03C1C2: mov dword ptr fs:[0], ecx */ 3626 esp = ebp; /* 0x2B03C1C9: mov esp, ebp */ 3627 ebp = POP32_VAL(esp); /* 0x2B03C1CB: pop ebp */ 3628 RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x2B03C1CC: ret 0x18 */ 3629 L_2B03C1CF: 3630 PUSH32(esp, ecx); /* 0x2B03C1CF: push ecx */ 3631 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C1D0: call 0x2b0ab1ba */ /* not lifted */ 3632 RECOMP_FLAGS_IN(); 3633 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3635 esp = esp + 4; /* 0x2B03C1D5: add esp, 4 */ 3636 _flag_k = FK_ADD; 3637 L_2B03C1D8: 3638 ecx = MEM32(ebp + (-0xC)); /* 0x2B03C1D8: mov ecx, dword ptr [ebp - 0xc] */ 3639 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03C1DB: mov dword ptr fs:[0], ecx */ 3640 esp = ebp; /* 0x2B03C1E2: mov esp, ebp */ 3641 ebp = POP32_VAL(esp); /* 0x2B03C1E4: pop ebp */ 3642 RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x2B03C1E5: ret 0x18 */ 3643 RECOMP_REGS_OUT(); 3644 } 3645 3646 void sub_2B03C1F0(void) { 3647 int _fpu_cmp = 0; 3648 uint32_t _cf = 0; 3649 int _df = 1; 3650 uint32_t _flag_k = FK_NONE; 3651 uint32_t _flag_a = 0, _flag_b = 0; 3652 uint32_t _itail_tgt = 0; 3653 RECOMP_REGS_LOCALS 3654 RECOMP_ENTER(0x2B03C1F0u); 3655 3656 L_2B03C1F0: 3657 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 3658 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 3659 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 3660 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 3661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3662 _cf = 0; 3663 _flag_k = FK_TEST; 3664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 3665 L_2B03C1FA: 3666 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 3667 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 3668 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 3669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3670 _cf = 0; 3671 _flag_k = FK_NARROW(FK_TEST, 24); 3672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 3673 L_2B03C203: 3674 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 3675 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3677 _flag_k = FK_NARROW(FK_CMP, 24); 3678 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 3679 L_2B03C207: 3680 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3681 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 3682 _flag_k = FK_NARROW(FK_DEC, 24); 3683 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 3684 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 3685 L_2B03C20D: 3686 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 3687 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 3688 RECOMP_FLAGS_IN(); 3689 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3691 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 3692 _flag_k = FK_ADD; 3693 L_2B03C216: 3694 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 3695 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 3696 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 3697 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 3698 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 3699 RECOMP_REGS_OUT(); 3700 } 3701 3702 void sub_2B03C216(void) { 3703 int _fpu_cmp = 0; 3704 uint32_t _cf = 0; 3705 int _df = 1; 3706 uint32_t _flag_k = FK_NONE; 3707 uint32_t _flag_a = 0, _flag_b = 0; 3708 uint32_t _itail_tgt = 0; 3709 RECOMP_REGS_LOCALS 3710 RECOMP_ENTER(0x2B03C216u); 3711 3712 L_2B03C216: 3713 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 3714 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 3715 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 3716 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 3717 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 3718 RECOMP_REGS_OUT(); 3719 } 3720 3721 void sub_2B03C230(void) { 3722 int _fpu_cmp = 0; 3723 uint32_t _cf = 0; 3724 int _df = 1; 3725 uint32_t _flag_k = FK_NONE; 3726 uint32_t _flag_a = 0, _flag_b = 0; 3727 uint32_t _itail_tgt = 0; 3728 RECOMP_REGS_LOCALS 3729 RECOMP_ENTER(0x2B03C230u); 3730 3731 L_2B03C230: 3732 PUSH32(esp, ebp); /* 0x2B03C230: push ebp */ 3733 ebp = esp; /* 0x2B03C231: mov ebp, esp */ 3734 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3736 esp = esp - 0xCu; /* 0x2B03C233: sub esp, 0xc */ 3737 _flag_k = FK_CMP; 3738 eax = MEM32(0x2B0EE9F0); /* 0x2B03C236: mov eax, dword ptr [0x2b0ee9f0] */ 3739 /* test eax, eax */ /* 0x2B03C23B: test eax, eax */ 3740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3741 _cf = 0; 3742 _flag_k = FK_TEST; 3743 PUSH32(esp, esi); /* 0x2B03C23D: push esi */ 3744 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C338; /* 0x2B03C23E: je 0x2b03c338 */ 3745 L_2B03C244: 3746 esi = MEM32(eax + 0x8); /* 0x2B03C244: mov esi, dword ptr [eax + 8] */ 3747 eax = ebp + 0x8; /* 0x2B03C247: lea eax, [ebp + 8] */ 3748 PUSH32(esp, eax); /* 0x2B03C24A: push eax */ 3749 ecx = ebp + (-0xC); /* 0x2B03C24B: lea ecx, [ebp - 0xc] */ 3750 PUSH32(esp, ecx); /* 0x2B03C24E: push ecx */ 3751 ecx = esi; /* 0x2B03C24F: mov ecx, esi */ 3752 RECOMP_ICALL(0x2B03CB30u); /* 0x2B03C251: call 0x2b03cb30 */ /* not lifted */ 3753 RECOMP_FLAGS_IN(); 3754 eax = MEM32(eax); /* 0x2B03C256: mov eax, dword ptr [eax] */ 3755 esi = MEM32(esi + 0x4); /* 0x2B03C258: mov esi, dword ptr [esi + 4] */ 3756 /* cmp eax, esi */ /* 0x2B03C25B: cmp eax, esi */ 3757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3759 _flag_k = FK_CMP; 3760 MEM32(ebp + (-0x4)) = eax; /* 0x2B03C25D: mov dword ptr [ebp - 4], eax */ 3761 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C26F; /* 0x2B03C260: je 0x2b03c26f */ 3762 L_2B03C262: 3763 edx = MEM32(ebp + 0x8); /* 0x2B03C262: mov edx, dword ptr [ebp + 8] */ 3764 /* cmp edx, MEM32(eax + 0xC) */ /* 0x2B03C265: cmp edx, dword ptr [eax + 0xc] */ 3765 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 3766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3767 _flag_k = FK_CMP; 3768 if (CMP_L(_flag_a, _flag_b)) goto L_2B03C26F; /* 0x2B03C268: jl 0x2b03c26f */ 3769 L_2B03C26A: 3770 eax = ebp + (-0x4); /* 0x2B03C26A: lea eax, [ebp - 4] */ 3771 goto L_2B03C275; /* 0x2B03C26D: jmp 0x2b03c275 */ 3772 L_2B03C26F: 3773 MEM32(ebp + (-0x8)) = esi; /* 0x2B03C26F: mov dword ptr [ebp - 8], esi */ 3774 eax = ebp + (-0x8); /* 0x2B03C272: lea eax, [ebp - 8] */ 3775 L_2B03C275: 3776 esi = MEM32(eax); /* 0x2B03C275: mov esi, dword ptr [eax] */ 3777 eax = MEM32(0x2B0EE9F0); /* 0x2B03C277: mov eax, dword ptr [0x2b0ee9f0] */ 3778 ecx = MEM32(eax + 0x8); /* 0x2B03C27C: mov ecx, dword ptr [eax + 8] */ 3779 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B03C27F: cmp dword ptr [ecx + 4], esi */ 3780 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 3781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3782 _flag_k = FK_CMP; 3783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C338; /* 0x2B03C282: je 0x2b03c338 */ 3784 L_2B03C288: 3785 SET_LO8(eax, MEM8(esi + 0x10)); /* 0x2B03C288: mov al, byte ptr [esi + 0x10] */ 3786 /* test LO8(eax), LO8(eax) */ /* 0x2B03C28B: test al, al */ 3787 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3788 _cf = 0; 3789 _flag_k = FK_NARROW(FK_TEST, 24); 3790 ecx = MEM32(esi + 0x18); /* 0x2B03C28D: mov ecx, dword ptr [esi + 0x18] */ 3791 PUSH32(esp, edi); /* 0x2B03C290: push edi */ 3792 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C2D8; /* 0x2B03C291: je 0x2b03c2d8 */ 3793 L_2B03C293: 3794 RECOMP_ICALL(0x2B03A590u); /* 0x2B03C293: call 0x2b03a590 */ /* not lifted */ 3795 RECOMP_FLAGS_IN(); 3796 ecx = MEM32(esi + 0x14); /* 0x2B03C298: mov ecx, dword ptr [esi + 0x14] */ 3797 edi = MEM32(0x2B0B5AB4); /* 0x2B03C29B: mov edi, dword ptr [0x2b0b5ab4] */ 3798 PUSH32(esp, 2); /* 0x2B03C2A1: push 2 */ 3799 RECOMP_ICALL(edi); /* 0x2B03C2A3: call edi */ 3800 RECOMP_FLAGS_IN(); 3801 ecx = MEM32(esi + 0x14); /* 0x2B03C2A5: mov ecx, dword ptr [esi + 0x14] */ 3802 PUSH32(esp, 1); /* 0x2B03C2A8: push 1 */ 3803 RECOMP_ICALL(edi); /* 0x2B03C2AA: call edi */ 3804 RECOMP_FLAGS_IN(); 3805 SET_LO8(eax, MEM8(0x2B0EE9EC)); /* 0x2B03C2AC: mov al, byte ptr [0x2b0ee9ec] */ 3806 /* test LO8(eax), 1 */ /* 0x2B03C2B1: test al, 1 */ 3807 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3808 _cf = 0; 3809 _flag_k = FK_NARROW(FK_TEST, 24); 3810 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C2CF; /* 0x2B03C2B3: jne 0x2b03c2cf */ 3811 L_2B03C2B5: 3812 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 3813 SET_LO8(eax, LO8(eax) | 1); /* 0x2B03C2B5: or al, 1 */ 3814 _cf = 0; 3815 _flag_k = FK_NARROW(FK_TEST, 24); 3816 PUSH32(esp, 0x2B0E6E84u); /* 0x2B03C2B7: push 0x2b0e6e84 */ 3817 MEM8(0x2B0EE9EC) = (uint8_t)(LO8(eax)); /* 0x2B03C2BC: mov byte ptr [0x2b0ee9ec], al */ 3818 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B03C2C1: call dword ptr [0x2b0b60bc] */ 3819 RECOMP_FLAGS_IN(); 3820 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3821 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3822 esp = esp + 4; /* 0x2B03C2C7: add esp, 4 */ 3823 _flag_k = FK_ADD; 3824 MEM32(0x2B0EE9E8) = eax; /* 0x2B03C2CA: mov dword ptr [0x2b0ee9e8], eax */ 3825 L_2B03C2CF: 3826 edx = MEM32(0x2B0EE9E8); /* 0x2B03C2CF: mov edx, dword ptr [0x2b0ee9e8] */ 3827 PUSH32(esp, edx); /* 0x2B03C2D5: push edx */ 3828 goto L_2B03C31A; /* 0x2B03C2D6: jmp 0x2b03c31a */ 3829 L_2B03C2D8: 3830 RECOMP_ICALL(0x2B03A600u); /* 0x2B03C2D8: call 0x2b03a600 */ /* not lifted */ 3831 RECOMP_FLAGS_IN(); 3832 ecx = MEM32(esi + 0x14); /* 0x2B03C2DD: mov ecx, dword ptr [esi + 0x14] */ 3833 edi = MEM32(0x2B0B5AB4); /* 0x2B03C2E0: mov edi, dword ptr [0x2b0b5ab4] */ 3834 PUSH32(esp, 1); /* 0x2B03C2E6: push 1 */ 3835 RECOMP_ICALL(edi); /* 0x2B03C2E8: call edi */ 3836 RECOMP_FLAGS_IN(); 3837 ecx = MEM32(esi + 0x14); /* 0x2B03C2EA: mov ecx, dword ptr [esi + 0x14] */ 3838 PUSH32(esp, 2); /* 0x2B03C2ED: push 2 */ 3839 RECOMP_ICALL(edi); /* 0x2B03C2EF: call edi */ 3840 RECOMP_FLAGS_IN(); 3841 SET_LO8(eax, MEM8(0x2B0EE9EC)); /* 0x2B03C2F1: mov al, byte ptr [0x2b0ee9ec] */ 3842 /* test LO8(eax), 2 */ /* 0x2B03C2F6: test al, 2 */ 3843 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 3844 _cf = 0; 3845 _flag_k = FK_NARROW(FK_TEST, 24); 3846 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C314; /* 0x2B03C2F8: jne 0x2b03c314 */ 3847 L_2B03C2FA: 3848 _flag_a = (uint32_t)((LO8(eax) | 2)) << 24; _flag_b = (uint32_t)((LO8(eax) | 2)) << 24; 3849 SET_LO8(eax, LO8(eax) | 2); /* 0x2B03C2FA: or al, 2 */ 3850 _cf = 0; 3851 _flag_k = FK_NARROW(FK_TEST, 24); 3852 PUSH32(esp, 0x2B0E6E64u); /* 0x2B03C2FC: push 0x2b0e6e64 */ 3853 MEM8(0x2B0EE9EC) = (uint8_t)(LO8(eax)); /* 0x2B03C301: mov byte ptr [0x2b0ee9ec], al */ 3854 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B03C306: call dword ptr [0x2b0b60bc] */ 3855 RECOMP_FLAGS_IN(); 3856 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3858 esp = esp + 4; /* 0x2B03C30C: add esp, 4 */ 3859 _flag_k = FK_ADD; 3860 MEM32(0x2B0EE9E4) = eax; /* 0x2B03C30F: mov dword ptr [0x2b0ee9e4], eax */ 3861 L_2B03C314: 3862 eax = MEM32(0x2B0EE9E4); /* 0x2B03C314: mov eax, dword ptr [0x2b0ee9e4] */ 3863 PUSH32(esp, eax); /* 0x2B03C319: push eax */ 3864 L_2B03C31A: 3865 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B03C31A: call dword ptr [0x2b0b60b8] */ 3866 RECOMP_FLAGS_IN(); 3867 SET_LO8(eax, MEM8(esi + 0x10)); /* 0x2B03C320: mov al, byte ptr [esi + 0x10] */ 3868 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3870 esp = esp + 4; /* 0x2B03C323: add esp, 4 */ 3871 _flag_k = FK_ADD; 3872 /* test LO8(eax), LO8(eax) */ /* 0x2B03C326: test al, al */ 3873 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3874 _cf = 0; 3875 _flag_k = FK_NARROW(FK_TEST, 24); 3876 SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B03C328: sete cl */ 3877 MEM8(esi + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B03C32B: mov byte ptr [esi + 0x10], cl */ 3878 ecx = MEM32(esi + 0x14); /* 0x2B03C32E: mov ecx, dword ptr [esi + 0x14] */ 3879 RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B03C331: call dword ptr [0x2b0b5960] */ 3880 RECOMP_FLAGS_IN(); 3881 edi = POP32_VAL(esp); /* 0x2B03C337: pop edi */ 3882 L_2B03C338: 3883 esi = POP32_VAL(esp); /* 0x2B03C338: pop esi */ 3884 esp = ebp; /* 0x2B03C339: mov esp, ebp */ 3885 ebp = POP32_VAL(esp); /* 0x2B03C33B: pop ebp */ 3886 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C33C: ret */ 3887 RECOMP_REGS_OUT(); 3888 } 3889 3890 void sub_2B03C340(void) { 3891 int _fpu_cmp = 0; 3892 uint32_t _cf = 0; 3893 int _df = 1; 3894 uint32_t _flag_k = FK_NONE; 3895 uint32_t _flag_a = 0, _flag_b = 0; 3896 uint32_t _itail_tgt = 0; 3897 RECOMP_REGS_LOCALS 3898 RECOMP_ENTER(0x2B03C340u); 3899 3900 L_2B03C340: 3901 PUSH32(esp, esi); /* 0x2B03C340: push esi */ 3902 PUSH32(esp, edi); /* 0x2B03C341: push edi */ 3903 edi = ecx; /* 0x2B03C342: mov edi, ecx */ 3904 eax = MEM32(edi + 0x8); /* 0x2B03C344: mov eax, dword ptr [edi + 8] */ 3905 eax = MEM32(eax + 0x4); /* 0x2B03C347: mov eax, dword ptr [eax + 4] */ 3906 esi = MEM32(eax); /* 0x2B03C34A: mov esi, dword ptr [eax] */ 3907 /* cmp esi, eax */ /* 0x2B03C34C: cmp esi, eax */ 3908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3910 _flag_k = FK_CMP; 3911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C3A0; /* 0x2B03C34E: je 0x2b03c3a0 */ 3912 L_2B03C350: 3913 PUSH32(esp, ebx); /* 0x2B03C350: push ebx */ 3914 ebx = MEM32(0x2B0B5B3C); /* 0x2B03C351: mov ebx, dword ptr [0x2b0b5b3c] */ 3915 L_2B03C357: 3916 ecx = MEM32(esi + 0x14); /* 0x2B03C357: mov ecx, dword ptr [esi + 0x14] */ 3917 RECOMP_ICALL(ebx); /* 0x2B03C35A: call ebx */ 3918 RECOMP_FLAGS_IN(); 3919 eax = MEM32(esi + 0x8); /* 0x2B03C35C: mov eax, dword ptr [esi + 8] */ 3920 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C35F: mov cl, byte ptr [eax + 0x2d] */ 3921 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C362: test cl, cl */ 3922 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3923 _cf = 0; 3924 _flag_k = FK_NARROW(FK_TEST, 24); 3925 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C37E; /* 0x2B03C364: jne 0x2b03c37e */ 3926 L_2B03C366: 3927 esi = eax; /* 0x2B03C366: mov esi, eax */ 3928 eax = MEM32(esi); /* 0x2B03C368: mov eax, dword ptr [esi] */ 3929 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C36A: mov cl, byte ptr [eax + 0x2d] */ 3930 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C36D: test cl, cl */ 3931 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3932 _cf = 0; 3933 _flag_k = FK_NARROW(FK_TEST, 24); 3934 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C397; /* 0x2B03C36F: jne 0x2b03c397 */ 3935 L_2B03C371: 3936 esi = eax; /* 0x2B03C371: mov esi, eax */ 3937 eax = MEM32(esi); /* 0x2B03C373: mov eax, dword ptr [esi] */ 3938 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C375: mov cl, byte ptr [eax + 0x2d] */ 3939 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C378: test cl, cl */ 3940 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3941 _cf = 0; 3942 _flag_k = FK_NARROW(FK_TEST, 24); 3943 RECOMP_BACKEDGE(); 3944 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C371; /* 0x2B03C37A: je 0x2b03c371 */ 3945 L_2B03C37C: 3946 goto L_2B03C397; /* 0x2B03C37C: jmp 0x2b03c397 */ 3947 L_2B03C37E: 3948 eax = MEM32(esi + 0x4); /* 0x2B03C37E: mov eax, dword ptr [esi + 4] */ 3949 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C381: cmp esi, dword ptr [eax + 8] */ 3950 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 3951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3952 _flag_k = FK_CMP; 3953 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C390; /* 0x2B03C384: jne 0x2b03c390 */ 3954 L_2B03C386: 3955 esi = eax; /* 0x2B03C386: mov esi, eax */ 3956 eax = MEM32(eax + 0x4); /* 0x2B03C388: mov eax, dword ptr [eax + 4] */ 3957 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C38B: cmp esi, dword ptr [eax + 8] */ 3958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 3959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3960 _flag_k = FK_CMP; 3961 RECOMP_BACKEDGE(); 3962 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C386; /* 0x2B03C38E: je 0x2b03c386 */ 3963 L_2B03C390: 3964 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B03C390: cmp dword ptr [esi + 8], eax */ 3965 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 3966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3967 _flag_k = FK_CMP; 3968 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C397; /* 0x2B03C393: je 0x2b03c397 */ 3969 L_2B03C395: 3970 esi = eax; /* 0x2B03C395: mov esi, eax */ 3971 L_2B03C397: 3972 ecx = MEM32(edi + 0x8); /* 0x2B03C397: mov ecx, dword ptr [edi + 8] */ 3973 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B03C39A: cmp esi, dword ptr [ecx + 4] */ 3974 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3976 _flag_k = FK_CMP; 3977 RECOMP_BACKEDGE(); 3978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C357; /* 0x2B03C39D: jne 0x2b03c357 */ 3979 L_2B03C39F: 3980 ebx = POP32_VAL(esp); /* 0x2B03C39F: pop ebx */ 3981 L_2B03C3A0: 3982 ecx = MEM32(edi); /* 0x2B03C3A0: mov ecx, dword ptr [edi] */ 3983 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03C3A2: call dword ptr [0x2b0b5bb4] */ 3984 RECOMP_FLAGS_IN(); 3985 edi = POP32_VAL(esp); /* 0x2B03C3A8: pop edi */ 3986 esi = POP32_VAL(esp); /* 0x2B03C3A9: pop esi */ 3987 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C3AA: ret */ 3988 RECOMP_REGS_OUT(); 3989 } 3990 3991 void sub_2B03C3B0(void) { 3992 int _fpu_cmp = 0; 3993 uint32_t _cf = 0; 3994 int _df = 1; 3995 uint32_t _flag_k = FK_NONE; 3996 uint32_t _flag_a = 0, _flag_b = 0; 3997 uint32_t _itail_tgt = 0; 3998 RECOMP_REGS_LOCALS 3999 RECOMP_ENTER(0x2B03C3B0u); 4000 4001 L_2B03C3B0: 4002 PUSH32(esp, esi); /* 0x2B03C3B0: push esi */ 4003 PUSH32(esp, edi); /* 0x2B03C3B1: push edi */ 4004 edi = ecx; /* 0x2B03C3B2: mov edi, ecx */ 4005 eax = MEM32(edi + 0x8); /* 0x2B03C3B4: mov eax, dword ptr [edi + 8] */ 4006 eax = MEM32(eax + 0x4); /* 0x2B03C3B7: mov eax, dword ptr [eax + 4] */ 4007 esi = MEM32(eax); /* 0x2B03C3BA: mov esi, dword ptr [eax] */ 4008 /* cmp esi, eax */ /* 0x2B03C3BC: cmp esi, eax */ 4009 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 4010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4011 _flag_k = FK_CMP; 4012 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C410; /* 0x2B03C3BE: je 0x2b03c410 */ 4013 L_2B03C3C0: 4014 PUSH32(esp, ebx); /* 0x2B03C3C0: push ebx */ 4015 ebx = MEM32(0x2B0B5B34); /* 0x2B03C3C1: mov ebx, dword ptr [0x2b0b5b34] */ 4016 L_2B03C3C7: 4017 ecx = MEM32(esi + 0x14); /* 0x2B03C3C7: mov ecx, dword ptr [esi + 0x14] */ 4018 RECOMP_ICALL(ebx); /* 0x2B03C3CA: call ebx */ 4019 RECOMP_FLAGS_IN(); 4020 eax = MEM32(esi + 0x8); /* 0x2B03C3CC: mov eax, dword ptr [esi + 8] */ 4021 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C3CF: mov cl, byte ptr [eax + 0x2d] */ 4022 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C3D2: test cl, cl */ 4023 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4024 _cf = 0; 4025 _flag_k = FK_NARROW(FK_TEST, 24); 4026 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C3EE; /* 0x2B03C3D4: jne 0x2b03c3ee */ 4027 L_2B03C3D6: 4028 esi = eax; /* 0x2B03C3D6: mov esi, eax */ 4029 eax = MEM32(esi); /* 0x2B03C3D8: mov eax, dword ptr [esi] */ 4030 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C3DA: mov cl, byte ptr [eax + 0x2d] */ 4031 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C3DD: test cl, cl */ 4032 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4033 _cf = 0; 4034 _flag_k = FK_NARROW(FK_TEST, 24); 4035 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C407; /* 0x2B03C3DF: jne 0x2b03c407 */ 4036 L_2B03C3E1: 4037 esi = eax; /* 0x2B03C3E1: mov esi, eax */ 4038 eax = MEM32(esi); /* 0x2B03C3E3: mov eax, dword ptr [esi] */ 4039 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C3E5: mov cl, byte ptr [eax + 0x2d] */ 4040 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C3E8: test cl, cl */ 4041 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4042 _cf = 0; 4043 _flag_k = FK_NARROW(FK_TEST, 24); 4044 RECOMP_BACKEDGE(); 4045 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C3E1; /* 0x2B03C3EA: je 0x2b03c3e1 */ 4046 L_2B03C3EC: 4047 goto L_2B03C407; /* 0x2B03C3EC: jmp 0x2b03c407 */ 4048 L_2B03C3EE: 4049 eax = MEM32(esi + 0x4); /* 0x2B03C3EE: mov eax, dword ptr [esi + 4] */ 4050 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C3F1: cmp esi, dword ptr [eax + 8] */ 4051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4053 _flag_k = FK_CMP; 4054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C400; /* 0x2B03C3F4: jne 0x2b03c400 */ 4055 L_2B03C3F6: 4056 esi = eax; /* 0x2B03C3F6: mov esi, eax */ 4057 eax = MEM32(eax + 0x4); /* 0x2B03C3F8: mov eax, dword ptr [eax + 4] */ 4058 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C3FB: cmp esi, dword ptr [eax + 8] */ 4059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4061 _flag_k = FK_CMP; 4062 RECOMP_BACKEDGE(); 4063 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C3F6; /* 0x2B03C3FE: je 0x2b03c3f6 */ 4064 L_2B03C400: 4065 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B03C400: cmp dword ptr [esi + 8], eax */ 4066 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 4067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4068 _flag_k = FK_CMP; 4069 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C407; /* 0x2B03C403: je 0x2b03c407 */ 4070 L_2B03C405: 4071 esi = eax; /* 0x2B03C405: mov esi, eax */ 4072 L_2B03C407: 4073 ecx = MEM32(edi + 0x8); /* 0x2B03C407: mov ecx, dword ptr [edi + 8] */ 4074 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B03C40A: cmp esi, dword ptr [ecx + 4] */ 4075 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4077 _flag_k = FK_CMP; 4078 RECOMP_BACKEDGE(); 4079 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C3C7; /* 0x2B03C40D: jne 0x2b03c3c7 */ 4080 L_2B03C40F: 4081 ebx = POP32_VAL(esp); /* 0x2B03C40F: pop ebx */ 4082 L_2B03C410: 4083 ecx = MEM32(edi); /* 0x2B03C410: mov ecx, dword ptr [edi] */ 4084 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B03C412: call dword ptr [0x2b0b5bac] */ 4085 RECOMP_FLAGS_IN(); 4086 edi = POP32_VAL(esp); /* 0x2B03C418: pop edi */ 4087 esi = POP32_VAL(esp); /* 0x2B03C419: pop esi */ 4088 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C41A: ret */ 4089 RECOMP_REGS_OUT(); 4090 } 4091 4092 void sub_2B03C420(void) { 4093 int _fpu_cmp = 0; 4094 uint32_t _cf = 0; 4095 int _df = 1; 4096 uint32_t _flag_k = FK_NONE; 4097 uint32_t _flag_a = 0, _flag_b = 0; 4098 uint32_t _itail_tgt = 0; 4099 RECOMP_REGS_LOCALS 4100 RECOMP_ENTER(0x2B03C420u); 4101 4102 L_2B03C420: 4103 PUSH32(esp, esi); /* 0x2B03C420: push esi */ 4104 PUSH32(esp, edi); /* 0x2B03C421: push edi */ 4105 edi = ecx; /* 0x2B03C422: mov edi, ecx */ 4106 eax = MEM32(edi + 0x8); /* 0x2B03C424: mov eax, dword ptr [edi + 8] */ 4107 eax = MEM32(eax + 0x4); /* 0x2B03C427: mov eax, dword ptr [eax + 4] */ 4108 esi = MEM32(eax); /* 0x2B03C42A: mov esi, dword ptr [eax] */ 4109 /* cmp esi, eax */ /* 0x2B03C42C: cmp esi, eax */ 4110 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 4111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4112 _flag_k = FK_CMP; 4113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C489; /* 0x2B03C42E: je 0x2b03c489 */ 4114 L_2B03C430: 4115 SET_LO8(eax, MEM8(esi + 0x10)); /* 0x2B03C430: mov al, byte ptr [esi + 0x10] */ 4116 /* test LO8(eax), LO8(eax) */ /* 0x2B03C433: test al, al */ 4117 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4118 _cf = 0; 4119 _flag_k = FK_NARROW(FK_TEST, 24); 4120 ecx = MEM32(esi + 0x18); /* 0x2B03C435: mov ecx, dword ptr [esi + 0x18] */ 4121 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C441; /* 0x2B03C438: jne 0x2b03c441 */ 4122 L_2B03C43A: 4123 RECOMP_ICALL(0x2B03A590u); /* 0x2B03C43A: call 0x2b03a590 */ /* not lifted */ 4124 RECOMP_FLAGS_IN(); 4125 goto L_2B03C446; /* 0x2B03C43F: jmp 0x2b03c446 */ 4126 L_2B03C441: 4127 RECOMP_ICALL(0x2B03A600u); /* 0x2B03C441: call 0x2b03a600 */ /* not lifted */ 4128 RECOMP_FLAGS_IN(); 4129 L_2B03C446: 4130 eax = MEM32(esi + 0x8); /* 0x2B03C446: mov eax, dword ptr [esi + 8] */ 4131 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C449: mov cl, byte ptr [eax + 0x2d] */ 4132 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C44C: test cl, cl */ 4133 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4134 _cf = 0; 4135 _flag_k = FK_NARROW(FK_TEST, 24); 4136 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C468; /* 0x2B03C44E: jne 0x2b03c468 */ 4137 L_2B03C450: 4138 esi = eax; /* 0x2B03C450: mov esi, eax */ 4139 eax = MEM32(esi); /* 0x2B03C452: mov eax, dword ptr [esi] */ 4140 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C454: mov cl, byte ptr [eax + 0x2d] */ 4141 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C457: test cl, cl */ 4142 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4143 _cf = 0; 4144 _flag_k = FK_NARROW(FK_TEST, 24); 4145 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C481; /* 0x2B03C459: jne 0x2b03c481 */ 4146 L_2B03C45B: 4147 esi = eax; /* 0x2B03C45B: mov esi, eax */ 4148 eax = MEM32(esi); /* 0x2B03C45D: mov eax, dword ptr [esi] */ 4149 SET_LO8(ecx, MEM8(eax + 0x2D)); /* 0x2B03C45F: mov cl, byte ptr [eax + 0x2d] */ 4150 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C462: test cl, cl */ 4151 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4152 _cf = 0; 4153 _flag_k = FK_NARROW(FK_TEST, 24); 4154 RECOMP_BACKEDGE(); 4155 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C45B; /* 0x2B03C464: je 0x2b03c45b */ 4156 L_2B03C466: 4157 goto L_2B03C481; /* 0x2B03C466: jmp 0x2b03c481 */ 4158 L_2B03C468: 4159 eax = MEM32(esi + 0x4); /* 0x2B03C468: mov eax, dword ptr [esi + 4] */ 4160 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C46B: cmp esi, dword ptr [eax + 8] */ 4161 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4163 _flag_k = FK_CMP; 4164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C47A; /* 0x2B03C46E: jne 0x2b03c47a */ 4165 L_2B03C470: 4166 esi = eax; /* 0x2B03C470: mov esi, eax */ 4167 eax = MEM32(eax + 0x4); /* 0x2B03C472: mov eax, dword ptr [eax + 4] */ 4168 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B03C475: cmp esi, dword ptr [eax + 8] */ 4169 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4171 _flag_k = FK_CMP; 4172 RECOMP_BACKEDGE(); 4173 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C470; /* 0x2B03C478: je 0x2b03c470 */ 4174 L_2B03C47A: 4175 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B03C47A: cmp dword ptr [esi + 8], eax */ 4176 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 4177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4178 _flag_k = FK_CMP; 4179 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C481; /* 0x2B03C47D: je 0x2b03c481 */ 4180 L_2B03C47F: 4181 esi = eax; /* 0x2B03C47F: mov esi, eax */ 4182 L_2B03C481: 4183 ecx = MEM32(edi + 0x8); /* 0x2B03C481: mov ecx, dword ptr [edi + 8] */ 4184 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B03C484: cmp esi, dword ptr [ecx + 4] */ 4185 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4187 _flag_k = FK_CMP; 4188 RECOMP_BACKEDGE(); 4189 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C430; /* 0x2B03C487: jne 0x2b03c430 */ 4190 L_2B03C489: 4191 edi = POP32_VAL(esp); /* 0x2B03C489: pop edi */ 4192 esi = POP32_VAL(esp); /* 0x2B03C48A: pop esi */ 4193 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C48B: ret */ 4194 RECOMP_REGS_OUT(); 4195 } 4196 4197 void sub_2B03C490(void) { 4198 int _fpu_cmp = 0; 4199 uint32_t _cf = 0; 4200 int _df = 1; 4201 uint32_t _flag_k = FK_NONE; 4202 uint32_t _flag_a = 0, _flag_b = 0; 4203 uint32_t _itail_tgt = 0; 4204 RECOMP_REGS_LOCALS 4205 RECOMP_ENTER(0x2B03C490u); 4206 4207 L_2B03C490: 4208 PUSH32(esp, esi); /* 0x2B03C490: push esi */ 4209 esi = ecx; /* 0x2B03C491: mov esi, ecx */ 4210 eax = MEM32(esi + 0x14); /* 0x2B03C493: mov eax, dword ptr [esi + 0x14] */ 4211 /* test eax, eax */ /* 0x2B03C496: test eax, eax */ 4212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4213 _cf = 0; 4214 _flag_k = FK_TEST; 4215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C4B6; /* 0x2B03C498: je 0x2b03c4b6 */ 4216 L_2B03C49A: 4217 ecx = eax + (-0x1); /* 0x2B03C49A: lea ecx, [eax - 1] */ 4218 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C49D: mov al, byte ptr [ecx] */ 4219 /* test LO8(eax), LO8(eax) */ /* 0x2B03C49F: test al, al */ 4220 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4221 _cf = 0; 4222 _flag_k = FK_NARROW(FK_TEST, 24); 4223 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C4AD; /* 0x2B03C4A1: je 0x2b03c4ad */ 4224 L_2B03C4A3: 4225 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C4A3: cmp al, 0xff */ 4226 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4228 _flag_k = FK_NARROW(FK_CMP, 24); 4229 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C4AD; /* 0x2B03C4A5: je 0x2b03c4ad */ 4230 L_2B03C4A7: 4231 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4232 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C4A7: dec al */ 4233 _flag_k = FK_NARROW(FK_DEC, 24); 4234 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C4A9: mov byte ptr [ecx], al */ 4235 goto L_2B03C4B6; /* 0x2B03C4AB: jmp 0x2b03c4b6 */ 4236 L_2B03C4AD: 4237 PUSH32(esp, ecx); /* 0x2B03C4AD: push ecx */ 4238 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C4AE: call 0x2b0ab1ba */ /* not lifted */ 4239 RECOMP_FLAGS_IN(); 4240 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4242 esp = esp + 4; /* 0x2B03C4B3: add esp, 4 */ 4243 _flag_k = FK_ADD; 4244 L_2B03C4B6: 4245 MEM32(esi + 0x14) = 0; /* 0x2B03C4B6: mov dword ptr [esi + 0x14], 0 */ 4246 MEM32(esi + 0x18) = 0; /* 0x2B03C4BD: mov dword ptr [esi + 0x18], 0 */ 4247 MEM32(esi + 0x1C) = 0; /* 0x2B03C4C4: mov dword ptr [esi + 0x1c], 0 */ 4248 esi = POP32_VAL(esp); /* 0x2B03C4CB: pop esi */ 4249 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C4CC: ret */ 4250 RECOMP_REGS_OUT(); 4251 } 4252 4253 void sub_2B03C4B6(void) { 4254 int _fpu_cmp = 0; 4255 uint32_t _cf = 0; 4256 int _df = 1; 4257 uint32_t _flag_k = FK_NONE; 4258 uint32_t _flag_a = 0, _flag_b = 0; 4259 uint32_t _itail_tgt = 0; 4260 RECOMP_REGS_LOCALS 4261 RECOMP_ENTER(0x2B03C4B6u); 4262 4263 L_2B03C4B6: 4264 MEM32(esi + 0x14) = 0; /* 0x2B03C4B6: mov dword ptr [esi + 0x14], 0 */ 4265 MEM32(esi + 0x18) = 0; /* 0x2B03C4BD: mov dword ptr [esi + 0x18], 0 */ 4266 MEM32(esi + 0x1C) = 0; /* 0x2B03C4C4: mov dword ptr [esi + 0x1c], 0 */ 4267 esi = POP32_VAL(esp); /* 0x2B03C4CB: pop esi */ 4268 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C4CC: ret */ 4269 RECOMP_REGS_OUT(); 4270 } 4271 4272 void sub_2B03C4D0(void) { 4273 int _fpu_cmp = 0; 4274 uint32_t _cf = 0; 4275 int _df = 1; 4276 uint32_t _flag_k = FK_NONE; 4277 uint32_t _flag_a = 0, _flag_b = 0; 4278 uint32_t _itail_tgt = 0; 4279 RECOMP_REGS_LOCALS 4280 RECOMP_ENTER(0x2B03C4D0u); 4281 4282 L_2B03C4D0: 4283 PUSH32(esp, ebp); /* 0x2B03C4D0: push ebp */ 4284 ebp = esp; /* 0x2B03C4D1: mov ebp, esp */ 4285 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4287 esp = esp - 0x10u; /* 0x2B03C4D3: sub esp, 0x10 */ 4288 _flag_k = FK_CMP; 4289 PUSH32(esp, ebx); /* 0x2B03C4D6: push ebx */ 4290 ebx = ecx; /* 0x2B03C4D7: mov ebx, ecx */ 4291 edx = MEM32(ebx + 0x4); /* 0x2B03C4D9: mov edx, dword ptr [ebx + 4] */ 4292 ecx = MEM32(ebx + 0x8); /* 0x2B03C4DC: mov ecx, dword ptr [ebx + 8] */ 4293 PUSH32(esp, esi); /* 0x2B03C4DF: push esi */ 4294 esi = MEM32(edx + 0x4); /* 0x2B03C4E0: mov esi, dword ptr [edx + 4] */ 4295 /* cmp esi, ecx */ /* 0x2B03C4E3: cmp esi, ecx */ 4296 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4298 _flag_k = FK_CMP; 4299 PUSH32(esp, edi); /* 0x2B03C4E5: push edi */ 4300 edi = edx; /* 0x2B03C4E6: mov edi, edx */ 4301 SET_LO8(eax, 1); /* 0x2B03C4E8: mov al, 1 */ 4302 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C50E; /* 0x2B03C4EA: je 0x2b03c50e */ 4303 L_2B03C4EC: 4304 eax = MEM32(ebp + 0xC); /* 0x2B03C4EC: mov eax, dword ptr [ebp + 0xc] */ 4305 eax = MEM32(eax); /* 0x2B03C4EF: mov eax, dword ptr [eax] */ 4306 MEM32(ebp + (-0x4)) = eax; /* 0x2B03C4F1: mov dword ptr [ebp - 4], eax */ 4307 L_2B03C4F4: 4308 eax = MEM32(ebp + (-0x4)); /* 0x2B03C4F4: mov eax, dword ptr [ebp - 4] */ 4309 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B03C4F7: cmp eax, dword ptr [esi + 0xc] */ 4310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 4311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4312 _flag_k = FK_CMP; 4313 edi = esi; /* 0x2B03C4FA: mov edi, esi */ 4314 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B03C4FC: setl al */ 4315 /* test LO8(eax), LO8(eax) */ /* 0x2B03C4FF: test al, al */ 4316 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4317 _cf = 0; 4318 _flag_k = FK_NARROW(FK_TEST, 24); 4319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C507; /* 0x2B03C501: je 0x2b03c507 */ 4320 L_2B03C503: 4321 esi = MEM32(esi); /* 0x2B03C503: mov esi, dword ptr [esi] */ 4322 goto L_2B03C50A; /* 0x2B03C505: jmp 0x2b03c50a */ 4323 L_2B03C507: 4324 esi = MEM32(esi + 0x8); /* 0x2B03C507: mov esi, dword ptr [esi + 8] */ 4325 L_2B03C50A: 4326 /* cmp esi, ecx */ /* 0x2B03C50A: cmp esi, ecx */ 4327 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 4328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4329 _flag_k = FK_CMP; 4330 RECOMP_BACKEDGE(); 4331 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C4F4; /* 0x2B03C50C: jne 0x2b03c4f4 */ 4332 L_2B03C50E: 4333 SET_LO8(ecx, MEM8(ebx + 0xC)); /* 0x2B03C50E: mov cl, byte ptr [ebx + 0xc] */ 4334 /* test LO8(ecx), LO8(ecx) */ /* 0x2B03C511: test cl, cl */ 4335 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4336 _cf = 0; 4337 _flag_k = FK_NARROW(FK_TEST, 24); 4338 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C533; /* 0x2B03C513: je 0x2b03c533 */ 4339 L_2B03C515: 4340 ecx = MEM32(ebp + 0xC); /* 0x2B03C515: mov ecx, dword ptr [ebp + 0xc] */ 4341 PUSH32(esp, ecx); /* 0x2B03C518: push ecx */ 4342 PUSH32(esp, edi); /* 0x2B03C519: push edi */ 4343 PUSH32(esp, esi); /* 0x2B03C51A: push esi */ 4344 edx = ebp + (-0x8); /* 0x2B03C51B: lea edx, [ebp - 8] */ 4345 PUSH32(esp, edx); /* 0x2B03C51E: push edx */ 4346 ecx = ebx; /* 0x2B03C51F: mov ecx, ebx */ 4347 RECOMP_ICALL(0x2B03CBC0u); /* 0x2B03C521: call 0x2b03cbc0 */ /* not lifted */ 4348 RECOMP_FLAGS_IN(); 4349 eax = MEM32(eax); /* 0x2B03C526: mov eax, dword ptr [eax] */ 4350 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B03C528: mov byte ptr [ebp - 0xc], 1 */ 4351 ecx = eax; /* 0x2B03C52C: mov ecx, eax */ 4352 eax = MEM32(ebp + (-0xC)); /* 0x2B03C52E: mov eax, dword ptr [ebp - 0xc] */ 4353 goto L_2B03C595; /* 0x2B03C531: jmp 0x2b03c595 */ 4354 L_2B03C533: 4355 /* test LO8(eax), LO8(eax) */ /* 0x2B03C533: test al, al */ 4356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4357 _cf = 0; 4358 _flag_k = FK_NARROW(FK_TEST, 24); 4359 ecx = edi; /* 0x2B03C535: mov ecx, edi */ 4360 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03C537: mov dword ptr [ebp - 4], ecx */ 4361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C569; /* 0x2B03C53A: je 0x2b03c569 */ 4362 L_2B03C53C: 4363 /* cmp edi, MEM32(edx) */ /* 0x2B03C53C: cmp edi, dword ptr [edx] */ 4364 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx)); 4365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4366 _flag_k = FK_CMP; 4367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C55E; /* 0x2B03C53E: jne 0x2b03c55e */ 4368 L_2B03C540: 4369 eax = MEM32(ebp + 0xC); /* 0x2B03C540: mov eax, dword ptr [ebp + 0xc] */ 4370 PUSH32(esp, eax); /* 0x2B03C543: push eax */ 4371 PUSH32(esp, edi); /* 0x2B03C544: push edi */ 4372 PUSH32(esp, esi); /* 0x2B03C545: push esi */ 4373 ecx = ebp + (-0xC); /* 0x2B03C546: lea ecx, [ebp - 0xc] */ 4374 PUSH32(esp, ecx); /* 0x2B03C549: push ecx */ 4375 ecx = ebx; /* 0x2B03C54A: mov ecx, ebx */ 4376 RECOMP_ICALL(0x2B03CBC0u); /* 0x2B03C54C: call 0x2b03cbc0 */ /* not lifted */ 4377 RECOMP_FLAGS_IN(); 4378 eax = MEM32(eax); /* 0x2B03C551: mov eax, dword ptr [eax] */ 4379 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B03C553: mov byte ptr [ebp - 0xc], 1 */ 4380 ecx = eax; /* 0x2B03C557: mov ecx, eax */ 4381 eax = MEM32(ebp + (-0xC)); /* 0x2B03C559: mov eax, dword ptr [ebp - 0xc] */ 4382 goto L_2B03C595; /* 0x2B03C55C: jmp 0x2b03c595 */ 4383 L_2B03C55E: 4384 ecx = ebp + (-0x4); /* 0x2B03C55E: lea ecx, [ebp - 4] */ 4385 RECOMP_ICALL(0x2B014CB0u); /* 0x2B03C561: call 0x2b014cb0 */ /* not lifted */ 4386 RECOMP_FLAGS_IN(); 4387 ecx = MEM32(ebp + (-0x4)); /* 0x2B03C566: mov ecx, dword ptr [ebp - 4] */ 4388 L_2B03C569: 4389 edx = MEM32(ecx + 0xC); /* 0x2B03C569: mov edx, dword ptr [ecx + 0xc] */ 4390 eax = MEM32(ebp + 0xC); /* 0x2B03C56C: mov eax, dword ptr [ebp + 0xc] */ 4391 /* cmp edx, MEM32(eax) */ /* 0x2B03C56F: cmp edx, dword ptr [eax] */ 4392 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 4393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4394 _flag_k = FK_CMP; 4395 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03C58E; /* 0x2B03C571: jge 0x2b03c58e */ 4396 L_2B03C573: 4397 PUSH32(esp, eax); /* 0x2B03C573: push eax */ 4398 PUSH32(esp, edi); /* 0x2B03C574: push edi */ 4399 PUSH32(esp, esi); /* 0x2B03C575: push esi */ 4400 eax = ebp + 0xC; /* 0x2B03C576: lea eax, [ebp + 0xc] */ 4401 PUSH32(esp, eax); /* 0x2B03C579: push eax */ 4402 ecx = ebx; /* 0x2B03C57A: mov ecx, ebx */ 4403 RECOMP_ICALL(0x2B03CBC0u); /* 0x2B03C57C: call 0x2b03cbc0 */ /* not lifted */ 4404 RECOMP_FLAGS_IN(); 4405 eax = MEM32(eax); /* 0x2B03C581: mov eax, dword ptr [eax] */ 4406 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B03C583: mov byte ptr [ebp - 0xc], 1 */ 4407 ecx = eax; /* 0x2B03C587: mov ecx, eax */ 4408 eax = MEM32(ebp + (-0xC)); /* 0x2B03C589: mov eax, dword ptr [ebp - 0xc] */ 4409 goto L_2B03C595; /* 0x2B03C58C: jmp 0x2b03c595 */ 4410 L_2B03C58E: 4411 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2B03C58E: mov byte ptr [ebp - 0xc], 0 */ 4412 eax = MEM32(ebp + (-0xC)); /* 0x2B03C592: mov eax, dword ptr [ebp - 0xc] */ 4413 L_2B03C595: 4414 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2B03C595: mov byte ptr [ebp - 0xc], al */ 4415 eax = MEM32(ebp + 0x8); /* 0x2B03C598: mov eax, dword ptr [ebp + 8] */ 4416 edi = POP32_VAL(esp); /* 0x2B03C59B: pop edi */ 4417 MEM32(eax) = ecx; /* 0x2B03C59C: mov dword ptr [eax], ecx */ 4418 ecx = MEM32(ebp + (-0xC)); /* 0x2B03C59E: mov ecx, dword ptr [ebp - 0xc] */ 4419 esi = POP32_VAL(esp); /* 0x2B03C5A1: pop esi */ 4420 MEM32(eax + 0x4) = ecx; /* 0x2B03C5A2: mov dword ptr [eax + 4], ecx */ 4421 ebx = POP32_VAL(esp); /* 0x2B03C5A5: pop ebx */ 4422 esp = ebp; /* 0x2B03C5A6: mov esp, ebp */ 4423 ebp = POP32_VAL(esp); /* 0x2B03C5A8: pop ebp */ 4424 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03C5A9: ret 8 */ 4425 RECOMP_REGS_OUT(); 4426 } 4427 4428 void sub_2B03C5B0(void) { 4429 int _fpu_cmp = 0; 4430 uint32_t _cf = 0; 4431 int _df = 1; 4432 uint32_t _flag_k = FK_NONE; 4433 uint32_t _flag_a = 0, _flag_b = 0; 4434 uint32_t _itail_tgt = 0; 4435 RECOMP_REGS_LOCALS 4436 RECOMP_ENTER(0x2B03C5B0u); 4437 4438 L_2B03C5B0: 4439 eax = MEM32(ecx); /* 0x2B03C5B0: mov eax, dword ptr [ecx] */ 4440 edx = MEM32(eax + 0x8); /* 0x2B03C5B2: mov edx, dword ptr [eax + 8] */ 4441 PUSH32(esp, ebx); /* 0x2B03C5B5: push ebx */ 4442 SET_LO8(ebx, MEM8(edx + 0x2D)); /* 0x2B03C5B6: mov bl, byte ptr [edx + 0x2d] */ 4443 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03C5B9: test bl, bl */ 4444 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4445 _cf = 0; 4446 _flag_k = FK_NARROW(FK_TEST, 24); 4447 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C5D5; /* 0x2B03C5BB: jne 0x2b03c5d5 */ 4448 L_2B03C5BD: 4449 eax = MEM32(edx); /* 0x2B03C5BD: mov eax, dword ptr [edx] */ 4450 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x2B03C5BF: mov bl, byte ptr [eax + 0x2d] */ 4451 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03C5C2: test bl, bl */ 4452 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4453 _cf = 0; 4454 _flag_k = FK_NARROW(FK_TEST, 24); 4455 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C5D1; /* 0x2B03C5C4: jne 0x2b03c5d1 */ 4456 L_2B03C5C6: 4457 edx = eax; /* 0x2B03C5C6: mov edx, eax */ 4458 eax = MEM32(edx); /* 0x2B03C5C8: mov eax, dword ptr [edx] */ 4459 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x2B03C5CA: mov bl, byte ptr [eax + 0x2d] */ 4460 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03C5CD: test bl, bl */ 4461 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4462 _cf = 0; 4463 _flag_k = FK_NARROW(FK_TEST, 24); 4464 RECOMP_BACKEDGE(); 4465 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C5C6; /* 0x2B03C5CF: je 0x2b03c5c6 */ 4466 L_2B03C5D1: 4467 MEM32(ecx) = edx; /* 0x2B03C5D1: mov dword ptr [ecx], edx */ 4468 ebx = POP32_VAL(esp); /* 0x2B03C5D3: pop ebx */ 4469 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C5D4: ret */ 4470 L_2B03C5D5: 4471 eax = MEM32(eax + 0x4); /* 0x2B03C5D5: mov eax, dword ptr [eax + 4] */ 4472 edx = MEM32(ecx); /* 0x2B03C5D8: mov edx, dword ptr [ecx] */ 4473 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B03C5DA: cmp edx, dword ptr [eax + 8] */ 4474 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4476 _flag_k = FK_CMP; 4477 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C5EB; /* 0x2B03C5DD: jne 0x2b03c5eb */ 4478 L_2B03C5DF: 4479 MEM32(ecx) = eax; /* 0x2B03C5DF: mov dword ptr [ecx], eax */ 4480 eax = MEM32(eax + 0x4); /* 0x2B03C5E1: mov eax, dword ptr [eax + 4] */ 4481 edx = MEM32(ecx); /* 0x2B03C5E4: mov edx, dword ptr [ecx] */ 4482 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B03C5E6: cmp edx, dword ptr [eax + 8] */ 4483 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 4484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4485 _flag_k = FK_CMP; 4486 RECOMP_BACKEDGE(); 4487 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C5DF; /* 0x2B03C5E9: je 0x2b03c5df */ 4488 L_2B03C5EB: 4489 edx = MEM32(ecx); /* 0x2B03C5EB: mov edx, dword ptr [ecx] */ 4490 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B03C5ED: cmp dword ptr [edx + 8], eax */ 4491 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 4492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4493 _flag_k = FK_CMP; 4494 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C5F4; /* 0x2B03C5F0: je 0x2b03c5f4 */ 4495 L_2B03C5F2: 4496 MEM32(ecx) = eax; /* 0x2B03C5F2: mov dword ptr [ecx], eax */ 4497 L_2B03C5F4: 4498 ebx = POP32_VAL(esp); /* 0x2B03C5F4: pop ebx */ 4499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C5F5: ret */ 4500 RECOMP_REGS_OUT(); 4501 } 4502 4503 void sub_2B03C600(void) { 4504 int _fpu_cmp = 0; 4505 uint32_t _cf = 0; 4506 int _df = 1; 4507 uint32_t _flag_k = FK_NONE; 4508 uint32_t _flag_a = 0, _flag_b = 0; 4509 uint32_t _itail_tgt = 0; 4510 RECOMP_REGS_LOCALS 4511 RECOMP_ENTER(0x2B03C600u); 4512 4513 L_2B03C600: 4514 PUSH32(esp, ebp); /* 0x2B03C600: push ebp */ 4515 ebp = esp; /* 0x2B03C601: mov ebp, esp */ 4516 PUSH32(esp, ecx); /* 0x2B03C603: push ecx */ 4517 eax = ecx; /* 0x2B03C604: mov eax, ecx */ 4518 PUSH32(esp, ebx); /* 0x2B03C606: push ebx */ 4519 PUSH32(esp, esi); /* 0x2B03C607: push esi */ 4520 esi = MEM32(ebp + 0x8); /* 0x2B03C608: mov esi, dword ptr [ebp + 8] */ 4521 SET_LO8(ecx, MEM8(esi)); /* 0x2B03C60B: mov cl, byte ptr [esi] */ 4522 MEM8(eax) = (uint8_t)(LO8(ecx)); /* 0x2B03C60D: mov byte ptr [eax], cl */ 4523 edx = MEM32(esi + 0x4); /* 0x2B03C60F: mov edx, dword ptr [esi + 4] */ 4524 MEM32(eax + 0x4) = edx; /* 0x2B03C612: mov dword ptr [eax + 4], edx */ 4525 ecx = MEM32(esi + 0x8); /* 0x2B03C615: mov ecx, dword ptr [esi + 8] */ 4526 MEM32(eax + 0x8) = ecx; /* 0x2B03C618: mov dword ptr [eax + 8], ecx */ 4527 SET_LO8(edx, MEM8(esi + 0xC)); /* 0x2B03C61B: mov dl, byte ptr [esi + 0xc] */ 4528 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4529 ecx = 0; /* 0x2B03C61E: xor ecx, ecx */ 4530 _cf = 0; 4531 _flag_k = FK_TEST; 4532 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 4533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4534 esi = esi + 0xCu; /* 0x2B03C620: add esi, 0xc */ 4535 _flag_k = FK_ADD; 4536 ebx = eax + 0xC; /* 0x2B03C623: lea ebx, [eax + 0xc] */ 4537 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B03C626: mov byte ptr [ebx], dl */ 4538 MEM32(ebx + 0x4) = ecx; /* 0x2B03C628: mov dword ptr [ebx + 4], ecx */ 4539 MEM32(ebx + 0x8) = ecx; /* 0x2B03C62B: mov dword ptr [ebx + 8], ecx */ 4540 MEM32(ebx + 0xC) = ecx; /* 0x2B03C62E: mov dword ptr [ebx + 0xc], ecx */ 4541 ecx = MEM32(0x2B0B515C); /* 0x2B03C631: mov ecx, dword ptr [0x2b0b515c] */ 4542 edx = MEM32(esi + 0x8); /* 0x2B03C637: mov edx, dword ptr [esi + 8] */ 4543 ecx = MEM32(ecx); /* 0x2B03C63A: mov ecx, dword ptr [ecx] */ 4544 PUSH32(esp, edi); /* 0x2B03C63C: push edi */ 4545 edi = edx; /* 0x2B03C63D: mov edi, edx */ 4546 /* cmp ecx, edi */ /* 0x2B03C63F: cmp ecx, edi */ 4547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4549 _flag_k = FK_CMP; 4550 MEM32(ebp + (-0x4)) = eax; /* 0x2B03C641: mov dword ptr [ebp - 4], eax */ 4551 MEM32(ebp + 0x8) = edi; /* 0x2B03C644: mov dword ptr [ebp + 8], edi */ 4552 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03C64E; /* 0x2B03C647: jae 0x2b03c64e */ 4553 L_2B03C649: 4554 MEM32(ebp + 0x8) = ecx; /* 0x2B03C649: mov dword ptr [ebp + 8], ecx */ 4555 edi = ecx; /* 0x2B03C64C: mov edi, ecx */ 4556 L_2B03C64E: 4557 /* cmp ebx, esi */ /* 0x2B03C64E: cmp ebx, esi */ 4558 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 4559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4560 _flag_k = FK_CMP; 4561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C6C5; /* 0x2B03C650: jne 0x2b03c6c5 */ 4562 L_2B03C652: 4563 /* test edi, edi */ /* 0x2B03C652: test edi, edi */ 4564 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4565 _cf = 0; 4566 _flag_k = FK_TEST; 4567 esi = ecx; /* 0x2B03C654: mov esi, ecx */ 4568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C661; /* 0x2B03C656: jbe 0x2b03c661 */ 4569 L_2B03C658: 4570 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B03C658: call dword ptr [0x2b0b519c] */ 4571 RECOMP_FLAGS_IN(); 4572 eax = MEM32(ebp + (-0x4)); /* 0x2B03C65E: mov eax, dword ptr [ebp - 4] */ 4573 L_2B03C661: 4574 ecx = MEM32(ebx + 0x8); /* 0x2B03C661: mov ecx, dword ptr [ebx + 8] */ 4575 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4577 ecx = ecx - edi; /* 0x2B03C664: sub ecx, edi */ 4578 _flag_k = FK_CMP; 4579 /* cmp ecx, esi */ /* 0x2B03C666: cmp ecx, esi */ 4580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 4581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4582 _flag_k = FK_CMP; 4583 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03C66C; /* 0x2B03C668: jae 0x2b03c66c */ 4584 L_2B03C66A: 4585 esi = ecx; /* 0x2B03C66A: mov esi, ecx */ 4586 L_2B03C66C: 4587 /* test esi, esi */ /* 0x2B03C66C: test esi, esi */ 4588 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4589 _cf = 0; 4590 _flag_k = FK_TEST; 4591 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C757; /* 0x2B03C66E: jbe 0x2b03c757 */ 4592 L_2B03C674: 4593 ecx = ebx; /* 0x2B03C674: mov ecx, ebx */ 4594 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B03C676: call dword ptr [0x2b0b516c] */ 4595 RECOMP_FLAGS_IN(); 4596 ecx = MEM32(ebx + 0x8); /* 0x2B03C67C: mov ecx, dword ptr [ebx + 8] */ 4597 edx = MEM32(ebx + 0x4); /* 0x2B03C67F: mov edx, dword ptr [ebx + 4] */ 4598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 4599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4600 ecx = ecx - esi; /* 0x2B03C682: sub ecx, esi */ 4601 _flag_k = FK_CMP; 4602 eax = edx + edi; /* 0x2B03C684: lea eax, [edx + edi] */ 4603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4605 ecx = ecx - edi; /* 0x2B03C687: sub ecx, edi */ 4606 _flag_k = FK_CMP; 4607 PUSH32(esp, ecx); /* 0x2B03C689: push ecx */ 4608 edx = eax + esi; /* 0x2B03C68A: lea edx, [eax + esi] */ 4609 PUSH32(esp, edx); /* 0x2B03C68D: push edx */ 4610 PUSH32(esp, eax); /* 0x2B03C68E: push eax */ 4611 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B03C68F: call dword ptr [0x2b0b51d4] */ 4612 RECOMP_FLAGS_IN(); 4613 edi = MEM32(ebx + 0x8); /* 0x2B03C695: mov edi, dword ptr [ebx + 8] */ 4614 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4616 esp = esp + 0xCu; /* 0x2B03C698: add esp, 0xc */ 4617 _flag_k = FK_ADD; 4618 PUSH32(esp, 0); /* 0x2B03C69B: push 0 */ 4619 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4621 edi = edi - esi; /* 0x2B03C69D: sub edi, esi */ 4622 _flag_k = FK_CMP; 4623 PUSH32(esp, edi); /* 0x2B03C69F: push edi */ 4624 ecx = ebx; /* 0x2B03C6A0: mov ecx, ebx */ 4625 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B03C6A2: call dword ptr [0x2b0b5154] */ 4626 RECOMP_FLAGS_IN(); 4627 /* test LO8(eax), LO8(eax) */ /* 0x2B03C6A8: test al, al */ 4628 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4629 _cf = 0; 4630 _flag_k = FK_NARROW(FK_TEST, 24); 4631 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C754; /* 0x2B03C6AA: je 0x2b03c754 */ 4632 L_2B03C6B0: 4633 PUSH32(esp, edi); /* 0x2B03C6B0: push edi */ 4634 ecx = ebx; /* 0x2B03C6B1: mov ecx, ebx */ 4635 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B03C6B3: call dword ptr [0x2b0b5150] */ 4636 RECOMP_FLAGS_IN(); 4637 eax = MEM32(ebp + (-0x4)); /* 0x2B03C6B9: mov eax, dword ptr [ebp - 4] */ 4638 edi = POP32_VAL(esp); /* 0x2B03C6BC: pop edi */ 4639 esi = POP32_VAL(esp); /* 0x2B03C6BD: pop esi */ 4640 ebx = POP32_VAL(esp); /* 0x2B03C6BE: pop ebx */ 4641 esp = ebp; /* 0x2B03C6BF: mov esp, ebp */ 4642 ebp = POP32_VAL(esp); /* 0x2B03C6C1: pop ebp */ 4643 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03C6C2: ret 4 */ 4644 L_2B03C6C5: 4645 /* test edi, edi */ /* 0x2B03C6C5: test edi, edi */ 4646 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4647 _cf = 0; 4648 _flag_k = FK_TEST; 4649 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C718; /* 0x2B03C6C7: jbe 0x2b03c718 */ 4650 L_2B03C6C9: 4651 /* cmp edi, edx */ /* 0x2B03C6C9: cmp edi, edx */ 4652 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4654 _flag_k = FK_CMP; 4655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C718; /* 0x2B03C6CB: jne 0x2b03c718 */ 4656 L_2B03C6CD: 4657 eax = MEM32(esi + 0x4); /* 0x2B03C6CD: mov eax, dword ptr [esi + 4] */ 4658 /* test eax, eax */ /* 0x2B03C6D0: test eax, eax */ 4659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4660 _cf = 0; 4661 _flag_k = FK_TEST; 4662 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C6D9; /* 0x2B03C6D2: jne 0x2b03c6d9 */ 4663 L_2B03C6D4: 4664 eax = MEM32(0x2B0B513C); /* 0x2B03C6D4: mov eax, dword ptr [0x2b0b513c] */ 4665 L_2B03C6D9: 4666 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B03C6D9: cmp byte ptr [eax - 1], 0xfe */ 4667 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 4668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4669 _flag_k = FK_NARROW(FK_CMP, 24); 4670 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03C718; /* 0x2B03C6DD: jae 0x2b03c718 */ 4671 L_2B03C6DF: 4672 PUSH32(esp, 1); /* 0x2B03C6DF: push 1 */ 4673 ecx = ebx; /* 0x2B03C6E1: mov ecx, ebx */ 4674 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03C6E3: call dword ptr [0x2b0b514c] */ 4675 RECOMP_FLAGS_IN(); 4676 eax = MEM32(esi + 0x4); /* 0x2B03C6E9: mov eax, dword ptr [esi + 4] */ 4677 /* test eax, eax */ /* 0x2B03C6EC: test eax, eax */ 4678 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4679 _cf = 0; 4680 _flag_k = FK_TEST; 4681 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C6F5; /* 0x2B03C6EE: jne 0x2b03c6f5 */ 4682 L_2B03C6F0: 4683 eax = MEM32(0x2B0B513C); /* 0x2B03C6F0: mov eax, dword ptr [0x2b0b513c] */ 4684 L_2B03C6F5: 4685 MEM32(ebx + 0x4) = eax; /* 0x2B03C6F5: mov dword ptr [ebx + 4], eax */ 4686 ecx = MEM32(esi + 0x8); /* 0x2B03C6F8: mov ecx, dword ptr [esi + 8] */ 4687 MEM32(ebx + 0x8) = ecx; /* 0x2B03C6FB: mov dword ptr [ebx + 8], ecx */ 4688 edx = MEM32(esi + 0xC); /* 0x2B03C6FE: mov edx, dword ptr [esi + 0xc] */ 4689 MEM32(ebx + 0xC) = edx; /* 0x2B03C701: mov dword ptr [ebx + 0xc], edx */ 4690 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B03C704: mov cl, byte ptr [eax - 1] */ 4691 edi = POP32_VAL(esp); /* 0x2B03C707: pop edi */ 4692 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 4693 SET_LO8(ecx, LO8(ecx) + 1); /* 0x2B03C708: inc cl */ 4694 _flag_k = FK_NARROW(FK_INC, 24); 4695 esi = POP32_VAL(esp); /* 0x2B03C70A: pop esi */ 4696 MEM8(eax + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B03C70B: mov byte ptr [eax - 1], cl */ 4697 eax = MEM32(ebp + (-0x4)); /* 0x2B03C70E: mov eax, dword ptr [ebp - 4] */ 4698 ebx = POP32_VAL(esp); /* 0x2B03C711: pop ebx */ 4699 esp = ebp; /* 0x2B03C712: mov esp, ebp */ 4700 ebp = POP32_VAL(esp); /* 0x2B03C714: pop ebp */ 4701 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03C715: ret 4 */ 4702 L_2B03C718: 4703 PUSH32(esp, 1); /* 0x2B03C718: push 1 */ 4704 PUSH32(esp, edi); /* 0x2B03C71A: push edi */ 4705 ecx = ebx; /* 0x2B03C71B: mov ecx, ebx */ 4706 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B03C71D: call dword ptr [0x2b0b5154] */ 4707 RECOMP_FLAGS_IN(); 4708 /* test LO8(eax), LO8(eax) */ /* 0x2B03C723: test al, al */ 4709 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4710 _cf = 0; 4711 _flag_k = FK_NARROW(FK_TEST, 24); 4712 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C754; /* 0x2B03C725: je 0x2b03c754 */ 4713 L_2B03C727: 4714 esi = MEM32(esi + 0x4); /* 0x2B03C727: mov esi, dword ptr [esi + 4] */ 4715 /* test esi, esi */ /* 0x2B03C72A: test esi, esi */ 4716 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4717 _cf = 0; 4718 _flag_k = FK_TEST; 4719 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C734; /* 0x2B03C72C: jne 0x2b03c734 */ 4720 L_2B03C72E: 4721 esi = MEM32(0x2B0B513C); /* 0x2B03C72E: mov esi, dword ptr [0x2b0b513c] */ 4722 L_2B03C734: 4723 ecx = edi; /* 0x2B03C734: mov ecx, edi */ 4724 edi = MEM32(ebx + 0x4); /* 0x2B03C736: mov edi, dword ptr [ebx + 4] */ 4725 eax = ecx; /* 0x2B03C739: mov eax, ecx */ 4726 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B03C73B: shr ecx, 2 */ 4727 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4728 ecx = ecx >> 2u; /* 0x2B03C73B: shr ecx, 2 */ 4729 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03C73E: 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; } 4730 ecx = eax; /* 0x2B03C740: mov ecx, eax */ 4731 eax = MEM32(ebp + 0x8); /* 0x2B03C742: mov eax, dword ptr [ebp + 8] */ 4732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4733 ecx = ecx & 3; /* 0x2B03C745: and ecx, 3 */ 4734 _cf = 0; 4735 _flag_k = FK_TEST; 4736 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B03C748: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4737 ecx = MEM32(ebx + 0x4); /* 0x2B03C74A: mov ecx, dword ptr [ebx + 4] */ 4738 MEM32(ebx + 0x8) = eax; /* 0x2B03C74D: mov dword ptr [ebx + 8], eax */ 4739 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B03C750: mov byte ptr [ecx + eax], 0 */ 4740 L_2B03C754: 4741 eax = MEM32(ebp + (-0x4)); /* 0x2B03C754: mov eax, dword ptr [ebp - 4] */ 4742 L_2B03C757: 4743 edi = POP32_VAL(esp); /* 0x2B03C757: pop edi */ 4744 esi = POP32_VAL(esp); /* 0x2B03C758: pop esi */ 4745 ebx = POP32_VAL(esp); /* 0x2B03C759: pop ebx */ 4746 esp = ebp; /* 0x2B03C75A: mov esp, ebp */ 4747 ebp = POP32_VAL(esp); /* 0x2B03C75C: pop ebp */ 4748 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03C75D: ret 4 */ 4749 RECOMP_REGS_OUT(); 4750 } 4751 4752 void sub_2B03C760(void) { 4753 int _fpu_cmp = 0; 4754 uint32_t _cf = 0; 4755 int _df = 1; 4756 uint32_t _flag_k = FK_NONE; 4757 uint32_t _flag_a = 0, _flag_b = 0; 4758 uint32_t _itail_tgt = 0; 4759 RECOMP_REGS_LOCALS 4760 RECOMP_ENTER(0x2B03C760u); 4761 4762 L_2B03C760: 4763 PUSH32(esp, ebp); /* 0x2B03C760: push ebp */ 4764 ebp = esp; /* 0x2B03C761: mov ebp, esp */ 4765 PUSH32(esp, ecx); /* 0x2B03C763: push ecx */ 4766 PUSH32(esp, ebx); /* 0x2B03C764: push ebx */ 4767 PUSH32(esp, esi); /* 0x2B03C765: push esi */ 4768 esi = MEM32(ebp + 0xC); /* 0x2B03C766: mov esi, dword ptr [ebp + 0xc] */ 4769 PUSH32(esp, edi); /* 0x2B03C769: push edi */ 4770 edi = ecx; /* 0x2B03C76A: mov edi, ecx */ 4771 ecx = ebp + 0xC; /* 0x2B03C76C: lea ecx, [ebp + 0xc] */ 4772 RECOMP_ICALL(0x2B03C5B0u); /* 0x2B03C76F: call 0x2b03c5b0 */ /* not lifted */ 4773 RECOMP_FLAGS_IN(); 4774 edx = MEM32(esi); /* 0x2B03C774: mov edx, dword ptr [esi] */ 4775 eax = MEM32(edi + 0x8); /* 0x2B03C776: mov eax, dword ptr [edi + 8] */ 4776 /* cmp edx, eax */ /* 0x2B03C779: cmp edx, eax */ 4777 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4779 _flag_k = FK_CMP; 4780 MEM32(ebp + (-0x4)) = esi; /* 0x2B03C77B: mov dword ptr [ebp - 4], esi */ 4781 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C7A0; /* 0x2B03C77E: jne 0x2b03c7a0 */ 4782 L_2B03C780: 4783 eax = MEM32(esi + 0x8); /* 0x2B03C780: mov eax, dword ptr [esi + 8] */ 4784 L_2B03C783: 4785 ecx = MEM32(ebp + (-0x4)); /* 0x2B03C783: mov ecx, dword ptr [ebp - 4] */ 4786 edx = MEM32(ecx + 0x4); /* 0x2B03C786: mov edx, dword ptr [ecx + 4] */ 4787 MEM32(eax + 0x4) = edx; /* 0x2B03C789: mov dword ptr [eax + 4], edx */ 4788 ecx = MEM32(edi + 0x4); /* 0x2B03C78C: mov ecx, dword ptr [edi + 4] */ 4789 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B03C78F: cmp dword ptr [ecx + 4], esi */ 4790 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 4791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4792 _flag_k = FK_CMP; 4793 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C823; /* 0x2B03C792: jne 0x2b03c823 */ 4794 L_2B03C798: 4795 MEM32(ecx + 0x4) = eax; /* 0x2B03C798: mov dword ptr [ecx + 4], eax */ 4796 goto L_2B03C831; /* 0x2B03C79B: jmp 0x2b03c831 */ 4797 L_2B03C7A0: 4798 ecx = MEM32(esi + 0x8); /* 0x2B03C7A0: mov ecx, dword ptr [esi + 8] */ 4799 /* cmp ecx, eax */ /* 0x2B03C7A3: cmp ecx, eax */ 4800 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4802 _flag_k = FK_CMP; 4803 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C7AB; /* 0x2B03C7A5: jne 0x2b03c7ab */ 4804 L_2B03C7A7: 4805 eax = edx; /* 0x2B03C7A7: mov eax, edx */ 4806 RECOMP_BACKEDGE(); 4807 goto L_2B03C783; /* 0x2B03C7A9: jmp 0x2b03c783 */ 4808 L_2B03C7AB: 4809 eax = MEM32(ecx); /* 0x2B03C7AB: mov eax, dword ptr [ecx] */ 4810 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x2B03C7AD: mov bl, byte ptr [eax + 0x2d] */ 4811 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03C7B0: test bl, bl */ 4812 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4813 _cf = 0; 4814 _flag_k = FK_NARROW(FK_TEST, 24); 4815 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C7BF; /* 0x2B03C7B2: jne 0x2b03c7bf */ 4816 L_2B03C7B4: 4817 ecx = eax; /* 0x2B03C7B4: mov ecx, eax */ 4818 eax = MEM32(ecx); /* 0x2B03C7B6: mov eax, dword ptr [ecx] */ 4819 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x2B03C7B8: mov bl, byte ptr [eax + 0x2d] */ 4820 /* test LO8(ebx), LO8(ebx) */ /* 0x2B03C7BB: test bl, bl */ 4821 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4822 _cf = 0; 4823 _flag_k = FK_NARROW(FK_TEST, 24); 4824 RECOMP_BACKEDGE(); 4825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C7B4; /* 0x2B03C7BD: je 0x2b03c7b4 */ 4826 L_2B03C7BF: 4827 /* cmp ecx, esi */ /* 0x2B03C7BF: cmp ecx, esi */ 4828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 4829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4830 _flag_k = FK_CMP; 4831 eax = MEM32(ecx + 0x8); /* 0x2B03C7C1: mov eax, dword ptr [ecx + 8] */ 4832 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03C7C4: mov dword ptr [ebp - 4], ecx */ 4833 RECOMP_BACKEDGE(); 4834 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C783; /* 0x2B03C7C7: je 0x2b03c783 */ 4835 L_2B03C7C9: 4836 MEM32(edx + 0x4) = ecx; /* 0x2B03C7C9: mov dword ptr [edx + 4], ecx */ 4837 edx = MEM32(esi); /* 0x2B03C7CC: mov edx, dword ptr [esi] */ 4838 MEM32(ecx) = edx; /* 0x2B03C7CE: mov dword ptr [ecx], edx */ 4839 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C7D0: cmp ecx, dword ptr [esi + 8] */ 4840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4842 _flag_k = FK_CMP; 4843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C7DA; /* 0x2B03C7D3: jne 0x2b03c7da */ 4844 L_2B03C7D5: 4845 MEM32(eax + 0x4) = ecx; /* 0x2B03C7D5: mov dword ptr [eax + 4], ecx */ 4846 goto L_2B03C7F1; /* 0x2B03C7D8: jmp 0x2b03c7f1 */ 4847 L_2B03C7DA: 4848 edx = MEM32(ecx + 0x4); /* 0x2B03C7DA: mov edx, dword ptr [ecx + 4] */ 4849 MEM32(eax + 0x4) = edx; /* 0x2B03C7DD: mov dword ptr [eax + 4], edx */ 4850 edx = MEM32(ecx + 0x4); /* 0x2B03C7E0: mov edx, dword ptr [ecx + 4] */ 4851 MEM32(edx) = eax; /* 0x2B03C7E3: mov dword ptr [edx], eax */ 4852 edx = MEM32(esi + 0x8); /* 0x2B03C7E5: mov edx, dword ptr [esi + 8] */ 4853 MEM32(ecx + 0x8) = edx; /* 0x2B03C7E8: mov dword ptr [ecx + 8], edx */ 4854 edx = MEM32(esi + 0x8); /* 0x2B03C7EB: mov edx, dword ptr [esi + 8] */ 4855 MEM32(edx + 0x4) = ecx; /* 0x2B03C7EE: mov dword ptr [edx + 4], ecx */ 4856 L_2B03C7F1: 4857 edx = MEM32(edi + 0x4); /* 0x2B03C7F1: mov edx, dword ptr [edi + 4] */ 4858 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B03C7F4: cmp dword ptr [edx + 4], esi */ 4859 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 4860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4861 _flag_k = FK_CMP; 4862 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C7FE; /* 0x2B03C7F7: jne 0x2b03c7fe */ 4863 L_2B03C7F9: 4864 MEM32(edx + 0x4) = ecx; /* 0x2B03C7F9: mov dword ptr [edx + 4], ecx */ 4865 goto L_2B03C80C; /* 0x2B03C7FC: jmp 0x2b03c80c */ 4866 L_2B03C7FE: 4867 edx = MEM32(esi + 0x4); /* 0x2B03C7FE: mov edx, dword ptr [esi + 4] */ 4868 /* cmp MEM32(edx), esi */ /* 0x2B03C801: cmp dword ptr [edx], esi */ 4869 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 4870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4871 _flag_k = FK_CMP; 4872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C809; /* 0x2B03C803: jne 0x2b03c809 */ 4873 L_2B03C805: 4874 MEM32(edx) = ecx; /* 0x2B03C805: mov dword ptr [edx], ecx */ 4875 goto L_2B03C80C; /* 0x2B03C807: jmp 0x2b03c80c */ 4876 L_2B03C809: 4877 MEM32(edx + 0x8) = ecx; /* 0x2B03C809: mov dword ptr [edx + 8], ecx */ 4878 L_2B03C80C: 4879 edx = MEM32(esi + 0x4); /* 0x2B03C80C: mov edx, dword ptr [esi + 4] */ 4880 MEM32(ecx + 0x4) = edx; /* 0x2B03C80F: mov dword ptr [ecx + 4], edx */ 4881 SET_LO8(ebx, MEM8(esi + 0x2C)); /* 0x2B03C812: mov bl, byte ptr [esi + 0x2c] */ 4882 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C815: mov dl, byte ptr [ecx + 0x2c] */ 4883 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C818: mov byte ptr [ecx + 0x2c], bl */ 4884 MEM8(esi + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C81B: mov byte ptr [esi + 0x2c], dl */ 4885 MEM32(ebp + (-0x4)) = esi; /* 0x2B03C81E: mov dword ptr [ebp - 4], esi */ 4886 goto L_2B03C888; /* 0x2B03C821: jmp 0x2b03c888 */ 4887 L_2B03C823: 4888 ecx = MEM32(esi + 0x4); /* 0x2B03C823: mov ecx, dword ptr [esi + 4] */ 4889 /* cmp MEM32(ecx), esi */ /* 0x2B03C826: cmp dword ptr [ecx], esi */ 4890 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 4891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4892 _flag_k = FK_CMP; 4893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C82E; /* 0x2B03C828: jne 0x2b03c82e */ 4894 L_2B03C82A: 4895 MEM32(ecx) = eax; /* 0x2B03C82A: mov dword ptr [ecx], eax */ 4896 goto L_2B03C831; /* 0x2B03C82C: jmp 0x2b03c831 */ 4897 L_2B03C82E: 4898 MEM32(ecx + 0x8) = eax; /* 0x2B03C82E: mov dword ptr [ecx + 8], eax */ 4899 L_2B03C831: 4900 ebx = MEM32(edi + 0x4); /* 0x2B03C831: mov ebx, dword ptr [edi + 4] */ 4901 /* cmp MEM32(ebx), esi */ /* 0x2B03C834: cmp dword ptr [ebx], esi */ 4902 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 4903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4904 _flag_k = FK_CMP; 4905 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C85B; /* 0x2B03C836: jne 0x2b03c85b */ 4906 L_2B03C838: 4907 ecx = MEM32(esi + 0x8); /* 0x2B03C838: mov ecx, dword ptr [esi + 8] */ 4908 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03C83B: cmp ecx, dword ptr [edi + 8] */ 4909 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4911 _flag_k = FK_CMP; 4912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C845; /* 0x2B03C83E: jne 0x2b03c845 */ 4913 L_2B03C840: 4914 edx = MEM32(esi + 0x4); /* 0x2B03C840: mov edx, dword ptr [esi + 4] */ 4915 goto L_2B03C859; /* 0x2B03C843: jmp 0x2b03c859 */ 4916 L_2B03C845: 4917 ecx = MEM32(eax); /* 0x2B03C845: mov ecx, dword ptr [eax] */ 4918 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C847: cmp byte ptr [ecx + 0x2d], 0 */ 4919 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 4920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4921 _flag_k = FK_NARROW(FK_CMP, 24); 4922 edx = eax; /* 0x2B03C84B: mov edx, eax */ 4923 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C859; /* 0x2B03C84D: jne 0x2b03c859 */ 4924 L_2B03C84F: 4925 edx = ecx; /* 0x2B03C84F: mov edx, ecx */ 4926 ecx = MEM32(edx); /* 0x2B03C851: mov ecx, dword ptr [edx] */ 4927 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C853: cmp byte ptr [ecx + 0x2d], 0 */ 4928 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 4929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4930 _flag_k = FK_NARROW(FK_CMP, 24); 4931 RECOMP_BACKEDGE(); 4932 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C84F; /* 0x2B03C857: je 0x2b03c84f */ 4933 L_2B03C859: 4934 MEM32(ebx) = edx; /* 0x2B03C859: mov dword ptr [ebx], edx */ 4935 L_2B03C85B: 4936 ebx = MEM32(edi + 0x4); /* 0x2B03C85B: mov ebx, dword ptr [edi + 4] */ 4937 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B03C85E: cmp dword ptr [ebx + 8], esi */ 4938 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 4939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4940 _flag_k = FK_CMP; 4941 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C888; /* 0x2B03C861: jne 0x2b03c888 */ 4942 L_2B03C863: 4943 ecx = MEM32(esi); /* 0x2B03C863: mov ecx, dword ptr [esi] */ 4944 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03C865: cmp ecx, dword ptr [edi + 8] */ 4945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4947 _flag_k = FK_CMP; 4948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C86F; /* 0x2B03C868: jne 0x2b03c86f */ 4949 L_2B03C86A: 4950 edx = MEM32(esi + 0x4); /* 0x2B03C86A: mov edx, dword ptr [esi + 4] */ 4951 goto L_2B03C885; /* 0x2B03C86D: jmp 0x2b03c885 */ 4952 L_2B03C86F: 4953 ecx = MEM32(eax + 0x8); /* 0x2B03C86F: mov ecx, dword ptr [eax + 8] */ 4954 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C872: cmp byte ptr [ecx + 0x2d], 0 */ 4955 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 4956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4957 _flag_k = FK_NARROW(FK_CMP, 24); 4958 edx = eax; /* 0x2B03C876: mov edx, eax */ 4959 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C885; /* 0x2B03C878: jne 0x2b03c885 */ 4960 L_2B03C87A: 4961 edx = ecx; /* 0x2B03C87A: mov edx, ecx */ 4962 ecx = MEM32(edx + 0x8); /* 0x2B03C87C: mov ecx, dword ptr [edx + 8] */ 4963 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C87F: cmp byte ptr [ecx + 0x2d], 0 */ 4964 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 4965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4966 _flag_k = FK_NARROW(FK_CMP, 24); 4967 RECOMP_BACKEDGE(); 4968 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C87A; /* 0x2B03C883: je 0x2b03c87a */ 4969 L_2B03C885: 4970 MEM32(ebx + 0x8) = edx; /* 0x2B03C885: mov dword ptr [ebx + 8], edx */ 4971 L_2B03C888: 4972 esi = MEM32(ebp + (-0x4)); /* 0x2B03C888: mov esi, dword ptr [ebp - 4] */ 4973 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x2B03C88B: mov cl, byte ptr [esi + 0x2c] */ 4974 SET_LO8(ebx, 1); /* 0x2B03C88E: mov bl, 1 */ 4975 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B03C890: cmp cl, bl */ 4976 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4978 _flag_k = FK_NARROW(FK_CMP, 24); 4979 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF8; /* 0x2B03C892: jne 0x2b03caf8 */ 4980 L_2B03C898: 4981 ecx = MEM32(edi + 0x4); /* 0x2B03C898: mov ecx, dword ptr [edi + 4] */ 4982 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C89B: cmp eax, dword ptr [ecx + 4] */ 4983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4985 _flag_k = FK_CMP; 4986 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C89E: je 0x2b03caf2 */ 4987 L_2B03C8A4: 4988 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 4989 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4991 _flag_k = FK_NARROW(FK_CMP, 24); 4992 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 4993 L_2B03C8AD: 4994 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 4995 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 4996 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 4997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4999 _flag_k = FK_CMP; 5000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 5001 L_2B03C8B6: 5002 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 5003 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 5004 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 5005 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5006 _cf = 0; 5007 _flag_k = FK_NARROW(FK_TEST, 24); 5008 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 5009 L_2B03C8C0: 5010 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 5011 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 5012 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 5013 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 5014 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 5015 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 5016 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 5017 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 5018 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 5019 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5021 _flag_k = FK_CMP; 5022 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 5023 L_2B03C8DC: 5024 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 5025 L_2B03C8DF: 5026 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 5027 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 5028 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 5029 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 5030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5032 _flag_k = FK_CMP; 5033 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 5034 L_2B03C8ED: 5035 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 5036 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 5037 L_2B03C8F2: 5038 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 5039 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 5040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5042 _flag_k = FK_CMP; 5043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 5044 L_2B03C8F9: 5045 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 5046 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 5047 L_2B03C8FD: 5048 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 5049 L_2B03C900: 5050 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 5051 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 5052 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 5053 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 5054 L_2B03C90B: 5055 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 5056 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 5057 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5059 _flag_k = FK_NARROW(FK_CMP, 24); 5060 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 5061 L_2B03C916: 5062 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 5063 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 5064 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5066 _flag_k = FK_NARROW(FK_CMP, 24); 5067 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 5068 L_2B03C922: 5069 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 5070 L_2B03C924: 5071 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 5072 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 5073 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5074 _cf = 0; 5075 _flag_k = FK_NARROW(FK_TEST, 24); 5076 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 5077 L_2B03C92B: 5078 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 5079 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 5080 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 5081 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 5082 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 5083 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 5084 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 5085 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 5086 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 5087 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5089 _flag_k = FK_CMP; 5090 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 5091 L_2B03C947: 5092 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 5093 L_2B03C94A: 5094 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 5095 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 5096 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 5097 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 5098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5100 _flag_k = FK_CMP; 5101 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 5102 L_2B03C958: 5103 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 5104 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 5105 L_2B03C95D: 5106 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 5107 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 5108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5110 _flag_k = FK_CMP; 5111 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 5112 L_2B03C965: 5113 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 5114 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 5115 L_2B03C96A: 5116 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 5117 L_2B03C96C: 5118 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 5119 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 5120 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 5121 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 5122 L_2B03C977: 5123 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 5124 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 5125 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5127 _flag_k = FK_NARROW(FK_CMP, 24); 5128 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 5129 L_2B03C983: 5130 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 5131 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 5132 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5134 _flag_k = FK_NARROW(FK_CMP, 24); 5135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 5136 L_2B03C98E: 5137 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 5138 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 5139 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 5140 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 5141 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5143 _flag_k = FK_CMP; 5144 RECOMP_BACKEDGE(); 5145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 5146 L_2B03C9A1: 5147 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 5148 L_2B03C9A6: 5149 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 5150 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 5151 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5153 _flag_k = FK_NARROW(FK_CMP, 24); 5154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 5155 L_2B03C9AE: 5156 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 5157 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 5158 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 5159 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 5160 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 5161 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 5162 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 5163 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 5164 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5166 _flag_k = FK_CMP; 5167 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 5168 L_2B03C9C6: 5169 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 5170 L_2B03C9C9: 5171 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 5172 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 5173 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 5174 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 5175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5177 _flag_k = FK_CMP; 5178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 5179 L_2B03C9D7: 5180 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 5181 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 5182 L_2B03C9DC: 5183 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 5184 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 5185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5187 _flag_k = FK_CMP; 5188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 5189 L_2B03C9E4: 5190 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 5191 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 5192 L_2B03C9E9: 5193 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 5194 L_2B03C9EB: 5195 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 5196 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 5197 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 5198 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 5199 L_2B03C9F7: 5200 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 5201 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 5202 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 5203 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 5204 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 5205 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 5206 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 5207 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 5208 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 5209 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 5210 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 5211 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 5212 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 5213 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5215 _flag_k = FK_CMP; 5216 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 5217 L_2B03CA1E: 5218 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 5219 L_2B03CA21: 5220 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 5221 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 5222 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 5223 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 5224 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5226 _flag_k = FK_CMP; 5227 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 5228 L_2B03CA2F: 5229 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 5230 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 5231 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 5232 L_2B03CA39: 5233 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 5234 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 5235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5237 _flag_k = FK_CMP; 5238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 5239 L_2B03CA40: 5240 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 5241 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 5242 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 5243 L_2B03CA49: 5244 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 5245 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 5246 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 5247 L_2B03CA53: 5248 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 5249 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 5250 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5252 _flag_k = FK_NARROW(FK_CMP, 24); 5253 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 5254 L_2B03CA5A: 5255 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 5256 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 5257 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 5258 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 5259 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 5260 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 5261 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 5262 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 5263 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5265 _flag_k = FK_CMP; 5266 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 5267 L_2B03CA73: 5268 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 5269 L_2B03CA76: 5270 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 5271 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 5272 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 5273 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 5274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5276 _flag_k = FK_CMP; 5277 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 5278 L_2B03CA84: 5279 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 5280 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 5281 L_2B03CA89: 5282 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 5283 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 5284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5286 _flag_k = FK_CMP; 5287 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 5288 L_2B03CA90: 5289 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 5290 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 5291 L_2B03CA94: 5292 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 5293 L_2B03CA97: 5294 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 5295 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 5296 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 5297 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 5298 L_2B03CAA1: 5299 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 5300 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 5301 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 5302 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 5303 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 5304 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 5305 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 5306 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 5307 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 5308 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 5309 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 5310 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 5311 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 5312 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5314 _flag_k = FK_CMP; 5315 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 5316 L_2B03CAC7: 5317 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 5318 L_2B03CACA: 5319 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 5320 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 5321 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 5322 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 5323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5325 _flag_k = FK_CMP; 5326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 5327 L_2B03CAD8: 5328 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 5329 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 5330 L_2B03CADD: 5331 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 5332 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 5333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5335 _flag_k = FK_CMP; 5336 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 5337 L_2B03CAE5: 5338 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 5339 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 5340 L_2B03CAEA: 5341 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 5342 L_2B03CAEC: 5343 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 5344 L_2B03CAEF: 5345 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 5346 L_2B03CAF2: 5347 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 5348 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 5349 L_2B03CAF8: 5350 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 5351 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 5352 RECOMP_FLAGS_IN(); 5353 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 5354 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 5355 RECOMP_FLAGS_IN(); 5356 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 5357 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 5358 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5360 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 5361 _flag_k = FK_ADD; 5362 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5363 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 5364 _flag_k = FK_DEC; 5365 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 5366 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 5367 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 5368 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 5369 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 5370 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 5371 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 5372 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 5373 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 5374 RECOMP_REGS_OUT(); 5375 } 5376 5377 void sub_2B03C831(void) { 5378 int _fpu_cmp = 0; 5379 uint32_t _cf = 0; 5380 int _df = 1; 5381 uint32_t _flag_k = FK_NONE; 5382 uint32_t _flag_a = 0, _flag_b = 0; 5383 uint32_t _itail_tgt = 0; 5384 RECOMP_REGS_LOCALS 5385 RECOMP_ENTER(0x2B03C831u); 5386 5387 L_2B03C831: 5388 ebx = MEM32(edi + 0x4); /* 0x2B03C831: mov ebx, dword ptr [edi + 4] */ 5389 /* cmp MEM32(ebx), esi */ /* 0x2B03C834: cmp dword ptr [ebx], esi */ 5390 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 5391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5392 _flag_k = FK_CMP; 5393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C85B; /* 0x2B03C836: jne 0x2b03c85b */ 5394 L_2B03C838: 5395 ecx = MEM32(esi + 0x8); /* 0x2B03C838: mov ecx, dword ptr [esi + 8] */ 5396 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03C83B: cmp ecx, dword ptr [edi + 8] */ 5397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5399 _flag_k = FK_CMP; 5400 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C845; /* 0x2B03C83E: jne 0x2b03c845 */ 5401 L_2B03C840: 5402 edx = MEM32(esi + 0x4); /* 0x2B03C840: mov edx, dword ptr [esi + 4] */ 5403 goto L_2B03C859; /* 0x2B03C843: jmp 0x2b03c859 */ 5404 L_2B03C845: 5405 ecx = MEM32(eax); /* 0x2B03C845: mov ecx, dword ptr [eax] */ 5406 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C847: cmp byte ptr [ecx + 0x2d], 0 */ 5407 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5409 _flag_k = FK_NARROW(FK_CMP, 24); 5410 edx = eax; /* 0x2B03C84B: mov edx, eax */ 5411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C859; /* 0x2B03C84D: jne 0x2b03c859 */ 5412 L_2B03C84F: 5413 edx = ecx; /* 0x2B03C84F: mov edx, ecx */ 5414 ecx = MEM32(edx); /* 0x2B03C851: mov ecx, dword ptr [edx] */ 5415 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C853: cmp byte ptr [ecx + 0x2d], 0 */ 5416 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5418 _flag_k = FK_NARROW(FK_CMP, 24); 5419 RECOMP_BACKEDGE(); 5420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C84F; /* 0x2B03C857: je 0x2b03c84f */ 5421 L_2B03C859: 5422 MEM32(ebx) = edx; /* 0x2B03C859: mov dword ptr [ebx], edx */ 5423 L_2B03C85B: 5424 ebx = MEM32(edi + 0x4); /* 0x2B03C85B: mov ebx, dword ptr [edi + 4] */ 5425 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B03C85E: cmp dword ptr [ebx + 8], esi */ 5426 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 5427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5428 _flag_k = FK_CMP; 5429 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C888; /* 0x2B03C861: jne 0x2b03c888 */ 5430 L_2B03C863: 5431 ecx = MEM32(esi); /* 0x2B03C863: mov ecx, dword ptr [esi] */ 5432 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03C865: cmp ecx, dword ptr [edi + 8] */ 5433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5435 _flag_k = FK_CMP; 5436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C86F; /* 0x2B03C868: jne 0x2b03c86f */ 5437 L_2B03C86A: 5438 edx = MEM32(esi + 0x4); /* 0x2B03C86A: mov edx, dword ptr [esi + 4] */ 5439 goto L_2B03C885; /* 0x2B03C86D: jmp 0x2b03c885 */ 5440 L_2B03C86F: 5441 ecx = MEM32(eax + 0x8); /* 0x2B03C86F: mov ecx, dword ptr [eax + 8] */ 5442 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C872: cmp byte ptr [ecx + 0x2d], 0 */ 5443 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5445 _flag_k = FK_NARROW(FK_CMP, 24); 5446 edx = eax; /* 0x2B03C876: mov edx, eax */ 5447 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C885; /* 0x2B03C878: jne 0x2b03c885 */ 5448 L_2B03C87A: 5449 edx = ecx; /* 0x2B03C87A: mov edx, ecx */ 5450 ecx = MEM32(edx + 0x8); /* 0x2B03C87C: mov ecx, dword ptr [edx + 8] */ 5451 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C87F: cmp byte ptr [ecx + 0x2d], 0 */ 5452 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5454 _flag_k = FK_NARROW(FK_CMP, 24); 5455 RECOMP_BACKEDGE(); 5456 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C87A; /* 0x2B03C883: je 0x2b03c87a */ 5457 L_2B03C885: 5458 MEM32(ebx + 0x8) = edx; /* 0x2B03C885: mov dword ptr [ebx + 8], edx */ 5459 L_2B03C888: 5460 esi = MEM32(ebp + (-0x4)); /* 0x2B03C888: mov esi, dword ptr [ebp - 4] */ 5461 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x2B03C88B: mov cl, byte ptr [esi + 0x2c] */ 5462 SET_LO8(ebx, 1); /* 0x2B03C88E: mov bl, 1 */ 5463 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B03C890: cmp cl, bl */ 5464 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5466 _flag_k = FK_NARROW(FK_CMP, 24); 5467 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF8; /* 0x2B03C892: jne 0x2b03caf8 */ 5468 L_2B03C898: 5469 ecx = MEM32(edi + 0x4); /* 0x2B03C898: mov ecx, dword ptr [edi + 4] */ 5470 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C89B: cmp eax, dword ptr [ecx + 4] */ 5471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5473 _flag_k = FK_CMP; 5474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C89E: je 0x2b03caf2 */ 5475 L_2B03C8A4: 5476 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 5477 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5479 _flag_k = FK_NARROW(FK_CMP, 24); 5480 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 5481 L_2B03C8AD: 5482 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 5483 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 5484 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 5485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5487 _flag_k = FK_CMP; 5488 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 5489 L_2B03C8B6: 5490 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 5491 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 5492 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 5493 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5494 _cf = 0; 5495 _flag_k = FK_NARROW(FK_TEST, 24); 5496 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 5497 L_2B03C8C0: 5498 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 5499 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 5500 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 5501 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 5502 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 5503 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 5504 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 5505 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 5506 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 5507 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5509 _flag_k = FK_CMP; 5510 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 5511 L_2B03C8DC: 5512 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 5513 L_2B03C8DF: 5514 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 5515 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 5516 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 5517 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 5518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5520 _flag_k = FK_CMP; 5521 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 5522 L_2B03C8ED: 5523 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 5524 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 5525 L_2B03C8F2: 5526 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 5527 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 5528 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5530 _flag_k = FK_CMP; 5531 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 5532 L_2B03C8F9: 5533 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 5534 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 5535 L_2B03C8FD: 5536 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 5537 L_2B03C900: 5538 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 5539 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 5540 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 5541 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 5542 L_2B03C90B: 5543 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 5544 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 5545 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5547 _flag_k = FK_NARROW(FK_CMP, 24); 5548 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 5549 L_2B03C916: 5550 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 5551 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 5552 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5554 _flag_k = FK_NARROW(FK_CMP, 24); 5555 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 5556 L_2B03C922: 5557 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 5558 L_2B03C924: 5559 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 5560 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 5561 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5562 _cf = 0; 5563 _flag_k = FK_NARROW(FK_TEST, 24); 5564 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 5565 L_2B03C92B: 5566 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 5567 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 5568 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 5569 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 5570 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 5571 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 5572 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 5573 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 5574 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 5575 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5577 _flag_k = FK_CMP; 5578 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 5579 L_2B03C947: 5580 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 5581 L_2B03C94A: 5582 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 5583 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 5584 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 5585 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 5586 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5588 _flag_k = FK_CMP; 5589 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 5590 L_2B03C958: 5591 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 5592 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 5593 L_2B03C95D: 5594 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 5595 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 5596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5598 _flag_k = FK_CMP; 5599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 5600 L_2B03C965: 5601 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 5602 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 5603 L_2B03C96A: 5604 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 5605 L_2B03C96C: 5606 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 5607 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 5608 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 5609 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 5610 L_2B03C977: 5611 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 5612 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 5613 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5615 _flag_k = FK_NARROW(FK_CMP, 24); 5616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 5617 L_2B03C983: 5618 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 5619 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 5620 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5622 _flag_k = FK_NARROW(FK_CMP, 24); 5623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 5624 L_2B03C98E: 5625 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 5626 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 5627 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 5628 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 5629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5631 _flag_k = FK_CMP; 5632 RECOMP_BACKEDGE(); 5633 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 5634 L_2B03C9A1: 5635 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 5636 L_2B03C9A6: 5637 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 5638 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 5639 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5641 _flag_k = FK_NARROW(FK_CMP, 24); 5642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 5643 L_2B03C9AE: 5644 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 5645 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 5646 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 5647 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 5648 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 5649 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 5650 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 5651 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 5652 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5654 _flag_k = FK_CMP; 5655 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 5656 L_2B03C9C6: 5657 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 5658 L_2B03C9C9: 5659 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 5660 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 5661 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 5662 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 5663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5665 _flag_k = FK_CMP; 5666 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 5667 L_2B03C9D7: 5668 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 5669 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 5670 L_2B03C9DC: 5671 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 5672 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 5673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5675 _flag_k = FK_CMP; 5676 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 5677 L_2B03C9E4: 5678 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 5679 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 5680 L_2B03C9E9: 5681 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 5682 L_2B03C9EB: 5683 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 5684 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 5685 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 5686 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 5687 L_2B03C9F7: 5688 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 5689 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 5690 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 5691 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 5692 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 5693 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 5694 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 5695 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 5696 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 5697 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 5698 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 5699 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 5700 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 5701 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5703 _flag_k = FK_CMP; 5704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 5705 L_2B03CA1E: 5706 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 5707 L_2B03CA21: 5708 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 5709 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 5710 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 5711 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 5712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5714 _flag_k = FK_CMP; 5715 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 5716 L_2B03CA2F: 5717 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 5718 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 5719 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 5720 L_2B03CA39: 5721 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 5722 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 5723 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5725 _flag_k = FK_CMP; 5726 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 5727 L_2B03CA40: 5728 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 5729 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 5730 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 5731 L_2B03CA49: 5732 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 5733 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 5734 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 5735 L_2B03CA53: 5736 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 5737 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 5738 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5740 _flag_k = FK_NARROW(FK_CMP, 24); 5741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 5742 L_2B03CA5A: 5743 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 5744 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 5745 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 5746 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 5747 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 5748 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 5749 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 5750 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 5751 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5753 _flag_k = FK_CMP; 5754 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 5755 L_2B03CA73: 5756 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 5757 L_2B03CA76: 5758 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 5759 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 5760 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 5761 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 5762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5764 _flag_k = FK_CMP; 5765 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 5766 L_2B03CA84: 5767 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 5768 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 5769 L_2B03CA89: 5770 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 5771 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 5772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5774 _flag_k = FK_CMP; 5775 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 5776 L_2B03CA90: 5777 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 5778 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 5779 L_2B03CA94: 5780 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 5781 L_2B03CA97: 5782 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 5783 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 5784 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 5785 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 5786 L_2B03CAA1: 5787 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 5788 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 5789 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 5790 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 5791 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 5792 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 5793 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 5794 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 5795 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 5796 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 5797 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 5798 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 5799 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 5800 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5802 _flag_k = FK_CMP; 5803 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 5804 L_2B03CAC7: 5805 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 5806 L_2B03CACA: 5807 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 5808 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 5809 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 5810 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 5811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5813 _flag_k = FK_CMP; 5814 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 5815 L_2B03CAD8: 5816 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 5817 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 5818 L_2B03CADD: 5819 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 5820 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 5821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5823 _flag_k = FK_CMP; 5824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 5825 L_2B03CAE5: 5826 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 5827 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 5828 L_2B03CAEA: 5829 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 5830 L_2B03CAEC: 5831 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 5832 L_2B03CAEF: 5833 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 5834 L_2B03CAF2: 5835 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 5836 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 5837 L_2B03CAF8: 5838 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 5839 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 5840 RECOMP_FLAGS_IN(); 5841 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 5842 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 5843 RECOMP_FLAGS_IN(); 5844 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 5845 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 5846 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5848 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 5849 _flag_k = FK_ADD; 5850 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5851 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 5852 _flag_k = FK_DEC; 5853 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 5854 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 5855 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 5856 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 5857 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 5858 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 5859 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 5860 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 5861 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 5862 RECOMP_REGS_OUT(); 5863 } 5864 5865 void sub_2B03C859(void) { 5866 int _fpu_cmp = 0; 5867 uint32_t _cf = 0; 5868 int _df = 1; 5869 uint32_t _flag_k = FK_NONE; 5870 uint32_t _flag_a = 0, _flag_b = 0; 5871 uint32_t _itail_tgt = 0; 5872 RECOMP_REGS_LOCALS 5873 RECOMP_ENTER(0x2B03C859u); 5874 5875 L_2B03C859: 5876 MEM32(ebx) = edx; /* 0x2B03C859: mov dword ptr [ebx], edx */ 5877 ebx = MEM32(edi + 0x4); /* 0x2B03C85B: mov ebx, dword ptr [edi + 4] */ 5878 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B03C85E: cmp dword ptr [ebx + 8], esi */ 5879 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 5880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5881 _flag_k = FK_CMP; 5882 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C888; /* 0x2B03C861: jne 0x2b03c888 */ 5883 L_2B03C863: 5884 ecx = MEM32(esi); /* 0x2B03C863: mov ecx, dword ptr [esi] */ 5885 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03C865: cmp ecx, dword ptr [edi + 8] */ 5886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5888 _flag_k = FK_CMP; 5889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C86F; /* 0x2B03C868: jne 0x2b03c86f */ 5890 L_2B03C86A: 5891 edx = MEM32(esi + 0x4); /* 0x2B03C86A: mov edx, dword ptr [esi + 4] */ 5892 goto L_2B03C885; /* 0x2B03C86D: jmp 0x2b03c885 */ 5893 L_2B03C86F: 5894 ecx = MEM32(eax + 0x8); /* 0x2B03C86F: mov ecx, dword ptr [eax + 8] */ 5895 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C872: cmp byte ptr [ecx + 0x2d], 0 */ 5896 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5898 _flag_k = FK_NARROW(FK_CMP, 24); 5899 edx = eax; /* 0x2B03C876: mov edx, eax */ 5900 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C885; /* 0x2B03C878: jne 0x2b03c885 */ 5901 L_2B03C87A: 5902 edx = ecx; /* 0x2B03C87A: mov edx, ecx */ 5903 ecx = MEM32(edx + 0x8); /* 0x2B03C87C: mov ecx, dword ptr [edx + 8] */ 5904 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x2B03C87F: cmp byte ptr [ecx + 0x2d], 0 */ 5905 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 5906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5907 _flag_k = FK_NARROW(FK_CMP, 24); 5908 RECOMP_BACKEDGE(); 5909 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C87A; /* 0x2B03C883: je 0x2b03c87a */ 5910 L_2B03C885: 5911 MEM32(ebx + 0x8) = edx; /* 0x2B03C885: mov dword ptr [ebx + 8], edx */ 5912 L_2B03C888: 5913 esi = MEM32(ebp + (-0x4)); /* 0x2B03C888: mov esi, dword ptr [ebp - 4] */ 5914 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x2B03C88B: mov cl, byte ptr [esi + 0x2c] */ 5915 SET_LO8(ebx, 1); /* 0x2B03C88E: mov bl, 1 */ 5916 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B03C890: cmp cl, bl */ 5917 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5919 _flag_k = FK_NARROW(FK_CMP, 24); 5920 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF8; /* 0x2B03C892: jne 0x2b03caf8 */ 5921 L_2B03C898: 5922 ecx = MEM32(edi + 0x4); /* 0x2B03C898: mov ecx, dword ptr [edi + 4] */ 5923 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C89B: cmp eax, dword ptr [ecx + 4] */ 5924 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5926 _flag_k = FK_CMP; 5927 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C89E: je 0x2b03caf2 */ 5928 L_2B03C8A4: 5929 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 5930 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5932 _flag_k = FK_NARROW(FK_CMP, 24); 5933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 5934 L_2B03C8AD: 5935 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 5936 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 5937 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 5938 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5940 _flag_k = FK_CMP; 5941 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 5942 L_2B03C8B6: 5943 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 5944 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 5945 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 5946 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5947 _cf = 0; 5948 _flag_k = FK_NARROW(FK_TEST, 24); 5949 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 5950 L_2B03C8C0: 5951 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 5952 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 5953 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 5954 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 5955 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 5956 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 5957 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 5958 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 5959 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 5960 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5962 _flag_k = FK_CMP; 5963 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 5964 L_2B03C8DC: 5965 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 5966 L_2B03C8DF: 5967 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 5968 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 5969 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 5970 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 5971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5973 _flag_k = FK_CMP; 5974 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 5975 L_2B03C8ED: 5976 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 5977 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 5978 L_2B03C8F2: 5979 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 5980 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 5981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5983 _flag_k = FK_CMP; 5984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 5985 L_2B03C8F9: 5986 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 5987 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 5988 L_2B03C8FD: 5989 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 5990 L_2B03C900: 5991 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 5992 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 5993 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 5994 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 5995 L_2B03C90B: 5996 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 5997 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 5998 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6000 _flag_k = FK_NARROW(FK_CMP, 24); 6001 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 6002 L_2B03C916: 6003 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 6004 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 6005 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6007 _flag_k = FK_NARROW(FK_CMP, 24); 6008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 6009 L_2B03C922: 6010 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 6011 L_2B03C924: 6012 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 6013 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 6014 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6015 _cf = 0; 6016 _flag_k = FK_NARROW(FK_TEST, 24); 6017 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 6018 L_2B03C92B: 6019 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 6020 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 6021 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 6022 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 6023 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 6024 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 6025 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 6026 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 6027 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 6028 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6030 _flag_k = FK_CMP; 6031 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 6032 L_2B03C947: 6033 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 6034 L_2B03C94A: 6035 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 6036 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 6037 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 6038 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 6039 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6041 _flag_k = FK_CMP; 6042 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 6043 L_2B03C958: 6044 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 6045 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 6046 L_2B03C95D: 6047 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 6048 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 6049 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6051 _flag_k = FK_CMP; 6052 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 6053 L_2B03C965: 6054 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 6055 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 6056 L_2B03C96A: 6057 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 6058 L_2B03C96C: 6059 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 6060 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 6061 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 6062 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 6063 L_2B03C977: 6064 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 6065 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 6066 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6068 _flag_k = FK_NARROW(FK_CMP, 24); 6069 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 6070 L_2B03C983: 6071 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 6072 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 6073 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6075 _flag_k = FK_NARROW(FK_CMP, 24); 6076 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 6077 L_2B03C98E: 6078 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 6079 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 6080 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 6081 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 6082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6084 _flag_k = FK_CMP; 6085 RECOMP_BACKEDGE(); 6086 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 6087 L_2B03C9A1: 6088 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 6089 L_2B03C9A6: 6090 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 6091 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 6092 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6094 _flag_k = FK_NARROW(FK_CMP, 24); 6095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 6096 L_2B03C9AE: 6097 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 6098 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 6099 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 6100 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 6101 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 6102 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 6103 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 6104 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 6105 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6107 _flag_k = FK_CMP; 6108 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 6109 L_2B03C9C6: 6110 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 6111 L_2B03C9C9: 6112 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 6113 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 6114 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 6115 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 6116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6118 _flag_k = FK_CMP; 6119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 6120 L_2B03C9D7: 6121 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 6122 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 6123 L_2B03C9DC: 6124 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 6125 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 6126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6128 _flag_k = FK_CMP; 6129 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 6130 L_2B03C9E4: 6131 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 6132 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 6133 L_2B03C9E9: 6134 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 6135 L_2B03C9EB: 6136 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 6137 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 6138 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 6139 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 6140 L_2B03C9F7: 6141 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 6142 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 6143 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 6144 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 6145 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 6146 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 6147 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 6148 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 6149 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 6150 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 6151 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 6152 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 6153 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 6154 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6156 _flag_k = FK_CMP; 6157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 6158 L_2B03CA1E: 6159 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 6160 L_2B03CA21: 6161 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 6162 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 6163 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 6164 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 6165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6167 _flag_k = FK_CMP; 6168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 6169 L_2B03CA2F: 6170 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 6171 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 6172 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 6173 L_2B03CA39: 6174 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 6175 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 6176 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6178 _flag_k = FK_CMP; 6179 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 6180 L_2B03CA40: 6181 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 6182 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 6183 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 6184 L_2B03CA49: 6185 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 6186 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 6187 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 6188 L_2B03CA53: 6189 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 6190 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 6191 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6193 _flag_k = FK_NARROW(FK_CMP, 24); 6194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 6195 L_2B03CA5A: 6196 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 6197 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 6198 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 6199 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 6200 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 6201 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 6202 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 6203 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 6204 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6206 _flag_k = FK_CMP; 6207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 6208 L_2B03CA73: 6209 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 6210 L_2B03CA76: 6211 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 6212 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 6213 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 6214 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 6215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6217 _flag_k = FK_CMP; 6218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 6219 L_2B03CA84: 6220 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 6221 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 6222 L_2B03CA89: 6223 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 6224 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 6225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6227 _flag_k = FK_CMP; 6228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 6229 L_2B03CA90: 6230 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 6231 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 6232 L_2B03CA94: 6233 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 6234 L_2B03CA97: 6235 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 6236 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 6237 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 6238 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 6239 L_2B03CAA1: 6240 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 6241 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 6242 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 6243 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 6244 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 6245 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 6246 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 6247 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 6248 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 6249 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 6250 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 6251 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 6252 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 6253 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6255 _flag_k = FK_CMP; 6256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 6257 L_2B03CAC7: 6258 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 6259 L_2B03CACA: 6260 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 6261 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 6262 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 6263 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 6264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6266 _flag_k = FK_CMP; 6267 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 6268 L_2B03CAD8: 6269 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 6270 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 6271 L_2B03CADD: 6272 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 6273 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 6274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6276 _flag_k = FK_CMP; 6277 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 6278 L_2B03CAE5: 6279 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 6280 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 6281 L_2B03CAEA: 6282 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 6283 L_2B03CAEC: 6284 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 6285 L_2B03CAEF: 6286 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 6287 L_2B03CAF2: 6288 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 6289 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 6290 L_2B03CAF8: 6291 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 6292 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 6293 RECOMP_FLAGS_IN(); 6294 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 6295 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 6296 RECOMP_FLAGS_IN(); 6297 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 6298 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 6299 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6300 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6301 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 6302 _flag_k = FK_ADD; 6303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6304 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 6305 _flag_k = FK_DEC; 6306 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 6307 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 6308 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 6309 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 6310 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 6311 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 6312 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 6313 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 6314 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 6315 RECOMP_REGS_OUT(); 6316 } 6317 6318 void sub_2B03C885(void) { 6319 int _fpu_cmp = 0; 6320 uint32_t _cf = 0; 6321 int _df = 1; 6322 uint32_t _flag_k = FK_NONE; 6323 uint32_t _flag_a = 0, _flag_b = 0; 6324 uint32_t _itail_tgt = 0; 6325 RECOMP_REGS_LOCALS 6326 RECOMP_ENTER(0x2B03C885u); 6327 6328 L_2B03C885: 6329 MEM32(ebx + 0x8) = edx; /* 0x2B03C885: mov dword ptr [ebx + 8], edx */ 6330 esi = MEM32(ebp + (-0x4)); /* 0x2B03C888: mov esi, dword ptr [ebp - 4] */ 6331 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x2B03C88B: mov cl, byte ptr [esi + 0x2c] */ 6332 SET_LO8(ebx, 1); /* 0x2B03C88E: mov bl, 1 */ 6333 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B03C890: cmp cl, bl */ 6334 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6336 _flag_k = FK_NARROW(FK_CMP, 24); 6337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF8; /* 0x2B03C892: jne 0x2b03caf8 */ 6338 L_2B03C898: 6339 ecx = MEM32(edi + 0x4); /* 0x2B03C898: mov ecx, dword ptr [edi + 4] */ 6340 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C89B: cmp eax, dword ptr [ecx + 4] */ 6341 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6343 _flag_k = FK_CMP; 6344 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C89E: je 0x2b03caf2 */ 6345 L_2B03C8A4: 6346 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 6347 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6349 _flag_k = FK_NARROW(FK_CMP, 24); 6350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 6351 L_2B03C8AD: 6352 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 6353 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 6354 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 6355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6357 _flag_k = FK_CMP; 6358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 6359 L_2B03C8B6: 6360 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 6361 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 6362 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 6363 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6364 _cf = 0; 6365 _flag_k = FK_NARROW(FK_TEST, 24); 6366 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 6367 L_2B03C8C0: 6368 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 6369 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 6370 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 6371 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 6372 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 6373 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 6374 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 6375 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 6376 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 6377 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6379 _flag_k = FK_CMP; 6380 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 6381 L_2B03C8DC: 6382 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 6383 L_2B03C8DF: 6384 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 6385 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 6386 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 6387 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 6388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6390 _flag_k = FK_CMP; 6391 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 6392 L_2B03C8ED: 6393 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 6394 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 6395 L_2B03C8F2: 6396 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 6397 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 6398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6400 _flag_k = FK_CMP; 6401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 6402 L_2B03C8F9: 6403 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 6404 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 6405 L_2B03C8FD: 6406 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 6407 L_2B03C900: 6408 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 6409 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 6410 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 6411 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 6412 L_2B03C90B: 6413 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 6414 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 6415 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6417 _flag_k = FK_NARROW(FK_CMP, 24); 6418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 6419 L_2B03C916: 6420 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 6421 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 6422 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6424 _flag_k = FK_NARROW(FK_CMP, 24); 6425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 6426 L_2B03C922: 6427 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 6428 L_2B03C924: 6429 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 6430 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 6431 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6432 _cf = 0; 6433 _flag_k = FK_NARROW(FK_TEST, 24); 6434 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 6435 L_2B03C92B: 6436 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 6437 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 6438 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 6439 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 6440 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 6441 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 6442 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 6443 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 6444 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 6445 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6447 _flag_k = FK_CMP; 6448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 6449 L_2B03C947: 6450 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 6451 L_2B03C94A: 6452 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 6453 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 6454 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 6455 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 6456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6458 _flag_k = FK_CMP; 6459 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 6460 L_2B03C958: 6461 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 6462 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 6463 L_2B03C95D: 6464 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 6465 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 6466 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6468 _flag_k = FK_CMP; 6469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 6470 L_2B03C965: 6471 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 6472 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 6473 L_2B03C96A: 6474 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 6475 L_2B03C96C: 6476 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 6477 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 6478 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 6479 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 6480 L_2B03C977: 6481 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 6482 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 6483 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6485 _flag_k = FK_NARROW(FK_CMP, 24); 6486 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 6487 L_2B03C983: 6488 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 6489 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 6490 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6492 _flag_k = FK_NARROW(FK_CMP, 24); 6493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 6494 L_2B03C98E: 6495 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 6496 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 6497 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 6498 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 6499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6501 _flag_k = FK_CMP; 6502 RECOMP_BACKEDGE(); 6503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 6504 L_2B03C9A1: 6505 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 6506 L_2B03C9A6: 6507 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 6508 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 6509 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6511 _flag_k = FK_NARROW(FK_CMP, 24); 6512 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 6513 L_2B03C9AE: 6514 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 6515 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 6516 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 6517 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 6518 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 6519 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 6520 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 6521 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 6522 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6524 _flag_k = FK_CMP; 6525 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 6526 L_2B03C9C6: 6527 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 6528 L_2B03C9C9: 6529 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 6530 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 6531 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 6532 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 6533 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6535 _flag_k = FK_CMP; 6536 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 6537 L_2B03C9D7: 6538 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 6539 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 6540 L_2B03C9DC: 6541 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 6542 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 6543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6545 _flag_k = FK_CMP; 6546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 6547 L_2B03C9E4: 6548 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 6549 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 6550 L_2B03C9E9: 6551 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 6552 L_2B03C9EB: 6553 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 6554 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 6555 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 6556 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 6557 L_2B03C9F7: 6558 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 6559 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 6560 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 6561 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 6562 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 6563 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 6564 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 6565 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 6566 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 6567 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 6568 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 6569 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 6570 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 6571 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6573 _flag_k = FK_CMP; 6574 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 6575 L_2B03CA1E: 6576 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 6577 L_2B03CA21: 6578 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 6579 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 6580 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 6581 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 6582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6584 _flag_k = FK_CMP; 6585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 6586 L_2B03CA2F: 6587 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 6588 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 6589 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 6590 L_2B03CA39: 6591 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 6592 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 6593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6595 _flag_k = FK_CMP; 6596 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 6597 L_2B03CA40: 6598 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 6599 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 6600 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 6601 L_2B03CA49: 6602 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 6603 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 6604 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 6605 L_2B03CA53: 6606 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 6607 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 6608 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6610 _flag_k = FK_NARROW(FK_CMP, 24); 6611 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 6612 L_2B03CA5A: 6613 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 6614 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 6615 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 6616 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 6617 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 6618 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 6619 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 6620 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 6621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6623 _flag_k = FK_CMP; 6624 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 6625 L_2B03CA73: 6626 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 6627 L_2B03CA76: 6628 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 6629 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 6630 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 6631 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 6632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6634 _flag_k = FK_CMP; 6635 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 6636 L_2B03CA84: 6637 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 6638 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 6639 L_2B03CA89: 6640 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 6641 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 6642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6644 _flag_k = FK_CMP; 6645 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 6646 L_2B03CA90: 6647 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 6648 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 6649 L_2B03CA94: 6650 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 6651 L_2B03CA97: 6652 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 6653 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 6654 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 6655 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 6656 L_2B03CAA1: 6657 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 6658 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 6659 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 6660 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 6661 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 6662 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 6663 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 6664 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 6665 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 6666 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 6667 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 6668 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 6669 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 6670 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6672 _flag_k = FK_CMP; 6673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 6674 L_2B03CAC7: 6675 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 6676 L_2B03CACA: 6677 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 6678 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 6679 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 6680 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 6681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6683 _flag_k = FK_CMP; 6684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 6685 L_2B03CAD8: 6686 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 6687 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 6688 L_2B03CADD: 6689 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 6690 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 6691 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6693 _flag_k = FK_CMP; 6694 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 6695 L_2B03CAE5: 6696 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 6697 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 6698 L_2B03CAEA: 6699 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 6700 L_2B03CAEC: 6701 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 6702 L_2B03CAEF: 6703 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 6704 L_2B03CAF2: 6705 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 6706 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 6707 L_2B03CAF8: 6708 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 6709 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 6710 RECOMP_FLAGS_IN(); 6711 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 6712 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 6713 RECOMP_FLAGS_IN(); 6714 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 6715 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 6716 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6718 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 6719 _flag_k = FK_ADD; 6720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6721 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 6722 _flag_k = FK_DEC; 6723 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 6724 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 6725 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 6726 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 6727 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 6728 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 6729 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 6730 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 6731 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 6732 RECOMP_REGS_OUT(); 6733 } 6734 6735 void sub_2B03C8A4(void) { 6736 int _fpu_cmp = 0; 6737 uint32_t _cf = 0; 6738 int _df = 1; 6739 uint32_t _flag_k = FK_NONE; 6740 uint32_t _flag_a = 0, _flag_b = 0; 6741 uint32_t _itail_tgt = 0; 6742 RECOMP_REGS_LOCALS 6743 RECOMP_ENTER(0x2B03C8A4u); 6744 6745 L_2B03C8A4: 6746 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 6747 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6749 _flag_k = FK_NARROW(FK_CMP, 24); 6750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 6751 L_2B03C8AD: 6752 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 6753 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 6754 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 6755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6757 _flag_k = FK_CMP; 6758 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 6759 L_2B03C8B6: 6760 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 6761 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 6762 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 6763 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6764 _cf = 0; 6765 _flag_k = FK_NARROW(FK_TEST, 24); 6766 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 6767 L_2B03C8C0: 6768 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 6769 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 6770 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 6771 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 6772 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 6773 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 6774 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 6775 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 6776 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 6777 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6779 _flag_k = FK_CMP; 6780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 6781 L_2B03C8DC: 6782 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 6783 L_2B03C8DF: 6784 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 6785 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 6786 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 6787 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 6788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6790 _flag_k = FK_CMP; 6791 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 6792 L_2B03C8ED: 6793 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 6794 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 6795 L_2B03C8F2: 6796 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 6797 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 6798 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6800 _flag_k = FK_CMP; 6801 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 6802 L_2B03C8F9: 6803 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 6804 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 6805 L_2B03C8FD: 6806 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 6807 L_2B03C900: 6808 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 6809 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 6810 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 6811 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 6812 L_2B03C90B: 6813 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 6814 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 6815 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6817 _flag_k = FK_NARROW(FK_CMP, 24); 6818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 6819 L_2B03C916: 6820 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 6821 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 6822 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6824 _flag_k = FK_NARROW(FK_CMP, 24); 6825 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 6826 L_2B03C922: 6827 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 6828 L_2B03C924: 6829 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 6830 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 6831 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6832 _cf = 0; 6833 _flag_k = FK_NARROW(FK_TEST, 24); 6834 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 6835 L_2B03C92B: 6836 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 6837 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 6838 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 6839 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 6840 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 6841 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 6842 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 6843 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 6844 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 6845 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6847 _flag_k = FK_CMP; 6848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 6849 L_2B03C947: 6850 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 6851 L_2B03C94A: 6852 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 6853 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 6854 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 6855 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 6856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6858 _flag_k = FK_CMP; 6859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 6860 L_2B03C958: 6861 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 6862 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 6863 L_2B03C95D: 6864 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 6865 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 6866 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6868 _flag_k = FK_CMP; 6869 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 6870 L_2B03C965: 6871 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 6872 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 6873 L_2B03C96A: 6874 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 6875 L_2B03C96C: 6876 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 6877 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 6878 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 6879 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 6880 L_2B03C977: 6881 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 6882 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 6883 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6885 _flag_k = FK_NARROW(FK_CMP, 24); 6886 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 6887 L_2B03C983: 6888 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 6889 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 6890 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6892 _flag_k = FK_NARROW(FK_CMP, 24); 6893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 6894 L_2B03C98E: 6895 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 6896 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 6897 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 6898 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 6899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6901 _flag_k = FK_CMP; 6902 RECOMP_BACKEDGE(); 6903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 6904 L_2B03C9A1: 6905 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 6906 L_2B03C9A6: 6907 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 6908 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 6909 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6911 _flag_k = FK_NARROW(FK_CMP, 24); 6912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 6913 L_2B03C9AE: 6914 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 6915 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 6916 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 6917 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 6918 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 6919 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 6920 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 6921 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 6922 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6924 _flag_k = FK_CMP; 6925 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 6926 L_2B03C9C6: 6927 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 6928 L_2B03C9C9: 6929 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 6930 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 6931 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 6932 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 6933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6935 _flag_k = FK_CMP; 6936 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 6937 L_2B03C9D7: 6938 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 6939 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 6940 L_2B03C9DC: 6941 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 6942 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 6943 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6945 _flag_k = FK_CMP; 6946 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 6947 L_2B03C9E4: 6948 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 6949 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 6950 L_2B03C9E9: 6951 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 6952 L_2B03C9EB: 6953 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 6954 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 6955 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 6956 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 6957 L_2B03C9F7: 6958 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 6959 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 6960 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 6961 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 6962 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 6963 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 6964 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 6965 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 6966 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 6967 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 6968 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 6969 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 6970 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 6971 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6973 _flag_k = FK_CMP; 6974 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 6975 L_2B03CA1E: 6976 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 6977 L_2B03CA21: 6978 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 6979 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 6980 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 6981 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 6982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6984 _flag_k = FK_CMP; 6985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 6986 L_2B03CA2F: 6987 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 6988 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 6989 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 6990 L_2B03CA39: 6991 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 6992 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 6993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6995 _flag_k = FK_CMP; 6996 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 6997 L_2B03CA40: 6998 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 6999 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 7000 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 7001 L_2B03CA49: 7002 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 7003 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 7004 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 7005 L_2B03CA53: 7006 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 7007 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 7008 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7010 _flag_k = FK_NARROW(FK_CMP, 24); 7011 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 7012 L_2B03CA5A: 7013 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 7014 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 7015 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 7016 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 7017 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 7018 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 7019 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 7020 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 7021 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7023 _flag_k = FK_CMP; 7024 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 7025 L_2B03CA73: 7026 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 7027 L_2B03CA76: 7028 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 7029 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 7030 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 7031 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 7032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7034 _flag_k = FK_CMP; 7035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 7036 L_2B03CA84: 7037 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 7038 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 7039 L_2B03CA89: 7040 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 7041 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 7042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7044 _flag_k = FK_CMP; 7045 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 7046 L_2B03CA90: 7047 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 7048 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 7049 L_2B03CA94: 7050 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 7051 L_2B03CA97: 7052 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 7053 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 7054 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 7055 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 7056 L_2B03CAA1: 7057 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 7058 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 7059 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 7060 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 7061 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 7062 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 7063 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 7064 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 7065 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 7066 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 7067 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 7068 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 7069 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 7070 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7072 _flag_k = FK_CMP; 7073 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 7074 L_2B03CAC7: 7075 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 7076 L_2B03CACA: 7077 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 7078 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 7079 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 7080 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 7081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7083 _flag_k = FK_CMP; 7084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 7085 L_2B03CAD8: 7086 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 7087 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 7088 L_2B03CADD: 7089 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 7090 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 7091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7093 _flag_k = FK_CMP; 7094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 7095 L_2B03CAE5: 7096 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 7097 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 7098 L_2B03CAEA: 7099 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 7100 L_2B03CAEC: 7101 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 7102 L_2B03CAEF: 7103 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 7104 L_2B03CAF2: 7105 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 7106 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 7107 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 7108 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 7109 RECOMP_FLAGS_IN(); 7110 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 7111 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 7112 RECOMP_FLAGS_IN(); 7113 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 7114 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 7115 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7117 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 7118 _flag_k = FK_ADD; 7119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7120 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 7121 _flag_k = FK_DEC; 7122 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 7123 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 7124 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 7125 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 7126 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 7127 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 7128 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 7129 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 7130 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 7131 RECOMP_REGS_OUT(); 7132 } 7133 7134 void sub_2B03C900(void) { 7135 int _fpu_cmp = 0; 7136 uint32_t _cf = 0; 7137 int _df = 1; 7138 uint32_t _flag_k = FK_NONE; 7139 uint32_t _flag_a = 0, _flag_b = 0; 7140 uint32_t _itail_tgt = 0; 7141 RECOMP_REGS_LOCALS 7142 RECOMP_ENTER(0x2B03C900u); 7143 7144 goto L_2B03C900; 7145 L_2B03C8A4: 7146 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 7147 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7149 _flag_k = FK_NARROW(FK_CMP, 24); 7150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 7151 L_2B03C8AD: 7152 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 7153 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 7154 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 7155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7157 _flag_k = FK_CMP; 7158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 7159 L_2B03C8B6: 7160 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 7161 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 7162 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 7163 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7164 _cf = 0; 7165 _flag_k = FK_NARROW(FK_TEST, 24); 7166 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 7167 L_2B03C8C0: 7168 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 7169 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 7170 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 7171 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 7172 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 7173 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 7174 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 7175 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 7176 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 7177 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7179 _flag_k = FK_CMP; 7180 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 7181 L_2B03C8DC: 7182 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 7183 L_2B03C8DF: 7184 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 7185 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 7186 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 7187 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 7188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7190 _flag_k = FK_CMP; 7191 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 7192 L_2B03C8ED: 7193 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 7194 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 7195 L_2B03C8F2: 7196 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 7197 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 7198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7200 _flag_k = FK_CMP; 7201 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 7202 L_2B03C8F9: 7203 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 7204 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 7205 L_2B03C8FD: 7206 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 7207 L_2B03C900: 7208 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 7209 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 7210 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 7211 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 7212 L_2B03C90B: 7213 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 7214 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 7215 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7217 _flag_k = FK_NARROW(FK_CMP, 24); 7218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 7219 L_2B03C916: 7220 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 7221 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 7222 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7224 _flag_k = FK_NARROW(FK_CMP, 24); 7225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 7226 L_2B03C922: 7227 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 7228 L_2B03C924: 7229 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 7230 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 7231 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7232 _cf = 0; 7233 _flag_k = FK_NARROW(FK_TEST, 24); 7234 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 7235 L_2B03C92B: 7236 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 7237 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 7238 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 7239 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 7240 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 7241 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 7242 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 7243 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 7244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 7245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7247 _flag_k = FK_CMP; 7248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 7249 L_2B03C947: 7250 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 7251 L_2B03C94A: 7252 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 7253 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 7254 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 7255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 7256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7258 _flag_k = FK_CMP; 7259 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 7260 L_2B03C958: 7261 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 7262 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 7263 L_2B03C95D: 7264 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 7265 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 7266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7268 _flag_k = FK_CMP; 7269 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 7270 L_2B03C965: 7271 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 7272 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 7273 L_2B03C96A: 7274 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 7275 L_2B03C96C: 7276 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 7277 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 7278 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 7279 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 7280 L_2B03C977: 7281 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 7282 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 7283 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7285 _flag_k = FK_NARROW(FK_CMP, 24); 7286 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 7287 L_2B03C983: 7288 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 7289 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 7290 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7292 _flag_k = FK_NARROW(FK_CMP, 24); 7293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 7294 L_2B03C98E: 7295 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 7296 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 7297 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 7298 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 7299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7301 _flag_k = FK_CMP; 7302 RECOMP_BACKEDGE(); 7303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 7304 L_2B03C9A1: 7305 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 7306 L_2B03C9A6: 7307 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 7308 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 7309 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7311 _flag_k = FK_NARROW(FK_CMP, 24); 7312 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 7313 L_2B03C9AE: 7314 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 7315 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 7316 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 7317 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 7318 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 7319 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 7320 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 7321 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 7322 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7324 _flag_k = FK_CMP; 7325 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 7326 L_2B03C9C6: 7327 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 7328 L_2B03C9C9: 7329 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 7330 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 7331 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 7332 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 7333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7335 _flag_k = FK_CMP; 7336 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 7337 L_2B03C9D7: 7338 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 7339 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 7340 L_2B03C9DC: 7341 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 7342 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 7343 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7345 _flag_k = FK_CMP; 7346 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 7347 L_2B03C9E4: 7348 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 7349 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 7350 L_2B03C9E9: 7351 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 7352 L_2B03C9EB: 7353 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 7354 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 7355 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 7356 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 7357 L_2B03C9F7: 7358 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 7359 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 7360 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 7361 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 7362 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 7363 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 7364 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 7365 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 7366 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 7367 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 7368 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 7369 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 7370 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 7371 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7373 _flag_k = FK_CMP; 7374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 7375 L_2B03CA1E: 7376 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 7377 L_2B03CA21: 7378 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 7379 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 7380 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 7381 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 7382 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7384 _flag_k = FK_CMP; 7385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 7386 L_2B03CA2F: 7387 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 7388 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 7389 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 7390 L_2B03CA39: 7391 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 7392 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 7393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7395 _flag_k = FK_CMP; 7396 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 7397 L_2B03CA40: 7398 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 7399 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 7400 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 7401 L_2B03CA49: 7402 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 7403 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 7404 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 7405 L_2B03CA53: 7406 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 7407 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 7408 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7410 _flag_k = FK_NARROW(FK_CMP, 24); 7411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 7412 L_2B03CA5A: 7413 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 7414 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 7415 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 7416 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 7417 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 7418 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 7419 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 7420 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 7421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7423 _flag_k = FK_CMP; 7424 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 7425 L_2B03CA73: 7426 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 7427 L_2B03CA76: 7428 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 7429 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 7430 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 7431 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 7432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7434 _flag_k = FK_CMP; 7435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 7436 L_2B03CA84: 7437 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 7438 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 7439 L_2B03CA89: 7440 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 7441 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 7442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7444 _flag_k = FK_CMP; 7445 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 7446 L_2B03CA90: 7447 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 7448 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 7449 L_2B03CA94: 7450 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 7451 L_2B03CA97: 7452 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 7453 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 7454 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 7455 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 7456 L_2B03CAA1: 7457 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 7458 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 7459 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 7460 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 7461 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 7462 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 7463 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 7464 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 7465 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 7466 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 7467 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 7468 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 7469 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 7470 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7472 _flag_k = FK_CMP; 7473 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 7474 L_2B03CAC7: 7475 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 7476 L_2B03CACA: 7477 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 7478 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 7479 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 7480 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 7481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7483 _flag_k = FK_CMP; 7484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 7485 L_2B03CAD8: 7486 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 7487 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 7488 L_2B03CADD: 7489 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 7490 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 7491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7493 _flag_k = FK_CMP; 7494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 7495 L_2B03CAE5: 7496 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 7497 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 7498 L_2B03CAEA: 7499 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 7500 L_2B03CAEC: 7501 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 7502 L_2B03CAEF: 7503 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 7504 L_2B03CAF2: 7505 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 7506 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 7507 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 7508 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 7509 RECOMP_FLAGS_IN(); 7510 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 7511 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 7512 RECOMP_FLAGS_IN(); 7513 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 7514 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 7515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7517 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 7518 _flag_k = FK_ADD; 7519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7520 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 7521 _flag_k = FK_DEC; 7522 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 7523 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 7524 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 7525 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 7526 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 7527 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 7528 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 7529 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 7530 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 7531 RECOMP_REGS_OUT(); 7532 } 7533 7534 void sub_2B03C90B(void) { 7535 int _fpu_cmp = 0; 7536 uint32_t _cf = 0; 7537 int _df = 1; 7538 uint32_t _flag_k = FK_NONE; 7539 uint32_t _flag_a = 0, _flag_b = 0; 7540 uint32_t _itail_tgt = 0; 7541 RECOMP_REGS_LOCALS 7542 RECOMP_ENTER(0x2B03C90Bu); 7543 7544 goto L_2B03C90B; 7545 L_2B03C8A4: 7546 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 7547 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7549 _flag_k = FK_NARROW(FK_CMP, 24); 7550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 7551 L_2B03C8AD: 7552 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 7553 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 7554 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 7555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7557 _flag_k = FK_CMP; 7558 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 7559 L_2B03C8B6: 7560 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 7561 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 7562 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 7563 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7564 _cf = 0; 7565 _flag_k = FK_NARROW(FK_TEST, 24); 7566 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 7567 L_2B03C8C0: 7568 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 7569 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 7570 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 7571 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 7572 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 7573 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 7574 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 7575 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 7576 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 7577 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7579 _flag_k = FK_CMP; 7580 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 7581 L_2B03C8DC: 7582 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 7583 L_2B03C8DF: 7584 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 7585 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 7586 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 7587 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 7588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7590 _flag_k = FK_CMP; 7591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 7592 L_2B03C8ED: 7593 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 7594 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 7595 L_2B03C8F2: 7596 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 7597 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 7598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7600 _flag_k = FK_CMP; 7601 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 7602 L_2B03C8F9: 7603 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 7604 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 7605 L_2B03C8FD: 7606 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 7607 L_2B03C900: 7608 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 7609 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 7610 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 7611 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 7612 L_2B03C90B: 7613 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 7614 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 7615 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7617 _flag_k = FK_NARROW(FK_CMP, 24); 7618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 7619 L_2B03C916: 7620 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 7621 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 7622 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7624 _flag_k = FK_NARROW(FK_CMP, 24); 7625 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 7626 L_2B03C922: 7627 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 7628 L_2B03C924: 7629 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 7630 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 7631 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7632 _cf = 0; 7633 _flag_k = FK_NARROW(FK_TEST, 24); 7634 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 7635 L_2B03C92B: 7636 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 7637 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 7638 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 7639 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 7640 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 7641 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 7642 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 7643 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 7644 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 7645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7647 _flag_k = FK_CMP; 7648 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 7649 L_2B03C947: 7650 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 7651 L_2B03C94A: 7652 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 7653 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 7654 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 7655 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 7656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7658 _flag_k = FK_CMP; 7659 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 7660 L_2B03C958: 7661 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 7662 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 7663 L_2B03C95D: 7664 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 7665 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 7666 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7668 _flag_k = FK_CMP; 7669 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 7670 L_2B03C965: 7671 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 7672 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 7673 L_2B03C96A: 7674 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 7675 L_2B03C96C: 7676 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 7677 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 7678 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 7679 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 7680 L_2B03C977: 7681 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 7682 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 7683 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7685 _flag_k = FK_NARROW(FK_CMP, 24); 7686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 7687 L_2B03C983: 7688 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 7689 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 7690 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7692 _flag_k = FK_NARROW(FK_CMP, 24); 7693 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 7694 L_2B03C98E: 7695 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 7696 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 7697 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 7698 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 7699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7701 _flag_k = FK_CMP; 7702 RECOMP_BACKEDGE(); 7703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 7704 L_2B03C9A1: 7705 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 7706 L_2B03C9A6: 7707 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 7708 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 7709 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7711 _flag_k = FK_NARROW(FK_CMP, 24); 7712 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 7713 L_2B03C9AE: 7714 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 7715 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 7716 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 7717 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 7718 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 7719 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 7720 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 7721 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 7722 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7724 _flag_k = FK_CMP; 7725 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 7726 L_2B03C9C6: 7727 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 7728 L_2B03C9C9: 7729 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 7730 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 7731 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 7732 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 7733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7735 _flag_k = FK_CMP; 7736 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 7737 L_2B03C9D7: 7738 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 7739 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 7740 L_2B03C9DC: 7741 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 7742 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 7743 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7745 _flag_k = FK_CMP; 7746 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 7747 L_2B03C9E4: 7748 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 7749 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 7750 L_2B03C9E9: 7751 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 7752 L_2B03C9EB: 7753 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 7754 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 7755 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 7756 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 7757 L_2B03C9F7: 7758 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 7759 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 7760 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 7761 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 7762 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 7763 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 7764 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 7765 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 7766 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 7767 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 7768 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 7769 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 7770 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 7771 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7773 _flag_k = FK_CMP; 7774 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 7775 L_2B03CA1E: 7776 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 7777 L_2B03CA21: 7778 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 7779 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 7780 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 7781 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 7782 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7784 _flag_k = FK_CMP; 7785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 7786 L_2B03CA2F: 7787 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 7788 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 7789 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 7790 L_2B03CA39: 7791 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 7792 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 7793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7795 _flag_k = FK_CMP; 7796 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 7797 L_2B03CA40: 7798 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 7799 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 7800 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 7801 L_2B03CA49: 7802 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 7803 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 7804 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 7805 L_2B03CA53: 7806 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 7807 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 7808 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7810 _flag_k = FK_NARROW(FK_CMP, 24); 7811 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 7812 L_2B03CA5A: 7813 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 7814 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 7815 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 7816 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 7817 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 7818 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 7819 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 7820 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 7821 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7823 _flag_k = FK_CMP; 7824 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 7825 L_2B03CA73: 7826 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 7827 L_2B03CA76: 7828 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 7829 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 7830 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 7831 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 7832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7834 _flag_k = FK_CMP; 7835 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 7836 L_2B03CA84: 7837 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 7838 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 7839 L_2B03CA89: 7840 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 7841 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 7842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7844 _flag_k = FK_CMP; 7845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 7846 L_2B03CA90: 7847 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 7848 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 7849 L_2B03CA94: 7850 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 7851 L_2B03CA97: 7852 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 7853 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 7854 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 7855 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 7856 L_2B03CAA1: 7857 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 7858 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 7859 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 7860 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 7861 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 7862 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 7863 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 7864 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 7865 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 7866 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 7867 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 7868 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 7869 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 7870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7872 _flag_k = FK_CMP; 7873 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 7874 L_2B03CAC7: 7875 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 7876 L_2B03CACA: 7877 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 7878 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 7879 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 7880 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 7881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7883 _flag_k = FK_CMP; 7884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 7885 L_2B03CAD8: 7886 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 7887 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 7888 L_2B03CADD: 7889 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 7890 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 7891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7893 _flag_k = FK_CMP; 7894 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 7895 L_2B03CAE5: 7896 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 7897 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 7898 L_2B03CAEA: 7899 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 7900 L_2B03CAEC: 7901 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 7902 L_2B03CAEF: 7903 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 7904 L_2B03CAF2: 7905 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 7906 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 7907 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 7908 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 7909 RECOMP_FLAGS_IN(); 7910 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 7911 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 7912 RECOMP_FLAGS_IN(); 7913 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 7914 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 7915 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7917 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 7918 _flag_k = FK_ADD; 7919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7920 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 7921 _flag_k = FK_DEC; 7922 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 7923 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 7924 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 7925 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 7926 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 7927 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 7928 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 7929 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 7930 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 7931 RECOMP_REGS_OUT(); 7932 } 7933 7934 void sub_2B03C924(void) { 7935 int _fpu_cmp = 0; 7936 uint32_t _cf = 0; 7937 int _df = 1; 7938 uint32_t _flag_k = FK_NONE; 7939 uint32_t _flag_a = 0, _flag_b = 0; 7940 uint32_t _itail_tgt = 0; 7941 RECOMP_REGS_LOCALS 7942 RECOMP_ENTER(0x2B03C924u); 7943 7944 goto L_2B03C924; 7945 L_2B03C8A4: 7946 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 7947 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7949 _flag_k = FK_NARROW(FK_CMP, 24); 7950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 7951 L_2B03C8AD: 7952 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 7953 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 7954 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 7955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7957 _flag_k = FK_CMP; 7958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 7959 L_2B03C8B6: 7960 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 7961 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 7962 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 7963 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7964 _cf = 0; 7965 _flag_k = FK_NARROW(FK_TEST, 24); 7966 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 7967 L_2B03C8C0: 7968 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 7969 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 7970 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 7971 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 7972 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 7973 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 7974 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 7975 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 7976 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 7977 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7979 _flag_k = FK_CMP; 7980 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 7981 L_2B03C8DC: 7982 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 7983 L_2B03C8DF: 7984 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 7985 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 7986 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 7987 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 7988 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7990 _flag_k = FK_CMP; 7991 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 7992 L_2B03C8ED: 7993 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 7994 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 7995 L_2B03C8F2: 7996 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 7997 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 7998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8000 _flag_k = FK_CMP; 8001 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 8002 L_2B03C8F9: 8003 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 8004 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 8005 L_2B03C8FD: 8006 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 8007 L_2B03C900: 8008 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 8009 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 8010 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 8011 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 8012 L_2B03C90B: 8013 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 8014 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 8015 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8017 _flag_k = FK_NARROW(FK_CMP, 24); 8018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 8019 L_2B03C916: 8020 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 8021 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 8022 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8024 _flag_k = FK_NARROW(FK_CMP, 24); 8025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 8026 L_2B03C922: 8027 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 8028 L_2B03C924: 8029 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 8030 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 8031 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8032 _cf = 0; 8033 _flag_k = FK_NARROW(FK_TEST, 24); 8034 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 8035 L_2B03C92B: 8036 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 8037 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 8038 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 8039 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 8040 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 8041 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 8042 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 8043 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 8044 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 8045 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8047 _flag_k = FK_CMP; 8048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 8049 L_2B03C947: 8050 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 8051 L_2B03C94A: 8052 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 8053 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 8054 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 8055 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 8056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8058 _flag_k = FK_CMP; 8059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 8060 L_2B03C958: 8061 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 8062 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 8063 L_2B03C95D: 8064 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 8065 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 8066 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 8070 L_2B03C965: 8071 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 8072 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 8073 L_2B03C96A: 8074 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 8075 L_2B03C96C: 8076 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 8077 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 8078 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 8079 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 8080 L_2B03C977: 8081 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 8082 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 8083 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8085 _flag_k = FK_NARROW(FK_CMP, 24); 8086 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 8087 L_2B03C983: 8088 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 8089 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 8090 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8092 _flag_k = FK_NARROW(FK_CMP, 24); 8093 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 8094 L_2B03C98E: 8095 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 8096 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 8097 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 8098 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 8099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8101 _flag_k = FK_CMP; 8102 RECOMP_BACKEDGE(); 8103 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 8104 L_2B03C9A1: 8105 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 8106 L_2B03C9A6: 8107 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 8108 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 8109 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8111 _flag_k = FK_NARROW(FK_CMP, 24); 8112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 8113 L_2B03C9AE: 8114 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 8115 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 8116 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 8117 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 8118 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 8119 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 8120 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 8121 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 8122 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8124 _flag_k = FK_CMP; 8125 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 8126 L_2B03C9C6: 8127 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 8128 L_2B03C9C9: 8129 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 8130 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 8131 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 8132 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 8133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8135 _flag_k = FK_CMP; 8136 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 8137 L_2B03C9D7: 8138 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 8139 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 8140 L_2B03C9DC: 8141 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 8142 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 8143 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8145 _flag_k = FK_CMP; 8146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 8147 L_2B03C9E4: 8148 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 8149 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 8150 L_2B03C9E9: 8151 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 8152 L_2B03C9EB: 8153 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 8154 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 8155 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 8156 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 8157 L_2B03C9F7: 8158 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 8159 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 8160 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 8161 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 8162 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 8163 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 8164 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 8165 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 8166 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 8167 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 8168 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 8169 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 8170 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 8171 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8173 _flag_k = FK_CMP; 8174 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 8175 L_2B03CA1E: 8176 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 8177 L_2B03CA21: 8178 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 8179 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 8180 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 8181 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 8182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8184 _flag_k = FK_CMP; 8185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 8186 L_2B03CA2F: 8187 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 8188 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 8189 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 8190 L_2B03CA39: 8191 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 8192 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 8193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8195 _flag_k = FK_CMP; 8196 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 8197 L_2B03CA40: 8198 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 8199 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 8200 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 8201 L_2B03CA49: 8202 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 8203 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 8204 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 8205 L_2B03CA53: 8206 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 8207 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 8208 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8210 _flag_k = FK_NARROW(FK_CMP, 24); 8211 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 8212 L_2B03CA5A: 8213 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 8214 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 8215 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 8216 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 8217 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 8218 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 8219 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 8220 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 8221 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8223 _flag_k = FK_CMP; 8224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 8225 L_2B03CA73: 8226 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 8227 L_2B03CA76: 8228 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 8229 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 8230 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 8231 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 8232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8234 _flag_k = FK_CMP; 8235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 8236 L_2B03CA84: 8237 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 8238 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 8239 L_2B03CA89: 8240 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 8241 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 8242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8244 _flag_k = FK_CMP; 8245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 8246 L_2B03CA90: 8247 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 8248 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 8249 L_2B03CA94: 8250 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 8251 L_2B03CA97: 8252 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 8253 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 8254 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 8255 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 8256 L_2B03CAA1: 8257 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 8258 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 8259 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 8260 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 8261 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 8262 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 8263 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 8264 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 8265 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 8266 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 8267 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 8268 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 8269 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 8270 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8272 _flag_k = FK_CMP; 8273 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 8274 L_2B03CAC7: 8275 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 8276 L_2B03CACA: 8277 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 8278 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 8279 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 8280 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 8281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8283 _flag_k = FK_CMP; 8284 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 8285 L_2B03CAD8: 8286 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 8287 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 8288 L_2B03CADD: 8289 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 8290 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 8291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8293 _flag_k = FK_CMP; 8294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 8295 L_2B03CAE5: 8296 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 8297 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 8298 L_2B03CAEA: 8299 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 8300 L_2B03CAEC: 8301 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 8302 L_2B03CAEF: 8303 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 8304 L_2B03CAF2: 8305 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 8306 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 8307 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 8308 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 8309 RECOMP_FLAGS_IN(); 8310 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 8311 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 8312 RECOMP_FLAGS_IN(); 8313 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 8314 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 8315 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8317 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 8318 _flag_k = FK_ADD; 8319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8320 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 8321 _flag_k = FK_DEC; 8322 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 8323 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 8324 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 8325 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 8326 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 8327 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 8328 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 8329 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 8330 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 8331 RECOMP_REGS_OUT(); 8332 } 8333 8334 void sub_2B03C96C(void) { 8335 int _fpu_cmp = 0; 8336 uint32_t _cf = 0; 8337 int _df = 1; 8338 uint32_t _flag_k = FK_NONE; 8339 uint32_t _flag_a = 0, _flag_b = 0; 8340 uint32_t _itail_tgt = 0; 8341 RECOMP_REGS_LOCALS 8342 RECOMP_ENTER(0x2B03C96Cu); 8343 8344 goto L_2B03C96C; 8345 L_2B03C8A4: 8346 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 8347 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8349 _flag_k = FK_NARROW(FK_CMP, 24); 8350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 8351 L_2B03C8AD: 8352 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 8353 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 8354 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 8355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8357 _flag_k = FK_CMP; 8358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 8359 L_2B03C8B6: 8360 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 8361 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 8362 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 8363 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8364 _cf = 0; 8365 _flag_k = FK_NARROW(FK_TEST, 24); 8366 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 8367 L_2B03C8C0: 8368 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 8369 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 8370 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 8371 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 8372 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 8373 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 8374 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 8375 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 8376 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 8377 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8379 _flag_k = FK_CMP; 8380 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 8381 L_2B03C8DC: 8382 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 8383 L_2B03C8DF: 8384 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 8385 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 8386 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 8387 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 8388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8390 _flag_k = FK_CMP; 8391 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 8392 L_2B03C8ED: 8393 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 8394 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 8395 L_2B03C8F2: 8396 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 8397 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 8398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8400 _flag_k = FK_CMP; 8401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 8402 L_2B03C8F9: 8403 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 8404 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 8405 L_2B03C8FD: 8406 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 8407 L_2B03C900: 8408 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 8409 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 8410 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 8411 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 8412 L_2B03C90B: 8413 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 8414 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 8415 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8417 _flag_k = FK_NARROW(FK_CMP, 24); 8418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 8419 L_2B03C916: 8420 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 8421 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 8422 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8424 _flag_k = FK_NARROW(FK_CMP, 24); 8425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 8426 L_2B03C922: 8427 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 8428 L_2B03C924: 8429 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 8430 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 8431 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8432 _cf = 0; 8433 _flag_k = FK_NARROW(FK_TEST, 24); 8434 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 8435 L_2B03C92B: 8436 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 8437 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 8438 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 8439 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 8440 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 8441 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 8442 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 8443 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 8444 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 8445 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8447 _flag_k = FK_CMP; 8448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 8449 L_2B03C947: 8450 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 8451 L_2B03C94A: 8452 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 8453 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 8454 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 8455 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 8456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8458 _flag_k = FK_CMP; 8459 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 8460 L_2B03C958: 8461 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 8462 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 8463 L_2B03C95D: 8464 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 8465 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 8466 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8468 _flag_k = FK_CMP; 8469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 8470 L_2B03C965: 8471 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 8472 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 8473 L_2B03C96A: 8474 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 8475 L_2B03C96C: 8476 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 8477 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 8478 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 8479 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 8480 L_2B03C977: 8481 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 8482 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 8483 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8485 _flag_k = FK_NARROW(FK_CMP, 24); 8486 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 8487 L_2B03C983: 8488 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 8489 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 8490 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8492 _flag_k = FK_NARROW(FK_CMP, 24); 8493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 8494 L_2B03C98E: 8495 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 8496 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 8497 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 8498 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 8499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8501 _flag_k = FK_CMP; 8502 RECOMP_BACKEDGE(); 8503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 8504 L_2B03C9A1: 8505 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 8506 L_2B03C9A6: 8507 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 8508 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 8509 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8511 _flag_k = FK_NARROW(FK_CMP, 24); 8512 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 8513 L_2B03C9AE: 8514 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 8515 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 8516 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 8517 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 8518 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 8519 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 8520 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 8521 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 8522 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8524 _flag_k = FK_CMP; 8525 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 8526 L_2B03C9C6: 8527 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 8528 L_2B03C9C9: 8529 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 8530 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 8531 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 8532 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 8533 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8535 _flag_k = FK_CMP; 8536 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 8537 L_2B03C9D7: 8538 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 8539 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 8540 L_2B03C9DC: 8541 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 8542 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 8543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8545 _flag_k = FK_CMP; 8546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 8547 L_2B03C9E4: 8548 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 8549 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 8550 L_2B03C9E9: 8551 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 8552 L_2B03C9EB: 8553 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 8554 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 8555 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 8556 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 8557 L_2B03C9F7: 8558 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 8559 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 8560 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 8561 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 8562 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 8563 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 8564 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 8565 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 8566 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 8567 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 8568 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 8569 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 8570 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 8571 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8573 _flag_k = FK_CMP; 8574 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 8575 L_2B03CA1E: 8576 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 8577 L_2B03CA21: 8578 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 8579 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 8580 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 8581 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 8582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8584 _flag_k = FK_CMP; 8585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 8586 L_2B03CA2F: 8587 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 8588 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 8589 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 8590 L_2B03CA39: 8591 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 8592 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 8593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8595 _flag_k = FK_CMP; 8596 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 8597 L_2B03CA40: 8598 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 8599 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 8600 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 8601 L_2B03CA49: 8602 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 8603 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 8604 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 8605 L_2B03CA53: 8606 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 8607 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 8608 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8610 _flag_k = FK_NARROW(FK_CMP, 24); 8611 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 8612 L_2B03CA5A: 8613 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 8614 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 8615 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 8616 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 8617 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 8618 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 8619 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 8620 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 8621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8623 _flag_k = FK_CMP; 8624 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 8625 L_2B03CA73: 8626 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 8627 L_2B03CA76: 8628 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 8629 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 8630 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 8631 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 8632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8634 _flag_k = FK_CMP; 8635 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 8636 L_2B03CA84: 8637 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 8638 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 8639 L_2B03CA89: 8640 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 8641 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 8642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8644 _flag_k = FK_CMP; 8645 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 8646 L_2B03CA90: 8647 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 8648 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 8649 L_2B03CA94: 8650 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 8651 L_2B03CA97: 8652 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 8653 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 8654 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 8655 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 8656 L_2B03CAA1: 8657 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 8658 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 8659 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 8660 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 8661 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 8662 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 8663 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 8664 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 8665 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 8666 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 8667 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 8668 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 8669 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 8670 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8672 _flag_k = FK_CMP; 8673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 8674 L_2B03CAC7: 8675 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 8676 L_2B03CACA: 8677 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 8678 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 8679 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 8680 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 8681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8683 _flag_k = FK_CMP; 8684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 8685 L_2B03CAD8: 8686 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 8687 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 8688 L_2B03CADD: 8689 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 8690 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 8691 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8693 _flag_k = FK_CMP; 8694 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 8695 L_2B03CAE5: 8696 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 8697 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 8698 L_2B03CAEA: 8699 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 8700 L_2B03CAEC: 8701 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 8702 L_2B03CAEF: 8703 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 8704 L_2B03CAF2: 8705 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 8706 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 8707 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 8708 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 8709 RECOMP_FLAGS_IN(); 8710 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 8711 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 8712 RECOMP_FLAGS_IN(); 8713 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 8714 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 8715 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8716 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8717 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 8718 _flag_k = FK_ADD; 8719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8720 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 8721 _flag_k = FK_DEC; 8722 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 8723 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 8724 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 8725 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 8726 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 8727 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 8728 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 8729 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 8730 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 8731 RECOMP_REGS_OUT(); 8732 } 8733 8734 void sub_2B03C977(void) { 8735 int _fpu_cmp = 0; 8736 uint32_t _cf = 0; 8737 int _df = 1; 8738 uint32_t _flag_k = FK_NONE; 8739 uint32_t _flag_a = 0, _flag_b = 0; 8740 uint32_t _itail_tgt = 0; 8741 RECOMP_REGS_LOCALS 8742 RECOMP_ENTER(0x2B03C977u); 8743 8744 goto L_2B03C977; 8745 L_2B03C8A4: 8746 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 8747 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8749 _flag_k = FK_NARROW(FK_CMP, 24); 8750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 8751 L_2B03C8AD: 8752 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 8753 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 8754 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 8755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8757 _flag_k = FK_CMP; 8758 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 8759 L_2B03C8B6: 8760 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 8761 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 8762 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 8763 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8764 _cf = 0; 8765 _flag_k = FK_NARROW(FK_TEST, 24); 8766 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 8767 L_2B03C8C0: 8768 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 8769 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 8770 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 8771 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 8772 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 8773 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 8774 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 8775 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 8776 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 8777 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8779 _flag_k = FK_CMP; 8780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 8781 L_2B03C8DC: 8782 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 8783 L_2B03C8DF: 8784 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 8785 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 8786 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 8787 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 8788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8790 _flag_k = FK_CMP; 8791 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 8792 L_2B03C8ED: 8793 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 8794 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 8795 L_2B03C8F2: 8796 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 8797 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 8798 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8800 _flag_k = FK_CMP; 8801 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 8802 L_2B03C8F9: 8803 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 8804 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 8805 L_2B03C8FD: 8806 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 8807 L_2B03C900: 8808 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 8809 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 8810 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 8811 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 8812 L_2B03C90B: 8813 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 8814 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 8815 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8817 _flag_k = FK_NARROW(FK_CMP, 24); 8818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 8819 L_2B03C916: 8820 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 8821 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 8822 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8824 _flag_k = FK_NARROW(FK_CMP, 24); 8825 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 8826 L_2B03C922: 8827 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 8828 L_2B03C924: 8829 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 8830 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 8831 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8832 _cf = 0; 8833 _flag_k = FK_NARROW(FK_TEST, 24); 8834 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 8835 L_2B03C92B: 8836 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 8837 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 8838 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 8839 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 8840 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 8841 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 8842 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 8843 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 8844 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 8845 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8847 _flag_k = FK_CMP; 8848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 8849 L_2B03C947: 8850 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 8851 L_2B03C94A: 8852 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 8853 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 8854 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 8855 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 8856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8858 _flag_k = FK_CMP; 8859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 8860 L_2B03C958: 8861 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 8862 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 8863 L_2B03C95D: 8864 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 8865 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 8866 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8868 _flag_k = FK_CMP; 8869 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 8870 L_2B03C965: 8871 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 8872 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 8873 L_2B03C96A: 8874 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 8875 L_2B03C96C: 8876 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 8877 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 8878 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 8879 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 8880 L_2B03C977: 8881 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 8882 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 8883 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8885 _flag_k = FK_NARROW(FK_CMP, 24); 8886 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 8887 L_2B03C983: 8888 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 8889 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 8890 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8892 _flag_k = FK_NARROW(FK_CMP, 24); 8893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 8894 L_2B03C98E: 8895 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 8896 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 8897 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 8898 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 8899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8901 _flag_k = FK_CMP; 8902 RECOMP_BACKEDGE(); 8903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 8904 L_2B03C9A1: 8905 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 8906 L_2B03C9A6: 8907 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 8908 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 8909 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8911 _flag_k = FK_NARROW(FK_CMP, 24); 8912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 8913 L_2B03C9AE: 8914 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 8915 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 8916 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 8917 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 8918 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 8919 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 8920 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 8921 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 8922 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8924 _flag_k = FK_CMP; 8925 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 8926 L_2B03C9C6: 8927 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 8928 L_2B03C9C9: 8929 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 8930 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 8931 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 8932 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 8933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8935 _flag_k = FK_CMP; 8936 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 8937 L_2B03C9D7: 8938 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 8939 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 8940 L_2B03C9DC: 8941 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 8942 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 8943 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8945 _flag_k = FK_CMP; 8946 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 8947 L_2B03C9E4: 8948 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 8949 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 8950 L_2B03C9E9: 8951 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 8952 L_2B03C9EB: 8953 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 8954 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 8955 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 8956 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 8957 L_2B03C9F7: 8958 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 8959 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 8960 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 8961 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 8962 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 8963 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 8964 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 8965 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 8966 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 8967 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 8968 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 8969 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 8970 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 8971 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8973 _flag_k = FK_CMP; 8974 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 8975 L_2B03CA1E: 8976 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 8977 L_2B03CA21: 8978 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 8979 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 8980 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 8981 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 8982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8984 _flag_k = FK_CMP; 8985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 8986 L_2B03CA2F: 8987 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 8988 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 8989 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 8990 L_2B03CA39: 8991 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 8992 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 8993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8995 _flag_k = FK_CMP; 8996 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 8997 L_2B03CA40: 8998 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 8999 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 9000 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 9001 L_2B03CA49: 9002 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 9003 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 9004 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 9005 L_2B03CA53: 9006 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 9007 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 9008 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9010 _flag_k = FK_NARROW(FK_CMP, 24); 9011 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 9012 L_2B03CA5A: 9013 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 9014 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 9015 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 9016 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 9017 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 9018 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 9019 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 9020 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 9021 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9023 _flag_k = FK_CMP; 9024 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 9025 L_2B03CA73: 9026 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 9027 L_2B03CA76: 9028 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 9029 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 9030 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 9031 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 9032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9034 _flag_k = FK_CMP; 9035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 9036 L_2B03CA84: 9037 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 9038 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 9039 L_2B03CA89: 9040 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 9041 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 9042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9044 _flag_k = FK_CMP; 9045 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 9046 L_2B03CA90: 9047 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 9048 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 9049 L_2B03CA94: 9050 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 9051 L_2B03CA97: 9052 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 9053 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 9054 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 9055 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 9056 L_2B03CAA1: 9057 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 9058 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 9059 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 9060 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 9061 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 9062 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 9063 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 9064 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 9065 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 9066 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 9067 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 9068 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 9069 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 9070 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9072 _flag_k = FK_CMP; 9073 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 9074 L_2B03CAC7: 9075 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 9076 L_2B03CACA: 9077 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 9078 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 9079 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 9080 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 9081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9083 _flag_k = FK_CMP; 9084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 9085 L_2B03CAD8: 9086 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 9087 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 9088 L_2B03CADD: 9089 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 9090 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 9091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9093 _flag_k = FK_CMP; 9094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 9095 L_2B03CAE5: 9096 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 9097 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 9098 L_2B03CAEA: 9099 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 9100 L_2B03CAEC: 9101 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 9102 L_2B03CAEF: 9103 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9104 L_2B03CAF2: 9105 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9106 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9107 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9108 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9109 RECOMP_FLAGS_IN(); 9110 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9111 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9112 RECOMP_FLAGS_IN(); 9113 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9114 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9115 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9117 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9118 _flag_k = FK_ADD; 9119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9120 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9121 _flag_k = FK_DEC; 9122 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9123 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9124 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9125 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9126 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9127 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9128 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9129 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9130 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9131 RECOMP_REGS_OUT(); 9132 } 9133 9134 void sub_2B03C98E(void) { 9135 int _fpu_cmp = 0; 9136 uint32_t _cf = 0; 9137 int _df = 1; 9138 uint32_t _flag_k = FK_NONE; 9139 uint32_t _flag_a = 0, _flag_b = 0; 9140 uint32_t _itail_tgt = 0; 9141 RECOMP_REGS_LOCALS 9142 RECOMP_ENTER(0x2B03C98Eu); 9143 9144 goto L_2B03C98E; 9145 L_2B03C8A4: 9146 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x2B03C8A4: cmp byte ptr [eax + 0x2c], bl */ 9147 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9149 _flag_k = FK_NARROW(FK_CMP, 24); 9150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAF2; /* 0x2B03C8A7: jne 0x2b03caf2 */ 9151 L_2B03C8AD: 9152 edx = MEM32(eax + 0x4); /* 0x2B03C8AD: mov edx, dword ptr [eax + 4] */ 9153 ecx = MEM32(edx); /* 0x2B03C8B0: mov ecx, dword ptr [edx] */ 9154 /* cmp eax, ecx */ /* 0x2B03C8B2: cmp eax, ecx */ 9155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9157 _flag_k = FK_CMP; 9158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C924; /* 0x2B03C8B4: jne 0x2b03c924 */ 9159 L_2B03C8B6: 9160 ecx = MEM32(edx + 0x8); /* 0x2B03C8B6: mov ecx, dword ptr [edx + 8] */ 9161 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C8B9: mov dl, byte ptr [ecx + 0x2c] */ 9162 /* test LO8(edx), LO8(edx) */ /* 0x2B03C8BC: test dl, dl */ 9163 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9164 _cf = 0; 9165 _flag_k = FK_NARROW(FK_TEST, 24); 9166 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C90B; /* 0x2B03C8BE: jne 0x2b03c90b */ 9167 L_2B03C8C0: 9168 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C8C0: mov byte ptr [ecx + 0x2c], bl */ 9169 edx = MEM32(eax + 0x4); /* 0x2B03C8C3: mov edx, dword ptr [eax + 4] */ 9170 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03C8C6: mov byte ptr [edx + 0x2c], 0 */ 9171 ecx = MEM32(eax + 0x4); /* 0x2B03C8CA: mov ecx, dword ptr [eax + 4] */ 9172 edx = MEM32(ecx + 0x8); /* 0x2B03C8CD: mov edx, dword ptr [ecx + 8] */ 9173 esi = MEM32(edx); /* 0x2B03C8D0: mov esi, dword ptr [edx] */ 9174 MEM32(ecx + 0x8) = esi; /* 0x2B03C8D2: mov dword ptr [ecx + 8], esi */ 9175 esi = MEM32(edx); /* 0x2B03C8D5: mov esi, dword ptr [edx] */ 9176 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C8D7: cmp esi, dword ptr [edi + 8] */ 9177 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9179 _flag_k = FK_CMP; 9180 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C8DF; /* 0x2B03C8DA: je 0x2b03c8df */ 9181 L_2B03C8DC: 9182 MEM32(esi + 0x4) = ecx; /* 0x2B03C8DC: mov dword ptr [esi + 4], ecx */ 9183 L_2B03C8DF: 9184 esi = MEM32(ecx + 0x4); /* 0x2B03C8DF: mov esi, dword ptr [ecx + 4] */ 9185 MEM32(edx + 0x4) = esi; /* 0x2B03C8E2: mov dword ptr [edx + 4], esi */ 9186 esi = MEM32(edi + 0x4); /* 0x2B03C8E5: mov esi, dword ptr [edi + 4] */ 9187 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C8E8: cmp ecx, dword ptr [esi + 4] */ 9188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9190 _flag_k = FK_CMP; 9191 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8F2; /* 0x2B03C8EB: jne 0x2b03c8f2 */ 9192 L_2B03C8ED: 9193 MEM32(esi + 0x4) = edx; /* 0x2B03C8ED: mov dword ptr [esi + 4], edx */ 9194 goto L_2B03C900; /* 0x2B03C8F0: jmp 0x2b03c900 */ 9195 L_2B03C8F2: 9196 esi = MEM32(ecx + 0x4); /* 0x2B03C8F2: mov esi, dword ptr [ecx + 4] */ 9197 /* cmp ecx, MEM32(esi) */ /* 0x2B03C8F5: cmp ecx, dword ptr [esi] */ 9198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9200 _flag_k = FK_CMP; 9201 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8FD; /* 0x2B03C8F7: jne 0x2b03c8fd */ 9202 L_2B03C8F9: 9203 MEM32(esi) = edx; /* 0x2B03C8F9: mov dword ptr [esi], edx */ 9204 goto L_2B03C900; /* 0x2B03C8FB: jmp 0x2b03c900 */ 9205 L_2B03C8FD: 9206 MEM32(esi + 0x8) = edx; /* 0x2B03C8FD: mov dword ptr [esi + 8], edx */ 9207 L_2B03C900: 9208 MEM32(edx) = ecx; /* 0x2B03C900: mov dword ptr [edx], ecx */ 9209 MEM32(ecx + 0x4) = edx; /* 0x2B03C902: mov dword ptr [ecx + 4], edx */ 9210 ecx = MEM32(eax + 0x4); /* 0x2B03C905: mov ecx, dword ptr [eax + 4] */ 9211 ecx = MEM32(ecx + 0x8); /* 0x2B03C908: mov ecx, dword ptr [ecx + 8] */ 9212 L_2B03C90B: 9213 edx = MEM32(ecx); /* 0x2B03C90B: mov edx, dword ptr [ecx] */ 9214 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C90D: cmp byte ptr [edx + 0x2c], bl */ 9215 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9217 _flag_k = FK_NARROW(FK_CMP, 24); 9218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C910: jne 0x2b03c9a6 */ 9219 L_2B03C916: 9220 edx = MEM32(ecx + 0x8); /* 0x2B03C916: mov edx, dword ptr [ecx + 8] */ 9221 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C919: cmp byte ptr [edx + 0x2c], bl */ 9222 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9224 _flag_k = FK_NARROW(FK_CMP, 24); 9225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9A6; /* 0x2B03C91C: jne 0x2b03c9a6 */ 9226 L_2B03C922: 9227 goto L_2B03C98E; /* 0x2B03C922: jmp 0x2b03c98e */ 9228 L_2B03C924: 9229 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03C924: mov dl, byte ptr [ecx + 0x2c] */ 9230 /* test LO8(edx), LO8(edx) */ /* 0x2B03C927: test dl, dl */ 9231 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9232 _cf = 0; 9233 _flag_k = FK_NARROW(FK_TEST, 24); 9234 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03C977; /* 0x2B03C929: jne 0x2b03c977 */ 9235 L_2B03C92B: 9236 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C92B: mov byte ptr [ecx + 0x2c], bl */ 9237 ecx = MEM32(eax + 0x4); /* 0x2B03C92E: mov ecx, dword ptr [eax + 4] */ 9238 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C931: mov byte ptr [ecx + 0x2c], 0 */ 9239 ecx = MEM32(eax + 0x4); /* 0x2B03C935: mov ecx, dword ptr [eax + 4] */ 9240 edx = MEM32(ecx); /* 0x2B03C938: mov edx, dword ptr [ecx] */ 9241 esi = MEM32(edx + 0x8); /* 0x2B03C93A: mov esi, dword ptr [edx + 8] */ 9242 MEM32(ecx) = esi; /* 0x2B03C93D: mov dword ptr [ecx], esi */ 9243 esi = MEM32(edx + 0x8); /* 0x2B03C93F: mov esi, dword ptr [edx + 8] */ 9244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C942: cmp esi, dword ptr [edi + 8] */ 9245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9247 _flag_k = FK_CMP; 9248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C94A; /* 0x2B03C945: je 0x2b03c94a */ 9249 L_2B03C947: 9250 MEM32(esi + 0x4) = ecx; /* 0x2B03C947: mov dword ptr [esi + 4], ecx */ 9251 L_2B03C94A: 9252 esi = MEM32(ecx + 0x4); /* 0x2B03C94A: mov esi, dword ptr [ecx + 4] */ 9253 MEM32(edx + 0x4) = esi; /* 0x2B03C94D: mov dword ptr [edx + 4], esi */ 9254 esi = MEM32(edi + 0x4); /* 0x2B03C950: mov esi, dword ptr [edi + 4] */ 9255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C953: cmp ecx, dword ptr [esi + 4] */ 9256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9258 _flag_k = FK_CMP; 9259 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C95D; /* 0x2B03C956: jne 0x2b03c95d */ 9260 L_2B03C958: 9261 MEM32(esi + 0x4) = edx; /* 0x2B03C958: mov dword ptr [esi + 4], edx */ 9262 goto L_2B03C96C; /* 0x2B03C95B: jmp 0x2b03c96c */ 9263 L_2B03C95D: 9264 esi = MEM32(ecx + 0x4); /* 0x2B03C95D: mov esi, dword ptr [ecx + 4] */ 9265 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C960: cmp ecx, dword ptr [esi + 8] */ 9266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9268 _flag_k = FK_CMP; 9269 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C96A; /* 0x2B03C963: jne 0x2b03c96a */ 9270 L_2B03C965: 9271 MEM32(esi + 0x8) = edx; /* 0x2B03C965: mov dword ptr [esi + 8], edx */ 9272 goto L_2B03C96C; /* 0x2B03C968: jmp 0x2b03c96c */ 9273 L_2B03C96A: 9274 MEM32(esi) = edx; /* 0x2B03C96A: mov dword ptr [esi], edx */ 9275 L_2B03C96C: 9276 MEM32(edx + 0x8) = ecx; /* 0x2B03C96C: mov dword ptr [edx + 8], ecx */ 9277 MEM32(ecx + 0x4) = edx; /* 0x2B03C96F: mov dword ptr [ecx + 4], edx */ 9278 edx = MEM32(eax + 0x4); /* 0x2B03C972: mov edx, dword ptr [eax + 4] */ 9279 ecx = MEM32(edx); /* 0x2B03C975: mov ecx, dword ptr [edx] */ 9280 L_2B03C977: 9281 edx = MEM32(ecx + 0x8); /* 0x2B03C977: mov edx, dword ptr [ecx + 8] */ 9282 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C97A: cmp byte ptr [edx + 0x2c], bl */ 9283 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9285 _flag_k = FK_NARROW(FK_CMP, 24); 9286 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C97D: jne 0x2b03ca53 */ 9287 L_2B03C983: 9288 edx = MEM32(ecx); /* 0x2B03C983: mov edx, dword ptr [ecx] */ 9289 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C985: cmp byte ptr [edx + 0x2c], bl */ 9290 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9292 _flag_k = FK_NARROW(FK_CMP, 24); 9293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA53; /* 0x2B03C988: jne 0x2b03ca53 */ 9294 L_2B03C98E: 9295 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C98E: mov byte ptr [ecx + 0x2c], 0 */ 9296 ecx = MEM32(edi + 0x4); /* 0x2B03C992: mov ecx, dword ptr [edi + 4] */ 9297 eax = MEM32(eax + 0x4); /* 0x2B03C995: mov eax, dword ptr [eax + 4] */ 9298 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03C998: cmp eax, dword ptr [ecx + 4] */ 9299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9301 _flag_k = FK_CMP; 9302 RECOMP_BACKEDGE(); 9303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C8A4; /* 0x2B03C99B: jne 0x2b03c8a4 */ 9304 L_2B03C9A1: 9305 goto L_2B03CAF2; /* 0x2B03C9A1: jmp 0x2b03caf2 */ 9306 L_2B03C9A6: 9307 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 9308 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 9309 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9311 _flag_k = FK_NARROW(FK_CMP, 24); 9312 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 9313 L_2B03C9AE: 9314 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 9315 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 9316 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 9317 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 9318 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 9319 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 9320 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 9321 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 9322 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9324 _flag_k = FK_CMP; 9325 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 9326 L_2B03C9C6: 9327 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 9328 L_2B03C9C9: 9329 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 9330 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 9331 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 9332 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 9333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9335 _flag_k = FK_CMP; 9336 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 9337 L_2B03C9D7: 9338 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 9339 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 9340 L_2B03C9DC: 9341 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 9342 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 9343 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9345 _flag_k = FK_CMP; 9346 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 9347 L_2B03C9E4: 9348 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 9349 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 9350 L_2B03C9E9: 9351 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 9352 L_2B03C9EB: 9353 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 9354 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 9355 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 9356 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 9357 L_2B03C9F7: 9358 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 9359 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 9360 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 9361 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 9362 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 9363 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 9364 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 9365 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 9366 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 9367 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 9368 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 9369 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 9370 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 9371 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9373 _flag_k = FK_CMP; 9374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 9375 L_2B03CA1E: 9376 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 9377 L_2B03CA21: 9378 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 9379 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 9380 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 9381 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 9382 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9384 _flag_k = FK_CMP; 9385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 9386 L_2B03CA2F: 9387 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 9388 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 9389 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 9390 L_2B03CA39: 9391 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 9392 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 9393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9395 _flag_k = FK_CMP; 9396 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 9397 L_2B03CA40: 9398 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 9399 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 9400 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 9401 L_2B03CA49: 9402 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 9403 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 9404 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 9405 L_2B03CA53: 9406 edx = MEM32(ecx); /* 0x2B03CA53: mov edx, dword ptr [ecx] */ 9407 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03CA55: cmp byte ptr [edx + 0x2c], bl */ 9408 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9410 _flag_k = FK_NARROW(FK_CMP, 24); 9411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAA1; /* 0x2B03CA58: jne 0x2b03caa1 */ 9412 L_2B03CA5A: 9413 edx = MEM32(ecx + 0x8); /* 0x2B03CA5A: mov edx, dword ptr [ecx + 8] */ 9414 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA5D: mov byte ptr [edx + 0x2c], bl */ 9415 edx = MEM32(ecx + 0x8); /* 0x2B03CA60: mov edx, dword ptr [ecx + 8] */ 9416 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CA63: mov byte ptr [ecx + 0x2c], 0 */ 9417 esi = MEM32(edx); /* 0x2B03CA67: mov esi, dword ptr [edx] */ 9418 MEM32(ecx + 0x8) = esi; /* 0x2B03CA69: mov dword ptr [ecx + 8], esi */ 9419 esi = MEM32(edx); /* 0x2B03CA6C: mov esi, dword ptr [edx] */ 9420 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA6E: cmp esi, dword ptr [edi + 8] */ 9421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9423 _flag_k = FK_CMP; 9424 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA76; /* 0x2B03CA71: je 0x2b03ca76 */ 9425 L_2B03CA73: 9426 MEM32(esi + 0x4) = ecx; /* 0x2B03CA73: mov dword ptr [esi + 4], ecx */ 9427 L_2B03CA76: 9428 esi = MEM32(ecx + 0x4); /* 0x2B03CA76: mov esi, dword ptr [ecx + 4] */ 9429 MEM32(edx + 0x4) = esi; /* 0x2B03CA79: mov dword ptr [edx + 4], esi */ 9430 esi = MEM32(edi + 0x4); /* 0x2B03CA7C: mov esi, dword ptr [edi + 4] */ 9431 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA7F: cmp ecx, dword ptr [esi + 4] */ 9432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9434 _flag_k = FK_CMP; 9435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA89; /* 0x2B03CA82: jne 0x2b03ca89 */ 9436 L_2B03CA84: 9437 MEM32(esi + 0x4) = edx; /* 0x2B03CA84: mov dword ptr [esi + 4], edx */ 9438 goto L_2B03CA97; /* 0x2B03CA87: jmp 0x2b03ca97 */ 9439 L_2B03CA89: 9440 esi = MEM32(ecx + 0x4); /* 0x2B03CA89: mov esi, dword ptr [ecx + 4] */ 9441 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA8C: cmp ecx, dword ptr [esi] */ 9442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9444 _flag_k = FK_CMP; 9445 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA94; /* 0x2B03CA8E: jne 0x2b03ca94 */ 9446 L_2B03CA90: 9447 MEM32(esi) = edx; /* 0x2B03CA90: mov dword ptr [esi], edx */ 9448 goto L_2B03CA97; /* 0x2B03CA92: jmp 0x2b03ca97 */ 9449 L_2B03CA94: 9450 MEM32(esi + 0x8) = edx; /* 0x2B03CA94: mov dword ptr [esi + 8], edx */ 9451 L_2B03CA97: 9452 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 9453 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 9454 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 9455 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 9456 L_2B03CAA1: 9457 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 9458 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 9459 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 9460 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 9461 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 9462 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 9463 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 9464 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 9465 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 9466 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 9467 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 9468 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 9469 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 9470 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9472 _flag_k = FK_CMP; 9473 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 9474 L_2B03CAC7: 9475 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 9476 L_2B03CACA: 9477 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 9478 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 9479 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 9480 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 9481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9483 _flag_k = FK_CMP; 9484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 9485 L_2B03CAD8: 9486 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 9487 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 9488 L_2B03CADD: 9489 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 9490 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 9491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9493 _flag_k = FK_CMP; 9494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 9495 L_2B03CAE5: 9496 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 9497 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 9498 L_2B03CAEA: 9499 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 9500 L_2B03CAEC: 9501 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 9502 L_2B03CAEF: 9503 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9504 L_2B03CAF2: 9505 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9506 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9507 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9508 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9509 RECOMP_FLAGS_IN(); 9510 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9511 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9512 RECOMP_FLAGS_IN(); 9513 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9514 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9517 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9518 _flag_k = FK_ADD; 9519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9520 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9521 _flag_k = FK_DEC; 9522 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9523 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9524 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9525 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9526 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9527 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9528 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9529 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9530 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9531 RECOMP_REGS_OUT(); 9532 } 9533 9534 void sub_2B03C9A6(void) { 9535 int _fpu_cmp = 0; 9536 uint32_t _cf = 0; 9537 int _df = 1; 9538 uint32_t _flag_k = FK_NONE; 9539 uint32_t _flag_a = 0, _flag_b = 0; 9540 uint32_t _itail_tgt = 0; 9541 RECOMP_REGS_LOCALS 9542 RECOMP_ENTER(0x2B03C9A6u); 9543 9544 L_2B03C9A6: 9545 edx = MEM32(ecx + 0x8); /* 0x2B03C9A6: mov edx, dword ptr [ecx + 8] */ 9546 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x2B03C9A9: cmp byte ptr [edx + 0x2c], bl */ 9547 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9549 _flag_k = FK_NARROW(FK_CMP, 24); 9550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9F7; /* 0x2B03C9AC: jne 0x2b03c9f7 */ 9551 L_2B03C9AE: 9552 edx = MEM32(ecx); /* 0x2B03C9AE: mov edx, dword ptr [ecx] */ 9553 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03C9B0: mov byte ptr [edx + 0x2c], bl */ 9554 edx = MEM32(ecx); /* 0x2B03C9B3: mov edx, dword ptr [ecx] */ 9555 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03C9B5: mov byte ptr [ecx + 0x2c], 0 */ 9556 esi = MEM32(edx + 0x8); /* 0x2B03C9B9: mov esi, dword ptr [edx + 8] */ 9557 MEM32(ecx) = esi; /* 0x2B03C9BC: mov dword ptr [ecx], esi */ 9558 esi = MEM32(edx + 0x8); /* 0x2B03C9BE: mov esi, dword ptr [edx + 8] */ 9559 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03C9C1: cmp esi, dword ptr [edi + 8] */ 9560 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9562 _flag_k = FK_CMP; 9563 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C9C9; /* 0x2B03C9C4: je 0x2b03c9c9 */ 9564 L_2B03C9C6: 9565 MEM32(esi + 0x4) = ecx; /* 0x2B03C9C6: mov dword ptr [esi + 4], ecx */ 9566 L_2B03C9C9: 9567 esi = MEM32(ecx + 0x4); /* 0x2B03C9C9: mov esi, dword ptr [ecx + 4] */ 9568 MEM32(edx + 0x4) = esi; /* 0x2B03C9CC: mov dword ptr [edx + 4], esi */ 9569 esi = MEM32(edi + 0x4); /* 0x2B03C9CF: mov esi, dword ptr [edi + 4] */ 9570 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03C9D2: cmp ecx, dword ptr [esi + 4] */ 9571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9573 _flag_k = FK_CMP; 9574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9DC; /* 0x2B03C9D5: jne 0x2b03c9dc */ 9575 L_2B03C9D7: 9576 MEM32(esi + 0x4) = edx; /* 0x2B03C9D7: mov dword ptr [esi + 4], edx */ 9577 goto L_2B03C9EB; /* 0x2B03C9DA: jmp 0x2b03c9eb */ 9578 L_2B03C9DC: 9579 esi = MEM32(ecx + 0x4); /* 0x2B03C9DC: mov esi, dword ptr [ecx + 4] */ 9580 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03C9DF: cmp ecx, dword ptr [esi + 8] */ 9581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9583 _flag_k = FK_CMP; 9584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03C9E9; /* 0x2B03C9E2: jne 0x2b03c9e9 */ 9585 L_2B03C9E4: 9586 MEM32(esi + 0x8) = edx; /* 0x2B03C9E4: mov dword ptr [esi + 8], edx */ 9587 goto L_2B03C9EB; /* 0x2B03C9E7: jmp 0x2b03c9eb */ 9588 L_2B03C9E9: 9589 MEM32(esi) = edx; /* 0x2B03C9E9: mov dword ptr [esi], edx */ 9590 L_2B03C9EB: 9591 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 9592 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 9593 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 9594 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 9595 L_2B03C9F7: 9596 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 9597 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 9598 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 9599 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 9600 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 9601 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 9602 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 9603 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 9604 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 9605 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 9606 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 9607 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 9608 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 9609 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9611 _flag_k = FK_CMP; 9612 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 9613 L_2B03CA1E: 9614 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 9615 L_2B03CA21: 9616 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 9617 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 9618 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 9619 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 9620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9622 _flag_k = FK_CMP; 9623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 9624 L_2B03CA2F: 9625 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 9626 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 9627 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 9628 L_2B03CA39: 9629 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 9630 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 9631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9633 _flag_k = FK_CMP; 9634 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 9635 L_2B03CA40: 9636 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 9637 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 9638 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 9639 L_2B03CA49: 9640 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 9641 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 9642 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 9643 L_2B03CAEF: 9644 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9645 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9646 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9647 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9648 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9649 RECOMP_FLAGS_IN(); 9650 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9651 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9652 RECOMP_FLAGS_IN(); 9653 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9654 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9657 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9658 _flag_k = FK_ADD; 9659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9660 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9661 _flag_k = FK_DEC; 9662 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9663 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9664 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9665 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9666 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9667 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9668 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9669 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9670 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9671 RECOMP_REGS_OUT(); 9672 } 9673 9674 void sub_2B03C9EB(void) { 9675 int _fpu_cmp = 0; 9676 uint32_t _cf = 0; 9677 int _df = 1; 9678 uint32_t _flag_k = FK_NONE; 9679 uint32_t _flag_a = 0, _flag_b = 0; 9680 uint32_t _itail_tgt = 0; 9681 RECOMP_REGS_LOCALS 9682 RECOMP_ENTER(0x2B03C9EBu); 9683 9684 L_2B03C9EB: 9685 MEM32(edx + 0x8) = ecx; /* 0x2B03C9EB: mov dword ptr [edx + 8], ecx */ 9686 MEM32(ecx + 0x4) = edx; /* 0x2B03C9EE: mov dword ptr [ecx + 4], edx */ 9687 ecx = MEM32(eax + 0x4); /* 0x2B03C9F1: mov ecx, dword ptr [eax + 4] */ 9688 ecx = MEM32(ecx + 0x8); /* 0x2B03C9F4: mov ecx, dword ptr [ecx + 8] */ 9689 edx = MEM32(eax + 0x4); /* 0x2B03C9F7: mov edx, dword ptr [eax + 4] */ 9690 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03C9FA: mov dl, byte ptr [edx + 0x2c] */ 9691 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03C9FD: mov byte ptr [ecx + 0x2c], dl */ 9692 edx = MEM32(eax + 0x4); /* 0x2B03CA00: mov edx, dword ptr [eax + 4] */ 9693 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA03: mov byte ptr [edx + 0x2c], bl */ 9694 ecx = MEM32(ecx + 0x8); /* 0x2B03CA06: mov ecx, dword ptr [ecx + 8] */ 9695 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CA09: mov byte ptr [ecx + 0x2c], bl */ 9696 ecx = MEM32(eax + 0x4); /* 0x2B03CA0C: mov ecx, dword ptr [eax + 4] */ 9697 edx = MEM32(ecx + 0x8); /* 0x2B03CA0F: mov edx, dword ptr [ecx + 8] */ 9698 esi = MEM32(edx); /* 0x2B03CA12: mov esi, dword ptr [edx] */ 9699 MEM32(ecx + 0x8) = esi; /* 0x2B03CA14: mov dword ptr [ecx + 8], esi */ 9700 esi = MEM32(edx); /* 0x2B03CA17: mov esi, dword ptr [edx] */ 9701 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CA19: cmp esi, dword ptr [edi + 8] */ 9702 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9704 _flag_k = FK_CMP; 9705 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CA21; /* 0x2B03CA1C: je 0x2b03ca21 */ 9706 L_2B03CA1E: 9707 MEM32(esi + 0x4) = ecx; /* 0x2B03CA1E: mov dword ptr [esi + 4], ecx */ 9708 L_2B03CA21: 9709 esi = MEM32(ecx + 0x4); /* 0x2B03CA21: mov esi, dword ptr [ecx + 4] */ 9710 MEM32(edx + 0x4) = esi; /* 0x2B03CA24: mov dword ptr [edx + 4], esi */ 9711 esi = MEM32(edi + 0x4); /* 0x2B03CA27: mov esi, dword ptr [edi + 4] */ 9712 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CA2A: cmp ecx, dword ptr [esi + 4] */ 9713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9715 _flag_k = FK_CMP; 9716 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA39; /* 0x2B03CA2D: jne 0x2b03ca39 */ 9717 L_2B03CA2F: 9718 MEM32(esi + 0x4) = edx; /* 0x2B03CA2F: mov dword ptr [esi + 4], edx */ 9719 MEM32(edx) = ecx; /* 0x2B03CA32: mov dword ptr [edx], ecx */ 9720 goto L_2B03CAEF; /* 0x2B03CA34: jmp 0x2b03caef */ 9721 L_2B03CA39: 9722 esi = MEM32(ecx + 0x4); /* 0x2B03CA39: mov esi, dword ptr [ecx + 4] */ 9723 /* cmp ecx, MEM32(esi) */ /* 0x2B03CA3C: cmp ecx, dword ptr [esi] */ 9724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9726 _flag_k = FK_CMP; 9727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CA49; /* 0x2B03CA3E: jne 0x2b03ca49 */ 9728 L_2B03CA40: 9729 MEM32(esi) = edx; /* 0x2B03CA40: mov dword ptr [esi], edx */ 9730 MEM32(edx) = ecx; /* 0x2B03CA42: mov dword ptr [edx], ecx */ 9731 goto L_2B03CAEF; /* 0x2B03CA44: jmp 0x2b03caef */ 9732 L_2B03CA49: 9733 MEM32(esi + 0x8) = edx; /* 0x2B03CA49: mov dword ptr [esi + 8], edx */ 9734 MEM32(edx) = ecx; /* 0x2B03CA4C: mov dword ptr [edx], ecx */ 9735 goto L_2B03CAEF; /* 0x2B03CA4E: jmp 0x2b03caef */ 9736 L_2B03CAEF: 9737 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9738 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9739 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9740 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9741 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9742 RECOMP_FLAGS_IN(); 9743 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9744 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9745 RECOMP_FLAGS_IN(); 9746 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9747 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9748 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9749 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9750 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9751 _flag_k = FK_ADD; 9752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9753 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9754 _flag_k = FK_DEC; 9755 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9756 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9757 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9758 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9759 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9760 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9761 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9762 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9763 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9764 RECOMP_REGS_OUT(); 9765 } 9766 9767 void sub_2B03CA97(void) { 9768 int _fpu_cmp = 0; 9769 uint32_t _cf = 0; 9770 int _df = 1; 9771 uint32_t _flag_k = FK_NONE; 9772 uint32_t _flag_a = 0, _flag_b = 0; 9773 uint32_t _itail_tgt = 0; 9774 RECOMP_REGS_LOCALS 9775 RECOMP_ENTER(0x2B03CA97u); 9776 9777 L_2B03CA97: 9778 MEM32(edx) = ecx; /* 0x2B03CA97: mov dword ptr [edx], ecx */ 9779 MEM32(ecx + 0x4) = edx; /* 0x2B03CA99: mov dword ptr [ecx + 4], edx */ 9780 ecx = MEM32(eax + 0x4); /* 0x2B03CA9C: mov ecx, dword ptr [eax + 4] */ 9781 ecx = MEM32(ecx); /* 0x2B03CA9F: mov ecx, dword ptr [ecx] */ 9782 edx = MEM32(eax + 0x4); /* 0x2B03CAA1: mov edx, dword ptr [eax + 4] */ 9783 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x2B03CAA4: mov dl, byte ptr [edx + 0x2c] */ 9784 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x2B03CAA7: mov byte ptr [ecx + 0x2c], dl */ 9785 edx = MEM32(eax + 0x4); /* 0x2B03CAAA: mov edx, dword ptr [eax + 4] */ 9786 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAAD: mov byte ptr [edx + 0x2c], bl */ 9787 ecx = MEM32(ecx); /* 0x2B03CAB0: mov ecx, dword ptr [ecx] */ 9788 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAB2: mov byte ptr [ecx + 0x2c], bl */ 9789 ecx = MEM32(eax + 0x4); /* 0x2B03CAB5: mov ecx, dword ptr [eax + 4] */ 9790 edx = MEM32(ecx); /* 0x2B03CAB8: mov edx, dword ptr [ecx] */ 9791 esi = MEM32(edx + 0x8); /* 0x2B03CABA: mov esi, dword ptr [edx + 8] */ 9792 MEM32(ecx) = esi; /* 0x2B03CABD: mov dword ptr [ecx], esi */ 9793 esi = MEM32(edx + 0x8); /* 0x2B03CABF: mov esi, dword ptr [edx + 8] */ 9794 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B03CAC2: cmp esi, dword ptr [edi + 8] */ 9795 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9797 _flag_k = FK_CMP; 9798 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CACA; /* 0x2B03CAC5: je 0x2b03caca */ 9799 L_2B03CAC7: 9800 MEM32(esi + 0x4) = ecx; /* 0x2B03CAC7: mov dword ptr [esi + 4], ecx */ 9801 L_2B03CACA: 9802 esi = MEM32(ecx + 0x4); /* 0x2B03CACA: mov esi, dword ptr [ecx + 4] */ 9803 MEM32(edx + 0x4) = esi; /* 0x2B03CACD: mov dword ptr [edx + 4], esi */ 9804 esi = MEM32(edi + 0x4); /* 0x2B03CAD0: mov esi, dword ptr [edi + 4] */ 9805 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B03CAD3: cmp ecx, dword ptr [esi + 4] */ 9806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9808 _flag_k = FK_CMP; 9809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CADD; /* 0x2B03CAD6: jne 0x2b03cadd */ 9810 L_2B03CAD8: 9811 MEM32(esi + 0x4) = edx; /* 0x2B03CAD8: mov dword ptr [esi + 4], edx */ 9812 goto L_2B03CAEC; /* 0x2B03CADB: jmp 0x2b03caec */ 9813 L_2B03CADD: 9814 esi = MEM32(ecx + 0x4); /* 0x2B03CADD: mov esi, dword ptr [ecx + 4] */ 9815 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B03CAE0: cmp ecx, dword ptr [esi + 8] */ 9816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9818 _flag_k = FK_CMP; 9819 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CAEA; /* 0x2B03CAE3: jne 0x2b03caea */ 9820 L_2B03CAE5: 9821 MEM32(esi + 0x8) = edx; /* 0x2B03CAE5: mov dword ptr [esi + 8], edx */ 9822 goto L_2B03CAEC; /* 0x2B03CAE8: jmp 0x2b03caec */ 9823 L_2B03CAEA: 9824 MEM32(esi) = edx; /* 0x2B03CAEA: mov dword ptr [esi], edx */ 9825 L_2B03CAEC: 9826 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 9827 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9828 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9829 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9830 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9831 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9832 RECOMP_FLAGS_IN(); 9833 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9834 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9835 RECOMP_FLAGS_IN(); 9836 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9837 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9838 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9840 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9841 _flag_k = FK_ADD; 9842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9843 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9844 _flag_k = FK_DEC; 9845 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9846 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9847 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9848 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9849 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9850 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9851 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9852 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9853 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9854 RECOMP_REGS_OUT(); 9855 } 9856 9857 void sub_2B03CAEC(void) { 9858 int _fpu_cmp = 0; 9859 uint32_t _cf = 0; 9860 int _df = 1; 9861 uint32_t _flag_k = FK_NONE; 9862 uint32_t _flag_a = 0, _flag_b = 0; 9863 uint32_t _itail_tgt = 0; 9864 RECOMP_REGS_LOCALS 9865 RECOMP_ENTER(0x2B03CAECu); 9866 9867 L_2B03CAEC: 9868 MEM32(edx + 0x8) = ecx; /* 0x2B03CAEC: mov dword ptr [edx + 8], ecx */ 9869 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9870 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9871 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9872 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9873 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9874 RECOMP_FLAGS_IN(); 9875 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9876 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9877 RECOMP_FLAGS_IN(); 9878 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9879 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9880 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9881 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9882 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9883 _flag_k = FK_ADD; 9884 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9885 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9886 _flag_k = FK_DEC; 9887 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9888 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9889 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9890 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9891 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9892 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9893 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9894 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9895 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9896 RECOMP_REGS_OUT(); 9897 } 9898 9899 void sub_2B03CAEF(void) { 9900 int _fpu_cmp = 0; 9901 uint32_t _cf = 0; 9902 int _df = 1; 9903 uint32_t _flag_k = FK_NONE; 9904 uint32_t _flag_a = 0, _flag_b = 0; 9905 uint32_t _itail_tgt = 0; 9906 RECOMP_REGS_LOCALS 9907 RECOMP_ENTER(0x2B03CAEFu); 9908 9909 L_2B03CAEF: 9910 MEM32(ecx + 0x4) = edx; /* 0x2B03CAEF: mov dword ptr [ecx + 4], edx */ 9911 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9912 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9913 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9914 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9915 RECOMP_FLAGS_IN(); 9916 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9917 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9918 RECOMP_FLAGS_IN(); 9919 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9920 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9921 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9922 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9923 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9924 _flag_k = FK_ADD; 9925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9926 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9927 _flag_k = FK_DEC; 9928 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9929 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9930 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9931 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9932 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9933 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9934 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9935 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9936 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9937 RECOMP_REGS_OUT(); 9938 } 9939 9940 void sub_2B03CAF2(void) { 9941 int _fpu_cmp = 0; 9942 uint32_t _cf = 0; 9943 int _df = 1; 9944 uint32_t _flag_k = FK_NONE; 9945 uint32_t _flag_a = 0, _flag_b = 0; 9946 uint32_t _itail_tgt = 0; 9947 RECOMP_REGS_LOCALS 9948 RECOMP_ENTER(0x2B03CAF2u); 9949 9950 L_2B03CAF2: 9951 esi = MEM32(ebp + (-0x4)); /* 0x2B03CAF2: mov esi, dword ptr [ebp - 4] */ 9952 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CAF5: mov byte ptr [eax + 0x2c], bl */ 9953 ecx = esi + 0xC; /* 0x2B03CAF8: lea ecx, [esi + 0xc] */ 9954 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CAFB: call 0x2b03c490 */ /* not lifted */ 9955 RECOMP_FLAGS_IN(); 9956 PUSH32(esp, esi); /* 0x2B03CB00: push esi */ 9957 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB01: call 0x2b0ab1ba */ /* not lifted */ 9958 RECOMP_FLAGS_IN(); 9959 eax = MEM32(edi + 0x10); /* 0x2B03CB06: mov eax, dword ptr [edi + 0x10] */ 9960 edx = MEM32(ebp + 0xC); /* 0x2B03CB09: mov edx, dword ptr [ebp + 0xc] */ 9961 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9963 esp = esp + 4; /* 0x2B03CB0C: add esp, 4 */ 9964 _flag_k = FK_ADD; 9965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9966 eax = eax - 1; /* 0x2B03CB0F: dec eax */ 9967 _flag_k = FK_DEC; 9968 MEM32(edi + 0x10) = eax; /* 0x2B03CB10: mov dword ptr [edi + 0x10], eax */ 9969 eax = MEM32(ebp + 0x8); /* 0x2B03CB13: mov eax, dword ptr [ebp + 8] */ 9970 edi = POP32_VAL(esp); /* 0x2B03CB16: pop edi */ 9971 esi = POP32_VAL(esp); /* 0x2B03CB17: pop esi */ 9972 MEM32(eax) = edx; /* 0x2B03CB18: mov dword ptr [eax], edx */ 9973 ebx = POP32_VAL(esp); /* 0x2B03CB1A: pop ebx */ 9974 esp = ebp; /* 0x2B03CB1B: mov esp, ebp */ 9975 ebp = POP32_VAL(esp); /* 0x2B03CB1D: pop ebp */ 9976 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB1E: ret 8 */ 9977 RECOMP_REGS_OUT(); 9978 } 9979 9980 void sub_2B03CB30(void) { 9981 int _fpu_cmp = 0; 9982 uint32_t _cf = 0; 9983 int _df = 1; 9984 uint32_t _flag_k = FK_NONE; 9985 uint32_t _flag_a = 0, _flag_b = 0; 9986 uint32_t _itail_tgt = 0; 9987 RECOMP_REGS_LOCALS 9988 RECOMP_ENTER(0x2B03CB30u); 9989 9990 L_2B03CB30: 9991 PUSH32(esp, ebp); /* 0x2B03CB30: push ebp */ 9992 ebp = esp; /* 0x2B03CB31: mov ebp, esp */ 9993 edx = MEM32(ecx + 0x4); /* 0x2B03CB33: mov edx, dword ptr [ecx + 4] */ 9994 eax = MEM32(edx + 0x4); /* 0x2B03CB36: mov eax, dword ptr [edx + 4] */ 9995 ecx = MEM32(ecx + 0x8); /* 0x2B03CB39: mov ecx, dword ptr [ecx + 8] */ 9996 /* cmp eax, ecx */ /* 0x2B03CB3C: cmp eax, ecx */ 9997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9999 _flag_k = FK_CMP; 10000 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CB62; /* 0x2B03CB3E: je 0x2b03cb62 */ 10001 L_2B03CB40: 10002 PUSH32(esp, esi); /* 0x2B03CB40: push esi */ 10003 esi = MEM32(ebp + 0xC); /* 0x2B03CB41: mov esi, dword ptr [ebp + 0xc] */ 10004 esi = MEM32(esi); /* 0x2B03CB44: mov esi, dword ptr [esi] */ 10005 L_2B03CB46: 10006 /* cmp MEM32(eax + 0xC), esi */ /* 0x2B03CB46: cmp dword ptr [eax + 0xc], esi */ 10007 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(esi); 10008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10009 _flag_k = FK_CMP; 10010 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03CB50; /* 0x2B03CB49: jge 0x2b03cb50 */ 10011 L_2B03CB4B: 10012 eax = MEM32(eax + 0x8); /* 0x2B03CB4B: mov eax, dword ptr [eax + 8] */ 10013 goto L_2B03CB54; /* 0x2B03CB4E: jmp 0x2b03cb54 */ 10014 L_2B03CB50: 10015 edx = eax; /* 0x2B03CB50: mov edx, eax */ 10016 eax = MEM32(eax); /* 0x2B03CB52: mov eax, dword ptr [eax] */ 10017 L_2B03CB54: 10018 /* cmp eax, ecx */ /* 0x2B03CB54: cmp eax, ecx */ 10019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10021 _flag_k = FK_CMP; 10022 RECOMP_BACKEDGE(); 10023 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CB46; /* 0x2B03CB56: jne 0x2b03cb46 */ 10024 L_2B03CB58: 10025 eax = MEM32(ebp + 0x8); /* 0x2B03CB58: mov eax, dword ptr [ebp + 8] */ 10026 MEM32(eax) = edx; /* 0x2B03CB5B: mov dword ptr [eax], edx */ 10027 esi = POP32_VAL(esp); /* 0x2B03CB5D: pop esi */ 10028 ebp = POP32_VAL(esp); /* 0x2B03CB5E: pop ebp */ 10029 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB5F: ret 8 */ 10030 L_2B03CB62: 10031 eax = MEM32(ebp + 0x8); /* 0x2B03CB62: mov eax, dword ptr [ebp + 8] */ 10032 MEM32(eax) = edx; /* 0x2B03CB65: mov dword ptr [eax], edx */ 10033 ebp = POP32_VAL(esp); /* 0x2B03CB67: pop ebp */ 10034 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03CB68: ret 8 */ 10035 RECOMP_REGS_OUT(); 10036 } 10037 10038 void sub_2B03CB70(void) { 10039 int _fpu_cmp = 0; 10040 uint32_t _cf = 0; 10041 int _df = 1; 10042 uint32_t _flag_k = FK_NONE; 10043 uint32_t _flag_a = 0, _flag_b = 0; 10044 uint32_t _itail_tgt = 0; 10045 RECOMP_REGS_LOCALS 10046 RECOMP_ENTER(0x2B03CB70u); 10047 10048 L_2B03CB70: 10049 PUSH32(esp, ebp); /* 0x2B03CB70: push ebp */ 10050 ebp = esp; /* 0x2B03CB71: mov ebp, esp */ 10051 PUSH32(esp, ebx); /* 0x2B03CB73: push ebx */ 10052 PUSH32(esp, esi); /* 0x2B03CB74: push esi */ 10053 ebx = ecx; /* 0x2B03CB75: mov ebx, ecx */ 10054 eax = MEM32(ebx + 0x8); /* 0x2B03CB77: mov eax, dword ptr [ebx + 8] */ 10055 PUSH32(esp, edi); /* 0x2B03CB7A: push edi */ 10056 edi = MEM32(ebp + 0x8); /* 0x2B03CB7B: mov edi, dword ptr [ebp + 8] */ 10057 /* cmp edi, eax */ /* 0x2B03CB7E: cmp edi, eax */ 10058 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10060 _flag_k = FK_CMP; 10061 esi = edi; /* 0x2B03CB80: mov esi, edi */ 10062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CBAB; /* 0x2B03CB82: je 0x2b03cbab */ 10063 L_2B03CB84: 10064 eax = MEM32(esi + 0x8); /* 0x2B03CB84: mov eax, dword ptr [esi + 8] */ 10065 PUSH32(esp, eax); /* 0x2B03CB87: push eax */ 10066 ecx = ebx; /* 0x2B03CB88: mov ecx, ebx */ 10067 RECOMP_ICALL(0x2B03CB70u); /* 0x2B03CB8A: call 0x2b03cb70 */ /* not lifted */ 10068 RECOMP_FLAGS_IN(); 10069 esi = MEM32(esi); /* 0x2B03CB8F: mov esi, dword ptr [esi] */ 10070 ecx = edi + 0xC; /* 0x2B03CB91: lea ecx, [edi + 0xc] */ 10071 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CB94: call 0x2b03c490 */ /* not lifted */ 10072 RECOMP_FLAGS_IN(); 10073 PUSH32(esp, edi); /* 0x2B03CB99: push edi */ 10074 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CB9A: call 0x2b0ab1ba */ /* not lifted */ 10075 RECOMP_FLAGS_IN(); 10076 eax = MEM32(ebx + 0x8); /* 0x2B03CB9F: mov eax, dword ptr [ebx + 8] */ 10077 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10078 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10079 esp = esp + 4; /* 0x2B03CBA2: add esp, 4 */ 10080 _flag_k = FK_ADD; 10081 /* cmp esi, eax */ /* 0x2B03CBA5: cmp esi, eax */ 10082 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10084 _flag_k = FK_CMP; 10085 edi = esi; /* 0x2B03CBA7: mov edi, esi */ 10086 RECOMP_BACKEDGE(); 10087 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CB84; /* 0x2B03CBA9: jne 0x2b03cb84 */ 10088 L_2B03CBAB: 10089 edi = POP32_VAL(esp); /* 0x2B03CBAB: pop edi */ 10090 esi = POP32_VAL(esp); /* 0x2B03CBAC: pop esi */ 10091 ebx = POP32_VAL(esp); /* 0x2B03CBAD: pop ebx */ 10092 ebp = POP32_VAL(esp); /* 0x2B03CBAE: pop ebp */ 10093 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03CBAF: ret 4 */ 10094 RECOMP_REGS_OUT(); 10095 } 10096 10097 void sub_2B03CBC0(void) { 10098 int _fpu_cmp = 0; 10099 uint32_t _cf = 0; 10100 int _df = 1; 10101 uint32_t _flag_k = FK_NONE; 10102 uint32_t _flag_a = 0, _flag_b = 0; 10103 uint32_t _itail_tgt = 0; 10104 RECOMP_REGS_LOCALS 10105 RECOMP_ENTER(0x2B03CBC0u); 10106 10107 L_2B03CBC0: 10108 PUSH32(esp, ebp); /* 0x2B03CBC0: push ebp */ 10109 ebp = esp; /* 0x2B03CBC1: mov ebp, esp */ 10110 PUSH32(esp, ecx); /* 0x2B03CBC3: push ecx */ 10111 PUSH32(esp, ebx); /* 0x2B03CBC4: push ebx */ 10112 PUSH32(esp, esi); /* 0x2B03CBC5: push esi */ 10113 PUSH32(esp, edi); /* 0x2B03CBC6: push edi */ 10114 PUSH32(esp, 0x30u); /* 0x2B03CBC7: push 0x30 */ 10115 esi = ecx; /* 0x2B03CBC9: mov esi, ecx */ 10116 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03CBCB: call 0x2b0ab212 */ /* not lifted */ 10117 RECOMP_FLAGS_IN(); 10118 edi = MEM32(ebp + 0x10); /* 0x2B03CBD0: mov edi, dword ptr [ebp + 0x10] */ 10119 ebx = MEM32(ebp + 0x14); /* 0x2B03CBD3: mov ebx, dword ptr [ebp + 0x14] */ 10120 MEM32(eax + 0x4) = edi; /* 0x2B03CBD6: mov dword ptr [eax + 4], edi */ 10121 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x2B03CBD9: mov byte ptr [eax + 0x2c], 0 */ 10122 MEM8(eax + 0x2D) = (uint8_t)(0); /* 0x2B03CBDD: mov byte ptr [eax + 0x2d], 0 */ 10123 ecx = MEM32(esi + 0x8); /* 0x2B03CBE1: mov ecx, dword ptr [esi + 8] */ 10124 MEM32(eax) = ecx; /* 0x2B03CBE4: mov dword ptr [eax], ecx */ 10125 edx = MEM32(esi + 0x8); /* 0x2B03CBE6: mov edx, dword ptr [esi + 8] */ 10126 MEM32(ebp + (-0x4)) = eax; /* 0x2B03CBE9: mov dword ptr [ebp - 4], eax */ 10127 MEM32(eax + 0x8) = edx; /* 0x2B03CBEC: mov dword ptr [eax + 8], edx */ 10128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 10129 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10130 eax = eax + 0xCu; /* 0x2B03CBEF: add eax, 0xc */ 10131 _flag_k = FK_ADD; 10132 PUSH32(esp, ebx); /* 0x2B03CBF2: push ebx */ 10133 PUSH32(esp, eax); /* 0x2B03CBF3: push eax */ 10134 RECOMP_ICALL(0x2B03CE00u); /* 0x2B03CBF4: call 0x2b03ce00 */ /* not lifted */ 10135 RECOMP_FLAGS_IN(); 10136 ecx = MEM32(esi + 0x10); /* 0x2B03CBF9: mov ecx, dword ptr [esi + 0x10] */ 10137 eax = MEM32(esi + 0x4); /* 0x2B03CBFC: mov eax, dword ptr [esi + 4] */ 10138 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10140 esp = esp + 0xCu; /* 0x2B03CBFF: add esp, 0xc */ 10141 _flag_k = FK_ADD; 10142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10143 ecx = ecx + 1; /* 0x2B03CC02: inc ecx */ 10144 _flag_k = FK_INC; 10145 /* cmp edi, eax */ /* 0x2B03CC03: cmp edi, eax */ 10146 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10148 _flag_k = FK_CMP; 10149 MEM32(esi + 0x10) = ecx; /* 0x2B03CC05: mov dword ptr [esi + 0x10], ecx */ 10150 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC2C; /* 0x2B03CC08: je 0x2b03cc2c */ 10151 L_2B03CC0A: 10152 eax = MEM32(ebp + 0xC); /* 0x2B03CC0A: mov eax, dword ptr [ebp + 0xc] */ 10153 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B03CC0D: cmp eax, dword ptr [esi + 8] */ 10154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10156 _flag_k = FK_CMP; 10157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC2C; /* 0x2B03CC10: jne 0x2b03cc2c */ 10158 L_2B03CC12: 10159 ecx = MEM32(ebx); /* 0x2B03CC12: mov ecx, dword ptr [ebx] */ 10160 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B03CC14: cmp ecx, dword ptr [edi + 0xc] */ 10161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 10162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10163 _flag_k = FK_CMP; 10164 if (CMP_L(_flag_a, _flag_b)) goto L_2B03CC2C; /* 0x2B03CC17: jl 0x2b03cc2c */ 10165 L_2B03CC19: 10166 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CC19: mov ecx, dword ptr [ebp - 4] */ 10167 MEM32(edi + 0x8) = ecx; /* 0x2B03CC1C: mov dword ptr [edi + 8], ecx */ 10168 eax = MEM32(esi + 0x4); /* 0x2B03CC1F: mov eax, dword ptr [esi + 4] */ 10169 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B03CC22: cmp edi, dword ptr [eax + 8] */ 10170 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10172 _flag_k = FK_CMP; 10173 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC4C; /* 0x2B03CC25: jne 0x2b03cc4c */ 10174 L_2B03CC27: 10175 MEM32(eax + 0x8) = ecx; /* 0x2B03CC27: mov dword ptr [eax + 8], ecx */ 10176 goto L_2B03CC4C; /* 0x2B03CC2A: jmp 0x2b03cc4c */ 10177 L_2B03CC2C: 10178 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CC2C: mov ecx, dword ptr [ebp - 4] */ 10179 MEM32(edi) = ecx; /* 0x2B03CC2F: mov dword ptr [edi], ecx */ 10180 eax = MEM32(esi + 0x4); /* 0x2B03CC31: mov eax, dword ptr [esi + 4] */ 10181 /* cmp edi, eax */ /* 0x2B03CC34: cmp edi, eax */ 10182 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10184 _flag_k = FK_CMP; 10185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC43; /* 0x2B03CC36: jne 0x2b03cc43 */ 10186 L_2B03CC38: 10187 MEM32(eax + 0x4) = ecx; /* 0x2B03CC38: mov dword ptr [eax + 4], ecx */ 10188 edx = MEM32(esi + 0x4); /* 0x2B03CC3B: mov edx, dword ptr [esi + 4] */ 10189 MEM32(edx + 0x8) = ecx; /* 0x2B03CC3E: mov dword ptr [edx + 8], ecx */ 10190 goto L_2B03CC4C; /* 0x2B03CC41: jmp 0x2b03cc4c */ 10191 L_2B03CC43: 10192 /* cmp edi, MEM32(eax) */ /* 0x2B03CC43: cmp edi, dword ptr [eax] */ 10193 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 10194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10195 _flag_k = FK_CMP; 10196 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC4C; /* 0x2B03CC45: jne 0x2b03cc4c */ 10197 L_2B03CC47: 10198 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CC47: mov ecx, dword ptr [ebp - 4] */ 10199 MEM32(eax) = ecx; /* 0x2B03CC4A: mov dword ptr [eax], ecx */ 10200 L_2B03CC4C: 10201 edx = MEM32(esi + 0x4); /* 0x2B03CC4C: mov edx, dword ptr [esi + 4] */ 10202 eax = MEM32(ebp + (-0x4)); /* 0x2B03CC4F: mov eax, dword ptr [ebp - 4] */ 10203 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CC52: cmp eax, dword ptr [edx + 4] */ 10204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10206 _flag_k = FK_CMP; 10207 SET_LO8(ebx, 1); /* 0x2B03CC55: mov bl, 1 */ 10208 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC57: je 0x2b03cddd */ 10209 L_2B03CC5D: 10210 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 10211 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 10212 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 10213 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10214 _cf = 0; 10215 _flag_k = FK_NARROW(FK_TEST, 24); 10216 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 10217 L_2B03CC6B: 10218 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 10219 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 10220 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 10221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10223 _flag_k = FK_CMP; 10224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 10225 L_2B03CC78: 10226 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 10227 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 10228 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10230 _flag_k = FK_NARROW(FK_CMP, 24); 10231 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 10232 L_2B03CC81: 10233 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 10234 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 10235 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 10236 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 10237 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 10238 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 10239 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 10240 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 10241 L_2B03CC9C: 10242 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 10243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10245 _flag_k = FK_CMP; 10246 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 10247 L_2B03CCA1: 10248 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 10249 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 10250 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 10251 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 10252 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 10253 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 10254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10256 _flag_k = FK_CMP; 10257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 10258 L_2B03CCB2: 10259 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 10260 L_2B03CCB5: 10261 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 10262 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 10263 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 10264 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 10265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10267 _flag_k = FK_CMP; 10268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 10269 L_2B03CCC3: 10270 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 10271 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 10272 L_2B03CCC8: 10273 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 10274 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 10275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10277 _flag_k = FK_CMP; 10278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 10279 L_2B03CCCF: 10280 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 10281 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 10282 L_2B03CCD3: 10283 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 10284 L_2B03CCD6: 10285 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 10286 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 10287 L_2B03CCDB: 10288 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 10289 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 10290 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 10291 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 10292 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 10293 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 10294 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 10295 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 10296 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 10297 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 10298 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 10299 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 10300 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10302 _flag_k = FK_CMP; 10303 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 10304 L_2B03CD00: 10305 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 10306 L_2B03CD03: 10307 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 10308 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 10309 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 10310 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 10311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10313 _flag_k = FK_CMP; 10314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 10315 L_2B03CD11: 10316 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 10317 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 10318 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 10319 L_2B03CD1C: 10320 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 10321 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 10322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10324 _flag_k = FK_CMP; 10325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 10326 L_2B03CD24: 10327 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 10328 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 10329 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 10330 L_2B03CD2F: 10331 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 10332 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 10333 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 10334 L_2B03CD39: 10335 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 10336 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10338 _flag_k = FK_NARROW(FK_CMP, 24); 10339 RECOMP_BACKEDGE(); 10340 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 10341 L_2B03CD43: 10342 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 10343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10345 _flag_k = FK_CMP; 10346 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 10347 L_2B03CD47: 10348 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 10349 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 10350 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 10351 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 10352 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 10353 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 10354 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 10358 L_2B03CD58: 10359 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 10360 L_2B03CD5B: 10361 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 10362 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 10363 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 10364 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 10365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10367 _flag_k = FK_CMP; 10368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 10369 L_2B03CD69: 10370 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 10371 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 10372 L_2B03CD6E: 10373 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 10374 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 10375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10377 _flag_k = FK_CMP; 10378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 10379 L_2B03CD76: 10380 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 10381 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 10382 L_2B03CD7B: 10383 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 10384 L_2B03CD7D: 10385 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 10386 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 10387 L_2B03CD83: 10388 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 10389 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 10390 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 10391 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 10392 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 10393 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 10394 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 10395 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 10396 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 10397 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 10398 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 10399 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 10400 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10402 _flag_k = FK_CMP; 10403 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 10404 L_2B03CDA8: 10405 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 10406 L_2B03CDAB: 10407 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 10408 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 10409 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 10410 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 10411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10413 _flag_k = FK_CMP; 10414 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 10415 L_2B03CDB9: 10416 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 10417 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 10418 L_2B03CDBE: 10419 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 10420 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 10421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10423 _flag_k = FK_CMP; 10424 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 10425 L_2B03CDC5: 10426 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 10427 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 10428 L_2B03CDC9: 10429 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 10430 L_2B03CDCC: 10431 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 10432 L_2B03CDCE: 10433 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 10434 L_2B03CDD1: 10435 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 10436 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 10437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10439 _flag_k = FK_CMP; 10440 RECOMP_BACKEDGE(); 10441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 10442 L_2B03CDDD: 10443 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 10444 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 10445 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 10446 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 10447 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 10448 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 10449 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 10450 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 10451 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 10452 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 10453 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 10454 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 10455 RECOMP_REGS_OUT(); 10456 } 10457 10458 void sub_2B03CC5D(void) { 10459 int _fpu_cmp = 0; 10460 uint32_t _cf = 0; 10461 int _df = 1; 10462 uint32_t _flag_k = FK_NONE; 10463 uint32_t _flag_a = 0, _flag_b = 0; 10464 uint32_t _itail_tgt = 0; 10465 RECOMP_REGS_LOCALS 10466 RECOMP_ENTER(0x2B03CC5Du); 10467 10468 L_2B03CC5D: 10469 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 10470 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 10471 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 10472 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10473 _cf = 0; 10474 _flag_k = FK_NARROW(FK_TEST, 24); 10475 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 10476 L_2B03CC6B: 10477 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 10478 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 10479 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 10480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10482 _flag_k = FK_CMP; 10483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 10484 L_2B03CC78: 10485 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 10486 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 10487 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10489 _flag_k = FK_NARROW(FK_CMP, 24); 10490 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 10491 L_2B03CC81: 10492 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 10493 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 10494 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 10495 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 10496 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 10497 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 10498 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 10499 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 10500 L_2B03CC9C: 10501 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 10502 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10504 _flag_k = FK_CMP; 10505 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 10506 L_2B03CCA1: 10507 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 10508 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 10509 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 10510 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 10511 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 10512 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 10513 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10515 _flag_k = FK_CMP; 10516 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 10517 L_2B03CCB2: 10518 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 10519 L_2B03CCB5: 10520 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 10521 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 10522 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 10523 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 10524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10526 _flag_k = FK_CMP; 10527 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 10528 L_2B03CCC3: 10529 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 10530 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 10531 L_2B03CCC8: 10532 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 10533 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 10534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10536 _flag_k = FK_CMP; 10537 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 10538 L_2B03CCCF: 10539 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 10540 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 10541 L_2B03CCD3: 10542 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 10543 L_2B03CCD6: 10544 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 10545 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 10546 L_2B03CCDB: 10547 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 10548 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 10549 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 10550 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 10551 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 10552 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 10553 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 10554 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 10555 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 10556 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 10557 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 10558 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 10559 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10561 _flag_k = FK_CMP; 10562 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 10563 L_2B03CD00: 10564 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 10565 L_2B03CD03: 10566 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 10567 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 10568 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 10569 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 10570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10572 _flag_k = FK_CMP; 10573 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 10574 L_2B03CD11: 10575 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 10576 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 10577 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 10578 L_2B03CD1C: 10579 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 10580 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 10581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10583 _flag_k = FK_CMP; 10584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 10585 L_2B03CD24: 10586 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 10587 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 10588 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 10589 L_2B03CD2F: 10590 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 10591 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 10592 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 10593 L_2B03CD39: 10594 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 10595 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10597 _flag_k = FK_NARROW(FK_CMP, 24); 10598 RECOMP_BACKEDGE(); 10599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 10600 L_2B03CD43: 10601 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 10602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10604 _flag_k = FK_CMP; 10605 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 10606 L_2B03CD47: 10607 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 10608 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 10609 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 10610 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 10611 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 10612 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 10613 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10615 _flag_k = FK_CMP; 10616 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 10617 L_2B03CD58: 10618 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 10619 L_2B03CD5B: 10620 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 10621 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 10622 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 10623 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 10624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10626 _flag_k = FK_CMP; 10627 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 10628 L_2B03CD69: 10629 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 10630 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 10631 L_2B03CD6E: 10632 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 10633 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 10634 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10636 _flag_k = FK_CMP; 10637 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 10638 L_2B03CD76: 10639 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 10640 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 10641 L_2B03CD7B: 10642 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 10643 L_2B03CD7D: 10644 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 10645 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 10646 L_2B03CD83: 10647 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 10648 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 10649 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 10650 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 10651 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 10652 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 10653 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 10654 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 10655 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 10656 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 10657 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 10658 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 10659 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10661 _flag_k = FK_CMP; 10662 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 10663 L_2B03CDA8: 10664 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 10665 L_2B03CDAB: 10666 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 10667 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 10668 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 10669 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 10670 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10672 _flag_k = FK_CMP; 10673 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 10674 L_2B03CDB9: 10675 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 10676 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 10677 L_2B03CDBE: 10678 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 10679 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 10680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10682 _flag_k = FK_CMP; 10683 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 10684 L_2B03CDC5: 10685 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 10686 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 10687 L_2B03CDC9: 10688 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 10689 L_2B03CDCC: 10690 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 10691 L_2B03CDCE: 10692 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 10693 L_2B03CDD1: 10694 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 10695 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 10696 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10698 _flag_k = FK_CMP; 10699 RECOMP_BACKEDGE(); 10700 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 10701 L_2B03CDDD: 10702 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 10703 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 10704 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 10705 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 10706 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 10707 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 10708 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 10709 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 10710 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 10711 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 10712 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 10713 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 10714 RECOMP_REGS_OUT(); 10715 } 10716 10717 void sub_2B03CC81(void) { 10718 int _fpu_cmp = 0; 10719 uint32_t _cf = 0; 10720 int _df = 1; 10721 uint32_t _flag_k = FK_NONE; 10722 uint32_t _flag_a = 0, _flag_b = 0; 10723 uint32_t _itail_tgt = 0; 10724 RECOMP_REGS_LOCALS 10725 RECOMP_ENTER(0x2B03CC81u); 10726 10727 goto L_2B03CC81; 10728 L_2B03CC5D: 10729 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 10730 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 10731 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 10732 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10733 _cf = 0; 10734 _flag_k = FK_NARROW(FK_TEST, 24); 10735 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 10736 L_2B03CC6B: 10737 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 10738 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 10739 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 10740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10742 _flag_k = FK_CMP; 10743 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 10744 L_2B03CC78: 10745 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 10746 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 10747 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10749 _flag_k = FK_NARROW(FK_CMP, 24); 10750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 10751 L_2B03CC81: 10752 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 10753 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 10754 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 10755 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 10756 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 10757 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 10758 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 10759 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 10760 L_2B03CC9C: 10761 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 10762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10764 _flag_k = FK_CMP; 10765 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 10766 L_2B03CCA1: 10767 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 10768 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 10769 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 10770 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 10771 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 10772 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 10773 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10775 _flag_k = FK_CMP; 10776 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 10777 L_2B03CCB2: 10778 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 10779 L_2B03CCB5: 10780 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 10781 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 10782 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 10783 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 10784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10786 _flag_k = FK_CMP; 10787 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 10788 L_2B03CCC3: 10789 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 10790 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 10791 L_2B03CCC8: 10792 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 10793 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 10794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10796 _flag_k = FK_CMP; 10797 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 10798 L_2B03CCCF: 10799 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 10800 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 10801 L_2B03CCD3: 10802 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 10803 L_2B03CCD6: 10804 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 10805 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 10806 L_2B03CCDB: 10807 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 10808 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 10809 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 10810 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 10811 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 10812 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 10813 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 10814 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 10815 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 10816 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 10817 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 10818 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 10819 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10821 _flag_k = FK_CMP; 10822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 10823 L_2B03CD00: 10824 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 10825 L_2B03CD03: 10826 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 10827 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 10828 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 10829 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 10830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10832 _flag_k = FK_CMP; 10833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 10834 L_2B03CD11: 10835 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 10836 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 10837 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 10838 L_2B03CD1C: 10839 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 10840 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 10841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10843 _flag_k = FK_CMP; 10844 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 10845 L_2B03CD24: 10846 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 10847 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 10848 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 10849 L_2B03CD2F: 10850 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 10851 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 10852 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 10853 L_2B03CD39: 10854 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 10855 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 10856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10857 _flag_k = FK_NARROW(FK_CMP, 24); 10858 RECOMP_BACKEDGE(); 10859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 10860 L_2B03CD43: 10861 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 10862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10864 _flag_k = FK_CMP; 10865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 10866 L_2B03CD47: 10867 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 10868 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 10869 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 10870 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 10871 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 10872 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 10873 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10875 _flag_k = FK_CMP; 10876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 10877 L_2B03CD58: 10878 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 10879 L_2B03CD5B: 10880 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 10881 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 10882 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 10883 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 10884 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10886 _flag_k = FK_CMP; 10887 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 10888 L_2B03CD69: 10889 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 10890 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 10891 L_2B03CD6E: 10892 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 10893 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 10894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10896 _flag_k = FK_CMP; 10897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 10898 L_2B03CD76: 10899 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 10900 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 10901 L_2B03CD7B: 10902 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 10903 L_2B03CD7D: 10904 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 10905 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 10906 L_2B03CD83: 10907 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 10908 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 10909 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 10910 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 10911 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 10912 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 10913 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 10914 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 10915 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 10916 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 10917 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 10918 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 10919 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10921 _flag_k = FK_CMP; 10922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 10923 L_2B03CDA8: 10924 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 10925 L_2B03CDAB: 10926 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 10927 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 10928 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 10929 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 10930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10932 _flag_k = FK_CMP; 10933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 10934 L_2B03CDB9: 10935 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 10936 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 10937 L_2B03CDBE: 10938 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 10939 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 10940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10942 _flag_k = FK_CMP; 10943 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 10944 L_2B03CDC5: 10945 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 10946 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 10947 L_2B03CDC9: 10948 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 10949 L_2B03CDCC: 10950 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 10951 L_2B03CDCE: 10952 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 10953 L_2B03CDD1: 10954 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 10955 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 10956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10958 _flag_k = FK_CMP; 10959 RECOMP_BACKEDGE(); 10960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 10961 L_2B03CDDD: 10962 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 10963 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 10964 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 10965 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 10966 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 10967 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 10968 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 10969 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 10970 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 10971 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 10972 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 10973 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 10974 RECOMP_REGS_OUT(); 10975 } 10976 10977 void sub_2B03CCD6(void) { 10978 int _fpu_cmp = 0; 10979 uint32_t _cf = 0; 10980 int _df = 1; 10981 uint32_t _flag_k = FK_NONE; 10982 uint32_t _flag_a = 0, _flag_b = 0; 10983 uint32_t _itail_tgt = 0; 10984 RECOMP_REGS_LOCALS 10985 RECOMP_ENTER(0x2B03CCD6u); 10986 10987 goto L_2B03CCD6; 10988 L_2B03CC5D: 10989 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 10990 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 10991 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 10992 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10993 _cf = 0; 10994 _flag_k = FK_NARROW(FK_TEST, 24); 10995 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 10996 L_2B03CC6B: 10997 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 10998 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 10999 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 11000 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11002 _flag_k = FK_CMP; 11003 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 11004 L_2B03CC78: 11005 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 11006 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 11007 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11009 _flag_k = FK_NARROW(FK_CMP, 24); 11010 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 11011 L_2B03CC81: 11012 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 11013 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 11014 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 11015 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 11016 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 11017 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 11018 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 11019 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 11020 L_2B03CC9C: 11021 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 11022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11024 _flag_k = FK_CMP; 11025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 11026 L_2B03CCA1: 11027 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 11028 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 11029 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 11030 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 11031 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 11032 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 11033 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11035 _flag_k = FK_CMP; 11036 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 11037 L_2B03CCB2: 11038 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 11039 L_2B03CCB5: 11040 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 11041 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 11042 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 11043 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 11044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11046 _flag_k = FK_CMP; 11047 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 11048 L_2B03CCC3: 11049 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 11050 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 11051 L_2B03CCC8: 11052 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 11053 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 11054 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11056 _flag_k = FK_CMP; 11057 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 11058 L_2B03CCCF: 11059 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 11060 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 11061 L_2B03CCD3: 11062 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 11063 L_2B03CCD6: 11064 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 11065 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 11066 L_2B03CCDB: 11067 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 11068 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 11069 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 11070 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 11071 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 11072 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 11073 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 11074 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 11075 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 11076 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 11077 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 11078 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 11079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11081 _flag_k = FK_CMP; 11082 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 11083 L_2B03CD00: 11084 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 11085 L_2B03CD03: 11086 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 11087 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 11088 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 11089 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 11090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11092 _flag_k = FK_CMP; 11093 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 11094 L_2B03CD11: 11095 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 11096 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 11097 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 11098 L_2B03CD1C: 11099 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 11100 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 11101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11103 _flag_k = FK_CMP; 11104 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 11105 L_2B03CD24: 11106 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 11107 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 11108 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 11109 L_2B03CD2F: 11110 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 11111 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 11112 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 11113 L_2B03CD39: 11114 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 11115 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11117 _flag_k = FK_NARROW(FK_CMP, 24); 11118 RECOMP_BACKEDGE(); 11119 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 11120 L_2B03CD43: 11121 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 11122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11124 _flag_k = FK_CMP; 11125 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 11126 L_2B03CD47: 11127 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 11128 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 11129 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 11130 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 11131 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 11132 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 11133 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11135 _flag_k = FK_CMP; 11136 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 11137 L_2B03CD58: 11138 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 11139 L_2B03CD5B: 11140 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 11141 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 11142 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 11143 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 11144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11146 _flag_k = FK_CMP; 11147 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 11148 L_2B03CD69: 11149 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 11150 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 11151 L_2B03CD6E: 11152 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 11153 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 11154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11156 _flag_k = FK_CMP; 11157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 11158 L_2B03CD76: 11159 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 11160 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 11161 L_2B03CD7B: 11162 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 11163 L_2B03CD7D: 11164 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 11165 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 11166 L_2B03CD83: 11167 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 11168 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 11169 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 11170 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 11171 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 11172 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 11173 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 11174 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 11175 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 11176 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 11177 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 11178 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 11179 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11181 _flag_k = FK_CMP; 11182 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 11183 L_2B03CDA8: 11184 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 11185 L_2B03CDAB: 11186 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 11187 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 11188 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 11189 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 11190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11192 _flag_k = FK_CMP; 11193 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 11194 L_2B03CDB9: 11195 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 11196 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 11197 L_2B03CDBE: 11198 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 11199 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 11200 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11202 _flag_k = FK_CMP; 11203 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 11204 L_2B03CDC5: 11205 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 11206 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 11207 L_2B03CDC9: 11208 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 11209 L_2B03CDCC: 11210 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 11211 L_2B03CDCE: 11212 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 11213 L_2B03CDD1: 11214 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 11215 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 11216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11218 _flag_k = FK_CMP; 11219 RECOMP_BACKEDGE(); 11220 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 11221 L_2B03CDDD: 11222 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 11223 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 11224 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 11225 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 11226 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 11227 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 11228 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 11229 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 11230 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 11231 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 11232 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 11233 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 11234 RECOMP_REGS_OUT(); 11235 } 11236 11237 void sub_2B03CCDB(void) { 11238 int _fpu_cmp = 0; 11239 uint32_t _cf = 0; 11240 int _df = 1; 11241 uint32_t _flag_k = FK_NONE; 11242 uint32_t _flag_a = 0, _flag_b = 0; 11243 uint32_t _itail_tgt = 0; 11244 RECOMP_REGS_LOCALS 11245 RECOMP_ENTER(0x2B03CCDBu); 11246 11247 goto L_2B03CCDB; 11248 L_2B03CC5D: 11249 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 11250 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 11251 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 11252 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11253 _cf = 0; 11254 _flag_k = FK_NARROW(FK_TEST, 24); 11255 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 11256 L_2B03CC6B: 11257 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 11258 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 11259 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 11260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11262 _flag_k = FK_CMP; 11263 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 11264 L_2B03CC78: 11265 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 11266 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 11267 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11269 _flag_k = FK_NARROW(FK_CMP, 24); 11270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 11271 L_2B03CC81: 11272 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 11273 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 11274 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 11275 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 11276 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 11277 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 11278 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 11279 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 11280 L_2B03CC9C: 11281 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 11282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11284 _flag_k = FK_CMP; 11285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 11286 L_2B03CCA1: 11287 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 11288 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 11289 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 11290 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 11291 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 11292 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 11293 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11295 _flag_k = FK_CMP; 11296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 11297 L_2B03CCB2: 11298 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 11299 L_2B03CCB5: 11300 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 11301 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 11302 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 11303 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 11304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11306 _flag_k = FK_CMP; 11307 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 11308 L_2B03CCC3: 11309 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 11310 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 11311 L_2B03CCC8: 11312 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 11313 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 11314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11316 _flag_k = FK_CMP; 11317 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 11318 L_2B03CCCF: 11319 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 11320 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 11321 L_2B03CCD3: 11322 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 11323 L_2B03CCD6: 11324 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 11325 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 11326 L_2B03CCDB: 11327 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 11328 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 11329 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 11330 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 11331 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 11332 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 11333 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 11334 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 11335 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 11336 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 11337 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 11338 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 11339 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11341 _flag_k = FK_CMP; 11342 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 11343 L_2B03CD00: 11344 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 11345 L_2B03CD03: 11346 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 11347 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 11348 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 11349 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 11350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11352 _flag_k = FK_CMP; 11353 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 11354 L_2B03CD11: 11355 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 11356 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 11357 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 11358 L_2B03CD1C: 11359 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 11360 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 11361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11363 _flag_k = FK_CMP; 11364 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 11365 L_2B03CD24: 11366 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 11367 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 11368 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 11369 L_2B03CD2F: 11370 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 11371 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 11372 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 11373 L_2B03CD39: 11374 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 11375 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11377 _flag_k = FK_NARROW(FK_CMP, 24); 11378 RECOMP_BACKEDGE(); 11379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 11380 L_2B03CD43: 11381 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 11382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11384 _flag_k = FK_CMP; 11385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 11386 L_2B03CD47: 11387 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 11388 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 11389 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 11390 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 11391 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 11392 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 11393 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11395 _flag_k = FK_CMP; 11396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 11397 L_2B03CD58: 11398 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 11399 L_2B03CD5B: 11400 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 11401 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 11402 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 11403 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 11404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11406 _flag_k = FK_CMP; 11407 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 11408 L_2B03CD69: 11409 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 11410 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 11411 L_2B03CD6E: 11412 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 11413 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 11414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11416 _flag_k = FK_CMP; 11417 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 11418 L_2B03CD76: 11419 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 11420 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 11421 L_2B03CD7B: 11422 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 11423 L_2B03CD7D: 11424 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 11425 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 11426 L_2B03CD83: 11427 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 11428 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 11429 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 11430 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 11431 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 11432 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 11433 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 11434 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 11435 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 11436 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 11437 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 11438 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 11439 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11441 _flag_k = FK_CMP; 11442 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 11443 L_2B03CDA8: 11444 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 11445 L_2B03CDAB: 11446 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 11447 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 11448 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 11449 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 11450 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11452 _flag_k = FK_CMP; 11453 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 11454 L_2B03CDB9: 11455 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 11456 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 11457 L_2B03CDBE: 11458 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 11459 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 11460 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11462 _flag_k = FK_CMP; 11463 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 11464 L_2B03CDC5: 11465 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 11466 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 11467 L_2B03CDC9: 11468 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 11469 L_2B03CDCC: 11470 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 11471 L_2B03CDCE: 11472 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 11473 L_2B03CDD1: 11474 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 11475 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 11476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11478 _flag_k = FK_CMP; 11479 RECOMP_BACKEDGE(); 11480 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 11481 L_2B03CDDD: 11482 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 11483 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 11484 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 11485 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 11486 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 11487 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 11488 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 11489 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 11490 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 11491 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 11492 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 11493 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 11494 RECOMP_REGS_OUT(); 11495 } 11496 11497 void sub_2B03CD39(void) { 11498 int _fpu_cmp = 0; 11499 uint32_t _cf = 0; 11500 int _df = 1; 11501 uint32_t _flag_k = FK_NONE; 11502 uint32_t _flag_a = 0, _flag_b = 0; 11503 uint32_t _itail_tgt = 0; 11504 RECOMP_REGS_LOCALS 11505 RECOMP_ENTER(0x2B03CD39u); 11506 11507 goto L_2B03CD39; 11508 L_2B03CC5D: 11509 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 11510 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 11511 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 11512 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11513 _cf = 0; 11514 _flag_k = FK_NARROW(FK_TEST, 24); 11515 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 11516 L_2B03CC6B: 11517 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 11518 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 11519 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 11520 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11522 _flag_k = FK_CMP; 11523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 11524 L_2B03CC78: 11525 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 11526 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 11527 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11529 _flag_k = FK_NARROW(FK_CMP, 24); 11530 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 11531 L_2B03CC81: 11532 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 11533 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 11534 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 11535 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 11536 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 11537 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 11538 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 11539 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 11540 L_2B03CC9C: 11541 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 11542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11544 _flag_k = FK_CMP; 11545 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 11546 L_2B03CCA1: 11547 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 11548 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 11549 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 11550 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 11551 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 11552 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 11553 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11555 _flag_k = FK_CMP; 11556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 11557 L_2B03CCB2: 11558 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 11559 L_2B03CCB5: 11560 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 11561 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 11562 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 11563 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 11564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11566 _flag_k = FK_CMP; 11567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 11568 L_2B03CCC3: 11569 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 11570 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 11571 L_2B03CCC8: 11572 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 11573 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 11574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11576 _flag_k = FK_CMP; 11577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 11578 L_2B03CCCF: 11579 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 11580 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 11581 L_2B03CCD3: 11582 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 11583 L_2B03CCD6: 11584 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 11585 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 11586 L_2B03CCDB: 11587 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 11588 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 11589 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 11590 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 11591 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 11592 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 11593 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 11594 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 11595 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 11596 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 11597 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 11598 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 11599 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11601 _flag_k = FK_CMP; 11602 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 11603 L_2B03CD00: 11604 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 11605 L_2B03CD03: 11606 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 11607 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 11608 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 11609 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 11610 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11612 _flag_k = FK_CMP; 11613 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 11614 L_2B03CD11: 11615 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 11616 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 11617 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 11618 L_2B03CD1C: 11619 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 11620 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 11621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11623 _flag_k = FK_CMP; 11624 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 11625 L_2B03CD24: 11626 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 11627 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 11628 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 11629 L_2B03CD2F: 11630 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 11631 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 11632 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 11633 L_2B03CD39: 11634 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 11635 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11637 _flag_k = FK_NARROW(FK_CMP, 24); 11638 RECOMP_BACKEDGE(); 11639 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 11640 L_2B03CD43: 11641 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 11642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11644 _flag_k = FK_CMP; 11645 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 11646 L_2B03CD47: 11647 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 11648 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 11649 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 11650 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 11651 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 11652 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 11653 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11655 _flag_k = FK_CMP; 11656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 11657 L_2B03CD58: 11658 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 11659 L_2B03CD5B: 11660 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 11661 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 11662 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 11663 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 11664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11666 _flag_k = FK_CMP; 11667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 11668 L_2B03CD69: 11669 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 11670 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 11671 L_2B03CD6E: 11672 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 11673 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 11674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11676 _flag_k = FK_CMP; 11677 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 11678 L_2B03CD76: 11679 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 11680 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 11681 L_2B03CD7B: 11682 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 11683 L_2B03CD7D: 11684 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 11685 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 11686 L_2B03CD83: 11687 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 11688 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 11689 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 11690 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 11691 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 11692 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 11693 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 11694 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 11695 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 11696 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 11697 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 11698 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 11699 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11701 _flag_k = FK_CMP; 11702 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 11703 L_2B03CDA8: 11704 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 11705 L_2B03CDAB: 11706 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 11707 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 11708 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 11709 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 11710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11712 _flag_k = FK_CMP; 11713 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 11714 L_2B03CDB9: 11715 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 11716 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 11717 L_2B03CDBE: 11718 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 11719 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 11720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11722 _flag_k = FK_CMP; 11723 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 11724 L_2B03CDC5: 11725 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 11726 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 11727 L_2B03CDC9: 11728 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 11729 L_2B03CDCC: 11730 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 11731 L_2B03CDCE: 11732 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 11733 L_2B03CDD1: 11734 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 11735 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 11736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11738 _flag_k = FK_CMP; 11739 RECOMP_BACKEDGE(); 11740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 11741 L_2B03CDDD: 11742 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 11743 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 11744 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 11745 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 11746 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 11747 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 11748 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 11749 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 11750 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 11751 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 11752 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 11753 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 11754 RECOMP_REGS_OUT(); 11755 } 11756 11757 void sub_2B03CD7D(void) { 11758 int _fpu_cmp = 0; 11759 uint32_t _cf = 0; 11760 int _df = 1; 11761 uint32_t _flag_k = FK_NONE; 11762 uint32_t _flag_a = 0, _flag_b = 0; 11763 uint32_t _itail_tgt = 0; 11764 RECOMP_REGS_LOCALS 11765 RECOMP_ENTER(0x2B03CD7Du); 11766 11767 goto L_2B03CD7D; 11768 L_2B03CC5D: 11769 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 11770 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 11771 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 11772 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11773 _cf = 0; 11774 _flag_k = FK_NARROW(FK_TEST, 24); 11775 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 11776 L_2B03CC6B: 11777 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 11778 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 11779 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 11780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11782 _flag_k = FK_CMP; 11783 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 11784 L_2B03CC78: 11785 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 11786 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 11787 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11789 _flag_k = FK_NARROW(FK_CMP, 24); 11790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 11791 L_2B03CC81: 11792 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 11793 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 11794 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 11795 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 11796 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 11797 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 11798 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 11799 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 11800 L_2B03CC9C: 11801 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 11802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11804 _flag_k = FK_CMP; 11805 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 11806 L_2B03CCA1: 11807 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 11808 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 11809 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 11810 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 11811 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 11812 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 11813 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11815 _flag_k = FK_CMP; 11816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 11817 L_2B03CCB2: 11818 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 11819 L_2B03CCB5: 11820 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 11821 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 11822 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 11823 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 11824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11826 _flag_k = FK_CMP; 11827 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 11828 L_2B03CCC3: 11829 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 11830 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 11831 L_2B03CCC8: 11832 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 11833 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 11834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11836 _flag_k = FK_CMP; 11837 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 11838 L_2B03CCCF: 11839 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 11840 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 11841 L_2B03CCD3: 11842 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 11843 L_2B03CCD6: 11844 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 11845 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 11846 L_2B03CCDB: 11847 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 11848 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 11849 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 11850 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 11851 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 11852 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 11853 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 11854 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 11855 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 11856 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 11857 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 11858 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 11859 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11861 _flag_k = FK_CMP; 11862 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 11863 L_2B03CD00: 11864 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 11865 L_2B03CD03: 11866 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 11867 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 11868 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 11869 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 11870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11872 _flag_k = FK_CMP; 11873 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 11874 L_2B03CD11: 11875 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 11876 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 11877 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 11878 L_2B03CD1C: 11879 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 11880 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 11881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11883 _flag_k = FK_CMP; 11884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 11885 L_2B03CD24: 11886 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 11887 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 11888 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 11889 L_2B03CD2F: 11890 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 11891 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 11892 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 11893 L_2B03CD39: 11894 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 11895 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 11896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11897 _flag_k = FK_NARROW(FK_CMP, 24); 11898 RECOMP_BACKEDGE(); 11899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 11900 L_2B03CD43: 11901 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 11902 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11904 _flag_k = FK_CMP; 11905 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 11906 L_2B03CD47: 11907 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 11908 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 11909 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 11910 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 11911 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 11912 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 11913 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11915 _flag_k = FK_CMP; 11916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 11917 L_2B03CD58: 11918 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 11919 L_2B03CD5B: 11920 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 11921 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 11922 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 11923 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 11924 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11926 _flag_k = FK_CMP; 11927 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 11928 L_2B03CD69: 11929 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 11930 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 11931 L_2B03CD6E: 11932 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 11933 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 11934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11936 _flag_k = FK_CMP; 11937 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 11938 L_2B03CD76: 11939 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 11940 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 11941 L_2B03CD7B: 11942 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 11943 L_2B03CD7D: 11944 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 11945 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 11946 L_2B03CD83: 11947 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 11948 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 11949 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 11950 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 11951 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 11952 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 11953 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 11954 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 11955 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 11956 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 11957 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 11958 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 11959 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11961 _flag_k = FK_CMP; 11962 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 11963 L_2B03CDA8: 11964 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 11965 L_2B03CDAB: 11966 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 11967 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 11968 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 11969 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 11970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11972 _flag_k = FK_CMP; 11973 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 11974 L_2B03CDB9: 11975 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 11976 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 11977 L_2B03CDBE: 11978 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 11979 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 11980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11982 _flag_k = FK_CMP; 11983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 11984 L_2B03CDC5: 11985 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 11986 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 11987 L_2B03CDC9: 11988 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 11989 L_2B03CDCC: 11990 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 11991 L_2B03CDCE: 11992 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 11993 L_2B03CDD1: 11994 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 11995 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 11996 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11998 _flag_k = FK_CMP; 11999 RECOMP_BACKEDGE(); 12000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 12001 L_2B03CDDD: 12002 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 12003 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 12004 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 12005 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 12006 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 12007 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 12008 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 12009 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 12010 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 12011 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 12012 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 12013 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 12014 RECOMP_REGS_OUT(); 12015 } 12016 12017 void sub_2B03CD83(void) { 12018 int _fpu_cmp = 0; 12019 uint32_t _cf = 0; 12020 int _df = 1; 12021 uint32_t _flag_k = FK_NONE; 12022 uint32_t _flag_a = 0, _flag_b = 0; 12023 uint32_t _itail_tgt = 0; 12024 RECOMP_REGS_LOCALS 12025 RECOMP_ENTER(0x2B03CD83u); 12026 12027 goto L_2B03CD83; 12028 L_2B03CC5D: 12029 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 12030 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 12031 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 12032 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12033 _cf = 0; 12034 _flag_k = FK_NARROW(FK_TEST, 24); 12035 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 12036 L_2B03CC6B: 12037 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 12038 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 12039 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 12040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12042 _flag_k = FK_CMP; 12043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 12044 L_2B03CC78: 12045 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 12046 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 12047 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12049 _flag_k = FK_NARROW(FK_CMP, 24); 12050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 12051 L_2B03CC81: 12052 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 12053 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 12054 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 12055 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 12056 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 12057 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 12058 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 12059 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 12060 L_2B03CC9C: 12061 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 12062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12064 _flag_k = FK_CMP; 12065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 12066 L_2B03CCA1: 12067 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 12068 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 12069 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 12070 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 12071 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 12072 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 12073 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12075 _flag_k = FK_CMP; 12076 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 12077 L_2B03CCB2: 12078 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 12079 L_2B03CCB5: 12080 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 12081 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 12082 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 12083 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 12084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12086 _flag_k = FK_CMP; 12087 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 12088 L_2B03CCC3: 12089 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 12090 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 12091 L_2B03CCC8: 12092 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 12093 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 12094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12096 _flag_k = FK_CMP; 12097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 12098 L_2B03CCCF: 12099 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 12100 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 12101 L_2B03CCD3: 12102 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 12103 L_2B03CCD6: 12104 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 12105 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 12106 L_2B03CCDB: 12107 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 12108 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 12109 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 12110 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 12111 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 12112 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 12113 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 12114 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 12115 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 12116 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 12117 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 12118 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 12119 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12121 _flag_k = FK_CMP; 12122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 12123 L_2B03CD00: 12124 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 12125 L_2B03CD03: 12126 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 12127 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 12128 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 12129 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 12130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12132 _flag_k = FK_CMP; 12133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 12134 L_2B03CD11: 12135 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 12136 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 12137 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 12138 L_2B03CD1C: 12139 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 12140 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 12141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12143 _flag_k = FK_CMP; 12144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 12145 L_2B03CD24: 12146 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 12147 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 12148 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 12149 L_2B03CD2F: 12150 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 12151 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 12152 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 12153 L_2B03CD39: 12154 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 12155 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12157 _flag_k = FK_NARROW(FK_CMP, 24); 12158 RECOMP_BACKEDGE(); 12159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 12160 L_2B03CD43: 12161 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 12162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12164 _flag_k = FK_CMP; 12165 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 12166 L_2B03CD47: 12167 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 12168 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 12169 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 12170 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 12171 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 12172 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 12173 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12175 _flag_k = FK_CMP; 12176 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 12177 L_2B03CD58: 12178 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 12179 L_2B03CD5B: 12180 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 12181 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 12182 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 12183 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 12184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12186 _flag_k = FK_CMP; 12187 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 12188 L_2B03CD69: 12189 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 12190 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 12191 L_2B03CD6E: 12192 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 12193 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 12194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12196 _flag_k = FK_CMP; 12197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 12198 L_2B03CD76: 12199 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 12200 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 12201 L_2B03CD7B: 12202 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 12203 L_2B03CD7D: 12204 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 12205 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 12206 L_2B03CD83: 12207 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 12208 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 12209 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 12210 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 12211 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 12212 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 12213 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 12214 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 12215 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 12216 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 12217 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 12218 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 12219 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12221 _flag_k = FK_CMP; 12222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 12223 L_2B03CDA8: 12224 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 12225 L_2B03CDAB: 12226 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 12227 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 12228 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 12229 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 12230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12232 _flag_k = FK_CMP; 12233 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 12234 L_2B03CDB9: 12235 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 12236 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 12237 L_2B03CDBE: 12238 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 12239 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 12240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12242 _flag_k = FK_CMP; 12243 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 12244 L_2B03CDC5: 12245 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 12246 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 12247 L_2B03CDC9: 12248 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 12249 L_2B03CDCC: 12250 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 12251 L_2B03CDCE: 12252 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 12253 L_2B03CDD1: 12254 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 12255 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 12256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12258 _flag_k = FK_CMP; 12259 RECOMP_BACKEDGE(); 12260 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 12261 L_2B03CDDD: 12262 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 12263 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 12264 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 12265 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 12266 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 12267 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 12268 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 12269 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 12270 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 12271 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 12272 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 12273 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 12274 RECOMP_REGS_OUT(); 12275 } 12276 12277 void sub_2B03CDCC(void) { 12278 int _fpu_cmp = 0; 12279 uint32_t _cf = 0; 12280 int _df = 1; 12281 uint32_t _flag_k = FK_NONE; 12282 uint32_t _flag_a = 0, _flag_b = 0; 12283 uint32_t _itail_tgt = 0; 12284 RECOMP_REGS_LOCALS 12285 RECOMP_ENTER(0x2B03CDCCu); 12286 12287 goto L_2B03CDCC; 12288 L_2B03CC5D: 12289 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 12290 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 12291 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 12292 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12293 _cf = 0; 12294 _flag_k = FK_NARROW(FK_TEST, 24); 12295 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 12296 L_2B03CC6B: 12297 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 12298 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 12299 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 12300 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12302 _flag_k = FK_CMP; 12303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 12304 L_2B03CC78: 12305 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 12306 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 12307 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12309 _flag_k = FK_NARROW(FK_CMP, 24); 12310 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 12311 L_2B03CC81: 12312 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 12313 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 12314 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 12315 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 12316 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 12317 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 12318 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 12319 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 12320 L_2B03CC9C: 12321 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 12322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12324 _flag_k = FK_CMP; 12325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 12326 L_2B03CCA1: 12327 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 12328 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 12329 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 12330 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 12331 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 12332 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 12333 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12335 _flag_k = FK_CMP; 12336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 12337 L_2B03CCB2: 12338 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 12339 L_2B03CCB5: 12340 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 12341 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 12342 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 12343 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 12344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12346 _flag_k = FK_CMP; 12347 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 12348 L_2B03CCC3: 12349 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 12350 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 12351 L_2B03CCC8: 12352 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 12353 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 12354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12356 _flag_k = FK_CMP; 12357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 12358 L_2B03CCCF: 12359 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 12360 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 12361 L_2B03CCD3: 12362 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 12363 L_2B03CCD6: 12364 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 12365 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 12366 L_2B03CCDB: 12367 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 12368 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 12369 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 12370 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 12371 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 12372 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 12373 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 12374 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 12375 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 12376 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 12377 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 12378 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 12379 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12381 _flag_k = FK_CMP; 12382 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 12383 L_2B03CD00: 12384 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 12385 L_2B03CD03: 12386 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 12387 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 12388 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 12389 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 12390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12392 _flag_k = FK_CMP; 12393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 12394 L_2B03CD11: 12395 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 12396 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 12397 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 12398 L_2B03CD1C: 12399 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 12400 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 12401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12403 _flag_k = FK_CMP; 12404 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 12405 L_2B03CD24: 12406 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 12407 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 12408 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 12409 L_2B03CD2F: 12410 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 12411 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 12412 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 12413 L_2B03CD39: 12414 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 12415 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12417 _flag_k = FK_NARROW(FK_CMP, 24); 12418 RECOMP_BACKEDGE(); 12419 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 12420 L_2B03CD43: 12421 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 12422 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12424 _flag_k = FK_CMP; 12425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 12426 L_2B03CD47: 12427 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 12428 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 12429 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 12430 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 12431 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 12432 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 12433 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12435 _flag_k = FK_CMP; 12436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 12437 L_2B03CD58: 12438 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 12439 L_2B03CD5B: 12440 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 12441 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 12442 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 12443 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 12444 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12446 _flag_k = FK_CMP; 12447 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 12448 L_2B03CD69: 12449 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 12450 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 12451 L_2B03CD6E: 12452 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 12453 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 12454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12456 _flag_k = FK_CMP; 12457 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 12458 L_2B03CD76: 12459 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 12460 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 12461 L_2B03CD7B: 12462 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 12463 L_2B03CD7D: 12464 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 12465 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 12466 L_2B03CD83: 12467 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 12468 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 12469 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 12470 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 12471 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 12472 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 12473 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 12474 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 12475 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 12476 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 12477 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 12478 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 12479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12481 _flag_k = FK_CMP; 12482 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 12483 L_2B03CDA8: 12484 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 12485 L_2B03CDAB: 12486 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 12487 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 12488 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 12489 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 12490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12492 _flag_k = FK_CMP; 12493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 12494 L_2B03CDB9: 12495 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 12496 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 12497 L_2B03CDBE: 12498 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 12499 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 12500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12502 _flag_k = FK_CMP; 12503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 12504 L_2B03CDC5: 12505 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 12506 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 12507 L_2B03CDC9: 12508 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 12509 L_2B03CDCC: 12510 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 12511 L_2B03CDCE: 12512 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 12513 L_2B03CDD1: 12514 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 12515 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 12516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12518 _flag_k = FK_CMP; 12519 RECOMP_BACKEDGE(); 12520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 12521 L_2B03CDDD: 12522 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 12523 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 12524 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 12525 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 12526 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 12527 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 12528 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 12529 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 12530 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 12531 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 12532 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 12533 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 12534 RECOMP_REGS_OUT(); 12535 } 12536 12537 void sub_2B03CDCE(void) { 12538 int _fpu_cmp = 0; 12539 uint32_t _cf = 0; 12540 int _df = 1; 12541 uint32_t _flag_k = FK_NONE; 12542 uint32_t _flag_a = 0, _flag_b = 0; 12543 uint32_t _itail_tgt = 0; 12544 RECOMP_REGS_LOCALS 12545 RECOMP_ENTER(0x2B03CDCEu); 12546 12547 goto L_2B03CDCE; 12548 L_2B03CC5D: 12549 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 12550 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 12551 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 12552 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12553 _cf = 0; 12554 _flag_k = FK_NARROW(FK_TEST, 24); 12555 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 12556 L_2B03CC6B: 12557 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 12558 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 12559 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 12560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12562 _flag_k = FK_CMP; 12563 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 12564 L_2B03CC78: 12565 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 12566 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 12567 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12569 _flag_k = FK_NARROW(FK_CMP, 24); 12570 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 12571 L_2B03CC81: 12572 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 12573 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 12574 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 12575 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 12576 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 12577 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 12578 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 12579 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 12580 L_2B03CC9C: 12581 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 12582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12584 _flag_k = FK_CMP; 12585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 12586 L_2B03CCA1: 12587 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 12588 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 12589 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 12590 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 12591 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 12592 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 12593 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12595 _flag_k = FK_CMP; 12596 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 12597 L_2B03CCB2: 12598 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 12599 L_2B03CCB5: 12600 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 12601 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 12602 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 12603 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 12604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12606 _flag_k = FK_CMP; 12607 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 12608 L_2B03CCC3: 12609 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 12610 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 12611 L_2B03CCC8: 12612 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 12613 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 12614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12616 _flag_k = FK_CMP; 12617 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 12618 L_2B03CCCF: 12619 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 12620 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 12621 L_2B03CCD3: 12622 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 12623 L_2B03CCD6: 12624 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 12625 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 12626 L_2B03CCDB: 12627 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 12628 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 12629 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 12630 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 12631 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 12632 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 12633 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 12634 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 12635 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 12636 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 12637 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 12638 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 12639 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12641 _flag_k = FK_CMP; 12642 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 12643 L_2B03CD00: 12644 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 12645 L_2B03CD03: 12646 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 12647 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 12648 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 12649 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 12650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12652 _flag_k = FK_CMP; 12653 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 12654 L_2B03CD11: 12655 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 12656 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 12657 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 12658 L_2B03CD1C: 12659 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 12660 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 12661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12663 _flag_k = FK_CMP; 12664 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 12665 L_2B03CD24: 12666 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 12667 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 12668 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 12669 L_2B03CD2F: 12670 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 12671 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 12672 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 12673 L_2B03CD39: 12674 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 12675 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12677 _flag_k = FK_NARROW(FK_CMP, 24); 12678 RECOMP_BACKEDGE(); 12679 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 12680 L_2B03CD43: 12681 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 12682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12684 _flag_k = FK_CMP; 12685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 12686 L_2B03CD47: 12687 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 12688 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 12689 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 12690 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 12691 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 12692 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 12693 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12695 _flag_k = FK_CMP; 12696 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 12697 L_2B03CD58: 12698 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 12699 L_2B03CD5B: 12700 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 12701 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 12702 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 12703 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 12704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12706 _flag_k = FK_CMP; 12707 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 12708 L_2B03CD69: 12709 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 12710 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 12711 L_2B03CD6E: 12712 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 12713 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 12714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12716 _flag_k = FK_CMP; 12717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 12718 L_2B03CD76: 12719 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 12720 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 12721 L_2B03CD7B: 12722 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 12723 L_2B03CD7D: 12724 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 12725 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 12726 L_2B03CD83: 12727 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 12728 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 12729 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 12730 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 12731 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 12732 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 12733 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 12734 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 12735 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 12736 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 12737 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 12738 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 12739 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12741 _flag_k = FK_CMP; 12742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 12743 L_2B03CDA8: 12744 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 12745 L_2B03CDAB: 12746 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 12747 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 12748 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 12749 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 12750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12752 _flag_k = FK_CMP; 12753 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 12754 L_2B03CDB9: 12755 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 12756 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 12757 L_2B03CDBE: 12758 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 12759 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 12760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12762 _flag_k = FK_CMP; 12763 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 12764 L_2B03CDC5: 12765 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 12766 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 12767 L_2B03CDC9: 12768 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 12769 L_2B03CDCC: 12770 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 12771 L_2B03CDCE: 12772 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 12773 L_2B03CDD1: 12774 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 12775 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 12776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12778 _flag_k = FK_CMP; 12779 RECOMP_BACKEDGE(); 12780 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 12781 L_2B03CDDD: 12782 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 12783 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 12784 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 12785 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 12786 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 12787 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 12788 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 12789 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 12790 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 12791 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 12792 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 12793 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 12794 RECOMP_REGS_OUT(); 12795 } 12796 12797 void sub_2B03CDD1(void) { 12798 int _fpu_cmp = 0; 12799 uint32_t _cf = 0; 12800 int _df = 1; 12801 uint32_t _flag_k = FK_NONE; 12802 uint32_t _flag_a = 0, _flag_b = 0; 12803 uint32_t _itail_tgt = 0; 12804 RECOMP_REGS_LOCALS 12805 RECOMP_ENTER(0x2B03CDD1u); 12806 12807 goto L_2B03CDD1; 12808 L_2B03CC5D: 12809 ecx = MEM32(eax + 0x4); /* 0x2B03CC5D: mov ecx, dword ptr [eax + 4] */ 12810 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B03CC60: mov dl, byte ptr [ecx + 0x2c] */ 12811 /* test LO8(edx), LO8(edx) */ /* 0x2B03CC63: test dl, dl */ 12812 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12813 _cf = 0; 12814 _flag_k = FK_NARROW(FK_TEST, 24); 12815 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CDDD; /* 0x2B03CC65: jne 0x2b03cddd */ 12816 L_2B03CC6B: 12817 edi = MEM32(ecx + 0x4); /* 0x2B03CC6B: mov edi, dword ptr [ecx + 4] */ 12818 edx = MEM32(edi); /* 0x2B03CC6E: mov edx, dword ptr [edi] */ 12819 /* cmp ecx, edx */ /* 0x2B03CC70: cmp ecx, edx */ 12820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12822 _flag_k = FK_CMP; 12823 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD39; /* 0x2B03CC72: jne 0x2b03cd39 */ 12824 L_2B03CC78: 12825 edx = MEM32(edi + 0x8); /* 0x2B03CC78: mov edx, dword ptr [edi + 8] */ 12826 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CC7B: cmp byte ptr [edx + 0x2c], 0 */ 12827 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12829 _flag_k = FK_NARROW(FK_CMP, 24); 12830 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC9C; /* 0x2B03CC7F: jne 0x2b03cc9c */ 12831 L_2B03CC81: 12832 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC81: mov byte ptr [ecx + 0x2c], bl */ 12833 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CC84: mov byte ptr [edx + 0x2c], bl */ 12834 ecx = MEM32(eax + 0x4); /* 0x2B03CC87: mov ecx, dword ptr [eax + 4] */ 12835 edx = MEM32(ecx + 0x4); /* 0x2B03CC8A: mov edx, dword ptr [ecx + 4] */ 12836 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B03CC8D: mov byte ptr [edx + 0x2c], 0 */ 12837 eax = MEM32(eax + 0x4); /* 0x2B03CC91: mov eax, dword ptr [eax + 4] */ 12838 eax = MEM32(eax + 0x4); /* 0x2B03CC94: mov eax, dword ptr [eax + 4] */ 12839 goto L_2B03CDD1; /* 0x2B03CC97: jmp 0x2b03cdd1 */ 12840 L_2B03CC9C: 12841 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B03CC9C: cmp eax, dword ptr [ecx + 8] */ 12842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12844 _flag_k = FK_CMP; 12845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCDB; /* 0x2B03CC9F: jne 0x2b03ccdb */ 12846 L_2B03CCA1: 12847 eax = ecx; /* 0x2B03CCA1: mov eax, ecx */ 12848 ecx = MEM32(eax + 0x8); /* 0x2B03CCA3: mov ecx, dword ptr [eax + 8] */ 12849 edx = MEM32(ecx); /* 0x2B03CCA6: mov edx, dword ptr [ecx] */ 12850 MEM32(eax + 0x8) = edx; /* 0x2B03CCA8: mov dword ptr [eax + 8], edx */ 12851 edx = MEM32(ecx); /* 0x2B03CCAB: mov edx, dword ptr [ecx] */ 12852 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CCAD: cmp edx, dword ptr [esi + 8] */ 12853 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12855 _flag_k = FK_CMP; 12856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CCB5; /* 0x2B03CCB0: je 0x2b03ccb5 */ 12857 L_2B03CCB2: 12858 MEM32(edx + 0x4) = eax; /* 0x2B03CCB2: mov dword ptr [edx + 4], eax */ 12859 L_2B03CCB5: 12860 edx = MEM32(eax + 0x4); /* 0x2B03CCB5: mov edx, dword ptr [eax + 4] */ 12861 MEM32(ecx + 0x4) = edx; /* 0x2B03CCB8: mov dword ptr [ecx + 4], edx */ 12862 edx = MEM32(esi + 0x4); /* 0x2B03CCBB: mov edx, dword ptr [esi + 4] */ 12863 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CCBE: cmp eax, dword ptr [edx + 4] */ 12864 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12866 _flag_k = FK_CMP; 12867 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCC8; /* 0x2B03CCC1: jne 0x2b03ccc8 */ 12868 L_2B03CCC3: 12869 MEM32(edx + 0x4) = ecx; /* 0x2B03CCC3: mov dword ptr [edx + 4], ecx */ 12870 goto L_2B03CCD6; /* 0x2B03CCC6: jmp 0x2b03ccd6 */ 12871 L_2B03CCC8: 12872 edx = MEM32(eax + 0x4); /* 0x2B03CCC8: mov edx, dword ptr [eax + 4] */ 12873 /* cmp eax, MEM32(edx) */ /* 0x2B03CCCB: cmp eax, dword ptr [edx] */ 12874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12876 _flag_k = FK_CMP; 12877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CCD3; /* 0x2B03CCCD: jne 0x2b03ccd3 */ 12878 L_2B03CCCF: 12879 MEM32(edx) = ecx; /* 0x2B03CCCF: mov dword ptr [edx], ecx */ 12880 goto L_2B03CCD6; /* 0x2B03CCD1: jmp 0x2b03ccd6 */ 12881 L_2B03CCD3: 12882 MEM32(edx + 0x8) = ecx; /* 0x2B03CCD3: mov dword ptr [edx + 8], ecx */ 12883 L_2B03CCD6: 12884 MEM32(ecx) = eax; /* 0x2B03CCD6: mov dword ptr [ecx], eax */ 12885 MEM32(eax + 0x4) = ecx; /* 0x2B03CCD8: mov dword ptr [eax + 4], ecx */ 12886 L_2B03CCDB: 12887 ecx = MEM32(eax + 0x4); /* 0x2B03CCDB: mov ecx, dword ptr [eax + 4] */ 12888 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CCDE: mov byte ptr [ecx + 0x2c], bl */ 12889 edx = MEM32(eax + 0x4); /* 0x2B03CCE1: mov edx, dword ptr [eax + 4] */ 12890 ecx = MEM32(edx + 0x4); /* 0x2B03CCE4: mov ecx, dword ptr [edx + 4] */ 12891 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CCE7: mov byte ptr [ecx + 0x2c], 0 */ 12892 edx = MEM32(eax + 0x4); /* 0x2B03CCEB: mov edx, dword ptr [eax + 4] */ 12893 ecx = MEM32(edx + 0x4); /* 0x2B03CCEE: mov ecx, dword ptr [edx + 4] */ 12894 edx = MEM32(ecx); /* 0x2B03CCF1: mov edx, dword ptr [ecx] */ 12895 edi = MEM32(edx + 0x8); /* 0x2B03CCF3: mov edi, dword ptr [edx + 8] */ 12896 MEM32(ecx) = edi; /* 0x2B03CCF6: mov dword ptr [ecx], edi */ 12897 edi = MEM32(edx + 0x8); /* 0x2B03CCF8: mov edi, dword ptr [edx + 8] */ 12898 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CCFB: cmp edi, dword ptr [esi + 8] */ 12899 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12901 _flag_k = FK_CMP; 12902 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD03; /* 0x2B03CCFE: je 0x2b03cd03 */ 12903 L_2B03CD00: 12904 MEM32(edi + 0x4) = ecx; /* 0x2B03CD00: mov dword ptr [edi + 4], ecx */ 12905 L_2B03CD03: 12906 edi = MEM32(ecx + 0x4); /* 0x2B03CD03: mov edi, dword ptr [ecx + 4] */ 12907 MEM32(edx + 0x4) = edi; /* 0x2B03CD06: mov dword ptr [edx + 4], edi */ 12908 edi = MEM32(esi + 0x4); /* 0x2B03CD09: mov edi, dword ptr [esi + 4] */ 12909 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CD0C: cmp ecx, dword ptr [edi + 4] */ 12910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12912 _flag_k = FK_CMP; 12913 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD1C; /* 0x2B03CD0F: jne 0x2b03cd1c */ 12914 L_2B03CD11: 12915 MEM32(edi + 0x4) = edx; /* 0x2B03CD11: mov dword ptr [edi + 4], edx */ 12916 MEM32(edx + 0x8) = ecx; /* 0x2B03CD14: mov dword ptr [edx + 8], ecx */ 12917 goto L_2B03CDCE; /* 0x2B03CD17: jmp 0x2b03cdce */ 12918 L_2B03CD1C: 12919 edi = MEM32(ecx + 0x4); /* 0x2B03CD1C: mov edi, dword ptr [ecx + 4] */ 12920 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B03CD1F: cmp ecx, dword ptr [edi + 8] */ 12921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12923 _flag_k = FK_CMP; 12924 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD2F; /* 0x2B03CD22: jne 0x2b03cd2f */ 12925 L_2B03CD24: 12926 MEM32(edi + 0x8) = edx; /* 0x2B03CD24: mov dword ptr [edi + 8], edx */ 12927 MEM32(edx + 0x8) = ecx; /* 0x2B03CD27: mov dword ptr [edx + 8], ecx */ 12928 goto L_2B03CDCE; /* 0x2B03CD2A: jmp 0x2b03cdce */ 12929 L_2B03CD2F: 12930 MEM32(edi) = edx; /* 0x2B03CD2F: mov dword ptr [edi], edx */ 12931 MEM32(edx + 0x8) = ecx; /* 0x2B03CD31: mov dword ptr [edx + 8], ecx */ 12932 goto L_2B03CDCE; /* 0x2B03CD34: jmp 0x2b03cdce */ 12933 L_2B03CD39: 12934 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B03CD39: cmp byte ptr [edx + 0x2c], 0 */ 12935 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 12936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12937 _flag_k = FK_NARROW(FK_CMP, 24); 12938 RECOMP_BACKEDGE(); 12939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CC81; /* 0x2B03CD3D: je 0x2b03cc81 */ 12940 L_2B03CD43: 12941 /* cmp eax, MEM32(ecx) */ /* 0x2B03CD43: cmp eax, dword ptr [ecx] */ 12942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12944 _flag_k = FK_CMP; 12945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD83; /* 0x2B03CD45: jne 0x2b03cd83 */ 12946 L_2B03CD47: 12947 eax = ecx; /* 0x2B03CD47: mov eax, ecx */ 12948 ecx = MEM32(eax); /* 0x2B03CD49: mov ecx, dword ptr [eax] */ 12949 edx = MEM32(ecx + 0x8); /* 0x2B03CD4B: mov edx, dword ptr [ecx + 8] */ 12950 MEM32(eax) = edx; /* 0x2B03CD4E: mov dword ptr [eax], edx */ 12951 edx = MEM32(ecx + 0x8); /* 0x2B03CD50: mov edx, dword ptr [ecx + 8] */ 12952 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B03CD53: cmp edx, dword ptr [esi + 8] */ 12953 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12955 _flag_k = FK_CMP; 12956 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CD5B; /* 0x2B03CD56: je 0x2b03cd5b */ 12957 L_2B03CD58: 12958 MEM32(edx + 0x4) = eax; /* 0x2B03CD58: mov dword ptr [edx + 4], eax */ 12959 L_2B03CD5B: 12960 edx = MEM32(eax + 0x4); /* 0x2B03CD5B: mov edx, dword ptr [eax + 4] */ 12961 MEM32(ecx + 0x4) = edx; /* 0x2B03CD5E: mov dword ptr [ecx + 4], edx */ 12962 edx = MEM32(esi + 0x4); /* 0x2B03CD61: mov edx, dword ptr [esi + 4] */ 12963 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B03CD64: cmp eax, dword ptr [edx + 4] */ 12964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12966 _flag_k = FK_CMP; 12967 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD6E; /* 0x2B03CD67: jne 0x2b03cd6e */ 12968 L_2B03CD69: 12969 MEM32(edx + 0x4) = ecx; /* 0x2B03CD69: mov dword ptr [edx + 4], ecx */ 12970 goto L_2B03CD7D; /* 0x2B03CD6C: jmp 0x2b03cd7d */ 12971 L_2B03CD6E: 12972 edx = MEM32(eax + 0x4); /* 0x2B03CD6E: mov edx, dword ptr [eax + 4] */ 12973 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B03CD71: cmp eax, dword ptr [edx + 8] */ 12974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12976 _flag_k = FK_CMP; 12977 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CD7B; /* 0x2B03CD74: jne 0x2b03cd7b */ 12978 L_2B03CD76: 12979 MEM32(edx + 0x8) = ecx; /* 0x2B03CD76: mov dword ptr [edx + 8], ecx */ 12980 goto L_2B03CD7D; /* 0x2B03CD79: jmp 0x2b03cd7d */ 12981 L_2B03CD7B: 12982 MEM32(edx) = ecx; /* 0x2B03CD7B: mov dword ptr [edx], ecx */ 12983 L_2B03CD7D: 12984 MEM32(ecx + 0x8) = eax; /* 0x2B03CD7D: mov dword ptr [ecx + 8], eax */ 12985 MEM32(eax + 0x4) = ecx; /* 0x2B03CD80: mov dword ptr [eax + 4], ecx */ 12986 L_2B03CD83: 12987 ecx = MEM32(eax + 0x4); /* 0x2B03CD83: mov ecx, dword ptr [eax + 4] */ 12988 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CD86: mov byte ptr [ecx + 0x2c], bl */ 12989 edx = MEM32(eax + 0x4); /* 0x2B03CD89: mov edx, dword ptr [eax + 4] */ 12990 ecx = MEM32(edx + 0x4); /* 0x2B03CD8C: mov ecx, dword ptr [edx + 4] */ 12991 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B03CD8F: mov byte ptr [ecx + 0x2c], 0 */ 12992 edx = MEM32(eax + 0x4); /* 0x2B03CD93: mov edx, dword ptr [eax + 4] */ 12993 ecx = MEM32(edx + 0x4); /* 0x2B03CD96: mov ecx, dword ptr [edx + 4] */ 12994 edx = MEM32(ecx + 0x8); /* 0x2B03CD99: mov edx, dword ptr [ecx + 8] */ 12995 edi = MEM32(edx); /* 0x2B03CD9C: mov edi, dword ptr [edx] */ 12996 MEM32(ecx + 0x8) = edi; /* 0x2B03CD9E: mov dword ptr [ecx + 8], edi */ 12997 edi = MEM32(edx); /* 0x2B03CDA1: mov edi, dword ptr [edx] */ 12998 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B03CDA3: cmp edi, dword ptr [esi + 8] */ 12999 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13001 _flag_k = FK_CMP; 13002 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CDAB; /* 0x2B03CDA6: je 0x2b03cdab */ 13003 L_2B03CDA8: 13004 MEM32(edi + 0x4) = ecx; /* 0x2B03CDA8: mov dword ptr [edi + 4], ecx */ 13005 L_2B03CDAB: 13006 edi = MEM32(ecx + 0x4); /* 0x2B03CDAB: mov edi, dword ptr [ecx + 4] */ 13007 MEM32(edx + 0x4) = edi; /* 0x2B03CDAE: mov dword ptr [edx + 4], edi */ 13008 edi = MEM32(esi + 0x4); /* 0x2B03CDB1: mov edi, dword ptr [esi + 4] */ 13009 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B03CDB4: cmp ecx, dword ptr [edi + 4] */ 13010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13012 _flag_k = FK_CMP; 13013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDBE; /* 0x2B03CDB7: jne 0x2b03cdbe */ 13014 L_2B03CDB9: 13015 MEM32(edi + 0x4) = edx; /* 0x2B03CDB9: mov dword ptr [edi + 4], edx */ 13016 goto L_2B03CDCC; /* 0x2B03CDBC: jmp 0x2b03cdcc */ 13017 L_2B03CDBE: 13018 edi = MEM32(ecx + 0x4); /* 0x2B03CDBE: mov edi, dword ptr [ecx + 4] */ 13019 /* cmp ecx, MEM32(edi) */ /* 0x2B03CDC1: cmp ecx, dword ptr [edi] */ 13020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 13021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13022 _flag_k = FK_CMP; 13023 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CDC9; /* 0x2B03CDC3: jne 0x2b03cdc9 */ 13024 L_2B03CDC5: 13025 MEM32(edi) = edx; /* 0x2B03CDC5: mov dword ptr [edi], edx */ 13026 goto L_2B03CDCC; /* 0x2B03CDC7: jmp 0x2b03cdcc */ 13027 L_2B03CDC9: 13028 MEM32(edi + 0x8) = edx; /* 0x2B03CDC9: mov dword ptr [edi + 8], edx */ 13029 L_2B03CDCC: 13030 MEM32(edx) = ecx; /* 0x2B03CDCC: mov dword ptr [edx], ecx */ 13031 L_2B03CDCE: 13032 MEM32(ecx + 0x4) = edx; /* 0x2B03CDCE: mov dword ptr [ecx + 4], edx */ 13033 L_2B03CDD1: 13034 ecx = MEM32(esi + 0x4); /* 0x2B03CDD1: mov ecx, dword ptr [esi + 4] */ 13035 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B03CDD4: cmp eax, dword ptr [ecx + 4] */ 13036 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13038 _flag_k = FK_CMP; 13039 RECOMP_BACKEDGE(); 13040 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CC5D; /* 0x2B03CDD7: jne 0x2b03cc5d */ 13041 L_2B03CDDD: 13042 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 13043 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 13044 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 13045 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 13046 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 13047 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 13048 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 13049 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 13050 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 13051 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 13052 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 13053 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 13054 RECOMP_REGS_OUT(); 13055 } 13056 13057 void sub_2B03CDDD(void) { 13058 int _fpu_cmp = 0; 13059 uint32_t _cf = 0; 13060 int _df = 1; 13061 uint32_t _flag_k = FK_NONE; 13062 uint32_t _flag_a = 0, _flag_b = 0; 13063 uint32_t _itail_tgt = 0; 13064 RECOMP_REGS_LOCALS 13065 RECOMP_ENTER(0x2B03CDDDu); 13066 13067 L_2B03CDDD: 13068 edx = MEM32(esi + 0x4); /* 0x2B03CDDD: mov edx, dword ptr [esi + 4] */ 13069 eax = MEM32(edx + 0x4); /* 0x2B03CDE0: mov eax, dword ptr [edx + 4] */ 13070 ecx = MEM32(ebp + (-0x4)); /* 0x2B03CDE3: mov ecx, dword ptr [ebp - 4] */ 13071 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B03CDE6: mov byte ptr [eax + 0x2c], bl */ 13072 eax = MEM32(ebp + 0x8); /* 0x2B03CDE9: mov eax, dword ptr [ebp + 8] */ 13073 edi = POP32_VAL(esp); /* 0x2B03CDEC: pop edi */ 13074 esi = POP32_VAL(esp); /* 0x2B03CDED: pop esi */ 13075 MEM32(eax) = ecx; /* 0x2B03CDEE: mov dword ptr [eax], ecx */ 13076 ebx = POP32_VAL(esp); /* 0x2B03CDF0: pop ebx */ 13077 esp = ebp; /* 0x2B03CDF1: mov esp, ebp */ 13078 ebp = POP32_VAL(esp); /* 0x2B03CDF3: pop ebp */ 13079 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03CDF4: ret 0x10 */ 13080 RECOMP_REGS_OUT(); 13081 } 13082 13083 void sub_2B03CE00(void) { 13084 int _fpu_cmp = 0; 13085 uint32_t _cf = 0; 13086 int _df = 1; 13087 uint32_t _flag_k = FK_NONE; 13088 uint32_t _flag_a = 0, _flag_b = 0; 13089 uint32_t _itail_tgt = 0; 13090 RECOMP_REGS_LOCALS 13091 RECOMP_ENTER(0x2B03CE00u); 13092 13093 L_2B03CE00: 13094 PUSH32(esp, ebp); /* 0x2B03CE00: push ebp */ 13095 ebp = esp; /* 0x2B03CE01: mov ebp, esp */ 13096 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03CE03: push -1 */ 13097 PUSH32(esp, 0x2B0AE961u); /* 0x2B03CE05: push 0x2b0ae961 */ 13098 eax = MEM32(FS_BASE + (0)); /* 0x2B03CE0A: mov eax, dword ptr fs:[0] */ 13099 PUSH32(esp, eax); /* 0x2B03CE10: push eax */ 13100 MEM32(FS_BASE + (0)) = esp; /* 0x2B03CE11: mov dword ptr fs:[0], esp */ 13101 PUSH32(esp, ecx); /* 0x2B03CE18: push ecx */ 13102 PUSH32(esp, ebx); /* 0x2B03CE19: push ebx */ 13103 ebx = MEM32(ebp + 0x8); /* 0x2B03CE1A: mov ebx, dword ptr [ebp + 8] */ 13104 PUSH32(esp, esi); /* 0x2B03CE1D: push esi */ 13105 PUSH32(esp, edi); /* 0x2B03CE1E: push edi */ 13106 MEM32(ebp + (-0x10)) = ebx; /* 0x2B03CE1F: mov dword ptr [ebp - 0x10], ebx */ 13107 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13108 edx = 0; /* 0x2B03CE22: xor edx, edx */ 13109 _cf = 0; 13110 _flag_k = FK_TEST; 13111 /* cmp ebx, edx */ /* 0x2B03CE24: cmp ebx, edx */ 13112 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 13113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13114 _flag_k = FK_CMP; 13115 MEM32(ebp + (-0x4)) = edx; /* 0x2B03CE26: mov dword ptr [ebp - 4], edx */ 13116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03CF85; /* 0x2B03CE29: je 0x2b03cf85 */ 13117 L_2B03CE2F: 13118 eax = MEM32(ebp + 0xC); /* 0x2B03CE2F: mov eax, dword ptr [ebp + 0xc] */ 13119 ecx = MEM32(eax); /* 0x2B03CE32: mov ecx, dword ptr [eax] */ 13120 MEM32(ebx) = ecx; /* 0x2B03CE34: mov dword ptr [ebx], ecx */ 13121 SET_LO8(ecx, MEM8(eax + 0x4)); /* 0x2B03CE36: mov cl, byte ptr [eax + 4] */ 13122 MEM8(ebx + 0x4) = (uint8_t)(LO8(ecx)); /* 0x2B03CE39: mov byte ptr [ebx + 4], cl */ 13123 ecx = MEM32(eax + 0x8); /* 0x2B03CE3C: mov ecx, dword ptr [eax + 8] */ 13124 MEM32(ebx + 0x8) = ecx; /* 0x2B03CE3F: mov dword ptr [ebx + 8], ecx */ 13125 ecx = MEM32(eax + 0xC); /* 0x2B03CE42: mov ecx, dword ptr [eax + 0xc] */ 13126 MEM32(ebx + 0xC) = ecx; /* 0x2B03CE45: mov dword ptr [ebx + 0xc], ecx */ 13127 esi = eax + 0x10; /* 0x2B03CE48: lea esi, [eax + 0x10] */ 13128 SET_LO8(eax, MEM8(esi)); /* 0x2B03CE4B: mov al, byte ptr [esi] */ 13129 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 13130 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13131 ebx = ebx + 0x10u; /* 0x2B03CE4D: add ebx, 0x10 */ 13132 _flag_k = FK_ADD; 13133 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B03CE50: mov byte ptr [ebx], al */ 13134 MEM32(ebx + 0x4) = edx; /* 0x2B03CE52: mov dword ptr [ebx + 4], edx */ 13135 MEM32(ebx + 0x8) = edx; /* 0x2B03CE55: mov dword ptr [ebx + 8], edx */ 13136 MEM32(ebx + 0xC) = edx; /* 0x2B03CE58: mov dword ptr [ebx + 0xc], edx */ 13137 ecx = MEM32(0x2B0B515C); /* 0x2B03CE5B: mov ecx, dword ptr [0x2b0b515c] */ 13138 eax = MEM32(ecx); /* 0x2B03CE61: mov eax, dword ptr [ecx] */ 13139 ecx = MEM32(esi + 0x8); /* 0x2B03CE63: mov ecx, dword ptr [esi + 8] */ 13140 edi = ecx; /* 0x2B03CE66: mov edi, ecx */ 13141 /* cmp eax, edi */ /* 0x2B03CE68: cmp eax, edi */ 13142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13144 _flag_k = FK_CMP; 13145 MEM32(ebp + 0xC) = edi; /* 0x2B03CE6A: mov dword ptr [ebp + 0xc], edi */ 13146 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03CE74; /* 0x2B03CE6D: jae 0x2b03ce74 */ 13147 L_2B03CE6F: 13148 MEM32(ebp + 0xC) = eax; /* 0x2B03CE6F: mov dword ptr [ebp + 0xc], eax */ 13149 edi = eax; /* 0x2B03CE72: mov edi, eax */ 13150 L_2B03CE74: 13151 /* cmp ebx, esi */ /* 0x2B03CE74: cmp ebx, esi */ 13152 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 13153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13154 _flag_k = FK_CMP; 13155 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CEF1; /* 0x2B03CE76: jne 0x2b03cef1 */ 13156 L_2B03CE78: 13157 /* cmp edi, edx */ /* 0x2B03CE78: cmp edi, edx */ 13158 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13160 _flag_k = FK_CMP; 13161 esi = eax; /* 0x2B03CE7A: mov esi, eax */ 13162 if (CMP_BE(_flag_a, _flag_b)) goto L_2B03CE84; /* 0x2B03CE7C: jbe 0x2b03ce84 */ 13163 L_2B03CE7E: 13164 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B03CE7E: call dword ptr [0x2b0b519c] */ 13165 RECOMP_FLAGS_IN(); 13166 L_2B03CE84: 13167 eax = MEM32(ebx + 0x8); /* 0x2B03CE84: mov eax, dword ptr [ebx + 8] */ 13168 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13170 eax = eax - edi; /* 0x2B03CE87: sub eax, edi */ 13171 _flag_k = FK_CMP; 13172 /* cmp eax, esi */ /* 0x2B03CE89: cmp eax, esi */ 13173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13175 _flag_k = FK_CMP; 13176 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03CE8F; /* 0x2B03CE8B: jae 0x2b03ce8f */ 13177 L_2B03CE8D: 13178 esi = eax; /* 0x2B03CE8D: mov esi, eax */ 13179 L_2B03CE8F: 13180 /* test esi, esi */ /* 0x2B03CE8F: test esi, esi */ 13181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13182 _cf = 0; 13183 _flag_k = FK_TEST; 13184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03CED4; /* 0x2B03CE91: jbe 0x2b03ced4 */ 13185 L_2B03CE93: 13186 ecx = ebx; /* 0x2B03CE93: mov ecx, ebx */ 13187 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B03CE95: call dword ptr [0x2b0b516c] */ 13188 RECOMP_FLAGS_IN(); 13189 ecx = MEM32(ebx + 0x8); /* 0x2B03CE9B: mov ecx, dword ptr [ebx + 8] */ 13190 edx = MEM32(ebx + 0x4); /* 0x2B03CE9E: mov edx, dword ptr [ebx + 4] */ 13191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13193 ecx = ecx - esi; /* 0x2B03CEA1: sub ecx, esi */ 13194 _flag_k = FK_CMP; 13195 eax = edi + edx; /* 0x2B03CEA3: lea eax, [edi + edx] */ 13196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13198 ecx = ecx - edi; /* 0x2B03CEA6: sub ecx, edi */ 13199 _flag_k = FK_CMP; 13200 PUSH32(esp, ecx); /* 0x2B03CEA8: push ecx */ 13201 edx = eax + esi; /* 0x2B03CEA9: lea edx, [eax + esi] */ 13202 PUSH32(esp, edx); /* 0x2B03CEAC: push edx */ 13203 PUSH32(esp, eax); /* 0x2B03CEAD: push eax */ 13204 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B03CEAE: call dword ptr [0x2b0b51d4] */ 13205 RECOMP_FLAGS_IN(); 13206 edi = MEM32(ebx + 0x8); /* 0x2B03CEB4: mov edi, dword ptr [ebx + 8] */ 13207 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13208 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13209 esp = esp + 0xCu; /* 0x2B03CEB7: add esp, 0xc */ 13210 _flag_k = FK_ADD; 13211 PUSH32(esp, 0); /* 0x2B03CEBA: push 0 */ 13212 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13214 edi = edi - esi; /* 0x2B03CEBC: sub edi, esi */ 13215 _flag_k = FK_CMP; 13216 PUSH32(esp, edi); /* 0x2B03CEBE: push edi */ 13217 ecx = ebx; /* 0x2B03CEBF: mov ecx, ebx */ 13218 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B03CEC1: call dword ptr [0x2b0b5154] */ 13219 RECOMP_FLAGS_IN(); 13220 /* test LO8(eax), LO8(eax) */ /* 0x2B03CEC7: test al, al */ 13221 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13222 _cf = 0; 13223 _flag_k = FK_NARROW(FK_TEST, 24); 13224 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03CED4; /* 0x2B03CEC9: je 0x2b03ced4 */ 13225 L_2B03CECB: 13226 PUSH32(esp, edi); /* 0x2B03CECB: push edi */ 13227 ecx = ebx; /* 0x2B03CECC: mov ecx, ebx */ 13228 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B03CECE: call dword ptr [0x2b0b5150] */ 13229 RECOMP_FLAGS_IN(); 13230 L_2B03CED4: 13231 PUSH32(esp, 0); /* 0x2B03CED4: push 0 */ 13232 PUSH32(esp, 0); /* 0x2B03CED6: push 0 */ 13233 ecx = ebx; /* 0x2B03CED8: mov ecx, ebx */ 13234 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B03CEDA: call dword ptr [0x2b0b51ac] */ 13235 RECOMP_FLAGS_IN(); 13236 edi = POP32_VAL(esp); /* 0x2B03CEE0: pop edi */ 13237 esi = POP32_VAL(esp); /* 0x2B03CEE1: pop esi */ 13238 ebx = POP32_VAL(esp); /* 0x2B03CEE2: pop ebx */ 13239 ecx = MEM32(ebp + (-0xC)); /* 0x2B03CEE3: mov ecx, dword ptr [ebp - 0xc] */ 13240 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03CEE6: mov dword ptr fs:[0], ecx */ 13241 esp = ebp; /* 0x2B03CEED: mov esp, ebp */ 13242 ebp = POP32_VAL(esp); /* 0x2B03CEEF: pop ebp */ 13243 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03CEF0: ret */ 13244 L_2B03CEF1: 13245 /* cmp edi, edx */ /* 0x2B03CEF1: cmp edi, edx */ 13246 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13248 _flag_k = FK_CMP; 13249 if (CMP_BE(_flag_a, _flag_b)) goto L_2B03CF49; /* 0x2B03CEF3: jbe 0x2b03cf49 */ 13250 L_2B03CEF5: 13251 /* cmp edi, ecx */ /* 0x2B03CEF5: cmp edi, ecx */ 13252 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 13253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13254 _flag_k = FK_CMP; 13255 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CF49; /* 0x2B03CEF7: jne 0x2b03cf49 */ 13256 L_2B03CEF9: 13257 eax = MEM32(esi + 0x4); /* 0x2B03CEF9: mov eax, dword ptr [esi + 4] */ 13258 /* cmp eax, edx */ /* 0x2B03CEFC: cmp eax, edx */ 13259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 13260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13261 _flag_k = FK_CMP; 13262 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03CF05; /* 0x2B03CEFE: jne 0x2b03cf05 */ 13263 L_2B03CF00: 13264 eax = MEM32(0x2B0B513C); /* 0x2B03CF00: mov eax, dword ptr [0x2b0b513c] */ 13265 L_2B03CF05: 13266 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B03CF05: cmp byte ptr [eax - 1], 0xfe */ 13267 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 13268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13269 _flag_k = FK_NARROW(FK_CMP, 24); 13270 if (CMP_AE(_flag_a, _flag_b)) goto L_2B03CF49; /* 0x2B03CF09: jae 0x2b03cf49 */ 13271 L_2B03CF0B: 13272 PUSH32(esp, 1); /* 0x2B03CF0B: push 1 */ 13273 ecx = ebx; /* 0x2B03CF0D: mov ecx, ebx */ 13274 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B03CF0F: call dword ptr [0x2b0b514c] */ 13275 RECOMP_FLAGS_IN(); 13276 eax = MEM32(esi + 0x4); /* 0x2B03CF15: mov eax, dword ptr [esi + 4] */ 13277 /* test eax, eax */ /* 0x2B03CF18: test eax, eax */ 13278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13279 _cf = 0; 13280 _flag_k = FK_TEST; 13281 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CF21; /* 0x2B03CF1A: jne 0x2b03cf21 */ 13282 L_2B03CF1C: 13283 eax = MEM32(0x2B0B513C); /* 0x2B03CF1C: mov eax, dword ptr [0x2b0b513c] */ 13284 L_2B03CF21: 13285 MEM32(ebx + 0x4) = eax; /* 0x2B03CF21: mov dword ptr [ebx + 4], eax */ 13286 ecx = MEM32(esi + 0x8); /* 0x2B03CF24: mov ecx, dword ptr [esi + 8] */ 13287 MEM32(ebx + 0x8) = ecx; /* 0x2B03CF27: mov dword ptr [ebx + 8], ecx */ 13288 edx = MEM32(esi + 0xC); /* 0x2B03CF2A: mov edx, dword ptr [esi + 0xc] */ 13289 MEM32(ebx + 0xC) = edx; /* 0x2B03CF2D: mov dword ptr [ebx + 0xc], edx */ 13290 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B03CF30: mov cl, byte ptr [eax - 1] */ 13291 edi = POP32_VAL(esp); /* 0x2B03CF33: pop edi */ 13292 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 13293 SET_LO8(ecx, LO8(ecx) + 1); /* 0x2B03CF34: inc cl */ 13294 _flag_k = FK_NARROW(FK_INC, 24); 13295 esi = POP32_VAL(esp); /* 0x2B03CF36: pop esi */ 13296 MEM8(eax + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B03CF37: mov byte ptr [eax - 1], cl */ 13297 ebx = POP32_VAL(esp); /* 0x2B03CF3A: pop ebx */ 13298 ecx = MEM32(ebp + (-0xC)); /* 0x2B03CF3B: mov ecx, dword ptr [ebp - 0xc] */ 13299 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03CF3E: mov dword ptr fs:[0], ecx */ 13300 esp = ebp; /* 0x2B03CF45: mov esp, ebp */ 13301 ebp = POP32_VAL(esp); /* 0x2B03CF47: pop ebp */ 13302 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03CF48: ret */ 13303 L_2B03CF49: 13304 PUSH32(esp, 1); /* 0x2B03CF49: push 1 */ 13305 PUSH32(esp, edi); /* 0x2B03CF4B: push edi */ 13306 ecx = ebx; /* 0x2B03CF4C: mov ecx, ebx */ 13307 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B03CF4E: call dword ptr [0x2b0b5154] */ 13308 RECOMP_FLAGS_IN(); 13309 /* test LO8(eax), LO8(eax) */ /* 0x2B03CF54: test al, al */ 13310 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13311 _cf = 0; 13312 _flag_k = FK_NARROW(FK_TEST, 24); 13313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03CF85; /* 0x2B03CF56: je 0x2b03cf85 */ 13314 L_2B03CF58: 13315 esi = MEM32(esi + 0x4); /* 0x2B03CF58: mov esi, dword ptr [esi + 4] */ 13316 /* test esi, esi */ /* 0x2B03CF5B: test esi, esi */ 13317 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13318 _cf = 0; 13319 _flag_k = FK_TEST; 13320 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03CF65; /* 0x2B03CF5D: jne 0x2b03cf65 */ 13321 L_2B03CF5F: 13322 esi = MEM32(0x2B0B513C); /* 0x2B03CF5F: mov esi, dword ptr [0x2b0b513c] */ 13323 L_2B03CF65: 13324 ecx = edi; /* 0x2B03CF65: mov ecx, edi */ 13325 edi = MEM32(ebx + 0x4); /* 0x2B03CF67: mov edi, dword ptr [ebx + 4] */ 13326 eax = ecx; /* 0x2B03CF6A: mov eax, ecx */ 13327 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B03CF6C: shr ecx, 2 */ 13328 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13329 ecx = ecx >> 2u; /* 0x2B03CF6C: shr ecx, 2 */ 13330 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B03CF6F: 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; } 13331 ecx = eax; /* 0x2B03CF71: mov ecx, eax */ 13332 eax = MEM32(ebp + 0xC); /* 0x2B03CF73: mov eax, dword ptr [ebp + 0xc] */ 13333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13334 ecx = ecx & 3; /* 0x2B03CF76: and ecx, 3 */ 13335 _cf = 0; 13336 _flag_k = FK_TEST; 13337 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B03CF79: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 13338 ecx = MEM32(ebx + 0x4); /* 0x2B03CF7B: mov ecx, dword ptr [ebx + 4] */ 13339 MEM32(ebx + 0x8) = eax; /* 0x2B03CF7E: mov dword ptr [ebx + 8], eax */ 13340 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B03CF81: mov byte ptr [eax + ecx], 0 */ 13341 L_2B03CF85: 13342 ecx = MEM32(ebp + (-0xC)); /* 0x2B03CF85: mov ecx, dword ptr [ebp - 0xc] */ 13343 edi = POP32_VAL(esp); /* 0x2B03CF88: pop edi */ 13344 esi = POP32_VAL(esp); /* 0x2B03CF89: pop esi */ 13345 ebx = POP32_VAL(esp); /* 0x2B03CF8A: pop ebx */ 13346 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03CF8B: mov dword ptr fs:[0], ecx */ 13347 esp = ebp; /* 0x2B03CF92: mov esp, ebp */ 13348 ebp = POP32_VAL(esp); /* 0x2B03CF94: pop ebp */ 13349 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03CF95: ret */ 13350 RECOMP_REGS_OUT(); 13351 } 13352 13353 void sub_2B03CFA0(void) { 13354 int _fpu_cmp = 0; 13355 uint32_t _cf = 0; 13356 int _df = 1; 13357 uint32_t _flag_k = FK_NONE; 13358 uint32_t _flag_a = 0, _flag_b = 0; 13359 uint32_t _itail_tgt = 0; 13360 RECOMP_REGS_LOCALS 13361 RECOMP_ENTER(0x2B03CFA0u); 13362 13363 L_2B03CFA0: 13364 PUSH32(esp, ebp); /* 0x2B03CFA0: push ebp */ 13365 ebp = esp; /* 0x2B03CFA1: mov ebp, esp */ 13366 PUSH32(esp, esi); /* 0x2B03CFA3: push esi */ 13367 esi = ecx; /* 0x2B03CFA4: mov esi, ecx */ 13368 RECOMP_ICALL(0x2B03C490u); /* 0x2B03CFA6: call 0x2b03c490 */ /* not lifted */ 13369 RECOMP_FLAGS_IN(); 13370 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B03CFAB: test byte ptr [ebp + 8], 1 */ 13371 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13372 _cf = 0; 13373 _flag_k = FK_NARROW(FK_TEST, 24); 13374 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03CFBA; /* 0x2B03CFAF: je 0x2b03cfba */ 13375 L_2B03CFB1: 13376 PUSH32(esp, esi); /* 0x2B03CFB1: push esi */ 13377 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03CFB2: call 0x2b0ab1ba */ /* not lifted */ 13378 RECOMP_FLAGS_IN(); 13379 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13380 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13381 esp = esp + 4; /* 0x2B03CFB7: add esp, 4 */ 13382 _flag_k = FK_ADD; 13383 L_2B03CFBA: 13384 eax = esi; /* 0x2B03CFBA: mov eax, esi */ 13385 esi = POP32_VAL(esp); /* 0x2B03CFBC: pop esi */ 13386 ebp = POP32_VAL(esp); /* 0x2B03CFBD: pop ebp */ 13387 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03CFBE: ret 4 */ 13388 RECOMP_REGS_OUT(); 13389 } 13390 13391 void sub_2B03CFD0(void) { 13392 int _fpu_cmp = 0; 13393 uint32_t _cf = 0; 13394 int _df = 1; 13395 uint32_t _flag_k = FK_NONE; 13396 uint32_t _flag_a = 0, _flag_b = 0; 13397 uint32_t _itail_tgt = 0; 13398 RECOMP_REGS_LOCALS 13399 RECOMP_ENTER(0x2B03CFD0u); 13400 13401 L_2B03CFD0: 13402 PUSH32(esp, ebp); /* 0x2B03CFD0: push ebp */ 13403 ebp = esp; /* 0x2B03CFD1: mov ebp, esp */ 13404 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03CFD3: push -1 */ 13405 PUSH32(esp, 0x2B0AE98Fu); /* 0x2B03CFD5: push 0x2b0ae98f */ 13406 eax = MEM32(FS_BASE + (0)); /* 0x2B03CFDA: mov eax, dword ptr fs:[0] */ 13407 PUSH32(esp, eax); /* 0x2B03CFE0: push eax */ 13408 MEM32(FS_BASE + (0)) = esp; /* 0x2B03CFE1: mov dword ptr fs:[0], esp */ 13409 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 13410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13411 esp = esp - 0x18u; /* 0x2B03CFE8: sub esp, 0x18 */ 13412 _flag_k = FK_CMP; 13413 eax = MEM32(ebp + 0x18); /* 0x2B03CFEB: mov eax, dword ptr [ebp + 0x18] */ 13414 PUSH32(esp, ebx); /* 0x2B03CFEE: push ebx */ 13415 PUSH32(esp, esi); /* 0x2B03CFEF: push esi */ 13416 PUSH32(esp, edi); /* 0x2B03CFF0: push edi */ 13417 esi = ecx; /* 0x2B03CFF1: mov esi, ecx */ 13418 PUSH32(esp, eax); /* 0x2B03CFF3: push eax */ 13419 MEM32(ebp + (-0x10)) = esi; /* 0x2B03CFF4: mov dword ptr [ebp - 0x10], esi */ 13420 RECOMP_ICALL(MEM32(0x2B0B5990)); /* 0x2B03CFF7: call dword ptr [0x2b0b5990] */ 13421 RECOMP_FLAGS_IN(); 13422 ecx = MEM32(ebp + 0x8); /* 0x2B03CFFD: mov ecx, dword ptr [ebp + 8] */ 13423 edx = MEM32(ebp + 0xC); /* 0x2B03D000: mov edx, dword ptr [ebp + 0xc] */ 13424 eax = ebp + (-0x1C); /* 0x2B03D003: lea eax, [ebp - 0x1c] */ 13425 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B03D006: mov dword ptr [ebp - 0x1c], ecx */ 13426 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13427 ebx = 0; /* 0x2B03D009: xor ebx, ebx */ 13428 _cf = 0; 13429 _flag_k = FK_TEST; 13430 PUSH32(esp, eax); /* 0x2B03D00B: push eax */ 13431 ecx = esi; /* 0x2B03D00C: mov ecx, esi */ 13432 MEM32(ebp + (-0x4)) = ebx; /* 0x2B03D00E: mov dword ptr [ebp - 4], ebx */ 13433 MEM32(esi) = 0x2B0B6908u; /* 0x2B03D011: mov dword ptr [esi], 0x2b0b6908 */ 13434 MEM32(ebp + (-0x18)) = edx; /* 0x2B03D017: mov dword ptr [ebp - 0x18], edx */ 13435 RECOMP_ICALL(MEM32(0x2B0B5C18)); /* 0x2B03D01A: call dword ptr [0x2b0b5c18] */ 13436 RECOMP_FLAGS_IN(); 13437 PUSH32(esp, 0x38u); /* 0x2B03D020: push 0x38 */ 13438 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D022: call 0x2b0ab212 */ /* not lifted */ 13439 RECOMP_FLAGS_IN(); 13440 edi = eax; /* 0x2B03D027: mov edi, eax */ 13441 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13442 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13443 esp = esp + 4; /* 0x2B03D029: add esp, 4 */ 13444 _flag_k = FK_ADD; 13445 MEM32(ebp + (-0x14)) = edi; /* 0x2B03D02C: mov dword ptr [ebp - 0x14], edi */ 13446 /* cmp edi, ebx */ /* 0x2B03D02F: cmp edi, ebx */ 13447 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13449 _flag_k = FK_CMP; 13450 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B03D031: mov byte ptr [ebp - 4], 1 */ 13451 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D058; /* 0x2B03D035: je 0x2b03d058 */ 13452 L_2B03D037: 13453 ecx = MEM32(ebp + 0x18); /* 0x2B03D037: mov ecx, dword ptr [ebp + 0x18] */ 13454 PUSH32(esp, ecx); /* 0x2B03D03A: push ecx */ 13455 PUSH32(esp, 0xFA2u); /* 0x2B03D03B: push 0xfa2 */ 13456 PUSH32(esp, 0x37u); /* 0x2B03D040: push 0x37 */ 13457 edx = ebp + (-0x1C); /* 0x2B03D042: lea edx, [ebp - 0x1c] */ 13458 PUSH32(esp, edx); /* 0x2B03D045: push edx */ 13459 ecx = edi; /* 0x2B03D046: mov ecx, edi */ 13460 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03D048: call dword ptr [0x2b0b5948] */ 13461 RECOMP_FLAGS_IN(); 13462 MEM32(edi) = 0x2B0B68F4u; /* 0x2B03D04E: mov dword ptr [edi], 0x2b0b68f4 */ 13463 ecx = edi; /* 0x2B03D054: mov ecx, edi */ 13464 goto L_2B03D05A; /* 0x2B03D056: jmp 0x2b03d05a */ 13465 L_2B03D058: 13466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13467 ecx = 0; /* 0x2B03D058: xor ecx, ecx */ 13468 _cf = 0; 13469 _flag_k = FK_TEST; 13470 L_2B03D05A: 13471 eax = MEM32(ebp + (-0x1C)); /* 0x2B03D05A: mov eax, dword ptr [ebp - 0x1c] */ 13472 edi = MEM32(ebp + (-0x18)); /* 0x2B03D05D: mov edi, dword ptr [ebp - 0x18] */ 13473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 13474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13475 eax = eax + 0x1Eu; /* 0x2B03D060: add eax, 0x1e */ 13476 _flag_k = FK_ADD; 13477 MEM32(ebp + (-0x1C)) = eax; /* 0x2B03D063: mov dword ptr [ebp - 0x1c], eax */ 13478 eax = ebp + (-0x24); /* 0x2B03D066: lea eax, [ebp - 0x24] */ 13479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(5); 13480 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13481 edi = edi + 5; /* 0x2B03D069: add edi, 5 */ 13482 _flag_k = FK_ADD; 13483 PUSH32(esp, eax); /* 0x2B03D06C: push eax */ 13484 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B03D06D: mov byte ptr [ebp - 4], bl */ 13485 MEM32(esi + 0x58) = ecx; /* 0x2B03D070: mov dword ptr [esi + 0x58], ecx */ 13486 MEM32(ebp + (-0x18)) = edi; /* 0x2B03D073: mov dword ptr [ebp - 0x18], edi */ 13487 MEM32(ebp + (-0x24)) = ebx; /* 0x2B03D076: mov dword ptr [ebp - 0x24], ebx */ 13488 MEM32(ebp + (-0x20)) = ebx; /* 0x2B03D079: mov dword ptr [ebp - 0x20], ebx */ 13489 RECOMP_ICALL(MEM32(0x2B0B594C)); /* 0x2B03D07C: call dword ptr [0x2b0b594c] */ 13490 RECOMP_FLAGS_IN(); 13491 ecx = ebp + (-0x24); /* 0x2B03D082: lea ecx, [ebp - 0x24] */ 13492 PUSH32(esp, ecx); /* 0x2B03D085: push ecx */ 13493 ecx = esi; /* 0x2B03D086: mov ecx, esi */ 13494 RECOMP_ICALL(MEM32(0x2B0B5C1C)); /* 0x2B03D088: call dword ptr [0x2b0b5c1c] */ 13495 RECOMP_FLAGS_IN(); 13496 PUSH32(esp, 0x50u); /* 0x2B03D08E: push 0x50 */ 13497 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D090: call 0x2b0ab212 */ /* not lifted */ 13498 RECOMP_FLAGS_IN(); 13499 edi = eax; /* 0x2B03D095: mov edi, eax */ 13500 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13502 esp = esp + 4; /* 0x2B03D097: add esp, 4 */ 13503 _flag_k = FK_ADD; 13504 MEM32(ebp + (-0x14)) = edi; /* 0x2B03D09A: mov dword ptr [ebp - 0x14], edi */ 13505 /* cmp edi, ebx */ /* 0x2B03D09D: cmp edi, ebx */ 13506 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 13507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13508 _flag_k = FK_CMP; 13509 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B03D09F: mov byte ptr [ebp - 4], 2 */ 13510 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D0CD; /* 0x2B03D0A3: je 0x2b03d0cd */ 13511 L_2B03D0A5: 13512 edx = MEM32(ebp + 0x18); /* 0x2B03D0A5: mov edx, dword ptr [ebp + 0x18] */ 13513 eax = MEM32(ebp + (-0x18)); /* 0x2B03D0A8: mov eax, dword ptr [ebp - 0x18] */ 13514 ecx = MEM32(ebp + (-0x1C)); /* 0x2B03D0AB: mov ecx, dword ptr [ebp - 0x1c] */ 13515 PUSH32(esp, edx); /* 0x2B03D0AE: push edx */ 13516 edx = MEM32(ebp + 0x10); /* 0x2B03D0AF: mov edx, dword ptr [ebp + 0x10] */ 13517 PUSH32(esp, ebx); /* 0x2B03D0B2: push ebx */ 13518 PUSH32(esp, eax); /* 0x2B03D0B3: push eax */ 13519 PUSH32(esp, ecx); /* 0x2B03D0B4: push ecx */ 13520 PUSH32(esp, 0xFA3u); /* 0x2B03D0B5: push 0xfa3 */ 13521 PUSH32(esp, edx); /* 0x2B03D0BA: push edx */ 13522 PUSH32(esp, 2); /* 0x2B03D0BB: push 2 */ 13523 ecx = edi; /* 0x2B03D0BD: mov ecx, edi */ 13524 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B03D0BF: call dword ptr [0x2b0b5950] */ 13525 RECOMP_FLAGS_IN(); 13526 MEM32(edi) = 0x2B0B6878u; /* 0x2B03D0C5: mov dword ptr [edi], 0x2b0b6878 */ 13527 goto L_2B03D0CF; /* 0x2B03D0CB: jmp 0x2b03d0cf */ 13528 L_2B03D0CD: 13529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13530 edi = 0; /* 0x2B03D0CD: xor edi, edi */ 13531 _cf = 0; 13532 _flag_k = FK_TEST; 13533 L_2B03D0CF: 13534 eax = MEM32(ebp + (-0x24)); /* 0x2B03D0CF: mov eax, dword ptr [ebp - 0x24] */ 13535 edx = MEM32(ebp + (-0x20)); /* 0x2B03D0D2: mov edx, dword ptr [ebp - 0x20] */ 13536 ecx = MEM32(ebp + 0x8); /* 0x2B03D0D5: mov ecx, dword ptr [ebp + 8] */ 13537 MEM32(esi + 0x54) = edi; /* 0x2B03D0D8: mov dword ptr [esi + 0x54], edi */ 13538 eax = eax + ecx + (-0x1E); /* 0x2B03D0DB: lea eax, [eax + ecx - 0x1e] */ 13539 ecx = MEM32(ebp + 0xC); /* 0x2B03D0DF: mov ecx, dword ptr [ebp + 0xc] */ 13540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13541 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13542 ecx = ecx + edx; /* 0x2B03D0E2: add ecx, edx */ 13543 _flag_k = FK_ADD; 13544 edx = MEM32(edi + 0x34); /* 0x2B03D0E4: mov edx, dword ptr [edi + 0x34] */ 13545 edi = MEM32(ebp + 0x8); /* 0x2B03D0E7: mov edi, dword ptr [ebp + 8] */ 13546 MEM32(edx) = edi; /* 0x2B03D0EA: mov dword ptr [edx], edi */ 13547 edi = MEM32(ebp + 0xC); /* 0x2B03D0EC: mov edi, dword ptr [ebp + 0xc] */ 13548 MEM32(edx + 0x4) = edi; /* 0x2B03D0EF: mov dword ptr [edx + 4], edi */ 13549 MEM32(edx + 0x8) = eax; /* 0x2B03D0F2: mov dword ptr [edx + 8], eax */ 13550 eax = MEM32(ebp + 0x14); /* 0x2B03D0F5: mov eax, dword ptr [ebp + 0x14] */ 13551 MEM32(edx + 0xC) = ecx; /* 0x2B03D0F8: mov dword ptr [edx + 0xc], ecx */ 13552 MEM8(esi + 0x24) = (uint8_t)(1); /* 0x2B03D0FB: mov byte ptr [esi + 0x24], 1 */ 13553 MEM8(esi + 0x25) = (uint8_t)(LO8(ebx)); /* 0x2B03D0FF: mov byte ptr [esi + 0x25], bl */ 13554 MEM32(0x2B0EE9F4) = ebx; /* 0x2B03D102: mov dword ptr [0x2b0ee9f4], ebx */ 13555 PUSH32(esp, 0x2B0E6E2Cu); /* 0x2B03D108: push 0x2b0e6e2c */ 13556 ecx = esi; /* 0x2B03D10D: mov ecx, esi */ 13557 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B03D10F: mov byte ptr [ebp - 4], bl */ 13558 MEM8(esi + 0x68) = (uint8_t)(LO8(ebx)); /* 0x2B03D112: mov byte ptr [esi + 0x68], bl */ 13559 MEM32(esi + 0x6C) = eax; /* 0x2B03D115: mov dword ptr [esi + 0x6c], eax */ 13560 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B03D118: call dword ptr [0x2b0b5c04] */ 13561 RECOMP_FLAGS_IN(); 13562 PUSH32(esp, 0xF9Fu); /* 0x2B03D11E: push 0xf9f */ 13563 ecx = esi; /* 0x2B03D123: mov ecx, esi */ 13564 RECOMP_ICALL(MEM32(0x2B0B59A0)); /* 0x2B03D125: call dword ptr [0x2b0b59a0] */ 13565 RECOMP_FLAGS_IN(); 13566 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D12B: mov ecx, dword ptr [ebp - 0xc] */ 13567 edi = POP32_VAL(esp); /* 0x2B03D12E: pop edi */ 13568 eax = esi; /* 0x2B03D12F: mov eax, esi */ 13569 esi = POP32_VAL(esp); /* 0x2B03D131: pop esi */ 13570 ebx = POP32_VAL(esp); /* 0x2B03D132: pop ebx */ 13571 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D133: mov dword ptr fs:[0], ecx */ 13572 esp = ebp; /* 0x2B03D13A: mov esp, ebp */ 13573 ebp = POP32_VAL(esp); /* 0x2B03D13C: pop ebp */ 13574 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x2B03D13D: ret 0x14 */ 13575 RECOMP_REGS_OUT(); 13576 } 13577 13578 void sub_2B03D140(void) { 13579 int _fpu_cmp = 0; 13580 uint32_t _cf = 0; 13581 int _df = 1; 13582 uint32_t _flag_k = FK_NONE; 13583 uint32_t _flag_a = 0, _flag_b = 0; 13584 uint32_t _itail_tgt = 0; 13585 RECOMP_REGS_LOCALS 13586 RECOMP_ENTER(0x2B03D140u); 13587 13588 L_2B03D140: 13589 eax = 0x2B0B6928u; /* 0x2B03D140: mov eax, 0x2b0b6928 */ 13590 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D145: ret */ 13591 RECOMP_REGS_OUT(); 13592 } 13593 13594 void sub_2B03D150(void) { 13595 int _fpu_cmp = 0; 13596 uint32_t _cf = 0; 13597 int _df = 1; 13598 uint32_t _flag_k = FK_NONE; 13599 uint32_t _flag_a = 0, _flag_b = 0; 13600 uint32_t _itail_tgt = 0; 13601 RECOMP_REGS_LOCALS 13602 RECOMP_ENTER(0x2B03D150u); 13603 13604 L_2B03D150: 13605 PUSH32(esp, ebp); /* 0x2B03D150: push ebp */ 13606 ebp = esp; /* 0x2B03D151: mov ebp, esp */ 13607 PUSH32(esp, esi); /* 0x2B03D153: push esi */ 13608 esi = ecx; /* 0x2B03D154: mov esi, ecx */ 13609 RECOMP_ICALL(0x2B03D1B0u); /* 0x2B03D156: call 0x2b03d1b0 */ /* not lifted */ 13610 RECOMP_FLAGS_IN(); 13611 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B03D15B: test byte ptr [ebp + 8], 1 */ 13612 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13613 _cf = 0; 13614 _flag_k = FK_NARROW(FK_TEST, 24); 13615 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D16A; /* 0x2B03D15F: je 0x2b03d16a */ 13616 L_2B03D161: 13617 PUSH32(esp, esi); /* 0x2B03D161: push esi */ 13618 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03D162: call 0x2b0ab1ba */ /* not lifted */ 13619 RECOMP_FLAGS_IN(); 13620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13622 esp = esp + 4; /* 0x2B03D167: add esp, 4 */ 13623 _flag_k = FK_ADD; 13624 L_2B03D16A: 13625 eax = esi; /* 0x2B03D16A: mov eax, esi */ 13626 esi = POP32_VAL(esp); /* 0x2B03D16C: pop esi */ 13627 ebp = POP32_VAL(esp); /* 0x2B03D16D: pop ebp */ 13628 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03D16E: ret 4 */ 13629 RECOMP_REGS_OUT(); 13630 } 13631 13632 void sub_2B03D180(void) { 13633 int _fpu_cmp = 0; 13634 uint32_t _cf = 0; 13635 int _df = 1; 13636 uint32_t _flag_k = FK_NONE; 13637 uint32_t _flag_a = 0, _flag_b = 0; 13638 uint32_t _itail_tgt = 0; 13639 RECOMP_REGS_LOCALS 13640 RECOMP_ENTER(0x2B03D180u); 13641 13642 L_2B03D180: 13643 PUSH32(esp, ebp); /* 0x2B03D180: push ebp */ 13644 ebp = esp; /* 0x2B03D181: mov ebp, esp */ 13645 PUSH32(esp, esi); /* 0x2B03D183: push esi */ 13646 esi = ecx; /* 0x2B03D184: mov esi, ecx */ 13647 RECOMP_ICALL(MEM32(0x2B0B5944)); /* 0x2B03D186: call dword ptr [0x2b0b5944] */ 13648 RECOMP_FLAGS_IN(); 13649 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B03D18C: test byte ptr [ebp + 8], 1 */ 13650 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13651 _cf = 0; 13652 _flag_k = FK_NARROW(FK_TEST, 24); 13653 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D19B; /* 0x2B03D190: je 0x2b03d19b */ 13654 L_2B03D192: 13655 PUSH32(esp, esi); /* 0x2B03D192: push esi */ 13656 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03D193: call 0x2b0ab1ba */ /* not lifted */ 13657 RECOMP_FLAGS_IN(); 13658 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13659 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13660 esp = esp + 4; /* 0x2B03D198: add esp, 4 */ 13661 _flag_k = FK_ADD; 13662 L_2B03D19B: 13663 eax = esi; /* 0x2B03D19B: mov eax, esi */ 13664 esi = POP32_VAL(esp); /* 0x2B03D19D: pop esi */ 13665 ebp = POP32_VAL(esp); /* 0x2B03D19E: pop ebp */ 13666 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03D19F: ret 4 */ 13667 RECOMP_REGS_OUT(); 13668 } 13669 13670 void sub_2B03D186(void) { 13671 int _fpu_cmp = 0; 13672 uint32_t _cf = 0; 13673 int _df = 1; 13674 uint32_t _flag_k = FK_NONE; 13675 uint32_t _flag_a = 0, _flag_b = 0; 13676 uint32_t _itail_tgt = 0; 13677 RECOMP_REGS_LOCALS 13678 RECOMP_ENTER(0x2B03D186u); 13679 13680 L_2B03D186: 13681 RECOMP_ICALL(MEM32(0x2B0B5944)); /* 0x2B03D186: call dword ptr [0x2b0b5944] */ 13682 RECOMP_FLAGS_IN(); 13683 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B03D18C: test byte ptr [ebp + 8], 1 */ 13684 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13685 _cf = 0; 13686 _flag_k = FK_NARROW(FK_TEST, 24); 13687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D19B; /* 0x2B03D190: je 0x2b03d19b */ 13688 L_2B03D192: 13689 PUSH32(esp, esi); /* 0x2B03D192: push esi */ 13690 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03D193: call 0x2b0ab1ba */ /* not lifted */ 13691 RECOMP_FLAGS_IN(); 13692 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13693 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13694 esp = esp + 4; /* 0x2B03D198: add esp, 4 */ 13695 _flag_k = FK_ADD; 13696 L_2B03D19B: 13697 eax = esi; /* 0x2B03D19B: mov eax, esi */ 13698 esi = POP32_VAL(esp); /* 0x2B03D19D: pop esi */ 13699 ebp = POP32_VAL(esp); /* 0x2B03D19E: pop ebp */ 13700 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03D19F: ret 4 */ 13701 RECOMP_REGS_OUT(); 13702 } 13703 13704 void sub_2B03D1B0(void) { 13705 int _fpu_cmp = 0; 13706 uint32_t _cf = 0; 13707 int _df = 1; 13708 uint32_t _flag_k = FK_NONE; 13709 uint32_t _flag_a = 0, _flag_b = 0; 13710 uint32_t _itail_tgt = 0; 13711 RECOMP_REGS_LOCALS 13712 RECOMP_ENTER(0x2B03D1B0u); 13713 13714 L_2B03D1B0: 13715 PUSH32(esp, ebp); /* 0x2B03D1B0: push ebp */ 13716 ebp = esp; /* 0x2B03D1B1: mov ebp, esp */ 13717 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03D1B3: push -1 */ 13718 PUSH32(esp, 0x2B0AE9A9u); /* 0x2B03D1B5: push 0x2b0ae9a9 */ 13719 eax = MEM32(FS_BASE + (0)); /* 0x2B03D1BA: mov eax, dword ptr fs:[0] */ 13720 PUSH32(esp, eax); /* 0x2B03D1C0: push eax */ 13721 MEM32(FS_BASE + (0)) = esp; /* 0x2B03D1C1: mov dword ptr fs:[0], esp */ 13722 PUSH32(esp, ecx); /* 0x2B03D1C8: push ecx */ 13723 PUSH32(esp, esi); /* 0x2B03D1C9: push esi */ 13724 esi = ecx; /* 0x2B03D1CA: mov esi, ecx */ 13725 MEM32(ebp + (-0x10)) = esi; /* 0x2B03D1CC: mov dword ptr [ebp - 0x10], esi */ 13726 MEM32(esi) = 0x2B0B6908u; /* 0x2B03D1CF: mov dword ptr [esi], 0x2b0b6908 */ 13727 ecx = MEM32(esi + 0x58); /* 0x2B03D1D5: mov ecx, dword ptr [esi + 0x58] */ 13728 /* test ecx, ecx */ /* 0x2B03D1D8: test ecx, ecx */ 13729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13730 _cf = 0; 13731 _flag_k = FK_TEST; 13732 MEM32(ebp + (-0x4)) = 0; /* 0x2B03D1DA: mov dword ptr [ebp - 4], 0 */ 13733 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D1E9; /* 0x2B03D1E1: je 0x2b03d1e9 */ 13734 L_2B03D1E3: 13735 eax = MEM32(ecx); /* 0x2B03D1E3: mov eax, dword ptr [ecx] */ 13736 PUSH32(esp, 1); /* 0x2B03D1E5: push 1 */ 13737 RECOMP_ICALL(MEM32(eax)); /* 0x2B03D1E7: call dword ptr [eax] */ 13738 RECOMP_FLAGS_IN(); 13739 L_2B03D1E9: 13740 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D1E9: mov ecx, dword ptr [0x2b0ee9f4] */ 13741 /* test ecx, ecx */ /* 0x2B03D1EF: test ecx, ecx */ 13742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13743 _cf = 0; 13744 _flag_k = FK_TEST; 13745 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D1F9; /* 0x2B03D1F1: je 0x2b03d1f9 */ 13746 L_2B03D1F3: 13747 edx = MEM32(ecx); /* 0x2B03D1F3: mov edx, dword ptr [ecx] */ 13748 PUSH32(esp, 1); /* 0x2B03D1F5: push 1 */ 13749 RECOMP_ICALL(MEM32(edx)); /* 0x2B03D1F7: call dword ptr [edx] */ 13750 RECOMP_FLAGS_IN(); 13751 L_2B03D1F9: 13752 ecx = MEM32(esi + 0x54); /* 0x2B03D1F9: mov ecx, dword ptr [esi + 0x54] */ 13753 /* test ecx, ecx */ /* 0x2B03D1FC: test ecx, ecx */ 13754 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13755 _cf = 0; 13756 _flag_k = FK_TEST; 13757 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D206; /* 0x2B03D1FE: je 0x2b03d206 */ 13758 L_2B03D200: 13759 eax = MEM32(ecx); /* 0x2B03D200: mov eax, dword ptr [ecx] */ 13760 PUSH32(esp, 1); /* 0x2B03D202: push 1 */ 13761 RECOMP_ICALL(MEM32(eax)); /* 0x2B03D204: call dword ptr [eax] */ 13762 RECOMP_FLAGS_IN(); 13763 L_2B03D206: 13764 ecx = esi; /* 0x2B03D206: mov ecx, esi */ 13765 MEM32(0x2B0EE9F4) = 0; /* 0x2B03D208: mov dword ptr [0x2b0ee9f4], 0 */ 13766 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B03D212: mov dword ptr [ebp - 4], 0xffffffff */ 13767 RECOMP_ICALL(MEM32(0x2B0B59A4)); /* 0x2B03D219: call dword ptr [0x2b0b59a4] */ 13768 RECOMP_FLAGS_IN(); 13769 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D21F: mov ecx, dword ptr [ebp - 0xc] */ 13770 esi = POP32_VAL(esp); /* 0x2B03D222: pop esi */ 13771 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D223: mov dword ptr fs:[0], ecx */ 13772 esp = ebp; /* 0x2B03D22A: mov esp, ebp */ 13773 ebp = POP32_VAL(esp); /* 0x2B03D22C: pop ebp */ 13774 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D22D: ret */ 13775 RECOMP_REGS_OUT(); 13776 } 13777 13778 void sub_2B03D230(void) { 13779 int _fpu_cmp = 0; 13780 uint32_t _cf = 0; 13781 int _df = 1; 13782 uint32_t _flag_k = FK_NONE; 13783 uint32_t _flag_a = 0, _flag_b = 0; 13784 uint32_t _itail_tgt = 0; 13785 RECOMP_REGS_LOCALS 13786 RECOMP_ENTER(0x2B03D230u); 13787 13788 L_2B03D230: 13789 PUSH32(esp, ebp); /* 0x2B03D230: push ebp */ 13790 ebp = esp; /* 0x2B03D231: mov ebp, esp */ 13791 eax = MEM32(ebp + 0xC); /* 0x2B03D233: mov eax, dword ptr [ebp + 0xc] */ 13792 PUSH32(esp, esi); /* 0x2B03D236: push esi */ 13793 esi = ecx; /* 0x2B03D237: mov esi, ecx */ 13794 ecx = MEM32(ebp + 0x8); /* 0x2B03D239: mov ecx, dword ptr [ebp + 8] */ 13795 PUSH32(esp, eax); /* 0x2B03D23C: push eax */ 13796 PUSH32(esp, ecx); /* 0x2B03D23D: push ecx */ 13797 ecx = esi; /* 0x2B03D23E: mov ecx, esi */ 13798 RECOMP_ICALL(MEM32(0x2B0B5974)); /* 0x2B03D240: call dword ptr [0x2b0b5974] */ 13799 RECOMP_FLAGS_IN(); 13800 /* test LO8(eax), LO8(eax) */ /* 0x2B03D246: test al, al */ 13801 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13802 _cf = 0; 13803 _flag_k = FK_NARROW(FK_TEST, 24); 13804 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D25F; /* 0x2B03D248: je 0x2b03d25f */ 13805 L_2B03D24A: 13806 /* cmp MEM32(ebp + 0x10), 4 */ /* 0x2B03D24A: cmp dword ptr [ebp + 0x10], 4 */ 13807 _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(4); 13808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13809 _flag_k = FK_CMP; 13810 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03D258; /* 0x2B03D24E: jne 0x2b03d258 */ 13811 L_2B03D250: 13812 ecx = MEM32(esi + 0x6C); /* 0x2B03D250: mov ecx, dword ptr [esi + 0x6c] */ 13813 RECOMP_ICALL(0x2B03A470u); /* 0x2B03D253: call 0x2b03a470 */ /* not lifted */ 13814 RECOMP_FLAGS_IN(); 13815 L_2B03D258: 13816 SET_LO8(eax, 1); /* 0x2B03D258: mov al, 1 */ 13817 esi = POP32_VAL(esp); /* 0x2B03D25A: pop esi */ 13818 ebp = POP32_VAL(esp); /* 0x2B03D25B: pop ebp */ 13819 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03D25C: ret 0x10 */ 13820 L_2B03D25F: 13821 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 13822 SET_LO8(eax, 0); /* 0x2B03D25F: xor al, al */ 13823 _cf = 0; 13824 _flag_k = FK_NARROW(FK_TEST, 24); 13825 esi = POP32_VAL(esp); /* 0x2B03D261: pop esi */ 13826 ebp = POP32_VAL(esp); /* 0x2B03D262: pop ebp */ 13827 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03D263: ret 0x10 */ 13828 RECOMP_REGS_OUT(); 13829 } 13830 13831 void sub_2B03D246(void) { 13832 int _fpu_cmp = 0; 13833 uint32_t _cf = 0; 13834 int _df = 1; 13835 uint32_t _flag_k = FK_NONE; 13836 uint32_t _flag_a = 0, _flag_b = 0; 13837 uint32_t _itail_tgt = 0; 13838 RECOMP_REGS_LOCALS 13839 RECOMP_ENTER(0x2B03D246u); 13840 13841 L_2B03D246: 13842 /* test LO8(eax), LO8(eax) */ /* 0x2B03D246: test al, al */ 13843 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13844 _cf = 0; 13845 _flag_k = FK_NARROW(FK_TEST, 24); 13846 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D25F; /* 0x2B03D248: je 0x2b03d25f */ 13847 L_2B03D24A: 13848 /* cmp MEM32(ebp + 0x10), 4 */ /* 0x2B03D24A: cmp dword ptr [ebp + 0x10], 4 */ 13849 _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(4); 13850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13851 _flag_k = FK_CMP; 13852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03D258; /* 0x2B03D24E: jne 0x2b03d258 */ 13853 L_2B03D250: 13854 ecx = MEM32(esi + 0x6C); /* 0x2B03D250: mov ecx, dword ptr [esi + 0x6c] */ 13855 RECOMP_ICALL(0x2B03A470u); /* 0x2B03D253: call 0x2b03a470 */ /* not lifted */ 13856 RECOMP_FLAGS_IN(); 13857 L_2B03D258: 13858 SET_LO8(eax, 1); /* 0x2B03D258: mov al, 1 */ 13859 esi = POP32_VAL(esp); /* 0x2B03D25A: pop esi */ 13860 ebp = POP32_VAL(esp); /* 0x2B03D25B: pop ebp */ 13861 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03D25C: ret 0x10 */ 13862 L_2B03D25F: 13863 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 13864 SET_LO8(eax, 0); /* 0x2B03D25F: xor al, al */ 13865 _cf = 0; 13866 _flag_k = FK_NARROW(FK_TEST, 24); 13867 esi = POP32_VAL(esp); /* 0x2B03D261: pop esi */ 13868 ebp = POP32_VAL(esp); /* 0x2B03D262: pop ebp */ 13869 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B03D263: ret 0x10 */ 13870 RECOMP_REGS_OUT(); 13871 } 13872 13873 void sub_2B03D270(void) { 13874 int _fpu_cmp = 0; 13875 uint32_t _cf = 0; 13876 int _df = 1; 13877 uint32_t _flag_k = FK_NONE; 13878 uint32_t _flag_a = 0, _flag_b = 0; 13879 uint32_t _itail_tgt = 0; 13880 RECOMP_REGS_LOCALS 13881 RECOMP_ENTER(0x2B03D270u); 13882 13883 L_2B03D270: 13884 PUSH32(esp, ebp); /* 0x2B03D270: push ebp */ 13885 ebp = esp; /* 0x2B03D271: mov ebp, esp */ 13886 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03D273: push -1 */ 13887 PUSH32(esp, 0x2B0AE9E1u); /* 0x2B03D275: push 0x2b0ae9e1 */ 13888 eax = MEM32(FS_BASE + (0)); /* 0x2B03D27A: mov eax, dword ptr fs:[0] */ 13889 PUSH32(esp, eax); /* 0x2B03D280: push eax */ 13890 MEM32(FS_BASE + (0)) = esp; /* 0x2B03D281: mov dword ptr fs:[0], esp */ 13891 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13893 esp = esp - 0xCu; /* 0x2B03D288: sub esp, 0xc */ 13894 _flag_k = FK_CMP; 13895 eax = MEM32(0x2B0B5A88); /* 0x2B03D28B: mov eax, dword ptr [0x2b0b5a88] */ 13896 PUSH32(esp, esi); /* 0x2B03D290: push esi */ 13897 PUSH32(esp, edi); /* 0x2B03D291: push edi */ 13898 edi = ecx; /* 0x2B03D292: mov edi, ecx */ 13899 ecx = MEM32(eax); /* 0x2B03D294: mov ecx, dword ptr [eax] */ 13900 _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu)); 13901 esi = esi | 0xFFFFFFFFu; /* 0x2B03D296: or esi, 0xffffffff */ 13902 _cf = 0; 13903 _flag_k = FK_TEST; 13904 /* test ecx, ecx */ /* 0x2B03D299: test ecx, ecx */ 13905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13906 _cf = 0; 13907 _flag_k = FK_TEST; 13908 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D2CC; /* 0x2B03D29B: jne 0x2b03d2cc */ 13909 L_2B03D29D: 13910 PUSH32(esp, 8); /* 0x2B03D29D: push 8 */ 13911 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D29F: call 0x2b0ab212 */ /* not lifted */ 13912 RECOMP_FLAGS_IN(); 13913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13915 esp = esp + 4; /* 0x2B03D2A4: add esp, 4 */ 13916 _flag_k = FK_ADD; 13917 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D2A7: mov dword ptr [ebp - 0x10], eax */ 13918 /* test eax, eax */ /* 0x2B03D2AA: test eax, eax */ 13919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13920 _cf = 0; 13921 _flag_k = FK_TEST; 13922 MEM32(ebp + (-0x4)) = 0; /* 0x2B03D2AC: mov dword ptr [ebp - 4], 0 */ 13923 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D2BF; /* 0x2B03D2B3: je 0x2b03d2bf */ 13924 L_2B03D2B5: 13925 ecx = eax; /* 0x2B03D2B5: mov ecx, eax */ 13926 RECOMP_ICALL(MEM32(0x2B0B5A84)); /* 0x2B03D2B7: call dword ptr [0x2b0b5a84] */ 13927 RECOMP_FLAGS_IN(); 13928 goto L_2B03D2C1; /* 0x2B03D2BD: jmp 0x2b03d2c1 */ 13929 L_2B03D2BF: 13930 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13931 eax = 0; /* 0x2B03D2BF: xor eax, eax */ 13932 _cf = 0; 13933 _flag_k = FK_TEST; 13934 L_2B03D2C1: 13935 ecx = MEM32(0x2B0B5A88); /* 0x2B03D2C1: mov ecx, dword ptr [0x2b0b5a88] */ 13936 MEM32(ebp + (-0x4)) = esi; /* 0x2B03D2C7: mov dword ptr [ebp - 4], esi */ 13937 MEM32(ecx) = eax; /* 0x2B03D2CA: mov dword ptr [ecx], eax */ 13938 L_2B03D2CC: 13939 edx = MEM32(0x2B0B5A88); /* 0x2B03D2CC: mov edx, dword ptr [0x2b0b5a88] */ 13940 ecx = MEM32(edx); /* 0x2B03D2D2: mov ecx, dword ptr [edx] */ 13941 RECOMP_ICALL(MEM32(0x2B0B5934)); /* 0x2B03D2D4: call dword ptr [0x2b0b5934] */ 13942 RECOMP_FLAGS_IN(); 13943 eax = MEM32(0x2B0B5938); /* 0x2B03D2DA: mov eax, dword ptr [0x2b0b5938] */ 13944 /* cmp MEM32(eax), 0 */ /* 0x2B03D2DF: cmp dword ptr [eax], 0 */ 13945 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 13946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13947 _flag_k = FK_CMP; 13948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B03D313; /* 0x2B03D2E2: jne 0x2b03d313 */ 13949 L_2B03D2E4: 13950 PUSH32(esp, 0x2Cu); /* 0x2B03D2E4: push 0x2c */ 13951 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D2E6: call 0x2b0ab212 */ /* not lifted */ 13952 RECOMP_FLAGS_IN(); 13953 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13955 esp = esp + 4; /* 0x2B03D2EB: add esp, 4 */ 13956 _flag_k = FK_ADD; 13957 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D2EE: mov dword ptr [ebp - 0x10], eax */ 13958 /* test eax, eax */ /* 0x2B03D2F1: test eax, eax */ 13959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13960 _cf = 0; 13961 _flag_k = FK_TEST; 13962 MEM32(ebp + (-0x4)) = 1; /* 0x2B03D2F3: mov dword ptr [ebp - 4], 1 */ 13963 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D306; /* 0x2B03D2FA: je 0x2b03d306 */ 13964 L_2B03D2FC: 13965 ecx = eax; /* 0x2B03D2FC: mov ecx, eax */ 13966 RECOMP_ICALL(MEM32(0x2B0B593C)); /* 0x2B03D2FE: call dword ptr [0x2b0b593c] */ 13967 RECOMP_FLAGS_IN(); 13968 goto L_2B03D308; /* 0x2B03D304: jmp 0x2b03d308 */ 13969 L_2B03D306: 13970 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13971 eax = 0; /* 0x2B03D306: xor eax, eax */ 13972 _cf = 0; 13973 _flag_k = FK_TEST; 13974 L_2B03D308: 13975 ecx = MEM32(0x2B0B5938); /* 0x2B03D308: mov ecx, dword ptr [0x2b0b5938] */ 13976 MEM32(ebp + (-0x4)) = esi; /* 0x2B03D30E: mov dword ptr [ebp - 4], esi */ 13977 MEM32(ecx) = eax; /* 0x2B03D311: mov dword ptr [ecx], eax */ 13978 L_2B03D313: 13979 edx = MEM32(0x2B0B5938); /* 0x2B03D313: mov edx, dword ptr [0x2b0b5938] */ 13980 ecx = MEM32(edx); /* 0x2B03D319: mov ecx, dword ptr [edx] */ 13981 eax = ebp + (-0x18); /* 0x2B03D31B: lea eax, [ebp - 0x18] */ 13982 PUSH32(esp, eax); /* 0x2B03D31E: push eax */ 13983 RECOMP_ICALL(MEM32(0x2B0B5970)); /* 0x2B03D31F: call dword ptr [0x2b0b5970] */ 13984 RECOMP_FLAGS_IN(); 13985 ecx = MEM32(edi + 0x3C); /* 0x2B03D325: mov ecx, dword ptr [edi + 0x3c] */ 13986 eax = MEM32(edi + 0x40); /* 0x2B03D328: mov eax, dword ptr [edi + 0x40] */ 13987 MEM32(ebp + (-0x18)) = ecx; /* 0x2B03D32B: mov dword ptr [ebp - 0x18], ecx */ 13988 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D32E: mov ecx, dword ptr [0x2b0ee9f4] */ 13989 /* test ecx, ecx */ /* 0x2B03D334: test ecx, ecx */ 13990 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13991 _cf = 0; 13992 _flag_k = FK_TEST; 13993 MEM32(ebp + (-0x14)) = eax; /* 0x2B03D336: mov dword ptr [ebp - 0x14], eax */ 13994 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D3A3; /* 0x2B03D339: jne 0x2b03d3a3 */ 13995 L_2B03D33B: 13996 PUSH32(esp, 0x38u); /* 0x2B03D33B: push 0x38 */ 13997 MEM32(edi + 0x5C) = eax; /* 0x2B03D33D: mov dword ptr [edi + 0x5c], eax */ 13998 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D340: call 0x2b0ab212 */ /* not lifted */ 13999 RECOMP_FLAGS_IN(); 14000 esi = eax; /* 0x2B03D345: mov esi, eax */ 14001 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14003 esp = esp + 4; /* 0x2B03D347: add esp, 4 */ 14004 _flag_k = FK_ADD; 14005 MEM32(ebp + (-0x10)) = esi; /* 0x2B03D34A: mov dword ptr [ebp - 0x10], esi */ 14006 /* test esi, esi */ /* 0x2B03D34D: test esi, esi */ 14007 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14008 _cf = 0; 14009 _flag_k = FK_TEST; 14010 MEM32(ebp + (-0x4)) = 2; /* 0x2B03D34F: mov dword ptr [ebp - 4], 2 */ 14011 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D38B; /* 0x2B03D356: je 0x2b03d38b */ 14012 L_2B03D358: 14013 edx = MEM32(edi + 0x28); /* 0x2B03D358: mov edx, dword ptr [edi + 0x28] */ 14014 PUSH32(esp, edx); /* 0x2B03D35B: push edx */ 14015 PUSH32(esp, 0x7918u); /* 0x2B03D35C: push 0x7918 */ 14016 PUSH32(esp, 0x36u); /* 0x2B03D361: push 0x36 */ 14017 eax = ebp + (-0x18); /* 0x2B03D363: lea eax, [ebp - 0x18] */ 14018 PUSH32(esp, eax); /* 0x2B03D366: push eax */ 14019 ecx = esi; /* 0x2B03D367: mov ecx, esi */ 14020 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B03D369: call dword ptr [0x2b0b5948] */ 14021 RECOMP_FLAGS_IN(); 14022 MEM32(esi) = 0x2B0B68F4u; /* 0x2B03D36F: mov dword ptr [esi], 0x2b0b68f4 */ 14023 edi = POP32_VAL(esp); /* 0x2B03D375: pop edi */ 14024 MEM32(0x2B0EE9F4) = esi; /* 0x2B03D376: mov dword ptr [0x2b0ee9f4], esi */ 14025 esi = POP32_VAL(esp); /* 0x2B03D37C: pop esi */ 14026 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D37D: mov ecx, dword ptr [ebp - 0xc] */ 14027 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D380: mov dword ptr fs:[0], ecx */ 14028 esp = ebp; /* 0x2B03D387: mov esp, ebp */ 14029 ebp = POP32_VAL(esp); /* 0x2B03D389: pop ebp */ 14030 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D38A: ret */ 14031 L_2B03D38B: 14032 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14033 esi = 0; /* 0x2B03D38B: xor esi, esi */ 14034 _cf = 0; 14035 _flag_k = FK_TEST; 14036 edi = POP32_VAL(esp); /* 0x2B03D38D: pop edi */ 14037 MEM32(0x2B0EE9F4) = esi; /* 0x2B03D38E: mov dword ptr [0x2b0ee9f4], esi */ 14038 esi = POP32_VAL(esp); /* 0x2B03D394: pop esi */ 14039 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D395: mov ecx, dword ptr [ebp - 0xc] */ 14040 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D398: mov dword ptr fs:[0], ecx */ 14041 esp = ebp; /* 0x2B03D39F: mov esp, ebp */ 14042 ebp = POP32_VAL(esp); /* 0x2B03D3A1: pop ebp */ 14043 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D3A2: ret */ 14044 L_2B03D3A3: 14045 MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B03D3A3: mov byte ptr [ecx + 8], 1 */ 14046 ecx = ebp + (-0x18); /* 0x2B03D3A7: lea ecx, [ebp - 0x18] */ 14047 PUSH32(esp, ecx); /* 0x2B03D3AA: push ecx */ 14048 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D3AB: mov ecx, dword ptr [0x2b0ee9f4] */ 14049 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B03D3B1: call dword ptr [0x2b0b5940] */ 14050 RECOMP_FLAGS_IN(); 14051 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D3B7: mov ecx, dword ptr [ebp - 0xc] */ 14052 edi = POP32_VAL(esp); /* 0x2B03D3BA: pop edi */ 14053 esi = POP32_VAL(esp); /* 0x2B03D3BB: pop esi */ 14054 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D3BC: mov dword ptr fs:[0], ecx */ 14055 esp = ebp; /* 0x2B03D3C3: mov esp, ebp */ 14056 ebp = POP32_VAL(esp); /* 0x2B03D3C5: pop ebp */ 14057 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D3C6: ret */ 14058 RECOMP_REGS_OUT(); 14059 } 14060 14061 void sub_2B03D3D0(void) { 14062 int _fpu_cmp = 0; 14063 uint32_t _cf = 0; 14064 int _df = 1; 14065 uint32_t _flag_k = FK_NONE; 14066 uint32_t _flag_a = 0, _flag_b = 0; 14067 uint32_t _itail_tgt = 0; 14068 RECOMP_REGS_LOCALS 14069 RECOMP_ENTER(0x2B03D3D0u); 14070 14071 L_2B03D3D0: 14072 PUSH32(esp, ebp); /* 0x2B03D3D0: push ebp */ 14073 ebp = esp; /* 0x2B03D3D1: mov ebp, esp */ 14074 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14076 esp = esp - 0x18u; /* 0x2B03D3D3: sub esp, 0x18 */ 14077 _flag_k = FK_CMP; 14078 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D3D6: mov ecx, dword ptr [0x2b0ee9f4] */ 14079 PUSH32(esp, esi); /* 0x2B03D3DC: push esi */ 14080 PUSH32(esp, edi); /* 0x2B03D3DD: push edi */ 14081 eax = ebp + (-0x8); /* 0x2B03D3DE: lea eax, [ebp - 8] */ 14082 PUSH32(esp, eax); /* 0x2B03D3E1: push eax */ 14083 RECOMP_ICALL(MEM32(0x2B0B5930)); /* 0x2B03D3E2: call dword ptr [0x2b0b5930] */ 14084 RECOMP_FLAGS_IN(); 14085 ecx = MEM32(ebp + (-0x4)); /* 0x2B03D3E8: mov ecx, dword ptr [ebp - 4] */ 14086 edi = MEM32(ebp + 0xC); /* 0x2B03D3EB: mov edi, dword ptr [ebp + 0xc] */ 14087 PUSH32(esp, ecx); /* 0x2B03D3EE: push ecx */ 14088 PUSH32(esp, edi); /* 0x2B03D3EF: push edi */ 14089 RECOMP_ICALL(0x2B03B420u); /* 0x2B03D3F0: call 0x2b03b420 */ /* not lifted */ 14090 RECOMP_FLAGS_IN(); 14091 esi = eax; /* 0x2B03D3F5: mov esi, eax */ 14092 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(3); 14093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14094 esi = esi - 3; /* 0x2B03D3F7: sub esi, 3 */ 14095 _flag_k = FK_CMP; 14096 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(7); 14097 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14098 edi = edi + 7; /* 0x2B03D3FA: add edi, 7 */ 14099 _flag_k = FK_ADD; 14100 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14102 esp = esp + 8; /* 0x2B03D3FD: add esp, 8 */ 14103 _flag_k = FK_ADD; 14104 /* cmp esi, edi */ /* 0x2B03D400: cmp esi, edi */ 14105 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14107 _flag_k = FK_CMP; 14108 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03D45A; /* 0x2B03D402: jge 0x2b03d45a */ 14109 L_2B03D404: 14110 eax = MEM32(ebp + (-0x8)); /* 0x2B03D404: mov eax, dword ptr [ebp - 8] */ 14111 ecx = MEM32(ebp + (-0x4)); /* 0x2B03D407: mov ecx, dword ptr [ebp - 4] */ 14112 edx = ebp + (-0x18); /* 0x2B03D40A: lea edx, [ebp - 0x18] */ 14113 PUSH32(esp, edx); /* 0x2B03D40D: push edx */ 14114 MEM32(ebp + (-0x18)) = eax; /* 0x2B03D40E: mov dword ptr [ebp - 0x18], eax */ 14115 MEM32(ebp + (-0x14)) = ecx; /* 0x2B03D411: mov dword ptr [ebp - 0x14], ecx */ 14116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC6u); 14117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14118 eax = eax + 0xC6u; /* 0x2B03D414: add eax, 0xc6 */ 14119 _flag_k = FK_ADD; 14120 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(7); 14121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14122 ecx = ecx + 7; /* 0x2B03D419: add ecx, 7 */ 14123 _flag_k = FK_ADD; 14124 PUSH32(esp, 0x28u); /* 0x2B03D41C: push 0x28 */ 14125 PUSH32(esp, 0xAu); /* 0x2B03D41E: push 0xa */ 14126 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D420: mov dword ptr [ebp - 0x10], eax */ 14127 MEM32(ebp + (-0xC)) = ecx; /* 0x2B03D423: mov dword ptr [ebp - 0xc], ecx */ 14128 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03D426: call dword ptr [0x2b0b53cc] */ 14129 RECOMP_FLAGS_IN(); 14130 ecx = eax; /* 0x2B03D42C: mov ecx, eax */ 14131 RECOMP_ICALL(MEM32(0x2B0B5368)); /* 0x2B03D42E: call dword ptr [0x2b0b5368] */ 14132 RECOMP_FLAGS_IN(); 14133 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D434: mov ecx, dword ptr [0x2b0ee9f4] */ 14134 eax = ebp + (-0x8); /* 0x2B03D43A: lea eax, [ebp - 8] */ 14135 PUSH32(esp, eax); /* 0x2B03D43D: push eax */ 14136 MEM32(ebp + (-0x4)) = esi; /* 0x2B03D43E: mov dword ptr [ebp - 4], esi */ 14137 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B03D441: call dword ptr [0x2b0b5940] */ 14138 RECOMP_FLAGS_IN(); 14139 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D447: mov ecx, dword ptr [0x2b0ee9f4] */ 14140 SET_LO8(eax, 1); /* 0x2B03D44D: mov al, 1 */ 14141 edi = POP32_VAL(esp); /* 0x2B03D44F: pop edi */ 14142 MEM8(ecx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B03D450: mov byte ptr [ecx + 9], al */ 14143 esi = POP32_VAL(esp); /* 0x2B03D453: pop esi */ 14144 esp = ebp; /* 0x2B03D454: mov esp, ebp */ 14145 ebp = POP32_VAL(esp); /* 0x2B03D456: pop ebp */ 14146 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03D457: ret 8 */ 14147 L_2B03D45A: 14148 edi = POP32_VAL(esp); /* 0x2B03D45A: pop edi */ 14149 SET_LO8(eax, 1); /* 0x2B03D45B: mov al, 1 */ 14150 esi = POP32_VAL(esp); /* 0x2B03D45D: pop esi */ 14151 esp = ebp; /* 0x2B03D45E: mov esp, ebp */ 14152 ebp = POP32_VAL(esp); /* 0x2B03D460: pop ebp */ 14153 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03D461: ret 8 */ 14154 RECOMP_REGS_OUT(); 14155 } 14156 14157 void sub_2B03D3EB(void) { 14158 int _fpu_cmp = 0; 14159 uint32_t _cf = 0; 14160 int _df = 1; 14161 uint32_t _flag_k = FK_NONE; 14162 uint32_t _flag_a = 0, _flag_b = 0; 14163 uint32_t _itail_tgt = 0; 14164 RECOMP_REGS_LOCALS 14165 RECOMP_ENTER(0x2B03D3EBu); 14166 14167 L_2B03D3EB: 14168 edi = MEM32(ebp + 0xC); /* 0x2B03D3EB: mov edi, dword ptr [ebp + 0xc] */ 14169 PUSH32(esp, ecx); /* 0x2B03D3EE: push ecx */ 14170 PUSH32(esp, edi); /* 0x2B03D3EF: push edi */ 14171 RECOMP_ICALL(0x2B03B420u); /* 0x2B03D3F0: call 0x2b03b420 */ /* not lifted */ 14172 RECOMP_FLAGS_IN(); 14173 esi = eax; /* 0x2B03D3F5: mov esi, eax */ 14174 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(3); 14175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14176 esi = esi - 3; /* 0x2B03D3F7: sub esi, 3 */ 14177 _flag_k = FK_CMP; 14178 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(7); 14179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14180 edi = edi + 7; /* 0x2B03D3FA: add edi, 7 */ 14181 _flag_k = FK_ADD; 14182 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14183 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14184 esp = esp + 8; /* 0x2B03D3FD: add esp, 8 */ 14185 _flag_k = FK_ADD; 14186 /* cmp esi, edi */ /* 0x2B03D400: cmp esi, edi */ 14187 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14189 _flag_k = FK_CMP; 14190 if (CMP_GE(_flag_a, _flag_b)) goto L_2B03D45A; /* 0x2B03D402: jge 0x2b03d45a */ 14191 L_2B03D404: 14192 eax = MEM32(ebp + (-0x8)); /* 0x2B03D404: mov eax, dword ptr [ebp - 8] */ 14193 ecx = MEM32(ebp + (-0x4)); /* 0x2B03D407: mov ecx, dword ptr [ebp - 4] */ 14194 edx = ebp + (-0x18); /* 0x2B03D40A: lea edx, [ebp - 0x18] */ 14195 PUSH32(esp, edx); /* 0x2B03D40D: push edx */ 14196 MEM32(ebp + (-0x18)) = eax; /* 0x2B03D40E: mov dword ptr [ebp - 0x18], eax */ 14197 MEM32(ebp + (-0x14)) = ecx; /* 0x2B03D411: mov dword ptr [ebp - 0x14], ecx */ 14198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC6u); 14199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14200 eax = eax + 0xC6u; /* 0x2B03D414: add eax, 0xc6 */ 14201 _flag_k = FK_ADD; 14202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(7); 14203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14204 ecx = ecx + 7; /* 0x2B03D419: add ecx, 7 */ 14205 _flag_k = FK_ADD; 14206 PUSH32(esp, 0x28u); /* 0x2B03D41C: push 0x28 */ 14207 PUSH32(esp, 0xAu); /* 0x2B03D41E: push 0xa */ 14208 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D420: mov dword ptr [ebp - 0x10], eax */ 14209 MEM32(ebp + (-0xC)) = ecx; /* 0x2B03D423: mov dword ptr [ebp - 0xc], ecx */ 14210 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03D426: call dword ptr [0x2b0b53cc] */ 14211 RECOMP_FLAGS_IN(); 14212 ecx = eax; /* 0x2B03D42C: mov ecx, eax */ 14213 RECOMP_ICALL(MEM32(0x2B0B5368)); /* 0x2B03D42E: call dword ptr [0x2b0b5368] */ 14214 RECOMP_FLAGS_IN(); 14215 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D434: mov ecx, dword ptr [0x2b0ee9f4] */ 14216 eax = ebp + (-0x8); /* 0x2B03D43A: lea eax, [ebp - 8] */ 14217 PUSH32(esp, eax); /* 0x2B03D43D: push eax */ 14218 MEM32(ebp + (-0x4)) = esi; /* 0x2B03D43E: mov dword ptr [ebp - 4], esi */ 14219 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B03D441: call dword ptr [0x2b0b5940] */ 14220 RECOMP_FLAGS_IN(); 14221 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D447: mov ecx, dword ptr [0x2b0ee9f4] */ 14222 SET_LO8(eax, 1); /* 0x2B03D44D: mov al, 1 */ 14223 edi = POP32_VAL(esp); /* 0x2B03D44F: pop edi */ 14224 MEM8(ecx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B03D450: mov byte ptr [ecx + 9], al */ 14225 esi = POP32_VAL(esp); /* 0x2B03D453: pop esi */ 14226 esp = ebp; /* 0x2B03D454: mov esp, ebp */ 14227 ebp = POP32_VAL(esp); /* 0x2B03D456: pop ebp */ 14228 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03D457: ret 8 */ 14229 L_2B03D45A: 14230 edi = POP32_VAL(esp); /* 0x2B03D45A: pop edi */ 14231 SET_LO8(eax, 1); /* 0x2B03D45B: mov al, 1 */ 14232 esi = POP32_VAL(esp); /* 0x2B03D45D: pop esi */ 14233 esp = ebp; /* 0x2B03D45E: mov esp, ebp */ 14234 ebp = POP32_VAL(esp); /* 0x2B03D460: pop ebp */ 14235 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03D461: ret 8 */ 14236 RECOMP_REGS_OUT(); 14237 } 14238 14239 void sub_2B03D470(void) { 14240 int _fpu_cmp = 0; 14241 uint32_t _cf = 0; 14242 int _df = 1; 14243 uint32_t _flag_k = FK_NONE; 14244 uint32_t _flag_a = 0, _flag_b = 0; 14245 uint32_t _itail_tgt = 0; 14246 RECOMP_REGS_LOCALS 14247 RECOMP_ENTER(0x2B03D470u); 14248 14249 L_2B03D470: 14250 PUSH32(esp, ebp); /* 0x2B03D470: push ebp */ 14251 ebp = esp; /* 0x2B03D471: mov ebp, esp */ 14252 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14254 esp = esp - 8; /* 0x2B03D473: sub esp, 8 */ 14255 _flag_k = FK_CMP; 14256 PUSH32(esp, esi); /* 0x2B03D476: push esi */ 14257 eax = ebp + (-0x8); /* 0x2B03D477: lea eax, [ebp - 8] */ 14258 esi = ecx; /* 0x2B03D47A: mov esi, ecx */ 14259 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D47C: mov ecx, dword ptr [0x2b0ee9f4] */ 14260 PUSH32(esp, eax); /* 0x2B03D482: push eax */ 14261 RECOMP_ICALL(MEM32(0x2B0B5930)); /* 0x2B03D483: call dword ptr [0x2b0b5930] */ 14262 RECOMP_FLAGS_IN(); 14263 ecx = MEM32(0x2B0EE9F4); /* 0x2B03D489: mov ecx, dword ptr [0x2b0ee9f4] */ 14264 /* test ecx, ecx */ /* 0x2B03D48F: test ecx, ecx */ 14265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14266 _cf = 0; 14267 _flag_k = FK_TEST; 14268 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D499; /* 0x2B03D491: je 0x2b03d499 */ 14269 L_2B03D493: 14270 edx = MEM32(ecx); /* 0x2B03D493: mov edx, dword ptr [ecx] */ 14271 PUSH32(esp, 1); /* 0x2B03D495: push 1 */ 14272 RECOMP_ICALL(MEM32(edx)); /* 0x2B03D497: call dword ptr [edx] */ 14273 RECOMP_FLAGS_IN(); 14274 L_2B03D499: 14275 eax = MEM32(ebp + (-0x4)); /* 0x2B03D499: mov eax, dword ptr [ebp - 4] */ 14276 MEM32(0x2B0EE9F4) = 0; /* 0x2B03D49C: mov dword ptr [0x2b0ee9f4], 0 */ 14277 ecx = MEM32(esi + 0x5C); /* 0x2B03D4A6: mov ecx, dword ptr [esi + 0x5c] */ 14278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 14279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14280 eax = eax + 3; /* 0x2B03D4A9: add eax, 3 */ 14281 _flag_k = FK_ADD; 14282 /* cmp ecx, eax */ /* 0x2B03D4AC: cmp ecx, eax */ 14283 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14285 _flag_k = FK_CMP; 14286 MEM32(ebp + (-0x4)) = eax; /* 0x2B03D4AE: mov dword ptr [ebp - 4], eax */ 14287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03D4CE; /* 0x2B03D4B1: je 0x2b03d4ce */ 14288 L_2B03D4B3: 14289 PUSH32(esp, 7); /* 0x2B03D4B3: push 7 */ 14290 PUSH32(esp, 4); /* 0x2B03D4B5: push 4 */ 14291 MEM8(esi + 0x68) = (uint8_t)(1); /* 0x2B03D4B7: mov byte ptr [esi + 0x68], 1 */ 14292 MEM32(esi + 0x60) = eax; /* 0x2B03D4BB: mov dword ptr [esi + 0x60], eax */ 14293 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B03D4BE: call dword ptr [0x2b0b53cc] */ 14294 RECOMP_FLAGS_IN(); 14295 ecx = eax; /* 0x2B03D4C4: mov ecx, eax */ 14296 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B03D4C6: call dword ptr [0x2b0b53c8] */ 14297 RECOMP_FLAGS_IN(); 14298 goto L_2B03D4DC; /* 0x2B03D4CC: jmp 0x2b03d4dc */ 14299 L_2B03D4CE: 14300 eax = MEM32(esi + 0x58); /* 0x2B03D4CE: mov eax, dword ptr [esi + 0x58] */ 14301 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B03D4D1: mov byte ptr [eax + 9], 1 */ 14302 ecx = MEM32(esi + 0x54); /* 0x2B03D4D5: mov ecx, dword ptr [esi + 0x54] */ 14303 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B03D4D8: mov byte ptr [ecx + 9], 1 */ 14304 L_2B03D4DC: 14305 RECOMP_ICALL(MEM32(0x2B0B5928)); /* 0x2B03D4DC: call dword ptr [0x2b0b5928] */ 14306 RECOMP_FLAGS_IN(); 14307 ecx = eax; /* 0x2B03D4E2: mov ecx, eax */ 14308 RECOMP_ICALL(MEM32(0x2B0B592C)); /* 0x2B03D4E4: call dword ptr [0x2b0b592c] */ 14309 RECOMP_FLAGS_IN(); 14310 esi = POP32_VAL(esp); /* 0x2B03D4EA: pop esi */ 14311 esp = ebp; /* 0x2B03D4EB: mov esp, ebp */ 14312 ebp = POP32_VAL(esp); /* 0x2B03D4ED: pop ebp */ 14313 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B03D4EE: ret 8 */ 14314 RECOMP_REGS_OUT(); 14315 } 14316 14317 void sub_2B03D500(void) { 14318 int _fpu_cmp = 0; 14319 uint32_t _cf = 0; 14320 int _df = 1; 14321 uint32_t _flag_k = FK_NONE; 14322 uint32_t _flag_a = 0, _flag_b = 0; 14323 uint32_t _itail_tgt = 0; 14324 RECOMP_REGS_LOCALS 14325 RECOMP_ENTER(0x2B03D500u); 14326 14327 L_2B03D500: 14328 PUSH32(esp, ebp); /* 0x2B03D500: push ebp */ 14329 ebp = esp; /* 0x2B03D501: mov ebp, esp */ 14330 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14332 esp = esp - 8; /* 0x2B03D503: sub esp, 8 */ 14333 _flag_k = FK_CMP; 14334 PUSH32(esp, esi); /* 0x2B03D506: push esi */ 14335 esi = ecx; /* 0x2B03D507: mov esi, ecx */ 14336 ecx = MEM32(esi + 0x40); /* 0x2B03D509: mov ecx, dword ptr [esi + 0x40] */ 14337 eax = MEM32(esi + 0x3C); /* 0x2B03D50C: mov eax, dword ptr [esi + 0x3c] */ 14338 edx = ebp + (-0x8); /* 0x2B03D50F: lea edx, [ebp - 8] */ 14339 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03D512: mov dword ptr [ebp - 4], ecx */ 14340 ecx = MEM32(esi + 0x58); /* 0x2B03D515: mov ecx, dword ptr [esi + 0x58] */ 14341 PUSH32(esp, edx); /* 0x2B03D518: push edx */ 14342 MEM32(ebp + (-0x8)) = eax; /* 0x2B03D519: mov dword ptr [ebp - 8], eax */ 14343 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B03D51C: call dword ptr [0x2b0b5940] */ 14344 RECOMP_FLAGS_IN(); 14345 eax = MEM32(esi + 0x58); /* 0x2B03D522: mov eax, dword ptr [esi + 0x58] */ 14346 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B03D525: mov byte ptr [eax + 9], 1 */ 14347 ecx = MEM32(ebp + (-0x4)); /* 0x2B03D529: mov ecx, dword ptr [ebp - 4] */ 14348 eax = MEM32(ebp + (-0x8)); /* 0x2B03D52C: mov eax, dword ptr [ebp - 8] */ 14349 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5); 14350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14351 ecx = ecx + 5; /* 0x2B03D52F: add ecx, 5 */ 14352 _flag_k = FK_ADD; 14353 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 14354 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14355 eax = eax + 0x1Eu; /* 0x2B03D532: add eax, 0x1e */ 14356 _flag_k = FK_ADD; 14357 PUSH32(esp, ecx); /* 0x2B03D535: push ecx */ 14358 MEM32(ebp + (-0x4)) = ecx; /* 0x2B03D536: mov dword ptr [ebp - 4], ecx */ 14359 ecx = MEM32(esi + 0x54); /* 0x2B03D539: mov ecx, dword ptr [esi + 0x54] */ 14360 PUSH32(esp, eax); /* 0x2B03D53C: push eax */ 14361 MEM32(ebp + (-0x8)) = eax; /* 0x2B03D53D: mov dword ptr [ebp - 8], eax */ 14362 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B03D540: call dword ptr [0x2b0b5924] */ 14363 RECOMP_FLAGS_IN(); 14364 ecx = MEM32(esi + 0x54); /* 0x2B03D546: mov ecx, dword ptr [esi + 0x54] */ 14365 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B03D549: mov byte ptr [ecx + 9], 1 */ 14366 esi = POP32_VAL(esp); /* 0x2B03D54D: pop esi */ 14367 esp = ebp; /* 0x2B03D54E: mov esp, ebp */ 14368 ebp = POP32_VAL(esp); /* 0x2B03D550: pop ebp */ 14369 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D551: ret */ 14370 RECOMP_REGS_OUT(); 14371 } 14372 14373 void sub_2B03D560(void) { 14374 int _fpu_cmp = 0; 14375 uint32_t _cf = 0; 14376 int _df = 1; 14377 uint32_t _flag_k = FK_NONE; 14378 uint32_t _flag_a = 0, _flag_b = 0; 14379 uint32_t _itail_tgt = 0; 14380 RECOMP_REGS_LOCALS 14381 RECOMP_ENTER(0x2B03D560u); 14382 14383 L_2B03D560: 14384 edx = MEM32(ecx + 0x58); /* 0x2B03D560: mov edx, dword ptr [ecx + 0x58] */ 14385 SET_LO8(eax, 1); /* 0x2B03D563: mov al, 1 */ 14386 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D565: mov byte ptr [edx + 8], al */ 14387 edx = MEM32(ecx + 0x54); /* 0x2B03D568: mov edx, dword ptr [ecx + 0x54] */ 14388 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D56B: mov byte ptr [edx + 8], al */ 14389 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D56E: mov byte ptr [ecx + 8], al */ 14390 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D571: ret */ 14391 RECOMP_REGS_OUT(); 14392 } 14393 14394 void sub_2B03D580(void) { 14395 int _fpu_cmp = 0; 14396 uint32_t _cf = 0; 14397 int _df = 1; 14398 uint32_t _flag_k = FK_NONE; 14399 uint32_t _flag_a = 0, _flag_b = 0; 14400 uint32_t _itail_tgt = 0; 14401 RECOMP_REGS_LOCALS 14402 RECOMP_ENTER(0x2B03D580u); 14403 14404 L_2B03D580: 14405 edx = MEM32(ecx + 0x58); /* 0x2B03D580: mov edx, dword ptr [ecx + 0x58] */ 14406 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 14407 SET_LO8(eax, 0); /* 0x2B03D583: xor al, al */ 14408 _cf = 0; 14409 _flag_k = FK_NARROW(FK_TEST, 24); 14410 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D585: mov byte ptr [edx + 8], al */ 14411 edx = MEM32(ecx + 0x54); /* 0x2B03D588: mov edx, dword ptr [ecx + 0x54] */ 14412 MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D58B: mov byte ptr [edx + 8], al */ 14413 MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B03D58E: mov byte ptr [ecx + 8], al */ 14414 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D591: ret */ 14415 RECOMP_REGS_OUT(); 14416 } 14417 14418 void sub_2B03D5A0(void) { 14419 int _fpu_cmp = 0; 14420 uint32_t _cf = 0; 14421 int _df = 1; 14422 uint32_t _flag_k = FK_NONE; 14423 uint32_t _flag_a = 0, _flag_b = 0; 14424 uint32_t _itail_tgt = 0; 14425 RECOMP_REGS_LOCALS 14426 RECOMP_ENTER(0x2B03D5A0u); 14427 14428 L_2B03D5A0: 14429 PUSH32(esp, ebp); /* 0x2B03D5A0: push ebp */ 14430 ebp = esp; /* 0x2B03D5A1: mov ebp, esp */ 14431 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B03D5A3: mov al, byte ptr [ebp + 8] */ 14432 /* test LO8(eax), LO8(eax) */ /* 0x2B03D5A6: test al, al */ 14433 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14434 _cf = 0; 14435 _flag_k = FK_NARROW(FK_TEST, 24); 14436 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D5BB; /* 0x2B03D5A8: jne 0x2b03d5bb */ 14437 L_2B03D5AA: 14438 eax = MEM32(ecx + 0x54); /* 0x2B03D5AA: mov eax, dword ptr [ecx + 0x54] */ 14439 ecx = MEM32(eax + 0x34); /* 0x2B03D5AD: mov ecx, dword ptr [eax + 0x34] */ 14440 MEM32(ecx + 0x30) = 0x001E323Cu; /* 0x2B03D5B0: mov dword ptr [ecx + 0x30], 0x1e323c */ 14441 ebp = POP32_VAL(esp); /* 0x2B03D5B7: pop ebp */ 14442 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03D5B8: ret 4 */ 14443 L_2B03D5BB: 14444 edx = MEM32(ecx + 0x54); /* 0x2B03D5BB: mov edx, dword ptr [ecx + 0x54] */ 14445 eax = MEM32(edx + 0x34); /* 0x2B03D5BE: mov eax, dword ptr [edx + 0x34] */ 14446 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B03D5C1: mov dword ptr [eax + 0x30], 0xd7f0ff */ 14447 ebp = POP32_VAL(esp); /* 0x2B03D5C8: pop ebp */ 14448 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B03D5C9: ret 4 */ 14449 RECOMP_REGS_OUT(); 14450 } 14451 14452 void sub_2B03D5D0(void) { 14453 int _fpu_cmp = 0; 14454 uint32_t _cf = 0; 14455 int _df = 1; 14456 uint32_t _flag_k = FK_NONE; 14457 uint32_t _flag_a = 0, _flag_b = 0; 14458 uint32_t _itail_tgt = 0; 14459 RECOMP_REGS_LOCALS 14460 RECOMP_ENTER(0x2B03D5D0u); 14461 14462 L_2B03D5D0: 14463 PUSH32(esp, ebp); /* 0x2B03D5D0: push ebp */ 14464 ebp = esp; /* 0x2B03D5D1: mov ebp, esp */ 14465 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03D5D3: push -1 */ 14466 PUSH32(esp, 0x2B0AE9FBu); /* 0x2B03D5D5: push 0x2b0ae9fb */ 14467 eax = MEM32(FS_BASE + (0)); /* 0x2B03D5DA: mov eax, dword ptr fs:[0] */ 14468 PUSH32(esp, eax); /* 0x2B03D5E0: push eax */ 14469 MEM32(FS_BASE + (0)) = esp; /* 0x2B03D5E1: mov dword ptr fs:[0], esp */ 14470 PUSH32(esp, ecx); /* 0x2B03D5E8: push ecx */ 14471 eax = MEM32(0x2B0EEA10); /* 0x2B03D5E9: mov eax, dword ptr [0x2b0eea10] */ 14472 /* test eax, eax */ /* 0x2B03D5EE: test eax, eax */ 14473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14474 _cf = 0; 14475 _flag_k = FK_TEST; 14476 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D62B; /* 0x2B03D5F0: jne 0x2b03d62b */ 14477 L_2B03D5F2: 14478 PUSH32(esp, 1); /* 0x2B03D5F2: push 1 */ 14479 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D5F4: call 0x2b0ab212 */ /* not lifted */ 14480 RECOMP_FLAGS_IN(); 14481 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14483 esp = esp + 4; /* 0x2B03D5F9: add esp, 4 */ 14484 _flag_k = FK_ADD; 14485 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D5FC: mov dword ptr [ebp - 0x10], eax */ 14486 /* test eax, eax */ /* 0x2B03D5FF: test eax, eax */ 14487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14488 _cf = 0; 14489 _flag_k = FK_TEST; 14490 MEM32(ebp + (-0x4)) = 0; /* 0x2B03D601: mov dword ptr [ebp - 4], 0 */ 14491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D624; /* 0x2B03D608: je 0x2b03d624 */ 14492 L_2B03D60A: 14493 ecx = eax; /* 0x2B03D60A: mov ecx, eax */ 14494 RECOMP_ICALL(0x2B03D6D0u); /* 0x2B03D60C: call 0x2b03d6d0 */ /* not lifted */ 14495 RECOMP_FLAGS_IN(); 14496 MEM32(0x2B0EEA10) = eax; /* 0x2B03D611: mov dword ptr [0x2b0eea10], eax */ 14497 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D616: mov ecx, dword ptr [ebp - 0xc] */ 14498 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D619: mov dword ptr fs:[0], ecx */ 14499 esp = ebp; /* 0x2B03D620: mov esp, ebp */ 14500 ebp = POP32_VAL(esp); /* 0x2B03D622: pop ebp */ 14501 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D623: ret */ 14502 L_2B03D624: 14503 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14504 eax = 0; /* 0x2B03D624: xor eax, eax */ 14505 _cf = 0; 14506 _flag_k = FK_TEST; 14507 MEM32(0x2B0EEA10) = eax; /* 0x2B03D626: mov dword ptr [0x2b0eea10], eax */ 14508 L_2B03D62B: 14509 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D62B: mov ecx, dword ptr [ebp - 0xc] */ 14510 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D62E: mov dword ptr fs:[0], ecx */ 14511 esp = ebp; /* 0x2B03D635: mov esp, ebp */ 14512 ebp = POP32_VAL(esp); /* 0x2B03D637: pop ebp */ 14513 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D638: ret */ 14514 RECOMP_REGS_OUT(); 14515 } 14516 14517 void sub_2B03D640(void) { 14518 int _fpu_cmp = 0; 14519 uint32_t _cf = 0; 14520 int _df = 1; 14521 uint32_t _flag_k = FK_NONE; 14522 uint32_t _flag_a = 0, _flag_b = 0; 14523 uint32_t _itail_tgt = 0; 14524 RECOMP_REGS_LOCALS 14525 RECOMP_ENTER(0x2B03D640u); 14526 14527 L_2B03D640: 14528 eax = MEM32(0x2B0EEA10); /* 0x2B03D640: mov eax, dword ptr [0x2b0eea10] */ 14529 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D645: ret */ 14530 RECOMP_REGS_OUT(); 14531 } 14532 14533 void sub_2B03D650(void) { 14534 int _fpu_cmp = 0; 14535 uint32_t _cf = 0; 14536 int _df = 1; 14537 uint32_t _flag_k = FK_NONE; 14538 uint32_t _flag_a = 0, _flag_b = 0; 14539 uint32_t _itail_tgt = 0; 14540 RECOMP_REGS_LOCALS 14541 RECOMP_ENTER(0x2B03D650u); 14542 14543 L_2B03D650: 14544 PUSH32(esp, ebp); /* 0x2B03D650: push ebp */ 14545 ebp = esp; /* 0x2B03D651: mov ebp, esp */ 14546 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B03D653: push -1 */ 14547 PUSH32(esp, 0x2B0AEA1Bu); /* 0x2B03D655: push 0x2b0aea1b */ 14548 eax = MEM32(FS_BASE + (0)); /* 0x2B03D65A: mov eax, dword ptr fs:[0] */ 14549 PUSH32(esp, eax); /* 0x2B03D660: push eax */ 14550 MEM32(FS_BASE + (0)) = esp; /* 0x2B03D661: mov dword ptr fs:[0], esp */ 14551 PUSH32(esp, ecx); /* 0x2B03D668: push ecx */ 14552 eax = MEM32(0x2B0EEA70); /* 0x2B03D669: mov eax, dword ptr [0x2b0eea70] */ 14553 /* test eax, eax */ /* 0x2B03D66E: test eax, eax */ 14554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14555 _cf = 0; 14556 _flag_k = FK_TEST; 14557 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03D6AB; /* 0x2B03D670: jne 0x2b03d6ab */ 14558 L_2B03D672: 14559 PUSH32(esp, 1); /* 0x2B03D672: push 1 */ 14560 RECOMP_ICALL(0x2B0AB212u); /* 0x2B03D674: call 0x2b0ab212 */ /* not lifted */ 14561 RECOMP_FLAGS_IN(); 14562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14564 esp = esp + 4; /* 0x2B03D679: add esp, 4 */ 14565 _flag_k = FK_ADD; 14566 MEM32(ebp + (-0x10)) = eax; /* 0x2B03D67C: mov dword ptr [ebp - 0x10], eax */ 14567 /* test eax, eax */ /* 0x2B03D67F: test eax, eax */ 14568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14569 _cf = 0; 14570 _flag_k = FK_TEST; 14571 MEM32(ebp + (-0x4)) = 0; /* 0x2B03D681: mov dword ptr [ebp - 4], 0 */ 14572 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D6A4; /* 0x2B03D688: je 0x2b03d6a4 */ 14573 L_2B03D68A: 14574 ecx = eax; /* 0x2B03D68A: mov ecx, eax */ 14575 RECOMP_ICALL(0x2B043C20u); /* 0x2B03D68C: call 0x2b043c20 */ /* not lifted */ 14576 RECOMP_FLAGS_IN(); 14577 MEM32(0x2B0EEA70) = eax; /* 0x2B03D691: mov dword ptr [0x2b0eea70], eax */ 14578 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D696: mov ecx, dword ptr [ebp - 0xc] */ 14579 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D699: mov dword ptr fs:[0], ecx */ 14580 esp = ebp; /* 0x2B03D6A0: mov esp, ebp */ 14581 ebp = POP32_VAL(esp); /* 0x2B03D6A2: pop ebp */ 14582 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D6A3: ret */ 14583 L_2B03D6A4: 14584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14585 eax = 0; /* 0x2B03D6A4: xor eax, eax */ 14586 _cf = 0; 14587 _flag_k = FK_TEST; 14588 MEM32(0x2B0EEA70) = eax; /* 0x2B03D6A6: mov dword ptr [0x2b0eea70], eax */ 14589 L_2B03D6AB: 14590 ecx = MEM32(ebp + (-0xC)); /* 0x2B03D6AB: mov ecx, dword ptr [ebp - 0xc] */ 14591 MEM32(FS_BASE + (0)) = ecx; /* 0x2B03D6AE: mov dword ptr fs:[0], ecx */ 14592 esp = ebp; /* 0x2B03D6B5: mov esp, ebp */ 14593 ebp = POP32_VAL(esp); /* 0x2B03D6B7: pop ebp */ 14594 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D6B8: ret */ 14595 RECOMP_REGS_OUT(); 14596 } 14597 14598 void sub_2B03D6C0(void) { 14599 int _fpu_cmp = 0; 14600 uint32_t _cf = 0; 14601 int _df = 1; 14602 uint32_t _flag_k = FK_NONE; 14603 uint32_t _flag_a = 0, _flag_b = 0; 14604 uint32_t _itail_tgt = 0; 14605 RECOMP_REGS_LOCALS 14606 RECOMP_ENTER(0x2B03D6C0u); 14607 14608 L_2B03D6C0: 14609 eax = MEM32(0x2B0EEA70); /* 0x2B03D6C0: mov eax, dword ptr [0x2b0eea70] */ 14610 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D6C5: ret */ 14611 RECOMP_REGS_OUT(); 14612 } 14613 14614 void sub_2B03D6D0(void) { 14615 int _fpu_cmp = 0; 14616 uint32_t _cf = 0; 14617 int _df = 1; 14618 uint32_t _flag_k = FK_NONE; 14619 uint32_t _flag_a = 0, _flag_b = 0; 14620 uint32_t _itail_tgt = 0; 14621 RECOMP_REGS_LOCALS 14622 RECOMP_ENTER(0x2B03D6D0u); 14623 14624 L_2B03D6D0: 14625 PUSH32(esp, ebx); /* 0x2B03D6D0: push ebx */ 14626 PUSH32(esp, esi); /* 0x2B03D6D1: push esi */ 14627 esi = MEM32(0x2B0B53CC); /* 0x2B03D6D2: mov esi, dword ptr [0x2b0b53cc] */ 14628 PUSH32(esp, edi); /* 0x2B03D6D8: push edi */ 14629 ebx = ecx; /* 0x2B03D6D9: mov ebx, ecx */ 14630 RECOMP_ICALL(esi); /* 0x2B03D6DB: call esi */ 14631 RECOMP_FLAGS_IN(); 14632 ecx = eax; /* 0x2B03D6DD: mov ecx, eax */ 14633 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B03D6DF: call dword ptr [0x2b0b5374] */ 14634 RECOMP_FLAGS_IN(); 14635 PUSH32(esp, 0xBB8u); /* 0x2B03D6E5: push 0xbb8 */ 14636 PUSH32(esp, 0xDu); /* 0x2B03D6EA: push 0xd */ 14637 PUSH32(esp, 1); /* 0x2B03D6EC: push 1 */ 14638 RECOMP_ICALL(esi); /* 0x2B03D6EE: call esi */ 14639 RECOMP_FLAGS_IN(); 14640 ecx = eax; /* 0x2B03D6F0: mov ecx, eax */ 14641 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B03D6F2: call dword ptr [0x2b0b5378] */ 14642 RECOMP_FLAGS_IN(); 14643 PUSH32(esp, 0x2B03D830u); /* 0x2B03D6F8: push 0x2b03d830 */ 14644 RECOMP_ICALL(esi); /* 0x2B03D6FD: call esi */ 14645 RECOMP_FLAGS_IN(); 14646 ecx = eax; /* 0x2B03D6FF: mov ecx, eax */ 14647 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B03D701: call dword ptr [0x2b0b537c] */ 14648 RECOMP_FLAGS_IN(); 14649 PUSH32(esp, 0x2B03D860u); /* 0x2B03D707: push 0x2b03d860 */ 14650 PUSH32(esp, 5); /* 0x2B03D70C: push 5 */ 14651 RECOMP_ICALL(esi); /* 0x2B03D70E: call esi */ 14652 RECOMP_FLAGS_IN(); 14653 edi = MEM32(0x2B0B5324); /* 0x2B03D710: mov edi, dword ptr [0x2b0b5324] */ 14654 ecx = eax; /* 0x2B03D716: mov ecx, eax */ 14655 RECOMP_ICALL(edi); /* 0x2B03D718: call edi */ 14656 RECOMP_FLAGS_IN(); 14657 PUSH32(esp, 0x2B03D8C0u); /* 0x2B03D71A: push 0x2b03d8c0 */ 14658 PUSH32(esp, 6); /* 0x2B03D71F: push 6 */ 14659 RECOMP_ICALL(esi); /* 0x2B03D721: call esi */ 14660 RECOMP_FLAGS_IN(); 14661 ecx = eax; /* 0x2B03D723: mov ecx, eax */ 14662 RECOMP_ICALL(edi); /* 0x2B03D725: call edi */ 14663 RECOMP_FLAGS_IN(); 14664 PUSH32(esp, 0x2B03D8F0u); /* 0x2B03D727: push 0x2b03d8f0 */ 14665 PUSH32(esp, 0x125u); /* 0x2B03D72C: push 0x125 */ 14666 RECOMP_ICALL(esi); /* 0x2B03D731: call esi */ 14667 RECOMP_FLAGS_IN(); 14668 ecx = eax; /* 0x2B03D733: mov ecx, eax */ 14669 RECOMP_ICALL(edi); /* 0x2B03D735: call edi */ 14670 RECOMP_FLAGS_IN(); 14671 PUSH32(esp, 0x2B03D900u); /* 0x2B03D737: push 0x2b03d900 */ 14672 PUSH32(esp, 0xC7u); /* 0x2B03D73C: push 0xc7 */ 14673 RECOMP_ICALL(esi); /* 0x2B03D741: call esi */ 14674 RECOMP_FLAGS_IN(); 14675 ecx = eax; /* 0x2B03D743: mov ecx, eax */ 14676 RECOMP_ICALL(edi); /* 0x2B03D745: call edi */ 14677 RECOMP_FLAGS_IN(); 14678 PUSH32(esp, 0x2B03DAE0u); /* 0x2B03D747: push 0x2b03dae0 */ 14679 PUSH32(esp, 0x126u); /* 0x2B03D74C: push 0x126 */ 14680 RECOMP_ICALL(esi); /* 0x2B03D751: call esi */ 14681 RECOMP_FLAGS_IN(); 14682 ecx = eax; /* 0x2B03D753: mov ecx, eax */ 14683 RECOMP_ICALL(edi); /* 0x2B03D755: call edi */ 14684 RECOMP_FLAGS_IN(); 14685 PUSH32(esp, 0x2B03DB50u); /* 0x2B03D757: push 0x2b03db50 */ 14686 PUSH32(esp, 0x127u); /* 0x2B03D75C: push 0x127 */ 14687 RECOMP_ICALL(esi); /* 0x2B03D761: call esi */ 14688 RECOMP_FLAGS_IN(); 14689 ecx = eax; /* 0x2B03D763: mov ecx, eax */ 14690 RECOMP_ICALL(edi); /* 0x2B03D765: call edi */ 14691 RECOMP_FLAGS_IN(); 14692 PUSH32(esp, 0x2B03DC80u); /* 0x2B03D767: push 0x2b03dc80 */ 14693 PUSH32(esp, 0x128u); /* 0x2B03D76C: push 0x128 */ 14694 RECOMP_ICALL(esi); /* 0x2B03D771: call esi */ 14695 RECOMP_FLAGS_IN(); 14696 ecx = eax; /* 0x2B03D773: mov ecx, eax */ 14697 RECOMP_ICALL(edi); /* 0x2B03D775: call edi */ 14698 RECOMP_FLAGS_IN(); 14699 PUSH32(esp, 0x2B03DCC0u); /* 0x2B03D777: push 0x2b03dcc0 */ 14700 PUSH32(esp, 0x129u); /* 0x2B03D77C: push 0x129 */ 14701 RECOMP_ICALL(esi); /* 0x2B03D781: call esi */ 14702 RECOMP_FLAGS_IN(); 14703 ecx = eax; /* 0x2B03D783: mov ecx, eax */ 14704 RECOMP_ICALL(edi); /* 0x2B03D785: call edi */ 14705 RECOMP_FLAGS_IN(); 14706 PUSH32(esp, 0x2B03DDD0u); /* 0x2B03D787: push 0x2b03ddd0 */ 14707 PUSH32(esp, 0x3Eu); /* 0x2B03D78C: push 0x3e */ 14708 RECOMP_ICALL(esi); /* 0x2B03D78E: call esi */ 14709 RECOMP_FLAGS_IN(); 14710 ecx = eax; /* 0x2B03D790: mov ecx, eax */ 14711 RECOMP_ICALL(edi); /* 0x2B03D792: call edi */ 14712 RECOMP_FLAGS_IN(); 14713 PUSH32(esp, 0x2B03DF20u); /* 0x2B03D794: push 0x2b03df20 */ 14714 PUSH32(esp, 0xABu); /* 0x2B03D799: push 0xab */ 14715 RECOMP_ICALL(esi); /* 0x2B03D79E: call esi */ 14716 RECOMP_FLAGS_IN(); 14717 ecx = eax; /* 0x2B03D7A0: mov ecx, eax */ 14718 RECOMP_ICALL(edi); /* 0x2B03D7A2: call edi */ 14719 RECOMP_FLAGS_IN(); 14720 PUSH32(esp, 0x2B03DF30u); /* 0x2B03D7A4: push 0x2b03df30 */ 14721 PUSH32(esp, 0x12Au); /* 0x2B03D7A9: push 0x12a */ 14722 RECOMP_ICALL(esi); /* 0x2B03D7AE: call esi */ 14723 RECOMP_FLAGS_IN(); 14724 ecx = eax; /* 0x2B03D7B0: mov ecx, eax */ 14725 RECOMP_ICALL(edi); /* 0x2B03D7B2: call edi */ 14726 RECOMP_FLAGS_IN(); 14727 PUSH32(esp, 0x2B03D840u); /* 0x2B03D7B4: push 0x2b03d840 */ 14728 PUSH32(esp, 0x124u); /* 0x2B03D7B9: push 0x124 */ 14729 RECOMP_ICALL(esi); /* 0x2B03D7BE: call esi */ 14730 RECOMP_FLAGS_IN(); 14731 ecx = eax; /* 0x2B03D7C0: mov ecx, eax */ 14732 RECOMP_ICALL(edi); /* 0x2B03D7C2: call edi */ 14733 RECOMP_FLAGS_IN(); 14734 PUSH32(esp, 0x2B03DBC0u); /* 0x2B03D7C4: push 0x2b03dbc0 */ 14735 PUSH32(esp, 0x12Bu); /* 0x2B03D7C9: push 0x12b */ 14736 RECOMP_ICALL(esi); /* 0x2B03D7CE: call esi */ 14737 RECOMP_FLAGS_IN(); 14738 ecx = eax; /* 0x2B03D7D0: mov ecx, eax */ 14739 RECOMP_ICALL(edi); /* 0x2B03D7D2: call edi */ 14740 RECOMP_FLAGS_IN(); 14741 PUSH32(esp, 0x2B03DC30u); /* 0x2B03D7D4: push 0x2b03dc30 */ 14742 PUSH32(esp, 0x12Cu); /* 0x2B03D7D9: push 0x12c */ 14743 RECOMP_ICALL(esi); /* 0x2B03D7DE: call esi */ 14744 RECOMP_FLAGS_IN(); 14745 ecx = eax; /* 0x2B03D7E0: mov ecx, eax */ 14746 RECOMP_ICALL(edi); /* 0x2B03D7E2: call edi */ 14747 RECOMP_FLAGS_IN(); 14748 PUSH32(esp, 0x2B03DF40u); /* 0x2B03D7E4: push 0x2b03df40 */ 14749 PUSH32(esp, 0xA7u); /* 0x2B03D7E9: push 0xa7 */ 14750 RECOMP_ICALL(esi); /* 0x2B03D7EE: call esi */ 14751 RECOMP_FLAGS_IN(); 14752 ecx = eax; /* 0x2B03D7F0: mov ecx, eax */ 14753 RECOMP_ICALL(edi); /* 0x2B03D7F2: call edi */ 14754 RECOMP_FLAGS_IN(); 14755 PUSH32(esp, 0x2B03DF90u); /* 0x2B03D7F4: push 0x2b03df90 */ 14756 PUSH32(esp, 0x12Du); /* 0x2B03D7F9: push 0x12d */ 14757 RECOMP_ICALL(esi); /* 0x2B03D7FE: call esi */ 14758 RECOMP_FLAGS_IN(); 14759 ecx = eax; /* 0x2B03D800: mov ecx, eax */ 14760 RECOMP_ICALL(edi); /* 0x2B03D802: call edi */ 14761 RECOMP_FLAGS_IN(); 14762 PUSH32(esp, 0x2B03DFD0u); /* 0x2B03D804: push 0x2b03dfd0 */ 14763 PUSH32(esp, 0x12Eu); /* 0x2B03D809: push 0x12e */ 14764 RECOMP_ICALL(esi); /* 0x2B03D80E: call esi */ 14765 RECOMP_FLAGS_IN(); 14766 ecx = eax; /* 0x2B03D810: mov ecx, eax */ 14767 RECOMP_ICALL(edi); /* 0x2B03D812: call edi */ 14768 RECOMP_FLAGS_IN(); 14769 PUSH32(esp, 0x2B03E010u); /* 0x2B03D814: push 0x2b03e010 */ 14770 PUSH32(esp, 0x12Fu); /* 0x2B03D819: push 0x12f */ 14771 RECOMP_ICALL(esi); /* 0x2B03D81E: call esi */ 14772 RECOMP_FLAGS_IN(); 14773 ecx = eax; /* 0x2B03D820: mov ecx, eax */ 14774 RECOMP_ICALL(edi); /* 0x2B03D822: call edi */ 14775 RECOMP_FLAGS_IN(); 14776 edi = POP32_VAL(esp); /* 0x2B03D824: pop edi */ 14777 esi = POP32_VAL(esp); /* 0x2B03D825: pop esi */ 14778 eax = ebx; /* 0x2B03D826: mov eax, ebx */ 14779 ebx = POP32_VAL(esp); /* 0x2B03D828: pop ebx */ 14780 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D829: ret */ 14781 RECOMP_REGS_OUT(); 14782 } 14783 14784 void sub_2B03D830(void) { 14785 int _fpu_cmp = 0; 14786 uint32_t _cf = 0; 14787 int _df = 1; 14788 uint32_t _flag_k = FK_NONE; 14789 uint32_t _flag_a = 0, _flag_b = 0; 14790 uint32_t _itail_tgt = 0; 14791 RECOMP_REGS_LOCALS 14792 RECOMP_ENTER(0x2B03D830u); 14793 14794 L_2B03D830: 14795 ecx = MEM32(0x2B0EEA14); /* 0x2B03D830: mov ecx, dword ptr [0x2b0eea14] */ 14796 /* test ecx, ecx */ /* 0x2B03D836: test ecx, ecx */ 14797 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14798 _cf = 0; 14799 _flag_k = FK_TEST; 14800 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03D83F; /* 0x2B03D838: je 0x2b03d83f */ 14801 L_2B03D83A: 14802 goto L_2B03E990; /* 0x2B03D83A: jmp 0x2b03e990 */ 14803 L_2B03D83F: 14804 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03D83F: ret */ 14805 L_2B03E990: 14806 PUSH32(esp, esi); /* 0x2B03E990: push esi */ 14807 esi = ecx; /* 0x2B03E991: mov esi, ecx */ 14808 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x2B03E993: fld dword ptr [esi + 0x34] */ 14809 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B03E996: fcomp dword ptr [0x2b0b61b8] */ 14810 fp_pop(); 14811 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 */ 14812 /* test HI8(eax), 0x41u */ /* 0x2B03E99E: test ah, 0x41 */ 14813 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 14814 _cf = 0; 14815 _flag_k = FK_NARROW(FK_TEST, 24); 14816 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B03E9C5; /* 0x2B03E9A1: jne 0x2b03e9c5 */ 14817 L_2B03E9A3: 14818 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B03E9A3: call dword ptr [0x2b0b53bc] */ 14819 RECOMP_FLAGS_IN(); 14820 eax = MEM32(eax + 0x14); /* 0x2B03E9A9: mov eax, dword ptr [eax + 0x14] */ 14821 fp_push(*(float*)&MEM32(eax)); /* 0x2B03E9AC: fld dword ptr [eax] */ 14822 _st[0] = (double)*(float*)ADDR(esi + 0x34) - _st[0]; /* 0x2B03E9AE: fsubr dword ptr [esi + 0x34] */ 14823 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x34) = _v; } /* 0x2B03E9B1: fst dword ptr [esi + 0x34] */ 14824 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B03E9B4: fcomp dword ptr [0x2b0b61b8] */ 14825 fp_pop(); 14826 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 */ 14827 /* test HI8(eax), 0x41u */ /* 0x2B03E9BC: test ah, 0x41 */ 14828 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 14829 _cf = 0; 14830 _flag_k = FK_NARROW(FK_TEST, 24); 14831 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03E9C5; /* 0x2B03E9BF: je 0x2b03e9c5 */ 14832 L_2B03E9C1: 14833 MEM8(esi + 0x3C) = (uint8_t)(1); /* 0x2B03E9C1: mov byte ptr [esi + 0x3c], 1 */ 14834 L_2B03E9C5: 14835 SET_LO8(eax, MEM8(esi + 0x3C)); /* 0x2B03E9C5: mov al, byte ptr [esi + 0x3c] */ 14836 /* test LO8(eax), LO8(eax) */ /* 0x2B03E9C8: test al, al */ 14837 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14838 _cf = 0; 14839 _flag_k = FK_NARROW(FK_TEST, 24); 14840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA1A; /* 0x2B03E9CA: je 0x2b03ea1a */ 14841 L_2B03E9CC: 14842 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x2B03E9CC: mov al, byte ptr [esi + 0x18] */ 14843 /* test LO8(eax), LO8(eax) */ /* 0x2B03E9CF: test al, al */ 14844 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14845 _cf = 0; 14846 _flag_k = FK_NARROW(FK_TEST, 24); 14847 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03EA1A; /* 0x2B03E9D1: je 0x2b03ea1a */ 14848 L_2B03E9D3: 14849 eax = MEM32(esi + 0x40); /* 0x2B03E9D3: mov eax, dword ptr [esi + 0x40] */ 14850 ecx = eax; /* 0x2B03E9D6: mov ecx, eax */ 14851 if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2B03E9D8: shl ecx, 8 */ 14852 if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14853 ecx = ecx << 8u; /* 0x2B03E9D8: shl ecx, 8 */ 14854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14856 ecx = ecx - eax; /* 0x2B03E9DB: sub ecx, eax */ 14857 _flag_k = FK_CMP; 14858 eax = 0x51EB851Fu; /* 0x2B03E9DD: mov eax, 0x51eb851f */ 14859 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B03E9E2: imul ecx */ 14860 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 14861 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 14862 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B03E9E4: sar edx, 5 */ 14863 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14864 edx = (uint32_t)((int32_t)edx >> 5u); 14865 PUSH32(esp, edi); /* 0x2B03E9E7: push edi */ 14866 edi = MEM32(esi + 0x38); /* 0x2B03E9E8: mov edi, dword ptr [esi + 0x38] */ 14867 ecx = edx; /* 0x2B03E9EB: mov ecx, edx */ 14868 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B03E9ED: shr ecx, 0x1f */ 14869 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14870 ecx = ecx >> 31u; /* 0x2B03E9ED: shr ecx, 0x1f */ 14871 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFF6u); 14872 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14873 edi = edi + 0xFFFFFFF6u; /* 0x2B03E9F0: add edi, -0xa */ 14874 _flag_k = FK_ADD; 14875 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14877 edx = edx + ecx; /* 0x2B03E9F3: add edx, ecx */ 14878 _flag_k = FK_ADD; 14879 MEM32(esi + 0x38) = edi; /* 0x2B03E9F5: mov dword ptr [esi + 0x38], edi */ 14880 /* cmp edi, edx */ /* 0x2B03E9F8: cmp edi, edx */ 14881 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14883 _flag_k = FK_CMP; 14884 edi = POP32_VAL(esp); /* 0x2B03E9FA: pop edi */ 14885 if (CMP_G(_flag_a, _flag_b)) goto L_2B03EA04; /* 0x2B03E9FB: jg 0x2b03ea04 */ 14886 L_2B03E9FD: 14887 MEM32(esi + 0x38) = edx; /* 0x2B03E9FD: mov dword ptr [esi + 0x38], edx */ 14888 MEM8(esi + 0x3C) = (uint8_t)(0); /* 0x2B03EA00: mov byte ptr [esi + 0x3c], 0 */ 14889 L_2B03EA04: 14890 edx = MEM32(esi + 0x38); /* 0x2B03EA04: mov edx, dword ptr [esi + 0x38] */ 14891 ecx = MEM32(esi + 0x4C); /* 0x2B03EA07: mov ecx, dword ptr [esi + 0x4c] */ 14892 PUSH32(esp, edx); /* 0x2B03EA0A: push edx */ 14893 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B03EA0B: call dword ptr [0x2b0b5be0] */ 14894 RECOMP_FLAGS_IN(); 14895 ecx = MEM32(esi + 0x4C); /* 0x2B03EA11: mov ecx, dword ptr [esi + 0x4c] */ 14896 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B03EA14: call dword ptr [0x2b0b5bb4] */ 14897 RECOMP_FLAGS_IN(); 14898 L_2B03EA1A: 14899 esi = POP32_VAL(esp); /* 0x2B03EA1A: pop esi */ 14900 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03EA1B: ret */ 14901 RECOMP_REGS_OUT(); 14902 }